Changeset 142739
- Timestamp:
- 02/08/2021 06:59:05 AM (5 years ago)
- Location:
- multisport/1.4.0
- Files:
-
- 1 added
- 1 deleted
- 7 edited
- 1 copied
-
. (copied) (copied from multisport/1.3.9)
-
assets/js/jquery.easing.1.3.js (deleted)
-
assets/js/jquery.easing.js (added)
-
assets/js/jquery.eislideshow.js (modified) (5 diffs)
-
assets/js/utilities.js (modified) (4 diffs)
-
assets/js/viewportchecker.js (modified) (1 diff)
-
credits.txt (modified) (1 diff)
-
functions.php (modified) (1 diff)
-
readme.txt (modified) (3 diffs)
-
style.css (modified) (13 diffs)
Legend:
- Unmodified
- Added
- Removed
-
multisport/1.4.0/assets/js/jquery.eislideshow.js
r139039 r142739 15 15 $event.special.smartresize = { 16 16 setup: function() { 17 $(this). bind( "resize", $event.special.smartresize.handler );17 $(this).on( "resize", $event.special.smartresize.handler ); 18 18 }, 19 19 teardown: function() { 20 $(this). unbind( "resize", $event.special.smartresize.handler );20 $(this).off( "resize", $event.special.smartresize.handler ); 21 21 }, 22 22 handler: function( event, execAsap ) { … … 36 36 37 37 $.fn.smartresize = function( fn ) { 38 return fn ? this. bind( "smartresize", fn ) : this.trigger( "smartresize", ["execAsap"] );38 return fn ? this.on( "smartresize", fn ) : this.trigger( "smartresize", ["execAsap"] ); 39 39 }; 40 40 … … 52 52 this.itemsCount = this.$imgItems.length; 53 53 // images 54 this.$images = this.$imgItems.find('img :first');54 this.$images = this.$imgItems.find('img'); 55 55 56 56 /***** thumbs ****/ … … 154 154 _self.$images.each( function( i ) { 155 155 156 $('<img/>'). load(function() {156 $('<img/>').on('load', function() { 157 157 158 158 if( ++loaded === _self.itemsCount ) { … … 389 389 } 390 390 391 if ( ! $.isFunction( instance[options]) || options.charAt(0) === "_" ) {391 if ( !(typeof instance[options] === "function") || options.charAt(0) === "_" ) { 392 392 logError( "no such method '" + options + "' for eislideshow instance" ); 393 393 return; -
multisport/1.4.0/assets/js/utilities.js
r139039 r142739 81 81 } 82 82 83 $(window). scroll(function () {83 $(window).on('scroll', function () { 84 84 85 85 if ($(this).scrollTop() > 100) { … … 94 94 }); 95 95 96 $('.scrollup'). click(function () {96 $('.scrollup').on('click', function () { 97 97 98 98 $("html, body").animate({ … … 106 106 if ( $(window).width() >= 800 ) { 107 107 108 $('#navmain > div > ul > li :has("ul")').addClass('level-one-sub-menu');109 $('#navmain > div > ul li ul li :has("ul")').addClass('level-two-sub-menu');108 $('#navmain > div > ul > li').has('ul').addClass('level-one-sub-menu'); 109 $('#navmain > div > ul li ul li').has('ul').addClass('level-two-sub-menu'); 110 110 111 111 // add support of browsers which don't support focus-within 112 112 $('#navmain > div > ul > li > a:not(.login-form-icon):not(.search-form-icon), #navmain > div > ul > li > ul > li > a, #navmain > div > ul > li > ul > li > ul > li > a, .mega-menu-sub-menu') 113 . bind('mouseenter focus', function() {113 .on('mouseenter focus', function() { 114 114 $(this).closest('li.level-one-sub-menu').addClass('menu-item-focused'); 115 115 $(this).closest('li.level-two-sub-menu').addClass('menu-item-focused'); … … 117 117 if (!$(this).parent().find('#cart-popup-content').length && $('#cart-popup-content').css('z-index') != '-1') 118 118 $('#cart-popup-content').css('z-index', '-1'); 119 }). bind('mouseleave blur', function() {119 }).on('mouseleave blur', function() { 120 120 $(this).closest('li.level-one-sub-menu').removeClass('menu-item-focused'); 121 121 $(this).closest('li.level-two-sub-menu').removeClass('menu-item-focused'); -
multisport/1.4.0/assets/js/viewportchecker.js
r139039 r142739 160 160 if( 'ontouchstart' in window || 'onmsgesturechange' in window ){ 161 161 // Device with touchscreen 162 $(document). bind("touchmove MSPointerMove pointermove", this.checkElements);162 $(document).on("touchmove MSPointerMove pointermove", this.checkElements); 163 163 } 164 164 165 165 // Always load on window load 166 $(options.scrollBox). bind("load scroll", this.checkElements);166 $(options.scrollBox).on("load scroll", this.checkElements); 167 167 168 168 // On resize change the height var 169 $(window). resize(function(e){169 $(window).on('resize', function(e){ 170 170 boxSize = {height: $(options.scrollBox).height(), width: $(options.scrollBox).width()}; 171 171 $elem.checkElements(); -
multisport/1.4.0/credits.txt
r139039 r142739 21 21 assets/js/viewportchecker.js - the MIT license, Reference: http://opensource.org/licenses/MIT 22 22 23 assets/js/jquery.easing. 1.3.js Released under The MIT License (MIT) - http://opensource.org/licenses/MIT23 assets/js/jquery.easing.js Released under The MIT License (MIT) - http://opensource.org/licenses/MIT 24 24 25 25 assets/js/jquery.eislideshow.js Released under The MIT License (MIT) - http://opensource.org/licenses/MIT -
multisport/1.4.0/functions.php
r139039 r142739 231 231 // Load Slider JS Scripts 232 232 wp_enqueue_script( 'jquery-easing-1-3', 233 get_template_directory_uri() . '/assets/js/jquery.easing. 1.3.js',233 get_template_directory_uri() . '/assets/js/jquery.easing.js', 234 234 array( 'jquery' ) ); 235 235 -
multisport/1.4.0/readme.txt
r139039 r142739 3 3 Tags: blog, entertainment, two-columns, right-sidebar, custom-logo, custom-background, 4 4 custom-header, custom-menu, threaded-comments, translation-ready, sticky-post, theme-options, footer-widgets 5 Tested up to: 5. 55 Tested up to: 5.6 6 6 Stable tag: 1.3.0 7 Requires PHP: 5.6 .08 Requires at least: 4.8.07 Requires PHP: 5.6 8 Requires at least: 5.3 9 9 License: GPLv2 or later 10 10 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 45 45 46 46 == Changelog == 47 48 = 1.4.0 = 49 * Fix deprecated jQuery code usage 47 50 48 51 = 1.3.9 = … … 196 199 * assets/css/animate.css, © 2017 Daniel Eden, MIT 197 200 * assets/js/viewportchecker.js, © 2014 Dirk Groenen, MIT 198 * assets/js/jquery.easing. 1.3.js, © 2008 George McGinley Smith, BSD201 * assets/js/jquery.easing.js, © 2008 George McGinley Smith, BSD 199 202 * assets/js/jquery.eislideshow.js, © 2011 @louis_remi, MIT 200 203 * images/slider/1.jpg, © 2018 @Pxhere https://pxhere.com/en/photo/1538609, CC0 -
multisport/1.4.0/style.css
r139039 r142739 5 5 Author: customizablethemes 6 6 Author URI: https://customizablethemes.com 7 Version: 1. 3.97 Version: 1.4.0 8 8 Text Domain: multisport 9 9 Tags: blog, entertainment, two-columns, right-sidebar, custom-logo, custom-background, custom-header, custom-menu, threaded-comments, translation-ready, sticky-post, theme-options, footer-widgets 10 10 License: GNU General Public License v2.0 11 11 License URI: http://www.gnu.org/licenses/gpl-2.0.html 12 Requires PHP: 5.6 .013 Requires at least: 4.8.014 Tested up to: 5. 4.112 Requires PHP: 5.6 13 Requires at least: 5.3 14 Tested up to: 5.6 15 15 */ 16 16 … … 46 46 article a { 47 47 text-decoration: underline; 48 } 49 50 .entry-title a, 51 .post-entry-title a { 52 text-decoration: none; 48 53 } 49 54 … … 224 229 dt.gallery-icon:before { 225 230 content:''; 231 display: none; 226 232 } 227 233 228 234 .custom-logo-link img { 229 235 margin-right:10px; 236 max-width:100%; 237 height:auto; 230 238 } 231 239 … … 329 337 330 338 #header-main-fixed a:hover { 339 text-decoration: none; 331 340 color:#8b8b8b; 332 341 } … … 1386 1395 } 1387 1396 1397 .gallery-item img { 1398 width:100%; 1399 height:auto; 1400 } 1401 1388 1402 .gallery-columns-1 .gallery-item { 1389 max-width: 50%;1403 max-width: 99%; 1390 1404 } 1391 1405 1392 1406 .gallery-columns-3 .gallery-item { 1407 max-width: 33%; 1408 } 1409 1410 .gallery-columns-4 .gallery-item { 1393 1411 max-width: 25%; 1394 1412 } 1395 1413 1396 .gallery-columns- 4.gallery-item {1414 .gallery-columns-5 .gallery-item { 1397 1415 max-width: 20%; 1398 1416 } 1399 1417 1400 .gallery-columns-5 .gallery-item {1401 max-width: 15%;1402 }1403 1404 1418 .gallery-columns-6 .gallery-item { 1405 max-width: 1 3%;1419 max-width: 16%; 1406 1420 } 1407 1421 1408 1422 .gallery-columns-7 .gallery-item { 1423 max-width: 14%; 1424 } 1425 1426 .gallery-columns-8 .gallery-item { 1427 max-width: 12%; 1428 } 1429 1430 .gallery-columns-9 .gallery-item { 1409 1431 max-width: 11%; 1410 }1411 1412 .gallery-columns-8 .gallery-item {1413 max-width: 10%;1414 }1415 1416 .gallery-columns-9 .gallery-item {1417 max-width: 9%;1418 1432 } 1419 1433 … … 1561 1575 article > *.aligncenter, 1562 1576 .entry .entry-summary > *.aligncenter { 1563 max-width: calc(6 * (100vw / 12) - 28px);1577 max-width: 100%; 1564 1578 } 1565 1579 } … … 1999 2013 @media only screen and (min-width: 1168px) { 2000 2014 article .wp-block-image .aligncenter { 2001 max-width: calc(6 * (100vw / 12) - 28px);2015 max-width: 100%; 2002 2016 } 2003 2017 } … … 2015 2029 @media only screen and (min-width: 1168px) { 2016 2030 article .wp-block-image .aligncenter { 2017 width: calc(6 * (100vw / 12) - 28px);2031 width: 100%; 2018 2032 } 2019 2033 article .wp-block-image .aligncenter img { … … 2102 2116 article .wp-block-cover.alignfull .wp-block-cover-text, 2103 2117 article .wp-block-cover.alignfull h2 { 2104 max-width: calc(6 * (100vw / 12) - 28px);2118 max-width: 100%; 2105 2119 } 2106 2120 } … … 2133 2147 2134 2148 article .blocks-gallery-item:before { 2135 content:'' ;2149 content:'' !important; 2136 2150 } 2137 2151 … … 2179 2193 article .wp-block-separator.is-style-wide, 2180 2194 article hr.is-style-wide { 2181 max-width: calc(6 * (100vw / 12) - 28px);2195 max-width: 100%; 2182 2196 } 2183 2197 } … … 2202 2216 article .wp-block-separator.is-style-dots, 2203 2217 article hr.is-style-dots { 2204 max-width: calc(6 * (100vw / 12) - 28px);2218 max-width: 100%; 2205 2219 } 2206 2220 } … … 2919 2933 } 2920 2934 2935 #site-identity { 2936 min-height: 35px; 2937 } 2938 2921 2939 #navmain { 2922 2940 cursor:pointer;
Note: See TracChangeset
for help on using the changeset viewer.