From a1c4955e9b17b020b0f39d0a6929ea7b8d247aea Mon Sep 17 00:00:00 2001 From: vdigital Date: Tue, 16 Sep 2008 16:32:17 +0000 Subject: [PATCH] Admin goto/roma minor CSS / templates changes. Public yoga/Sylvia minor CSS / gif changes git-svn-id: http://piwigo.org/svn/trunk@2540 68402e56-0260-453c-a942-63ccdbb3a9ee --- admin/template/goto/rating.tpl | 8 ++--- admin/template/goto/site_manager.tpl | 2 +- admin/template/goto/theme/roma/theme.css | 34 ++++++++++-------- language/fr_FR/admin.lang.php | 2 +- .../yoga/theme/Sylvia/images/cat_top-left.gif | Bin 1014 -> 1006 bytes template/yoga/theme/Sylvia/theme.css | 6 ++-- 6 files changed, 29 insertions(+), 23 deletions(-) diff --git a/admin/template/goto/rating.tpl b/admin/template/goto/rating.tpl index 442673a78..ac5d2f262 100644 --- a/admin/template/goto/rating.tpl +++ b/admin/template/goto/rating.tpl @@ -42,16 +42,16 @@ {'Rate date'|@translate} -{foreach from=$images item=image} - +{foreach from=$images item=image name=image} + {$image.FILE} {$image.NB_RATES}/{$image.NB_RATES_TOTAL} {$image.AVG_RATE} {$image.STD_RATE} {$image.SUM_RATE} -{foreach from=$image.rates item=rate} - +{foreach from=$image.rates item=rate name=rate} + {$rate.RATE} {$rate.USER} {$rate.DATE} diff --git a/admin/template/goto/site_manager.tpl b/admin/template/goto/site_manager.tpl index 4ae027115..367f67a34 100644 --- a/admin/template/goto/site_manager.tpl +++ b/admin/template/goto/site_manager.tpl @@ -38,7 +38,7 @@ {'Actions'|@translate} {foreach from=$sites item=site} - + {$site.NAME}
({$site.TYPE}, {$site.CATEGORIES} {'Categories'|@translate}, {$pwg->l10n_dec('%d element','%d elements',$site.IMAGES)}) [{'site_synchronize'|@translate}] diff --git a/admin/template/goto/theme/roma/theme.css b/admin/template/goto/theme/roma/theme.css index 16c87fb5a..a5adbbd07 100644 --- a/admin/template/goto/theme/roma/theme.css +++ b/admin/template/goto/theme/roma/theme.css @@ -1,17 +1,17 @@ /* $Id$ */ /* text color */ -body, h3, dt, h2, .throw, .content, -input.rateButtonSelected /* <= why IE doesn't inherit this ? */ { color:#ccc; } +body, h3, dt, h2, .throw, .content, label, +input.rateButtonSelected /* <= why IE doesn't inherit this ? */ { color:#666; } INPUT[type="text"], INPUT[type="password"], INPUT[type="button"], INPUT[type="submit"], INPUT[type="reset"], INPUT[type="file"], select, textarea { -color:#111; background-color: #eee; } +color:#444; background-color: #eee; } input.rateButton, legend, #theAdminPage h3 { color: #777; } #theAdminPage h2 { color: #333; } -.content .infos { color: #3f6; border:0pt none; background-color: transparent; +.content .infos { color: #3f6; border:0; background-color: transparent; padding:5px 0px 0pt 10pt; min-height: 48px; text-align:left; } .content .infos li, .content .errors li { list-style-type:none; } -.content .errors { color: #f70; border:0pt none; background-color: transparent; +.content .errors { color: #f70; border:0; background-color: transparent; padding:5px 0px 0pt 10pt; min-height: 48px; text-align:left; font-weight:bold; } #copyright { color:#777; margin:60px auto 0px 240px; text-align:center; padding-bottom: 15px; } @@ -45,19 +45,25 @@ text-transform:none; font-weight:bold; padding-left:20px; } .content dl, dd { margin:5px; } .content div.titrePage { height:55px; } .instructions { text-align: left; padding: 20px 20px 0 20px; } +.instructions h3 { text-align: center; margin: 30px 0 0 0; } .throw, td h3 { background-image: url(images/fillet.png); background-repeat: repeat-x; } /* borders */ /* TODO */ -INPUT, SELECT, TEXTAREA { border-left: 2px inset #696969; text-indent:4px; } -TEXTAREA { cursor:text; } +fieldset { border: 1px solid #666; } +INPUT, SELECT, TEXTAREA { border-left: 2px inset #666; text-indent:4px; } +TEXTAREA { cursor:text; font-family:Univers,Helvetica,Optima,"Bitstream Vera Sans",sans-serif; font-size: 13px; } INPUT.bigbutton { background: #111 url(images/rapid_local_synchro.png) no-repeat scroll left top; width: 600px; height: 120px; color:#f70; font-size: 36px; text-align: left; padding: 0 0 0 30px; border: 0; } -INPUT.bigbutton:hover { background-color: #222; color:#f33; border: 0; cursor: pointer; } .content UL.thumbnails SPAN.wrap2 { border: 1px solid #aaaaaa; /* thumbnails border color and style */ border-radius: 4px 4px; /* round corners with CSS3 compliant browsers */ } +.tagSelection label { padding-right:12px; } +ul.thumbnails input { border:3px double #f70; color:#222; font-size:10px; margin:0; } +INPUT[type="submit"]:hover , INPUT[type="reset"]:hover { color:#f33; cursor: pointer; } +INPUT.bigbutton:hover { background-color: #222; color:#f33; border: 0; cursor: pointer; } +.throw { font-size: 120%; line-height: 26px; padding-top: 10px; font-weight: bold; } label { cursor:pointer } .virtual_cat { background: #222 !important; } a.Piwigo { @@ -76,7 +82,7 @@ right:0; text-align:right; top:0; width:770px; } .HelpActions a { border:0; margin:4px 14px 0 0; position:absolute; right:0; } .HelpActions li {list-style-image:none; list-style-position:outside; list-style-type:none; text-align:center; text-indent:0pt; } - +#content.content div.comment a.illustration{ margin-right: 30px;} /* tabsheets are often used in admin pages => No specific css files */ .tabsheet { background-color:transparent; border:0; display:table; float:right; @@ -94,7 +100,7 @@ text-align:right; text-decoration:none; margin: 0 4px 0 0; } background:transparent url(images/active_tab2.png) no-repeat scroll right 5px; } .tabsheet a:hover, .tabsheet li.selected_tab a { color: #F36; background:transparent url(images/active_tab.png) no-repeat scroll left 5px; } -.tabsheet a span { background-color: #222; } +.tabsheet a span { background-color: #222; font-size: 10px; } #debug { margin-left:248px; font-size:12px; } /* menubar is on all admin pages => No specific css file */ @@ -108,8 +114,8 @@ padding:0; width:207px; z-index:99; text-align: left; } scrollbar-3dlight-color: #292929; scrollbar-darkshadow-color: #333; scrollbar-track-color: #111; scrollbar-arrow-color: #ff3333; } html>body #menubar {min-height:477px; height:477px;} /* IE 7 and modern browsers */ -#menubar .selected a { color: #f70; border-color: #f36;} -#menubar .selected a:hover { color: #f36; border-bottom: 1px solid #f36;} +#menubar .selected a { color: #f70; } +#menubar .selected a:hover { color: #f36; border-bottom: 1px solid #f33;} #menubar dd { background: transparent url(images/menubar-detail.png) repeat-y top left; margin: 10px 0 0 0; padding: 0; height:232px; } @@ -121,8 +127,8 @@ 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 1px 4px 5px; top:-10px; font-size: 13px; color: #666; } #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 a { text-decoration:none; font-size: 12px; +color: #F70; border-bottom: 1px dotted #F70;} #menubar li { margin: 0 0 0 6px; } #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); } diff --git a/language/fr_FR/admin.lang.php b/language/fr_FR/admin.lang.php index 058efc852..ddcf2b90d 100644 --- a/language/fr_FR/admin.lang.php +++ b/language/fr_FR/admin.lang.php @@ -632,7 +632,7 @@ $lang['nothing'] = 'rien'; /* TODO */ $lang['overrides existing values with empty ones'] = 'overrides existing values with empty ones'; $lang['manage image ranks'] = 'gérer l\'ordre des images'; $lang['Manage image ranks'] = 'Gérer l\'ordre des images'; -$lang['Edit ranks'] = 'Modifier les ordres'; +$lang['Edit ranks'] = 'Modifier l\'ordre'; $lang['No element in this category'] = 'Aucun élément dans cette catégorie'; $lang['Images manual order was saved'] = 'L\'ordre manuel des images a été sauvé'; $lang['ranks'] = 'rangs'; diff --git a/template/yoga/theme/Sylvia/images/cat_top-left.gif b/template/yoga/theme/Sylvia/images/cat_top-left.gif index 06315f398adf17989825cabd169fad5ef332f80e..1ea57346ef1ca52c3ae4540a0e0b734867c22cfd 100644 GIT binary patch delta 875 zcmV-x1C;#s2kr-dM@dFFIbpm4N&uxf03sqHDJ2|0A}2{AC{H3PQX(l-A}U`ZDmOPb zI5;?GA~0zpFl!<&Y$7pnA~J&{H-#iPh$A>WMo>jXMUEplMn*xxyr!Po3S65e~G)h=lSg|!vw=+(- zHBi7dQ^Yh>&NWxgHdovQEW=QCXDGhFF3UG6hp@-tubGhp{KV3DyEkLo11sg6iG%XCOv$VCgx0DAdGB`Id6u7~{!^FjK1|=~zH7^jx z&(P7*(@ha7EGr=j)ZE?P->L!+9U2V-2np%x>yw26A%EzvNPrO-e*8c|k)nx<7&B@# zQL!V6jUYpc#OSf&$de>XenfdvrOTBpIjW3#(Iw5BGE0WENs}l3PLVHX_7ob^=g*cz zH5x^^^kz_%d${rA$dfBy&RlKr=Fp={ zpH98HsNsg*{$a@BhaiTSoQEQoXyS>p zk%;1oEVihbiY~?|=w*vOD(R$;MM~+VmFlm<5N!r z5Fr}~1DvF#rl+W>TmTR!A}S*Xs|Lu;IWW4pw~lL9wF6ix@Lvtnea+ z3l}e7h#V>Mg~^jBQ-<Ql-n6Ct0?HNfV{an=@<1ys6VB{?DF3ead`^Gw8~pMr-0M z8k8wer%81}70S}+RI5voKK;2>YgDCNQ(gs|l_XZLQp0{dX#|A^jd0`2olCc_-Me`6 z>fL|Kx3Ay7fCCF2Ot`S&!-x|rUd$M;5f&aAOP)-*vgON|Gi%<=xwGfbj*FB4p#Ze$ z)2LIcUd_6->(`)-r04*)f3FUv3 zR8}Zul~`tZ;FVf->1BRgektad>xD_?nP`4zW}0la8Qq$0#wllUaL#Gxow(JB=bn73 zre~jk2D+IMCU79=p@`;LM4^c`>gZ~O8v5v@lyVknrI=<)*`=Cx>ZxIzek$sye1%Ht zsi?|jYO1WZdgP*#x+*KGtIld`r?phxsw<_r?&@ozz5XgJpurAn?489PtE`*JF6-=> z%|0uwm(fmZZI#tttF4pSZtHE4-F_>skKvAM?u{1Zo~y2l>8|VUiS52CFNpEZYj1`@ G0028#vZ(<8 diff --git a/template/yoga/theme/Sylvia/theme.css b/template/yoga/theme/Sylvia/theme.css index 890c7ee50..e0c357470 100644 --- a/template/yoga/theme/Sylvia/theme.css +++ b/template/yoga/theme/Sylvia/theme.css @@ -8,7 +8,7 @@ BODY, H1, H3, DT, INPUT.rateButtonSelected { color:#d0d0d0; } -H2, #menubar DT { color: #fff48e; } +H2, #menubar DT { color: #666; } /* backgrounds */ /* H3, */ #imageHeaderBar, #imageToolBar A:hover { background-color: transparent; } @@ -20,7 +20,7 @@ margin:0; min-height: 100%; height: 100%; padding:0; } background:transparent url(images/top-left-bg.jpg) no-repeat scroll left top; left:0; margin:0; padding:0; position:absolute; top:0; z-index:0; width: 100%; min-width: 100%; } - +#mbIdentification p, .totalImages { color: #333; } .header_notes { background-color: #222; border: 1px solid #000; margin:0 7px -12px 290px; padding-top:0;} #menubar DL { background:transparent url(images/menuBox_top.gif) no-repeat scroll left top; margin:0 0 5px 40px; padding:0; width: 231px; min-width: 231px; border: 0; @@ -62,7 +62,7 @@ width:49%; margin: 0; padding:0; } padding: 0; margin:0; } #content .thumbnailCategory div.illustration { background:transparent url(images/cat_top-left.gif) no-repeat scroll left top; padding: 0 0 0 10px; margin: 0; } -.content .thumbnailCategory div.illustration a { display: block; margin: 0; padding:15px 0 0 10px; } +.content .thumbnailCategory div.illustration a { display: block; margin: 0; padding:20px 0 0 8px; } #content .thumbnailCategory div.description { background:transparent url(images/cat_top-right.gif) no-repeat scroll right top; margin:0; padding:15px 0 0 0; } #content .thumbnailCategory div.description p { overvflow: hidden; }