From 54148c8d6039695456cec9cdf3e912810e8105db Mon Sep 17 00:00:00 2001 From: plegall Date: Mon, 15 Mar 2010 20:50:47 +0000 Subject: feature 1507: better display for available themes (floating boxes) git-svn-id: http://piwigo.org/svn/trunk@5145 68402e56-0260-453c-a942-63ccdbb3a9ee --- admin/themes/clear/theme.css | 4 ++++ admin/themes/default/default-layout.css | 8 +++++++- admin/themes/default/template/themes_new.tpl | 12 +++++++----- admin/themes/roma/theme.css | 5 +++++ 4 files changed, 23 insertions(+), 6 deletions(-) diff --git a/admin/themes/clear/theme.css b/admin/themes/clear/theme.css index 85cfdb515..656f4ed74 100644 --- a/admin/themes/clear/theme.css +++ b/admin/themes/clear/theme.css @@ -194,3 +194,7 @@ html>body #menubar {min-height:477px; height:477px;} /* IE 7 and modern browsers *+html .bigtext { left: 70px; } *+html .bigbutton input, * html .bigbutton input { left:0px; position:relative; top:-40px; } * html .bigtext { margin-right: 300px; } + +.themeBox {background-color:#eee;} +.themeBox IMG {border:1px solid white;} +.themeName {color:black;} diff --git a/admin/themes/default/default-layout.css b/admin/themes/default/default-layout.css index a14f6632b..6b7827fad 100644 --- a/admin/themes/default/default-layout.css +++ b/admin/themes/default/default-layout.css @@ -735,4 +735,10 @@ BODY#thePopuphelpPage { .content UL.thumbnails SPAN.thumbLegend { display: block; /* display: none; if you don't want legend */ height: 4em; /* legend height (don't set auto to be Gecko friendly)*/ -} \ No newline at end of file +} + +.themeBox {float:left; text-align:center; height:170px; background-color:#eee; margin:5px; -moz-border-radius:5px;} +.themeBox IMG {border:1px solid white; margin:0 15px;} +.themeName {font-size:1.1em; margin:5px 0;} +.themeActions {margin:5px 0;} +.themeActions A {display:block;} diff --git a/admin/themes/default/template/themes_new.tpl b/admin/themes/default/template/themes_new.tpl index 7317b7df5..0edcb4130 100644 --- a/admin/themes/default/template/themes_new.tpl +++ b/admin/themes/default/template/themes_new.tpl @@ -3,11 +3,13 @@ {if isset($themes)} - + {/if} \ No newline at end of file diff --git a/admin/themes/roma/theme.css b/admin/themes/roma/theme.css index 81af6c627..f66413ac4 100644 --- a/admin/themes/roma/theme.css +++ b/admin/themes/roma/theme.css @@ -217,3 +217,8 @@ html>body #menubar {min-height:477px; height:477px;} /* IE 7 and modern browsers #adminHome {background-color:#222;} #adminHome:hover {background-color:#333;} + +.themeBox {background-color:#333;} +.themeBox IMG {border:1px solid #666;} +.themeName {color:white;} +.themeActions A {border-bottom:none;} -- cgit v1.2.3