From eb975a8cda9f3f6afaeec69b9419b00eefbba8f1 Mon Sep 17 00:00:00 2001 From: patdenice Date: Tue, 20 May 2008 00:27:26 +0000 Subject: Change all #content by .content in css files. In tpl files, id="content" stay here for backward compatibilities. Add some plugins triggers in index.tpl and picture.tpl. git-svn-id: http://piwigo.org/svn/trunk@2352 68402e56-0260-453c-a942-63ccdbb3a9ee --- template/yoga/theme/p0w0/theme.css | 76 +++++++++++++++++++------------------- 1 file changed, 38 insertions(+), 38 deletions(-) (limited to 'template/yoga/theme/p0w0') diff --git a/template/yoga/theme/p0w0/theme.css b/template/yoga/theme/p0w0/theme.css index b3db1b779..4a04cf44c 100644 --- a/template/yoga/theme/p0w0/theme.css +++ b/template/yoga/theme/p0w0/theme.css @@ -25,7 +25,7 @@ H2, #menubar DT, .throw, TD H3, #theAdminPage H3 { color: #fff; font-weight: bold; } -#content .titrePage .categoryActions li { color: #cde;} +.content .titrePage .categoryActions li { color: #cde;} #menubar DT A:hover { color: #f92; font-weight: bold; @@ -34,27 +34,27 @@ h1 { font-weight: bold; letter-spacing: 0.2em; } #mbIdentification dd p, #menubar .selected A { color: #c60; font-weight: bold; } #copyright { color: #c60; } -#content .pageNumberSelected, +.content .pageNumberSelected, A, INPUT.rateButton, legend { color: #369; } A:hover { color: #f92; } INPUT.rateButtonSelected /* <= why IE doesn't inherit this ? */ { color:#69c; } .infoTable, -#theAdminPage #content, +#theAdminPage .content, input#qsearchInput { color: #369; } -#content .infos { color: #036; } -#content .errors { color: #900; } -#content .titrePage H2 A { color: #dfe8ff; } +.content .infos { color: #036; } +.content .errors { color: #900; } +.content .titrePage H2 A { color: #dfe8ff; } input.rateButtonSelected, -#content .titrePage H2 A:hover { color: #f92; } -#content H2 { +.content .titrePage H2 A:hover { color: #f92; } +.content H2 { letter-spacing: 0.01em; text-indent: 1em; font-weight: normal; } -#content ul.thumbnailCategories li div.thumbnailCategory .description h3, -#content h3 { text-align: center; } +.content ul.thumbnailCategories li div.thumbnailCategory .description h3, +.content h3 { text-align: center; } .browsePath, .imageNumber, #imageHeaderBar H2, .browsePath A { @@ -62,9 +62,9 @@ input.rateButtonSelected, font-weight: bold; } .browsePath A:hover { color: #fff; } -#content H2:before, .browsePath:before, .imageNumber:before, +.content H2:before, .browsePath:before, .imageNumber:before, #imageHeaderBar H2:before, -#content H2:after, .browsePath:after, .imageNumber:after, +.content H2:after, .browsePath:after, .imageNumber:after, #imageHeaderBar H2:after { content: " "; color: #fff; @@ -75,17 +75,17 @@ input.rateButtonSelected, #thePicturePage #comments H2 { color: #69c; } -#content ul.thumbnailCategories li div.thumbnailCategory .description p { +.content ul.thumbnailCategories li div.thumbnailCategory .description p { color: #c60; } -#content ul.thumbnailCategories li div.thumbnailCategory .description p + p { +.content ul.thumbnailCategories li div.thumbnailCategory .description p + p { color: #369; } .tabsheet li, .tabsheet li a, #theAdminPage h3 a, -#content div.thumbnailCategory .description h3 a { +.content div.thumbnailCategory .description h3 a { color: #fff; } -.tabsheet li a:hover, #content div.thumbnailCategory .description h3 a:hover { +.tabsheet li a:hover, .content div.thumbnailCategory .description h3 a:hover { color: #f92; } @@ -97,7 +97,7 @@ BODY { background: #cde; } #thePicturePage #the_page, #thePicturePage #theImage, #theAdminPage #the_page, -#content, DIV.content { background-color: #dfe8ff; } +.content { background-color: #dfe8ff; } #the_page { background-color: #dfe8ff; } #menubar, H3, #imageHeaderBar, .row1 { background-color: #eef; } @@ -105,19 +105,19 @@ H2, #menubar DT, .throw, TD H3, #imageToolBar, #imageHeaderBar, #imageHeaderBar H2, .tabsheet li, #theAdminPage H3 { background-color: #369; } -#content H2 { background-color: #369; } -#content .infos { background-color: #47a; ;} -#content .errors { background-color: #fc5; ;} +.content H2 { background-color: #369; } +.content .infos { background-color: #47a; ;} +.content .errors { background-color: #fc5; ;} #thePicturePage #comments H2 { background-color: #eef; ;} -#content ul.thumbnailCategories li div.thumbnailCategory .description h3 { +.content ul.thumbnailCategories li div.thumbnailCategory .description h3 { background-color: #69c; } -#content ul.thumbnailCategories li div.thumbnailCategory, -#content UL.thumbnails SPAN.wrap2 { background-color: #eef; } -#content ul.thumbnailCategories li div.thumbnailCategory:hover, +.content ul.thumbnailCategories li div.thumbnailCategory, +.content UL.thumbnails SPAN.wrap2 { background-color: #eef; } +.content ul.thumbnailCategories li div.thumbnailCategory:hover, #theImage IMG, .navThumb IMG, -#content UL.thumbnails SPAN.wrap2:hover { background-color: #fff; } -#content UL.thumbnails SPAN.wrap2:active img { +.content UL.thumbnails SPAN.wrap2:hover { background-color: #fff; } +.content UL.thumbnails SPAN.wrap2:active img { outline: 3px ridge #f92; } input#qsearchInput { background-color: #cde; } @@ -134,27 +134,27 @@ BODY { margin: 0px; padding: 0px; } } A { border: 0px; text-decoration: none; } A:hover { text-decoration: none; border: 0px; } -#content, DIV.content { +.content { border: 1px solid #369; padding: 0px; } -#menubar DT, #content H2 { +#menubar DT, .content H2 { background-image: url(images/button-bg.png); border: 0px; margin-bottom: 3px; } -#content ul.thumbnailCategories li div.thumbnailCategory .description h3 { +.content ul.thumbnailCategories li div.thumbnailCategory .description h3 { background-image: url(images/button-bg.png); border-width: 1px; border-style: outset; border-color: #369; } -#content ul.thumbnailCategories li div.thumbnailCategory .description h3:active +.content ul.thumbnailCategories li div.thumbnailCategory .description h3:active { background: #69c; border: 1px inset #369; } -#content .errors { border-color: #f92; } +.content .errors { border-color: #f92; } #imageHeaderBar H2 { border: 0px; } #thePicturePage #imageToolBar { padding: 0px 25px 5px 25px; } #thePicturePage #theImage { @@ -179,27 +179,27 @@ H2, #imageToolBar { padding: 1px; box-shadow: 0.2em 0.2em #ccc; } -#content UL.thumbnail IMG { +.content UL.thumbnail IMG { border: 1px solid #666; } .illustration A { border: 0px; } FIELDSET, INPUT, SELECT, TEXTAREA, -#content DIV.comment A.illustration IMG, -#content DIV.thumbnailCategory { +.content DIV.comment A.illustration IMG, +.content DIV.thumbnailCategory { border: 1px solid #69c; background-color: #dfe8ff; margin: 3px; } -#content DIV.thumbnailCategory:hover { +.content DIV.thumbnailCategory:hover { border: 1px solid #f92; } -#content UL.thumbnails SPAN.wrap2 { +.content UL.thumbnails SPAN.wrap2 { border: 1px solid #69c; /* thumbnails border color and style */ border-radius: 4px 4px; /* round corners with CSS3 compliant browsers */ } -#content UL.thumbnails SPAN.wrap2:hover { +.content UL.thumbnails SPAN.wrap2:hover { border-color: #f92; /* thumbnails border color when mouse cursor is over it */ } A.navThumb, A.navThumb:hover, @@ -211,7 +211,7 @@ A.navThumb, A.navThumb:hover, padding: 5px 0px 30px 0px; margin: 0px; } -#theAdminPage #content table td { padding: 2px 8px; } +#theAdminPage .content table td { padding: 2px 8px; } ul.tabsheet, ul.tabsheet li { border-color: #369 !important; } .tabsheet li:hover { border-color: #f92 !important; } -- cgit v1.2.3