Skip to content

Commit

Permalink
feature 1514, feature 1507: improvement, the themeBoxes height adjusts
Browse files Browse the repository at this point in the history
automatically depending on the content.

git-svn-id: http://piwigo.org/svn/trunk@5186 68402e56-0260-453c-a942-63ccdbb3a9ee
  • Loading branch information
plegall committed Mar 19, 2010
1 parent dcba363 commit 872463c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions admin/themes/default/default-layout.css
Expand Up @@ -730,16 +730,16 @@ 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;}
.themeActions A {}

#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; }
Expand Down
2 changes: 1 addition & 1 deletion admin/themes/default/template/themes_new.tpl
Expand Up @@ -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>
Expand Down

0 comments on commit 872463c

Please sign in to comment.