Changeset 1974053
- Timestamp:
- 11/14/2018 08:14:26 AM (7 years ago)
- Location:
- testimonials-slider-block/trunk
- Files:
-
- 4 edited
-
dist/blocks.style.build.css (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
-
src/block/style.scss (modified) (2 diffs)
-
src/init.php (modified) (2 diffs)
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 9 9 Donate link: http://paypal.me/supportplugindev 10 10 Requires at least: 4.5 11 Tested up to: 4.9.811 Tested up to: 5.0 12 12 Requires PHP: 5.6 13 13 Stable tag: trunk … … 42 42 == Changelog == 43 43 44 = 1.1.0 (14/11/2018) = 45 * Works upto WordPress 5.0 now 46 44 47 = 1.0.1 (12/11/2018) = 45 48 * Added a11y support for author images -
testimonials-slider-block/trunk/src/block/style.scss
r1972900 r1974053 44 44 .fa.fa-quote-left { 45 45 padding-right: 12px; 46 padding-left: 8px;46 // padding-left: 22px; 47 47 font-size: 1.25em; 48 48 } … … 110 110 } 111 111 } 112 113 .w-75 { 114 padding-left: 1em; 115 } -
testimonials-slider-block/trunk/src/init.php
r1927943 r1974053 17 17 * Enqueue Gutenberg block assets for both frontend + backend. 18 18 * 19 * `wp-blocks`: includes block type registration and related functions.20 *21 19 * @since 1.0.0 22 20 */ 23 21 function gts_block_assets() { 24 22 // 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__ ) ) ); 31 24 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__ ) ) ); 33 26 wp_enqueue_style('bootstrap-style', plugins_url( 'lib/css/bootstrap.min.css', dirname( __FILE__ ) ) ); 34 27 … … 53 46 'gts-block-js', // Handle. 54 47 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. 56 49 // filemtime( plugin_dir_path( __DIR__ ) . 'dist/blocks.build.js' ), // Version: filemtime — Gets file modification time. 57 50 true // Enqueue the script in the footer.
Note: See TracChangeset
for help on using the changeset viewer.