aboutsummaryrefslogtreecommitdiffstats
path: root/themes/Sylvia
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2010-12-26 06:21:26 +0000
committerrvelices <rv-github@modusoptimus.com>2010-12-26 06:21:26 +0000
commitad09493926b6067f316ffdbf2220fb17be2308da (patch)
treeb0caaf4409bf03820e28d20facd901656d5c8f2f /themes/Sylvia
parent61d07ecd8e6ca35b0c852540df97589ba8c27530 (diff)
simplify inefficient CSS rules according to pagespeed
git-svn-id: http://piwigo.org/svn/trunk@8306 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--themes/Sylvia/theme.css16
1 files changed, 8 insertions, 8 deletions
diff --git a/themes/Sylvia/theme.css b/themes/Sylvia/theme.css
index 546ff7b5c..8e8dfcc4c 100644
--- a/themes/Sylvia/theme.css
+++ b/themes/Sylvia/theme.css
@@ -5,7 +5,7 @@
width:220px !important; /* Usable range 219px-360px , optimal : Thumbnail width + 95px */
}
#comments .thumbnailCategories hr {display:none;}
-#comments form.filter input[type="submit"] { margin-top:1.8em; }
+#comments .filter input[type="submit"] { margin-top:1.8em; }
/* Sylvia Theme is close to the Roma Admin theme */
BODY, H1, H3, DT, INPUT.rateButtonSelected, H2, #menubar DT {
color:#666;
@@ -190,7 +190,7 @@ BODY {
background:transparent url(images/menuBox_sides.gif) repeat-y scroll left bottom;
margin:0;
}
-.content ul.thumbnailCategories li {
+.content .thumbnailCategories li {
background:#222 url(images/cat_bottom-right.gif) no-repeat scroll right bottom;
width:49%;
margin: 0;
@@ -231,7 +231,7 @@ BODY {
.content .thumbnailCategory .description H3 {
display: block;
}
-.content ul.thumbnailCategories li:hover {
+.content .thumbnailCategories li:hover {
background-color:#111;
}
.content .navigationBar {
@@ -292,16 +292,16 @@ input[type="radio"], input[type="checkbox"], input[type="button"].rateButtonStar
background-color:#444;
color:#999;
}
-UL.thumbnails SPAN.wrap2 {
+.thumbnails .wrap2 {
border: 1px solid #666; /* thumbnails border color and style */
border-radius: 4px 4px; /* round corners with CSS3 compliant browsers */
}
-UL.thumbnails SPAN.wrap2:hover {
+.thumbnails .wrap2:hover {
color:#666;
background-color:#111;
border:1px solid #ff3363; /* thumbnails border color when mouse cursor is over it */
}
-#comments ul.actions li, #comments ul.actions li:hover {
+#comments .actions li, #comments .actions li:hover {
background:transparent none;
margin-right: 22px;
clear:both;
@@ -401,7 +401,7 @@ input[type="button"]:hover, input[type="submit"]:hover, input[type="reset"]:hove
#addComment fieldset label {
color: #666;
}
-#theCommentsPage .content ul.thumbnailCategories li,
+#theCommentsPage .content .thumbnailCategories li,
#theCommentsPage .content .thumbnailCategory ,
#theCommentsPage .content .thumbnailCategory .description,
#theCommentsPage .content .thumbnailCategory div.illustration {
@@ -418,7 +418,7 @@ input[type="button"]:hover, input[type="submit"]:hover, input[type="reset"]:hove
#theCommentsPage .content .even {
background-color: #111;
}
-#theCommentsPage .content ul.thumbnailCategories li:hover {
+#theCommentsPage .content .thumbnailCategories li:hover {
background-color: transparent;
}
#theCommentsPage #comments {