diff options
author | plegall <plg@piwigo.org> | 2010-03-19 09:52:27 +0000 |
---|---|---|
committer | plegall <plg@piwigo.org> | 2010-03-19 09:52:27 +0000 |
commit | 872463cab18b9c46e64b3ec7e82dacca802f2194 (patch) | |
tree | bc79a3c83be2caa10d400f473862541b021acb67 /admin/themes/default | |
parent | dcba3636ba628d0453c7fa251261b4e9db8a34d7 (diff) |
feature 1514, feature 1507: improvement, the themeBoxes height adjusts
automatically depending on the content.
git-svn-id: http://piwigo.org/svn/trunk@5186 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin/themes/default')
-rw-r--r-- | admin/themes/default/default-layout.css | 6 | ||||
-rw-r--r-- | admin/themes/default/template/themes_new.tpl | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/admin/themes/default/default-layout.css b/admin/themes/default/default-layout.css index 671355703..44a7b228d 100644 --- a/admin/themes/default/default-layout.css +++ b/admin/themes/default/default-layout.css @@ -730,7 +730,8 @@ BODY#thePopuphelpPage { height: 4em; /* legend height (don't set auto to be Gecko friendly)*/ } -.themeBox {float:left; text-align:center; height:180px; background-color:#eee; margin:5px; -moz-border-radius:5px;} +.themeBox {display:inline-block; text-align:center; height:180px; 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; font-size:12px;} @@ -738,8 +739,7 @@ BODY#thePopuphelpPage { #themesContent .themeBox IMG {width:150px; height:120px;} #themesContent H3 {font-size:16px; text-align:left; border-bottom:1px solid #444; letter-spacing:1px; margin:5px;} - -.themeBoxes {min-height:300px;} +.themeBoxes {min-height:0;text-align:left;} h2 { letter-spacing:2px; font-weight:bold;} h2:lang(en) { text-transform:capitalize; } diff --git a/admin/themes/default/template/themes_new.tpl b/admin/themes/default/template/themes_new.tpl index 1eb67b74b..4c58fce9e 100644 --- a/admin/themes/default/template/themes_new.tpl +++ b/admin/themes/default/template/themes_new.tpl @@ -3,7 +3,7 @@ </div> {if isset($themes)} -<div id="themeBoxes"> +<div class="themeBoxes"> {foreach from=$new_themes item=theme name=themes_loop} <div class="themeBox"> <div class="themeName">{$theme.name}</div> |