Author: lektran
Date: Fri Jun 6 00:02:04 2008 New Revision: 663842 URL: http://svn.apache.org/viewvc?rev=663842&view=rev Log: Fixed the css that I managed to make a complete mess of in my last commit, thanks to Adrian for pointing it out Modified: ofbiz/trunk/framework/images/webapp/images/maincss.css Modified: ofbiz/trunk/framework/images/webapp/images/maincss.css URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/maincss.css?rev=663842&r1=663841&r2=663842&view=diff ============================================================================== --- ofbiz/trunk/framework/images/webapp/images/maincss.css (original) +++ ofbiz/trunk/framework/images/webapp/images/maincss.css Fri Jun 6 00:02:04 2008 @@ -1722,138 +1722,41 @@ /* ===== Table decorator - Calendar ===== */ -.calendar_date_select { - color:white; - border:#777 1px solid; - display:block; - width:195px; - z-index: 1000; -} -/* this is a fun ie6 hack to get drop downs to stay behind the popup window. This should always be just underneath .calendar_date_select */ -iframe.ie6_blocker { - position: absolute; - z-index: 999; +.calendar { +border-right: 0.1em solid #cccccc; } -.calendar_date_select thead th { - font-weight:bold; - background-color: #000; - border-top:1px solid #777; - border-bottom:2px solid #333; - color: white !important; +.calendar tr td { +border-bottom: 0.1em solid #cccccc; +border-left: 0.1em solid #cccccc; +vertical-align: top; +padding: 0.5em; } -.calendar_date_select .cds_buttons { - text-align:center; - padding:5px 0px; - background-color: #555; -} - -.calendar_date_select .cds_footer { - background-color: black; - padding:3px; - font-size:12px; - text-align:center; +.calendar .header-row td { +background-color: #69a9d9; +border-bottom: 0.1em solid #cccccc; +border-left: 0.1em solid #cccccc; +color: #ffffff; +height: auto; +text-align: center; } -.calendar_date_select table { - margin: 0px; - padding: 0px; +.calendar tr td .add-new { +float: right; } - -.calendar_date_select .cds_header { - background-color: #ccc; - border-bottom: 2px solid #aaa; - text-align:center; -} - -.calendar_date_select .cds_header span { - font-size:15px; - color: black; - font-weight: bold; -} - -.calendar_date_select select { font-size:11px;} - -.calendar_date_select .cds_header a:hover { - color: white; -} -.calendar_date_select .cds_header a { - width:22px; - height:20px; - text-decoration: none; - font-size:14px; - color:black !important; -} - -.calendar_date_select .cds_header a.prev { - float:left; -} -.calendar_date_select .cds_header a.next { - float:right; -} -.calendar_date_select .cds_header a.close { - float:right; - display:none; -} - -.calendar_date_select .cds_header select.month { - width:90px; -} - -.calendar_date_select .cds_header select.year { - width:61px; -} - -.calendar_date_select .cds_buttons a { - color: white; - font-size: 9px; -} -.calendar_date_select td { - font-size:12px; - width: 24px; - height: 21px; - text-align:center; - vertical-align: middle; - background-color: #666666; -} -.calendar_date_select td.weekend { - background-color: #606060; -} - -.calendar_date_select td div { - color: #fff; -} -.calendar_date_select td div.other { - color: #888; -} -.calendar_date_select td.selected div { - color:black; -} - -.calendar_date_select tbody td { - border-bottom: 1px solid #555; -} -.calendar_date_select td.selected { - background-color:white; -} - -.calendar_date_select td:hover { - background-color:#ccc; -} - -.calendar_date_select td.today { - border: 1px dashed #999; +.calendar tr td .h1 { +color: #000099; +float: left; } -.calendar_date_select td.disabled div { - color: #454545; +.calendar .current-period { +background-color: #ffffcc; } - -.fieldWithErrors .calendar_date_select { - border: 2px solid red; +.calendar .active-period { +background-color: #eeeeee; } /* ======================= */ @@ -2077,3 +1980,141 @@ padding-left: 1.8em; */ } + +/* ================================= */ +/* ===== Calendar Date Select ====== */ +/* ================================= */ + +.calendar_date_select { + color:white; + border:#777 1px solid; + display:block; + width:195px; + z-index: 1000; +} +/* this is a fun ie6 hack to get drop downs to stay behind the popup window. This should always be just underneath .calendar_date_select */ +iframe.ie6_blocker { + position: absolute; + z-index: 999; +} + +.calendar_date_select thead th { + font-weight:bold; + background-color: #000; + border-top:1px solid #777; + border-bottom:2px solid #333; + color: white !important; +} + +.calendar_date_select .cds_buttons { + text-align:center; + padding:5px 0px; + background-color: #555; +} + +.calendar_date_select .cds_footer { + background-color: black; + padding:3px; + font-size:12px; + text-align:center; +} + +.calendar_date_select table { + margin: 0px; + padding: 0px; +} + + +.calendar_date_select .cds_header { + background-color: #ccc; + border-bottom: 2px solid #aaa; + text-align:center; +} + +.calendar_date_select .cds_header span { + font-size:15px; + color: black; + font-weight: bold; +} + +.calendar_date_select select { font-size:11px;} + +.calendar_date_select .cds_header a:hover { + color: white; +} +.calendar_date_select .cds_header a { + width:22px; + height:20px; + text-decoration: none; + font-size:14px; + color:black !important; +} + +.calendar_date_select .cds_header a.prev { + float:left; +} +.calendar_date_select .cds_header a.next { + float:right; +} +.calendar_date_select .cds_header a.close { + float:right; + display:none; +} + +.calendar_date_select .cds_header select.month { + width:90px; +} + +.calendar_date_select .cds_header select.year { + width:61px; +} + +.calendar_date_select .cds_buttons a { + color: white; + font-size: 9px; +} +.calendar_date_select td { + font-size:12px; + width: 24px; + height: 21px; + text-align:center; + vertical-align: middle; + background-color: #666666; +} +.calendar_date_select td.weekend { + background-color: #606060; +} + +.calendar_date_select td div { + color: #fff; +} +.calendar_date_select td div.other { + color: #888; +} +.calendar_date_select td.selected div { + color:black; +} + +.calendar_date_select tbody td { + border-bottom: 1px solid #555; +} +.calendar_date_select td.selected { + background-color:white; +} + +.calendar_date_select td:hover { + background-color:#ccc; +} + +.calendar_date_select td.today { + border: 1px dashed #999; +} + +.calendar_date_select td.disabled div { + color: #454545; +} + + +.fieldWithErrors .calendar_date_select { + border: 2px solid red; +} \ No newline at end of file |
Free forum by Nabble | Edit this page |