Standardizing bracket syntax
This commit is contained in:
@ -70,7 +70,7 @@ body {
|
||||
overflow-y: hidden;
|
||||
}
|
||||
|
||||
@include responsive( $bp_medium ){
|
||||
@include responsive($bp_medium){
|
||||
&.context-menu-open {
|
||||
overflow-y: hidden;
|
||||
}
|
||||
@ -81,11 +81,11 @@ main,
|
||||
footer {
|
||||
margin-left: 220px;
|
||||
|
||||
@include responsive( null, null, $bp_shallow ){
|
||||
@include responsive(null, null, $bp_shallow){
|
||||
padding-bottom: 60px;
|
||||
}
|
||||
|
||||
@include responsive( $bp_medium ){
|
||||
@include responsive($bp_medium){
|
||||
margin-left: 0;
|
||||
}
|
||||
}
|
||||
@ -115,7 +115,7 @@ main {
|
||||
white-space: pre-wrap;
|
||||
}
|
||||
|
||||
@include responsive( $bp_medium ){
|
||||
@include responsive($bp_medium){
|
||||
|
||||
.content-wrapper {
|
||||
padding: 20px 10px 60px;
|
||||
@ -232,7 +232,7 @@ button.placeholder {
|
||||
margin: 25px 40px;
|
||||
height: 10px;
|
||||
|
||||
@include responsive( $bp_medium ){
|
||||
@include responsive($bp_medium){
|
||||
margin-left: 20px;
|
||||
margin-right: 20px;
|
||||
}
|
||||
@ -397,7 +397,7 @@ footer {
|
||||
|
||||
|
||||
|
||||
@include responsive( $bp_medium ){
|
||||
@include responsive($bp_medium){
|
||||
|
||||
h1 {
|
||||
font-size: 1.8rem;
|
||||
|
||||
@ -171,7 +171,7 @@ input[type="submit"] {
|
||||
}
|
||||
}
|
||||
|
||||
@include responsive( $bp_medium ){
|
||||
@include responsive($bp_medium){
|
||||
margin-right: 10px;
|
||||
padding-left: 20px;
|
||||
padding-right: 20px;
|
||||
@ -284,7 +284,7 @@ input[type="submit"] {
|
||||
}
|
||||
}
|
||||
|
||||
@include responsive( $bp_medium ){
|
||||
@include responsive($bp_medium){
|
||||
.field {
|
||||
|
||||
.name {
|
||||
|
||||
@ -54,7 +54,7 @@ $bp_shallow: 650px;
|
||||
* General animations
|
||||
**/
|
||||
|
||||
@mixin animate( $duration: 0.2s, $easing: ease-in-out ){
|
||||
@mixin animate($duration: 0.2s, $easing: ease-in-out){
|
||||
-webkit-transition: all $duration $easing;
|
||||
-moz-transition: all $duration $easing;
|
||||
-o-transition: all $duration $easing;
|
||||
@ -73,7 +73,7 @@ $bp_shallow: 650px;
|
||||
to { width: 0%; }
|
||||
}
|
||||
|
||||
@mixin animate_timeout( $duration: 0.2s ){
|
||||
@mixin animate_timeout($duration: 0.2s){
|
||||
animation-name: shrink_from_right;
|
||||
animation-duration: $duration;
|
||||
animation-timing-function: linear;
|
||||
@ -84,7 +84,7 @@ $bp_shallow: 650px;
|
||||
to { transform: rotate(360deg); }
|
||||
}
|
||||
|
||||
@mixin spin( $duration: 0.5s ){
|
||||
@mixin spin($duration: 0.5s){
|
||||
animation-name: spin;
|
||||
animation-duration: $duration;
|
||||
animation-timing-function: linear;
|
||||
@ -97,7 +97,7 @@ $bp_shallow: 650px;
|
||||
100% { opacity: 0; }
|
||||
}
|
||||
|
||||
@mixin pulse( $duration: 0.5s ){
|
||||
@mixin pulse($duration: 0.5s){
|
||||
animation-name: pulse;
|
||||
animation-duration: $duration;
|
||||
animation-timing-function: linear;
|
||||
@ -109,7 +109,7 @@ $bp_shallow: 650px;
|
||||
100% { opacity: 1; }
|
||||
}
|
||||
|
||||
@mixin fadein( $duration: 0.2s ){
|
||||
@mixin fadein($duration: 0.2s){
|
||||
animation-name: fadein;
|
||||
animation-duration: $duration;
|
||||
animation-timing-function: linear;
|
||||
@ -128,17 +128,17 @@ $bp_shallow: 650px;
|
||||
* Produces most album/playlist/artist grids
|
||||
**/
|
||||
|
||||
@mixin grid_item( $cols, $gap: 2%, $bottom_margin: 3% ){
|
||||
width: ( 0% + ( 100 / $cols ) - ( $gap * 2 ) + ( ( $gap * 2 ) / $cols ) );
|
||||
@mixin grid_item($cols, $gap: 2%, $bottom_margin: 3%){
|
||||
width: (0% + (100 / $cols ) - ($gap * 2 ) + (($gap * 2 ) / $cols ) );
|
||||
box-sizing: border-box;
|
||||
margin: 0 $gap $bottom_margin;
|
||||
|
||||
&:nth-child(#{$cols}n-#{$cols}) {
|
||||
&:nth-child(#{$cols}n-#{$cols}){
|
||||
margin-right: 0;
|
||||
@include clearfix;
|
||||
}
|
||||
|
||||
&:nth-child(#{$cols}n-#{$cols - 1}) {
|
||||
&:nth-child(#{$cols}n-#{$cols - 1}){
|
||||
margin-left: 0;
|
||||
}
|
||||
}
|
||||
@ -149,37 +149,37 @@ $bp_shallow: 650px;
|
||||
* Creates @media wrappers
|
||||
**/
|
||||
|
||||
@mixin responsive( $max_width: null, $min_width: null, $max_height: null, $min_height: null ){
|
||||
@mixin responsive($max_width: null, $min_width: null, $max_height: null, $min_height: null){
|
||||
@if $max_width and $max_height {
|
||||
@media( max-width: $max_width ), ( max-height: $max_height ){
|
||||
@media(max-width: $max_width ), (max-height: $max_height){
|
||||
@content;
|
||||
}
|
||||
}@else if $max_width and $min_width {
|
||||
@media( max-width: $max_width ) and ( min-width: $min_width ){
|
||||
@media(max-width: $max_width ) and (min-width: $min_width){
|
||||
@content;
|
||||
}
|
||||
}@else if $max_width {
|
||||
@media( max-width: $max_width ){
|
||||
@media(max-width: $max_width){
|
||||
@content;
|
||||
}
|
||||
}@else if $max_height {
|
||||
@media( max-height: $max_height ){
|
||||
@media(max-height: $max_height){
|
||||
@content;
|
||||
}
|
||||
}@else if $min_width {
|
||||
@media( min-width: $min_width ){
|
||||
@media(min-width: $min_width){
|
||||
@content;
|
||||
}
|
||||
}@else if $min_height {
|
||||
@media( min-height: $min_height ){
|
||||
@media(min-height: $min_height){
|
||||
@content;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@mixin blur( $size: 10px ) {
|
||||
-webkit-filter: blur( $size );
|
||||
filter: blur( $size );
|
||||
@mixin blur($size: 10px ){
|
||||
-webkit-filter: blur($size );
|
||||
filter: blur($size );
|
||||
}
|
||||
|
||||
@mixin feature_font(){
|
||||
|
||||
Reference in New Issue
Block a user