Plugin Directory

Changeset 2148033


Ignore:
Timestamp:
08/29/2019 08:03:11 PM (7 years ago)
Author:
echelonso
Message:
  • Fixed: Typo in animation modifier names.
  • Fixed: Typo in plugin long and short descriptions.
  • Fixed: Typo in Image Component label.
  • Added: CSS is now automatically generated when the customizer is saved.
  • Added: CSS is now automatically generated when the plugin is activated.
  • Fixed: Button color being overriden by themes anchor styling.
  • Added: Attributes are now also available for rows and cells.
  • Fixed: Reduced server file requests by 1.
  • Added: LESS control for Margins.
  • Added: LESS control for Gutters (padding, grid).
  • Added: LESS control for Height.
  • Fixed: LESS Typograhy rounding decimals.
  • Changed: Visibilty Helper CSS now has own style group (Visibility).
  • Added: LESS control for max Lightbox width and height.
  • Fixed: Lightbox nav color being overriden by themes anchor styling.
  • Fixed: Cached CSS files not being cleared on LESS compile.
  • Added: Widget group in the Add New Widget modal.
  • Changed: Widget icon to be more Echelon.
  • Added: Various widget descriptions.
  • Added: Responsive options to Cell Flex features (style regen required)
  • Fixed: Deadspot in tablet visibility.
Location:
echelon-so
Files:
2 deleted
61 edited

Legend:

