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
| $('.faq-box .faq-item .faq-q').click(function() { | |
| if($(this).hasClass('active')){ | |
| $(this).removeClass('active'); | |
| $(this).parents('.faq-box').find('.faq-a').stop().slideUp(300); | |
| } else { | |
| $(this).parents('.faq-box').find('.faq-q').removeClass('active'); | |
| $(this).parents('.faq-box').find('.faq-a').stop().slideUp(300); | |
| $(this).parents('.faq-item').find('.faq-q').toggleClass('active'); | |
| $(this).parents('.faq-item').find('.faq-a').stop().slideToggle(300); | |
| } |
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
| <div class="map-box"> | |
| <div id='map'></div> | |
| </div> | |
| .map-box | |
| margin-right: 3% | |
| #map | |
| width: 100% | |
| height: 433px | |
| outline: none |
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
| <div class="top" title="Наверх"><i class="fa fa-angle-double-up"></i></div> | |
| .top | |
| position: fixed | |
| bottom: 25px | |
| background-color: #E0E0E0 | |
| border-radius: 10em | |
| color: #666 | |
| font-size: 26px | |
| width: 50px |
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
| $("form#data").submit(function(e) { | |
| e.preventDefault(); | |
| var formData = new FormData(this); | |
| $.ajax({ | |
| url: window.location.pathname, | |
| type: 'POST', | |
| data: formData, | |
| success: function (data) { | |
| alert(data) |
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
| //matchheight | |
| const mq = window.matchMedia( "(min-width: 768px)" ); | |
| if (mq.matches) { | |
| $('.box .item').matchHeight({byRow: false}); | |
| } |
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
| <div class="breadcrums"> | |
| <span><a href="#"><span>Главная</span></a></span> > | |
| <span><a href="#"><span>Товары</span></a></span> > | |
| <span><span>Кабельная продукция</span></span> | |
| </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
| input[type="checkbox"] | |
| margin-right: 13px | |
| background: #fff | |
| outline: none | |
| width: 25px | |
| height: 25px | |
| position: relative | |
| vertical-align: top | |
| &:after | |
| content: "✔" |
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
| <label class="custom-file-box"> | |
| <span class="f-box"><span class="f-btn"><i class="load-icon"></i>Завантажити фото</span><span class="filename">Файл не обрано</span></span> | |
| <input type="file"> | |
| </label> | |
| //sass | |
| .custom-file-box | |
| display: block | |
| background: #fff | |
| width: 80% |
NewerOlder