Simplify some CSS selectors
This commit is contained in:
@@ -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: <?php echo $GLOBALS['cfg']['BgOne']; ?>;
|
||||
}
|
||||
|
||||
/* even items 2,4,6,8,... */
|
||||
table tr.even th,
|
||||
tr.even th,
|
||||
.even {
|
||||
background: <?php echo $GLOBALS['cfg']['BgTwo']; ?>;
|
||||
}
|
||||
@@ -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: <?php echo $left; ?>;
|
||||
}
|
||||
|
||||
<?php if ($GLOBALS['cfg']['BrowseMarkerEnable']) { ?>
|
||||
/* marked table rows */
|
||||
td.marked,
|
||||
table tr.marked th,
|
||||
table tr.marked {
|
||||
tr.marked th,
|
||||
tr.marked {
|
||||
background: <?php echo $GLOBALS['cfg']['BrowseMarkerBackground']; ?>;
|
||||
color: <?php echo $GLOBALS['cfg']['BrowseMarkerColor']; ?>;
|
||||
}
|
||||
@@ -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: <?php echo $GLOBALS['cfg']['BrowsePointerBackground']; ?>;
|
||||
color: <?php echo $GLOBALS['cfg']['BrowsePointerColor']; ?>;
|
||||
}
|
||||
@@ -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: <?php echo $left; ?>;
|
||||
}
|
||||
|
||||
.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: <?php echo $GLOBALS['cfg']['BgOne']; ?>;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user