Simplify some CSS selectors
This commit is contained in:
@@ -139,8 +139,8 @@ table caption {
|
|||||||
padding: 0.1em 0.5em 0.1em 0.5em;
|
padding: 0.1em 0.5em 0.1em 0.5em;
|
||||||
}
|
}
|
||||||
|
|
||||||
table th,
|
th,
|
||||||
table td {
|
td {
|
||||||
padding: 0.1em 0.5em 0.1em 0.5em;
|
padding: 0.1em 0.5em 0.1em 0.5em;
|
||||||
margin: 0.1em;
|
margin: 0.1em;
|
||||||
vertical-align: top;
|
vertical-align: top;
|
||||||
@@ -192,13 +192,13 @@ button.mult_submit {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* odd items 1,3,5,7,... */
|
/* odd items 1,3,5,7,... */
|
||||||
table tr.odd th,
|
tr.odd th,
|
||||||
.odd {
|
.odd {
|
||||||
background: <?php echo $GLOBALS['cfg']['BgOne']; ?>;
|
background: <?php echo $GLOBALS['cfg']['BgOne']; ?>;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* even items 2,4,6,8,... */
|
/* even items 2,4,6,8,... */
|
||||||
table tr.even th,
|
tr.even th,
|
||||||
.even {
|
.even {
|
||||||
background: <?php echo $GLOBALS['cfg']['BgTwo']; ?>;
|
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,... */
|
/* odd table rows 1,3,5,7,... */
|
||||||
table tr.odd th,
|
tr.odd th,
|
||||||
table tr.odd,
|
tr.odd,
|
||||||
table tr.even th,
|
tr.even th,
|
||||||
table tr.even {
|
tr.even {
|
||||||
text-align: <?php echo $left; ?>;
|
text-align: <?php echo $left; ?>;
|
||||||
}
|
}
|
||||||
|
|
||||||
<?php if ($GLOBALS['cfg']['BrowseMarkerEnable']) { ?>
|
<?php if ($GLOBALS['cfg']['BrowseMarkerEnable']) { ?>
|
||||||
/* marked table rows */
|
/* marked table rows */
|
||||||
td.marked,
|
td.marked,
|
||||||
table tr.marked th,
|
tr.marked th,
|
||||||
table tr.marked {
|
tr.marked {
|
||||||
background: <?php echo $GLOBALS['cfg']['BrowseMarkerBackground']; ?>;
|
background: <?php echo $GLOBALS['cfg']['BrowseMarkerBackground']; ?>;
|
||||||
color: <?php echo $GLOBALS['cfg']['BrowseMarkerColor']; ?>;
|
color: <?php echo $GLOBALS['cfg']['BrowseMarkerColor']; ?>;
|
||||||
}
|
}
|
||||||
@@ -235,9 +235,9 @@ table tr.marked {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* hovered table rows */
|
/* hovered table rows */
|
||||||
table tr.odd:hover th,
|
tr.odd:hover th,
|
||||||
table tr.even:hover th,
|
tr.even:hover th,
|
||||||
table tr.hover th {
|
tr.hover th {
|
||||||
background: <?php echo $GLOBALS['cfg']['BrowsePointerBackground']; ?>;
|
background: <?php echo $GLOBALS['cfg']['BrowsePointerBackground']; ?>;
|
||||||
color: <?php echo $GLOBALS['cfg']['BrowsePointerColor']; ?>;
|
color: <?php echo $GLOBALS['cfg']['BrowsePointerColor']; ?>;
|
||||||
}
|
}
|
||||||
@@ -642,11 +642,11 @@ a.tabactive {
|
|||||||
font-weight: bolder;
|
font-weight: bolder;
|
||||||
background: #aaa;
|
background: #aaa;
|
||||||
}
|
}
|
||||||
ul#topmenu .submenu {
|
#topmenu .submenu {
|
||||||
position: relative;
|
position: relative;
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
ul#topmenu .shown {
|
#topmenu .shown {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
}
|
}
|
||||||
#topmenu .submenu ul {
|
#topmenu .submenu ul {
|
||||||
@@ -659,7 +659,7 @@ ul#topmenu .shown {
|
|||||||
border: 1px #666 solid;
|
border: 1px #666 solid;
|
||||||
}
|
}
|
||||||
|
|
||||||
ul#topmenu li:hover ul, ul#topmenu .submenuhover ul {
|
#topmenu li:hover ul, #topmenu .submenuhover ul {
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1410,18 +1410,18 @@ iframe.IE_hack {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* config forms */
|
/* config forms */
|
||||||
.config-form ul.tabs {
|
ul.tabs {
|
||||||
margin: 1.1em 0.2em 0;
|
margin: 1.1em 0.2em 0;
|
||||||
padding: 0 0 0.3em 0;
|
padding: 0 0 0.3em 0;
|
||||||
list-style: none;
|
list-style: none;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
.config-form ul.tabs li {
|
ul.tabs li {
|
||||||
float: <?php echo $left; ?>;
|
float: <?php echo $left; ?>;
|
||||||
}
|
}
|
||||||
|
|
||||||
.config-form ul.tabs li a {
|
ul.tabs a {
|
||||||
display: block;
|
display: block;
|
||||||
margin: 0.1em 0.2em 0;
|
margin: 0.1em 0.2em 0;
|
||||||
padding: 0.1em 0.4em;
|
padding: 0.1em 0.4em;
|
||||||
@@ -1431,14 +1431,14 @@ iframe.IE_hack {
|
|||||||
border-bottom: none;
|
border-bottom: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.config-form ul.tabs li a:hover,
|
ul.tabs a:hover,
|
||||||
.config-form ul.tabs li a:active,
|
ul.tabs a:active,
|
||||||
.config-form ul.tabs li a.active {
|
ul.tabs a.active {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0.1em 0.6em 0.2em;
|
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']; ?>;
|
background-color: <?php echo $GLOBALS['cfg']['BgOne']; ?>;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user