Plugin Directory

Changeset 2742717


Ignore:
Timestamp:
06/15/2022 08:39:01 AM (4 years ago)
Author:
shapedplugin
Message:

Release 2.4.14 version final

Location:
post-carousel
Files:
266 added
5 edited

Legend:

Unmodified
Added
Removed
  • post-carousel/trunk/admin/views/class-sps-premium.php

    r2671160 r2742717  
    7575            );
    7676
    77             $raw = wp_remote_retrieve_body( wp_remote_get( 'http://wptally.com/api/' . $username, $params ) );
     77            $raw = wp_remote_retrieve_body( wp_remote_get( 'https://wptally.com/api/' . $username, $params ) );
    7878            $raw = json_decode( $raw, true );
    7979
    80             if ( array_key_exists( 'error', $raw ) ) {
     80            if ( is_array( $raw ) && array_key_exists( 'error', $raw ) ) {
    8181                $data = array(
    8282                    'error' => $raw['error'],
     
    135135                    <div class="count-item">
    136136                        <h3 class="sp-sps__font-24">
    137                         <?php
    138                         $plugin_data  = $this->happy_users();
    139                         $plugin_names = array_values( $plugin_data['plugins'] );
    140 
    141                         $active_installations = array_column( $plugin_names, 'installs', 'url' );
    142                         echo esc_attr( $active_installations['http://wordpress.org/plugins/post-carousel'] ) . '+';
    143                         ?>
     137                <?php
     138                $plugin_data = $this->happy_users();
     139                if ( isset( $plugin_data['plugins'] ) ) {
     140                    $plugin_names         = array_values( $plugin_data['plugins'] );
     141                    $active_installations = array_column( $plugin_names, 'installs', 'url' );
     142                    echo esc_attr( $active_installations['http://wordpress.org/plugins/post-carousel'] ) . '+';
     143                } else {
     144                    echo '20000+';
     145                }
     146                ?>
    144147                        </h3>
    145148                        <span class="sp-sps__font-weight-400">Active Installations</span>
     149                    </div>
     150                    <div class="count-item">
     151                        <h3 class="sp-sps__font-24">
     152                    <?php
     153                    if ( isset( $plugin_data['plugins'] ) ) {
     154                        $plugin_downloads = array_column( $plugin_names, 'downloads', 'url' );
     155                        echo esc_attr( $plugin_downloads['http://wordpress.org/plugins/post-carousel'] );
     156                    } else {
     157                        echo '309000';
     158                    }
     159                    ?>
     160                        </h3>
     161                        <span class="sp-sps__font-weight-400">all time downloads</span>
    146162                    </div>
    147163                    <div class="count-item">
    148164                        <h3 class="sp-sps__font-24">
    149165                        <?php
    150                         $active_installations = array_column( $plugin_names, 'downloads', 'url' );
    151                         echo esc_attr( $active_installations['http://wordpress.org/plugins/post-carousel'] );
    152                         ?>
    153                         </h3>
    154                         <span class="sp-sps__font-weight-400">all time downloads</span>
    155                     </div>
    156                     <div class="count-item">
    157                         <h3 class="sp-sps__font-24">
    158                         <?php
    159                         $active_installations = array_column( $plugin_names, 'rating', 'url' );
    160                         echo esc_attr( $active_installations['http://wordpress.org/plugins/post-carousel'] ) . '/5';
     166                        if ( isset( $plugin_data['plugins'] ) ) {
     167                            $plugin_rating = array_column( $plugin_names, 'rating', 'url' );
     168                            echo esc_attr( $plugin_rating['http://wordpress.org/plugins/post-carousel'] ) . '/5';
     169                        } else {
     170                            echo '4.7/5';
     171                        }
    161172                        ?>
    162173                        </h3>
     
    209220                            <div class="feature-icon">
    210221                                <img src="
    211                                 <?php echo esc_url( SP_PC_URL . 'admin/assets/img/images/premium/advanced-filtering.svg' ); ?>
     222                        <?php echo esc_url( SP_PC_URL . 'admin/assets/img/images/premium/advanced-filtering.svg' ); ?>
    212223                                " alt="">
    213224                            </div>
     
    222233                            <div class="feature-icon">
    223234                                <img src="
    224                                 <?php echo esc_url( SP_PC_URL . 'admin/assets/img/images/premium/Content.svg' ); ?>
     235                        <?php echo esc_url( SP_PC_URL . 'admin/assets/img/images/premium/Content.svg' ); ?>
    225236                                " alt="">
    226237                            </div>
     
    353364                        <div class="buy-content text-center">
    354365                            <h2 class="sp-sps__font-28">Join
    355                             <?php
    356                             $install = 0;
     366                        <?php
     367                        $install = 0;
     368                        if ( isset( $plugin_data['plugins'] ) ) {
     369
    357370                            foreach ( $plugin_names as &$plugin_name ) {
    358371                                $install += $plugin_name['installs'];
    359372                            }
    360373                            echo esc_attr( $install + '15000' ) . '+';
    361                             ?>
     374                        } else {
     375                            echo '243000+';
     376                        }
     377                        ?>
    362378                            Happy Users in 160+ Countries </h2>
    363379                            <p class="sp-sps__font-16 sp-sps__mt-25 sp-sps__line-height-22">98% of customers are happy with <b>ShapedPlugin's</b> products and support. <br>
     
    418434    </div>
    419435    <!-- End premium page -->
    420         <?php
     436                        <?php
    421437    }
    422438}
  • post-carousel/trunk/main.php

    r2726027 r2742717  
    1111 * Plugin URI:        https://smartpostshow.com/
    1212 * Description:       Filter and display posts, pages, taxonomy (categories, tags, & post formats), in beautiful layouts (carousel, grid) easily without coding! Highly customizable and developer-friendly with free active support.
    13  * Version:           2.4.13
     13 * Version:           2.4.14
    1414 * Author:            ShapedPlugin
    1515 * Author URI:        https://shapedplugin.com/
     
    2929 * Rename this for your plugin and update it as you release new versions.
    3030 */
    31 define( 'SMART_POST_SHOW_VERSION', '2.4.13' );
     31define( 'SMART_POST_SHOW_VERSION', '2.4.14' );
    3232define( 'SMART_POST_SHOW_BASENAME', plugin_basename( __FILE__ ) );
    3333
  • post-carousel/trunk/public/assets/css/style.css

    r2716623 r2742717  
    22
    33.pcp-demo-section {
    4   max-width: 1200px;
    5   margin: 0 auto;
     4    max-width: 1200px;
     5    margin: 0 auto;
    66}
    77
    88.pcp-section-padding {
    9   padding: 80px 0;
     9    padding: 80px 0;
    1010}
    1111
    1212/* Common CSS */
    1313.pcp-align-left {
    14   text-align: left;
    15 }
     14    text-align: left;
     15}
     16
    1617.pcp-align-center {
    17   text-align: center;
    18 }
     18    text-align: center;
     19}
     20
    1921.pcp-align-right {
    20   text-align: right;
    21 }
     22    text-align: right;
     23}
     24
    2225.sp-pcp-section {
    23   color: #444;
     26    color: #444;
    2427}
    2528
    2629.entry .entry-content .sp-pcp-section a,
    2730.sp-pcp-section a {
    28   text-decoration: none;
    29   transition: all 0.33s;
     31    text-decoration: none;
     32    transition: all 0.33s;
    3033}
    3134
    3235.sp-pcp-section img {
    33   max-width: 100%;
    34   vertical-align: middle;
     36    max-width: 100%;
     37    vertical-align: middle;
    3538}
    3639
    3740.sp-pcp-section * {
    38   box-sizing: border-box;
    39 }
     41    box-sizing: border-box;
     42}
     43
    4044.sp-pcp-section .swiper-container {
    41   position: initial;
    42 }
    43 .sp-pcp-section .swiper-container.sp-pcp-carousel.top_right{
    44   position: relative;
     45    position: initial;
     46}
     47
     48.sp-pcp-section .swiper-container.sp-pcp-carousel.top_right {
     49    position: relative;
    4550}
    4651
     
    5156.sp-pcp-post .sp-pcp-thumb:hover,
    5257.sp-pcp-post .sp-pcp-thumb img:hover {
    53   outline: none;
    54   text-decoration: none;
    55   outline-offset: 0;
    56   color: transparent;
    57   border: none;
    58 }
     58    outline: none;
     59    text-decoration: none;
     60    outline-offset: 0;
     61    color: transparent;
     62    border: none;
     63}
     64
    5965.sp-pcp-post {
    60   display: -webkit-flex;
    61   display: flex;
    62   flex-direction: column;
    63   overflow: hidden;
    64 }
     66    display: -webkit-flex;
     67    display: flex;
     68    flex-direction: column;
     69    overflow: hidden;
     70}
     71
    6572.sp-pcp-post a {
    66   text-decoration: none;
    67 }
     73    text-decoration: none;
     74}
     75
    6876.sp-pcp-post .pcp-post-thumb-wrapper {
    69   overflow: hidden;
    70   display: block;
    71   margin-bottom: 11px;
     77    overflow: hidden;
     78    display: block;
     79    margin-bottom: 11px;
    7280}
    7381
     
    7684} */
    7785.sp-pcp-post .sp-pcp-post-thumb-area {
    78   position: relative;
    79   /* margin-bottom: 15px;
     86    position: relative;
     87    /* margin-bottom: 15px;
    8088    order: 1; */
    8189}
    8290
    8391.sp-pcp-post .sp-pcp-post-thumb-area img {
    84   max-width: 100%;
    85   transition: ease all 0.3s;
    86   height: 100%;
     92    max-width: 100%;
     93    transition: ease all 0.3s;
     94    height: 100%;
    8795}
    8896
    8997.sp-pcp-post .sp-pcp-title {
    90   margin: 0;
    91   font-size: 15px;
    92 }
     98    margin: 0;
     99    font-size: 15px;
     100}
     101
    93102.sp-pcp-post .sp-pcp-title {
    94   margin: 0 0 9px 0;
    95 }
     103    margin: 0 0 9px 0;
     104}
     105
    96106.sp-pcp-post .sp-pcp-title a,
    97107.sp-pcp-post .sp-pcp-title {
    98   text-transform: none;
    99   font-size: 20px;
    100   line-height: 24px;
    101   color: #111;
    102   font-weight: 400;
    103 }
     108    text-transform: none;
     109    font-size: 20px;
     110    line-height: 24px;
     111    color: #111;
     112    font-weight: 400;
     113}
     114
    104115.sp-pcp-post .sp-pcp-post-meta {
    105   margin: 0px 0px 9px 0px;
    106   text-align: left;
    107 }
     116    margin: 0px 0px 9px 0px;
     117    text-align: left;
     118}
     119
    108120.sp-pcp-post .sp-pcp-post-meta ul {
    109   list-style: none;
    110   margin: 0;
    111   padding: 0;
    112   line-height: 1;
     121    list-style: none;
     122    margin: 0;
     123    padding: 0;
     124    line-height: 1;
    113125}
    114126
    115127.sp-pcp-post .sp-pcp-post-meta ul li {
    116   display: inline-block;
    117   margin: 0 5px 5px 0;
     128    display: inline-block;
     129    margin: 0 5px 5px 0;
    118130}
    119131
    120132.sp-pcp-post .sp-pcp-post-meta ul li .fa,
    121133.sp-pcp-post .sp_pcp_cf_list .fa {
    122   margin-right: 3px;
     134    margin-right: 3px;
    123135}
    124136
    125137.sp-pcp-post .sp-pcp-post-meta ul li a {
    126   display: inline-block;
    127   text-decoration: none;
    128   box-shadow: none;
    129 }
     138    display: inline-block;
     139    text-decoration: none;
     140    box-shadow: none;
     141}
     142
    130143.sp-pcp-post .sp-pcp-post-meta li,
    131144.sp-pcp-post .sp-pcp-post-meta ul,
    132145.sp-pcp-post .sp-pcp-post-meta li a {
    133   text-transform: none;
    134   font-size: 14px;
    135   line-height: 16px;
    136   letter-spacing: 0px;
    137   color: #888;
     146    text-transform: none;
     147    font-size: 14px;
     148    line-height: 16px;
     149    letter-spacing: 0px;
     150    color: #888;
    138151}
    139152
    140153.sp-pcp-post .sp-pcp-post-content {
    141   text-transform: none;
    142   font-size: 16px;
    143   line-height: 20px;
    144   letter-spacing: 0px;
    145   margin: 0px 0px 17px 0px;
    146   color: #444;
     154    text-transform: none;
     155    font-size: 16px;
     156    line-height: 20px;
     157    letter-spacing: 0px;
     158    margin: 0px 0px 17px 0px;
     159    color: #444;
    147160}
    148161
    149162.sp-pcp-post .sp-pcp-post-content p:first-of-type {
    150   margin-top: 0;
     163    margin-top: 0;
    151164}
    152165
    153166.sp-pcp-post .sp-pcp-post-content p:last-of-type {
    154   margin-bottom: 0;
     167    margin-bottom: 0;
    155168}
    156169
    157170.sp-pcp-post .sp-pcp-post-content .sp-pcp-readmore {
    158   margin-top: 15px;
     171    margin-top: 15px;
    159172}
    160173
    161174.sp-pcp-post .sp-pcp-post-content .sp-pcp-readmore a {
    162   display: inline-block;
    163   border: 1px solid #888;
    164   padding: 7px 12px;
    165   box-shadow: 0 0 0;
    166   text-transform: uppercase;
    167   font-size: 12px;
    168   line-height: 18px;
    169   letter-spacing: 0px;
    170   background: transparent;
    171   color: #111;
    172   border-color: #888;
    173   border-radius: 0;
     175    display: inline-block;
     176    border: 1px solid #888;
     177    padding: 7px 12px;
     178    box-shadow: 0 0 0;
     179    text-transform: uppercase;
     180    font-size: 12px;
     181    line-height: 18px;
     182    letter-spacing: 0px;
     183    background: transparent;
     184    color: #111;
     185    border-color: #888;
     186    border-radius: 0;
    174187}
    175188
    176189/* Carousel */
    177190.pcp-carousel-wrapper .sp-pcp-carousel {
    178   padding-bottom: 60px;
    179   padding-top: 60px;
     191    padding-bottom: 60px;
     192    padding-top: 60px;
    180193}
    181194
    182195.pcp-carousel-wrapper .bottom_center.sp-pcp-carousel {
    183   padding-bottom: 72px;
    184 }
     196    padding-bottom: 72px;
     197}
     198
    185199.pcp-carousel-wrapper {
    186   position: relative;
     200    position: relative;
    187201}
    188202
    189203.pcp-carousel-wrapper .pcp-button-prev,
    190204.pcp-carousel-wrapper .pcp-button-next {
    191   background-image: none;
    192   background-size: auto;
    193   font-size: 25px;
    194   height: 33px;
    195   width: 33px;
    196   margin-top: 16px;
    197   /* border: 2px solid #444; */
    198   text-align: center;
    199   /* color: #444; */
    200   line-height: 31px;
    201   -webkit-transition: 0.3s;
     205    background-image: none;
     206    background-size: auto;
     207    font-size: 25px;
     208    height: 33px;
     209    width: 33px;
     210    margin-top: 16px;
     211    /* border: 2px solid #444; */
     212    text-align: center;
     213    /* color: #444; */
     214    line-height: 31px;
     215    -webkit-transition: 0.3s;
    202216}
    203217
    204218.pcp-carousel-wrapper .pcp-button-prev.top_right,
    205219.pcp-carousel-wrapper .pcp-button-next.top_right {
    206   top: 0;
    207   right: 0;
     220    top: 0;
     221    right: 0;
    208222}
    209223
    210224.pcp-carousel-wrapper .pcp-button-prev.top_right {
    211   right: 42px;
    212   left: auto;
     225    right: 42px;
     226    left: auto;
    213227}
    214228
    215229.pcp-carousel-wrapper .pcp-button-prev.top_center,
    216230.pcp-carousel-wrapper .pcp-button-next.top_center {
    217   top: 0;
    218   left: calc(50% + 5px);
    219   text-align: center;
     231    top: 0;
     232    left: calc(50% + 5px);
     233    text-align: center;
    220234}
    221235
    222236.pcp-carousel-wrapper .pcp-button-prev.top_center {
    223   right: auto;
    224   left: calc(50% - 40px);
     237    right: auto;
     238    left: calc(50% - 40px);
    225239}
    226240
    227241.pcp-carousel-wrapper .pcp-button-prev.top_left,
    228242.pcp-carousel-wrapper .pcp-button-next.top_left {
    229   top: 0;
    230   left: 0;
    231   text-align: center;
     243    top: 0;
     244    left: 0;
     245    text-align: center;
    232246}
    233247
    234248.pcp-carousel-wrapper .pcp-button-next.top_left {
    235   right: auto;
    236   left: 40px;
     249    right: auto;
     250    left: 40px;
    237251}
    238252
    239253.pcp-carousel-wrapper .swiper-button-prev::after,
    240254.pcp-carousel-wrapper .swiper-button-next::after {
    241   display: none;
    242 }
     255    display: none;
     256}
     257
    243258.swiper-lazy-preloader-black {
    244   --swiper-preloader-color: #888;
    245 }
     259    --swiper-preloader-color: #888;
     260}
     261
    246262.pcp-carousel-wrapper.center .swiper-slide .sp-pcp-post {
    247   transform: scale(0.9);
    248   opacity: 0.8;
    249   transition: 0.22s all;
    250 }
     263    transform: scale(0.9);
     264    opacity: 0.8;
     265    transition: 0.22s all;
     266}
     267
    251268.pcp-carousel-wrapper.center .swiper-slide.swiper-slide-active .sp-pcp-post {
    252   transform: scale(1.1);
    253   opacity: 1;
     269    transform: scale(1.1);
     270    opacity: 1;
    254271}
    255272
     
    257274.pcp-carousel-wrapper .pcp-button-prev.bottom_right,
    258275.pcp-carousel-wrapper .pcp-button-next.bottom_right {
    259   bottom: 0;
    260   right: 0;
    261   top: auto;
     276    bottom: 0;
     277    right: 0;
     278    top: auto;
    262279}
    263280
    264281.pcp-carousel-wrapper .pcp-button-prev.bottom_right {
    265   right: 44px;
    266   left: auto;
     282    right: 44px;
     283    left: auto;
    267284}
    268285
    269286.pcp-carousel-wrapper .pcp-button-prev.bottom_center,
    270287.pcp-carousel-wrapper .pcp-button-next.bottom_center {
    271   top: auto;
    272   bottom: 33px;
    273   left: calc(50% + 5px);
    274   text-align: center;
     288    top: auto;
     289    bottom: 33px;
     290    left: calc(50% + 5px);
     291    text-align: center;
    275292}
    276293
    277294.pcp-carousel-wrapper .pcp-button-prev.bottom_center {
    278   right: auto;
    279   left: calc(50% - 40px);
     295    right: auto;
     296    left: calc(50% - 40px);
    280297}
    281298
    282299.pcp-carousel-wrapper .pcp-button-prev.bottom_left,
    283300.pcp-carousel-wrapper .pcp-button-next.bottom_left {
    284   top: auto;
    285   bottom: 0;
    286   left: 0;
     301    top: auto;
     302    bottom: 0;
     303    left: 0;
    287304}
    288305
    289306.pcp-carousel-wrapper .pcp-button-next.bottom_left {
    290   right: auto;
    291   left: 40px;
    292 }
     307    right: auto;
     308    left: 40px;
     309}
     310
    293311.sp-pcp-post {
    294     direction: ltr
     312    direction: ltr
    295313}
    296314
    297315html[dir="rtl"] .sp-pcp-post {
    298     direction: rtl
    299 }
     316    direction: rtl
     317}
     318
    300319/* Center outer */
    301320/*
     
    337356/* Bullet pagination */
    338357
    339 .pcp-carousel-wrapper
    340   .swiper-pagination-bullets.dots
    341   .swiper-pagination-bullet {
    342   width: 11px;
    343   height: 11px;
    344   opacity: 1;
    345   margin: 0 4px;
    346 }
    347 .pcp-carousel-wrapper
    348   .swiper-pagination-bullets.number
    349   .swiper-pagination-bullet {
    350   margin: 0 4px;
    351   background: #444;
    352   padding: 5px 10px;
    353   border-radius: 0;
    354   opacity: 1;
    355   height: auto;
    356   color: #fff;
    357   width: auto;
    358   margin: 3px 3px;
    359   display: inline-block;
    360   font-size: 14px;
     358.pcp-carousel-wrapper .swiper-pagination-bullets.dots .swiper-pagination-bullet {
     359    width: 11px;
     360    height: 11px;
     361    opacity: 1;
     362    margin: 0 4px;
     363}
     364
     365.pcp-carousel-wrapper .swiper-pagination-bullets.number .swiper-pagination-bullet {
     366    margin: 0 4px;
     367    background: #444;
     368    padding: 5px 10px;
     369    border-radius: 0;
     370    opacity: 1;
     371    height: auto;
     372    color: #fff;
     373    width: auto;
     374    margin: 3px 3px;
     375    display: inline-block;
     376    font-size: 14px;
    361377}
    362378
     
    364380
    365381.sp-pcp-container {
    366   width: 100%;
    367   margin-right: auto;
    368   margin-left: auto;
    369   position: relative;
    370 }
    371 
    372 .sp-pcp-row.no-gutters > [class*="sp-pcp-col-"] {
    373   padding-right: 0;
    374   padding-left: 0;
     382    width: 100%;
     383    margin-right: auto;
     384    margin-left: auto;
     385    position: relative;
     386}
     387
     388.sp-pcp-row.no-gutters>[class*="sp-pcp-col-"] {
     389    padding-right: 0;
     390    padding-left: 0;
    375391}
    376392
    377393.sp-pcp-row {
    378   display: flex;
    379   flex-wrap: wrap;
    380   margin-right: -10px;
    381   margin-left: -10px;
     394    display: flex;
     395    flex-wrap: wrap;
     396    margin-right: -10px;
     397    margin-left: -10px;
    382398}
    383399
    384400.sp-pcp-row [class*="sp-pcp-col-"] {
    385   /* position: relative; */
    386   width: 100%;
    387   padding-right: 10px;
    388   padding-left: 10px;
    389   padding-bottom: 20px;
     401    /* position: relative; */
     402    width: 100%;
     403    padding-right: 10px;
     404    padding-left: 10px;
     405    padding-bottom: 20px;
    390406}
    391407
    392408@media (min-width: 1200px) {
    393   .sp-pcp-row .sp-pcp-col-xl-1 {
    394     flex: 0 0 100%;
    395     max-width: 100%;
    396   }
    397   .sp-pcp-row .sp-pcp-col-xl-2 {
    398     flex: 0 0 50%;
    399     max-width: 50%;
    400   }
    401   .sp-pcp-row .sp-pcp-col-xl-3 {
    402     flex: 0 0 33.22222222%;
    403     max-width: 33.22222222%;
    404   }
    405   .sp-pcp-row .sp-pcp-col-xl-4 {
    406     flex: 0 0 25%;
    407     max-width: 25%;
    408   }
    409   .sp-pcp-row .sp-pcp-col-xl-5 {
    410     flex: 0 0 20%;
    411     max-width: 20%;
    412   }
    413   .sp-pcp-row .sp-pcp-col-xl-6 {
    414     flex: 0 0 16.66666666666667%;
    415     max-width: 16.66666666666667%;
    416   }
    417   .sp-pcp-row .sp-pcp-col-xl-7 {
    418     flex: 0 0 14.28571428%;
    419     max-width: 14.28571428%;
    420   }
    421   .sp-pcp-row .sp-pcp-col-xl-8 {
    422     flex: 0 0 12.5%;
    423     max-width: 12.5%;
    424   }
     409    .sp-pcp-row .sp-pcp-col-xl-1 {
     410        flex: 0 0 100%;
     411        max-width: 100%;
     412    }
     413
     414    .sp-pcp-row .sp-pcp-col-xl-2 {
     415        flex: 0 0 50%;
     416        max-width: 50%;
     417    }
     418
     419    .sp-pcp-row .sp-pcp-col-xl-3 {
     420        flex: 0 0 33.22222222%;
     421        max-width: 33.22222222%;
     422    }
     423
     424    .sp-pcp-row .sp-pcp-col-xl-4 {
     425        flex: 0 0 25%;
     426        max-width: 25%;
     427    }
     428
     429    .sp-pcp-row .sp-pcp-col-xl-5 {
     430        flex: 0 0 20%;
     431        max-width: 20%;
     432    }
     433
     434    .sp-pcp-row .sp-pcp-col-xl-6 {
     435        flex: 0 0 16.66666666666667%;
     436        max-width: 16.66666666666667%;
     437    }
     438
     439    .sp-pcp-row .sp-pcp-col-xl-7 {
     440        flex: 0 0 14.28571428%;
     441        max-width: 14.28571428%;
     442    }
     443
     444    .sp-pcp-row .sp-pcp-col-xl-8 {
     445        flex: 0 0 12.5%;
     446        max-width: 12.5%;
     447    }
    425448}
    426449
    427450@media (max-width: 1200px) {
    428   .sp-pcp-row .sp-pcp-col-lg-1 {
    429     flex: 0 0 100%;
    430     max-width: 100%;
    431   }
    432   .sp-pcp-row .sp-pcp-col-lg-2 {
    433     flex: 0 0 50%;
    434     max-width: 50%;
    435   }
    436   .sp-pcp-row .sp-pcp-col-lg-3 {
    437     flex: 0 0 33.22222222%;
    438     max-width: 33.22222222%;
    439   }
    440   .sp-pcp-row .sp-pcp-col-lg-4 {
    441     flex: 0 0 25%;
    442     max-width: 25%;
    443   }
    444   .sp-pcp-row .sp-pcp-col-lg-5 {
    445     flex: 0 0 20%;
    446     max-width: 20%;
    447   }
    448   .sp-pcp-row .sp-pcp-col-lg-6 {
    449     flex: 0 0 16.66666666666667%;
    450     max-width: 16.66666666666667%;
    451   }
    452   .sp-pcp-row .sp-pcp-col-lg-7 {
    453     flex: 0 0 14.28571428%;
    454     max-width: 14.28571428%;
    455   }
    456   .sp-pcp-row .sp-pcp-col-lg-8 {
    457     flex: 0 0 12.5%;
    458     max-width: 12.5%;
    459   }
     451    .sp-pcp-row .sp-pcp-col-lg-1 {
     452        flex: 0 0 100%;
     453        max-width: 100%;
     454    }
     455
     456    .sp-pcp-row .sp-pcp-col-lg-2 {
     457        flex: 0 0 50%;
     458        max-width: 50%;
     459    }
     460
     461    .sp-pcp-row .sp-pcp-col-lg-3 {
     462        flex: 0 0 33.22222222%;
     463        max-width: 33.22222222%;
     464    }
     465
     466    .sp-pcp-row .sp-pcp-col-lg-4 {
     467        flex: 0 0 25%;
     468        max-width: 25%;
     469    }
     470
     471    .sp-pcp-row .sp-pcp-col-lg-5 {
     472        flex: 0 0 20%;
     473        max-width: 20%;
     474    }
     475
     476    .sp-pcp-row .sp-pcp-col-lg-6 {
     477        flex: 0 0 16.66666666666667%;
     478        max-width: 16.66666666666667%;
     479    }
     480
     481    .sp-pcp-row .sp-pcp-col-lg-7 {
     482        flex: 0 0 14.28571428%;
     483        max-width: 14.28571428%;
     484    }
     485
     486    .sp-pcp-row .sp-pcp-col-lg-8 {
     487        flex: 0 0 12.5%;
     488        max-width: 12.5%;
     489    }
    460490}
    461491
    462492@media (max-width: 992px) {
    463   .sp-pcp-row .sp-pcp-col-md-1 {
    464     flex: 0 0 100%;
    465     max-width: 100%;
    466   }
    467   .sp-pcp-row .sp-pcp-col-md-2 {
    468     flex: 0 0 50%;
    469     max-width: 50%;
    470   }
    471   .sp-pcp-row .sp-pcp-col-md-2-5 {
    472     flex: 0 0 75%;
    473     max-width: 75%;
    474   }
    475   .sp-pcp-row .sp-pcp-col-md-3 {
    476     flex: 0 0 33.333%;
    477     max-width: 33.333%;
    478   }
    479   .sp-pcp-row .sp-pcp-col-md-4 {
    480     flex: 0 0 25%;
    481     max-width: 25%;
    482   }
    483   .sp-pcp-row .sp-pcp-col-md-5 {
    484     flex: 0 0 20%;
    485     max-width: 20%;
    486   }
    487   .sp-pcp-row .sp-pcp-col-md-6 {
    488     flex: 0 0 16.66666666666667%;
    489     max-width: 16.66666666666667%;
    490   }
    491   .sp-pcp-row .sp-pcp-col-md-7 {
    492     flex: 0 0 14.28571428%;
    493     max-width: 14.28571428%;
    494   }
    495   .sp-pcp-row .sp-pcp-col-md-8 {
    496     flex: 0 0 12.5%;
    497     max-width: 12.5%;
    498   }
     493    .sp-pcp-row .sp-pcp-col-md-1 {
     494        flex: 0 0 100%;
     495        max-width: 100%;
     496    }
     497
     498    .sp-pcp-row .sp-pcp-col-md-2 {
     499        flex: 0 0 50%;
     500        max-width: 50%;
     501    }
     502
     503    .sp-pcp-row .sp-pcp-col-md-2-5 {
     504        flex: 0 0 75%;
     505        max-width: 75%;
     506    }
     507
     508    .sp-pcp-row .sp-pcp-col-md-3 {
     509        flex: 0 0 33.333%;
     510        max-width: 33.333%;
     511    }
     512
     513    .sp-pcp-row .sp-pcp-col-md-4 {
     514        flex: 0 0 25%;
     515        max-width: 25%;
     516    }
     517
     518    .sp-pcp-row .sp-pcp-col-md-5 {
     519        flex: 0 0 20%;
     520        max-width: 20%;
     521    }
     522
     523    .sp-pcp-row .sp-pcp-col-md-6 {
     524        flex: 0 0 16.66666666666667%;
     525        max-width: 16.66666666666667%;
     526    }
     527
     528    .sp-pcp-row .sp-pcp-col-md-7 {
     529        flex: 0 0 14.28571428%;
     530        max-width: 14.28571428%;
     531    }
     532
     533    .sp-pcp-row .sp-pcp-col-md-8 {
     534        flex: 0 0 12.5%;
     535        max-width: 12.5%;
     536    }
    499537}
    500538
    501539@media (max-width: 768px) {
    502   .sp-pcp-row .sp-pcp-col-sm-1 {
    503     flex: 0 0 100%;
    504     max-width: 100%;
    505   }
    506   .sp-pcp-row .sp-pcp-col-sm-2 {
    507     flex: 0 0 50%;
    508     max-width: 50%;
    509   }
    510   .sp-pcp-row .sp-pcp-col-sm-2-5 {
    511     flex: 0 0 75%;
    512     max-width: 75%;
    513   }
    514   .sp-pcp-row .sp-pcp-col-sm-3 {
    515     flex: 0 0 33.333%;
    516     max-width: 33.333%;
    517   }
    518   .sp-pcp-row .sp-pcp-col-sm-4 {
    519     flex: 0 0 25%;
    520     max-width: 25%;
    521   }
    522   .sp-pcp-row .sp-pcp-col-sm-5 {
    523     flex: 0 0 20%;
    524     max-width: 20%;
    525   }
    526   .sp-pcp-row .sp-pcp-col-sm-6 {
    527     flex: 0 0 16.66666666666667%;
    528     max-width: 16.66666666666667%;
    529   }
    530   .sp-pcp-row .sp-pcp-col-sm-7 {
    531     flex: 0 0 14.28571428%;
    532     max-width: 14.28571428%;
    533   }
    534   .sp-pcp-row .sp-pcp-col-sm-8 {
    535     flex: 0 0 12.5%;
    536     max-width: 12.5%;
    537   }
    538 }
     540    .sp-pcp-row .sp-pcp-col-sm-1 {
     541        flex: 0 0 100%;
     542        max-width: 100%;
     543    }
     544
     545    .sp-pcp-row .sp-pcp-col-sm-2 {
     546        flex: 0 0 50%;
     547        max-width: 50%;
     548    }
     549
     550    .sp-pcp-row .sp-pcp-col-sm-2-5 {
     551        flex: 0 0 75%;
     552        max-width: 75%;
     553    }
     554
     555    .sp-pcp-row .sp-pcp-col-sm-3 {
     556        flex: 0 0 33.333%;
     557        max-width: 33.333%;
     558    }
     559
     560    .sp-pcp-row .sp-pcp-col-sm-4 {
     561        flex: 0 0 25%;
     562        max-width: 25%;
     563    }
     564
     565    .sp-pcp-row .sp-pcp-col-sm-5 {
     566        flex: 0 0 20%;
     567        max-width: 20%;
     568    }
     569
     570    .sp-pcp-row .sp-pcp-col-sm-6 {
     571        flex: 0 0 16.66666666666667%;
     572        max-width: 16.66666666666667%;
     573    }
     574
     575    .sp-pcp-row .sp-pcp-col-sm-7 {
     576        flex: 0 0 14.28571428%;
     577        max-width: 14.28571428%;
     578    }
     579
     580    .sp-pcp-row .sp-pcp-col-sm-8 {
     581        flex: 0 0 12.5%;
     582        max-width: 12.5%;
     583    }
     584}
     585
    539586.pcp-post-pagination.pcp-on-mobile {
    540   display: none;
    541 }
     587    display: none;
     588}
     589
    542590@media (max-width: 420px) {
    543   .sp-pcp-row .sp-pcp-col-xs-1 {
    544     flex: 0 0 100%;
    545     max-width: 100%;
    546   }
    547   .sp-pcp-row .sp-pcp-col-xs-2 {
    548     flex: 0 0 50%;
    549     max-width: 50%;
    550   }
    551   .sp-pcp-row .sp-pcp-col-xs-3 {
    552     flex: 0 0 33.22222222%;
    553     max-width: 33.22222222%;
    554   }
    555   .sp-pcp-row .sp-pcp-col-xs-4 {
    556     flex: 0 0 25%;
    557     max-width: 25%;
    558   }
    559   .sp-pcp-row .sp-pcp-col-xs-5 {
    560     flex: 0 0 20%;
    561     max-width: 20%;
    562   }
    563   .sp-pcp-row .sp-pcp-col-xs-6 {
    564     flex: 0 0 16.66666666666667%;
    565     max-width: 16.66666666666667%;
    566   }
    567   .sp-pcp-row .sp-pcp-col-xs-7 {
    568     flex: 0 0 14.28571428%;
    569     max-width: 14.28571428%;
    570   }
    571   .sp-pcp-row .sp-pcp-col-xs-8 {
    572     flex: 0 0 12.5%;
    573     max-width: 12.5%;
    574   }
    575   .pcp-post-pagination.pcp-on-mobile:not(.pcp-hide) {
    576     display: block;
    577   }
    578   .pcp-post-pagination:not(.pcp-on-mobile) {
    579     display: none;
    580   }
     591    .sp-pcp-row .sp-pcp-col-xs-1 {
     592        flex: 0 0 100%;
     593        max-width: 100%;
     594    }
     595
     596    .sp-pcp-row .sp-pcp-col-xs-2 {
     597        flex: 0 0 50%;
     598        max-width: 50%;
     599    }
     600
     601    .sp-pcp-row .sp-pcp-col-xs-3 {
     602        flex: 0 0 33.22222222%;
     603        max-width: 33.22222222%;
     604    }
     605
     606    .sp-pcp-row .sp-pcp-col-xs-4 {
     607        flex: 0 0 25%;
     608        max-width: 25%;
     609    }
     610
     611    .sp-pcp-row .sp-pcp-col-xs-5 {
     612        flex: 0 0 20%;
     613        max-width: 20%;
     614    }
     615
     616    .sp-pcp-row .sp-pcp-col-xs-6 {
     617        flex: 0 0 16.66666666666667%;
     618        max-width: 16.66666666666667%;
     619    }
     620
     621    .sp-pcp-row .sp-pcp-col-xs-7 {
     622        flex: 0 0 14.28571428%;
     623        max-width: 14.28571428%;
     624    }
     625
     626    .sp-pcp-row .sp-pcp-col-xs-8 {
     627        flex: 0 0 12.5%;
     628        max-width: 12.5%;
     629    }
     630
     631    .pcp-post-pagination.pcp-on-mobile:not(.pcp-hide) {
     632        display: block;
     633    }
     634
     635    .pcp-post-pagination:not(.pcp-on-mobile) {
     636        display: none;
     637    }
    581638}
    582639
    583640/* post pagination */
    584641.pcp-post-pagination {
    585   margin-top: 20px;
    586   margin-bottom: 30px;
    587 }
     642    margin-top: 20px;
     643    margin-bottom: 30px;
     644}
     645
    588646.pcp-post-pagination a,
    589647.pcp-post-pagination .page-numbers {
    590   background: #fff;
    591   color: #5e5e5e;
    592   border: 2px solid #bbb;
    593   width: 34px;
    594   height: 34px;
    595   line-height: 34px;
    596   font-size: 14px;
    597   text-align: center;
    598   display: inline-block;
    599   font-weight: 700;
    600   margin-right: 4px;
    601   text-decoration: none;
    602   font-weight: 700;
    603   border-radius: 3px;
    604   -webkit-transition: all 0.33s;
    605   transition: all 0.33s;
    606   -webkit-box-sizing: content-box;
    607   box-sizing: content-box;
    608   cursor: pointer;
    609 }
     648    background: #fff;
     649    color: #5e5e5e;
     650    border: 2px solid #bbb;
     651    width: 34px;
     652    height: 34px;
     653    line-height: 34px;
     654    font-size: 14px;
     655    text-align: center;
     656    display: inline-block;
     657    font-weight: 700;
     658    margin-right: 4px;
     659    text-decoration: none;
     660    font-weight: 700;
     661    border-radius: 3px;
     662    -webkit-transition: all 0.33s;
     663    transition: all 0.33s;
     664    -webkit-box-sizing: content-box;
     665    box-sizing: content-box;
     666    cursor: pointer;
     667}
     668
    610669.pcp-post-pagination a.pcp_next.active,
    611670.pcp-post-pagination a.pcp_prev.active {
    612   display: none;
    613 }
     671    display: none;
     672}
     673
    614674.pcp-post-pagination .page-numbers.current,
    615675.pcp-post-pagination a.active {
    616   cursor: auto;
    617   color: #fff;
    618   background: #e1624b;
    619   border-color: #e1624b;
    620 }
     676    cursor: auto;
     677    color: #fff;
     678    background: #e1624b;
     679    border-color: #e1624b;
     680}
     681
    621682.pcp-load-more button {
    622   margin-top: 20px;
    623   box-shadow: none;
    624   border: none;
    625   border-radius: 2px;
    626   padding: 10px 18px;
    627   background: #e1624b;
    628   color: #fff;
    629   font-size: 14px;
    630   text-transform: uppercase;
    631   font-weight: 500;
    632 }
     683    margin-top: 20px;
     684    box-shadow: none;
     685    border: none;
     686    border-radius: 2px;
     687    padding: 10px 18px;
     688    background: #e1624b;
     689    color: #fff;
     690    font-size: 14px;
     691    text-transform: uppercase;
     692    font-weight: 500;
     693}
     694
    633695.pcp-hide {
    634   display: none;
    635 }
     696    display: none;
     697}
     698
    636699.pcp-post-pagination a.pcp-hide,
    637700.pcp-post-pagination .page-numbers.pcp-hide {
    638   display: none;
    639 }
     701    display: none;
     702}
     703
    640704.pcp-infinite-scroll-loader svg {
    641   stroke: #e1624b;
    642 }
    643 
     705    stroke: #e1624b;
     706}
     707
     708.pcp-carousel-wrapper.standard .sp-pcp-carousel:not(.swiper-container-initialized) .swiper-wrapper {
     709    display: flex;
     710    width: unset;
     711}
     712
     713@media screen and (min-width: 992px) {
     714    .pcp-carousel-wrapper.standard .sp-pcp-carousel:not(.swiper-container-initialized) .swiper-wrapper {
     715        margin-left: -20px;
     716    }
     717    .pcp-carousel-wrapper.standard .sp-pcp-carousel:not(.swiper-container-initialized) .swiper-wrapper>.swiper-slide {
     718        width: 25%;
     719        min-width: 25%;
     720        padding-left: 20px;
     721    }
     722}
    644723
    645724/**
     
    647726 */
    648727.pcp-ajax-preloader {
    649   text-align: center;
    650 }
     728    text-align: center;
     729}
     730
    651731/* Preloader */
    652732.pcp-preloader {
    653   background-color: #fff;
    654   background-image: url(../img/preloader.svg);
    655   background-repeat: no-repeat;
    656   background-position: center center;
    657   position: absolute;
    658   z-index: 9999;
    659   width: 100%;
    660   height: 100%;
    661   visibility: visible;
    662 }
     733    background-color: #fff;
     734    background-image: url(../img/preloader.svg);
     735    background-repeat: no-repeat;
     736    background-position: center center;
     737    position: absolute;
     738    z-index: 9999;
     739    width: 100%;
     740    height: 100%;
     741    visibility: visible;
     742}
  • post-carousel/trunk/public/assets/css/style.min.css

    r2716623 r2742717  
    1 .pcp-demo-section{max-width:1200px;margin:0 auto}.pcp-section-padding{padding:80px 0}.pcp-align-left{text-align:left}.pcp-align-center{text-align:center}.pcp-align-right{text-align:right}.sp-pcp-section{color:#444}.entry .entry-content .sp-pcp-section a,.sp-pcp-section a{text-decoration:none;transition:all .33s}.sp-pcp-section img{max-width:100%;vertical-align:middle}.sp-pcp-section *{box-sizing:border-box}.sp-pcp-section .swiper-container{position:initial}.sp-pcp-section .swiper-container.sp-pcp-carousel.top_right{position:relative}.sp-pcp-post .sp-pcp-thumb img:focus,.sp-pcp-post .sp-pcp-thumb img:hover,.sp-pcp-post .sp-pcp-thumb:focus,.sp-pcp-post .sp-pcp-thumb:hover{outline:0;text-decoration:none;outline-offset:0;color:transparent;border:none}.sp-pcp-post{display:-webkit-flex;display:flex;flex-direction:column;overflow:hidden}.sp-pcp-post a{text-decoration:none}.sp-pcp-post .pcp-post-thumb-wrapper{overflow:hidden;display:block;margin-bottom:11px}.sp-pcp-post .sp-pcp-post-thumb-area{position:relative}.sp-pcp-post .sp-pcp-post-thumb-area img{max-width:100%;transition:ease all .3s;height:100%}.sp-pcp-post .sp-pcp-title{margin:0;font-size:15px}.sp-pcp-post .sp-pcp-title{margin:0 0 9px 0}.sp-pcp-post .sp-pcp-title,.sp-pcp-post .sp-pcp-title a{text-transform:none;font-size:20px;line-height:24px;color:#111;font-weight:400}.sp-pcp-post .sp-pcp-post-meta{margin:0 0 9px 0;text-align:left}.sp-pcp-post .sp-pcp-post-meta ul{list-style:none;margin:0;padding:0;line-height:1}.sp-pcp-post .sp-pcp-post-meta ul li{display:inline-block;margin:0 5px 5px 0}.sp-pcp-post .sp-pcp-post-meta ul li .fa,.sp-pcp-post .sp_pcp_cf_list .fa{margin-right:3px}.sp-pcp-post .sp-pcp-post-meta ul li a{display:inline-block;text-decoration:none;box-shadow:none}.sp-pcp-post .sp-pcp-post-meta li,.sp-pcp-post .sp-pcp-post-meta li a,.sp-pcp-post .sp-pcp-post-meta ul{text-transform:none;font-size:14px;line-height:16px;letter-spacing:0;color:#888}.sp-pcp-post .sp-pcp-post-content{text-transform:none;font-size:16px;line-height:20px;letter-spacing:0;margin:0 0 17px 0;color:#444}.sp-pcp-post .sp-pcp-post-content p:first-of-type{margin-top:0}.sp-pcp-post .sp-pcp-post-content p:last-of-type{margin-bottom:0}.sp-pcp-post .sp-pcp-post-content .sp-pcp-readmore{margin-top:15px}.sp-pcp-post .sp-pcp-post-content .sp-pcp-readmore a{display:inline-block;border:1px solid #888;padding:7px 12px;box-shadow:0 0 0;text-transform:uppercase;font-size:12px;line-height:18px;letter-spacing:0;background:0 0;color:#111;border-color:#888;border-radius:0}.pcp-carousel-wrapper .sp-pcp-carousel{padding-bottom:60px;padding-top:60px}.pcp-carousel-wrapper .bottom_center.sp-pcp-carousel{padding-bottom:72px}.pcp-carousel-wrapper{position:relative}.pcp-carousel-wrapper .pcp-button-next,.pcp-carousel-wrapper .pcp-button-prev{background-image:none;background-size:auto;font-size:25px;height:33px;width:33px;margin-top:16px;text-align:center;line-height:31px;-webkit-transition:.3s}.pcp-carousel-wrapper .pcp-button-next.top_right,.pcp-carousel-wrapper .pcp-button-prev.top_right{top:0;right:0}.pcp-carousel-wrapper .pcp-button-prev.top_right{right:42px;left:auto}.pcp-carousel-wrapper .pcp-button-next.top_center,.pcp-carousel-wrapper .pcp-button-prev.top_center{top:0;left:calc(50% + 5px);text-align:center}.pcp-carousel-wrapper .pcp-button-prev.top_center{right:auto;left:calc(50% - 40px)}.pcp-carousel-wrapper .pcp-button-next.top_left,.pcp-carousel-wrapper .pcp-button-prev.top_left{top:0;left:0;text-align:center}.pcp-carousel-wrapper .pcp-button-next.top_left{right:auto;left:40px}.pcp-carousel-wrapper .swiper-button-next::after,.pcp-carousel-wrapper .swiper-button-prev::after{display:none}.swiper-lazy-preloader-black{--swiper-preloader-color:#888}.pcp-carousel-wrapper.center .swiper-slide .sp-pcp-post{transform:scale(.9);opacity:.8;transition:.22s all}.pcp-carousel-wrapper.center .swiper-slide.swiper-slide-active .sp-pcp-post{transform:scale(1.1);opacity:1}.pcp-carousel-wrapper .pcp-button-next.bottom_right,.pcp-carousel-wrapper .pcp-button-prev.bottom_right{bottom:0;right:0;top:auto}.pcp-carousel-wrapper .pcp-button-prev.bottom_right{right:44px;left:auto}.pcp-carousel-wrapper .pcp-button-next.bottom_center,.pcp-carousel-wrapper .pcp-button-prev.bottom_center{top:auto;bottom:33px;left:calc(50% + 5px);text-align:center}.pcp-carousel-wrapper .pcp-button-prev.bottom_center{right:auto;left:calc(50% - 40px)}.pcp-carousel-wrapper .pcp-button-next.bottom_left,.pcp-carousel-wrapper .pcp-button-prev.bottom_left{top:auto;bottom:0;left:0}.pcp-carousel-wrapper .pcp-button-next.bottom_left{right:auto;left:40px}.sp-pcp-post{direction:ltr}html[dir=rtl] .sp-pcp-post{direction:rtl}.pcp-carousel-wrapper .swiper-pagination-bullets.dots .swiper-pagination-bullet{width:11px;height:11px;opacity:1;margin:0 4px}.pcp-carousel-wrapper .swiper-pagination-bullets.number .swiper-pagination-bullet{margin:0 4px;background:#444;padding:5px 10px;border-radius:0;opacity:1;height:auto;color:#fff;width:auto;margin:3px 3px;display:inline-block;font-size:14px}.sp-pcp-container{width:100%;margin-right:auto;margin-left:auto;position:relative}.sp-pcp-row.no-gutters>[class*=sp-pcp-col-]{padding-right:0;padding-left:0}.sp-pcp-row{display:flex;flex-wrap:wrap;margin-right:-10px;margin-left:-10px}.sp-pcp-row [class*=sp-pcp-col-]{width:100%;padding-right:10px;padding-left:10px;padding-bottom:20px}@media (min-width:1200px){.sp-pcp-row .sp-pcp-col-xl-1{flex:0 0 100%;max-width:100%}.sp-pcp-row .sp-pcp-col-xl-2{flex:0 0 50%;max-width:50%}.sp-pcp-row .sp-pcp-col-xl-3{flex:0 0 33.22222222%;max-width:33.22222222%}.sp-pcp-row .sp-pcp-col-xl-4{flex:0 0 25%;max-width:25%}.sp-pcp-row .sp-pcp-col-xl-5{flex:0 0 20%;max-width:20%}.sp-pcp-row .sp-pcp-col-xl-6{flex:0 0 16.66666666666667%;max-width:16.66666666666667%}.sp-pcp-row .sp-pcp-col-xl-7{flex:0 0 14.28571428%;max-width:14.28571428%}.sp-pcp-row .sp-pcp-col-xl-8{flex:0 0 12.5%;max-width:12.5%}}@media (max-width:1200px){.sp-pcp-row .sp-pcp-col-lg-1{flex:0 0 100%;max-width:100%}.sp-pcp-row .sp-pcp-col-lg-2{flex:0 0 50%;max-width:50%}.sp-pcp-row .sp-pcp-col-lg-3{flex:0 0 33.22222222%;max-width:33.22222222%}.sp-pcp-row .sp-pcp-col-lg-4{flex:0 0 25%;max-width:25%}.sp-pcp-row .sp-pcp-col-lg-5{flex:0 0 20%;max-width:20%}.sp-pcp-row .sp-pcp-col-lg-6{flex:0 0 16.66666666666667%;max-width:16.66666666666667%}.sp-pcp-row .sp-pcp-col-lg-7{flex:0 0 14.28571428%;max-width:14.28571428%}.sp-pcp-row .sp-pcp-col-lg-8{flex:0 0 12.5%;max-width:12.5%}}@media (max-width:992px){.sp-pcp-row .sp-pcp-col-md-1{flex:0 0 100%;max-width:100%}.sp-pcp-row .sp-pcp-col-md-2{flex:0 0 50%;max-width:50%}.sp-pcp-row .sp-pcp-col-md-2-5{flex:0 0 75%;max-width:75%}.sp-pcp-row .sp-pcp-col-md-3{flex:0 0 33.333%;max-width:33.333%}.sp-pcp-row .sp-pcp-col-md-4{flex:0 0 25%;max-width:25%}.sp-pcp-row .sp-pcp-col-md-5{flex:0 0 20%;max-width:20%}.sp-pcp-row .sp-pcp-col-md-6{flex:0 0 16.66666666666667%;max-width:16.66666666666667%}.sp-pcp-row .sp-pcp-col-md-7{flex:0 0 14.28571428%;max-width:14.28571428%}.sp-pcp-row .sp-pcp-col-md-8{flex:0 0 12.5%;max-width:12.5%}}@media (max-width:768px){.sp-pcp-row .sp-pcp-col-sm-1{flex:0 0 100%;max-width:100%}.sp-pcp-row .sp-pcp-col-sm-2{flex:0 0 50%;max-width:50%}.sp-pcp-row .sp-pcp-col-sm-2-5{flex:0 0 75%;max-width:75%}.sp-pcp-row .sp-pcp-col-sm-3{flex:0 0 33.333%;max-width:33.333%}.sp-pcp-row .sp-pcp-col-sm-4{flex:0 0 25%;max-width:25%}.sp-pcp-row .sp-pcp-col-sm-5{flex:0 0 20%;max-width:20%}.sp-pcp-row .sp-pcp-col-sm-6{flex:0 0 16.66666666666667%;max-width:16.66666666666667%}.sp-pcp-row .sp-pcp-col-sm-7{flex:0 0 14.28571428%;max-width:14.28571428%}.sp-pcp-row .sp-pcp-col-sm-8{flex:0 0 12.5%;max-width:12.5%}}.pcp-post-pagination.pcp-on-mobile{display:none}@media (max-width:420px){.sp-pcp-row .sp-pcp-col-xs-1{flex:0 0 100%;max-width:100%}.sp-pcp-row .sp-pcp-col-xs-2{flex:0 0 50%;max-width:50%}.sp-pcp-row .sp-pcp-col-xs-3{flex:0 0 33.22222222%;max-width:33.22222222%}.sp-pcp-row .sp-pcp-col-xs-4{flex:0 0 25%;max-width:25%}.sp-pcp-row .sp-pcp-col-xs-5{flex:0 0 20%;max-width:20%}.sp-pcp-row .sp-pcp-col-xs-6{flex:0 0 16.66666666666667%;max-width:16.66666666666667%}.sp-pcp-row .sp-pcp-col-xs-7{flex:0 0 14.28571428%;max-width:14.28571428%}.sp-pcp-row .sp-pcp-col-xs-8{flex:0 0 12.5%;max-width:12.5%}.pcp-post-pagination.pcp-on-mobile:not(.pcp-hide){display:block}.pcp-post-pagination:not(.pcp-on-mobile){display:none}}.pcp-post-pagination{margin-top:20px;margin-bottom:30px}.pcp-post-pagination .page-numbers,.pcp-post-pagination a{background:#fff;color:#5e5e5e;border:2px solid #bbb;width:34px;height:34px;line-height:34px;font-size:14px;text-align:center;display:inline-block;font-weight:700;margin-right:4px;text-decoration:none;font-weight:700;border-radius:3px;-webkit-transition:all .33s;transition:all .33s;-webkit-box-sizing:content-box;box-sizing:content-box;cursor:pointer}.pcp-post-pagination a.pcp_next.active,.pcp-post-pagination a.pcp_prev.active{display:none}.pcp-post-pagination .page-numbers.current,.pcp-post-pagination a.active{cursor:auto;color:#fff;background:#e1624b;border-color:#e1624b}.pcp-load-more button{margin-top:20px;box-shadow:none;border:none;border-radius:2px;padding:10px 18px;background:#e1624b;color:#fff;font-size:14px;text-transform:uppercase;font-weight:500}.pcp-hide{display:none}.pcp-post-pagination .page-numbers.pcp-hide,.pcp-post-pagination a.pcp-hide{display:none}.pcp-infinite-scroll-loader svg{stroke:#e1624b}.pcp-ajax-preloader{text-align:center}.pcp-preloader{background-color:#fff;background-image:url(../img/preloader.svg);background-repeat:no-repeat;background-position:center center;position:absolute;z-index:9999;width:100%;height:100%;visibility:visible}
     1.pcp-demo-section{max-width:1200px;margin:0 auto}.pcp-section-padding{padding:80px 0}.pcp-align-left{text-align:left}.pcp-align-center{text-align:center}.pcp-align-right{text-align:right}.sp-pcp-section{color:#444}.entry .entry-content .sp-pcp-section a,.sp-pcp-section a{text-decoration:none;transition:all .33s}.sp-pcp-section img{max-width:100%;vertical-align:middle}.sp-pcp-section *{box-sizing:border-box}.sp-pcp-section .swiper-container{position:initial}.sp-pcp-section .swiper-container.sp-pcp-carousel.top_right{position:relative}.sp-pcp-post .sp-pcp-thumb img:focus,.sp-pcp-post .sp-pcp-thumb img:hover,.sp-pcp-post .sp-pcp-thumb:focus,.sp-pcp-post .sp-pcp-thumb:hover{outline:0;text-decoration:none;outline-offset:0;color:transparent;border:none}.sp-pcp-post{display:-webkit-flex;display:flex;flex-direction:column;overflow:hidden}.sp-pcp-post a{text-decoration:none}.sp-pcp-post .pcp-post-thumb-wrapper{overflow:hidden;display:block;margin-bottom:11px}.sp-pcp-post .sp-pcp-post-thumb-area{position:relative}.sp-pcp-post .sp-pcp-post-thumb-area img{max-width:100%;transition:ease all .3s;height:100%}.sp-pcp-post .sp-pcp-title{margin:0;font-size:15px}.sp-pcp-post .sp-pcp-title{margin:0 0 9px 0}.sp-pcp-post .sp-pcp-title,.sp-pcp-post .sp-pcp-title a{text-transform:none;font-size:20px;line-height:24px;color:#111;font-weight:400}.sp-pcp-post .sp-pcp-post-meta{margin:0 0 9px 0;text-align:left}.sp-pcp-post .sp-pcp-post-meta ul{list-style:none;margin:0;padding:0;line-height:1}.sp-pcp-post .sp-pcp-post-meta ul li{display:inline-block;margin:0 5px 5px 0}.sp-pcp-post .sp-pcp-post-meta ul li .fa,.sp-pcp-post .sp_pcp_cf_list .fa{margin-right:3px}.sp-pcp-post .sp-pcp-post-meta ul li a{display:inline-block;text-decoration:none;box-shadow:none}.sp-pcp-post .sp-pcp-post-meta li,.sp-pcp-post .sp-pcp-post-meta li a,.sp-pcp-post .sp-pcp-post-meta ul{text-transform:none;font-size:14px;line-height:16px;letter-spacing:0;color:#888}.sp-pcp-post .sp-pcp-post-content{text-transform:none;font-size:16px;line-height:20px;letter-spacing:0;margin:0 0 17px 0;color:#444}.sp-pcp-post .sp-pcp-post-content p:first-of-type{margin-top:0}.sp-pcp-post .sp-pcp-post-content p:last-of-type{margin-bottom:0}.sp-pcp-post .sp-pcp-post-content .sp-pcp-readmore{margin-top:15px}.sp-pcp-post .sp-pcp-post-content .sp-pcp-readmore a{display:inline-block;border:1px solid #888;padding:7px 12px;box-shadow:0 0 0;text-transform:uppercase;font-size:12px;line-height:18px;letter-spacing:0;background:0 0;color:#111;border-color:#888;border-radius:0}.pcp-carousel-wrapper .sp-pcp-carousel{padding-bottom:60px;padding-top:60px}.pcp-carousel-wrapper .bottom_center.sp-pcp-carousel{padding-bottom:72px}.pcp-carousel-wrapper{position:relative}.pcp-carousel-wrapper .pcp-button-next,.pcp-carousel-wrapper .pcp-button-prev{background-image:none;background-size:auto;font-size:25px;height:33px;width:33px;margin-top:16px;text-align:center;line-height:31px;-webkit-transition:.3s}.pcp-carousel-wrapper .pcp-button-next.top_right,.pcp-carousel-wrapper .pcp-button-prev.top_right{top:0;right:0}.pcp-carousel-wrapper .pcp-button-prev.top_right{right:42px;left:auto}.pcp-carousel-wrapper .pcp-button-next.top_center,.pcp-carousel-wrapper .pcp-button-prev.top_center{top:0;left:calc(50% + 5px);text-align:center}.pcp-carousel-wrapper .pcp-button-prev.top_center{right:auto;left:calc(50% - 40px)}.pcp-carousel-wrapper .pcp-button-next.top_left,.pcp-carousel-wrapper .pcp-button-prev.top_left{top:0;left:0;text-align:center}.pcp-carousel-wrapper .pcp-button-next.top_left{right:auto;left:40px}.pcp-carousel-wrapper .swiper-button-next::after,.pcp-carousel-wrapper .swiper-button-prev::after{display:none}.swiper-lazy-preloader-black{--swiper-preloader-color:#888}.pcp-carousel-wrapper.center .swiper-slide .sp-pcp-post{transform:scale(.9);opacity:.8;transition:.22s all}.pcp-carousel-wrapper.center .swiper-slide.swiper-slide-active .sp-pcp-post{transform:scale(1.1);opacity:1}.pcp-carousel-wrapper .pcp-button-next.bottom_right,.pcp-carousel-wrapper .pcp-button-prev.bottom_right{bottom:0;right:0;top:auto}.pcp-carousel-wrapper .pcp-button-prev.bottom_right{right:44px;left:auto}.pcp-carousel-wrapper .pcp-button-next.bottom_center,.pcp-carousel-wrapper .pcp-button-prev.bottom_center{top:auto;bottom:33px;left:calc(50% + 5px);text-align:center}.pcp-carousel-wrapper .pcp-button-prev.bottom_center{right:auto;left:calc(50% - 40px)}.pcp-carousel-wrapper .pcp-button-next.bottom_left,.pcp-carousel-wrapper .pcp-button-prev.bottom_left{top:auto;bottom:0;left:0}.pcp-carousel-wrapper .pcp-button-next.bottom_left{right:auto;left:40px}.sp-pcp-post{direction:ltr}html[dir=rtl] .sp-pcp-post{direction:rtl}.pcp-carousel-wrapper .swiper-pagination-bullets.dots .swiper-pagination-bullet{width:11px;height:11px;opacity:1;margin:0 4px}.pcp-carousel-wrapper .swiper-pagination-bullets.number .swiper-pagination-bullet{margin:0 4px;background:#444;padding:5px 10px;border-radius:0;opacity:1;height:auto;color:#fff;width:auto;margin:3px 3px;display:inline-block;font-size:14px}.sp-pcp-container{width:100%;margin-right:auto;margin-left:auto;position:relative}.sp-pcp-row.no-gutters>[class*=sp-pcp-col-]{padding-right:0;padding-left:0}.sp-pcp-row{display:flex;flex-wrap:wrap;margin-right:-10px;margin-left:-10px}.sp-pcp-row [class*=sp-pcp-col-]{width:100%;padding-right:10px;padding-left:10px;padding-bottom:20px}@media (min-width:1200px){.sp-pcp-row .sp-pcp-col-xl-1{flex:0 0 100%;max-width:100%}.sp-pcp-row .sp-pcp-col-xl-2{flex:0 0 50%;max-width:50%}.sp-pcp-row .sp-pcp-col-xl-3{flex:0 0 33.22222222%;max-width:33.22222222%}.sp-pcp-row .sp-pcp-col-xl-4{flex:0 0 25%;max-width:25%}.sp-pcp-row .sp-pcp-col-xl-5{flex:0 0 20%;max-width:20%}.sp-pcp-row .sp-pcp-col-xl-6{flex:0 0 16.66666666666667%;max-width:16.66666666666667%}.sp-pcp-row .sp-pcp-col-xl-7{flex:0 0 14.28571428%;max-width:14.28571428%}.sp-pcp-row .sp-pcp-col-xl-8{flex:0 0 12.5%;max-width:12.5%}}@media (max-width:1200px){.sp-pcp-row .sp-pcp-col-lg-1{flex:0 0 100%;max-width:100%}.sp-pcp-row .sp-pcp-col-lg-2{flex:0 0 50%;max-width:50%}.sp-pcp-row .sp-pcp-col-lg-3{flex:0 0 33.22222222%;max-width:33.22222222%}.sp-pcp-row .sp-pcp-col-lg-4{flex:0 0 25%;max-width:25%}.sp-pcp-row .sp-pcp-col-lg-5{flex:0 0 20%;max-width:20%}.sp-pcp-row .sp-pcp-col-lg-6{flex:0 0 16.66666666666667%;max-width:16.66666666666667%}.sp-pcp-row .sp-pcp-col-lg-7{flex:0 0 14.28571428%;max-width:14.28571428%}.sp-pcp-row .sp-pcp-col-lg-8{flex:0 0 12.5%;max-width:12.5%}}@media (max-width:992px){.sp-pcp-row .sp-pcp-col-md-1{flex:0 0 100%;max-width:100%}.sp-pcp-row .sp-pcp-col-md-2{flex:0 0 50%;max-width:50%}.sp-pcp-row .sp-pcp-col-md-2-5{flex:0 0 75%;max-width:75%}.sp-pcp-row .sp-pcp-col-md-3{flex:0 0 33.333%;max-width:33.333%}.sp-pcp-row .sp-pcp-col-md-4{flex:0 0 25%;max-width:25%}.sp-pcp-row .sp-pcp-col-md-5{flex:0 0 20%;max-width:20%}.sp-pcp-row .sp-pcp-col-md-6{flex:0 0 16.66666666666667%;max-width:16.66666666666667%}.sp-pcp-row .sp-pcp-col-md-7{flex:0 0 14.28571428%;max-width:14.28571428%}.sp-pcp-row .sp-pcp-col-md-8{flex:0 0 12.5%;max-width:12.5%}}@media (max-width:768px){.sp-pcp-row .sp-pcp-col-sm-1{flex:0 0 100%;max-width:100%}.sp-pcp-row .sp-pcp-col-sm-2{flex:0 0 50%;max-width:50%}.sp-pcp-row .sp-pcp-col-sm-2-5{flex:0 0 75%;max-width:75%}.sp-pcp-row .sp-pcp-col-sm-3{flex:0 0 33.333%;max-width:33.333%}.sp-pcp-row .sp-pcp-col-sm-4{flex:0 0 25%;max-width:25%}.sp-pcp-row .sp-pcp-col-sm-5{flex:0 0 20%;max-width:20%}.sp-pcp-row .sp-pcp-col-sm-6{flex:0 0 16.66666666666667%;max-width:16.66666666666667%}.sp-pcp-row .sp-pcp-col-sm-7{flex:0 0 14.28571428%;max-width:14.28571428%}.sp-pcp-row .sp-pcp-col-sm-8{flex:0 0 12.5%;max-width:12.5%}}.pcp-post-pagination.pcp-on-mobile{display:none}@media (max-width:420px){.sp-pcp-row .sp-pcp-col-xs-1{flex:0 0 100%;max-width:100%}.sp-pcp-row .sp-pcp-col-xs-2{flex:0 0 50%;max-width:50%}.sp-pcp-row .sp-pcp-col-xs-3{flex:0 0 33.22222222%;max-width:33.22222222%}.sp-pcp-row .sp-pcp-col-xs-4{flex:0 0 25%;max-width:25%}.sp-pcp-row .sp-pcp-col-xs-5{flex:0 0 20%;max-width:20%}.sp-pcp-row .sp-pcp-col-xs-6{flex:0 0 16.66666666666667%;max-width:16.66666666666667%}.sp-pcp-row .sp-pcp-col-xs-7{flex:0 0 14.28571428%;max-width:14.28571428%}.sp-pcp-row .sp-pcp-col-xs-8{flex:0 0 12.5%;max-width:12.5%}.pcp-post-pagination.pcp-on-mobile:not(.pcp-hide){display:block}.pcp-post-pagination:not(.pcp-on-mobile){display:none}}.pcp-post-pagination{margin-top:20px;margin-bottom:30px}.pcp-post-pagination .page-numbers,.pcp-post-pagination a{background:#fff;color:#5e5e5e;border:2px solid #bbb;width:34px;height:34px;line-height:34px;font-size:14px;text-align:center;display:inline-block;font-weight:700;margin-right:4px;text-decoration:none;font-weight:700;border-radius:3px;-webkit-transition:all .33s;transition:all .33s;-webkit-box-sizing:content-box;box-sizing:content-box;cursor:pointer}.pcp-post-pagination a.pcp_next.active,.pcp-post-pagination a.pcp_prev.active{display:none}.pcp-post-pagination .page-numbers.current,.pcp-post-pagination a.active{cursor:auto;color:#fff;background:#e1624b;border-color:#e1624b}.pcp-load-more button{margin-top:20px;box-shadow:none;border:none;border-radius:2px;padding:10px 18px;background:#e1624b;color:#fff;font-size:14px;text-transform:uppercase;font-weight:500}.pcp-hide{display:none}.pcp-post-pagination .page-numbers.pcp-hide,.pcp-post-pagination a.pcp-hide{display:none}.pcp-infinite-scroll-loader svg{stroke:#e1624b}.pcp-carousel-wrapper.standard .sp-pcp-carousel:not(.swiper-container-initialized) .swiper-wrapper{display:flex;width:unset}@media screen and (min-width:992px){.pcp-carousel-wrapper.standard .sp-pcp-carousel:not(.swiper-container-initialized) .swiper-wrapper{margin-left:-20px}.pcp-carousel-wrapper.standard .sp-pcp-carousel:not(.swiper-container-initialized) .swiper-wrapper>.swiper-slide{width:25%;min-width:25%;padding-left:20px}}.pcp-ajax-preloader{text-align:center}.pcp-preloader{background-color:#fff;background-image:url(../img/preloader.svg);background-repeat:no-repeat;background-position:center center;position:absolute;z-index:9999;width:100%;height:100%;visibility:visible}
  • post-carousel/trunk/readme.txt

    r2726027 r2742717  
    55Requires at least: 4.5
    66Tested up to: 6.0
    7 Stable tag: 2.4.13
     7Stable tag: 2.4.14
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    186186
    187187== Changelog ==
     188
     189= 2.4.14 - Jun 15, 2022 =
     190* Fix: The premium page warnings.
     191* Fix: CLS issue of carousel layout.
    188192
    189193= 2.4.13 - May 18, 2022 =
Note: See TracChangeset for help on using the changeset viewer.