Unmodified
Added
Removed
  • echelon-so/trunk/custom-fields/esorgba.class.php

    r2140165 r2148033  
    22
    33class Echelon_Esorgba extends SiteOrigin_Widget_Field_Base {
    4    
     4
    55    protected function render_field( $value, $instance ) {
    66        global $echelon_so;
     
    88        $palette = implode('|', $palette);
    99        ?>
    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
    1313        <script type="text/javascript">
    1414        (function($) {
     
    1818        })(jQuery)
    1919        </script>
    20        
     20
    2121        <?php
    2222    }
    23    
     23
    2424    protected function sanitize_field_input( $value, $instance ) {
    2525        $sanitized_value = sanitize_text_field( $value );
    2626        return $sanitized_value;
    2727    }
    28    
     28
    2929}
  • echelon-so/trunk/echelon-so.php

    r2140554 r2148033  
    44Plugin URI:     https://echelonso.com
    55Description:    Echelon widgets and features for SiteOrigin Page Builder.
    6 Version:        2.0.1
     6Version:        2.0.2
    77Author:         Echelon
    88Author URI:     https://echelonso.com
     
    1111*/
    1212
     13
     14
    1315if (!class_exists('EchelonSO')) {
    1416
     
    1618
    1719        public function __construct() {
     20
     21            register_activation_hook( __FILE__, array( 'EchelonSO', 'install' ) );
    1822
    1923            require 'inc/customiser.php';
     
    98102            add_action( 'admin_notices', array($this, 'admin_notices') );
    99103            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';
    100114        }
    101115
     
    105119
    106120        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;
    108137        }
    109138
     
    131160            add_filter( 'siteorigin_widgets_field_class_prefixes', array($this, 'widget_fields_class_prefixes') );
    132161            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 );
    133163
    134164            if (class_exists('ACF')) {
     
    281311
    282312        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'));
    285314            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);
    288317        }
    289318
     
    422451                    $break_points['mobile'] = $settings['mobile-width'];
    423452                } 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';
    426455                }
    427456            } else {
     
    484513            ?>
    485514            <style type="text/css">
     515            body {
     516                overflow-x: hidden;
     517            }
    486518            @media only screen and (max-width: <?php echo $this->get_breakpoints()['mobile']; ?>) {
    487519                .eso-hide-mobile {
  • echelon-so/trunk/features/animate/animate.php

    r2140165 r2148033  
    4343            $fields['echelonso_animate_effect'] = array(
    4444                'name'        => __( 'Effect', 'echelon-so' ),
    45                 'description' => __( apply_filters('eso_animate_description', 'Prime adds 10 additional animations.'), 'echelon-so' ),
    4645                'type'        => 'select',
    4746                'group'       => 'echelonso_animate_group',
  • echelon-so/trunk/features/attribute/attribute.php

    r2140167 r2148033  
    1616
    1717        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 );
    2020        }
    2121
     
    2424        */
    2525
    26         public function widget_style_fields($fields) {
     26        public function general_style_fields($fields) {
    2727
    2828            $fields['echelonso_attribute_key'] = array(
     
    5252        */
    5353
    54         public function widget_style_attributes( $attributes, $style ) {
     54        public function general_style_attributes( $attributes, $style ) {
    5555
    5656            if ( !empty($style['echelonso_attribute_key']) && !empty($style['echelonso_attribute_value']) ) {
    5757                $attributes[$style['echelonso_attribute_key']] = $style['echelonso_attribute_value'];
    58             } 
     58            }
    5959
    6060            return $attributes;
  • echelon-so/trunk/features/cell-flex/cell-flex.php

    r2140167 r2148033  
    2626
    2727            $fields['echelonso_cell_flex_h'] = array(
    28                 'name'        => __('E: Flex Horizontal', 'echelon-prime'),
     28                'name'        => __('Flex Horizontal', 'echelon-prime'),
    2929                'type'        => 'select',
    3030                'group'       => 'layout',
     
    3434                    '0' => __('-', 'echelon-so'),
    3535                    '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'),
    3640                    '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'),
    3745                    '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'),
    3850                )
    3951            );
    4052
    4153            $fields['echelonso_cell_flex_v'] = array(
    42                 'name'        => __( 'E: Flex Vertical', 'echelon-so' ),
     54                'name'        => __( 'Flex Vertical', 'echelon-so' ),
    4355                'type'        => 'select',
    4456                'group'       => 'layout',
     
    4860                    '0' => __('-', 'echelon-so'),
    4961                    'uk-flex-middle' => __('Middle', 'echelon-so'),
     62                    'uk-flex-top' => __('Top', 'echelon-so'),
     63                    'uk-flex-bottom' => __('Bottom', 'echelon-so'),
    5064                )
    5165            );
  • echelon-so/trunk/features/helper-css/helper-css.php

    r2140554 r2148033  
    2727            $groups['echelonso_helper_css_group'] = array(
    2828                'name'     => __( 'Helper CSS', 'echelon-so' ),
     29                'priority' => 9040
     30            );
     31
     32            $groups['echelonso_visibility_group'] = array(
     33                'name'     => __( 'Visibility', 'echelon-so' ),
    2934                'priority' => 9050
    3035            );
     
    4045
    4146            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            );
    4285
    4386            // hidden - 100
     
    59102            );
    60103
    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
    96105
    97106            // text align - 110
  • echelon-so/trunk/inc/customiser.php

    r2140165 r2148033  
    11<?php
     2
     3/*
     4* Regen the CSS after customizer save
     5*/
     6
     7add_action('customize_save_after', 'eso_customize_save_after', 99);
     8
     9function eso_customize_save_after() {
     10    require 'less/less.php';
     11}
     12
     13
     14/*
     15* Regen the CSS after customizer save
     16*/
    217
    318add_action( 'customize_register', 'echelonso_customize_register' );
     
    373388        'capability' => 'manage_options',
    374389        'default' => '1',
    375         'sanitize_callback' => 'absint',
     390        'sanitize_callback' => 'sanitize_float',
    376391    ) );
    377392
     
    388403        'capability' => 'manage_options',
    389404        'default' => '1.5',
    390         'sanitize_callback' => 'absint',
     405        'sanitize_callback' => 'sanitize_float',
    391406    ) );
    392407
     
    403418        'capability' => 'manage_options',
    404419        'default' => '0.875',
    405         'sanitize_callback' => 'absint',
     420        'sanitize_callback' => 'sanitize_float',
    406421    ) );
    407422
     
    418433        'capability' => 'manage_options',
    419434        'default' => '1.25',
    420         'sanitize_callback' => 'absint',
     435        'sanitize_callback' => 'sanitize_float',
    421436    ) );
    422437
     
    433448        'capability' => 'manage_options',
    434449        'default' => '1.5',
    435         'sanitize_callback' => 'absint',
     450        'sanitize_callback' => 'sanitize_float',
    436451    ) );
    437452
     
    448463        'capability' => 'manage_options',
    449464        'default' => '2',
    450         'sanitize_callback' => 'absint',
     465        'sanitize_callback' => 'sanitize_float',
    451466    ) );
    452467
     
    463478        'capability' => 'manage_options',
    464479        'default' => '2.625',
    465         'sanitize_callback' => 'absint',
     480        'sanitize_callback' => 'sanitize_float',
    466481    ) );
    467482
     
    832847        'capability' => 'manage_options',
    833848        'default' => '4',
    834         'sanitize_callback' => 'sanitize_textarea_field',
     849        'sanitize_callback' => 'sanitize_float',
    835850    ) );
    836851
     
    847862        'capability' => 'manage_options',
    848863        'default' => '6',
    849         'sanitize_callback' => 'sanitize_textarea_field',
     864        'sanitize_callback' => 'sanitize_float',
    850865    ) );
    851866
     
    862877        'capability' => 'manage_options',
    863878        'default' => '8',
    864         'sanitize_callback' => 'sanitize_textarea_field',
     879        'sanitize_callback' => 'sanitize_float',
    865880    ) );
    866881
     
    877892        'capability' => 'manage_options',
    878893        'default' => '11',
    879         'sanitize_callback' => 'sanitize_textarea_field',
     894        'sanitize_callback' => 'sanitize_float',
    880895    ) );
    881896
     
    931946    );
    932947
     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
    9331488} // end
    9341489
    935 // select sanitization function
     1490// sanitization function
    9361491function echelonso_sanitize_select( $input, $setting ){
    9371492    $input = sanitize_key($input);
     
    9391494    return ( array_key_exists( $input, $choices ) ? $input : $setting->default );
    9401495}
     1496
     1497function 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  
    2424
    2525})(jQuery)
    26 
    27 
    28 // // Stretch all the full width rows
    29 // 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 stretching
    40 //         $$.css( {
    41 //             'margin-left': 0,
    42 //             'margin-right': 0,
    43 //             'padding-left': defaultSidePadding,
    44 //             'padding-right': defaultSidePadding
    45 //         } );
    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 : defaultSidePadding
    55 //         } );
    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': 0
    63 //             } );
    64 //         }
    65 //
    66 //         $$.css( {
    67 //             'border-left': defaultSidePadding,
    68 //             'border-right': defaultSidePadding
    69 //         } );
    70 //
    71 //     } );
    72 //
    73 // }
  • echelon-so/trunk/inc/less/less.php

    r2140168 r2148033  
    55$less = new lessc;
    66$options = get_option('echelonso_options');
     7update_option('eso_css_rand', uniqid());
    78
    89// breakpoints - done
     
    1112$less_vars['breakpoint-large'] = (isset($options['breakpoint-large']) ? $options['breakpoint-large'] : '1200') . 'px';
    1213$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';
    1344
    1445// typography - done
     
    5788$less_vars['eso-ovr-default'] = (isset($options['eso-ovr-default']) ? $options['eso-ovr-default'] : '#ffffff');
    5889$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
    59105
    60106$less->setVariables($less_vars);
  • echelon-so/trunk/inc/less/uikit-src/components/_import.less

    r2140170 r2148033  
    55
    66// Elements
    7 // @import "link.less";
     7@import "link.less";
    88@import "heading.less";
    99@import "divider.less";
     
    1717
    1818// Layout
    19 // @import "section.less";
    20 // @import "container.less";
     19@import "section.less";
     20@import "container.less";
    2121@import "grid.less";
    2222@import "tile.less";
  • echelon-so/trunk/inc/less/uikit-src/components/button.less

    r2140170 r2148033  
    162162.uk-button-default {
    163163    background-color: @button-default-background;
    164     color: @button-default-color;
     164    color: @button-default-color !important;
    165165    .hook-button-default;
    166166}
     
    170170.uk-button-default:focus {
    171171    background-color: @button-default-hover-background;
    172     color: @button-default-hover-color;
     172    color: @button-default-hover-color !important;
    173173    .hook-button-default-hover;
    174174}
     
    178178.uk-button-default.uk-active {
    179179    background-color: @button-default-active-background;
    180     color: @button-default-active-color;
     180    color: @button-default-active-color !important;
    181181    .hook-button-default-active;
    182182}
     
    188188.uk-button-primary {
    189189    background-color: @button-primary-background;
    190     color: @button-primary-color;
     190    color: @button-primary-color !important;
    191191    .hook-button-primary;
    192192}
     
    196196.uk-button-primary:focus {
    197197    background-color: @button-primary-hover-background;
    198     color: @button-primary-hover-color;
     198    color: @button-primary-hover-color !important;
    199199    .hook-button-primary-hover;
    200200}
     
    204204.uk-button-primary.uk-active {
    205205    background-color: @button-primary-active-background;
    206     color: @button-primary-active-color;
     206    color: @button-primary-active-color !important;
    207207    .hook-button-primary-active;
    208208}
     
    214214.uk-button-secondary {
    215215    background-color: @button-secondary-background;
    216     color: @button-secondary-color;
     216    color: @button-secondary-color !important;
    217217    .hook-button-secondary;
    218218}
     
    222222.uk-button-secondary:focus {
    223223    background-color: @button-secondary-hover-background;
    224     color: @button-secondary-hover-color;
     224    color: @button-secondary-hover-color !important;
    225225    .hook-button-secondary-hover;
    226226}
     
    230230.uk-button-secondary.uk-active {
    231231    background-color: @button-secondary-active-background;
    232     color: @button-secondary-active-color;
     232    color: @button-secondary-active-color !important;
    233233    .hook-button-secondary-active;
    234234}
     
    240240.uk-button-danger {
    241241    background-color: @button-danger-background;
    242     color: @button-danger-color;
     242    color: @button-danger-color !important;
    243243    .hook-button-danger;
    244244}
     
    248248.uk-button-danger:focus {
    249249    background-color: @button-danger-hover-background;
    250     color: @button-danger-hover-color;
     250    color: @button-danger-hover-color !important;
    251251    .hook-button-danger-hover;
    252252}
     
    256256.uk-button-danger.uk-active {
    257257    background-color: @button-danger-active-background;
    258     color: @button-danger-active-color;
     258    color: @button-danger-active-color !important;
    259259    .hook-button-danger-active;
    260260}
     
    270270.uk-button-danger:disabled {
    271271    background-color: @button-disabled-background;
    272     color: @button-disabled-color;
     272    color: @button-disabled-color !important;
    273273    .hook-button-disabled;
    274274}
     
    308308    background: none;
    309309    /* 2 */
    310     color: @button-text-color;
     310    color: @button-text-color !important;
    311311    .hook-button-text;
    312312}
     
    315315.uk-button-text:hover,
    316316.uk-button-text:focus {
    317     color: @button-text-hover-color;
     317    color: @button-text-hover-color !important;
    318318    .hook-button-text-hover;
    319319}
     
    321321/* Disabled */
    322322.uk-button-text:disabled {
    323     color: @button-text-disabled-color;
     323    color: @button-text-disabled-color !important;
    324324    .hook-button-text-disabled;
    325325}
     
    337337    background: none;
    338338    /* 2 */
    339     color: @button-link-color;
     339    color: @button-link-color !important;
    340340    .hook-button-link;
    341341}
     
    344344.uk-button-link:hover,
    345345.uk-button-link:focus {
    346     color: @button-link-hover-color;
     346    color: @button-link-hover-color !important;
    347347    text-decoration: @button-link-hover-text-decoration;
    348348}
     
    350350/* Disabled */
    351351.uk-button-link:disabled {
    352     color: @button-link-disabled-color;
     352    color: @button-link-disabled-color !important;
    353353    text-decoration: none;
    354354}
     
    440440    .uk-button-default {
    441441        background-color: @inverse-button-default-background;
    442         color: @inverse-button-default-color;
     442        color: @inverse-button-default-color !important;
    443443        .hook-inverse-button-default;
    444444    }
     
    447447    .uk-button-default:focus {
    448448        background-color: @inverse-button-default-hover-background;
    449         color: @inverse-button-default-hover-color;
     449        color: @inverse-button-default-hover-color !important;
    450450        .hook-inverse-button-default-hover;
    451451    }
     
    454454    .uk-button-default.uk-active {
    455455        background-color: @inverse-button-default-active-background;
    456         color: @inverse-button-default-active-color;
     456        color: @inverse-button-default-active-color !important;
    457457        .hook-inverse-button-default-active;
    458458    }
     
    464464    .uk-button-primary {
    465465        background-color: @inverse-button-primary-background;
    466         color: @inverse-button-primary-color;
     466        color: @inverse-button-primary-color !important;
    467467        .hook-inverse-button-primary;
    468468    }
     
    471471    .uk-button-primary:focus {
    472472        background-color: @inverse-button-primary-hover-background;
    473         color: @inverse-button-primary-hover-color;
     473        color: @inverse-button-primary-hover-color !important;
    474474        .hook-inverse-button-primary-hover;
    475475    }
     
    478478    .uk-button-primary.uk-active {
    479479        background-color: @inverse-button-primary-active-background;
    480         color: @inverse-button-primary-active-color;
     480        color: @inverse-button-primary-active-color !important;
    481481        .hook-inverse-button-primary-active;
    482482    }
     
    488488    .uk-button-secondary {
    489489        background-color: @inverse-button-secondary-background;
    490         color: @inverse-button-secondary-color;
     490        color: @inverse-button-secondary-color !important;
    491491        .hook-inverse-button-secondary;
    492492    }
     
    495495    .uk-button-secondary:focus {
    496496        background-color: @inverse-button-secondary-hover-background;
    497         color: @inverse-button-secondary-hover-color;
     497        color: @inverse-button-secondary-hover-color !important;
    498498        .hook-inverse-button-secondary-hover;
    499499    }
     
    502502    .uk-button-secondary.uk-active {
    503503        background-color: @inverse-button-secondary-active-background;
    504         color: @inverse-button-secondary-active-color;
     504        color: @inverse-button-secondary-active-color !important;
    505505        .hook-inverse-button-secondary-active;
    506506    }
     
    511511
    512512    .uk-button-text {
    513         color: @inverse-button-text-color;
     513        color: @inverse-button-text-color !important;
    514514        .hook-inverse-button-text;
    515515    }
     
    517517    .uk-button-text:hover,
    518518    .uk-button-text:focus {
    519         color: @inverse-button-text-hover-color;
     519        color: @inverse-button-text-hover-color !important;
    520520        .hook-inverse-button-text-hover;
    521521    }
    522522
    523523    .uk-button-text:disabled {
    524         color: @inverse-button-text-disabled-color;
     524        color: @inverse-button-text-disabled-color !important;
    525525        .hook-inverse-button-text-disabled;
    526526    }
     
    531531
    532532    .uk-button-link {
    533         color: @inverse-button-link-color;
     533        color: @inverse-button-link-color !important;
    534534        .hook-inverse-button-link;
    535535    }
    536536
    537537    .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; }
    539539
    540540
  • echelon-so/trunk/inc/less/uikit-src/components/container.less

    r2140170 r2148033  
    1818// ========================================================================
    1919
    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;
    2424
    25 @container-padding-horizontal:          15px;
     25// @container-padding-horizontal:          15px;
    2626@container-padding-horizontal-s:        @global-gutter;
    2727@container-padding-horizontal-m:        @global-medium-gutter;
     
    4949/* Phone landscape and bigger */
    5050@media (min-width: @breakpoint-small) {
    51    
     51
    5252    .uk-container {
    5353        padding-left: @container-padding-horizontal-s;
    5454        padding-right: @container-padding-horizontal-s;
    5555    }
    56    
     56
    5757}
    5858
    5959/* Tablet landscape and bigger */
    6060@media (min-width: @breakpoint-medium) {
    61    
     61
    6262    .uk-container {
    6363        padding-left: @container-padding-horizontal-m;
    6464        padding-right: @container-padding-horizontal-m;
    6565    }
    66    
     66
    6767}
    6868
     
    119119/* Phone landscape and bigger */
    120120@media (min-width: @breakpoint-small) {
    121    
     121
    122122    .uk-container-expand-left.uk-container-xsmall,
    123123    .uk-container-expand-right.uk-container-xsmall { max-width: ~'calc(50% + (@{container-xsmall-max-width} / 2) - @{container-padding-horizontal-s})'; }
    124    
     124
    125125    .uk-container-expand-left.uk-container-small,
    126126    .uk-container-expand-right.uk-container-small { max-width: ~'calc(50% + (@{container-small-max-width} / 2) - @{container-padding-horizontal-s})'; }
    127    
     127
    128128}
    129129
    130130/* Tablet landscape and bigger */
    131131@media (min-width: @breakpoint-medium) {
    132    
     132
    133133    .uk-container-expand-left,
    134134    .uk-container-expand-right { max-width: ~'calc(50% + (@{container-max-width} / 2) - @{container-padding-horizontal-m})'; }
    135    
     135
    136136    .uk-container-expand-left.uk-container-xsmall,
    137137    .uk-container-expand-right.uk-container-xsmall { max-width: ~'calc(50% + (@{container-xsmall-max-width} / 2) - @{container-padding-horizontal-m})'; }
    138    
     138
    139139    .uk-container-expand-left.uk-container-small,
    140140    .uk-container-expand-right.uk-container-small { max-width: ~'calc(50% + (@{container-small-max-width} / 2) - @{container-padding-horizontal-m})'; }
    141    
     141
    142142    .uk-container-expand-left.uk-container-large,
    143143    .uk-container-expand-right.uk-container-large { max-width: ~'calc(50% + (@{container-large-max-width} / 2) - @{container-padding-horizontal-m})'; }
    144    
     144
    145145}
    146146
     
    162162/* Phone landscape and bigger */
    163163@media (min-width: @breakpoint-small) {
    164    
     164
    165165    .uk-container-item-padding-remove-left,
    166166    .uk-container-item-padding-remove-right { width: ~'calc(100% + @{container-padding-horizontal-s})' }
    167    
     167
    168168    .uk-container-item-padding-remove-left { margin-left: -@container-padding-horizontal-s; }
    169169    .uk-container-item-padding-remove-right { margin-right: -@container-padding-horizontal-s; }
    170    
     170
    171171}
    172172
    173173/* Tablet landscape and bigger */
    174174@media (min-width: @breakpoint-medium) {
    175    
     175
    176176    .uk-container-item-padding-remove-left,
    177177    .uk-container-item-padding-remove-right { width: ~'calc(100% + @{container-padding-horizontal-m})' }
    178    
     178
    179179    .uk-container-item-padding-remove-left { margin-left: -@container-padding-horizontal-m; }
    180180    .uk-container-item-padding-remove-right { margin-right: -@container-padding-horizontal-m; }
    181    
     181
    182182}
    183183
     
    189189
    190190.hook-container-misc() {}
    191    
  • echelon-so/trunk/inc/less/uikit-src/components/dotnav.less

    r2140170 r2148033  
    2121@dotnav-item-border-radius:                     50%;
    2222
    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;
    2732
    2833
  • echelon-so/trunk/inc/less/uikit-src/components/flex.less

    r2140170 r2148033  
    4949    .uk-flex-around\@s { justify-content: space-around; }
    5050
     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
    5157}
    5258
     
    6066    .uk-flex-around\@m { justify-content: space-around; }
    6167
     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
    6274}
    6375
     
    7183    .uk-flex-around\@l { justify-content: space-around; }
    7284
     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
    7391}
    7492
     
    8199    .uk-flex-between\@xl { justify-content: space-between; }
    82100    .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; }
    83107
    84108}
  • echelon-so/trunk/inc/less/uikit-src/components/height.less

    r2140170 r2148033  
    1010// ========================================================================
    1111
    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;
    1515
    1616
  • echelon-so/trunk/inc/less/uikit-src/components/lightbox.less

    r2140170 r2148033  
    2424
    2525@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;
    2828
    2929@lightbox-toolbar-padding-vertical:             10px;
     
    191191    height: @lightbox-button-size;
    192192    background: @lightbox-button-background;
    193     color: @lightbox-button-color;
     193    color: @lightbox-button-color !important;
    194194    /* 1 */
    195195    display: inline-flex;
  • echelon-so/trunk/inc/less/uikit-src/components/overlay.less

    r2140170 r2148033  
    1818// @eso-ovr-primary:                                   #222222;
    1919
    20 @overlay-padding-horizontal:                    @global-gutter;
    21 @overlay-padding-vertical:                      @global-gutter;
     20// @overlay-padding-horizontal:                    @global-gutter;
     21// @overlay-padding-vertical:                      @global-gutter;
    2222
    2323@overlay-default-background:                    fade(@eso-ovr-default, 80%);
  • echelon-so/trunk/inc/less/uikit-src/components/padding.less

    r2140170 r2148033  
    1717@padding-small-padding:                                 @global-small-gutter;
    1818@padding-tiny-padding:                                  @global-tiny-gutter;
     19@padding-micro-padding:                                 @global-micro-gutter;
    1920
    2021@padding-medium-padding:                                @global-medium-gutter;
     
    3738}
    3839
     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; }
    3950
    4051/* Tiny
  • echelon-so/trunk/inc/less/uikit-src/components/text.less

    r2140170 r2148033  
    126126
    127127@supports (-webkit-background-clip: text) {
    128    
     128
    129129    .uk-text-background {
    130130        background-color: @text-background-color;
    131131        .hook-text-background;
    132132    }
    133    
     133
    134134}
    135135
     
    145145/* Phone landscape and bigger */
    146146@media (min-width: @breakpoint-small) {
    147    
     147
    148148    .uk-text-left\@s { text-align: left !important; }
    149149    .uk-text-right\@s { text-align: right !important; }
    150150    .uk-text-center\@s { text-align: center !important; }
    151    
     151
    152152}
    153153
    154154/* Tablet landscape and bigger */
    155155@media (min-width: @breakpoint-medium) {
    156    
     156
    157157    .uk-text-left\@m { text-align: left !important; }
    158158    .uk-text-right\@m { text-align: right !important; }
    159159    .uk-text-center\@m { text-align: center !important; }
    160    
     160
    161161}
    162162
    163163/* Desktop and bigger */
    164164@media (min-width: @breakpoint-large) {
    165    
     165
    166166    .uk-text-left\@l { text-align: left !important; }
    167167    .uk-text-right\@l { text-align: right !important; }
    168168    .uk-text-center\@l { text-align: center !important; }
    169    
     169
    170170}
    171171
    172172/* Large screen and bigger */
    173173@media (min-width: @breakpoint-xlarge) {
    174    
     174
    175175    .uk-text-left\@xl { text-align: left !important; }
    176176    .uk-text-right\@xl { text-align: right !important; }
    177177    .uk-text-center\@xl { text-align: center !important; }
    178    
     178
    179179}
    180180
     
    244244.hook-text-misc;
    245245
    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  
    9797
    9898// 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;
    106106
    107107// 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;
    113115
    114116//
  • echelon-so/trunk/inc/less/uikit-src/theme/dotnav.less

    r2140170 r2148033  
    1616@dotnav-item-border-width:                           1px;
    1717
    18 @dotnav-item-border:                                 fade(@global-color, 40%);
     18// @dotnav-item-border:                              fade(@global-color, 40%);
     19// @dotnav-item-border:                              #a1a1a1;
    1920@dotnav-item-hover-border:                           transparent;
    2021@dotnav-item-onclick-border:                         transparent;
     
    2526// ========================================================================
    2627
    27 .hook-dotnav() {}
     28.hook-dotnav() {
     29
     30}
    2831
    2932.hook-dotnav-item() {
     
    4346// ========================================================================
    4447
    45 .hook-dotnav-misc() {}
     48.hook-dotnav-misc() {
     49
     50}
    4651
    4752
     
    5156@inverse-dotnav-item-background:                     transparent;
    5257
    53 .hook-inverse-dotnav() {}
     58.hook-inverse-dotnav() {
     59
     60}
    5461.hook-inverse-dotnav-item() { border-color: fade(@inverse-global-color, 90%); }
    5562.hook-inverse-dotnav-item-hover() { border-color: transparent; }
  • echelon-so/trunk/inc/less/uikit-src/theme/lightbox.less

    r2140170 r2148033  
    1313
    1414.hook-lightbox() {
    15    
     15    .uk-lightbox-items {
     16        padding: 0;
     17        margin: 0;
     18    }
    1619}
    1720
     
    2124
    2225.hook-lightbox-item() {
    23    
     26
    2427}
    2528
     
    2932
    3033.hook-lightbox-toolbar() {
    31    
     34
    3235}
    3336
     
    4144
    4245.hook-lightbox-toolbar-icon-hover() {
    43    
     46
    4447}
    4548
     
    4952
    5053.hook-lightbox-button() {
    51    
     54
    5255}
    5356
    5457.hook-lightbox-button-hover() {
    55    
     58
    5659}
    5760
     
    6164
    6265.hook-lightbox-misc() {
    63    
     66
    6467}
  • echelon-so/trunk/inc/modifiers.php

    r2140165 r2148033  
    252252                'uk-transition-scale-down' => __('Scale Down', 'echelon-so'),
    253253                'uk-transition-slide-top' => __('Slide Top', 'echelon-so'),
    254                 'uk-transition-slide-bottom' => __('Slide Botom', 'echelon-so'),
     254                'uk-transition-slide-bottom' => __('Slide Bottom', 'echelon-so'),
    255255                'uk-transition-slide-left' => __('Slide Left', 'echelon-so'),
    256256                'uk-transition-slide-right' => __('Slide Right', 'echelon-so'),
     
    282282
    283283        public function animation() {
    284             $return = array(
     284            return array(
    285285                '0' => __('-', 'echelon-so'),
    286286                'uk-animation-fade' => __('Fade', 'echelon-so'),
     287                'uk-animation-shake' => __('Shake', 'echelon-so'),
     288                'uk-animation-kenburns' => __('Kenburns', 'echelon-so'),
    287289                'uk-animation-scale-up' => __('Scale Up', 'echelon-so'),
    288290                'uk-animation-scale-down' => __('Scale Down', 'echelon-so'),
    289291                'uk-animation-slide-top' => __('Slide Top', 'echelon-so'),
    290                 'uk-animation-slide-bottom' => __('Slide Botom', 'echelon-so'),
     292                'uk-animation-slide-bottom' => __('Slide Bottom', 'echelon-so'),
    291293                'uk-animation-slide-left' => __('Slide Left', 'echelon-so'),
    292294                '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            );
    295304        }
    296305
  • echelon-so/trunk/readme.txt

    r2141933 r2148033  
    11=== Echelon SiteOrigin Widgets and Features ===
    22Contributors: echelonso
    3 Requires at least: 5.1
     3Requires at least: 5.2
    44Tested up to: 5.2
    55Requires PHP: 7.0
     
    88License URI: https://www.gnu.org/licenses/gpl-3.0.txt
    99
    10 Widgets, Features, Advanced Custom Fields, Custom Post Types and WooCOmmerce for SiteOrigin Page Builder.
     10Widgets, Features, Advanced Custom Fields, Custom Post Types and WooCommerce for SiteOrigin Page Builder.
    1111
    1212== Description ==
    1313
    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.
     14IMPORTANT: 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.
    1515
    1616[v1 Download](https://echelonso.com/echelon-so-legacy.zip)
    1717
    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 stlying 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.
     18Echelon 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.
    1919
    2020[Echelon Home](https://echelonso.com)
     
    115115### Prime
    116116Echelon 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  
    1616            array(
    1717                'description' => __('Compare the visual difference between two images.', 'echelon-so' ),
     18                'panels_groups' => array('echelon')
    1819            ),
    1920            array(),
  • echelon-so/trunk/widgets/eso-button/eso-button.php

    r2140168 r2148033  
    33/*
    44Widget Name: E: Button
    5 Description: Description coming soon.
     5Description: Globally styled square, round and pill buttons.
    66Author: Echelon
    77Author URI: https://echelonso.com
     
    1515            __('E: Button', 'echelon-so'),
    1616            array(
    17                 'description' => __('Description coming soon.', 'echelon-so' ),
     17                'description' => __('Globally styled square, round and pill buttons.', 'echelon-so' ),
     18                'panels_groups' => array('echelon')
    1819            ),
    1920            array(),
  • echelon-so/trunk/widgets/eso-card/eso-card.php

    r2140168 r2148033  
    22/*
    33Widget Name: E: Card
    4 Description: Description coming soon.
     4Description: Text and image based content cards.
    55Author: Echelon
    66Author URI: https://echelonso.com
     
    1414            __('E: Card', 'echelon-so'),
    1515            array(
    16                 'description' => __('Description coming soon.', 'echelon-so' ),
     16                'description' => __('Text and image based content cards.', 'echelon-so' ),
     17                'panels_groups' => array('echelon')
    1718            ),
    1819            array(),
  • echelon-so/trunk/widgets/eso-comment/eso-comment.php

    r2140168 r2148033  
    22/*
    33Widget Name: E: Comment
    4 Description: Description coming soon.
     4Description: Comments with images, text and person info.
    55Author: Echelon
    66Author URI: https://echelonso.com
     
    1414            __('E: Comment', 'echelon-so'),
    1515            array(
    16                 'description' => __('Description coming soon.', 'echelon-so' ),
     16                'description' => __('Comments with images, text and person info.', 'echelon-so' ),
     17                'panels_groups' => array('echelon')
    1718            ),
    1819            array(),
  • echelon-so/trunk/widgets/eso-count-query-result/eso-count-query-result.php

    r2140165 r2148033  
    1616            array(
    1717                'description' => __('Display the count from a custom query.', 'echelon-so' ),
     18                'panels_groups' => array('echelon')
    1819            ),
    1920            array(),
  • echelon-so/trunk/widgets/eso-counter/eso-counter.php

    r2140165 r2148033  
    1515            array(
    1616                'description' => __('Animate the count between two numbers.', 'echelon-so' ),
     17                'panels_groups' => array('echelon')
    1718            ),
    1819            array(),
  • echelon-so/trunk/widgets/eso-custom-loop/eso-custom-loop.php

    r2140165 r2148033  
    22/*
    33Widget Name: E: Custom Loop
    4 Description: Run a custom loop for a Echelon layout based on a posts query.
     4Description: Run a custom loop for an Echelon layout based on a posts query.
    55Author: Echelon
    66Author URI: https://echelonso.com
     
    1414            __('E: Custom Loop', 'echeon-so' ),
    1515            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')
    1718            ),
    1819            array(),
  • echelon-so/trunk/widgets/eso-description-list/eso-description-list.php

    r2140168 r2148033  
    33/*
    44Widget Name: E: Description List
    5 Description: Description coming soon.
     5Description: A simple alternative to item lists.
    66Author: Echelon
    77Author URI: https://echelonso.com
     
    1515            __('E: Description List', 'echelon-so'),
    1616            array(
    17                 'description' => __('Description coming soon.', 'echelon-so' ),
     17                'description' => __('A simple alternative to item lists.', 'echelon-so' ),
     18                'panels_groups' => array('echelon')
    1819            ),
    1920            array(),
  • echelon-so/trunk/widgets/eso-divider/eso-divider.php

    r2140168 r2148033  
    33/*
    44Widget Name: E: Divider
    5 Description: Description coming soon.
     5Description: Horizontal and veritcal dividers.
    66Author: Echelon
    77Author URI: https://echelonso.com
     
    1616            __('E: Divider', 'echelon-so'),
    1717            array(
    18                 'description' => __('Description coming soon.', 'echelon-so' ),
     18                'description' => __('Horizontal and veritcal dividers.', 'echelon-so' ),
     19                'panels_groups' => array('echelon')
    1920            ),
    2021            array(),
  • echelon-so/trunk/widgets/eso-feature/eso-feature.php

    r2140165 r2148033  
    22/*
    33Widget Name: E: Feature
    4 Description: Description coming soon.
     4Description: Icon based small and large feature boxes.
    55Author: Echelon
    66Author URI: https://echelonso.com
     
    1414            __('E: Feature', 'echelon-so'),
    1515            array(
    16                 'description' => __('Description coming soon.', 'echelon-so' ),
     16                'description' => __('Icon based small and large feature boxes.', 'echelon-so' ),
     17                'panels_groups' => array('echelon')
    1718            ),
    1819            array(),
  • echelon-so/trunk/widgets/eso-filter/eso-filter.php

    r2140168 r2148033  
    33/*
    44Widget Name: E: Filter
    5 Description: Description coming soon.
     5Description: Masonry and grid content filters.
    66Author: Echelon
    77Author URI: https://echelonso.com
     
    1616            __('E: Filter', 'echelon-so'),
    1717            array(
    18                 'description' => __('Description coming soon.', 'echelon-so' ),
     18                'description' => __('Masonry and grid content filters.', 'echelon-so' ),
     19                'panels_groups' => array('echelon')
    1920            ),
    2021            array(),
  • echelon-so/trunk/widgets/eso-heading/eso-heading.php

    r2140165 r2148033  
    33/*
    44Widget Name: E: Heading
    5 Description: Description coming soon.
     5Description: Various section heading styles.
    66Author: Echelon
    77Author URI: https://echelonso.com
     
    1515            __('E: Heading', 'echelon-so'),
    1616            array(
    17                 'description' => __('Description coming soon.', 'echelon-so' ),
     17                'description' => __('Various section heading styles.', 'echelon-so' ),
     18                'panels_groups' => array('echelon')
    1819            ),
    1920            array(),
  • echelon-so/trunk/widgets/eso-icon-list/eso-icon-list.php

    r2140165 r2148033  
    1717            array(
    1818                'description' => __('Add an icon based text list.', 'echelon-so'),
     19                'panels_groups' => array('echelon')
    1920            ),
    2021            array(),
  • echelon-so/trunk/widgets/eso-icon-list/tpl/default.php

    r2140165 r2148033  
    66
    77            <div class="uk-flex uk-flex-middle uk-flex-left uk-margin-small-bottom">
    8 
    9 
    108
    119                <div class="uk-width-auto uk-margin-small-right uk-text-center">
     
    2826                </div>
    2927
    30 
    31 
    3228            </div>
    3329
  • echelon-so/trunk/widgets/eso-lightbox-component-image/eso-lightbox-component-image.php

    r2140168 r2148033  
    22/*
    33Widget Name: E: Lightbox Component - Image
    4 Description: Description coming soon.
     4Description: Use inside the Lightbox Gallery, Lightbox Filter and Lightbox Slider widgets.
    55Author: Echelon
    66Author URI: https://echelonso.com
     
    1414            __('E: Lightbox Component - Image', 'echelon-so'),
    1515            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')
    1718            ),
    1819            array(),
     
    126127                'display_size' => array(
    127128                    'type' => 'image-size',
    128                     'label' => __( 'Thumb Size', 'echelon-so' ),
     129                    'label' => __( 'Display Size', 'echelon-so' ),
    129130                ),
    130131                'title' => array(
  • echelon-so/trunk/widgets/eso-lightbox-gallery/eso-lightbox-gallery.php

    r2140168 r2148033  
    33/*
    44Widget Name: E: Lightbox Gallery
    5 Description: Description coming soon.
     5Description: Grid based Lightbox Galleries (uses Image Components).
    66Author: Echelon
    77Author URI: https://echelonso.com
     
    1515            __('E: Lightbox Gallery', 'echelon-so'),
    1616            array(
    17                 'description' => __('Description coming soon.', 'echelon-so' ),
     17                'description' => __('Grid based Lightbox Galleries (uses Image Components).', 'echelon-so' ),
     18                'panels_groups' => array('echelon')
    1819            ),
    1920            array(),
  • echelon-so/trunk/widgets/eso-modal/eso-modal.php

    r2140165 r2148033  
    33/*
    44Widget Name: E: Modal
    5 Description: Description coming soon.
     5Description: Overlay content on the page with Modals.
    66Author: Echelon
    77Author URI: https://echelonso.com
     
    1616            __('E: Modal', 'echelon-so'),
    1717            array(
    18                 'description' => __('Description coming soon.', 'echelon-so' ),
     18                'description' => __('Overlay content on the page with Modals.', 'echelon-so' ),
     19                'panels_groups' => array('echelon')
    1920            ),
    2021            array(),
  • echelon-so/trunk/widgets/eso-nav/eso-nav.php

    r2140168 r2148033  
    1717            array(
    1818                'description' => __('A vertical nav for Off Canvas and  other uses.', 'echelon-so' ),
     19                'panels_groups' => array('echelon')
    1920            ),
    2021            array(),
  • echelon-so/trunk/widgets/eso-off-canvas/eso-off-canvas.php

    r2140168 r2148033  
    33/*
    44Widget Name: E: Off Canvas
    5 Description: Description coming soon.
     5Description: Off page sections for menus and content.
    66Author: Echelon
    77Author URI: https://echelonso.com
     
    1616            __('E: Off Canvas', 'echelon-so'),
    1717            array(
    18                 'description' => __('Description coming soon.', 'echelon-so' ),
     18                'description' => __('Off page sections for menus and content.', 'echelon-so' ),
     19                'panels_groups' => array('echelon')
    1920            ),
    2021            array(),
  • echelon-so/trunk/widgets/eso-overlay/eso-overlay.php

    r2140168 r2148033  
    22/*
    33Widget Name: E: Overlay
    4 Description: Description coming soon.
     4Description: Overlay two different page builder layouts.
    55Author: Echelon
    66Author URI: https://echelonso.com
     
    1515            __('E: Overlay', 'echelon-so'),
    1616            array(
    17                 'description' => __('Description coming soon.', 'echelon-so' ),
     17                'description' => __('Overlay two different page builder layouts.', 'echelon-so' ),
     18                'panels_groups' => array('echelon')
    1819            ),
    1920            array(),
     
    4950        (empty($instance['modifiers']['overlay_darken'])) ?: $return['overlay_class'][] = $instance['modifiers']['overlay_darken'];
    5051        (empty($instance['modifiers']['inverse'])) ?: $return['overlay_class'][] = $instance['modifiers']['inverse'];
     52        (empty($instance['modifiers']['padding'])) ?: $return['overlay_class'][] = $instance['modifiers']['padding'];
    5153
    5254        $return['wrap_class'] = array();
     
    6163
    6264        // 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        }
    6871        return $return;
    6972    }
     
    133136                    'options' => $echelon_so_modifiers->position_size()
    134137                ),
     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                ),
    135147                'width' => array(
    136148                    'type' => 'select',
     
    216228        return $echelon_so->form_teaser();
    217229    }
    218    
     230
    219231}
    220232
  • echelon-so/trunk/widgets/eso-pricing/eso-pricing.php

    r2140165 r2148033  
    33/*
    44Widget Name: E: Pricing
    5 Description: Various pricing boxes.
     5Description: Simple card like pricing boxes.
    66Author: Echelon
    77Author URI: https://echelonso.com
     
    1515            __('E: Pricing', 'echelon-so'),
    1616            array(
    17                 'description' => __('Various pricing boxes.', 'echelon-so' ),
     17                'description' => __('Simple card like pricing boxes.', 'echelon-so' ),
     18                'panels_groups' => array('echelon')
    1819            ),
    1920            array(),
  • echelon-so/trunk/widgets/eso-radial/eso-radial.php

    r2140165 r2148033  
    1616            array(
    1717                'description' => __('A radial progress bar or odometer.', 'echelon-so' ),
     18                'panels_groups' => array('echelon')
    1819            ),
    1920            array(),
  • echelon-so/trunk/widgets/eso-reuse-layout/eso-reuse-layout.php

    r2140165 r2148033  
    1919            array(
    2020                'description' => __('Display the content from a reusable layout.', 'echelon-so' ),
     21                'panels_groups' => array('echelon')
    2122            ),
    2223            false,
  • echelon-so/trunk/widgets/eso-slabtext/eso-slabtext.php

    r2140168 r2148033  
    22/*
    33Widget Name: E: Slabtext
    4 Description: Description coming soon.
     4Description: Automatically format text into square blocks.
    55Author: Echelon
    66Author URI: https://echelonso.com
     
    1414            __('E: Slabtext', 'echelon-so'),
    1515            array(
    16                 'description' => __('Description coming soon.', 'echelon-so' ),
     16                'description' => __('Automatically format text into square blocks.', 'echelon-so' ),
     17                'panels_groups' => array('echelon')
    1718            ),
    1819            array(),
  • echelon-so/trunk/widgets/eso-slider/eso-slider.php

    r2140168 r2148033  
    33/*
    44Widget Name: E: Slider
    5 Description: Description coming soon.
     5Description: Slider framework to load other widgets into.
    66Author: Echelon
    77Author URI: https://echelonso.com
     
    1616            __('E: Slider', 'echelon-so'),
    1717            array(
    18                 'description' => __('Description coming soon.', 'echelon-so' ),
     18                'description' => __('Slider framework to load other widgets into.', 'echelon-so' ),
     19                'panels_groups' => array('echelon')
    1920            ),
    2021            array(),
     
    4142        $return['frames'] = !empty( $instance['frames'] ) ? $instance['frames'] : '';
    4243
    43         // modifiers
     44        // modifiers - general
    4445        $return['show_nav'] = $instance['modifiers']['show_nav'];
    4546        $return['show_dot'] = $instance['modifiers']['show_dot'];
  • echelon-so/trunk/widgets/eso-slider/tpl/default.php

    r2140169 r2148033  
    2323
    2424            <?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>
    2828                </div>
    2929            <?php endif; ?>
  • echelon-so/trunk/widgets/eso-smooth-scroll/eso-smooth-scroll.php

    r2140165 r2148033  
    1717            array(
    1818                'description' => __('Smooth scroll page links to their targets.', 'echelon-so' ),
     19                'panels_groups' => array('echelon')
    1920            ),
    2021            false,
  • echelon-so/trunk/widgets/eso-tabs/eso-tabs.php

    r2140168 r2148033  
    1717            array(
    1818                'description' => __('Animated content switching tabs.', 'echelon-so' ),
     19                'panels_groups' => array('echelon')
    1920            ),
    2021            array(),
  • echelon-so/trunk/widgets/eso-template-tag/eso-template-tag.php

    r2140165 r2148033  
    1616            array(
    1717                'description' => __('Use a template tag inside a looped Echelon layout.', 'echelon-so' ),
     18                'panels_groups' => array('echelon')
    1819            ),
    1920            array(),
  • echelon-so/trunk/widgets/eso-text-rotator/eso-text-rotator.php

    r2140168 r2148033  
    22/*
    33Widget Name: E: Text Rotator
    4 Description: Description coming soon.
     4Description: Automaitcally rotate text with animations.
    55Author: Echelon
    66Author URI: https://echelonso.com
     
    1414            __('E: Text Rotator', 'echelon-so'),
    1515            array(
    16                 'description' => __('Description coming soon.', 'echelon-so' ),
     16                'description' => __('Automaitcally rotate text with animations.', 'echelon-so' ),
     17                'panels_groups' => array('echelon')
    1718            ),
    1819            array(),
  • echelon-so/trunk/widgets/eso-text/eso-text.php

    r2140168 r2148033  
    22/*
    33Widget Name: E: Text
    4 Description: Description coming soon.
     4Description: Display text blocks in various sizes.
    55Author: Echelon
    66Author URI: https://echelonso.com
     
    1414            __('E: Text', 'echelon-so'),
    1515            array(
    16                 'description' => __('Description coming soon.', 'echelon-so' ),
     16                'description' => __('Display text blocks in various sizes.', 'echelon-so' ),
     17                'panels_groups' => array('echelon')
    1718            ),
    1819            array(),
     
    2728
    2829    function get_template_variables( $instance, $args ) {
    29         global $echelon_so_modifiers;
     30        // global $echelon_so_modifiers;
    3031        $return['text'] = !empty($instance['text']['text']) ? $instance['text']['text'] : '';
    3132
     
    6263                    'default' => 'default',
    6364                    'label' => __('Font', 'echelon-so'),
     65                ),
     66                'span_color' => array(
     67                    'type' => 'color',
     68                    'default' => '',
     69                    'label' => __('Span Color', 'echelon-so'),
    6470                )
    6571            )
     
    134140            }
    135141        }
     142        $return['span_color'] = !empty($instance['text']['span_color']) ? $instance['text']['span_color'] : false;
    136143        return $return;
    137144    }
  • echelon-so/trunk/widgets/eso-text/styles/style.less

    r2140169 r2148033  
    33@font: default;
    44@font_weight: normal;
     5@span_color: inherit;
    56
    67.uk-text {
    78    .font(@font, @font_weight);
     9    span {
     10        color: @span_color;
     11    }
    812}
  • echelon-so/trunk/widgets/eso-twitter-feed/eso-twitter-feed.php

    r2140165 r2148033  
    1515            array(
    1616                'description' => __('Display your most recent tweets.', 'echelon-so' ),
     17                'panels_groups' => array('echelon')
    1718            ),
    1819            array(),
  • echelon-so/trunk/widgets/eso-video/eso-video.php

    r2140168 r2148033  
    1717            array(
    1818                'description' => __('Description coming soon.', 'echelon-so' ),
     19                'panels_groups' => array('echelon')
    1920            ),
    2021            array(),
Note: See TracChangeset for help on using the changeset viewer.