Remove trailing whitespace
This commit is contained in:
@@ -1,18 +1,18 @@
|
||||
/*
|
||||
/*
|
||||
Rules
|
||||
========================================================================== */
|
||||
|
||||
hr {
|
||||
display: block;
|
||||
margin: 1em 0;
|
||||
hr {
|
||||
display: block;
|
||||
margin: 1em 0;
|
||||
padding: 0;
|
||||
height: 1px;
|
||||
border: 0;
|
||||
height: 1px;
|
||||
border: 0;
|
||||
border-top: 1px solid #ccc;
|
||||
border-bottom: 1px solid #fff;
|
||||
border-bottom: 1px solid #fff;
|
||||
}
|
||||
|
||||
/*
|
||||
/*
|
||||
Figures and images
|
||||
========================================================================== */
|
||||
|
||||
@@ -23,13 +23,13 @@ figure {
|
||||
article img {
|
||||
max-width: 100%;
|
||||
height: auto;
|
||||
border-width: 0;
|
||||
vertical-align: middle;
|
||||
-ms-interpolation-mode: bicubic;
|
||||
border-width: 0;
|
||||
vertical-align: middle;
|
||||
-ms-interpolation-mode: bicubic;
|
||||
}
|
||||
|
||||
svg:not(:root) {
|
||||
overflow: hidden;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
/* 2 images of equal dimensions in a row */
|
||||
@@ -62,7 +62,7 @@ svg:not(:root) {
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
/*
|
||||
Buttons
|
||||
========================================================================== */
|
||||
|
||||
@@ -151,7 +151,7 @@ svg:not(:root) {
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
/*
|
||||
Wells
|
||||
========================================================================== */
|
||||
|
||||
@@ -163,4 +163,4 @@ svg:not(:root) {
|
||||
border: 1px solid #e3e3e3;
|
||||
@include rounded(4px);
|
||||
@include box-shadow(inset 0 1px 1px rgba(0, 0, 0, 0.05));
|
||||
}
|
||||
}
|
||||
|
||||
124
_sass/forms.scss
124
_sass/forms.scss
@@ -2,34 +2,34 @@
|
||||
Forms
|
||||
========================================================================== */
|
||||
|
||||
btnform {
|
||||
btnform {
|
||||
margin: 0 0 5px 0;
|
||||
fieldset {
|
||||
margin-bottom: 5px;
|
||||
padding: 0;
|
||||
border-width: 0;
|
||||
fieldset {
|
||||
margin-bottom: 5px;
|
||||
padding: 0;
|
||||
border-width: 0;
|
||||
}
|
||||
legend {
|
||||
legend {
|
||||
display: block;
|
||||
width: 100%;
|
||||
margin-bottom: 5px * 2;
|
||||
*margin-left: -7px;
|
||||
*margin-left: -7px;
|
||||
padding: 0;
|
||||
color: $textcolor;
|
||||
border: 0;
|
||||
border-bottom: 1px solid lighten($black, 80);
|
||||
white-space: normal;
|
||||
white-space: normal;
|
||||
}
|
||||
p {
|
||||
margin-bottom: 5px / 2;
|
||||
margin-bottom: 5px / 2;
|
||||
}
|
||||
ul {
|
||||
list-style-type: none;
|
||||
list-style-type: none;
|
||||
margin: 0 0 5px 0;
|
||||
padding: 0;
|
||||
padding: 0;
|
||||
}
|
||||
br {
|
||||
display: none;
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
label,
|
||||
@@ -37,26 +37,26 @@ input,
|
||||
button,
|
||||
select,
|
||||
textarea {
|
||||
vertical-align: baseline;
|
||||
*vertical-align: middle;
|
||||
vertical-align: baseline;
|
||||
*vertical-align: middle;
|
||||
}
|
||||
input,
|
||||
button,
|
||||
select,
|
||||
textarea {
|
||||
font-family: $base-font;
|
||||
@include box-sizing(border-box);
|
||||
font-family: $base-font;
|
||||
@include box-sizing(border-box);
|
||||
}
|
||||
label {
|
||||
display: block;
|
||||
margin-bottom: 10px / 8;
|
||||
font-weight: bold;
|
||||
color: $textcolor;
|
||||
cursor: pointer;
|
||||
cursor: pointer;
|
||||
input,
|
||||
textarea,
|
||||
select {
|
||||
display: block;
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
input,
|
||||
@@ -68,16 +68,16 @@ select {
|
||||
margin-bottom: 5px / 4;
|
||||
background-color: $white;
|
||||
border: 1px solid lighten($black, 80);
|
||||
color: $textcolor;
|
||||
color: $textcolor;
|
||||
&:hover {
|
||||
border-color: lighten($accentcolor, 50);
|
||||
border-color: lighten($accentcolor, 50);
|
||||
}
|
||||
}
|
||||
.input-mini {
|
||||
width: 60px;
|
||||
.input-mini {
|
||||
width: 60px;
|
||||
}
|
||||
.input-small {
|
||||
width: 90px;
|
||||
.input-small {
|
||||
width: 90px;
|
||||
}
|
||||
input[type="image"],
|
||||
input[type="checkbox"],
|
||||
@@ -90,18 +90,18 @@ input[type="radio"] {
|
||||
line-height: normal;
|
||||
cursor: pointer;
|
||||
@include rounded(0);
|
||||
border: 0 \9;
|
||||
border: 0 \9;
|
||||
}
|
||||
input[type="checkbox"],
|
||||
input[type="radio"] {
|
||||
input[type="checkbox"],
|
||||
input[type="radio"] {
|
||||
@include box-sizing(border-box);
|
||||
padding: 0;
|
||||
*width: 13px;
|
||||
*height: 13px;
|
||||
padding: 0;
|
||||
*width: 13px;
|
||||
*height: 13px;
|
||||
}
|
||||
input[type="image"] {
|
||||
border: 0;
|
||||
@include box-shadow(none);
|
||||
border: 0;
|
||||
@include box-shadow(none);
|
||||
}
|
||||
input[type="file"] {
|
||||
width: auto;
|
||||
@@ -110,7 +110,7 @@ input[type="file"] {
|
||||
border: initial;
|
||||
background-color: transparent;
|
||||
background-color: initial;
|
||||
@include box-shadow(none);
|
||||
@include box-shadow(none);
|
||||
}
|
||||
input[type="button"],
|
||||
input[type="reset"],
|
||||
@@ -118,11 +118,11 @@ input[type="submit"] {
|
||||
width : auto;
|
||||
height : auto;
|
||||
cursor : pointer;
|
||||
*overflow : visible;
|
||||
*overflow : visible;
|
||||
}
|
||||
select,
|
||||
input[type="file"] {
|
||||
*margin-top : 4px;
|
||||
*margin-top : 4px;
|
||||
}
|
||||
select {
|
||||
width : auto;
|
||||
@@ -130,40 +130,40 @@ select {
|
||||
}
|
||||
select[multiple],
|
||||
select[size] {
|
||||
height : auto;
|
||||
height : auto;
|
||||
}
|
||||
textarea {
|
||||
@include resize(vertical);
|
||||
height : auto;
|
||||
overflow : auto;
|
||||
vertical-align : top;
|
||||
overflow : auto;
|
||||
vertical-align : top;
|
||||
}
|
||||
input[type="hidden"] {
|
||||
display : none;
|
||||
display : none;
|
||||
}
|
||||
.radio,
|
||||
.checkbox {
|
||||
padding-left : 18px;
|
||||
font-weight : normal;
|
||||
padding-left : 18px;
|
||||
font-weight : normal;
|
||||
}
|
||||
.radio input[type="radio"],
|
||||
.checkbox input[type="checkbox"] {
|
||||
float : left;
|
||||
margin-left : -18px;
|
||||
margin-left : -18px;
|
||||
}
|
||||
.radio.inline,
|
||||
.checkbox.inline {
|
||||
display : inline-block;
|
||||
padding-top : 5px;
|
||||
margin-bottom : 0;
|
||||
vertical-align : middle;
|
||||
vertical-align : middle;
|
||||
}
|
||||
.radio.inline + .radio.inline,
|
||||
.checkbox.inline + .checkbox.inline {
|
||||
margin-left : 10px;
|
||||
margin-left : 10px;
|
||||
}
|
||||
|
||||
/*
|
||||
/*
|
||||
Disabled state
|
||||
========================================================================== */
|
||||
|
||||
@@ -174,10 +174,10 @@ input[readonly],
|
||||
select[readonly],
|
||||
textarea[readonly] {
|
||||
@include opacity(.5);
|
||||
cursor : not-allowed;
|
||||
cursor : not-allowed;
|
||||
}
|
||||
|
||||
/*
|
||||
/*
|
||||
Focus & active state
|
||||
========================================================================== */
|
||||
|
||||
@@ -185,35 +185,35 @@ input:focus,
|
||||
textarea:focus {
|
||||
border-color : $accentcolor;
|
||||
outline : 0;
|
||||
outline : thin dotted \9;
|
||||
outline : thin dotted \9;
|
||||
}
|
||||
input[type="file"]:focus,
|
||||
input[type="radio"]:focus,
|
||||
input[type="checkbox"]:focus,
|
||||
select:focus {
|
||||
@include box-shadow(none);
|
||||
@include box-shadow(none);
|
||||
}
|
||||
|
||||
/*
|
||||
/*
|
||||
Help text
|
||||
========================================================================== */
|
||||
|
||||
.help-block,
|
||||
.help-inline {
|
||||
color : lighten($black, 50);
|
||||
color : lighten($black, 50);
|
||||
}
|
||||
.help-block {
|
||||
display : block;
|
||||
margin-bottom : 1em;
|
||||
display : block;
|
||||
margin-bottom : 1em;
|
||||
line-height : 1em;
|
||||
}
|
||||
.help-inline {
|
||||
display : inline-block;
|
||||
vertical-align : middle;
|
||||
padding-left : 5px;
|
||||
padding-left : 5px;
|
||||
}
|
||||
|
||||
/*
|
||||
/*
|
||||
.form-inline
|
||||
========================================================================== */
|
||||
|
||||
@@ -221,17 +221,17 @@ select:focus {
|
||||
.form-inline textarea,
|
||||
.form-inline select {
|
||||
display : inline-block;
|
||||
margin-bottom : 0;
|
||||
margin-bottom : 0;
|
||||
}
|
||||
.form-inline label {
|
||||
display : inline-block;
|
||||
display : inline-block;
|
||||
}
|
||||
.form-inline .radio,
|
||||
.form-inline .checkbox,
|
||||
.form-inline .radio {
|
||||
padding-left : 0;
|
||||
margin-bottom : 0;
|
||||
vertical-align : middle;
|
||||
vertical-align : middle;
|
||||
}
|
||||
.form-inline .radio input[type="radio"],
|
||||
.form-inline .checkbox input[type="checkbox"] {
|
||||
@@ -239,7 +239,7 @@ select:focus {
|
||||
margin-left : 0;
|
||||
margin-right : 3px; }
|
||||
|
||||
/*
|
||||
/*
|
||||
.form-search
|
||||
========================================================================== */
|
||||
|
||||
@@ -247,13 +247,13 @@ select:focus {
|
||||
.form-search textarea,
|
||||
.form-search select {
|
||||
display : inline-block;
|
||||
margin-bottom : 0;
|
||||
margin-bottom : 0;
|
||||
}
|
||||
.form-search .search-query {
|
||||
padding-left : 14px;
|
||||
padding-right : 14px;
|
||||
margin-bottom : 0;
|
||||
@include rounded(14px);
|
||||
margin-bottom : 0;
|
||||
@include rounded(14px);
|
||||
}
|
||||
.form-search label {
|
||||
display : inline-block;
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
Grid mixins
|
||||
========================================================================== */
|
||||
|
||||
/*
|
||||
/*
|
||||
Define number of columns in the grid
|
||||
Common values would be 12, 16 or 24
|
||||
========================================================================== */
|
||||
@@ -16,7 +16,7 @@ $margin: 0;
|
||||
width:$width;
|
||||
}
|
||||
|
||||
/*
|
||||
/*
|
||||
Works out the width of elements based on total number of columns and width
|
||||
number of columns being displayed. Removes 20px for margins.
|
||||
========================================================================== */
|
||||
@@ -25,9 +25,9 @@ $margin: 0;
|
||||
display:$display;
|
||||
float:$float;
|
||||
width:(100%/$grid * $cols) - ($margin * 2);
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
/*
|
||||
Add x amount of column padding before an element
|
||||
Example: @include prefix(1,12);
|
||||
========================================================================== */
|
||||
@@ -36,16 +36,16 @@ $margin: 0;
|
||||
margin-left:(100%/$grid * $cols);
|
||||
}
|
||||
|
||||
/*
|
||||
/*
|
||||
Add x amount of column padding after an element
|
||||
Example: @include suffix(2,12);
|
||||
========================================================================== */
|
||||
|
||||
@mixin suffix($grid:$def_grid,$cols:''){
|
||||
margin-right:(100%/$grid * $cols);
|
||||
@mixin suffix($grid:$def_grid,$cols:''){
|
||||
margin-right:(100%/$grid * $cols);
|
||||
}
|
||||
|
||||
/*
|
||||
/*
|
||||
Remove left margin
|
||||
Example: @include first;
|
||||
========================================================================== */
|
||||
@@ -54,7 +54,7 @@ $margin: 0;
|
||||
margin-left:0;
|
||||
}
|
||||
|
||||
/*
|
||||
/*
|
||||
Remove right margin
|
||||
Example: @include last;
|
||||
========================================================================== */
|
||||
@@ -63,7 +63,7 @@ $margin: 0;
|
||||
margin-right:0;
|
||||
}
|
||||
|
||||
/*
|
||||
/*
|
||||
Push an element x amount of column(s) to the right
|
||||
Example: @include push(2,12);
|
||||
========================================================================== */
|
||||
@@ -71,9 +71,9 @@ $margin: 0;
|
||||
@mixin push($grid:$def_grid,$move:'') {
|
||||
position:relative;
|
||||
left:(100%/$grid * $move);
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
/*
|
||||
Pull an element x amount of column(s) to the left
|
||||
Example: @include pull(1,12);
|
||||
========================================================================== */
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
Utility mixins
|
||||
========================================================================== */
|
||||
|
||||
/*
|
||||
/*
|
||||
Clearfix
|
||||
For clearing floats like a boss h5bp.com/q
|
||||
========================================================================== */
|
||||
@@ -22,7 +22,7 @@
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
/*
|
||||
Webkit-style focus
|
||||
========================================================================== */
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
outline-offset: -2px;
|
||||
}
|
||||
|
||||
/*
|
||||
/*
|
||||
Center-align a block level element
|
||||
========================================================================== */
|
||||
|
||||
@@ -48,7 +48,7 @@
|
||||
Typography related mixins
|
||||
========================================================================== */
|
||||
|
||||
/*
|
||||
/*
|
||||
Maintains vertical rhythm by setting a font-sizes proportional to
|
||||
line-height and bottom margin
|
||||
example: @font-size(16);
|
||||
@@ -62,7 +62,7 @@
|
||||
margin-bottom: 0rem + ($doc-line-height / $doc-font-size);
|
||||
}
|
||||
|
||||
/*
|
||||
/*
|
||||
Just font-size (REMs + pixel fallback)
|
||||
example: @include font-rem(16);
|
||||
========================================================================== */
|
||||
@@ -72,7 +72,7 @@
|
||||
font-size: 0rem + $size / $doc-font-size;
|
||||
}
|
||||
|
||||
/*
|
||||
/*
|
||||
Just font-size (REMs + pixel fallback) and line-height
|
||||
@include font(16);
|
||||
========================================================================== */
|
||||
@@ -83,14 +83,14 @@
|
||||
line-height: 0 + round($doc-line-height / $size*10000) / 10000;
|
||||
}
|
||||
|
||||
/*
|
||||
/*
|
||||
Hide text overflow and end with ...
|
||||
========================================================================== */
|
||||
|
||||
@mixin text-overflow() {
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
/* Indentation variable */
|
||||
@@ -120,7 +120,7 @@ $indent-var: 0rem + ($doc-line-height / $doc-font-size);
|
||||
background-image : -ms-linear-gradient(top, $startColor, $endColor); // IE10
|
||||
background-image : -o-linear-gradient(top, $startColor, $endColor); // Opera 11.10
|
||||
background-image : linear-gradient(top, $startColor, $endColor); // W3C
|
||||
background-repeat : repeat-x;
|
||||
background-repeat : repeat-x;
|
||||
}
|
||||
|
||||
@mixin directional($startColor : $white, $endColor : $lightergrey, $deg : 45deg) {
|
||||
@@ -130,7 +130,7 @@ $indent-var: 0rem + ($doc-line-height / $doc-font-size);
|
||||
background-image : -webkit-linear-gradient($deg, $startColor, $endColor); // Safari 5.1+, Chrome 10+
|
||||
background-image : -o-linear-gradient($deg, $startColor, $endColor); // Opera 11.10
|
||||
background-image : linear-gradient($deg, $startColor, $endColor); // W3C
|
||||
background-repeat : repeat-x;
|
||||
background-repeat : repeat-x;
|
||||
}
|
||||
|
||||
// .bordered(COLOR, COLOR, COLOR, COLOR);
|
||||
@@ -138,7 +138,7 @@ $indent-var: 0rem + ($doc-line-height / $doc-font-size);
|
||||
border-top : solid 1px $top-color;
|
||||
border-left : solid 1px $left-color;
|
||||
border-right : solid 1px $right-color;
|
||||
border-bottom : solid 1px $bottom-color;
|
||||
border-bottom : solid 1px $bottom-color;
|
||||
}
|
||||
|
||||
/* ==========================================================================
|
||||
@@ -147,16 +147,16 @@ $indent-var: 0rem + ($doc-line-height / $doc-font-size);
|
||||
|
||||
|
||||
|
||||
/*
|
||||
/*
|
||||
Round all corners
|
||||
example: @include rounded(4px);
|
||||
========================================================================== */
|
||||
|
||||
@mixin rounded($radius:4px) {
|
||||
border-radius : $radius;
|
||||
border-radius : $radius;
|
||||
}
|
||||
|
||||
/*
|
||||
/*
|
||||
Round individual corners (top right, bottom right, bottom left, top left)
|
||||
example: @include border-radius(4px, 0, 0, 4px);
|
||||
========================================================================== */
|
||||
@@ -167,11 +167,11 @@ $indent-var: 0rem + ($doc-line-height / $doc-font-size);
|
||||
border-bottom-left-radius: $bottomleft;
|
||||
border-top-left-radius: $topleft;
|
||||
-webkit-background-clip: padding-box;
|
||||
-moz-background-clip: padding;
|
||||
background-clip: padding-box;
|
||||
-moz-background-clip: padding;
|
||||
background-clip: padding-box;
|
||||
}
|
||||
|
||||
/*
|
||||
/*
|
||||
Box shadow
|
||||
example: @include box-shadow(HORIZONTAL VERTICAL BLUR COLOR));
|
||||
========================================================================== */
|
||||
@@ -179,10 +179,10 @@ $indent-var: 0rem + ($doc-line-height / $doc-font-size);
|
||||
@mixin box-shadow($shadow: 0 1px 3px rgba(0,0,0,.25)) {
|
||||
-webkit-box-shadow: $shadow;
|
||||
-moz-box-shadow: $shadow;
|
||||
box-shadow: $shadow;
|
||||
box-shadow: $shadow;
|
||||
}
|
||||
|
||||
/*
|
||||
/*
|
||||
Drop shadow
|
||||
example: @include drop-shadow(HORIZONTAL, VERTICAL, BLUR, ALPHA);
|
||||
========================================================================== */
|
||||
@@ -190,10 +190,10 @@ $indent-var: 0rem + ($doc-line-height / $doc-font-size);
|
||||
@mixin drop-shadow($x-axis: 0, $y-axis: 1px, $blur: 2px, $alpha: 0.1) {
|
||||
-webkit-box-shadow: $x-axis $y-axis $blur rgba(0, 0, 0, $alpha);
|
||||
-moz-box-shadow: $x-axis $y-axis $blur rgba(0, 0, 0, $alpha);
|
||||
box-shadow: $x-axis $y-axis $blur rgba(0, 0, 0, $alpha);
|
||||
box-shadow: $x-axis $y-axis $blur rgba(0, 0, 0, $alpha);
|
||||
}
|
||||
|
||||
/*
|
||||
/*
|
||||
Text shadow
|
||||
example: @include text-shadow(0 2px 3px rgba(0,0,0,.25));
|
||||
========================================================================== */
|
||||
@@ -201,20 +201,20 @@ $indent-var: 0rem + ($doc-line-height / $doc-font-size);
|
||||
@mixin text-shadow($shadow: 0 2px 3px rgba(0,0,0,.25)) {
|
||||
text-shadow: $shadow; }
|
||||
|
||||
/*
|
||||
/*
|
||||
Opacity
|
||||
example: @include opacity(0.5); // 50% opacity
|
||||
========================================================================== */
|
||||
|
||||
@mixin opacity($opacity: 0.5) {
|
||||
opacity: $opacity;
|
||||
opacity: $opacity;
|
||||
}
|
||||
|
||||
/* ==========================================================================
|
||||
Transformations
|
||||
========================================================================== */
|
||||
|
||||
/*
|
||||
/*
|
||||
@include rotate(VALUEdeg);
|
||||
========================================================================== */
|
||||
|
||||
@@ -223,10 +223,10 @@ text-shadow: $shadow; }
|
||||
-moz-transform: rotate($deg);
|
||||
-ms-transform: rotate($deg);
|
||||
-o-transform: rotate($deg);
|
||||
transform: rotate($deg);
|
||||
transform: rotate($deg);
|
||||
}
|
||||
|
||||
/*
|
||||
/*
|
||||
@include scale(VALUE);
|
||||
========================================================================== */
|
||||
|
||||
@@ -235,10 +235,10 @@ text-shadow: $shadow; }
|
||||
-moz-transform: scale($ratio);
|
||||
-ms-transform: scale($ratio);
|
||||
-o-transform: scale($ratio);
|
||||
transform: scale($ratio);
|
||||
transform: scale($ratio);
|
||||
}
|
||||
|
||||
/*
|
||||
/*
|
||||
@include skew(VALUE, VALUE);
|
||||
========================================================================== */
|
||||
|
||||
@@ -247,10 +247,10 @@ text-shadow: $shadow; }
|
||||
-moz-transform: skew($x, $y);
|
||||
-ms-transform: skew($x, $y);
|
||||
-o-transform: skew($x, $y);
|
||||
transform: skew($x, $y);
|
||||
transform: skew($x, $y);
|
||||
}
|
||||
|
||||
/*
|
||||
/*
|
||||
@include transition(PROPERTY DURATION DELAY(OPTIONAL) TIMING-FINCTION);
|
||||
========================================================================== */
|
||||
|
||||
@@ -259,10 +259,10 @@ text-shadow: $shadow; }
|
||||
-moz-transition: $transition;
|
||||
-ms-transition: $transition;
|
||||
-o-transition: $transition;
|
||||
transition: $transition;
|
||||
transition: $transition;
|
||||
}
|
||||
|
||||
/*
|
||||
/*
|
||||
@include translate(VALUE, VALUE);
|
||||
========================================================================== */
|
||||
|
||||
@@ -271,7 +271,7 @@ text-shadow: $shadow; }
|
||||
-moz-transform: translate($x, $y);
|
||||
-ms-transform: translate($x, $y);
|
||||
-o-transform: translate($x, $y);
|
||||
transform: translate($x, $y);
|
||||
transform: translate($x, $y);
|
||||
}
|
||||
|
||||
@mixin translate3d($x: 0, $y: 0, $z: 0) {
|
||||
@@ -279,7 +279,7 @@ text-shadow: $shadow; }
|
||||
-moz-transform: translate($x, $y, $z);
|
||||
-ms-transform: translate($x, $y, $z);
|
||||
-o-transform: translate($x, $y, $z);
|
||||
transform: translate($x, $y, $z);
|
||||
transform: translate($x, $y, $z);
|
||||
}
|
||||
|
||||
@mixin animation($name, $duration: 300ms, $delay: 0, $ease: ease) {
|
||||
@@ -292,15 +292,15 @@ text-shadow: $shadow; }
|
||||
Background
|
||||
========================================================================== */
|
||||
|
||||
/*
|
||||
/*
|
||||
@include background-alpha(VALUE VALUE);
|
||||
========================================================================== */
|
||||
|
||||
@mixin background-alpha($color: $white, $alpha: 1) {
|
||||
background-color: hsla(hue($color), saturation($color), lightness($color), $alpha);
|
||||
background-color: hsla(hue($color), saturation($color), lightness($color), $alpha);
|
||||
}
|
||||
|
||||
/*
|
||||
/*
|
||||
@include background-size(VALUE VALUE);
|
||||
========================================================================== */
|
||||
|
||||
@@ -308,10 +308,10 @@ text-shadow: $shadow; }
|
||||
-webkit-background-size: $size;
|
||||
-moz-background-size: $size;
|
||||
-o-background-size: $size;
|
||||
background-size: $size;
|
||||
background-size: $size;
|
||||
}
|
||||
|
||||
/*
|
||||
/*
|
||||
Box-sizing
|
||||
example: @include box-sizing(VALUE); //(border-box, padding-box, content-box)
|
||||
========================================================================== */
|
||||
@@ -320,7 +320,7 @@ text-shadow: $shadow; }
|
||||
-webkit-box-sizing: $boxsize;
|
||||
-moz-box-sizing: $boxsize;
|
||||
-ms-box-sizing: $boxsize;
|
||||
box-sizing: $boxsize;
|
||||
box-sizing: $boxsize;
|
||||
}
|
||||
|
||||
/* ==========================================================================
|
||||
@@ -330,10 +330,10 @@ text-shadow: $shadow; }
|
||||
@mixin hide-text() {
|
||||
text-indent: 100%;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
/*
|
||||
/*
|
||||
Hide from visual and speaking browsers
|
||||
========================================================================== */
|
||||
|
||||
@@ -342,15 +342,15 @@ text-shadow: $shadow; }
|
||||
visibility: hidden;
|
||||
}
|
||||
|
||||
/*
|
||||
/*
|
||||
Hide but maintain layout
|
||||
========================================================================== */
|
||||
|
||||
@mixin invisible() {
|
||||
visibility: hidden;
|
||||
@mixin invisible() {
|
||||
visibility: hidden;
|
||||
}
|
||||
|
||||
/*
|
||||
/*
|
||||
Resize
|
||||
example: @include resize(VALUE); //(none, both, horizontal, vertical, inherit)
|
||||
|
||||
@@ -358,19 +358,19 @@ text-shadow: $shadow; }
|
||||
|
||||
@mixin resize($direction: both) {
|
||||
resize: $direction;
|
||||
overflow: auto;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
/*
|
||||
/*
|
||||
Hidden but available to speaking browsers
|
||||
========================================================================== */
|
||||
|
||||
@mixin visuallyhidden() {
|
||||
overflow: hidden;
|
||||
@mixin visuallyhidden() {
|
||||
overflow: hidden;
|
||||
position: absolute;
|
||||
clip: rect(0 0 0 0);
|
||||
height: 1px;
|
||||
clip: rect(0 0 0 0);
|
||||
height: 1px;
|
||||
width: 1px;
|
||||
margin: -1px;
|
||||
padding: 0;
|
||||
border: 0; }
|
||||
margin: -1px;
|
||||
padding: 0;
|
||||
border: 0; }
|
||||
|
||||
@@ -8,7 +8,7 @@ body {
|
||||
color: $text-color;
|
||||
}
|
||||
|
||||
/*
|
||||
/*
|
||||
Header
|
||||
========================================================================== */
|
||||
|
||||
@@ -79,7 +79,7 @@ body {
|
||||
white-space: nowrap;
|
||||
border-bottom: 0 solid transparent;
|
||||
}
|
||||
a {
|
||||
a {
|
||||
display: block;
|
||||
padding: 10px 0;
|
||||
decoration: none;
|
||||
@@ -165,11 +165,11 @@ $button-size: 1.5rem;
|
||||
}
|
||||
}
|
||||
// Style the toggle menu link and hide it
|
||||
.nav .navtoogle {
|
||||
.nav .navtoogle {
|
||||
@include font-rem(18);
|
||||
font-weight: normal;
|
||||
background-color: $black;
|
||||
color: $white;
|
||||
color: $white;
|
||||
border: none;
|
||||
cursor: pointer;
|
||||
@media #{$small} {
|
||||
@@ -206,7 +206,7 @@ $button-size: 1.5rem;
|
||||
}
|
||||
}
|
||||
// Displaying the menu when the user has clicked on the button
|
||||
.js .nav .active + ul {
|
||||
.js .nav .active + ul {
|
||||
max-height: 30em;
|
||||
overflow: hidden;
|
||||
-webkit-transition: max-height .4s;
|
||||
@@ -548,7 +548,7 @@ $button-size: 1.5rem;
|
||||
margin: 1em 0;
|
||||
li {
|
||||
display: inline;
|
||||
a {
|
||||
a {
|
||||
border-bottom: 0 solid transparent;
|
||||
&:hover {
|
||||
border-bottom: 0 solid transparent;
|
||||
@@ -574,7 +574,7 @@ $button-size: 1.5rem;
|
||||
li {
|
||||
display: inline-block;
|
||||
}
|
||||
$social:
|
||||
$social:
|
||||
(facebook, $facebook-color),
|
||||
(flickr, $flickr-color),
|
||||
(foursquare, $foursquare-color),
|
||||
@@ -590,7 +590,7 @@ $button-size: 1.5rem;
|
||||
@each $socialnetwork, $color in $social {
|
||||
.#{$socialnetwork} {
|
||||
background: $color;
|
||||
}
|
||||
}
|
||||
}
|
||||
a {
|
||||
display: block;
|
||||
@@ -634,7 +634,7 @@ $button-size: 1.5rem;
|
||||
h4,
|
||||
h5,
|
||||
h6,
|
||||
span {
|
||||
span {
|
||||
@include font-rem(14);
|
||||
}
|
||||
footer {
|
||||
@@ -679,7 +679,7 @@ $button-size: 1.5rem;
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
/*
|
||||
Browser upgrade alert
|
||||
========================================================================== */
|
||||
|
||||
@@ -699,7 +699,7 @@ $button-size: 1.5rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
/*
|
||||
/*
|
||||
Google search form
|
||||
========================================================================== */
|
||||
|
||||
|
||||
@@ -2,22 +2,22 @@
|
||||
Site wide styles
|
||||
========================================================================== */
|
||||
|
||||
/*
|
||||
/*
|
||||
Selection
|
||||
========================================================================== */
|
||||
|
||||
::-moz-selection {
|
||||
background-color: lighten($basecolor, 65%);
|
||||
color: $basecolor;
|
||||
text-shadow: none;
|
||||
}
|
||||
::selection {
|
||||
background-color: lighten($basecolor, 65%);
|
||||
color: $basecolor;
|
||||
text-shadow: none;
|
||||
::-moz-selection {
|
||||
background-color: lighten($basecolor, 65%);
|
||||
color: $basecolor;
|
||||
text-shadow: none;
|
||||
}
|
||||
::selection {
|
||||
background-color: lighten($basecolor, 65%);
|
||||
color: $basecolor;
|
||||
text-shadow: none;
|
||||
}
|
||||
|
||||
/*
|
||||
/*
|
||||
Global classes
|
||||
========================================================================== */
|
||||
|
||||
@@ -63,10 +63,10 @@
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
/*
|
||||
Global transition
|
||||
========================================================================== */
|
||||
|
||||
b, i, strong, em, blockquote, p, q, span, figure, img, h1, h2, header, input, a {
|
||||
@include transition(all .2s ease);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
Typography
|
||||
========================================================================== */
|
||||
|
||||
/*
|
||||
/*
|
||||
Headings
|
||||
========================================================================== */
|
||||
|
||||
@@ -28,30 +28,30 @@ h6 {
|
||||
@include font-size(14);
|
||||
}
|
||||
|
||||
/*
|
||||
/*
|
||||
Links
|
||||
========================================================================== */
|
||||
|
||||
a {
|
||||
a {
|
||||
text-decoration: none;
|
||||
color: $link-color;
|
||||
&:visited {
|
||||
color: $linkcolorvisited;
|
||||
color: $link-color;
|
||||
&:visited {
|
||||
color: $linkcolorvisited;
|
||||
}
|
||||
&:hover {
|
||||
color: $linkcolorhover;
|
||||
&:hover {
|
||||
color: $linkcolorhover;
|
||||
}
|
||||
&:focus {
|
||||
outline: thin dotted;
|
||||
&:focus {
|
||||
outline: thin dotted;
|
||||
color: $linkcolorfocus;
|
||||
}
|
||||
&:hover,
|
||||
&:active {
|
||||
outline: 0;
|
||||
&:hover,
|
||||
&:active {
|
||||
outline: 0;
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
/*
|
||||
Figure captions
|
||||
========================================================================== */
|
||||
|
||||
@@ -62,7 +62,7 @@ figcaption {
|
||||
color: lighten($text-color, 10);
|
||||
}
|
||||
|
||||
/*
|
||||
/*
|
||||
Feature image captions
|
||||
========================================================================== */
|
||||
|
||||
@@ -89,7 +89,7 @@ figcaption {
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
/*
|
||||
Notices
|
||||
========================================================================== */
|
||||
|
||||
@@ -103,7 +103,7 @@ figcaption {
|
||||
@include rounded(3px);
|
||||
}
|
||||
|
||||
/*
|
||||
/*
|
||||
Blockquotes
|
||||
========================================================================== */
|
||||
|
||||
@@ -115,7 +115,7 @@ blockquote {
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
/*
|
||||
/*
|
||||
Footnotes
|
||||
========================================================================== */
|
||||
|
||||
@@ -126,7 +126,7 @@ blockquote {
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
/*
|
||||
Paragraphs
|
||||
========================================================================== */
|
||||
|
||||
@@ -141,7 +141,7 @@ p {
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
/*
|
||||
Code snippets
|
||||
========================================================================== */
|
||||
|
||||
@@ -149,7 +149,7 @@ tt, code, kbd, samp, pre {
|
||||
font-family: $code-font;
|
||||
}
|
||||
p,
|
||||
li {
|
||||
li {
|
||||
code {
|
||||
@include font-rem(12);
|
||||
line-height: 1.5;
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
Sass variables
|
||||
========================================================================== */
|
||||
|
||||
/*
|
||||
/*
|
||||
Typography
|
||||
========================================================================== */
|
||||
|
||||
@@ -14,7 +14,7 @@ $heading-font: 'PT Sans Narrow', sans-serif;
|
||||
$code-font: Monaco, "Courier New", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", monospace;
|
||||
$alt-font: $base-font;
|
||||
|
||||
/*
|
||||
/*
|
||||
Colors
|
||||
========================================================================== */
|
||||
|
||||
@@ -23,8 +23,8 @@ $body-color : $bodycolor;
|
||||
$textcolor : #333332;
|
||||
$text-color : $textcolor;
|
||||
$border-color : $text-color;
|
||||
$basecolor : #343434;
|
||||
$compcolor : spin($basecolor, 180);
|
||||
$basecolor : #343434;
|
||||
$compcolor : spin($basecolor, 180);
|
||||
$bordercolor : $basecolor;
|
||||
$white : #fff;
|
||||
$black : #111;
|
||||
@@ -58,12 +58,12 @@ $linkcolorhover : darken($linkcolor, 10);
|
||||
$linkcolorvisited : lighten($linkcolorhover, 20);
|
||||
$linkcolorfocus : darken($linkcolorvisited, 10);
|
||||
|
||||
/*
|
||||
/*
|
||||
Breakpoints
|
||||
========================================================================== */
|
||||
|
||||
|
||||
$micro : "only screen and (min-width: 30em)";
|
||||
$small : "only screen and (min-width: 37.5em)";
|
||||
$medium : "only screen and (min-width: 48em)";
|
||||
$large : "only screen and (min-width: 62em)";
|
||||
$x-large : "only screen and (min-width: 86.375em)";
|
||||
$x-large : "only screen and (min-width: 86.375em)";
|
||||
|
||||
2
_sass/vendor/magnific-popup/_settings.scss
vendored
2
_sass/vendor/magnific-popup/_settings.scss
vendored
@@ -43,4 +43,4 @@ $mfp-caption-subtitle-color: #BDBDBD; // Caption sub
|
||||
.mfp-counter { font-family: $alt-font; } // Caption font family
|
||||
|
||||
// A11y
|
||||
$mfp-use-visuallyhidden: false;
|
||||
$mfp-use-visuallyhidden: false;
|
||||
|
||||
@@ -66,7 +66,7 @@ $mfp-caption-title-color: #F3F3F3 !default;
|
||||
$mfp-caption-subtitle-color: #BDBDBD !default;
|
||||
|
||||
// A11y
|
||||
$mfp-use-visuallyhidden: false !default; // Hide content from browsers, but make it available for screen readers
|
||||
$mfp-use-visuallyhidden: false !default; // Hide content from browsers, but make it available for screen readers
|
||||
|
||||
|
||||
|
||||
@@ -129,7 +129,7 @@ $mfp-use-visuallyhidden: false !default; // Hide content from brows
|
||||
|
||||
// Remove vertical centering when popup has class `mfp-align-top`
|
||||
.mfp-align-top {
|
||||
.mfp-container {
|
||||
.mfp-container {
|
||||
&:before {
|
||||
display: none;
|
||||
}
|
||||
@@ -401,7 +401,7 @@ button {
|
||||
&:before,
|
||||
.mfp-b {
|
||||
margin-left: 25px;
|
||||
border-right: 27px solid $mfp-controls-border-color;
|
||||
border-right: 27px solid $mfp-controls-border-color;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user