From 179106efaff17b4fa25667381244ebc46789885e Mon Sep 17 00:00:00 2001 From: rvelices Date: Thu, 20 Sep 2007 23:45:23 +0000 Subject: - removed unused code from the calendar - removed some unused css rules, simplified css a bit and made some rule grouping (nothing important) git-svn-id: http://piwigo.org/svn/trunk@2101 68402e56-0260-453c-a942-63ccdbb3a9ee --- template/yoga/content.css | 5 ++++- template/yoga/default-colors.css | 33 ++++++++++++++++----------------- template/yoga/picture.tpl | 21 ++++++++++++++++++--- template/yoga/theme/clear/theme.css | 19 +------------------ template/yoga/theme/dark/theme.css | 31 +------------------------------ template/yoga/theme/p0w0/theme.css | 20 ++++---------------- template/yoga/theme/wipi/theme.css | 24 +----------------------- 7 files changed, 45 insertions(+), 108 deletions(-) (limited to 'template') diff --git a/template/yoga/content.css b/template/yoga/content.css index 3c75585cd..2d3af7b9e 100644 --- a/template/yoga/content.css +++ b/template/yoga/content.css @@ -36,7 +36,8 @@ BODY#theNBMPage #content } #content .pageNumberSelected { - font-style: italic; + font-style: italic; + font-weight: bold; } #content .additional_info { @@ -180,6 +181,7 @@ DIV.calImg { position: absolute; text-align: left; vertical-align: top; + color: #000; } .calForeDate { @@ -189,6 +191,7 @@ DIV.calImg { position: absolute; text-align: left; vertical-align: top; + color: #fff; } /* Category thumbnails on main page, CSS code inspired from MOD subcatify */ diff --git a/template/yoga/default-colors.css b/template/yoga/default-colors.css index e88f21208..dfda2e051 100644 --- a/template/yoga/default-colors.css +++ b/template/yoga/default-colors.css @@ -1,23 +1,14 @@ /* $Id$ */ /* others */ -.pleaseNote { - background: #9c9c9c; - color: #ffff99; - padding: 1ex; - font-weight: bold; -} #imageToolBar * { background: inherit; } /* So that non-links are slightly greyed out */ -#content .navigationBar { - color: #696969; -} -#content .pageNumberSelected { - color: #000000; +#content .navigationBar, SPAN.calItemEmpty, TD.calDayCellEmpty { + color: #b0b0b0; } /* Tables & forms */ @@ -68,26 +59,26 @@ INPUT.rateButton, INPUT.rateButtonSelected, INPUT.rateButtonStarFull, INPUT.rate padding: 10px 50px 10px 10px; } -.errors UL LI -{ - font-weight: normal; -} - /** * Informations box in administration */ .infos { text-align: left; + color: #002000; background-color: #98fb98; /* palegreen */ background-image: url(icon/admin/infos.png); background-repeat: no-repeat; background-position: top right; - color: #006400; /* darkgreen */ font-weight: bold; margin: 5px; padding: 10px 50px 10px 10px; } +.infos UL LI +{ + font-weight: normal; +} + /** * Header message like upgrade or adviser mode */ @@ -117,3 +108,11 @@ INPUT.rateButton, INPUT.rateButtonSelected, INPUT.rateButtonStarFull, INPUT.rate LEGEND { font-style: italic; } + +/*calendar*/ +SPAN.calItem, SPAN.calItemEmpty, +TD.calDayCellEmpty, TD.calDayCellFull { + border: 1px solid gray; +} + + diff --git a/template/yoga/picture.tpl b/template/yoga/picture.tpl index 9c1217af2..e0c49d9af 100644 --- a/template/yoga/picture.tpl +++ b/template/yoga/picture.tpl @@ -1,6 +1,21 @@ - -
{information.INFORMATION}
- + +
+ +
+ + +
+ +
+
diff --git a/template/yoga/theme/clear/theme.css b/template/yoga/theme/clear/theme.css index baf3aba31..3fc79f055 100644 --- a/template/yoga/theme/clear/theme.css +++ b/template/yoga/theme/clear/theme.css @@ -34,7 +34,7 @@ H2, #menubar DT, #imageHeaderBar, #imageToolBar A:hover, .row1 { } FIELDSET, INPUT, SELECT, TEXTAREA, -#content DIV.comment A.illustration IMG, #infos, +#content DIV.comment A.illustration IMG, #content DIV.thumbnailCategory { border: 1px solid gray; } @@ -75,29 +75,12 @@ A.navThumb, A.navThumb:hover { border-bottom: none; } -/* others */ -.pleaseNote { - background: #9c9c9c; - color: #ffff99; - padding: 1ex; - font-weight: bold; -} - /*calendar elements*/ -SPAN.calItemEmpty { color: silver; } - SPAN.calItem, SPAN.calItemEmpty { border: 1px solid silver; } -/* nice looking month calendar*/ -TD.calDayCellEmpty, TD.calDayCellFull { border: 1px solid #7E7262;} - -TD.calDayCellEmpty { color: silver; } - -.calBackDate { color: #000; } -.calForeDate { color: #fff; } .virtual_cat { background: #fff !important; } #mbMenu #quicksearch > p { text-align: left; } #qsearchInput { color: #d3d3d3; } diff --git a/template/yoga/theme/dark/theme.css b/template/yoga/theme/dark/theme.css index 3462dfe1f..08459ebb6 100644 --- a/template/yoga/theme/dark/theme.css +++ b/template/yoga/theme/dark/theme.css @@ -10,13 +10,6 @@ H2, #menubar DT, .throw { color: #fff48e; } -#content .navigationBar { - color: #aaaaaa; -} -#content .pageNumberSelected { - color: #000000; -} - .tabsheet li, .tabsheet li a { color: #fff; } .tabsheet li a:hover { color: #fff48e; } @@ -75,7 +68,7 @@ H2, #menubar DT, #imageToolBar { } FIELDSET, INPUT, SELECT, TEXTAREA, -#content DIV.comment A.illustration IMG, #infos, +#content DIV.comment A.illustration IMG, #content DIV.thumbnailCategory { border: 1px solid gray; } @@ -115,13 +108,6 @@ A.navThumb, A.navThumb:hover { border-bottom: none; } -/* others */ -.pleaseNote { - background: #9c9c9c; - color: #ffff99; - padding: 1ex; - font-weight: bold; -} #the_page { border: 1px solid #e0e0e0; padding-top: 5px; @@ -130,20 +116,5 @@ A.navThumb, A.navThumb:hover { display:block; } -/*calendar elements*/ -SPAN.calItemEmpty { color: silver; } - -SPAN.calItem, SPAN.calItemEmpty -{ - border: 1px solid gray; -} - -/* nice looking month calendar*/ -TD.calDayCellEmpty, TD.calDayCellFull { border: 1px solid gray;} - -TD.calDayCellEmpty { color: silver; } - -.calBackDate { color: #000; } -.calForeDate { color: #fff; } .virtual_cat { background: #3f3f3f !important; } #mbMenu #quicksearch > p { text-align: left; } diff --git a/template/yoga/theme/p0w0/theme.css b/template/yoga/theme/p0w0/theme.css index 64724c6ad..3b2f99ecf 100644 --- a/template/yoga/theme/p0w0/theme.css +++ b/template/yoga/theme/p0w0/theme.css @@ -18,7 +18,7 @@ /******************************************************************************/ /* Texts Only */ BODY, H1, H3, DT, H2, .throw { color: #369; } -H2, #menubar DT, .throw, TD H3, #theAdminPage H3, .calForeDate { +H2, #menubar DT, .throw, TD H3, #theAdminPage H3 { color: #fff; } #menubar DT, #menubar DT A { @@ -42,7 +42,6 @@ INPUT.rateButtonSelected /* <= why IE doesn't inherit this ? */ { } .infoTable, #theAdminPage #content, -#content .navigationBar, input#qsearchInput { color: #369; } #content .infos { color: #036; } #content .errors { color: #900; } @@ -89,13 +88,7 @@ input.rateButtonSelected, .tabsheet li a:hover, #content div.thumbnailCategory .description h3 a:hover { color: #f92; } -.pleaseNote { - color: #ff9; - font-weight: bold; -} -TD.calDayCellEmpty, -SPAN.calItemEmpty { color: silver; } -.calBackDate { color: #000; } + /******************************************************************************/ /* Backgrounds Only */ @@ -129,7 +122,7 @@ H2, #menubar DT, .throw, TD H3, } input#qsearchInput { background-color: #cde; } .virtual_cat { background: #fff !important; } -.pleaseNote, .selected_tab { background-color: #69c !important; } +.selected_tab { background-color: #69c !important; } /******************************************************************************/ /* Borders, Margins, Padding Only */ BODY { margin: 0px; padding: 0px; } @@ -193,7 +186,7 @@ H2, #imageToolBar { border: 0px; } FIELDSET, INPUT, SELECT, TEXTAREA, -#content DIV.comment A.illustration IMG, #infos, +#content DIV.comment A.illustration IMG, #content DIV.thumbnailCategory { border: 1px solid #69c; background-color: #dfe8ff; @@ -218,11 +211,6 @@ A.navThumb, A.navThumb:hover, padding: 5px 0px 30px 0px; margin: 0px; } -.pleaseNote { - padding: 1ex; -} -SPAN.calItem, SPAN.calItemEmpty { border: 1px solid gray; } -TD.calDayCellEmpty, TD.calDayCellFull { border: 1px solid gray;} #theAdminPage #content table td { padding: 2px 8px; } ul.tabsheet { border-color: #369 !important; } .tabsheet li { border: 1px solid #fff; } diff --git a/template/yoga/theme/wipi/theme.css b/template/yoga/theme/wipi/theme.css index b7acfbb37..3415f982c 100644 --- a/template/yoga/theme/wipi/theme.css +++ b/template/yoga/theme/wipi/theme.css @@ -48,9 +48,6 @@ H2, .throw { #theAdminPage #menubar DT:after { content: ''; } -#content .navigationBar { - color: #aaaaaa; -} #content .pageNumberSelected { color: #f92; } @@ -191,7 +188,7 @@ H2, #imageToolBar { border: 0px; } FIELDSET, INPUT, SELECT, TEXTAREA, -#content DIV.comment A.illustration IMG, #infos, +#content DIV.comment A.illustration IMG, #content DIV.thumbnailCategory { border: 1px solid gray; } @@ -238,13 +235,6 @@ A:hover { A.navThumb, A.navThumb:hover { border-bottom: none; } -/* others */ -.pleaseNote { - background: #9c9c9c; - color: #ffff99; - padding: 1ex; - font-weight: bold; -} #the_page { border: 1px dotted #f92; padding-top: 5px; @@ -256,13 +246,7 @@ A.navThumb, A.navThumb:hover { #copyright { color: #69c; } -/*calendar elements*/ -SPAN.calItemEmpty { color: silver; } -SPAN.calItem, SPAN.calItemEmpty -{ - border: 1px solid gray; -} label { cursor:pointer } @@ -298,13 +282,7 @@ FORM#quickconnect INPUT[type=password] { padding: 1px 3px; } -/* nice looking month calendar*/ -TD.calDayCellEmpty, TD.calDayCellFull { border: 1px solid gray;} - -TD.calDayCellEmpty { color: silver; } -.calBackDate { color: #000; } -.calForeDate { color: #fff; } .virtual_cat { background: #222 !important; } .PWG { -- cgit v1.2.3