aboutsummaryrefslogtreecommitdiffstats
path: root/themes/default/theme.css
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2010-11-22 20:13:09 +0000
committerrvelices <rv-github@modusoptimus.com>2010-11-22 20:13:09 +0000
commit5f69a2ff0201edf27f0d850f32231d91e723533c (patch)
tree84b28471025d65e8f8fd91675ff71057b562b22c /themes/default/theme.css
parent45b1d97556271bfcbeabdce1af47f39b8d619268 (diff)
simplification of CSS rules (trunk only)
git-svn-id: http://piwigo.org/svn/trunk@7843 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--themes/default/theme.css51
1 files changed, 15 insertions, 36 deletions
diff --git a/themes/default/theme.css b/themes/default/theme.css
index 53a3cddb6..5e5fe442f 100644
--- a/themes/default/theme.css
+++ b/themes/default/theme.css
@@ -6,6 +6,7 @@
margin: 0 0 10px 1em;
padding: 0;
display: inline;
+ width: 18em;
}
#menubar DL, #menubar DT, #menubar DD {
@@ -47,14 +48,11 @@
margin-bottom: 0;
}
-#menubar LI.selected A {
+/*IE6 needs override because of > selector*/
+#menubar LI.selected>A {
font-weight: bold;
}
-#menubar LI.selected LI A {
- font-weight: normal;
-}
-
#menubar .menuInfoCatByChild {
font-size: 80%;
font-style: italic;
@@ -94,26 +92,14 @@ FORM#quickconnect FIELDSET DIV {
* Content
*/
.content {
- margin-right: 1em;
- margin-bottom: 1em; /* when it's longer than menu bar */
-}
-
-BODY#theCommentsPage .content,
-BODY#theUploadPage .content,
-BODY#theRegisterPage .content,
-BODY#theIdentificationPage .content,
-BODY#theProfilePage .content,
-BODY#theSearchPage .content,
-BODY#theAboutPage .content,
-BODY#thePopuphelpPage .content,
-BODY#thePasswordPage .content,
-BODY#theNotificationPage .content,
-BODY#theTagsPage .content,
-BODY#theNBMPage .content
-{
margin: 1em;
}
+BODY#theCategoryPage .content
+{
+ margin-left: 20em; /* = #menubar width + 2em */
+}
+
.content H2 { margin-bottom: 3px;} /*<- for IE otherwise calendar select is displaced to middle of page*/
.content .navigationBar, .content .additional_info, .content .calendarBar {
@@ -155,32 +141,32 @@ UL.categoryActions LI {
}
/* begin chronology/calendar elements*/
-.content DIV.calendarViews {
+.content .calendarViews {
display: block;
float: right;
margin: 2px 0 0;
}
-SPAN.calItem, SPAN.calItemEmpty {
+.calItem, .calItemEmpty {
font-weight: bold;
margin: 0 1px;
border: 1px solid gray;
}
-SPAN.calItem A { border:0 }
+.calItem A { border:0 }
-.content DIV.calendarCalBar {
+.content .calendarCalBar {
margin: 10px;
text-align: left;
}
-SPAN.calCalHead {
+.calCalHead {
font-weight: bold;
font-size: 110%;
margin: 0 2px;
}
-SPAN.calCal { margin: 0 2px; }
+.calCal { margin: 0 2px; }
/* nice looking month calendar*/
TABLE.calMonth {
@@ -712,13 +698,6 @@ IMG.ui-datepicker-trigger {
cursor : pointer;
}
-/* Set the width of the menubar for the galery */
-#menubar {
- width: 18em;
-}
-.content {
- margin-left: 20em; /* = #menubar width + 2em */
-}
/* Set minimum width of the page before getting a scrollbar */
/* IE5 and IE6 don't get that */
BODY {
@@ -760,7 +739,7 @@ BODY#thePopuphelpPage {
}
/* So that non-links are slightly greyed out */
-.content .navigationBar, SPAN.calItemEmpty, TD.calDayCellEmpty {
+.content .navigationBar, .calItemEmpty, TD.calDayCellEmpty {
color: #b0b0b0;
}