Plugin Directory

Changeset 1974053


Ignore:
Timestamp:
11/14/2018 08:14:26 AM (7 years ago)
Author:
mmuhsin
Message:

Tested up to WordPress 5.0

Location:
testimonials-slider-block/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • testimonials-slider-block/trunk/dist/blocks.style.build.css

    r1972900 r1974053  
    1 .gts-testimonial-block{padding:20px;background:#f3f3f3;margin-bottom:1em;border-radius:10px;min-height:160px}.gts-testimonial-block blockquote{border-left:none;margin-bottom:1em}.testimonial-slider{margin-bottom:2em}.testimonial-text{font-size:1.5em;line-height:1.5;font-style:normal}.testimonial-author-container{text-align:center}.testimonial-author-link,.testimonial-author-name{padding-left:12px;margin-bottom:5px;font-style:normal}span.testimonial-author{font-style:normal}.fa.fa-quote-left{padding-right:12px;padding-left:8px;font-size:1.25em}.fa.fa-quote-right{padding-left:12px;font-size:1.25em}ol.carousel-indicators{bottom:-25px}ol.carousel-indicators li{background-color:rgba(167,167,167,0.5)}ol.carousel-indicators .active{background-color:black}.entry-content a.carousel-control-prev,.entry-content a.carousel-control-next{-webkit-box-shadow:none;box-shadow:none;border-bottom:none}.entry-content a.carousel-control-prev:hover,.entry-content a.carousel-control-prev:focus,.entry-content a.carousel-control-prev:active,.entry-content a.carousel-control-next:hover,.entry-content a.carousel-control-next:focus,.entry-content a.carousel-control-next:active{-webkit-box-shadow:none;box-shadow:none;border-bottom:none}.carousel-control-next-icon,.carousel-control-prev-icon{color:#000}.gts-testimonial-slider-block.testimonial-slider{background:#f3f3f3;padding:10px;border-radius:10px;margin-bottom:1em;min-height:160px}.gts-testimonial-slider-block.testimonial-slider blockquote{border-left:none}.gts__picture{position:relative}.gts__picture .gts__picture__image{width:100px;height:100px;margin-right:30px;margin-left:4.5px;border-radius:50%;overflow:hidden;border:1px solid #dadada;font-size:.8em;background-size:cover;background-position:center}
     1.gts-testimonial-block{padding:20px;background:#f3f3f3;margin-bottom:1em;border-radius:10px;min-height:160px}.gts-testimonial-block blockquote{border-left:none;margin-bottom:1em}.testimonial-slider{margin-bottom:2em}.testimonial-text{font-size:1.5em;line-height:1.5;font-style:normal}.testimonial-author-container{text-align:center}.testimonial-author-link,.testimonial-author-name{padding-left:12px;margin-bottom:5px;font-style:normal}span.testimonial-author{font-style:normal}.fa.fa-quote-left{padding-right:12px;font-size:1.25em}.fa.fa-quote-right{padding-left:12px;font-size:1.25em}ol.carousel-indicators{bottom:-25px}ol.carousel-indicators li{background-color:rgba(167,167,167,0.5)}ol.carousel-indicators .active{background-color:black}.entry-content a.carousel-control-prev,.entry-content a.carousel-control-next{-webkit-box-shadow:none;box-shadow:none;border-bottom:none}.entry-content a.carousel-control-prev:hover,.entry-content a.carousel-control-prev:focus,.entry-content a.carousel-control-prev:active,.entry-content a.carousel-control-next:hover,.entry-content a.carousel-control-next:focus,.entry-content a.carousel-control-next:active{-webkit-box-shadow:none;box-shadow:none;border-bottom:none}.carousel-control-next-icon,.carousel-control-prev-icon{color:#000}.gts-testimonial-slider-block.testimonial-slider{background:#f3f3f3;padding:10px;border-radius:10px;margin-bottom:1em;min-height:160px}.gts-testimonial-slider-block.testimonial-slider blockquote{border-left:none}.gts__picture{position:relative}.gts__picture .gts__picture__image{width:100px;height:100px;margin-right:30px;margin-left:4.5px;border-radius:50%;overflow:hidden;border:1px solid #dadada;font-size:.8em;background-size:cover;background-position:center}.w-75{padding-left:1em}
  • testimonials-slider-block/trunk/readme.txt

    r1972900 r1974053  
    99Donate link: http://paypal.me/supportplugindev
    1010Requires at least: 4.5
    11 Tested up to: 4.9.8
     11Tested up to: 5.0
    1212Requires PHP: 5.6
    1313Stable tag: trunk
     
    4242== Changelog ==
    4343
     44= 1.1.0 (14/11/2018) =
     45* Works upto WordPress 5.0 now
     46
    4447= 1.0.1 (12/11/2018) =
    4548* Added a11y support for author images
  • testimonials-slider-block/trunk/src/block/style.scss

    r1972900 r1974053  
    4444.fa.fa-quote-left {
    4545    padding-right: 12px;
    46     padding-left: 8px;
     46    // padding-left: 22px;
    4747    font-size: 1.25em;
    4848}
     
    110110    }
    111111}
     112
     113.w-75 {
     114    padding-left: 1em;
     115}
  • testimonials-slider-block/trunk/src/init.php

    r1927943 r1974053  
    1717 * Enqueue Gutenberg block assets for both frontend + backend.
    1818 *
    19  * `wp-blocks`: includes block type registration and related functions.
    20  *
    2119 * @since 1.0.0
    2220 */
    2321function gts_block_assets() {
    2422    // Styles.
    25     wp_enqueue_style(
    26         'gts-style-css', // Handle.
    27         plugins_url( 'dist/blocks.style.build.css', dirname( __FILE__ ) ), // Block style CSS.
    28         array( 'wp-blocks' ) // Dependency to include the CSS after it.
    29         // filemtime( plugin_dir_path( __DIR__ ) . 'dist/blocks.style.build.css' ) // Version: filemtime — Gets file modification time.
    30     );
     23    wp_enqueue_style( 'gts-style-css', plugins_url( 'dist/blocks.style.build.css', dirname( __FILE__ ) ) );
    3124
    32     wp_enqueue_style('font-awesome', plugins_url( 'lib/css/fontawesome.min.css', dirname( __FILE__ ) ), array( 'wp-blocks' ), false );
     25    wp_enqueue_style('font-awesome', plugins_url( 'lib/css/fontawesome.min.css', dirname( __FILE__ ) ) );
    3326    wp_enqueue_style('bootstrap-style', plugins_url( 'lib/css/bootstrap.min.css', dirname( __FILE__ ) ) );
    3427
     
    5346        'gts-block-js', // Handle.
    5447        plugins_url( '/dist/blocks.build.js', dirname( __FILE__ ) ), // Block.build.js: We register the block here. Built with Webpack.
    55         array( 'wp-blocks', 'wp-i18n', 'wp-element' ), // Dependencies, defined above.
     48        array( 'wp-blocks', 'wp-i18n', 'wp-element', 'wp-editor' ), // Dependencies, defined above.
    5649        // filemtime( plugin_dir_path( __DIR__ ) . 'dist/blocks.build.js' ), // Version: filemtime — Gets file modification time.
    5750        true // Enqueue the script in the footer.
Note: See TracChangeset for help on using the changeset viewer.