Ignore:
Timestamp:
Jul 8, 2015, 10:12:12 PM (9 years ago)
Author:
SergeD
Message:

version 1.2.26 - see changelog for details

Location:
extensions/greydragon/admin
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • extensions/greydragon/admin/admin.tpl

    r31175 r31232  
    197197      <li><label><span class="graphicalCheckbox {if $options.p_rootpage_navarr == "on"}icon-check{else}icon-check-empty{/if}">&nbsp;</span><input name="p_rootpage_navarr" id="p_rootpage_navarr" type="checkbox" value="on" {if $options.p_rootpage_navarr == "on"}checked="checked"{/if}>{'Display navigation arrows'|@translate}</label></li>
    198198      <li><label><span class="graphicalCheckbox {if $options.p_rootpage_navctr == "on"}icon-check{else}icon-check-empty{/if}">&nbsp;</span><input name="p_rootpage_navctr" id="p_rootpage_navctr" type="checkbox" value="on" {if $options.p_rootpage_navctr == "on"}checked="checked"{/if}>{'Display navigation controls'|@translate}</label></li>
     199      <li><label><span class="graphicalCheckbox {if $options.p_rootpage_link == "on"}icon-check{else}icon-check-empty{/if}">&nbsp;</span><input name="p_rootpage_link" id="p_rootpage_link" type="checkbox" value="on" {if $options.p_rootpage_link == "on"}checked="checked"{/if}>{'Include "Click to Enter" link'|@translate}</label></li>
    199200    </ul>
    200201  </fieldset>
  • extensions/greydragon/admin/css/styles.css

    r31175 r31232  
    55
    66#menubar dt { padding-top: 0; padding-bottom: 0; padding-left: 12px; background: #222; color: #EEE; line-height: 30px; }
    7 #menubar dt:hover { background: #000; color: #2EA2CC; }
     7#menubar dt:hover, #menubar li:hover { background: #000; color: #2EA2CC; }
    88#menubar dl, #menubar dl.last { border: none; background-color: #222; }
    99#menubar .ui-accordion-content a { color: #EEE; }
     
    1212#menubar .ui-accordion-content-active { background: #333; color: #EEE; }
    1313
    14 /* Piwigo 2.7 support */
    1514#menubar dl.menu-focused dt { background: #000; color: #EEE; }
    1615#menubar dl.menu-focused dt.menu-header-active, #menubar dt.menu-header-active { background: #0074A2; color: #EEE; }
    17 #menubar ul { background: #333; color: #EEE; }
    18 #menubar li a { color: #EEE; }
     16#menubar ul { line-height: 30px; background: #333; color: #EEE; }
     17#menubar li { line-height: 30px; height: 30px; padding-left: 14px; }
     18#menubar li a { color: rgba(240, 245, 250, 0.7); acolor: #EEE; }
     19#menubar li a:hover { color: #00B9EB; }
     20#menubar ul.scroll li a.active-on { font-weight: bold; color: #FFF; }
    1921
    2022#pluginsMenuSeparator { margin: 0; width: auto; border-bottom: none; border-left: none;}
    21 #menubar ul { line-height: 30px; }
    22 #menubar li { line-height: 30px; height: 30px; padding-left: 14px; }
    2323
    2424.content { font-size: 0.9em; }
     
    6060.content select { width: 51.5%; margin-right: 0.4em; padding: 2px 2px 2px 4px; background-color: #FFF; color: #555555; border: 1px solid #ccc; }
    6161
    62 .content input[type='submit'], .content input[type='button'] { display: inline-block; width: 120px; min-width: 100px; margin-bottom: 1em; line-height: 1.8em;
    63     padding: 2px 10px 1px;
    64     cursor: pointer;
    65     color: #555;
    66     border-radius: 3px; -webkit-border-radius: 3px; -moz-border-radius: 3px;
    67     white-space: nowrap;
    68     box-sizing: border-box;
    69     background: none repeat scroll 0% 0% #F7F7F7;
    70     box-shadow: 0px 1px 0px #FFF inset, 0px 1px 0px rgba(0, 0, 0, 0.08);
     62.content input[type='submit'], .content input[type='button'] { font-weight: normal; display: inline-block; width: 120px; min-width: 100px; margin-bottom: 1em; line-height: 1.8em;
     63    padding: 2px 10px 1px; cursor: pointer; color: #555; border-radius: 3px; -webkit-border-radius: 3px; -moz-border-radius: 3px;
     64    white-space: nowrap; box-sizing: border-box; background: none repeat scroll 0% 0% #F7F7F7; box-shadow: 0px 1px 0px #FFF inset, 0px 1px 0px rgba(0, 0, 0, 0.08);
    7165    vertical-align: top;
    7266}
     67
     68.content input[type='submit'] { background-color: #0091CD; color: #FFF; border-color: #0073AA; box-shadow: 0px 1px 0px rgba(120, 200, 230, 0.6) inset; }
    7369
    7470form.properties label.textarea { display: inline-block; width: 89%; margin: 0; line-height: 1em; }
  • extensions/greydragon/admin/js/admin.js

    r30484 r31232  
    88  });
    99  $(".ajax").colorbox({ scrolling: true, maxWidth: '90%', maxHeight: '90%' });
     10
     11  var page = $(location).attr('href');
     12  var pathName = page.substring(page.lastIndexOf('/') + 1, page.length);
     13  if (pathName) {
     14    $('#pwgMain #menubar dl ul.scroll li a').each(function(){
     15      var href = $(this).attr('href');
     16      if (pathName.indexOf(href) == 0) {
     17        $(this).addClass('active-on');
     18      } else {
     19        $(this).removeClass('active-on');
     20      }
     21    });
     22  }
    1023});
Note: See TracChangeset for help on using the changeset viewer.