diff options
author | vdigital <vdigital@piwigo.org> | 2008-07-02 06:40:13 +0000 |
---|---|---|
committer | vdigital <vdigital@piwigo.org> | 2008-07-02 06:40:13 +0000 |
commit | 9792ec308ba8eea81550f58a883d606bbe69e777 (patch) | |
tree | 51a5183c733760dcff077002486e599e28f7057d | |
parent | 644f8ee621549ce1a60f3e1e0dbff83eab8e0c87 (diff) |
Reversed logic for backgrounds
$tabsheet transfer: general use available in admin.tpl
Some CSS admin simplications
git-svn-id: http://piwigo.org/svn/trunk@2415 68402e56-0260-453c-a942-63ccdbb3a9ee
-rw-r--r-- | admin/template/yoga/admin.tpl | 2 | ||||
-rw-r--r-- | admin/template/yoga/admin/cat_options.tpl | 1 | ||||
-rw-r--r-- | admin/template/yoga/admin/comments.tpl | 1 | ||||
-rw-r--r-- | admin/template/yoga/admin/configuration.tpl | 1 | ||||
-rw-r--r-- | admin/template/yoga/admin/history.tpl | 1 | ||||
-rw-r--r-- | admin/template/yoga/admin/intro.tpl | 2 | ||||
-rw-r--r-- | admin/template/yoga/admin/notification_by_mail.tpl | 1 | ||||
-rw-r--r-- | admin/template/yoga/admin/plugins_list.tpl | 1 | ||||
-rw-r--r-- | admin/template/yoga/admin/plugins_new.tpl | 1 | ||||
-rw-r--r-- | admin/template/yoga/admin/plugins_update.tpl | 1 | ||||
-rw-r--r-- | admin/template/yoga/admin/stats.tpl | 1 | ||||
-rw-r--r-- | admin/template/yoga/admin/upload.tpl | 1 | ||||
-rw-r--r-- | admin/template/yoga/content.css | 1 | ||||
-rw-r--r-- | admin/template/yoga/default-layout.css | 2 | ||||
-rw-r--r-- | admin/template/yoga/footer.tpl | 1 | ||||
-rw-r--r-- | admin/template/yoga/header.tpl | 1 | ||||
-rw-r--r-- | admin/template/yoga/theme/admin/theme.css | 208 | ||||
-rw-r--r-- | plugins/LocalFilesEditor/admin.tpl | 1 | ||||
-rw-r--r-- | plugins/admin_advices/default-layout.css | 4 |
19 files changed, 69 insertions, 163 deletions
diff --git a/admin/template/yoga/admin.tpl b/admin/template/yoga/admin.tpl index 1e8546efe..0893405b1 100644 --- a/admin/template/yoga/admin.tpl +++ b/admin/template/yoga/admin.tpl @@ -104,6 +104,6 @@ </ul> </div> {/if} - + {$TABSHEET} {$ADMIN_CONTENT} </div> diff --git a/admin/template/yoga/admin/cat_options.tpl b/admin/template/yoga/admin/cat_options.tpl index e6186d551..b4623acf4 100644 --- a/admin/template/yoga/admin/cat_options.tpl +++ b/admin/template/yoga/admin/cat_options.tpl @@ -1,6 +1,5 @@ {* $Id$ *} <div class="titrePage"> - {$TABSHEET} <ul class="categoryActions"> <li><a href="{$U_HELP}" onclick="popuphelp(this.href); return false;" title="{'Help'|@translate}"><img src="{$themeconf.icon_dir}/help.png" class="button" alt="(?)"></a></li> </ul> diff --git a/admin/template/yoga/admin/comments.tpl b/admin/template/yoga/admin/comments.tpl index 1c7df910e..5ceef17b1 100644 --- a/admin/template/yoga/admin/comments.tpl +++ b/admin/template/yoga/admin/comments.tpl @@ -1,6 +1,5 @@ {* $Id$ *} <div class="titrePage"> - {$TABSHEET} <h2>{'waiting'|@translate} {$TABSHEET_TITLE}</h2> </div> diff --git a/admin/template/yoga/admin/configuration.tpl b/admin/template/yoga/admin/configuration.tpl index ec5695f5a..89321731f 100644 --- a/admin/template/yoga/admin/configuration.tpl +++ b/admin/template/yoga/admin/configuration.tpl @@ -1,6 +1,5 @@ {* $Id$ *} <div class="titrePage"> - {$TABSHEET} <ul class="categoryActions"> <li><a href="{$U_HELP}" onclick="popuphelp(this.href); return false;" title="{'Help'|@translate}"><img src="{$themeconf.icon_dir}/help.png" class="button" alt="(?)"></a></li> </ul> diff --git a/admin/template/yoga/admin/history.tpl b/admin/template/yoga/admin/history.tpl index fece092f0..7092cebdb 100644 --- a/admin/template/yoga/admin/history.tpl +++ b/admin/template/yoga/admin/history.tpl @@ -1,6 +1,5 @@ {* $Id$ *} <div class="titrePage"> - {$TABSHEET}
<ul class="categoryActions"> <li> <a diff --git a/admin/template/yoga/admin/intro.tpl b/admin/template/yoga/admin/intro.tpl index 5c84657ca..457e50644 100644 --- a/admin/template/yoga/admin/intro.tpl +++ b/admin/template/yoga/admin/intro.tpl @@ -1,6 +1,6 @@ {* $Id$ *} <h2>{'title_default'|@translate}</h2> -<dl> +<dl style="padding-top: 30px;"> <dt>{'Piwigo version'|@translate}</dt> <dd> <ul> diff --git a/admin/template/yoga/admin/notification_by_mail.tpl b/admin/template/yoga/admin/notification_by_mail.tpl index a8e3f8108..7a491463f 100644 --- a/admin/template/yoga/admin/notification_by_mail.tpl +++ b/admin/template/yoga/admin/notification_by_mail.tpl @@ -1,7 +1,6 @@ {* $Id$ *} <div class="titrePage"> - {$TABSHEET} <ul class="categoryActions"> <li><a href="{$U_HELP}" onclick="popuphelp(this.href); return false;" title="{'Help'|@translate}"><img src="{$themeconf.icon_dir}/help.png" class="button" alt="(?)"></a></li> </ul> diff --git a/admin/template/yoga/admin/plugins_list.tpl b/admin/template/yoga/admin/plugins_list.tpl index 18ba8c7d5..99d3234c9 100644 --- a/admin/template/yoga/admin/plugins_list.tpl +++ b/admin/template/yoga/admin/plugins_list.tpl @@ -1,5 +1,4 @@ <div class="titrePage"> -{$TABSHEET} <span class="sort"> {'Sort order'|@translate} : <select onchange="document.location = this.options[this.selectedIndex].value;" style="width:200px"> diff --git a/admin/template/yoga/admin/plugins_new.tpl b/admin/template/yoga/admin/plugins_new.tpl index f778c6aa2..bfa9dde5c 100644 --- a/admin/template/yoga/admin/plugins_new.tpl +++ b/admin/template/yoga/admin/plugins_new.tpl @@ -1,5 +1,4 @@ <div class="titrePage"> -{$TABSHEET} <h2>{'Plugins'|@translate}</h2> </div> diff --git a/admin/template/yoga/admin/plugins_update.tpl b/admin/template/yoga/admin/plugins_update.tpl index fb2f38f67..77173f92e 100644 --- a/admin/template/yoga/admin/plugins_update.tpl +++ b/admin/template/yoga/admin/plugins_update.tpl @@ -1,5 +1,4 @@ <div class="titrePage"> -{$TABSHEET} <h2>{'Plugins'|@translate}</h2> </div> diff --git a/admin/template/yoga/admin/stats.tpl b/admin/template/yoga/admin/stats.tpl index cb20be916..872f19193 100644 --- a/admin/template/yoga/admin/stats.tpl +++ b/admin/template/yoga/admin/stats.tpl @@ -1,7 +1,6 @@ {* $Id$ *} <div class="titrePage"> - {$TABSHEET} <ul class="categoryActions"> <li> <a diff --git a/admin/template/yoga/admin/upload.tpl b/admin/template/yoga/admin/upload.tpl index b580f9d30..986a2cf93 100644 --- a/admin/template/yoga/admin/upload.tpl +++ b/admin/template/yoga/admin/upload.tpl @@ -1,6 +1,5 @@ {* $Id$ *} <div class="titrePage"> - {$TABSHEET} <h2>{'waiting'|@translate} {$TABSHEET_TITLE}</h2> </div> diff --git a/admin/template/yoga/content.css b/admin/template/yoga/content.css index b4663920f..80a3eb4f4 100644 --- a/admin/template/yoga/content.css +++ b/admin/template/yoga/content.css @@ -1,7 +1,6 @@ /* $Id$ */ /* .Content is on every pages so it is common and it will no longer be a specific css */ .content { margin-right: 1em; margin-bottom: 1em; } -.content h3 { margin-bottom: 1ex; text-align: center; } .content h2 { margin-bottom: 3px;} .content .navigationBar { margin: 10px 0; text-align: center; } .content form { text-align: left; } diff --git a/admin/template/yoga/default-layout.css b/admin/template/yoga/default-layout.css index 09e830d86..a51cc706d 100644 --- a/admin/template/yoga/default-layout.css +++ b/admin/template/yoga/default-layout.css @@ -254,7 +254,7 @@ INPUT, SELECT { margin: 0; font-size: 1em; /* <= some browsers don't set it correctly */ } -UL, DL, LI { text-align: left;} +UL, DL { text-align: left;} TABLE { /* horizontaly centered */ margin-left: auto; margin-right: auto; diff --git a/admin/template/yoga/footer.tpl b/admin/template/yoga/footer.tpl index 97557d95d..56677dcfb 100644 --- a/admin/template/yoga/footer.tpl +++ b/admin/template/yoga/footer.tpl @@ -35,7 +35,6 @@ </div> <!-- the_page --> {if isset($debug.QUERIES_LIST)}{$debug.QUERIES_LIST}{/if} -<div id="leaves"> </div> </body> </html>
\ No newline at end of file diff --git a/admin/template/yoga/header.tpl b/admin/template/yoga/header.tpl index 610d12739..4143d0ff9 100644 --- a/admin/template/yoga/header.tpl +++ b/admin/template/yoga/header.tpl @@ -43,6 +43,7 @@ </head> <body id="{$BODY_ID}"> +<div id="headbranch"></div> {* Dummy block for double background management *} <div id="the_page"> {if not empty($header_msgs)} diff --git a/admin/template/yoga/theme/admin/theme.css b/admin/template/yoga/theme/admin/theme.css index 52745d7c6..5d326c984 100644 --- a/admin/template/yoga/theme/admin/theme.css +++ b/admin/template/yoga/theme/admin/theme.css @@ -1,174 +1,95 @@ /* $Id$ */ /* text color */ -BODY, H3, DT, H2, .throw, -INPUT.rateButtonSelected /* <= why IE doesn't inherit this ? */ { +body, h3, dt, h2, .throw, .content, +input.rateButtonSelected /* <= why IE doesn't inherit this ? */ { color:#ccc; } +input.text, input.button, input.submit, input.reset, input.file, select, textarea { +color:#444; } +input.rateButton, legend, #theAdminPage h3 { color: #777; } +#theAdminPage h2 { color: #333; } +/* common */ .content .infos { - color: #f33; border:0pt none; font-weight:bold; background-color: transparent; - padding:5px 0px 0pt 20pt; position:absolute; left:210px; - text-align:left; top:100px; width:550px; } + color: #f33; border:0pt none; font-weight:bold; background-color: #222; + padding:5px 0px 0pt 20pt; position:absolute; left:248px; min-height: 48px; + text-align:left; top:110px; width:550px; z-index: 2; } .content .infos li { list-style-type:none; } .content .errors { - background-color: #fc5; - border-color: #f92; - color: #900; -} + color: #900; border:0pt none; font-weight:bold; background-color: #222; + padding:5px 0px 0pt 20pt; position:absolute; left:248px; min-height: 48px; + text-align:left; top:110px; width:550px; z-index: 3; } +#copyright { color:#777; margin:60px auto 15px 240px; text-align:center; } +.header_notes { +background: transparent url(../../../../../template/yoga/icon/note.png) no-repeat right top; +border:0; font-weight:bold; +padding:5px 60px 0 0; position:absolute; right:0; +text-align:right; top:90px; width:550px; } + /* backgrounds */ +html, body { min-height: 100%; } body { - background:#111111 url(images/top-left-bg.png) no-repeat scroll left top; + background:#111111 url(images/bottom-left-bg.png) no-repeat fixed left bottom; margin: 0; padding: 0; } -H3, #imageToolBar A:hover, .row1 { - background-color: #222; -} -.row2 { background-color:#111; } -#theAdminPage h2, #theAdminPage h3 { color: #777; } - -.content { - background-color: #181818; - border: 1px solid #eee; - padding: 5px; -} -H2, .throw, TD H3, #theAdminPage H3 { - background-image: url(images/fillet.png); - background-repeat: repeat-x; -} -.content H2 { - background: none; - border: 0; - letter-spacing: -0.05em; - text-indent: 1em; - text-transform: uppercase; - font-weight: lighter; - margin-bottom: 20px; -} -.content h3 { text-align: center; } -.browsePath A { - color: #eee; -} -/* borders */ -#comments DIV.comment BLOCKQUOTE { - border: 1px solid #000; -} -#imageHeaderBar { - border-top: 1px solid #000; - padding: 8px 0 3px 0; -} -H2, #imageToolBar { - border-bottom: 1px solid #000; -} - -#theImage IMG { - border-color: #fff; -} +#the_page { +border:0; display:block; margin: 0; padding-bottom: 0; z-index: 1; top:0px; +padding-top: 0; min-height: 100%; width:100%; position:absolute; left:0px; } +#headbranch { +background:transparent url(images/top-left-bg.png) no-repeat scroll left top; +border:0; display:block; margin: 0; padding: 0; width: 233px; +height: 240px; position:absolute; left:0px; top:0px; z-index: 0; } -.content UL.thumbnail IMG { - border: 1px solid #a0a0a0; -} -.illustration A { - border: 0; -} -FIELDSET, INPUT, SELECT, TEXTAREA, -.content DIV.comment A.illustration IMG, -#comments DIV.comment BLOCKQUOTE { - border-left: 2px solid #696969; -} +#theHeader { + background:transparent url(images/piwigo_logo_sombre_214x100.png) no-repeat scroll 245px top; + min-height:105px; } +h3, #imageToolBar a:hover, .row1, .content { background-color: #222; } +.row2 { background-color:#111; } +#content { background: #222 url(images/fillet.png) repeat-x top left; } +.content { min-height: 466px; padding:0px 5px 5px 5px; margin: 0 10px 0 248px; z-index:99; } +.content h3 { font-size:20px; letter-spacing:-0.4px; margin:0 20px 12px 0; + text-align:right; background:none; border: 0; } +.content h4 { font-size:14px; text-align:left; padding:3px; margin: 2px;} +.content h2:before, .content h2:after, +.content h2 { +letter-spacing:0.1em; margin-right:30px; text-align:right; color: #777; +text-transform:none; font-weight:bold; padding-left:20px; } +.content dl, dd { margin:5px; } +.content div.titrePage { height:55px; } +.throw, td h3 { + background-image: url(images/fillet.png); background-repeat: repeat-x; } +.browsePath a { color: #eee; } +/* borders */ /* TODO */ +INPUT, SELECT, TEXTAREA { border-left: 2px solid #696969; } .content UL.thumbnails SPAN.wrap2 { border: 1px solid #aaaaaa; /* thumbnails border color and style */ border-radius: 4px 4px; /* round corners with CSS3 compliant browsers */ } - .content UL.thumbnails SPAN.wrap2:hover { - margin: 0 2px; - width: auto; - padding: 0; - text-indent: 0; - list-style: none; - text-align: center; - float: left; -} - -#imageToolBar A, #imageToolBar A:hover { - border-bottom: none; -} -A.navThumb, A.navThumb:hover { - border-bottom: none; -} -#copyright { -color:#777; -margin:60px 0; -text-align:center; -} - -label { - cursor:pointer -} + margin: 0 2px; width: auto; padding: 0; text-indent: 0; + list-style: none; text-align: center; float: left; } +label { cursor:pointer } .virtual_cat { background: #222 !important; } - a.Piwigo { font-family: verdana, arial, helvetica, sans-serif !important; font-size: 11px; font-weight: normal; letter-spacing: 0; color : #f36; text-decoration: none; border: 0; color: #f36; } -.statBar { background-color: #e60; } -#imageToolBar .randomButtons a:hover, -#imageToolBar .navButtons a:hover { background-color: transparent; } * { outline-width: 0; } - - -/* New in 1.8 : Special Admin */ a { color:#f70; border-color: #FF3363; } a:hover { color: #f33; border-color: #FF3363; } -input.rateButton, legend { color:#777; } -#theHeader { - background:transparent url(images/piwigo_logo_sombre_214x100.png) no-repeat scroll 245px top; height:105px; -} -.content h2:before, .content h2:after, -.content h2 { /*theme.css (line 100)*/ -letter-spacing:0.1em; margin-right:45px; text-align:right; color: #777777; -text-transform:none; } -.content dl, dd { /*content.css (line 52) */ margin:5px; } -.content h2 { /* default-layout.cs... (line 6) */ -font-weight:bold; margin-right:30px; padding-left:2em; } -#theAdminPage h3 { /* theme.css (line 96) */ -background: transparent none; margin-right:30px; font-weight: lighter;} -#theAdminPage h2 { border:0; color:#333; display:block; -font-size:32px; letter-spacing:0.8px; margin:0pt 20px 0pt 220px; -min-height:95px; overflow:hidden; padding:0pt; position:relative; -right:0pt; text-align:right; top:-100px; width:770px; } -#the_page { -/*background:transparent url(images/bottom-left-bg.png) no-repeat fixed left bottom; */ -border:0; display:block; margin: 0; padding-bottom: 0; -padding-top: 0; min-height: 100%; position:relative; -} -#leaves { -background:transparent url(images/bottom-left-bg.png) no-repeat fixed left bottom; -border:0; display:block; margin: 0; padding: 0; min-width: 539px; -min-height: 220px; position:absolute; left:0px; bottom:0px; z-index: 0; -} -#content { background: #222 url(images/fillet.png) repeat-x top left; } -.content { - min-height: 420px; color: #ccc; - border-width: 0; padding: 0 5px 0 0; margin: 0 10px 0 248px; } -.header_notes { -background: transparent url(../../../../../template/yoga/icon/note.png) no-repeat right top; -border:0; font-weight:bold; -padding:5px 60px 0 0; position:absolute; right:0; -text-align:right; top:90px; width:550px; } -/*.content div.titrePage ul.categoryActions { -position:absolute; right:12px; top:110px; } */ +#theAdminPage h2 { display:block; font-size:28px; letter-spacing:-1px; +margin:0 20px; height:95px; overflow:hidden; padding:0; position:absolute; +right:0; text-align:right; top:0; width:770px; } + + fieldset#uploadConf input { margin-left:5%; width:160px; } table.table2 th { padding:3px 30px; } table.table2 tr.throw { text-align: center; } -html, body { height:100%; } -.content div.titrePage { height:55px; } table.table2 { margin:0pt auto; } .sort { display:block; padding:8px 5px 0px 1px; } -input.text, input.button, input.submit, input.reset, input.file, select, textarea { -color:#444; } + /* tabsheets are often used in admin pages => No specific css files */ .tabsheet { background-color:transparent; border:0; display:table; @@ -195,9 +116,8 @@ background:transparent url(images/active_tab_letters.png) no-repeat scroll left /* menubar is on all admin pages => No specific css file */ #menubar { background:transparent url(images/menuBoxBottom_new.png) no-repeat scroll left bottom; -border: 0; float:none; left: 0; margin:100px 5px 5px 35px; min-height:432px; padding: 0; -position:absolute; top: 0; width:207px; display: inline; z-index: 1; -text-align: left; /* "be nice to IE5" rule */ } +border:0; display:inline; float:left; left:0; margin: 0 0 0 35px; min-height:468px; +padding:0; width:207px; z-index:99; text-align: left; /* "be nice to IE5" rule */ } #menubar .selected a { color: #f70; border-color: #f36; } #menubar .selected a:hover { color: #f33; border-bottom: 1px solid #f33;} #menubar dd { @@ -205,18 +125,16 @@ background: transparent url(images/menubar-detail.png) repeat-y top left; margin: 0; padding: 0; height:232px; display:block; } #menubar dl { background:transparent url(images/menuBoxTop_new.png) no-repeat scroll left top; -width: 207px; border:0; margin: 0; padding: 0; display: block; } +width: 207px; border:0; margin: 0; padding: 0; display: block; min-height:35px; } #menubar dl.first { background:transparent url(images/menubar-top.png) no-repeat scroll left 1px; } #menubar dt { margin: 0; display: block; background: none; left:10px; font-weight:bold; position:relative; padding: 5px; top:-10px; font-size: 13px; color: #666; } -#menubar dt span { background-color: #111; } +#menubar dt span { background-color: #111; cursor:pointer; } #menubar a { border-bottom:0; text-decoration:none; font-size: 12px; color: #F70; border-bottom: 1px dotted #777;} #menubar li { margin: 0 0 0 6px; } -/*#menubar li:hover { color: #F36; }*/ #menubar li.external { list-style-image:url(images/external_inactive.png); padding:10px 0px 0pt 10px; } #menubar li.external:hover { list-style-image:url(images/external_active.png); } #menubar ul { color: #333; margin:9px 0pt 3px 9px; list-style-type: square; list-style-position: inside; padding: 0 0 0 2px; } -/*#menubar ul:hover { color: #850; }*/
\ No newline at end of file diff --git a/plugins/LocalFilesEditor/admin.tpl b/plugins/LocalFilesEditor/admin.tpl index f1306080e..6601ab8ac 100644 --- a/plugins/LocalFilesEditor/admin.tpl +++ b/plugins/LocalFilesEditor/admin.tpl @@ -12,7 +12,6 @@ editAreaLoader.init({ldelim} <div class="titrePage"> <h2>LocalFiles Editor</h2> - {$TABSHEET} </div> <form method="post" class="properties" action="" ENCTYPE="multipart/form-data"> diff --git a/plugins/admin_advices/default-layout.css b/plugins/admin_advices/default-layout.css index 99ffd9187..bf110eb1b 100644 --- a/plugins/admin_advices/default-layout.css +++ b/plugins/admin_advices/default-layout.css @@ -7,11 +7,11 @@ font-weight: bold; padding-left: 2em; } -.content h3 { +/*.content h3 { text-align: left; padding-left: 3em; font-size: 120%; -} +}*/ .content table tr td { text-align: left; padding-left: 2em; |