Cleanup CSS

Removed overqualified and repeating selectors and fixed whitespace.

Change-Id: I139a892a577351167c9193c24b3684680f2d0e97
This commit is contained in:
Amir E. Aharoni
2013-04-22 10:13:52 +03:00
parent e5f3f95b2f
commit 530149704c
3 changed files with 10 additions and 12 deletions

View File

@@ -1,4 +1,3 @@
li#pt-uls { #pt-uls {
text-transform: none; text-transform: none;
} }

View File

@@ -1,4 +1,4 @@
li#pt-uls a.uls-trigger { #pt-uls a.uls-trigger {
padding-left: 30px; padding-left: 30px;
} }
@@ -10,7 +10,7 @@ x:-o-prefocus, body.rtl li#pt-uls {
direction: ltr; direction: ltr;
} }
div#settings-block { #settings-block {
border-top: 1px solid #C9C9C9; border-top: 1px solid #C9C9C9;
background: #f8f8f8; background: #f8f8f8;
background: -webkit-gradient(linear, left top, left bottom, from(#FBFBFB), to(#F0F0F0)); background: -webkit-gradient(linear, left top, left bottom, from(#FBFBFB), to(#F0F0F0));
@@ -48,7 +48,7 @@ div#settings-block {
margin-right: 4%; margin-right: 4%;
} }
.uls-ui-languages button#uls-more-languages { #uls-more-languages {
width: auto; width: auto;
} }

View File

@@ -10,7 +10,8 @@ div.display-settings-block {
cursor: pointer; cursor: pointer;
} }
.uls-font-label, .uls-font-select { .uls-font-label,
.uls-font-select {
font-size: 10pt; font-size: 10pt;
line-height: 16pt; line-height: 16pt;
} }
@@ -26,15 +27,13 @@ div.display-settings-block {
vertical-align: middle; vertical-align: middle;
} }
.uls-ui-languages button#uls-more-languages { .uls-content-fonts,
width: auto; .uls-ui-fonts {
}
.uls-content-fonts, .uls-ui-fonts {
padding-top: 10px; padding-top: 10px;
} }
.uls-content-fonts:hover, .uls-ui-fonts:hover { .uls-content-fonts:hover,
.uls-ui-fonts:hover {
background-color: #F6F6F6; background-color: #F6F6F6;
} }