Skip to content

Commit

Permalink
Simplify css riles for settings page, more css3 rules
Browse files Browse the repository at this point in the history
  • Loading branch information
bueltge committed Mar 21, 2016
1 parent 2adc312 commit 3d8bd61
Showing 1 changed file with 15 additions and 10 deletions.
25 changes: 15 additions & 10 deletions css/style.css
Expand Up @@ -2,7 +2,7 @@
/**
* Stylesheet for the Adminimize settings page.
*
* @version 2016-01-06
* @version 2016-03-21
*/

#minimenu td a {
Expand All @@ -23,21 +23,26 @@ table tbody td span, table tbody th span {
}

tr:hover,
td:first-child + td:hover,
td:first-child + td + td + td:hover,
td:first-child + td + td + td + td + td:hover,
td:first-child + td + td + td + td + td + td + td:hover,
td:first-child + td + td + td + td + td + td + td + td + td:hover {
background: #DFDFDF !important;
td:nth-child(even) + td:hover {
background-color: #dfdfdf !important;
}

table.widefat th:nth-child(even),
table.widefat td:nth-child(even) {
background-color: #ffebe8;
}

table.widefat th:nth-child(even):hover,
table.widefat td:nth-child(even):hover {
background-color: #dfdfdf;
}

td:first-child {
width: 30%;
}

.col1, .col3, .col5,
.col7, .col9, .col11 {
background-color: #ffebe8;
table.widefat tr:nth-child(2) {
font-style: italic;
}

.widefat td span, .widefat th span {
Expand Down

0 comments on commit 3d8bd61

Please sign in to comment.