View zindex.js
This file contains 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
'use strict'; | |
(function() { | |
var allElements = document.querySelectorAll('*'); | |
var zIndexElements = [].map.call(allElements, function(el) { | |
var style = window.getComputedStyle(el, null); | |
var zIndex = style.getPropertyValue('z-index'); | |
return { |
View _contact_form.scss
This file contains 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
/* ===== Contact Form Styles ===== */ | |
// Base styles | |
.contact_form { | |
background: #FFF; | |
border: 4px solid #999; | |
padding: 10px; | |
} | |
.contact_form-label { | |
color: #000; |
View contact_form.js
This file contains 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 ContactForm = (function () { | |
var s; | |
return { | |
settings: { | |
inputs: $("#contact_form input"), | |
submitBtn: $(".js-contact_form-submit") | |
}, | |
init: function() { |
View .editorconfig
This file contains 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
# top-most EditorConfig file | |
root = true | |
[*] | |
# We recommend you to keep these unchanged | |
charset = utf-8 | |
trim_trailing_whitespace = true | |
insert_final_newline = true |