From 41bea3b25d6defb36441bfbf06bbd3a709bbaf79 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Tue, 8 Feb 2011 10:16:32 +0100 Subject: [PATCH] Simplify some CSS selectors --- graphite/css/theme_right.css.php | 46 ++++++++++++++++---------------- 1 file changed, 23 insertions(+), 23 deletions(-) diff --git a/graphite/css/theme_right.css.php b/graphite/css/theme_right.css.php index e2bb0bc47..c047df5e3 100644 --- a/graphite/css/theme_right.css.php +++ b/graphite/css/theme_right.css.php @@ -139,8 +139,8 @@ table caption { padding: 0.1em 0.5em 0.1em 0.5em; } -table th, -table td { +th, +td { padding: 0.1em 0.5em 0.1em 0.5em; margin: 0.1em; vertical-align: top; @@ -192,13 +192,13 @@ button.mult_submit { } /* odd items 1,3,5,7,... */ -table tr.odd th, +tr.odd th, .odd { background: ; } /* even items 2,4,6,8,... */ -table tr.even th, +tr.even th, .even { background: ; } @@ -207,18 +207,18 @@ tr.even th, tr.odd th, fieldset th { } /* odd table rows 1,3,5,7,... */ -table tr.odd th, -table tr.odd, -table tr.even th, -table tr.even { +tr.odd th, +tr.odd, +tr.even th, +tr.even { text-align: ; } /* marked table rows */ td.marked, -table tr.marked th, -table tr.marked { +tr.marked th, +tr.marked { background: ; color: ; } @@ -235,9 +235,9 @@ table tr.marked { } /* hovered table rows */ -table tr.odd:hover th, -table tr.even:hover th, -table tr.hover th { +tr.odd:hover th, +tr.even:hover th, +tr.hover th { background: ; color: ; } @@ -642,11 +642,11 @@ a.tabactive { font-weight: bolder; background: #aaa; } -ul#topmenu .submenu { +#topmenu .submenu { position: relative; display: none; } -ul#topmenu .shown { +#topmenu .shown { display: inline-block; } #topmenu .submenu ul { @@ -659,7 +659,7 @@ ul#topmenu .shown { border: 1px #666 solid; } -ul#topmenu li:hover ul, ul#topmenu .submenuhover ul { +#topmenu li:hover ul, #topmenu .submenuhover ul { display: block; } @@ -1410,18 +1410,18 @@ iframe.IE_hack { } /* config forms */ -.config-form ul.tabs { +ul.tabs { margin: 1.1em 0.2em 0; padding: 0 0 0.3em 0; list-style: none; font-weight: bold; } -.config-form ul.tabs li { +ul.tabs li { float: ; } -.config-form ul.tabs li a { +ul.tabs a { display: block; margin: 0.1em 0.2em 0; padding: 0.1em 0.4em; @@ -1431,14 +1431,14 @@ iframe.IE_hack { border-bottom: none; } -.config-form ul.tabs li a:hover, -.config-form ul.tabs li a:active, -.config-form ul.tabs li a.active { +ul.tabs a:hover, +ul.tabs a:active, +ul.tabs a.active { margin: 0; padding: 0.1em 0.6em 0.2em; } -.config-form ul.tabs li a.active { +ul.tabs a.active { background-color: ; }