Changeset 2148033
- Timestamp:
- 08/29/2019 08:03:11 PM (7 years ago)
- Location:
- echelon-so
- Files:
-
- 2 deleted
- 61 edited
-
assets/icon-128x128.png (modified) (previous)
-
assets/icon-256x256.png (modified) (previous)
-
trunk/custom-fields/esorgba.class.php (modified) (3 diffs)
-
trunk/echelon-so.php (modified) (9 diffs)
-
trunk/features/animate/animate.php (modified) (1 diff)
-
trunk/features/attribute/attribute.php (modified) (3 diffs)
-
trunk/features/cell-flex/cell-flex.php (modified) (3 diffs)
-
trunk/features/helper-css/helper-css.php (modified) (3 diffs)
-
trunk/inc/customiser.php (modified) (14 diffs)
-
trunk/inc/echelon.css (deleted)
-
trunk/inc/echelon.js (modified) (1 diff)
-
trunk/inc/less/less.php (modified) (3 diffs)
-
trunk/inc/less/uikit-src/components/_import.less (modified) (2 diffs)
-
trunk/inc/less/uikit-src/components/button.less (modified) (31 diffs)
-
trunk/inc/less/uikit-src/components/container.less (modified) (5 diffs)
-
trunk/inc/less/uikit-src/components/dotnav.less (modified) (1 diff)
-
trunk/inc/less/uikit-src/components/flex.less (modified) (4 diffs)
-
trunk/inc/less/uikit-src/components/height.less (modified) (1 diff)
-
trunk/inc/less/uikit-src/components/lightbox.less (modified) (2 diffs)
-
trunk/inc/less/uikit-src/components/overlay.less (modified) (1 diff)
-
trunk/inc/less/uikit-src/components/padding.less (modified) (2 diffs)
-
trunk/inc/less/uikit-src/components/text.less (modified) (3 diffs)
-
trunk/inc/less/uikit-src/components/variables.less (modified) (1 diff)
-
trunk/inc/less/uikit-src/theme/dotnav.less (modified) (4 diffs)
-
trunk/inc/less/uikit-src/theme/lightbox.less (modified) (6 diffs)
-
trunk/inc/modifiers.php (modified) (2 diffs)
-
trunk/inc/widget-icon.png (modified) (previous)
-
trunk/readme.txt (modified) (3 diffs)
-
trunk/widgets/eso-before-after/eso-before-after.php (modified) (1 diff)
-
trunk/widgets/eso-button/eso-button.php (modified) (2 diffs)
-
trunk/widgets/eso-card/eso-card.php (modified) (2 diffs)
-
trunk/widgets/eso-comment/eso-comment.php (modified) (2 diffs)
-
trunk/widgets/eso-count-query-result/eso-count-query-result.php (modified) (1 diff)
-
trunk/widgets/eso-counter/eso-counter.php (modified) (1 diff)
-
trunk/widgets/eso-custom-loop/eso-custom-loop.php (modified) (2 diffs)
-
trunk/widgets/eso-description-list/eso-description-list.php (modified) (2 diffs)
-
trunk/widgets/eso-divider/eso-divider.php (modified) (2 diffs)
-
trunk/widgets/eso-feature/eso-feature.php (modified) (2 diffs)
-
trunk/widgets/eso-filter/eso-filter.php (modified) (2 diffs)
-
trunk/widgets/eso-heading/eso-heading.php (modified) (2 diffs)
-
trunk/widgets/eso-icon-list/eso-icon-list.php (modified) (1 diff)
-
trunk/widgets/eso-icon-list/styles (deleted)
-
trunk/widgets/eso-icon-list/tpl/default.php (modified) (2 diffs)
-
trunk/widgets/eso-lightbox-component-image/eso-lightbox-component-image.php (modified) (3 diffs)
-
trunk/widgets/eso-lightbox-gallery/eso-lightbox-gallery.php (modified) (2 diffs)
-
trunk/widgets/eso-modal/eso-modal.php (modified) (2 diffs)
-
trunk/widgets/eso-nav/eso-nav.php (modified) (1 diff)
-
trunk/widgets/eso-off-canvas/eso-off-canvas.php (modified) (2 diffs)
-
trunk/widgets/eso-overlay/eso-overlay.php (modified) (6 diffs)
-
trunk/widgets/eso-pricing/eso-pricing.php (modified) (2 diffs)
-
trunk/widgets/eso-radial/eso-radial.php (modified) (1 diff)
-
trunk/widgets/eso-reuse-layout/eso-reuse-layout.php (modified) (1 diff)
-
trunk/widgets/eso-slabtext/eso-slabtext.php (modified) (2 diffs)
-
trunk/widgets/eso-slider/eso-slider.php (modified) (3 diffs)
-
trunk/widgets/eso-slider/tpl/default.php (modified) (1 diff)
-
trunk/widgets/eso-smooth-scroll/eso-smooth-scroll.php (modified) (1 diff)
-
trunk/widgets/eso-tabs/eso-tabs.php (modified) (1 diff)
-
trunk/widgets/eso-template-tag/eso-template-tag.php (modified) (1 diff)
-
trunk/widgets/eso-text-rotator/eso-text-rotator.php (modified) (2 diffs)
-
trunk/widgets/eso-text/eso-text.php (modified) (5 diffs)
-
trunk/widgets/eso-text/styles/style.less (modified) (1 diff)
-
trunk/widgets/eso-twitter-feed/eso-twitter-feed.php (modified) (1 diff)
-
trunk/widgets/eso-video/eso-video.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
echelon-so/trunk/custom-fields/esorgba.class.php
r2140165 r2148033 2 2 3 3 class Echelon_Esorgba extends SiteOrigin_Widget_Field_Base { 4 4 5 5 protected function render_field( $value, $instance ) { 6 6 global $echelon_so; … … 8 8 $palette = implode('|', $palette); 9 9 ?> 10 11 <input class="echelonso- spectrum" type="text" id="<?php echo $this->element_id ?>" name="<?php echo $this->element_name ?>" value="<?php echo esc_attr( $value ); ?>" data-palette="<?php echo $palette; ?>" />12 10 11 <input class="echelonso-rgba" type="text" id="<?php echo $this->element_id ?>" name="<?php echo $this->element_name ?>" value="<?php echo esc_attr( $value ); ?>" data-palette="<?php echo $palette; ?>" /> 12 13 13 <script type="text/javascript"> 14 14 (function($) { … … 18 18 })(jQuery) 19 19 </script> 20 20 21 21 <?php 22 22 } 23 23 24 24 protected function sanitize_field_input( $value, $instance ) { 25 25 $sanitized_value = sanitize_text_field( $value ); 26 26 return $sanitized_value; 27 27 } 28 28 29 29 } -
echelon-so/trunk/echelon-so.php
r2140554 r2148033 4 4 Plugin URI: https://echelonso.com 5 5 Description: Echelon widgets and features for SiteOrigin Page Builder. 6 Version: 2.0. 16 Version: 2.0.2 7 7 Author: Echelon 8 8 Author URI: https://echelonso.com … … 11 11 */ 12 12 13 14 13 15 if (!class_exists('EchelonSO')) { 14 16 … … 16 18 17 19 public function __construct() { 20 21 register_activation_hook( __FILE__, array( 'EchelonSO', 'install' ) ); 18 22 19 23 require 'inc/customiser.php'; … … 98 102 add_action( 'admin_notices', array($this, 'admin_notices') ); 99 103 add_action( 'wp_head', array($this, 'wp_head')); 104 105 } 106 107 /* 108 * Activation function 109 */ 110 111 static function install() { 112 // compile the Less on activation 113 require 'inc/less/less.php'; 100 114 } 101 115 … … 105 119 106 120 public function current_version() { 107 return '2.0.1'; 121 return '2.0.2'; 122 } 123 124 /* 125 * Widget Group 126 */ 127 128 function widget_group($tabs) { 129 $tabs[] = array( 130 'title' => __('Echelon Widgets', 'mytheme'), 131 'filter' => array( 132 'groups' => array('echelon') 133 ) 134 ); 135 136 return $tabs; 108 137 } 109 138 … … 131 160 add_filter( 'siteorigin_widgets_field_class_prefixes', array($this, 'widget_fields_class_prefixes') ); 132 161 add_filter( 'siteorigin_widgets_field_class_paths', array($this, 'widget_fields_class_paths') ); 162 add_filter( 'siteorigin_panels_widget_dialog_tabs', array($this, 'widget_group'), 20 ); 133 163 134 164 if (class_exists('ACF')) { … … 281 311 282 312 public function scripts() { 283 wp_enqueue_style( 'echelonso_uikit_compiled', wp_get_upload_dir()['baseurl'] . "/echelon-so/echelon.css", array(), $this->current_version()); 284 wp_enqueue_style( 'echelonso_css', plugin_dir_url(__FILE__) . 'inc/echelon.css', array(), $this->current_version()); 313 wp_enqueue_style( 'echelonso_uikit_compiled', wp_get_upload_dir()['baseurl'] . "/echelon-so/echelon.css", array(), get_option('eso_css_rand')); 285 314 wp_enqueue_script('echelonso_js', plugin_dir_url(__FILE__) . 'inc/echelon.js', array('jquery'), $this->current_version(), true); 286 wp_enqueue_script('echelonso_uikit', 'https://cdnjs.cloudflare.com/ajax/libs/uikit/3.1.6/js/uikit.min.js', array('jquery'), $this->current_version(), true);287 wp_enqueue_script('echelonso_uikit_icons', 'https://cdnjs.cloudflare.com/ajax/libs/uikit/3.1.6/js/uikit-icons.min.js', array('jquery'), $this->current_version(), true);315 wp_enqueue_script('echelonso_uikit', 'https://cdnjs.cloudflare.com/ajax/libs/uikit/3.1.6/js/uikit.min.js', array('jquery'), '3.1.6', true); 316 wp_enqueue_script('echelonso_uikit_icons', 'https://cdnjs.cloudflare.com/ajax/libs/uikit/3.1.6/js/uikit-icons.min.js', array('jquery'), '3.1.6', true); 288 317 } 289 318 … … 422 451 $break_points['mobile'] = $settings['mobile-width']; 423 452 } else { 424 $break_points['tablet'] = $settings['tablet-width']. 'px';425 $break_points['mobile'] = $settings['mobile-width']. 'px';453 $break_points['tablet'] = ($settings['tablet-width'] + 1) . 'px'; 454 $break_points['mobile'] = ($settings['mobile-width'] + 1) . 'px'; 426 455 } 427 456 } else { … … 484 513 ?> 485 514 <style type="text/css"> 515 body { 516 overflow-x: hidden; 517 } 486 518 @media only screen and (max-width: <?php echo $this->get_breakpoints()['mobile']; ?>) { 487 519 .eso-hide-mobile { -
echelon-so/trunk/features/animate/animate.php
r2140165 r2148033 43 43 $fields['echelonso_animate_effect'] = array( 44 44 'name' => __( 'Effect', 'echelon-so' ), 45 'description' => __( apply_filters('eso_animate_description', 'Prime adds 10 additional animations.'), 'echelon-so' ),46 45 'type' => 'select', 47 46 'group' => 'echelonso_animate_group', -
echelon-so/trunk/features/attribute/attribute.php
r2140167 r2148033 16 16 17 17 public function plugins_loaded() { 18 add_filter( 'siteorigin_panels_ widget_style_fields', array($this, 'widget_style_fields') );19 add_filter( 'siteorigin_panels_ widget_style_attributes', array( $this, 'widget_style_attributes' ), 10, 2 );18 add_filter( 'siteorigin_panels_general_style_fields', array($this, 'general_style_fields') ); 19 add_filter( 'siteorigin_panels_general_style_attributes', array( $this, 'general_style_attributes' ), 10, 2 ); 20 20 } 21 21 … … 24 24 */ 25 25 26 public function widget_style_fields($fields) {26 public function general_style_fields($fields) { 27 27 28 28 $fields['echelonso_attribute_key'] = array( … … 52 52 */ 53 53 54 public function widget_style_attributes( $attributes, $style ) {54 public function general_style_attributes( $attributes, $style ) { 55 55 56 56 if ( !empty($style['echelonso_attribute_key']) && !empty($style['echelonso_attribute_value']) ) { 57 57 $attributes[$style['echelonso_attribute_key']] = $style['echelonso_attribute_value']; 58 } 58 } 59 59 60 60 return $attributes; -
echelon-so/trunk/features/cell-flex/cell-flex.php
r2140167 r2148033 26 26 27 27 $fields['echelonso_cell_flex_h'] = array( 28 'name' => __(' E:Flex Horizontal', 'echelon-prime'),28 'name' => __('Flex Horizontal', 'echelon-prime'), 29 29 'type' => 'select', 30 30 'group' => 'layout', … … 34 34 '0' => __('-', 'echelon-so'), 35 35 'uk-flex-left' => __('Left', 'echelon-so'), 36 'uk-flex-left-s' => __('Left Above Small', 'echelon-so'), 37 'uk-flex-left-m' => __('Left Above Medium', 'echelon-so'), 38 'uk-flex-left-l' => __('Left Above Large', 'echelon-so'), 39 'uk-flex-left-xl' => __('Left Above xLarge', 'echelon-so'), 36 40 'uk-flex-center' => __('Center', 'echelon-so'), 41 'uk-flex-center-s' => __('Center Above Small', 'echelon-so'), 42 'uk-flex-center-m' => __('Center Above Medium', 'echelon-so'), 43 'uk-flex-center-l' => __('Center Above Large', 'echelon-so'), 44 'uk-flex-center-xl' => __('Center Above xLarge', 'echelon-so'), 37 45 'uk-flex-right' => __('Right', 'echelon-so'), 46 'uk-flex-right-s' => __('Right Above Small', 'echelon-so'), 47 'uk-flex-right-m' => __('Right Above Medium', 'echelon-so'), 48 'uk-flex-right-l' => __('Right Above Large', 'echelon-so'), 49 'uk-flex-right-xl' => __('Right Above xLarge', 'echelon-so'), 38 50 ) 39 51 ); 40 52 41 53 $fields['echelonso_cell_flex_v'] = array( 42 'name' => __( ' E:Flex Vertical', 'echelon-so' ),54 'name' => __( 'Flex Vertical', 'echelon-so' ), 43 55 'type' => 'select', 44 56 'group' => 'layout', … … 48 60 '0' => __('-', 'echelon-so'), 49 61 'uk-flex-middle' => __('Middle', 'echelon-so'), 62 'uk-flex-top' => __('Top', 'echelon-so'), 63 'uk-flex-bottom' => __('Bottom', 'echelon-so'), 50 64 ) 51 65 ); -
echelon-so/trunk/features/helper-css/helper-css.php
r2140554 r2148033 27 27 $groups['echelonso_helper_css_group'] = array( 28 28 'name' => __( 'Helper CSS', 'echelon-so' ), 29 'priority' => 9040 30 ); 31 32 $groups['echelonso_visibility_group'] = array( 33 'name' => __( 'Visibility', 'echelon-so' ), 29 34 'priority' => 9050 30 35 ); … … 40 45 41 46 global $echelon_so_modifiers; 47 48 // visibility - 000 49 50 $fields['echelonso_helper_css_show_desktop'] = array( 51 'name' => __( 'Desktop Visibility', 'echelon-so' ), 52 'type' => 'select', 53 'group' => 'echelonso_visibility_group', 54 'priority' => 1, 55 'default' => '0', 56 'options' => array( 57 '0' => __('Show', 'echelon-so'), 58 'eso-hide-desktop' => __('Hide', 'echelon-so'), 59 ) 60 ); 61 62 $fields['echelonso_helper_css_show_tablet'] = array( 63 'name' => __( 'Tablet Visibility', 'echelon-so' ), 64 'type' => 'select', 65 'group' => 'echelonso_visibility_group', 66 'priority' => 2, 67 'default' => '0', 68 'options' => array( 69 '0' => __('Show', 'echelon-so'), 70 'eso-hide-tablet' => __('Hide', 'echelon-so'), 71 ) 72 ); 73 74 $fields['echelonso_helper_css_show_mobile'] = array( 75 'name' => __( 'Mobile Visibility', 'echelon-so' ), 76 'type' => 'select', 77 'group' => 'echelonso_visibility_group', 78 'priority' => 3, 79 'default' => '0', 80 'options' => array( 81 '0' => __('Show', 'echelon-so'), 82 'eso-hide-mobile' => __('Hide', 'echelon-so'), 83 ) 84 ); 42 85 43 86 // hidden - 100 … … 59 102 ); 60 103 61 $fields['echelonso_helper_css_show_desktop'] = array( 62 'name' => __( 'Desktop Visibility', 'echelon-so' ), 63 'type' => 'select', 64 'group' => 'echelonso_helper_css_group', 65 'priority' => 101, 66 'default' => '0', 67 'options' => array( 68 '0' => __('Show', 'echelon-so'), 69 'eso-hide-desktop' => __('Hide', 'echelon-so'), 70 ) 71 ); 72 73 $fields['echelonso_helper_css_show_tablet'] = array( 74 'name' => __( 'Tablet Visibility', 'echelon-so' ), 75 'type' => 'select', 76 'group' => 'echelonso_helper_css_group', 77 'priority' => 102, 78 'default' => '0', 79 'options' => array( 80 '0' => __('Show', 'echelon-so'), 81 'eso-hide-tablet' => __('Hide', 'echelon-so'), 82 ) 83 ); 84 85 $fields['echelonso_helper_css_show_mobile'] = array( 86 'name' => __( 'Mobile Visibility', 'echelon-so' ), 87 'type' => 'select', 88 'group' => 'echelonso_helper_css_group', 89 'priority' => 103, 90 'default' => '0', 91 'options' => array( 92 '0' => __('Show', 'echelon-so'), 93 'eso-hide-mobile' => __('Hide', 'echelon-so'), 94 ) 95 ); 104 96 105 97 106 // text align - 110 -
echelon-so/trunk/inc/customiser.php
r2140165 r2148033 1 1 <?php 2 3 /* 4 * Regen the CSS after customizer save 5 */ 6 7 add_action('customize_save_after', 'eso_customize_save_after', 99); 8 9 function eso_customize_save_after() { 10 require 'less/less.php'; 11 } 12 13 14 /* 15 * Regen the CSS after customizer save 16 */ 2 17 3 18 add_action( 'customize_register', 'echelonso_customize_register' ); … … 373 388 'capability' => 'manage_options', 374 389 'default' => '1', 375 'sanitize_callback' => ' absint',390 'sanitize_callback' => 'sanitize_float', 376 391 ) ); 377 392 … … 388 403 'capability' => 'manage_options', 389 404 'default' => '1.5', 390 'sanitize_callback' => ' absint',405 'sanitize_callback' => 'sanitize_float', 391 406 ) ); 392 407 … … 403 418 'capability' => 'manage_options', 404 419 'default' => '0.875', 405 'sanitize_callback' => ' absint',420 'sanitize_callback' => 'sanitize_float', 406 421 ) ); 407 422 … … 418 433 'capability' => 'manage_options', 419 434 'default' => '1.25', 420 'sanitize_callback' => ' absint',435 'sanitize_callback' => 'sanitize_float', 421 436 ) ); 422 437 … … 433 448 'capability' => 'manage_options', 434 449 'default' => '1.5', 435 'sanitize_callback' => ' absint',450 'sanitize_callback' => 'sanitize_float', 436 451 ) ); 437 452 … … 448 463 'capability' => 'manage_options', 449 464 'default' => '2', 450 'sanitize_callback' => ' absint',465 'sanitize_callback' => 'sanitize_float', 451 466 ) ); 452 467 … … 463 478 'capability' => 'manage_options', 464 479 'default' => '2.625', 465 'sanitize_callback' => ' absint',480 'sanitize_callback' => 'sanitize_float', 466 481 ) ); 467 482 … … 832 847 'capability' => 'manage_options', 833 848 'default' => '4', 834 'sanitize_callback' => 'sanitize_ textarea_field',849 'sanitize_callback' => 'sanitize_float', 835 850 ) ); 836 851 … … 847 862 'capability' => 'manage_options', 848 863 'default' => '6', 849 'sanitize_callback' => 'sanitize_ textarea_field',864 'sanitize_callback' => 'sanitize_float', 850 865 ) ); 851 866 … … 862 877 'capability' => 'manage_options', 863 878 'default' => '8', 864 'sanitize_callback' => 'sanitize_ textarea_field',879 'sanitize_callback' => 'sanitize_float', 865 880 ) ); 866 881 … … 877 892 'capability' => 'manage_options', 878 893 'default' => '11', 879 'sanitize_callback' => 'sanitize_ textarea_field',894 'sanitize_callback' => 'sanitize_float', 880 895 ) ); 881 896 … … 931 946 ); 932 947 948 $wp_customize->add_setting( 'echelonso_options[overlay-padding-horizontal]', array( 949 'type' => 'option', 950 'capability' => 'manage_options', 951 'default' => '30', 952 'sanitize_callback' => 'absint', 953 ) ); 954 955 $wp_customize->add_control( 'echelonso_options[overlay-padding-horizontal]', array( 956 'type' => 'text', 957 'priority' => 30, 958 'section' => 'echelonso_section_less_overlay', 959 'label' => __( 'Horizontal Padding (px)' ), 960 'description' => __( 'Default: 30', 'echelon-so' ), 961 ) ); 962 963 $wp_customize->add_setting( 'echelonso_options[overlay-padding-vertical]', array( 964 'type' => 'option', 965 'capability' => 'manage_options', 966 'default' => '30', 967 'sanitize_callback' => 'absint', 968 ) ); 969 970 $wp_customize->add_control( 'echelonso_options[overlay-padding-vertical]', array( 971 'type' => 'text', 972 'priority' => 40, 973 'section' => 'echelonso_section_less_overlay', 974 'label' => __( 'Vertical Padding (px)' ), 975 'description' => __( 'Default: 30', 'echelon-so' ), 976 ) ); 977 978 /* 979 * SECTION: Dotnav 980 */ 981 982 $wp_customize->add_section( 'echelonso_section_less_dotnav', array( 983 'title' => __( 'Dot Nav','echelon-so' ), 984 'description' => __( 'Be advised theme options may interfere with or override global dotnav.', 'echelon-so' ), 985 'panel' => 'echelonso_panel_main', 986 'priority' => 5900, 987 ) ); 988 989 $wp_customize->add_setting( 'echelonso_options[dotnav-item-border]', array( 990 'type' => 'option', 991 'capability' => 'manage_options', 992 'sanitize_callback' => 'sanitize_hex_color', 993 'default' => '#a1a1a1', 994 ) ); 995 996 $wp_customize->add_control( 997 new WP_Customize_Color_Control( $wp_customize, 'echelonso_options[dotnav-item-border]', array( 998 'label' => __( 'Item Border', 'echelon-so' ), 999 'description' => __( 'Default: #a1a1a1', 'echelon-so' ), 1000 'section' => 'echelonso_section_less_dotnav', 1001 'priority' => 10 1002 ) ) 1003 ); 1004 1005 $wp_customize->add_setting( 'echelonso_options[dotnav-item-active-background]', array( 1006 'type' => 'option', 1007 'capability' => 'manage_options', 1008 'sanitize_callback' => 'sanitize_hex_color', 1009 'default' => '#a1a1a1', 1010 ) ); 1011 1012 $wp_customize->add_control( 1013 new WP_Customize_Color_Control( $wp_customize, 'echelonso_options[dotnav-item-active-background]', array( 1014 'label' => __( 'Active Background', 'echelon-so' ), 1015 'description' => __( 'Default: #a1a1a1', 'echelon-so' ), 1016 'section' => 'echelonso_section_less_dotnav', 1017 'priority' => 20 1018 ) ) 1019 ); 1020 1021 $wp_customize->add_setting( 'echelonso_options[dotnav-item-hover-background]', array( 1022 'type' => 'option', 1023 'capability' => 'manage_options', 1024 'sanitize_callback' => 'sanitize_hex_color', 1025 'default' => '#a1a1a1', 1026 ) ); 1027 1028 $wp_customize->add_control( 1029 new WP_Customize_Color_Control( $wp_customize, 'echelonso_options[dotnav-item-hover-background]', array( 1030 'label' => __( 'Hover Background', 'echelon-so' ), 1031 'description' => __( 'Default: #a1a1a1', 'echelon-so' ), 1032 'section' => 'echelonso_section_less_dotnav', 1033 'priority' => 30 1034 ) ) 1035 ); 1036 1037 $wp_customize->add_setting( 'echelonso_options[dotnav-item-background]', array( 1038 'type' => 'option', 1039 'capability' => 'manage_options', 1040 'sanitize_callback' => 'sanitize_hex_color', 1041 'default' => '#e0e0e0', 1042 ) ); 1043 1044 $wp_customize->add_control( 1045 new WP_Customize_Color_Control( $wp_customize, 'echelonso_options[dotnav-item-background]', array( 1046 'label' => __( 'Item Background', 'echelon-so' ), 1047 'description' => __( 'Default: #e0e0e0', 'echelon-so' ), 1048 'section' => 'echelonso_section_less_dotnav', 1049 'priority' => 40 1050 ) ) 1051 ); 1052 1053 $wp_customize->add_setting( 'echelonso_options[dotnav-item-onclick-background]', array( 1054 'type' => 'option', 1055 'capability' => 'manage_options', 1056 'sanitize_callback' => 'sanitize_hex_color', 1057 'default' => '#e0e0e0', 1058 ) ); 1059 1060 $wp_customize->add_control( 1061 new WP_Customize_Color_Control( $wp_customize, 'echelonso_options[dotnav-item-onclick-background]', array( 1062 'label' => __( 'Onclick Background', 'echelon-so' ), 1063 'description' => __( 'Default: #e0e0e0', 'echelon-so' ), 1064 'section' => 'echelonso_section_less_dotnav', 1065 'priority' => 50 1066 ) ) 1067 ); 1068 1069 /* 1070 * SECTION: Container 1071 */ 1072 1073 $wp_customize->add_section( 'echelonso_section_less_container', array( 1074 'title' => __( 'Container','echelon-so' ), 1075 'description' => __( 'Be advised theme options may interfere with or override global container.', 'echelon-so' ), 1076 'panel' => 'echelonso_panel_main', 1077 'priority' => 6000, 1078 ) ); 1079 1080 $wp_customize->add_setting( 'echelonso_options[container-max-width]', array( 1081 'type' => 'option', 1082 'capability' => 'manage_options', 1083 'default' => '1200', 1084 'sanitize_callback' => 'absint', 1085 ) ); 1086 1087 $wp_customize->add_control( 'echelonso_options[container-max-width]', array( 1088 'type' => 'number', 1089 'priority' => 10, 1090 'section' => 'echelonso_section_less_container', 1091 'label' => __( 'Container (px)' ), 1092 'description' => __( 'Default: 1200', 'echelon-so' ), 1093 ) ); 1094 1095 $wp_customize->add_setting( 'echelonso_options[container-large-max-width]', array( 1096 'type' => 'option', 1097 'capability' => 'manage_options', 1098 'default' => '1600', 1099 'sanitize_callback' => 'absint', 1100 ) ); 1101 1102 $wp_customize->add_control( 'echelonso_options[container-large-max-width]', array( 1103 'type' => 'number', 1104 'priority' => 20, 1105 'section' => 'echelonso_section_less_container', 1106 'label' => __( 'Large (px)' ), 1107 'description' => __( 'Default: 1600', 'echelon-so' ), 1108 ) ); 1109 1110 $wp_customize->add_setting( 'echelonso_options[container-small-max-width]', array( 1111 'type' => 'option', 1112 'capability' => 'manage_options', 1113 'default' => '900', 1114 'sanitize_callback' => 'absint', 1115 ) ); 1116 1117 $wp_customize->add_control( 'echelonso_options[container-small-max-width]', array( 1118 'type' => 'number', 1119 'priority' => 30, 1120 'section' => 'echelonso_section_less_container', 1121 'label' => __( 'Small (px)' ), 1122 'description' => __( 'Default: 900', 'echelon-so' ), 1123 ) ); 1124 1125 $wp_customize->add_setting( 'echelonso_options[container-xsmall-max-width]', array( 1126 'type' => 'option', 1127 'capability' => 'manage_options', 1128 'default' => '750', 1129 'sanitize_callback' => 'absint', 1130 ) ); 1131 1132 $wp_customize->add_control( 'echelonso_options[container-xsmall-max-width]', array( 1133 'type' => 'number', 1134 'priority' => 40, 1135 'section' => 'echelonso_section_less_container', 1136 'label' => __( 'xSmall (px)' ), 1137 'description' => __( 'Default: 750', 'echelon-so' ), 1138 ) ); 1139 1140 $wp_customize->add_setting( 'echelonso_options[container-padding-horizontal]', array( 1141 'type' => 'option', 1142 'capability' => 'manage_options', 1143 'default' => '15', 1144 'sanitize_callback' => 'absint', 1145 ) ); 1146 1147 $wp_customize->add_control( 'echelonso_options[container-padding-horizontal]', array( 1148 'type' => 'number', 1149 'priority' => 50, 1150 'section' => 'echelonso_section_less_container', 1151 'label' => __( 'Padding (px)' ), 1152 'description' => __( 'Default: 15', 'echelon-so' ), 1153 ) ); 1154 1155 /* 1156 * SECTION: Margin 1157 */ 1158 1159 $wp_customize->add_section( 'echelonso_section_less_margin', array( 1160 'title' => __( 'Margin','echelon-so' ), 1161 'description' => __( 'Be advised theme options may interfere with or override global margin.', 'echelon-so' ), 1162 'panel' => 'echelonso_panel_main', 1163 'priority' => 6100, 1164 ) ); 1165 1166 $wp_customize->add_setting( 'echelonso_options[global-margin]', array( 1167 'type' => 'option', 1168 'capability' => 'manage_options', 1169 'default' => '30', 1170 'sanitize_callback' => 'absint', 1171 ) ); 1172 1173 $wp_customize->add_control( 'echelonso_options[global-margin]', array( 1174 'type' => 'number', 1175 'priority' => 10, 1176 'section' => 'echelonso_section_less_margin', 1177 'label' => __( 'Margin (px)' ), 1178 'description' => __( 'Default: 30', 'echelon-so' ), 1179 ) ); 1180 1181 $wp_customize->add_setting( 'echelonso_options[global-micro-margin]', array( 1182 'type' => 'option', 1183 'capability' => 'manage_options', 1184 'default' => '5', 1185 'sanitize_callback' => 'absint', 1186 ) ); 1187 1188 $wp_customize->add_control( 'echelonso_options[global-micro-margin]', array( 1189 'type' => 'number', 1190 'priority' => 20, 1191 'section' => 'echelonso_section_less_margin', 1192 'label' => __( 'Micro (px)' ), 1193 'description' => __( 'Default: 5', 'echelon-so' ), 1194 ) ); 1195 1196 $wp_customize->add_setting( 'echelonso_options[global-tiny-margin]', array( 1197 'type' => 'option', 1198 'capability' => 'manage_options', 1199 'default' => '10', 1200 'sanitize_callback' => 'absint', 1201 ) ); 1202 1203 $wp_customize->add_control( 'echelonso_options[global-tiny-margin]', array( 1204 'type' => 'number', 1205 'priority' => 30, 1206 'section' => 'echelonso_section_less_margin', 1207 'label' => __( 'Tiny (px)' ), 1208 'description' => __( 'Default: 10', 'echelon-so' ), 1209 ) ); 1210 1211 $wp_customize->add_setting( 'echelonso_options[global-small-margin]', array( 1212 'type' => 'option', 1213 'capability' => 'manage_options', 1214 'default' => '15', 1215 'sanitize_callback' => 'absint', 1216 ) ); 1217 1218 $wp_customize->add_control( 'echelonso_options[global-small-margin]', array( 1219 'type' => 'number', 1220 'priority' => 40, 1221 'section' => 'echelonso_section_less_margin', 1222 'label' => __( 'Small (px)' ), 1223 'description' => __( 'Default: 15', 'echelon-so' ), 1224 ) ); 1225 1226 $wp_customize->add_setting( 'echelonso_options[global-medium-margin]', array( 1227 'type' => 'option', 1228 'capability' => 'manage_options', 1229 'default' => '30', 1230 'sanitize_callback' => 'absint', 1231 ) ); 1232 1233 $wp_customize->add_control( 'echelonso_options[global-medium-margin]', array( 1234 'type' => 'number', 1235 'priority' => 50, 1236 'section' => 'echelonso_section_less_margin', 1237 'label' => __( 'Medium (px)' ), 1238 'description' => __( 'Default: 30', 'echelon-so' ), 1239 ) ); 1240 1241 $wp_customize->add_setting( 'echelonso_options[global-large-margin]', array( 1242 'type' => 'option', 1243 'capability' => 'manage_options', 1244 'default' => '70', 1245 'sanitize_callback' => 'absint', 1246 ) ); 1247 1248 $wp_customize->add_control( 'echelonso_options[global-large-margin]', array( 1249 'type' => 'number', 1250 'priority' => 60, 1251 'section' => 'echelonso_section_less_margin', 1252 'label' => __( 'Large (px)' ), 1253 'description' => __( 'Default: 70', 'echelon-so' ), 1254 ) ); 1255 1256 $wp_customize->add_setting( 'echelonso_options[global-xlarge-margin]', array( 1257 'type' => 'option', 1258 'capability' => 'manage_options', 1259 'default' => '140', 1260 'sanitize_callback' => 'absint', 1261 ) ); 1262 1263 $wp_customize->add_control( 'echelonso_options[global-xlarge-margin]', array( 1264 'type' => 'number', 1265 'priority' => 70, 1266 'section' => 'echelonso_section_less_margin', 1267 'label' => __( 'xLarge (px)' ), 1268 'description' => __( 'Default: 140', 'echelon-so' ), 1269 ) ); 1270 1271 /* 1272 * SECTION: Gutter 1273 */ 1274 1275 $wp_customize->add_section( 'echelonso_section_less_gutter', array( 1276 'title' => __( 'Gutter & Padding','echelon-so' ), 1277 'description' => __( 'Be advised theme options may interfere with or override global gutter.', 'echelon-so' ), 1278 'panel' => 'echelonso_panel_main', 1279 'priority' => 6200, 1280 ) ); 1281 1282 $wp_customize->add_setting( 'echelonso_options[global-gutter]', array( 1283 'type' => 'option', 1284 'capability' => 'manage_options', 1285 'default' => '30', 1286 'sanitize_callback' => 'absint', 1287 ) ); 1288 1289 $wp_customize->add_control( 'echelonso_options[global-gutter]', array( 1290 'type' => 'number', 1291 'priority' => 10, 1292 'section' => 'echelonso_section_less_gutter', 1293 'label' => __( 'Gutter (px)' ), 1294 'description' => __( 'Default: 30', 'echelon-so' ), 1295 ) ); 1296 1297 $wp_customize->add_setting( 'echelonso_options[global-micro-gutter]', array( 1298 'type' => 'option', 1299 'capability' => 'manage_options', 1300 'default' => '5', 1301 'sanitize_callback' => 'absint', 1302 ) ); 1303 1304 $wp_customize->add_control( 'echelonso_options[global-micro-gutter]', array( 1305 'type' => 'number', 1306 'priority' => 20, 1307 'section' => 'echelonso_section_less_gutter', 1308 'label' => __( 'Micro (px)' ), 1309 'description' => __( 'Default: 5', 'echelon-so' ), 1310 ) ); 1311 1312 $wp_customize->add_setting( 'echelonso_options[global-tiny-gutter]', array( 1313 'type' => 'option', 1314 'capability' => 'manage_options', 1315 'default' => '10', 1316 'sanitize_callback' => 'absint', 1317 ) ); 1318 1319 $wp_customize->add_control( 'echelonso_options[global-tiny-gutter]', array( 1320 'type' => 'number', 1321 'priority' => 30, 1322 'section' => 'echelonso_section_less_gutter', 1323 'label' => __( 'Tiny (px)' ), 1324 'description' => __( 'Default: 10', 'echelon-so' ), 1325 ) ); 1326 1327 $wp_customize->add_setting( 'echelonso_options[global-small-gutter]', array( 1328 'type' => 'option', 1329 'capability' => 'manage_options', 1330 'default' => '15', 1331 'sanitize_callback' => 'absint', 1332 ) ); 1333 1334 $wp_customize->add_control( 'echelonso_options[global-small-gutter]', array( 1335 'type' => 'number', 1336 'priority' => 40, 1337 'section' => 'echelonso_section_less_gutter', 1338 'label' => __( 'Small (px)' ), 1339 'description' => __( 'Default: 15', 'echelon-so' ), 1340 ) ); 1341 1342 $wp_customize->add_setting( 'echelonso_options[global-medium-gutter]', array( 1343 'type' => 'option', 1344 'capability' => 'manage_options', 1345 'default' => '30', 1346 'sanitize_callback' => 'absint', 1347 ) ); 1348 1349 $wp_customize->add_control( 'echelonso_options[global-medium-gutter]', array( 1350 'type' => 'number', 1351 'priority' => 50, 1352 'section' => 'echelonso_section_less_gutter', 1353 'label' => __( 'Medium (px)' ), 1354 'description' => __( 'Default: 30', 'echelon-so' ), 1355 ) ); 1356 1357 $wp_customize->add_setting( 'echelonso_options[global-large-gutter]', array( 1358 'type' => 'option', 1359 'capability' => 'manage_options', 1360 'default' => '70', 1361 'sanitize_callback' => 'absint', 1362 ) ); 1363 1364 $wp_customize->add_control( 'echelonso_options[global-large-gutter]', array( 1365 'type' => 'number', 1366 'priority' => 60, 1367 'section' => 'echelonso_section_less_gutter', 1368 'label' => __( 'Large (px)' ), 1369 'description' => __( 'Default: 70', 'echelon-so' ), 1370 ) ); 1371 1372 $wp_customize->add_setting( 'echelonso_options[global-xlarge-gutter]', array( 1373 'type' => 'option', 1374 'capability' => 'manage_options', 1375 'default' => '140', 1376 'sanitize_callback' => 'absint', 1377 ) ); 1378 1379 $wp_customize->add_control( 'echelonso_options[global-xlarge-gutter]', array( 1380 'type' => 'number', 1381 'priority' => 70, 1382 'section' => 'echelonso_section_less_gutter', 1383 'label' => __( 'xLarge (px)' ), 1384 'description' => __( 'Default: 140', 'echelon-so' ), 1385 ) ); 1386 1387 1388 /* 1389 * SECTION: Height 1390 */ 1391 1392 $wp_customize->add_section( 'echelonso_section_less_height', array( 1393 'title' => __( 'Height','echelon-so' ), 1394 'description' => __( 'Be advised theme options may interfere with or override global height.', 'echelon-so' ), 1395 'panel' => 'echelonso_panel_main', 1396 'priority' => 6300, 1397 ) ); 1398 1399 $wp_customize->add_setting( 'echelonso_options[height-small-height]', array( 1400 'type' => 'option', 1401 'capability' => 'manage_options', 1402 'default' => '150', 1403 'sanitize_callback' => 'absint', 1404 ) ); 1405 1406 $wp_customize->add_control( 'echelonso_options[height-small-height]', array( 1407 'type' => 'number', 1408 'priority' => 10, 1409 'section' => 'echelonso_section_less_height', 1410 'label' => __( 'Small (px)' ), 1411 'description' => __( 'Default: 150', 'echelon-so' ), 1412 ) ); 1413 1414 $wp_customize->add_setting( 'echelonso_options[height-medium-height]', array( 1415 'type' => 'option', 1416 'capability' => 'manage_options', 1417 'default' => '300', 1418 'sanitize_callback' => 'absint', 1419 ) ); 1420 1421 $wp_customize->add_control( 'echelonso_options[height-medium-height]', array( 1422 'type' => 'number', 1423 'priority' => 20, 1424 'section' => 'echelonso_section_less_height', 1425 'label' => __( 'Medium (px)' ), 1426 'description' => __( 'Default: 300', 'echelon-so' ), 1427 ) ); 1428 1429 $wp_customize->add_setting( 'echelonso_options[height-large-height]', array( 1430 'type' => 'option', 1431 'capability' => 'manage_options', 1432 'default' => '450', 1433 'sanitize_callback' => 'absint', 1434 ) ); 1435 1436 $wp_customize->add_control( 'echelonso_options[height-large-height]', array( 1437 'type' => 'number', 1438 'priority' => 20, 1439 'section' => 'echelonso_section_less_height', 1440 'label' => __( 'Large (px)' ), 1441 'description' => __( 'Default: 450', 'echelon-so' ), 1442 ) ); 1443 1444 /* 1445 * SECTION: Lightbox 1446 */ 1447 1448 $wp_customize->add_section( 'echelonso_section_less_lightbox', array( 1449 'title' => __( 'Lightbox','echelon-so' ), 1450 'description' => __( 'Be advised theme options may interfere with or override global lightbox.', 'echelon-so' ), 1451 'panel' => 'echelonso_panel_main', 1452 'priority' => 6400, 1453 ) ); 1454 1455 $wp_customize->add_setting( 'echelonso_options[lightbox-item-max-width]', array( 1456 'type' => 'option', 1457 'capability' => 'manage_options', 1458 'default' => '100', 1459 'sanitize_callback' => 'absint', 1460 ) ); 1461 1462 $wp_customize->add_control( 'echelonso_options[lightbox-item-max-width]', array( 1463 'type' => 'number', 1464 'priority' => 10, 1465 'section' => 'echelonso_section_less_lightbox', 1466 'label' => __( 'Max Width (vw)' ), 1467 'description' => __( 'Default: 100', 'echelon-so' ), 1468 ) ); 1469 1470 $wp_customize->add_setting( 'echelonso_options[lightbox-item-max-height]', array( 1471 'type' => 'option', 1472 'capability' => 'manage_options', 1473 'default' => '100', 1474 'sanitize_callback' => 'absint', 1475 ) ); 1476 1477 $wp_customize->add_control( 'echelonso_options[lightbox-item-max-height]', array( 1478 'type' => 'number', 1479 'min' => 1, 1480 'max' => 100, 1481 'priority' => 20, 1482 'section' => 'echelonso_section_less_lightbox', 1483 'label' => __( 'Max Height (vh)' ), 1484 'description' => __( 'Default: 100', 'echelon-so' ), 1485 ) ); 1486 1487 933 1488 } // end 934 1489 935 // s elect sanitization function1490 // sanitization function 936 1491 function echelonso_sanitize_select( $input, $setting ){ 937 1492 $input = sanitize_key($input); … … 939 1494 return ( array_key_exists( $input, $choices ) ? $input : $setting->default ); 940 1495 } 1496 1497 function sanitize_float( $input ) { 1498 return filter_var($input, FILTER_SANITIZE_NUMBER_FLOAT, FILTER_FLAG_ALLOW_FRACTION); 1499 } -
echelon-so/trunk/inc/echelon.js
r2140165 r2148033 24 24 25 25 })(jQuery) 26 27 28 // // Stretch all the full width rows29 // var esoStretchFullWidthRows = function () {30 // var $panelsRow = jQuery( '.siteorigin-panels-stretch.panel-row-style' );31 // var fullContainer = jQuery( 'body' );32 // $panelsRow.each( function () {33 //34 // var $$ = jQuery( this );35 //36 // var stretchType = $$.data( 'stretch-type' );37 // var defaultSidePadding = stretchType === 'full-stretched-padded' ? '' : 0;38 //39 // // Reset all the styles associated with row stretching40 // $$.css( {41 // 'margin-left': 0,42 // 'margin-right': 0,43 // 'padding-left': defaultSidePadding,44 // 'padding-right': defaultSidePadding45 // } );46 //47 // var leftSpace = $$.offset().left - fullContainer.offset().left,48 // rightSpace = fullContainer.outerWidth() - leftSpace - $$.parent().outerWidth();49 //50 // $$.css( {51 // 'margin-left': - leftSpace,52 // 'margin-right': - rightSpace,53 // 'padding-left': stretchType === 'full' ? leftSpace : defaultSidePadding,54 // 'padding-right': stretchType === 'full' ? rightSpace : defaultSidePadding55 // } );56 //57 // var cells = $$.find( '> .panel-grid-cell' );58 //59 // if ( stretchType === 'full-stretched' && cells.length === 1 ) {60 // cells.css( {61 // 'padding-left': 0,62 // 'padding-right': 063 // } );64 // }65 //66 // $$.css( {67 // 'border-left': defaultSidePadding,68 // 'border-right': defaultSidePadding69 // } );70 //71 // } );72 //73 // } -
echelon-so/trunk/inc/less/less.php
r2140168 r2148033 5 5 $less = new lessc; 6 6 $options = get_option('echelonso_options'); 7 update_option('eso_css_rand', uniqid()); 7 8 8 9 // breakpoints - done … … 11 12 $less_vars['breakpoint-large'] = (isset($options['breakpoint-large']) ? $options['breakpoint-large'] : '1200') . 'px'; 12 13 $less_vars['breakpoint-xlarge'] = (isset($options['breakpoint-xlarge']) ? $options['breakpoint-xlarge'] : '1600') . 'px'; 14 15 // container - done 16 $less_vars['container-max-width'] = (isset($options['container-max-width']) ? $options['container-max-width'] : '1200') . 'px'; 17 $less_vars['container-large-max-width'] = (isset($options['container-large-max-width']) ? $options['container-large-max-width'] : '1600') . 'px'; 18 $less_vars['container-small-max-width'] = (isset($options['container-small-max-width']) ? $options['container-small-max-width'] : '900') . 'px'; 19 $less_vars['container-xsmall-max-width'] = (isset($options['container-xsmall-max-width']) ? $options['container-xsmall-max-width'] : '750') . 'px'; 20 $less_vars['container-padding-horizontal'] = (isset($options['container-padding-horizontal']) ? $options['container-padding-horizontal'] : '15') . 'px'; 21 22 // margin - done 23 $less_vars['global-margin'] = (isset($options['global-margin']) ? $options['global-margin'] : '30') . 'px'; 24 $less_vars['global-micro-margin'] = (isset($options['global-micro-margin']) ? $options['global-micro-margin'] : '5') . 'px'; 25 $less_vars['global-tiny-margin'] = (isset($options['global-tiny-margin']) ? $options['global-tiny-margin'] : '10') . 'px'; 26 $less_vars['global-small-margin'] = (isset($options['global-small-margin']) ? $options['global-small-margin'] : '15') . 'px'; 27 $less_vars['global-medium-margin'] = (isset($options['global-medium-margin']) ? $options['global-medium-margin'] : '30') . 'px'; 28 $less_vars['global-large-margin'] = (isset($options['global-large-margin']) ? $options['global-large-margin'] : '70') . 'px'; 29 $less_vars['global-xlarge-margin'] = (isset($options['global-xlarge-margin']) ? $options['global-xlarge-margin'] : '140') . 'px'; 30 31 // gutter - done 32 $less_vars['global-gutter'] = (isset($options['global-gutter']) ? $options['global-gutter'] : '30') . 'px'; 33 $less_vars['global-micro-gutter'] = (isset($options['global-micro-gutter']) ? $options['global-micro-gutter'] : '5') . 'px'; 34 $less_vars['global-tiny-gutter'] = (isset($options['global-tiny-gutter']) ? $options['global-tiny-gutter'] : '10') . 'px'; 35 $less_vars['global-small-gutter'] = (isset($options['global-small-gutter']) ? $options['global-small-gutter'] : '15') . 'px'; 36 $less_vars['global-medium-gutter'] = (isset($options['global-medium-gutter']) ? $options['global-medium-gutter'] : '30') . 'px'; 37 $less_vars['global-large-gutter'] = (isset($options['global-large-gutter']) ? $options['global-large-gutter'] : '70') . 'px'; 38 $less_vars['global-xlarge-gutter'] = (isset($options['global-xlarge-gutter']) ? $options['global-xlarge-gutter'] : '140') . 'px'; 39 40 // height - done 41 $less_vars['height-small-height'] = (isset($options['height-small-height']) ? $options['height-small-height'] : '150') . 'px'; 42 $less_vars['height-medium-height'] = (isset($options['height-medium-height']) ? $options['height-medium-height'] : '300') . 'px'; 43 $less_vars['height-large-height'] = (isset($options['height-large-height']) ? $options['height-large-height'] : '450') . 'px'; 13 44 14 45 // typography - done … … 57 88 $less_vars['eso-ovr-default'] = (isset($options['eso-ovr-default']) ? $options['eso-ovr-default'] : '#ffffff'); 58 89 $less_vars['eso-ovr-primary'] = (isset($options['eso-ovr-primary']) ? $options['eso-ovr-primary'] : '#222222'); 90 $less_vars['overlay-padding-horizontal'] = (isset($options['overlay-padding-horizontal']) ? $options['overlay-padding-horizontal'] : '30') . 'px'; 91 $less_vars['overlay-padding-vertical'] = (isset($options['overlay-padding-vertical']) ? $options['overlay-padding-vertical'] : '30') . 'px'; 92 93 // dotnav - done 94 $less_vars['dotnav-item-border'] = (isset($options['dotnav-item-border']) ? $options['dotnav-item-border'] : '#a1a1a1'); 95 $less_vars['dotnav-item-active-background'] = (isset($options['dotnav-item-active-background']) ? $options['dotnav-item-active-background'] : '#a1a1a1'); 96 $less_vars['dotnav-item-hover-background'] = (isset($options['dotnav-item-hover-background']) ? $options['dotnav-item-hover-background'] : '#a1a1a1'); 97 $less_vars['dotnav-item-background'] = (isset($options['dotnav-item-background']) ? $options['dotnav-item-background'] : '#e0e0e0'); 98 $less_vars['dotnav-item-onclick-background'] = (isset($options['dotnav-item-onclick-background']) ? $options['dotnav-item-onclick-background'] : '#e0e0e0'); 99 100 // lightbox - done 101 $less_vars['lightbox-item-max-width'] = (isset($options['lightbox-item-max-width']) ? $options['lightbox-item-max-width'] : '100') . 'vw'; 102 $less_vars['lightbox-item-max-height'] = (isset($options['lightbox-item-max-height']) ? $options['lightbox-item-max-height'] : '100') . 'vh'; 103 104 // compile 59 105 60 106 $less->setVariables($less_vars); -
echelon-so/trunk/inc/less/uikit-src/components/_import.less
r2140170 r2148033 5 5 6 6 // Elements 7 //@import "link.less";7 @import "link.less"; 8 8 @import "heading.less"; 9 9 @import "divider.less"; … … 17 17 18 18 // Layout 19 //@import "section.less";20 //@import "container.less";19 @import "section.less"; 20 @import "container.less"; 21 21 @import "grid.less"; 22 22 @import "tile.less"; -
echelon-so/trunk/inc/less/uikit-src/components/button.less
r2140170 r2148033 162 162 .uk-button-default { 163 163 background-color: @button-default-background; 164 color: @button-default-color ;164 color: @button-default-color !important; 165 165 .hook-button-default; 166 166 } … … 170 170 .uk-button-default:focus { 171 171 background-color: @button-default-hover-background; 172 color: @button-default-hover-color ;172 color: @button-default-hover-color !important; 173 173 .hook-button-default-hover; 174 174 } … … 178 178 .uk-button-default.uk-active { 179 179 background-color: @button-default-active-background; 180 color: @button-default-active-color ;180 color: @button-default-active-color !important; 181 181 .hook-button-default-active; 182 182 } … … 188 188 .uk-button-primary { 189 189 background-color: @button-primary-background; 190 color: @button-primary-color ;190 color: @button-primary-color !important; 191 191 .hook-button-primary; 192 192 } … … 196 196 .uk-button-primary:focus { 197 197 background-color: @button-primary-hover-background; 198 color: @button-primary-hover-color ;198 color: @button-primary-hover-color !important; 199 199 .hook-button-primary-hover; 200 200 } … … 204 204 .uk-button-primary.uk-active { 205 205 background-color: @button-primary-active-background; 206 color: @button-primary-active-color ;206 color: @button-primary-active-color !important; 207 207 .hook-button-primary-active; 208 208 } … … 214 214 .uk-button-secondary { 215 215 background-color: @button-secondary-background; 216 color: @button-secondary-color ;216 color: @button-secondary-color !important; 217 217 .hook-button-secondary; 218 218 } … … 222 222 .uk-button-secondary:focus { 223 223 background-color: @button-secondary-hover-background; 224 color: @button-secondary-hover-color ;224 color: @button-secondary-hover-color !important; 225 225 .hook-button-secondary-hover; 226 226 } … … 230 230 .uk-button-secondary.uk-active { 231 231 background-color: @button-secondary-active-background; 232 color: @button-secondary-active-color ;232 color: @button-secondary-active-color !important; 233 233 .hook-button-secondary-active; 234 234 } … … 240 240 .uk-button-danger { 241 241 background-color: @button-danger-background; 242 color: @button-danger-color ;242 color: @button-danger-color !important; 243 243 .hook-button-danger; 244 244 } … … 248 248 .uk-button-danger:focus { 249 249 background-color: @button-danger-hover-background; 250 color: @button-danger-hover-color ;250 color: @button-danger-hover-color !important; 251 251 .hook-button-danger-hover; 252 252 } … … 256 256 .uk-button-danger.uk-active { 257 257 background-color: @button-danger-active-background; 258 color: @button-danger-active-color ;258 color: @button-danger-active-color !important; 259 259 .hook-button-danger-active; 260 260 } … … 270 270 .uk-button-danger:disabled { 271 271 background-color: @button-disabled-background; 272 color: @button-disabled-color ;272 color: @button-disabled-color !important; 273 273 .hook-button-disabled; 274 274 } … … 308 308 background: none; 309 309 /* 2 */ 310 color: @button-text-color ;310 color: @button-text-color !important; 311 311 .hook-button-text; 312 312 } … … 315 315 .uk-button-text:hover, 316 316 .uk-button-text:focus { 317 color: @button-text-hover-color ;317 color: @button-text-hover-color !important; 318 318 .hook-button-text-hover; 319 319 } … … 321 321 /* Disabled */ 322 322 .uk-button-text:disabled { 323 color: @button-text-disabled-color ;323 color: @button-text-disabled-color !important; 324 324 .hook-button-text-disabled; 325 325 } … … 337 337 background: none; 338 338 /* 2 */ 339 color: @button-link-color ;339 color: @button-link-color !important; 340 340 .hook-button-link; 341 341 } … … 344 344 .uk-button-link:hover, 345 345 .uk-button-link:focus { 346 color: @button-link-hover-color ;346 color: @button-link-hover-color !important; 347 347 text-decoration: @button-link-hover-text-decoration; 348 348 } … … 350 350 /* Disabled */ 351 351 .uk-button-link:disabled { 352 color: @button-link-disabled-color ;352 color: @button-link-disabled-color !important; 353 353 text-decoration: none; 354 354 } … … 440 440 .uk-button-default { 441 441 background-color: @inverse-button-default-background; 442 color: @inverse-button-default-color ;442 color: @inverse-button-default-color !important; 443 443 .hook-inverse-button-default; 444 444 } … … 447 447 .uk-button-default:focus { 448 448 background-color: @inverse-button-default-hover-background; 449 color: @inverse-button-default-hover-color ;449 color: @inverse-button-default-hover-color !important; 450 450 .hook-inverse-button-default-hover; 451 451 } … … 454 454 .uk-button-default.uk-active { 455 455 background-color: @inverse-button-default-active-background; 456 color: @inverse-button-default-active-color ;456 color: @inverse-button-default-active-color !important; 457 457 .hook-inverse-button-default-active; 458 458 } … … 464 464 .uk-button-primary { 465 465 background-color: @inverse-button-primary-background; 466 color: @inverse-button-primary-color ;466 color: @inverse-button-primary-color !important; 467 467 .hook-inverse-button-primary; 468 468 } … … 471 471 .uk-button-primary:focus { 472 472 background-color: @inverse-button-primary-hover-background; 473 color: @inverse-button-primary-hover-color ;473 color: @inverse-button-primary-hover-color !important; 474 474 .hook-inverse-button-primary-hover; 475 475 } … … 478 478 .uk-button-primary.uk-active { 479 479 background-color: @inverse-button-primary-active-background; 480 color: @inverse-button-primary-active-color ;480 color: @inverse-button-primary-active-color !important; 481 481 .hook-inverse-button-primary-active; 482 482 } … … 488 488 .uk-button-secondary { 489 489 background-color: @inverse-button-secondary-background; 490 color: @inverse-button-secondary-color ;490 color: @inverse-button-secondary-color !important; 491 491 .hook-inverse-button-secondary; 492 492 } … … 495 495 .uk-button-secondary:focus { 496 496 background-color: @inverse-button-secondary-hover-background; 497 color: @inverse-button-secondary-hover-color ;497 color: @inverse-button-secondary-hover-color !important; 498 498 .hook-inverse-button-secondary-hover; 499 499 } … … 502 502 .uk-button-secondary.uk-active { 503 503 background-color: @inverse-button-secondary-active-background; 504 color: @inverse-button-secondary-active-color ;504 color: @inverse-button-secondary-active-color !important; 505 505 .hook-inverse-button-secondary-active; 506 506 } … … 511 511 512 512 .uk-button-text { 513 color: @inverse-button-text-color ;513 color: @inverse-button-text-color !important; 514 514 .hook-inverse-button-text; 515 515 } … … 517 517 .uk-button-text:hover, 518 518 .uk-button-text:focus { 519 color: @inverse-button-text-hover-color ;519 color: @inverse-button-text-hover-color !important; 520 520 .hook-inverse-button-text-hover; 521 521 } 522 522 523 523 .uk-button-text:disabled { 524 color: @inverse-button-text-disabled-color ;524 color: @inverse-button-text-disabled-color !important; 525 525 .hook-inverse-button-text-disabled; 526 526 } … … 531 531 532 532 .uk-button-link { 533 color: @inverse-button-link-color ;533 color: @inverse-button-link-color !important; 534 534 .hook-inverse-button-link; 535 535 } 536 536 537 537 .uk-button-link:hover, 538 .uk-button-link:focus { color: @inverse-button-link-hover-color ; }538 .uk-button-link:focus { color: @inverse-button-link-hover-color !important; } 539 539 540 540 -
echelon-so/trunk/inc/less/uikit-src/components/container.less
r2140170 r2148033 18 18 // ======================================================================== 19 19 20 @container-max-width: 1200px;21 @container-xsmall-max-width: 750px;22 @container-small-max-width: 900px;23 @container-large-max-width: 1600px;20 // @container-max-width: 1200px; 21 // @container-xsmall-max-width: 750px; 22 // @container-small-max-width: 900px; 23 // @container-large-max-width: 1600px; 24 24 25 @container-padding-horizontal: 15px;25 // @container-padding-horizontal: 15px; 26 26 @container-padding-horizontal-s: @global-gutter; 27 27 @container-padding-horizontal-m: @global-medium-gutter; … … 49 49 /* Phone landscape and bigger */ 50 50 @media (min-width: @breakpoint-small) { 51 51 52 52 .uk-container { 53 53 padding-left: @container-padding-horizontal-s; 54 54 padding-right: @container-padding-horizontal-s; 55 55 } 56 56 57 57 } 58 58 59 59 /* Tablet landscape and bigger */ 60 60 @media (min-width: @breakpoint-medium) { 61 61 62 62 .uk-container { 63 63 padding-left: @container-padding-horizontal-m; 64 64 padding-right: @container-padding-horizontal-m; 65 65 } 66 66 67 67 } 68 68 … … 119 119 /* Phone landscape and bigger */ 120 120 @media (min-width: @breakpoint-small) { 121 121 122 122 .uk-container-expand-left.uk-container-xsmall, 123 123 .uk-container-expand-right.uk-container-xsmall { max-width: ~'calc(50% + (@{container-xsmall-max-width} / 2) - @{container-padding-horizontal-s})'; } 124 124 125 125 .uk-container-expand-left.uk-container-small, 126 126 .uk-container-expand-right.uk-container-small { max-width: ~'calc(50% + (@{container-small-max-width} / 2) - @{container-padding-horizontal-s})'; } 127 127 128 128 } 129 129 130 130 /* Tablet landscape and bigger */ 131 131 @media (min-width: @breakpoint-medium) { 132 132 133 133 .uk-container-expand-left, 134 134 .uk-container-expand-right { max-width: ~'calc(50% + (@{container-max-width} / 2) - @{container-padding-horizontal-m})'; } 135 135 136 136 .uk-container-expand-left.uk-container-xsmall, 137 137 .uk-container-expand-right.uk-container-xsmall { max-width: ~'calc(50% + (@{container-xsmall-max-width} / 2) - @{container-padding-horizontal-m})'; } 138 138 139 139 .uk-container-expand-left.uk-container-small, 140 140 .uk-container-expand-right.uk-container-small { max-width: ~'calc(50% + (@{container-small-max-width} / 2) - @{container-padding-horizontal-m})'; } 141 141 142 142 .uk-container-expand-left.uk-container-large, 143 143 .uk-container-expand-right.uk-container-large { max-width: ~'calc(50% + (@{container-large-max-width} / 2) - @{container-padding-horizontal-m})'; } 144 144 145 145 } 146 146 … … 162 162 /* Phone landscape and bigger */ 163 163 @media (min-width: @breakpoint-small) { 164 164 165 165 .uk-container-item-padding-remove-left, 166 166 .uk-container-item-padding-remove-right { width: ~'calc(100% + @{container-padding-horizontal-s})' } 167 167 168 168 .uk-container-item-padding-remove-left { margin-left: -@container-padding-horizontal-s; } 169 169 .uk-container-item-padding-remove-right { margin-right: -@container-padding-horizontal-s; } 170 170 171 171 } 172 172 173 173 /* Tablet landscape and bigger */ 174 174 @media (min-width: @breakpoint-medium) { 175 175 176 176 .uk-container-item-padding-remove-left, 177 177 .uk-container-item-padding-remove-right { width: ~'calc(100% + @{container-padding-horizontal-m})' } 178 178 179 179 .uk-container-item-padding-remove-left { margin-left: -@container-padding-horizontal-m; } 180 180 .uk-container-item-padding-remove-right { margin-right: -@container-padding-horizontal-m; } 181 181 182 182 } 183 183 … … 189 189 190 190 .hook-container-misc() {} 191 -
echelon-so/trunk/inc/less/uikit-src/components/dotnav.less
r2140170 r2148033 21 21 @dotnav-item-border-radius: 50%; 22 22 23 @dotnav-item-background: fade(@global-color, 20%); 24 @dotnav-item-hover-background: fade(@global-color, 60%); 25 @dotnav-item-onclick-background: fade(@global-color, 20%); 26 @dotnav-item-active-background: fade(@global-color, 60%); 23 // @dotnav-item-background: fade(@global-color, 20%); // #e0e0e0 24 // @dotnav-item-hover-background: fade(@global-color, 60%); // #a2a2a2 25 // @dotnav-item-onclick-background: fade(@global-color, 20%); // #e0e0e0 26 // @dotnav-item-active-background: fade(@global-color, 60%); // #a2a2a2 27 28 // @dotnav-item-background: #e0e0e0; 29 // @dotnav-item-hover-background: #a1a1a1; 30 // @dotnav-item-onclick-background: #e0e0e0; 31 // @dotnav-item-active-background: #a1a1a1; 27 32 28 33 -
echelon-so/trunk/inc/less/uikit-src/components/flex.less
r2140170 r2148033 49 49 .uk-flex-around\@s { justify-content: space-around; } 50 50 51 .uk-flex-left-s { justify-content: flex-start; } 52 .uk-flex-center-s { justify-content: center; } 53 .uk-flex-right-s { justify-content: flex-end; } 54 .uk-flex-between-s { justify-content: space-between; } 55 .uk-flex-around-s { justify-content: space-around; } 56 51 57 } 52 58 … … 60 66 .uk-flex-around\@m { justify-content: space-around; } 61 67 68 .uk-flex-left-m { justify-content: flex-start; } 69 .uk-flex-center-m { justify-content: center; } 70 .uk-flex-right-m { justify-content: flex-end; } 71 .uk-flex-between-m { justify-content: space-between; } 72 .uk-flex-around-m { justify-content: space-around; } 73 62 74 } 63 75 … … 71 83 .uk-flex-around\@l { justify-content: space-around; } 72 84 85 .uk-flex-left-l { justify-content: flex-start; } 86 .uk-flex-center-l { justify-content: center; } 87 .uk-flex-right-l { justify-content: flex-end; } 88 .uk-flex-between-l { justify-content: space-between; } 89 .uk-flex-around-l { justify-content: space-around; } 90 73 91 } 74 92 … … 81 99 .uk-flex-between\@xl { justify-content: space-between; } 82 100 .uk-flex-around\@xl { justify-content: space-around; } 101 102 .uk-flex-left-xl { justify-content: flex-start; } 103 .uk-flex-center-xl { justify-content: center; } 104 .uk-flex-right-xl { justify-content: flex-end; } 105 .uk-flex-between-xl { justify-content: space-between; } 106 .uk-flex-around-xl { justify-content: space-around; } 83 107 84 108 } -
echelon-so/trunk/inc/less/uikit-src/components/height.less
r2140170 r2148033 10 10 // ======================================================================== 11 11 12 @height-small-height: 150px;13 @height-medium-height: 300px;14 @height-large-height: 450px;12 // @height-small-height: 150px; 13 // @height-medium-height: 300px; 14 // @height-large-height: 450px; 15 15 16 16 -
echelon-so/trunk/inc/less/uikit-src/components/lightbox.less
r2140170 r2148033 24 24 25 25 @lightbox-item-color: rgba(255,255,255,0.7); 26 @lightbox-item-max-width: 100vw;27 @lightbox-item-max-height: 100vh;26 // @lightbox-item-max-width: 100vw; 27 // @lightbox-item-max-height: 100vh; 28 28 29 29 @lightbox-toolbar-padding-vertical: 10px; … … 191 191 height: @lightbox-button-size; 192 192 background: @lightbox-button-background; 193 color: @lightbox-button-color ;193 color: @lightbox-button-color !important; 194 194 /* 1 */ 195 195 display: inline-flex; -
echelon-so/trunk/inc/less/uikit-src/components/overlay.less
r2140170 r2148033 18 18 // @eso-ovr-primary: #222222; 19 19 20 @overlay-padding-horizontal: @global-gutter;21 @overlay-padding-vertical: @global-gutter;20 // @overlay-padding-horizontal: @global-gutter; 21 // @overlay-padding-vertical: @global-gutter; 22 22 23 23 @overlay-default-background: fade(@eso-ovr-default, 80%); -
echelon-so/trunk/inc/less/uikit-src/components/padding.less
r2140170 r2148033 17 17 @padding-small-padding: @global-small-gutter; 18 18 @padding-tiny-padding: @global-tiny-gutter; 19 @padding-micro-padding: @global-micro-gutter; 19 20 20 21 @padding-medium-padding: @global-medium-gutter; … … 37 38 } 38 39 40 41 /* Micro 42 ========================================================================== */ 43 44 .uk-padding-micro { padding: @padding-micro-padding; } 45 46 .uk-padding-micro-bottom { padding-bottom: @padding-micro-padding; } 47 .uk-padding-micro-top { padding-top: @padding-micro-padding; } 48 .uk-padding-micro-left { padding-left: @padding-micro-padding; } 49 .uk-padding-micro-right { padding-right: @padding-micro-padding; } 39 50 40 51 /* Tiny -
echelon-so/trunk/inc/less/uikit-src/components/text.less
r2140170 r2148033 126 126 127 127 @supports (-webkit-background-clip: text) { 128 128 129 129 .uk-text-background { 130 130 background-color: @text-background-color; 131 131 .hook-text-background; 132 132 } 133 133 134 134 } 135 135 … … 145 145 /* Phone landscape and bigger */ 146 146 @media (min-width: @breakpoint-small) { 147 147 148 148 .uk-text-left\@s { text-align: left !important; } 149 149 .uk-text-right\@s { text-align: right !important; } 150 150 .uk-text-center\@s { text-align: center !important; } 151 151 152 152 } 153 153 154 154 /* Tablet landscape and bigger */ 155 155 @media (min-width: @breakpoint-medium) { 156 156 157 157 .uk-text-left\@m { text-align: left !important; } 158 158 .uk-text-right\@m { text-align: right !important; } 159 159 .uk-text-center\@m { text-align: center !important; } 160 160 161 161 } 162 162 163 163 /* Desktop and bigger */ 164 164 @media (min-width: @breakpoint-large) { 165 165 166 166 .uk-text-left\@l { text-align: left !important; } 167 167 .uk-text-right\@l { text-align: right !important; } 168 168 .uk-text-center\@l { text-align: center !important; } 169 169 170 170 } 171 171 172 172 /* Large screen and bigger */ 173 173 @media (min-width: @breakpoint-xlarge) { 174 174 175 175 .uk-text-left\@xl { text-align: left !important; } 176 176 .uk-text-right\@xl { text-align: right !important; } 177 177 .uk-text-center\@xl { text-align: center !important; } 178 178 179 179 } 180 180 … … 244 244 .hook-text-misc; 245 245 246 .hook-text-lead() {} 247 .hook-text-meta() {} 248 .hook-text-small() {} 249 .hook-text-large() {} 250 .hook-text-background() {} 251 .hook-text-misc() {} 252 253 254 // Inverse 255 // ======================================================================== 256 257 @inverse-text-lead-color: @inverse-global-color; 258 @inverse-text-meta-color: @inverse-global-muted-color; 259 @inverse-text-muted-color: @inverse-global-muted-color; 260 @inverse-text-emphasis-color: @inverse-global-emphasis-color; 261 @inverse-text-primary-color: @inverse-global-primary-background; 262 @inverse-text-secondary-color: @inverse-global-primary-background; 263 264 .hook-inverse() { 265 266 .uk-text-lead { 267 color: @inverse-text-lead-color; 268 .hook-inverse-text-lead; 269 } 270 271 .uk-text-meta { 272 color: @inverse-text-meta-color; 273 .hook-inverse-text-meta; 274 } 275 276 .uk-text-muted { color: @inverse-text-muted-color !important; } 277 .uk-text-emphasis { color: @inverse-text-emphasis-color !important; } 278 .uk-text-primary { color: @inverse-text-primary-color !important; } 279 .uk-text-secondary { color: @inverse-text-secondary-color !important; } 280 281 } 282 283 .hook-inverse-text-lead() {} 284 .hook-inverse-text-meta() {} 285 246 .hook-text-lead() { 247 248 } 249 .hook-text-meta() { 250 251 } 252 .hook-text-small() { 253 254 } 255 .hook-text-large() { 256 257 } 258 .hook-text-background() { 259 260 } 261 .hook-text-misc() { 262 263 } 264 265 266 // Inverse 267 // ======================================================================== 268 269 @inverse-text-lead-color: @inverse-global-color; 270 @inverse-text-meta-color: @inverse-global-muted-color; 271 @inverse-text-muted-color: @inverse-global-muted-color; 272 @inverse-text-emphasis-color: @inverse-global-emphasis-color; 273 @inverse-text-primary-color: @inverse-global-primary-background; 274 @inverse-text-secondary-color: @inverse-global-primary-background; 275 276 .hook-inverse() { 277 278 .uk-text-lead { 279 color: @inverse-text-lead-color; 280 .hook-inverse-text-lead; 281 } 282 283 .uk-text-meta { 284 color: @inverse-text-meta-color; 285 .hook-inverse-text-meta; 286 } 287 288 .uk-text-muted { color: @inverse-text-muted-color !important; } 289 .uk-text-emphasis { color: @inverse-text-emphasis-color !important; } 290 .uk-text-primary { color: @inverse-text-primary-color !important; } 291 .uk-text-secondary { color: @inverse-text-secondary-color !important; } 292 293 } 294 295 .hook-inverse-text-lead() { 296 297 } 298 .hook-inverse-text-meta() { 299 300 } -
echelon-so/trunk/inc/less/uikit-src/components/variables.less
r2140170 r2148033 97 97 98 98 // Used in margin, section, list 99 @global-margin: 30px;100 @global-small-margin: 15px;101 @global-medium-margin: 30px;102 @global-large-margin: 70px;103 @global-xlarge-margin: 140px;104 @global-tiny-margin: 10px;105 @global-micro-margin: 5px;99 // @global-margin: 30px; 100 // @global-small-margin: 15px; 101 // @global-medium-margin: 30px; 102 // @global-large-margin: 70px; 103 // @global-xlarge-margin: 140px; 104 // @global-tiny-margin: 10px; 105 // @global-micro-margin: 5px; 106 106 107 107 // Used in grid, column, container, align, card, padding 108 @global-gutter: 30px; 109 @global-small-gutter: 15px; 110 @global-medium-gutter: 30px; 111 @global-large-gutter: 70px; 112 @global-tiny-gutter: 10px; 108 // @global-gutter: 30px; 109 // @global-small-gutter: 15px; 110 // @global-medium-gutter: 30px; 111 // @global-large-gutter: 70px; 112 // @global-xlarge-gutter: 140px; 113 // @global-tiny-gutter: 10px; 114 // @global-micro-gutter: 5px; 113 115 114 116 // -
echelon-so/trunk/inc/less/uikit-src/theme/dotnav.less
r2140170 r2148033 16 16 @dotnav-item-border-width: 1px; 17 17 18 @dotnav-item-border: fade(@global-color, 40%); 18 // @dotnav-item-border: fade(@global-color, 40%); 19 // @dotnav-item-border: #a1a1a1; 19 20 @dotnav-item-hover-border: transparent; 20 21 @dotnav-item-onclick-border: transparent; … … 25 26 // ======================================================================== 26 27 27 .hook-dotnav() {} 28 .hook-dotnav() { 29 30 } 28 31 29 32 .hook-dotnav-item() { … … 43 46 // ======================================================================== 44 47 45 .hook-dotnav-misc() {} 48 .hook-dotnav-misc() { 49 50 } 46 51 47 52 … … 51 56 @inverse-dotnav-item-background: transparent; 52 57 53 .hook-inverse-dotnav() {} 58 .hook-inverse-dotnav() { 59 60 } 54 61 .hook-inverse-dotnav-item() { border-color: fade(@inverse-global-color, 90%); } 55 62 .hook-inverse-dotnav-item-hover() { border-color: transparent; } -
echelon-so/trunk/inc/less/uikit-src/theme/lightbox.less
r2140170 r2148033 13 13 14 14 .hook-lightbox() { 15 15 .uk-lightbox-items { 16 padding: 0; 17 margin: 0; 18 } 16 19 } 17 20 … … 21 24 22 25 .hook-lightbox-item() { 23 26 24 27 } 25 28 … … 29 32 30 33 .hook-lightbox-toolbar() { 31 34 32 35 } 33 36 … … 41 44 42 45 .hook-lightbox-toolbar-icon-hover() { 43 46 44 47 } 45 48 … … 49 52 50 53 .hook-lightbox-button() { 51 54 52 55 } 53 56 54 57 .hook-lightbox-button-hover() { 55 58 56 59 } 57 60 … … 61 64 62 65 .hook-lightbox-misc() { 63 66 64 67 } -
echelon-so/trunk/inc/modifiers.php
r2140165 r2148033 252 252 'uk-transition-scale-down' => __('Scale Down', 'echelon-so'), 253 253 'uk-transition-slide-top' => __('Slide Top', 'echelon-so'), 254 'uk-transition-slide-bottom' => __('Slide Bot om', 'echelon-so'),254 'uk-transition-slide-bottom' => __('Slide Bottom', 'echelon-so'), 255 255 'uk-transition-slide-left' => __('Slide Left', 'echelon-so'), 256 256 'uk-transition-slide-right' => __('Slide Right', 'echelon-so'), … … 282 282 283 283 public function animation() { 284 $return =array(284 return array( 285 285 '0' => __('-', 'echelon-so'), 286 286 'uk-animation-fade' => __('Fade', 'echelon-so'), 287 'uk-animation-shake' => __('Shake', 'echelon-so'), 288 'uk-animation-kenburns' => __('Kenburns', 'echelon-so'), 287 289 'uk-animation-scale-up' => __('Scale Up', 'echelon-so'), 288 290 'uk-animation-scale-down' => __('Scale Down', 'echelon-so'), 289 291 'uk-animation-slide-top' => __('Slide Top', 'echelon-so'), 290 'uk-animation-slide-bottom' => __('Slide Bot om', 'echelon-so'),292 'uk-animation-slide-bottom' => __('Slide Bottom', 'echelon-so'), 291 293 'uk-animation-slide-left' => __('Slide Left', 'echelon-so'), 292 294 'uk-animation-slide-right' => __('Slide Right', 'echelon-so'), 293 ); 294 return apply_filters('eso_modifiers_animation', $return); 295 'uk-animation-slide-top-small' => __('Slide Top Small', 'echelon-so'), 296 'uk-animation-slide-bottom-small' => __('Slide Bottom Small', 'echelon-so'), 297 'uk-animation-slide-left-small' => __('Slide Left Small', 'echelon-so'), 298 'uk-animation-slide-right-small' => __('Slide Right Small', 'echelon-so'), 299 'uk-animation-slide-top-medium' => __('Slide Top Medium', 'echelon-so'), 300 'uk-animation-slide-bottom-medium' => __('Slide Bottom Medium', 'echelon-so'), 301 'uk-animation-slide-left-medium' => __('Slide Left Medium', 'echelon-so'), 302 'uk-animation-slide-right-medium' => __('Slide Right Medium', 'echelon-so'), 303 ); 295 304 } 296 305 -
echelon-so/trunk/readme.txt
r2141933 r2148033 1 1 === Echelon SiteOrigin Widgets and Features === 2 2 Contributors: echelonso 3 Requires at least: 5. 13 Requires at least: 5.2 4 4 Tested up to: 5.2 5 5 Requires PHP: 7.0 … … 8 8 License URI: https://www.gnu.org/licenses/gpl-3.0.txt 9 9 10 Widgets, Features, Advanced Custom Fields, Custom Post Types and WooC Ommerce for SiteOrigin Page Builder.10 Widgets, Features, Advanced Custom Fields, Custom Post Types and WooCommerce for SiteOrigin Page Builder. 11 11 12 12 == Description == 13 13 14 IMPORTANT: v2 is a breaking update, please test before upgrading from v1. Plugin styles need to be generated under Tools > Regenerate Echelon Plugin Styles.14 IMPORTANT: v2 is a breaking update, please test before upgrading from v1. If you do update and something important breaks, deactivate Echelon and use the v1 download from the link below. Initially plugin styles need to be generated under Tools > Regenerate Echelon Plugin Styles, regenerating styles is also required when the styles are changed in the customiser. 15 15 16 16 [v1 Download](https://echelonso.com/echelon-so-legacy.zip) 17 17 18 Echelon SiteOrigin Widgets and Features enhance the functionality of the SiteOrigin Page Builder panels and adds a unique set of premium quality widgets. Echelon SiteOrigin widgets are designed in a neutral plain style with st lying available in the customizer. Along with the widgets and features Echelon enables drag and drop for Advanced Custom Fields, Custom Post Types, WooCommerce and Custom Loops.18 Echelon SiteOrigin Widgets and Features enhance the functionality of the SiteOrigin Page Builder panels and adds a unique set of premium quality widgets. Echelon SiteOrigin widgets are designed in a neutral plain style with styling available in the customizer. Along with the widgets and features Echelon enables drag and drop for Advanced Custom Fields, Custom Post Types, WooCommerce and Custom Loops. 19 19 20 20 [Echelon Home](https://echelonso.com) … … 115 115 ### Prime 116 116 Echelon Prime is our paid version and upgrades many of the widgets and features and adds Prime specific functionality. Echelon is an unlimited product so we have two plans available one for single users and one for teams. 117 118 == Changelog == 119 120 = 2.0.2 = 121 * Fixed: Typo in animation modifier names. 122 * Fixed: Typo in plugin long and short descriptions. 123 * Fixed: Typo in Image Component label. 124 * Added: CSS is now automatically generated when the customizer is saved. 125 * Added: CSS is now automatically generated when the plugin is activated. 126 * Fixed: Button color being overriden by themes anchor styling. 127 * Added: Attributes are now also available for rows and cells. 128 * Fixed: Reduced server file requests by 1. 129 * Added: LESS control for Margins. 130 * Added: LESS control for Gutters (padding, grid). 131 * Added: LESS control for Height. 132 * Fixed: LESS Typograhy rounding decimals. 133 * Changed: Visibilty Helper CSS now has own style group (Visibility). 134 * Added: LESS control for max Lightbox width and height. 135 * Fixed: Lightbox nav color being overriden by themes anchor styling. 136 * Fixed: Cached CSS files not being cleared on LESS compile. 137 * Added: Widget group in the Add New Widget modal. 138 * Changed: Widget icon to be more Echelon. 139 * Added: Various widget descriptions. 140 * Added: Responsive options to Cell Flex features (style regen required) 141 * Fixed: Deadspot in tablet visibility. 142 143 = 2.0.1 = 144 * Added: Visibility settings to Helper CSS. -
echelon-so/trunk/widgets/eso-before-after/eso-before-after.php
r2140165 r2148033 16 16 array( 17 17 'description' => __('Compare the visual difference between two images.', 'echelon-so' ), 18 'panels_groups' => array('echelon') 18 19 ), 19 20 array(), -
echelon-so/trunk/widgets/eso-button/eso-button.php
r2140168 r2148033 3 3 /* 4 4 Widget Name: E: Button 5 Description: Description coming soon.5 Description: Globally styled square, round and pill buttons. 6 6 Author: Echelon 7 7 Author URI: https://echelonso.com … … 15 15 __('E: Button', 'echelon-so'), 16 16 array( 17 'description' => __('Description coming soon.', 'echelon-so' ), 17 'description' => __('Globally styled square, round and pill buttons.', 'echelon-so' ), 18 'panels_groups' => array('echelon') 18 19 ), 19 20 array(), -
echelon-so/trunk/widgets/eso-card/eso-card.php
r2140168 r2148033 2 2 /* 3 3 Widget Name: E: Card 4 Description: Description coming soon.4 Description: Text and image based content cards. 5 5 Author: Echelon 6 6 Author URI: https://echelonso.com … … 14 14 __('E: Card', 'echelon-so'), 15 15 array( 16 'description' => __('Description coming soon.', 'echelon-so' ), 16 'description' => __('Text and image based content cards.', 'echelon-so' ), 17 'panels_groups' => array('echelon') 17 18 ), 18 19 array(), -
echelon-so/trunk/widgets/eso-comment/eso-comment.php
r2140168 r2148033 2 2 /* 3 3 Widget Name: E: Comment 4 Description: Description coming soon.4 Description: Comments with images, text and person info. 5 5 Author: Echelon 6 6 Author URI: https://echelonso.com … … 14 14 __('E: Comment', 'echelon-so'), 15 15 array( 16 'description' => __('Description coming soon.', 'echelon-so' ), 16 'description' => __('Comments with images, text and person info.', 'echelon-so' ), 17 'panels_groups' => array('echelon') 17 18 ), 18 19 array(), -
echelon-so/trunk/widgets/eso-count-query-result/eso-count-query-result.php
r2140165 r2148033 16 16 array( 17 17 'description' => __('Display the count from a custom query.', 'echelon-so' ), 18 'panels_groups' => array('echelon') 18 19 ), 19 20 array(), -
echelon-so/trunk/widgets/eso-counter/eso-counter.php
r2140165 r2148033 15 15 array( 16 16 'description' => __('Animate the count between two numbers.', 'echelon-so' ), 17 'panels_groups' => array('echelon') 17 18 ), 18 19 array(), -
echelon-so/trunk/widgets/eso-custom-loop/eso-custom-loop.php
r2140165 r2148033 2 2 /* 3 3 Widget Name: E: Custom Loop 4 Description: Run a custom loop for a Echelon layout based on a posts query.4 Description: Run a custom loop for an Echelon layout based on a posts query. 5 5 Author: Echelon 6 6 Author URI: https://echelonso.com … … 14 14 __('E: Custom Loop', 'echeon-so' ), 15 15 array( 16 'description' => __('Run a loop for a Echelon layout based on a posts query.', 'echeon-so' ), 16 'description' => __('Run a loop for an Echelon layout based on a posts query.', 'echeon-so' ), 17 'panels_groups' => array('echelon') 17 18 ), 18 19 array(), -
echelon-so/trunk/widgets/eso-description-list/eso-description-list.php
r2140168 r2148033 3 3 /* 4 4 Widget Name: E: Description List 5 Description: Description coming soon.5 Description: A simple alternative to item lists. 6 6 Author: Echelon 7 7 Author URI: https://echelonso.com … … 15 15 __('E: Description List', 'echelon-so'), 16 16 array( 17 'description' => __('Description coming soon.', 'echelon-so' ), 17 'description' => __('A simple alternative to item lists.', 'echelon-so' ), 18 'panels_groups' => array('echelon') 18 19 ), 19 20 array(), -
echelon-so/trunk/widgets/eso-divider/eso-divider.php
r2140168 r2148033 3 3 /* 4 4 Widget Name: E: Divider 5 Description: Description coming soon.5 Description: Horizontal and veritcal dividers. 6 6 Author: Echelon 7 7 Author URI: https://echelonso.com … … 16 16 __('E: Divider', 'echelon-so'), 17 17 array( 18 'description' => __('Description coming soon.', 'echelon-so' ), 18 'description' => __('Horizontal and veritcal dividers.', 'echelon-so' ), 19 'panels_groups' => array('echelon') 19 20 ), 20 21 array(), -
echelon-so/trunk/widgets/eso-feature/eso-feature.php
r2140165 r2148033 2 2 /* 3 3 Widget Name: E: Feature 4 Description: Description coming soon.4 Description: Icon based small and large feature boxes. 5 5 Author: Echelon 6 6 Author URI: https://echelonso.com … … 14 14 __('E: Feature', 'echelon-so'), 15 15 array( 16 'description' => __('Description coming soon.', 'echelon-so' ), 16 'description' => __('Icon based small and large feature boxes.', 'echelon-so' ), 17 'panels_groups' => array('echelon') 17 18 ), 18 19 array(), -
echelon-so/trunk/widgets/eso-filter/eso-filter.php
r2140168 r2148033 3 3 /* 4 4 Widget Name: E: Filter 5 Description: Description coming soon.5 Description: Masonry and grid content filters. 6 6 Author: Echelon 7 7 Author URI: https://echelonso.com … … 16 16 __('E: Filter', 'echelon-so'), 17 17 array( 18 'description' => __('Description coming soon.', 'echelon-so' ), 18 'description' => __('Masonry and grid content filters.', 'echelon-so' ), 19 'panels_groups' => array('echelon') 19 20 ), 20 21 array(), -
echelon-so/trunk/widgets/eso-heading/eso-heading.php
r2140165 r2148033 3 3 /* 4 4 Widget Name: E: Heading 5 Description: Description coming soon.5 Description: Various section heading styles. 6 6 Author: Echelon 7 7 Author URI: https://echelonso.com … … 15 15 __('E: Heading', 'echelon-so'), 16 16 array( 17 'description' => __('Description coming soon.', 'echelon-so' ), 17 'description' => __('Various section heading styles.', 'echelon-so' ), 18 'panels_groups' => array('echelon') 18 19 ), 19 20 array(), -
echelon-so/trunk/widgets/eso-icon-list/eso-icon-list.php
r2140165 r2148033 17 17 array( 18 18 'description' => __('Add an icon based text list.', 'echelon-so'), 19 'panels_groups' => array('echelon') 19 20 ), 20 21 array(), -
echelon-so/trunk/widgets/eso-icon-list/tpl/default.php
r2140165 r2148033 6 6 7 7 <div class="uk-flex uk-flex-middle uk-flex-left uk-margin-small-bottom"> 8 9 10 8 11 9 <div class="uk-width-auto uk-margin-small-right uk-text-center"> … … 28 26 </div> 29 27 30 31 32 28 </div> 33 29 -
echelon-so/trunk/widgets/eso-lightbox-component-image/eso-lightbox-component-image.php
r2140168 r2148033 2 2 /* 3 3 Widget Name: E: Lightbox Component - Image 4 Description: Description coming soon.4 Description: Use inside the Lightbox Gallery, Lightbox Filter and Lightbox Slider widgets. 5 5 Author: Echelon 6 6 Author URI: https://echelonso.com … … 14 14 __('E: Lightbox Component - Image', 'echelon-so'), 15 15 array( 16 'description' => __('Description coming soon.', 'echelon-so' ), 16 'description' => __('Use inside the Lightbox Gallery, Lightbox Filter and Lightbox Slider widgets.', 'echelon-so' ), 17 'panels_groups' => array('echelon') 17 18 ), 18 19 array(), … … 126 127 'display_size' => array( 127 128 'type' => 'image-size', 128 'label' => __( ' ThumbSize', 'echelon-so' ),129 'label' => __( 'Display Size', 'echelon-so' ), 129 130 ), 130 131 'title' => array( -
echelon-so/trunk/widgets/eso-lightbox-gallery/eso-lightbox-gallery.php
r2140168 r2148033 3 3 /* 4 4 Widget Name: E: Lightbox Gallery 5 Description: Description coming soon.5 Description: Grid based Lightbox Galleries (uses Image Components). 6 6 Author: Echelon 7 7 Author URI: https://echelonso.com … … 15 15 __('E: Lightbox Gallery', 'echelon-so'), 16 16 array( 17 'description' => __('Description coming soon.', 'echelon-so' ), 17 'description' => __('Grid based Lightbox Galleries (uses Image Components).', 'echelon-so' ), 18 'panels_groups' => array('echelon') 18 19 ), 19 20 array(), -
echelon-so/trunk/widgets/eso-modal/eso-modal.php
r2140165 r2148033 3 3 /* 4 4 Widget Name: E: Modal 5 Description: Description coming soon.5 Description: Overlay content on the page with Modals. 6 6 Author: Echelon 7 7 Author URI: https://echelonso.com … … 16 16 __('E: Modal', 'echelon-so'), 17 17 array( 18 'description' => __('Description coming soon.', 'echelon-so' ), 18 'description' => __('Overlay content on the page with Modals.', 'echelon-so' ), 19 'panels_groups' => array('echelon') 19 20 ), 20 21 array(), -
echelon-so/trunk/widgets/eso-nav/eso-nav.php
r2140168 r2148033 17 17 array( 18 18 'description' => __('A vertical nav for Off Canvas and other uses.', 'echelon-so' ), 19 'panels_groups' => array('echelon') 19 20 ), 20 21 array(), -
echelon-so/trunk/widgets/eso-off-canvas/eso-off-canvas.php
r2140168 r2148033 3 3 /* 4 4 Widget Name: E: Off Canvas 5 Description: Description coming soon.5 Description: Off page sections for menus and content. 6 6 Author: Echelon 7 7 Author URI: https://echelonso.com … … 16 16 __('E: Off Canvas', 'echelon-so'), 17 17 array( 18 'description' => __('Description coming soon.', 'echelon-so' ), 18 'description' => __('Off page sections for menus and content.', 'echelon-so' ), 19 'panels_groups' => array('echelon') 19 20 ), 20 21 array(), -
echelon-so/trunk/widgets/eso-overlay/eso-overlay.php
r2140168 r2148033 2 2 /* 3 3 Widget Name: E: Overlay 4 Description: Description coming soon.4 Description: Overlay two different page builder layouts. 5 5 Author: Echelon 6 6 Author URI: https://echelonso.com … … 15 15 __('E: Overlay', 'echelon-so'), 16 16 array( 17 'description' => __('Description coming soon.', 'echelon-so' ), 17 'description' => __('Overlay two different page builder layouts.', 'echelon-so' ), 18 'panels_groups' => array('echelon') 18 19 ), 19 20 array(), … … 49 50 (empty($instance['modifiers']['overlay_darken'])) ?: $return['overlay_class'][] = $instance['modifiers']['overlay_darken']; 50 51 (empty($instance['modifiers']['inverse'])) ?: $return['overlay_class'][] = $instance['modifiers']['inverse']; 52 (empty($instance['modifiers']['padding'])) ?: $return['overlay_class'][] = $instance['modifiers']['padding']; 51 53 52 54 $return['wrap_class'] = array(); … … 61 63 62 64 // transition 63 (empty($instance['modifiers']['transition'])) ?: $return['overlay_class'][] = $instance['modifiers']['transition']; 64 (empty($instance['modifiers']['transition_toggle'])) ?: $return['wrap_class'][] = $instance['modifiers']['transition_toggle']; 65 $return['content_class'] = array(); 66 (empty($instance['modifiers']['content_transition'])) ?: $return['content_class'][] = $instance['modifiers']['content_transition']; 67 65 if ( $instance['overlay']['template'] == 'transition') { 66 (empty($instance['modifiers']['transition'])) ?: $return['overlay_class'][] = $instance['modifiers']['transition']; 67 (empty($instance['modifiers']['transition_toggle'])) ?: $return['wrap_class'][] = $instance['modifiers']['transition_toggle']; 68 $return['content_class'] = array(); 69 (empty($instance['modifiers']['content_transition'])) ?: $return['content_class'][] = $instance['modifiers']['content_transition']; 70 } 68 71 return $return; 69 72 } … … 133 136 'options' => $echelon_so_modifiers->position_size() 134 137 ), 138 'padding' => array( 139 'type' => 'select', 140 'default' => '0', 141 'label' => __('Padding', 'echelon-so'), 142 'options' => array( 143 '0' => __('-', 'echelon-so'), 144 'uk-padding-remove' => __('Remove', 'echelon-so'), 145 ) 146 ), 135 147 'width' => array( 136 148 'type' => 'select', … … 216 228 return $echelon_so->form_teaser(); 217 229 } 218 230 219 231 } 220 232 -
echelon-so/trunk/widgets/eso-pricing/eso-pricing.php
r2140165 r2148033 3 3 /* 4 4 Widget Name: E: Pricing 5 Description: Variouspricing boxes.5 Description: Simple card like pricing boxes. 6 6 Author: Echelon 7 7 Author URI: https://echelonso.com … … 15 15 __('E: Pricing', 'echelon-so'), 16 16 array( 17 'description' => __('Various pricing boxes.', 'echelon-so' ), 17 'description' => __('Simple card like pricing boxes.', 'echelon-so' ), 18 'panels_groups' => array('echelon') 18 19 ), 19 20 array(), -
echelon-so/trunk/widgets/eso-radial/eso-radial.php
r2140165 r2148033 16 16 array( 17 17 'description' => __('A radial progress bar or odometer.', 'echelon-so' ), 18 'panels_groups' => array('echelon') 18 19 ), 19 20 array(), -
echelon-so/trunk/widgets/eso-reuse-layout/eso-reuse-layout.php
r2140165 r2148033 19 19 array( 20 20 'description' => __('Display the content from a reusable layout.', 'echelon-so' ), 21 'panels_groups' => array('echelon') 21 22 ), 22 23 false, -
echelon-so/trunk/widgets/eso-slabtext/eso-slabtext.php
r2140168 r2148033 2 2 /* 3 3 Widget Name: E: Slabtext 4 Description: Description coming soon.4 Description: Automatically format text into square blocks. 5 5 Author: Echelon 6 6 Author URI: https://echelonso.com … … 14 14 __('E: Slabtext', 'echelon-so'), 15 15 array( 16 'description' => __('Description coming soon.', 'echelon-so' ), 16 'description' => __('Automatically format text into square blocks.', 'echelon-so' ), 17 'panels_groups' => array('echelon') 17 18 ), 18 19 array(), -
echelon-so/trunk/widgets/eso-slider/eso-slider.php
r2140168 r2148033 3 3 /* 4 4 Widget Name: E: Slider 5 Description: Description coming soon.5 Description: Slider framework to load other widgets into. 6 6 Author: Echelon 7 7 Author URI: https://echelonso.com … … 16 16 __('E: Slider', 'echelon-so'), 17 17 array( 18 'description' => __('Description coming soon.', 'echelon-so' ), 18 'description' => __('Slider framework to load other widgets into.', 'echelon-so' ), 19 'panels_groups' => array('echelon') 19 20 ), 20 21 array(), … … 41 42 $return['frames'] = !empty( $instance['frames'] ) ? $instance['frames'] : ''; 42 43 43 // modifiers 44 // modifiers - general 44 45 $return['show_nav'] = $instance['modifiers']['show_nav']; 45 46 $return['show_dot'] = $instance['modifiers']['show_dot']; -
echelon-so/trunk/widgets/eso-slider/tpl/default.php
r2140169 r2148033 23 23 24 24 <?php if ( !empty($show_nav) ) : ?> 25 <div class="<?php echo esc_attr(implode(' ', $nav_class)); ?> ">26 <a class="<?php echo esc_attr(implode(' ', $nav_left_class)); ?> uk- position-small uk-hidden-hover uk-hidden-touch" href="#" uk-slidenav-previous uk-slider-item="previous"></a>27 <a class="<?php echo esc_attr(implode(' ', $nav_right_class)); ?> uk- position-small uk-hidden-hover uk-hidden-touch" href="#" uk-slidenav-next uk-slider-item="next"></a>25 <div class="<?php echo esc_attr(implode(' ', $nav_class)); ?> uk-slidenav-container"> 26 <a class="<?php echo esc_attr(implode(' ', $nav_left_class)); ?> uk-slidenav uk-position-small uk-hidden-hover uk-hidden-touch" href="#" uk-slidenav-previous uk-slider-item="previous"></a> 27 <a class="<?php echo esc_attr(implode(' ', $nav_right_class)); ?> uk-slidenav uk-position-small uk-hidden-hover uk-hidden-touch" href="#" uk-slidenav-next uk-slider-item="next"></a> 28 28 </div> 29 29 <?php endif; ?> -
echelon-so/trunk/widgets/eso-smooth-scroll/eso-smooth-scroll.php
r2140165 r2148033 17 17 array( 18 18 'description' => __('Smooth scroll page links to their targets.', 'echelon-so' ), 19 'panels_groups' => array('echelon') 19 20 ), 20 21 false, -
echelon-so/trunk/widgets/eso-tabs/eso-tabs.php
r2140168 r2148033 17 17 array( 18 18 'description' => __('Animated content switching tabs.', 'echelon-so' ), 19 'panels_groups' => array('echelon') 19 20 ), 20 21 array(), -
echelon-so/trunk/widgets/eso-template-tag/eso-template-tag.php
r2140165 r2148033 16 16 array( 17 17 'description' => __('Use a template tag inside a looped Echelon layout.', 'echelon-so' ), 18 'panels_groups' => array('echelon') 18 19 ), 19 20 array(), -
echelon-so/trunk/widgets/eso-text-rotator/eso-text-rotator.php
r2140168 r2148033 2 2 /* 3 3 Widget Name: E: Text Rotator 4 Description: Description coming soon.4 Description: Automaitcally rotate text with animations. 5 5 Author: Echelon 6 6 Author URI: https://echelonso.com … … 14 14 __('E: Text Rotator', 'echelon-so'), 15 15 array( 16 'description' => __('Description coming soon.', 'echelon-so' ), 16 'description' => __('Automaitcally rotate text with animations.', 'echelon-so' ), 17 'panels_groups' => array('echelon') 17 18 ), 18 19 array(), -
echelon-so/trunk/widgets/eso-text/eso-text.php
r2140168 r2148033 2 2 /* 3 3 Widget Name: E: Text 4 Description: D escription coming soon.4 Description: Display text blocks in various sizes. 5 5 Author: Echelon 6 6 Author URI: https://echelonso.com … … 14 14 __('E: Text', 'echelon-so'), 15 15 array( 16 'description' => __('Description coming soon.', 'echelon-so' ), 16 'description' => __('Display text blocks in various sizes.', 'echelon-so' ), 17 'panels_groups' => array('echelon') 17 18 ), 18 19 array(), … … 27 28 28 29 function get_template_variables( $instance, $args ) { 29 global $echelon_so_modifiers;30 // global $echelon_so_modifiers; 30 31 $return['text'] = !empty($instance['text']['text']) ? $instance['text']['text'] : ''; 31 32 … … 62 63 'default' => 'default', 63 64 'label' => __('Font', 'echelon-so'), 65 ), 66 'span_color' => array( 67 'type' => 'color', 68 'default' => '', 69 'label' => __('Span Color', 'echelon-so'), 64 70 ) 65 71 ) … … 134 140 } 135 141 } 142 $return['span_color'] = !empty($instance['text']['span_color']) ? $instance['text']['span_color'] : false; 136 143 return $return; 137 144 } -
echelon-so/trunk/widgets/eso-text/styles/style.less
r2140169 r2148033 3 3 @font: default; 4 4 @font_weight: normal; 5 @span_color: inherit; 5 6 6 7 .uk-text { 7 8 .font(@font, @font_weight); 9 span { 10 color: @span_color; 11 } 8 12 } -
echelon-so/trunk/widgets/eso-twitter-feed/eso-twitter-feed.php
r2140165 r2148033 15 15 array( 16 16 'description' => __('Display your most recent tweets.', 'echelon-so' ), 17 'panels_groups' => array('echelon') 17 18 ), 18 19 array(), -
echelon-so/trunk/widgets/eso-video/eso-video.php
r2140168 r2148033 17 17 array( 18 18 'description' => __('Description coming soon.', 'echelon-so' ), 19 'panels_groups' => array('echelon') 19 20 ), 20 21 array(),
Note: See TracChangeset
for help on using the changeset viewer.