Changeset 12873
- Timestamp:
- Jan 11, 2012, 6:03:04 AM (13 years ago)
- Location:
- trunk/themes
- Files:
-
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/themes/clear/theme.css
r12797 r12873 15 15 } 16 16 17 #menubar DL, .content, #imageToolBar, #derivativeSwitchLink, #derivativeSwitchBox, .header_notes {17 #menubar DL, .content, #imageToolBar, #derivativeSwitchLink, #derivativeSwitchBox, #sortOrderBox, .header_notes { 18 18 background-color: #eeeeee; 19 19 } 20 20 21 21 /* borders */ 22 #menubar DL, .content, #imageToolBar, #derivativeSwitchLink, #derivativeSwitchBox {22 #menubar DL, .content, #imageToolBar, #derivativeSwitchLink, #derivativeSwitchBox, #sortOrderBox { 23 23 border: 1px solid #d3d3d3; 24 24 } -
trunk/themes/dark/theme.css
r12797 r12873 17 17 } 18 18 19 #menubar DL, .content, #imageToolBar, #imageHeaderBar, #derivativeSwitchLink, #derivativeSwitchBox, .header_notes {19 #menubar DL, .content, #imageToolBar, #imageHeaderBar, #derivativeSwitchLink, #derivativeSwitchBox, #sortOrderBox, .header_notes { 20 20 background-color: #505050; 21 21 } … … 35 35 36 36 /* borders */ 37 #menubar DL, .content, #derivativeSwitchLink, #derivativeSwitchBox {37 #menubar DL, .content, #derivativeSwitchLink, #derivativeSwitchBox, #sortOrderBox{ 38 38 border: 1px solid #000; 39 39 } -
trunk/themes/default/iconset.css
r12671 r12873 37 37 .pwg-icon-close {background-position: 0 -52px} 38 38 .pwg-icon-category-edit {background-position: -26px -52px} 39 .pwg-icon-sort {background-position: -52px -52px} 39 40 .pwg-icon-category-view-normal {background-position: -156px -52px} 40 41 .pwg-icon-category-view-flat {background-position: -182px -52px} -
trunk/themes/default/template/index.tpl
r12764 r12873 5 5 <ul class="categoryActions"> 6 6 {if !empty($image_orders)} 7 <li>{'Sort order'|@translate}: {strip} 8 <select onchange="document.location = this.options[this.selectedIndex].value;"> 9 {foreach from=$image_orders item=image_order} 10 <option value="{$image_order.URL}"{if $image_order.SELECTED} selected="selected"{/if}>{$image_order.DISPLAY}</option> 7 <li>{strip}<a href="javascript:toggleSortOrderBox()" id="sortOrderLink" title="{'Sort order'|@translate}" class="pwg-state-default pwg-button" rel="nofollow"> 8 <span class="pwg-icon pwg-icon-sort"> </span><span class="pwg-button-text">{'Sort order'|@translate}</span> 9 </a> 10 <div id="sortOrderBox" style="display:none; text-align:left" onclick="toggleSortOrderBox()"> 11 {'Sort order'|@translate}: 12 {foreach from=$image_orders item=image_order}<br> 13 {if $image_order.SELECTED} 14 <span>{$image_order.DISPLAY}</span> 15 {else} 16 <a href="{$image_order.URL}" rel="nofollow">{$image_order.DISPLAY}</a> 17 {/if} 11 18 {/foreach} 12 </select> 13 {/strip}</li> 19 </div> 20 {footer_script}{literal} 21 function toggleSortOrderBox() 22 { 23 var elt = document.getElementById("sortOrderBox"), 24 ePos = document.getElementById("sortOrderLink"); 25 if (elt.style.display==="none") 26 { 27 elt.style.position = "absolute"; 28 elt.style.left = (ePos.offsetLeft) + "px"; 29 elt.style.top = (ePos.offsetTop + ePos.offsetHeight) + "px"; 30 elt.style.display=""; 31 } 32 else 33 elt.style.display="none"; 34 } 35 {/literal}{/footer_script} 36 {/strip}</li> 14 37 {/if} 15 38 {if isset($favorite)} -
trunk/themes/default/theme.css
r12797 r12873 346 346 } 347 347 348 #derivativeSwitchBox {349 padding: 0.5em ;348 #derivativeSwitchBox, #sortOrderBox { 349 padding: 0.5em 1em; 350 350 border-radius: 4px; 351 351 z-index: 100;
Note: See TracChangeset
for help on using the changeset viewer.