Start fixing scss linting
This commit is contained in:
parent
a447870c6f
commit
2c7c34ada0
2 changed files with 1500 additions and 1596 deletions
|
@ -8,38 +8,38 @@
|
|||
|
||||
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
border: 0;
|
||||
font-size: 100%;
|
||||
font: inherit;
|
||||
padding: 0;
|
||||
vertical-align: baseline;
|
||||
font: inherit;
|
||||
font-size: 100%;
|
||||
}
|
||||
|
||||
/* Basic */
|
||||
|
||||
body {
|
||||
background: #f5f5f5;
|
||||
background: #F5F5F5;
|
||||
}
|
||||
|
||||
body, input, select, textarea {
|
||||
line-height: 1.65em;
|
||||
letter-spacing: -0.015em;
|
||||
color: #777;
|
||||
font-family: "Source Sans Pro", sans-serif;
|
||||
font-size: 16pt;
|
||||
font-weight: 300;
|
||||
line-height: 1.65em;
|
||||
letter-spacing: -0.015em;
|
||||
}
|
||||
|
||||
a {
|
||||
transition: color 0.2s ease-in-out, border-bottom-color 0.2s ease-in-out;
|
||||
border-bottom: dotted 1px;
|
||||
color: #e89980;
|
||||
text-decoration: none;
|
||||
}
|
||||
color: #E89980;
|
||||
|
||||
a:hover {
|
||||
&:hover {
|
||||
border-bottom-color: transparent;
|
||||
}
|
||||
}
|
||||
|
||||
strong, b {
|
||||
color: #646464;
|
||||
|
@ -59,12 +59,12 @@ html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockq
|
|||
font-weight: 300;
|
||||
line-height: 1em;
|
||||
margin: 0 0 0.5em 0;
|
||||
}
|
||||
|
||||
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
|
||||
& a {
|
||||
color: inherit;
|
||||
text-decoration: none;
|
||||
}
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-size: 2.25em;
|
||||
|
@ -112,11 +112,11 @@ html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockq
|
|||
border: 0;
|
||||
border-bottom: solid 2px #e5e5e5;
|
||||
margin: 2em 0;
|
||||
}
|
||||
|
||||
hr.major {
|
||||
&.major {
|
||||
margin: 3em 0;
|
||||
}
|
||||
}
|
||||
|
||||
blockquote {
|
||||
border-left: solid 4px #e5e5e5;
|
||||
|
@ -161,7 +161,6 @@ html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockq
|
|||
}
|
||||
|
||||
/* Section/Article */
|
||||
|
||||
section.special, article.special {
|
||||
text-align: center;
|
||||
}
|
||||
|
@ -196,13 +195,12 @@ html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockq
|
|||
header.major {
|
||||
padding: 1em 0;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
header.major h2 {
|
||||
h2 {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
header.major p {
|
||||
p {
|
||||
display: inline-block;
|
||||
border-top: solid 2px #e5e5e5;
|
||||
color: #777;
|
||||
|
@ -210,9 +208,9 @@ html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockq
|
|||
padding: 1.5em 0 0 0;
|
||||
font-style: normal;
|
||||
}
|
||||
}
|
||||
|
||||
/* Form */
|
||||
|
||||
form {
|
||||
margin: 0 0 2em 0;
|
||||
}
|
||||
|
@ -240,41 +238,29 @@ html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockq
|
|||
padding: 0 1em;
|
||||
text-decoration: none;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
input[type="text"]:invalid,
|
||||
input[type="password"]:invalid,
|
||||
input[type="email"]:invalid,
|
||||
select:invalid,
|
||||
textarea:invalid {
|
||||
&:invalid {
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
input[type="text"]:focus,
|
||||
input[type="password"]:focus,
|
||||
input[type="email"]:focus,
|
||||
select:focus,
|
||||
textarea:focus {
|
||||
&:focus {
|
||||
border-color: #e89980;
|
||||
box-shadow: 0 0 0 2px #e89980;
|
||||
}
|
||||
}
|
||||
|
||||
.select-wrapper {
|
||||
text-decoration: none;
|
||||
display: block;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.select-wrapper:before {
|
||||
&:before {
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
font-family: FontAwesome;
|
||||
font-style: normal;
|
||||
font-weight: normal;
|
||||
text-transform: none !important;
|
||||
}
|
||||
|
||||
.select-wrapper:before {
|
||||
color: #e5e5e5;
|
||||
content: '\f078';
|
||||
display: block;
|
||||
|
@ -288,9 +274,10 @@ html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockq
|
|||
width: 3em;
|
||||
}
|
||||
|
||||
.select-wrapper select::-ms-expand {
|
||||
select::-ms-expand {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
input[type="text"],
|
||||
input[type="password"],
|
||||
|
@ -312,10 +299,8 @@ html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockq
|
|||
opacity: 0;
|
||||
width: 1em;
|
||||
z-index: -1;
|
||||
}
|
||||
|
||||
input[type="checkbox"] + label,
|
||||
input[type="radio"] + label {
|
||||
& + label {
|
||||
text-decoration: none;
|
||||
color: #777;
|
||||
cursor: pointer;
|
||||
|
@ -325,20 +310,14 @@ html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockq
|
|||
padding-left: 2.55em;
|
||||
padding-right: 0.75em;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
input[type="checkbox"] + label:before,
|
||||
input[type="radio"] + label:before {
|
||||
&:before {
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
font-family: FontAwesome;
|
||||
font-style: normal;
|
||||
font-weight: normal;
|
||||
text-transform: none !important;
|
||||
}
|
||||
|
||||
input[type="checkbox"] + label:before,
|
||||
input[type="radio"] + label:before {
|
||||
background: #f8f8f8;
|
||||
border-radius: 6px;
|
||||
border: solid 1px #e5e5e5;
|
||||
|
@ -352,20 +331,20 @@ html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockq
|
|||
top: 0;
|
||||
width: 1.8em;
|
||||
}
|
||||
}
|
||||
|
||||
input[type="checkbox"]:checked + label:before,
|
||||
input[type="radio"]:checked + label:before {
|
||||
&:checked + label:before {
|
||||
background: #666;
|
||||
border-color: #666;
|
||||
color: #ffffff;
|
||||
content: '\f00c';
|
||||
}
|
||||
|
||||
input[type="checkbox"]:focus + label:before,
|
||||
input[type="radio"]:focus + label:before {
|
||||
&:checked + label:before {
|
||||
border-color: #e89980;
|
||||
box-shadow: 0 0 0 1px #e89980;
|
||||
}
|
||||
}
|
||||
|
||||
input[type="checkbox"] + label:before {
|
||||
border-radius: 6px;
|
||||
|
@ -401,7 +380,6 @@ html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockq
|
|||
}
|
||||
|
||||
/* Box */
|
||||
|
||||
.box {
|
||||
background: #fff;
|
||||
border-radius: 6px;
|
||||
|
@ -517,7 +495,6 @@ html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockq
|
|||
}
|
||||
|
||||
/* Icon */
|
||||
|
||||
.icon {
|
||||
text-decoration: none;
|
||||
border-bottom: none;
|
||||
|
@ -616,7 +593,6 @@ html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockq
|
|||
}
|
||||
|
||||
/* List */
|
||||
|
||||
ol {
|
||||
list-style: decimal;
|
||||
margin: 0 0 2em 0;
|
||||
|
@ -747,7 +723,6 @@ html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockq
|
|||
}
|
||||
|
||||
/* Table */
|
||||
|
||||
.table-wrapper {
|
||||
-webkit-overflow-scrolling: touch;
|
||||
overflow-x: auto;
|
||||
|
@ -815,7 +790,6 @@ html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockq
|
|||
}
|
||||
|
||||
/* Button */
|
||||
|
||||
input[type="submit"],
|
||||
input[type="reset"],
|
||||
input[type="button"],
|
||||
|
@ -959,7 +933,6 @@ html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockq
|
|||
}
|
||||
|
||||
/* Header */
|
||||
|
||||
#page-wrapper {
|
||||
padding-top: 3em;
|
||||
}
|
||||
|
@ -968,36 +941,6 @@ html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockq
|
|||
padding-top: 0;
|
||||
}
|
||||
|
||||
@-moz-keyframes reveal-header {
|
||||
0% {
|
||||
top: -5em;
|
||||
}
|
||||
|
||||
100% {
|
||||
top: 0;
|
||||
}
|
||||
}
|
||||
|
||||
@-webkit-keyframes reveal-header {
|
||||
0% {
|
||||
top: -5em;
|
||||
}
|
||||
|
||||
100% {
|
||||
top: 0;
|
||||
}
|
||||
}
|
||||
|
||||
@-ms-keyframes reveal-header {
|
||||
0% {
|
||||
top: -5em;
|
||||
}
|
||||
|
||||
100% {
|
||||
top: 0;
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes reveal-header {
|
||||
0% {
|
||||
top: -5em;
|
||||
|
@ -1225,7 +1168,6 @@ html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockq
|
|||
}
|
||||
|
||||
/* Banner */
|
||||
|
||||
#banner {
|
||||
background-attachment: scroll, fixed;
|
||||
background-color: #666;
|
||||
|
@ -1291,7 +1233,6 @@ html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockq
|
|||
}
|
||||
|
||||
/* Main */
|
||||
|
||||
#main {
|
||||
padding: 4em 0;
|
||||
}
|
||||
|
@ -1364,7 +1305,6 @@ html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockq
|
|||
}
|
||||
|
||||
/* CTA */
|
||||
|
||||
#cta {
|
||||
background: #e89980;
|
||||
color: #f9e5df;
|
||||
|
@ -1430,41 +1370,33 @@ html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockq
|
|||
}
|
||||
|
||||
/* Wide */
|
||||
|
||||
@media screen and (max-width: 1680px) {
|
||||
|
||||
/* Basic */
|
||||
|
||||
body, input, select, textarea {
|
||||
font-size: 13pt;
|
||||
}
|
||||
|
||||
/* Banner */
|
||||
|
||||
#banner {
|
||||
padding: 10em 0 18em 0;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/* Normal */
|
||||
|
||||
@media screen and (max-width: 1280px) {
|
||||
|
||||
/* Basic */
|
||||
|
||||
body, input, select, textarea {
|
||||
font-size: 11pt;
|
||||
}
|
||||
|
||||
/* Header */
|
||||
|
||||
.dropotron.level-0 {
|
||||
font-size: 1em;
|
||||
}
|
||||
|
||||
/* Banner */
|
||||
|
||||
#banner {
|
||||
background-attachment: scroll;
|
||||
}
|
||||
|
@ -1472,23 +1404,18 @@ html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockq
|
|||
#banner h2 {
|
||||
font-size: 3.5em;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/* Narrow */
|
||||
|
||||
@media screen and (max-width: 980px) {
|
||||
|
||||
/* Basic */
|
||||
|
||||
body, input, select, textarea {
|
||||
font-size: 11pt;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/* Narrower */
|
||||
|
||||
#navPanel, #navButton {
|
||||
display: none;
|
||||
}
|
||||
|
@ -1496,7 +1423,6 @@ html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockq
|
|||
@media screen and (max-width: 840px) {
|
||||
|
||||
/* Basic */
|
||||
|
||||
html, body {
|
||||
overflow-x: hidden;
|
||||
}
|
||||
|
@ -1510,7 +1436,6 @@ html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockq
|
|||
}
|
||||
|
||||
/* Section/Article */
|
||||
|
||||
header br {
|
||||
display: none;
|
||||
}
|
||||
|
@ -1520,7 +1445,6 @@ html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockq
|
|||
}
|
||||
|
||||
/* Box */
|
||||
|
||||
.box {
|
||||
padding: 3em 2em;
|
||||
}
|
||||
|
@ -1545,7 +1469,6 @@ html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockq
|
|||
}
|
||||
|
||||
/* Header */
|
||||
|
||||
#page-wrapper {
|
||||
padding-top: 0;
|
||||
}
|
||||
|
@ -1557,7 +1480,6 @@ html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockq
|
|||
/* Banner */
|
||||
|
||||
/* Off-Canvas Navigation */
|
||||
|
||||
#page-wrapper {
|
||||
backface-visibility: hidden;
|
||||
transition: transform 0.5s ease;
|
||||
|
@ -1683,15 +1605,12 @@ html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockq
|
|||
body.navPanel-visible #navPanel {
|
||||
transform: translateX(0);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/* Mobile */
|
||||
|
||||
@media screen and (max-width: 736px) {
|
||||
|
||||
/* Basic */
|
||||
|
||||
body, input, select, textarea {
|
||||
font-size: 11pt;
|
||||
}
|
||||
|
@ -1711,7 +1630,6 @@ html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockq
|
|||
}
|
||||
|
||||
/* Section/Article */
|
||||
|
||||
header.major {
|
||||
padding: 1em;
|
||||
}
|
||||
|
@ -1722,7 +1640,6 @@ html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockq
|
|||
}
|
||||
|
||||
/* Box */
|
||||
|
||||
.box {
|
||||
margin: 1em;
|
||||
overflow-x: hidden;
|
||||
|
@ -1765,7 +1682,6 @@ html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockq
|
|||
}
|
||||
|
||||
/* Banner */
|
||||
|
||||
#banner {
|
||||
padding: 4em 0;
|
||||
}
|
||||
|
@ -1779,7 +1695,6 @@ html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockq
|
|||
}
|
||||
|
||||
/* Main */
|
||||
|
||||
#main {
|
||||
padding: 4em 0 0 0;
|
||||
}
|
||||
|
@ -1803,7 +1718,6 @@ html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockq
|
|||
}
|
||||
|
||||
/* Footer */
|
||||
|
||||
#footer {
|
||||
padding: 4em 0;
|
||||
}
|
||||
|
@ -1815,15 +1729,12 @@ html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockq
|
|||
margin-left: 0;
|
||||
padding-left: 0;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/* Mobile (Portrait) */
|
||||
|
||||
@media screen and (max-width: 480px) {
|
||||
|
||||
/* Basic */
|
||||
|
||||
html, body {
|
||||
min-width: 320px;
|
||||
}
|
||||
|
@ -1833,13 +1744,11 @@ html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockq
|
|||
}
|
||||
|
||||
/* Section/Article */
|
||||
|
||||
header.major {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
/* List */
|
||||
|
||||
ul.actions {
|
||||
margin: 0 0 2em 0;
|
||||
}
|
||||
|
@ -1873,7 +1782,6 @@ html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockq
|
|||
}
|
||||
|
||||
/* Box */
|
||||
|
||||
.box {
|
||||
border-radius: 0;
|
||||
box-shadow: none;
|
||||
|
@ -1887,8 +1795,8 @@ html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockq
|
|||
}
|
||||
|
||||
.box .image.featured {
|
||||
border-radius: 0;
|
||||
margin-left: -1em;
|
||||
border-radius: 0;
|
||||
width: calc(100% + 2em);
|
||||
}
|
||||
|
||||
|
@ -1897,31 +1805,27 @@ html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockq
|
|||
}
|
||||
|
||||
.box .image.featured:first-child {
|
||||
margin-bottom: 3em;
|
||||
margin-top: -3em;
|
||||
margin-bottom: 3em;
|
||||
}
|
||||
|
||||
.box .image.featured:last-child {
|
||||
margin-bottom: -3em;
|
||||
margin-top: 3em;
|
||||
margin-bottom: -3em;
|
||||
}
|
||||
|
||||
/* Banner */
|
||||
|
||||
#banner {
|
||||
padding: 5em 1em 4em 1em;
|
||||
padding: 5em 1em 4em;
|
||||
}
|
||||
|
||||
/* Main */
|
||||
|
||||
#main > .box:first-child {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
/* CTA */
|
||||
|
||||
#cta {
|
||||
padding: 2.5em 1em 3em 1em;
|
||||
padding: 2.5em 1em 3em;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -4,9 +4,9 @@ $fa-font-path: "../fonts";
|
|||
@import "node_modules/bootstrap/scss/bootstrap-grid";
|
||||
|
||||
// Import Alpha theme (ish)
|
||||
@import 'alpha';
|
||||
@import "alpha";
|
||||
|
||||
|
||||
.box .box {
|
||||
border-radius: 0px;
|
||||
border-radius: 0;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue