Changeset 5145


Ignore:
Timestamp:
03/15/10 21:50:47 (10 years ago)
Author:
plg
Message:

feature 1507: better display for available themes (floating boxes)

Location:
trunk/admin/themes
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/themes/clear/theme.css

    r5141 r5145  
    195195*+html  .bigbutton input, * html  .bigbutton input  { left:0px; position:relative; top:-40px; } 
    196196* html .bigtext { margin-right: 300px; } 
     197 
     198.themeBox {background-color:#eee;} 
     199.themeBox IMG {border:1px solid white;} 
     200.themeName {color:black;} 
  • trunk/admin/themes/default/default-layout.css

    r5123 r5145  
    737737  height: 4em;    /* legend height (don't set auto to be Gecko friendly)*/ 
    738738} 
     739 
     740.themeBox {float:left; text-align:center; height:170px; background-color:#eee; margin:5px; -moz-border-radius:5px;} 
     741.themeBox IMG {border:1px solid white; margin:0 15px;} 
     742.themeName {font-size:1.1em; margin:5px 0;} 
     743.themeActions {margin:5px 0;} 
     744.themeActions A {display:block;} 
  • trunk/admin/themes/default/template/themes_new.tpl

    r5143 r5145  
    44 
    55{if isset($themes)} 
    6 <ul> 
     6<div id="themesBox"> 
    77{foreach from=$new_themes item=theme name=themes_loop} 
    8   <li> 
    9     <img src="{$theme.src}"> {$theme.name} <a href="{$theme.install_url}">Install</a> 
    10   </li> 
     8  <div class="themeBox"> 
     9    <div class="themeName">{$theme.name}</div> 
     10    <div class="themeShot"><img src="{$theme.src}"></div> 
     11    <div class="themeActions"><a href="{$theme.install_url}">Install</a></div> 
     12  </div> 
    1113{/foreach} 
    12 </ul> 
     14</div> <!-- themesBox --> 
    1315{/if} 
  • trunk/admin/themes/roma/theme.css

    r5098 r5145  
    218218#adminHome       {background-color:#222;} 
    219219#adminHome:hover {background-color:#333;} 
     220 
     221.themeBox {background-color:#333;} 
     222.themeBox IMG {border:1px solid #666;} 
     223.themeName {color:white;} 
     224.themeActions A {border-bottom:none;} 
Note: See TracChangeset for help on using the changeset viewer.