This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| SASS: | |
| .mfp-ready .mfp-figure | |
| opacity: 0 | |
| .mfp-zoom-in | |
| .mfp-figure, .mfp-iframe-holder .mfp-iframe-scaler | |
| opacity: 0 | |
| transition: all 0.3s ease-out | |
| transform: scale(0.95) | |
| &.mfp-bg, .mfp-preloader | |
| opacity: 0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $(".scroll-next").click(function() { | |
| var cls = $(this).closest(".section").next().offset().top; | |
| $("html, body").animate({scrollTop: cls}, "slow"); | |
| }); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| .features-icon | |
| position: relative | |
| background-color: #404040 | |
| padding: 18px 10px 15px 10px | |
| border-radius: 4px | |
| &::before | |
| content: '' | |
| position: absolute | |
| top: 45px | |
| left: 0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var | |
| // global | |
| gulp = require('gulp'), | |
| watch = require('gulp-watch'), | |
| browserSync = require("browser-sync"), | |
| reload = browserSync.reload, | |
| sass = require('gulp-sass'), | |
| prefixer = require('gulp-autoprefixer'), | |
| cssnano = require('gulp-cssnano'), |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $section_style = ( $bg_color || $bg_image ) ? 'style="' . esc_attr($bg_color . $bg_image) . '"' : ''; | |
| $container_class = ( isset( $atts['is_fullwidth'] ) && $atts['is_fullwidth'] ) ? 'fw-container-fluid' : 'fw-container'; | |
| $custom_class = ( isset( $atts['custom_class'] ) && $atts['custom_class'] ) ? ' ' . $atts['custom_class'] . '' : ''; | |
| $custom_id = ( isset( $atts['custom_id'] ) && $atts['custom_id'] ) ? $atts['custom_id'] : ''; | |
| ?> | |
| <section id="<?php echo $custom_id ?>" class="fw-main-row<?php echo $custom_class ?> <?php echo esc_attr($section_extra_classes) ?>" <?php echo $section_style; ?> <?php echo $bg_video_data_attr; ?>> | |
| <div class="<?php echo esc_attr($container_class); ?>"> | |
| <?php echo do_shortcode( $content ); ?> | |
| </div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var api = $('#my-menu').data('mmenu'); | |
| api.bind('open:start', function() { | |
| $('.hamburger').addClass('is-active'); | |
| }).bind('close:finish', function() { | |
| $('.hamburger').removeClass('is-active'); | |
| }); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /*! | |
| * Font Awesome 4.7.0 by @davegandy - http://fontawesome.io - @fontawesome | |
| * License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License) | |
| */@font-face{font-family:'FontAwesome';src:url('../../fonts/fontawesome/fontawesome-webfont.eot?v=4.7.0');src:url('../../fonts/fontawesome/fontawesome-webfont.eot?#iefix&v=4.7.0') format('embedded-opentype'),url('../../fonts/fontawesome/fontawesome-webfont.woff2?v=4.7.0') format('woff2'),url('../../fonts/fontawesome/fontawesome-webfont.woff?v=4.7.0') format('woff'),url('../../fonts/fontawesome/fontawesome-webfont.ttf?v=4.7.0') format('truetype'),url('../../fonts/fontawesome/fontawesome-webfont.svg?v=4.7.0#fontawesomeregular') format('svg');font-weight:normal;font-style:normal}.fa{display:inline-block;font:normal normal normal 14px/1 FontAwesome;font-size:inherit;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.fa-lg{font-size:1.33333333em;line-height:.75em;vertical-align:-15%}.fa-2x{font-size:2em}.fa-3x{font- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $(".tab_item").not(":first").hide(); | |
| $(".wrapper .tab").show().click(function() { | |
| var ind = $(this).index(); | |
| $(".wrapper .tab").removeClass("active").eq(ind).addClass("active"); | |
| $(".tab_item").hide().eq(ind).fadeIn() | |
| }).eq(0).addClass("active"); | |
| <div class="wrapper"> | |
| <div class="tabs"> | |
| <span class="tab">Вкладка 1</span> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //Аякс отправка форм | |
| //Документация: http://api.jquery.com/jquery.ajax/ | |
| $("#form, #form2").submit(function(e) { | |
| e.preventDefault; | |
| $.ajax({ | |
| type: "POST", | |
| url: "mail.php", | |
| data: $(this).serialize() | |
| }).done(function() { | |
| alert("Спасибо за заявку!"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //Animate CSS + WayPoints javaScript Plugin | |
| //Require jquery-migrate-3.0.0.js | |
| //Example: $(".element").animated("zoomInUp", "zoomOutDown"); | |
| //Author URL: http://webdesign-master.ru | |
| //ONCE ANIMATE | |
| (function($) { | |
| $.fn.animated = function(inEffect) { | |
| $(this).css("opacity", "0").addClass("animated").waypoint(function(dir) { |