Plugin Directory

Changeset 2022169


Ignore:
Timestamp:
01/30/2019 07:58:04 PM (7 years ago)
Author:
autonomash
Message:

version 1.3

Location:
vc-simple-all-responsive
Files:
11 added
4 edited

Legend:

Unmodified
Added
Removed
  • vc-simple-all-responsive/trunk/assets/media.css

    r2021580 r2022169  
    1 .disp_block {
    2     display: block;
     1/*
     2  ver 1.3
     3*/
     4
     5.disp_block, .disp_hid_ld, .disp_vis_ld, .disp_hid_bd, .disp_vis_bd, .disp_hid_ad, .disp_vis_ad, .disp_hid_tl,
     6  .disp_vis_tl, .disp_hid_tp, .disp_vis_tp, .disp_hid_at, .disp_vis_at, .disp_hid_ap, .disp_vis_ap, .disp_hid_pp, .disp_vis_pp {
     7    position: static !important;   
    38}
    49
     
    1217*/
    1318
    14 @media all and (min-width: 1920px) {
     19@media (min-width: 1920px) {
    1520  .disp_hid_ld {
    16       display: none !important;
     21      position: absolute !important;
     22      top: -9999px !important;
     23      left: -9999px !important;
    1724  }
    1825}
    1926
    20 @media all and (max-width: 1919px) {
     27@media (max-width: 1919px) {
    2128  .disp_vis_ld {
    22       display: none !important;
     29    position: absolute !important;
     30    top: -9999px !important;
     31    left: -9999px !important;
    2332  }
    2433}
     
    2938*/
    3039
    31 @media all and (min-width: 1367px) {
     40@media (min-width: 1367px) {
    3241  .disp_hid_bd {
    33       display: none !important;
     42    position: absolute !important;
     43    top: -9999px !important;
     44    left: -9999px !important;
    3445  }
    3546}
    3647
    37 @media all and (max-width: 1366px) {
     48@media (max-width: 1366px) {
    3849  .disp_vis_bd {
    39       display: none !important;
     50    position: absolute !important;
     51    top: -9999px !important;
     52    left: -9999px !important;
    4053  }
    4154}
     
    4558*/
    4659
    47 @media all and (min-width: 1024px) {
     60@media (min-width: 1024px) {
    4861  .disp_hid_ad {
    49       display: none !important;
     62    position: absolute !important;
     63    top: -9999px !important;
     64    left: -9999px !important;
    5065  }
    5166}
    5267
    53 @media all and (max-width: 1023px) {
     68@media (max-width: 1023px) {
    5469  .disp_vis_ad {
    55       display: none !important;
     70      position: absolute !important;
     71      top: -9999px !important;
     72      left: -9999px !important;
    5673  }
    5774}
     
    6279*/
    6380
    64 @media all and (orientation:landscape) and (min-width: 962px) and (max-width: 1366px) {
     81@media (orientation:landscape) and (min-width: 962px) and (max-width: 1366px) {
    6582  .disp_hid_tl {
    66       display: none !important;
     83      position: absolute !important;
     84      top: -9999px !important;
     85      left: -9999px !important;
    6786  }
    6887}
    6988
    70 @media all and (orientation:portrait), all and (max-width: 961px), all and (min-width: 1367px) {
     89@media (orientation:portrait), (max-width: 961px), (min-width: 1367px) {
    7190  .disp_vis_tl {
    72       display: none !important;
     91      position: absolute !important;
     92      top: -9999px !important;
     93      left: -9999px !important;
    7394  }
    7495}
     
    79100*/
    80101
    81 @media all and (orientation:portrait) and (min-width: 600px) and (max-width: 1024px) {
     102@media (orientation:portrait), (min-width: 600px) and (max-width: 1024px) {
    82103  .disp_hid_tp {
    83       display: none !important;
     104      position: absolute !important;
     105      top: -9999px !important;
     106      left: -9999px !important;
    84107  }
    85108}
    86109
    87 @media all and (orientation:portrait), all and (max-width: 599px), all and (min-width: 1025px) {
     110@media (orientation:portrait), (max-width: 599px), (min-width: 1025px) {
    88111  .disp_vis_tp {
    89       display: none !important;
     112      position: absolute !important;
     113      top: -9999px !important;
     114      left: -9999px !important;
    90115  }
    91116}
     
    96121*/
    97122
    98 @media all and (min-width: 768px) and (max-width: 1025px) {
     123@media (min-width: 768px) and (max-width: 1025px) {
    99124  .disp_hid_at {
    100       display: none !important;
     125      position: absolute !important;
     126      top: -9999px !important;
     127      left: -9999px !important;
    101128  }
    102129}
    103130
    104 @media all and (max-width: 767px), all and (min-width: 1024px) {
     131@media (max-width: 767px), (min-width: 1024px) {
    105132  .disp_vis_at {
    106       display: none !important;
     133      position: absolute !important;
     134      top: -9999px !important;
     135      left: -9999px !important;
    107136  }
    108137}
     
    113142*/
    114143
    115 
    116 @media all and (max-width: 767px) {
     144@media (max-width: 767px) {
    117145  .disp_hid_ap {
    118       display: none !important;
     146      position: absolute !important;
     147      top: -9999px !important;
     148      left: -9999px !important;
    119149  }
    120150}
    121151
    122 @media all and (min-width: 768px) {
     152@media (min-width: 768px) {
    123153  .disp_vis_ap {
    124       display: none !important;
     154      position: absolute !important;
     155      top: -9999px !important;
     156      left: -9999px !important;
    125157  }
    126158}
     
    131163*/
    132164
    133 
    134 @media all and (max-width: 567px) {
     165@media (orientation:portrait) and (max-width: 567px) {
    135166  .disp_hid_pp {
    136       display: none !important;
     167      position: absolute !important;
     168      top: -9999px !important;
     169      left: -9999px !important;
    137170  }
    138171}
    139172
    140 @media all and (min-width: 568px) {
     173@media (orientation:portrait), (min-width: 568px) {
    141174  .disp_vis_pp {
    142       display: none !important;
     175      position: absolute !important;
     176      top: -9999px !important;
     177      left: -9999px !important;
    143178  }
    144179}
  • vc-simple-all-responsive/trunk/readme.txt

    r2021463 r2022169  
    99License: GPLv2 or later
    1010License URI: http://www.gnu.org/licenses/gpl-2.0.html
    11 Stable tag: 1.2
     11Stable tag: 1.3
    1212
    1313VC Simple All Responsive makes it easier to develop responsive websites when using WPBakery (former Visual Composer) Page Builder. Works on elements within columns.
     
    52521. Search for 'vc simple all responsive' on WordPress.org
    53532. Download 'VC Simple All Responsive' plugin from WordPress.org.
    54 3. Upload the 'vs-simple-all-responsive’ directory to your '/wp-content/plugins/' directory, using your favorite method (ftp, sftp, scp, etc...)
     543. Upload the 'vs-simple-all-responsive directory to your '/wp-content/plugins/' directory, using your favorite method (ftp, sftp, scp, etc...)
    55554. Activate 'VC Simple All Responsive' plugin from your Plugins page.
    5656
     
    7272
    7373== Changelog ==
     74= 1.3 =
     75* removed a couple of bugs and a completely changed the way of elements hiding
     76
    7477= 1.2 =
    7578* Reorganized code - removed issues with some topics on WP 5+.
  • vc-simple-all-responsive/trunk/vc-sar-element.php

    r2021459 r2022169  
    22
    33/*
    4 Element Description: Directory
     4version 1.3
    55*/
    66
     
    2727                'name' => __("Simple All Responsive", 'vc-simple-all-responsive'),
    2828                'base' => "simple_all_responsive",
    29                 //'class' => 'simple-all-responsive-class',
    3029                'show_settings_on_create' => false,
    31                 'content_element' => true,
     30                //'content_element' => true,
    3231                'is_container' => true,
     32                //'controls' => 'full',
     33                'js_view' => 'VcColumnView',
    3334                'description' => __("Provides responsiveness to all builder internal elements", 'vc-simple-all-responsive'),
    3435                'category' => __('Content', 'text-domain'),
     
    246247
    247248        //display dependings
    248         $css_rule = "disp_block";
    249         if($env_visibility === 'hid_ld'):
     249        $css_rule = "disp_block";
     250        if($response_exist):                              // veto on mobile and/or user agent corespond - anyhow no display
     251            $css_rule = "disp_none";
     252        elseif($env_visibility === 'hid_ld'):
    250253            $css_rule = 'disp_hid_ld';
    251254        elseif($env_visibility === 'hid_bd'):
     
    282285
    283286        // veto on mobile and/or user agent corespond - anyhow no display
    284         if($response_exist):
    285             $css_rule = "disp_none";
    286         endif;
    287287
    288288
  • vc-simple-all-responsive/trunk/vc-simple-all-responsive.php

    r2021459 r2022169  
    55* Plugin URI: https://wordpress.org/plugins/vc-simple-all-responsive/
    66* Description: Makes it easier to develop responsive websites when using WPBakery (former Visual Composer) Page Builder. Works on elements within columns.
    7 * Version: 1.2
     7* Version: 1.3
    88* Author: Obren Markov
    99* Author URI: http://markovobren.vojvodina.xyz/en/
     
    2828// Link directory stylesheet
    2929
    30 function community_directory_scripts() {
    31     wp_enqueue_style( 'community_directory_stylesheet',  plugin_dir_url( __FILE__ ) . 'assets/media.css' );
     30function simple_responsive_scripts() {
     31    wp_enqueue_style( 'simple_responsive_stylesheet',  plugin_dir_url( __FILE__ ) . 'assets/media.css' );
    3232}
    33 add_action( 'wp_enqueue_scripts', 'community_directory_scripts' );
     33add_action( 'wp_enqueue_scripts', 'simple_responsive_scripts' );
Note: See TracChangeset for help on using the changeset viewer.