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
| $(window).on('changed.zf.mediaquery', function(event, newSize, oldSize) { | |
| modal(); | |
| }) | |
| modal(); | |
| function modal(){ | |
| if (Foundation.MediaQuery.is('large') == true) { | |
| alert('large'); | |
| } else if (Foundation.MediaQuery.is('medium') == true) { | |
| alert('medium'); | |
| } else { |
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="number-input"> | |
| <button type="button" onclick="this.parentNode.querySelector('input[type=number]').stepDown()"></button> | |
| <input class="quantity" min="0" name="quantity" value="1" type="number"> | |
| <button type="button" onclick="this.parentNode.querySelector('input[type=number]').stepUp()" class="plus"></button> | |
| </div> | |
| <style> | |
| .number-input { | |
| display: inline-flex; | |
| width: 80px; | |
| height: 30px; |
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="table"> | |
| <div class="table__tbody white-box"> | |
| <div class="table__tbody_inner" id="table-data"> | |
| <div class="table__row table__row_head"> | |
| <div class="table__cell">№</div> | |
| <div class="table__cell">Имя</div> | |
| <div class="table__cell">Страна</div> | |
| <div class="table__cell">Дата посещения</div> | |
| </div> | |
| <div class="table__row"> |
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="reverse-input"> | |
| <input type="text" placeholder="" required=""> | |
| <em>Фамилия и имя</em> | |
| </label> | |
| <style> | |
| .reverse-input { | |
| display: flex; | |
| flex-direction: column; | |
| & em { | |
| padding: 0 5px; |
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="input-line"> | |
| <input id="checkbox" type="checkbox"> | |
| <label for="checkbox"><span></span>Для всех типов</label> | |
| </div> | |
| <style> | |
| .input-line input[type="radio"] + label span { | |
| border: 1px solid #c6c6c6; | |
| border-radius: 50%; | |
| width: 16px; | |
| height: 16px; |
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
| function displayCalc(e){ | |
| catetA = document.documentElement.clientWidth; | |
| catetB = document.documentElement.clientHeight; | |
| gipotenuza = Math.sqrt(Math.pow(catetA,2)+Math.pow(catetB,2)); | |
| alpha = Math.asin(catetB/gipotenuza); | |
| degrees = alpha * 180 / Math.PI; | |
| $("#top-cover, #bottom-cover").css('transform','rotate(-'+ degrees +'deg)'); | |
| var all = document.getElementsByTagName("*"); | |
| } | |
| Pace.on('start',function(){ |
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
| .hamburger-ico { | |
| position: relative; | |
| display: flex; | |
| align-items: center; | |
| z-index: 100; | |
| line-height: 70px; | |
| width: 20px; | |
| height: 20px; | |
| overflow: hidden; | |
| margin-right: 15px; |
NewerOlder