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
This commit is contained in:
parent
dcba3636ba
commit
872463cab1
2 changed files with 4 additions and 4 deletions
|
|
@ -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; }
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue