aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvdigital <vdigital@piwigo.org>2008-09-16 16:32:17 +0000
committervdigital <vdigital@piwigo.org>2008-09-16 16:32:17 +0000
commita1c4955e9b17b020b0f39d0a6929ea7b8d247aea (patch)
treee37fedaa9c95b06f2c2f808642ba4320c02919d4
parent6050a6ab1b8270278c09564b95096f2c234ba2ae (diff)
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
Diffstat (limited to '')
-rw-r--r--admin/template/goto/rating.tpl8
-rw-r--r--admin/template/goto/site_manager.tpl2
-rw-r--r--admin/template/goto/theme/roma/theme.css34
-rw-r--r--language/fr_FR/admin.lang.php2
-rw-r--r--template/yoga/theme/Sylvia/images/cat_top-left.gifbin1014 -> 1006 bytes
-rw-r--r--template/yoga/theme/Sylvia/theme.css6
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 @@
<td>{'Rate date'|@translate}</td>
<td></td>
</tr>
-{foreach from=$images item=image}
-<tr valign="bottom">
+{foreach from=$images item=image name=image}
+<tr valign="bottom" class="{if $smarty.foreach.image.index is odd}row1{else}row2{/if}">
<td rowspan="{$image.NB_RATES_TOTAL+1}"><a href="{$image.U_URL}"><img src="{$image.U_THUMB}" alt="{$image.FILE}" title="{$image.FILE}"></a></td>
<td rowspan="{$image.NB_RATES_TOTAL+1}"><strong>{$image.NB_RATES}/{$image.NB_RATES_TOTAL}</strong></td>
<td rowspan="{$image.NB_RATES_TOTAL+1}"><strong>{$image.AVG_RATE}</strong></td>
<td rowspan="{$image.NB_RATES_TOTAL+1}"><strong>{$image.STD_RATE}</strong></td>
<td rowspan="{$image.NB_RATES_TOTAL+1}" style="border-right: 1px solid;" ><strong>{$image.SUM_RATE}</strong></td>
</tr>
-{foreach from=$image.rates item=rate}
-<tr>
+{foreach from=$image.rates item=rate name=rate}
+<tr class="{if ($smarty.foreach.image.index+$smarty.foreach.rate.index) is odd}row1{else}row2{/if}">
<td>{$rate.RATE}</td>
<td><b>{$rate.USER}</b></td>
<td><span class="date">{$rate.DATE}</span></td>
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 @@
<td>{'Actions'|@translate}</td>
</tr>
{foreach from=$sites item=site}
- <tr style="text-align:left"><td>
+ <tr style="text-align:left" class="{if $smarty.foreach.site.index is odd}row1{else}row2{/if}"><td>
<a href="{$site.NAME}">{$site.NAME}</a><br/>({$site.TYPE}, {$site.CATEGORIES} {'Categories'|@translate}, {$pwg->l10n_dec('%d element','%d elements',$site.IMAGES)})
</td><td>
[<a href="{$site.U_SYNCHRONIZE}" title="{'site_synchronize_hint'|@translate}">{'site_synchronize'|@translate}</a>]
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 06315f398..1ea57346e 100644
--- a/template/yoga/theme/Sylvia/images/cat_top-left.gif
+++ b/template/yoga/theme/Sylvia/images/cat_top-left.gif
Binary files differ
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; }