Changeset 1268158
- Timestamp:
- 10/18/2015 12:52:36 PM (10 years ago)
- Location:
- awesome-sticky-header/trunk
- Files:
-
- 3 edited
-
awesomeheader.php (modified) (2 diffs)
-
lib/css-live.php (modified) (3 diffs)
-
lib/main.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
awesome-sticky-header/trunk/awesomeheader.php
r1198802 r1268158 4 4 Contributors: markzero,nikolicdragan 5 5 Description: Awesome Sticky Header is a WordPress plugin that lets you control your sticky header. 6 Version: 1.0. 06 Version: 1.0.1 7 7 Plugin URI: https://awesomeheader.com/ 8 8 Author: DevCanyon … … 39 39 40 40 41 define('ASMH_VERSION', '1.0. 0');41 define('ASMH_VERSION', '1.0.1'); 42 42 define('ASMH_PATH', trailingslashit(dirname(__FILE__))); 43 43 define('ASMH_URL', plugins_url('', __FILE__)); -
awesome-sticky-header/trunk/lib/css-live.php
r1198799 r1268158 291 291 } 292 292 293 <?php if (!empty($s['middle_menu_item_background_active_color'])) { ?> 293 294 .asmh-header .primary > ul > li.active, 294 295 .asmh-header .primary > ul > li.current-menu-item, 295 296 .asmh-header .primary > ul > li.current_page_item 296 297 { 297 <?php if ( $s['middle_transparency_level'] == 100) { ?>298 background-color: #<?php echo $s['middle_menu_item_background_active_color'] ?>;298 <?php if ($s['middle_transparency_level'] == 100) { ?> 299 background-color: #<?php echo $s['middle_menu_item_background_active_color']; ?>; 299 300 <?php } else { ?> 300 301 background-color: rgba(<?php … … 305 306 <?php } ?> 306 307 } 308 <?php } ?> 307 309 308 310 .asmh-header .primary > ul > li:hover … … 763 765 .asmh-header .primary .current-menu-item > a, 764 766 .asmh-header .primary .current-menu-parent > a, 765 .asmh-header .primary .current-menu-ancestor > a 767 .asmh-header .primary .current-menu-ancestor > a, 768 .asmh-header .primary li.active > a 766 769 { 767 770 color: <?php echo $c::to_color($s['middle_active_color']); ?> !important; 771 } 772 <?php } ?> 773 774 <?php if (!empty($s['middle_hover_active_color'])) { ?> 775 .asmh-header .primary .current-menu-item:hover > a, 776 .asmh-header .primary .current-menu-parent:hover > a, 777 .asmh-header .primary .current-menu-ancestor:hover > a, 778 .asmh-header .primary li.active:hover > a 779 { 780 color: <?php echo $c::to_color($s['middle_hover_active_color']); ?> !important; 768 781 } 769 782 <?php } ?> -
awesome-sticky-header/trunk/lib/main.php
r1198799 r1268158 952 952 name="asmh_settings[<?php echo $type; ?>_active_color]" 953 953 value="<?php echo $this->settings[$type . '_active_color']; ?>"> 954 955 <span style="margin-left: 7px;"><?php _e('Hover/Active', ASMH_LANG); ?></span> 956 <input type="text" class="color {adjust:false}" 957 name="asmh_settings[<?php echo $type; ?>_hover_active_color]" 958 value="<?php echo $this->settings[$type . '_hover_active_color']; ?>"> 954 959 <?php 955 960 } … … 1285 1290 'middle_hover_color' => null, 1286 1291 'middle_active_color' => null, 1292 'middle_hover_active_color' => null, 1287 1293 'has_search' => true, 1288 1294 'has_secondary' => false,
Note: See TracChangeset
for help on using the changeset viewer.