Author: jleroux
Date: Fri Apr 9 21:20:46 2010 New Revision: 932619 URL: http://svn.apache.org/viewvc?rev=932619&view=rev Log: Related to "In layer lookup with other themes than Tomahawk the buttons inside (loopup and calendar buttons) don't show" (https://issues.apache.org/jira/browse/OFBIZ-3656) - OFBIZ-3656 This fixes the flat-grey, dropping-crumbs and bizness-time themes. I think I will be able to close the Jira issue when Jira will be back (currently Brutus is still under maintenance for 6 hours) Modified: ofbiz/trunk/themes/bizznesstime/webapp/bizznesstime/css/style.css ofbiz/trunk/themes/droppingcrumbs/webapp/droppingcrumbs/css/style.css ofbiz/trunk/themes/flatgrey/webapp/flatgrey/maincss.css Modified: ofbiz/trunk/themes/bizznesstime/webapp/bizznesstime/css/style.css URL: http://svn.apache.org/viewvc/ofbiz/trunk/themes/bizznesstime/webapp/bizznesstime/css/style.css?rev=932619&r1=932618&r2=932619&view=diff ============================================================================== --- ofbiz/trunk/themes/bizznesstime/webapp/bizznesstime/css/style.css (original) +++ ofbiz/trunk/themes/bizznesstime/webapp/bizznesstime/css/style.css Fri Apr 9 21:20:46 2010 @@ -1500,15 +1500,16 @@ Lookups padding: 2px 3px 2px 3px; margin: 0; cursor: pointer; - height: auto; - width: auto; - background-image: none; + height: 16; + width: 16; + background: url(/images/fieldlookup.gif) no-repeat; } /* overwrite*/ #fieldLookupContent a{ display: inherit; cursor: pointer; + background: url(/images/fieldlookup.gif) no-repeat; } /* overwrite*/ @@ -1525,3 +1526,36 @@ Lookups left: 0px; top: 0px; } + + + /* ========================================================= */ +/* ===== Fix for lookup and calendar in layered lookups ===== */ +/* ========================================================== */ +.view-calendar ul{ +height: 22px; +} + +.view-calendar ul li{ +float: left; +} + +.view-calendar ul li a{ +background: url(/images/cal.gif) no-repeat!important; +display: block; +margin: 3px 10px 0px 4px; +width:16px; +height:16px; +} + +.calendar_date_select .cds_header a { + width:22px; + height:20px; + text-decoration: none; + font-size:14px; + color: #000 !important; + background: none !important; +} + +.calendar_date_select .cds_buttons a { + background: none !important; +} Modified: ofbiz/trunk/themes/droppingcrumbs/webapp/droppingcrumbs/css/style.css URL: http://svn.apache.org/viewvc/ofbiz/trunk/themes/droppingcrumbs/webapp/droppingcrumbs/css/style.css?rev=932619&r1=932618&r2=932619&view=diff ============================================================================== --- ofbiz/trunk/themes/droppingcrumbs/webapp/droppingcrumbs/css/style.css (original) +++ ofbiz/trunk/themes/droppingcrumbs/webapp/droppingcrumbs/css/style.css Fri Apr 9 21:20:46 2010 @@ -1883,7 +1883,7 @@ float: left; } .view-calendar ul li a{ -background: url(/images/cal.gif) no-repeat; +background: url(/images/cal.gif) no-repeat !important; display: block; margin: 3px 10px 0px 4px; width:22px; @@ -1980,7 +1980,7 @@ height: 20px; text-decoration: none; font-size: 14px; color: #000 !important; -background: none; +background: none !important; } .calendar_date_select .cds_header a.prev { @@ -2007,7 +2007,7 @@ width: 61px; .calendar_date_select .cds_buttons a { color: #fff; font-size: 9px; -background: none; +background: none !important; display: inline !important; } @@ -2225,13 +2225,13 @@ Lookups padding: 2px 3px 2px 3px; margin: 0; cursor: pointer; - + background: url(/images/fieldlookup.gif) no-repeat; } #fieldLookupContent td a{ display: inherit; cursor: pointer; - background-image: none; + background: url(/images/fieldlookup.gif) no-repeat; } /* overwrite*/ Modified: ofbiz/trunk/themes/flatgrey/webapp/flatgrey/maincss.css URL: http://svn.apache.org/viewvc/ofbiz/trunk/themes/flatgrey/webapp/flatgrey/maincss.css?rev=932619&r1=932618&r2=932619&view=diff ============================================================================== --- ofbiz/trunk/themes/flatgrey/webapp/flatgrey/maincss.css (original) +++ ofbiz/trunk/themes/flatgrey/webapp/flatgrey/maincss.css Fri Apr 9 21:20:46 2010 @@ -1941,7 +1941,7 @@ float: left; } .view-calendar ul li a{ -background: url(/images/cal.gif) no-repeat; +background: url(/images/cal.gif) no-repeat !important; display: block; margin: 3px 10px 0px 4px; width:16px; @@ -2026,7 +2026,7 @@ iframe.ie6_blocker { text-decoration: none; font-size:14px; color: #000 !important; - background: none; + background: none !important; } .calendar_date_select .cds_header a.prev { @@ -2040,6 +2040,10 @@ iframe.ie6_blocker { display:none; } +.calendar_date_select .cds_buttons a { + background: none !important; +} + .calendar_date_select .cds_header select.month { width:90px; } @@ -2270,15 +2274,15 @@ Lookups display: inherit; padding: 2px 3px 2px 3px; cursor: pointer; - height: auto; - width: auto; - background-image: none; + height: 16; + width: 16; + background: url(/images/fieldlookup.gif) no-repeat; } #fieldLookupContent a{ display: inherit; cursor: pointer; - background-image: none; + background: url(/images/fieldlookup.gif) no-repeat; } /* overwrite*/ |
Free forum by Nabble | Edit this page |