From cca094ecbf55e8a4f552e55219b37373d3c07d9e Mon Sep 17 00:00:00 2001 From: Yan Zhu Date: Fri, 1 Sep 2017 13:48:48 +0800 Subject: Improve coding styles --- src/_parallax.scss | 8 ++++---- src/_sliders.scss | 2 +- src/_toasts.scss | 1 + src/_utilities.scss | 16 ++++++++-------- 4 files changed, 14 insertions(+), 13 deletions(-) (limited to 'src') diff --git a/src/_parallax.scss b/src/_parallax.scss index 0a737a8..fcde262 100644 --- a/src/_parallax.scss +++ b/src/_parallax.scss @@ -64,7 +64,7 @@ $parallax-scale: .95; transform: perspective($parallax-perspective) rotateX($parallax-deg) rotateY(-$parallax-deg); &::before { - background: linear-gradient(135deg, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0) 50%); + background: linear-gradient(135deg, rgba(255, 255, 255, .35) 0%, transparent 50%); } .parallax-front { @@ -82,7 +82,7 @@ $parallax-scale: .95; transform: perspective($parallax-perspective) rotateX($parallax-deg) rotateY($parallax-deg); &::before { - background: linear-gradient(-135deg, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0) 50%); + background: linear-gradient(-135deg, rgba(255, 255, 255, .35) 0%, transparent 50%); } .parallax-front { @@ -100,7 +100,7 @@ $parallax-scale: .95; transform: perspective($parallax-perspective) rotateX(-$parallax-deg) rotateY(-$parallax-deg); &::before { - background: linear-gradient(45deg, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0) 50%); + background: linear-gradient(45deg, rgba(255, 255, 255, .35) 0%, transparent 50%); } .parallax-front { @@ -118,7 +118,7 @@ $parallax-scale: .95; transform: perspective($parallax-perspective) rotateX(-$parallax-deg) rotateY($parallax-deg); &::before { - background: linear-gradient(-45deg, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0) 50%); + background: linear-gradient(-45deg, rgba(255, 255, 255, .35) 0%, transparent 50%); } .parallax-front { diff --git a/src/_sliders.scss b/src/_sliders.scss index 501d91e..da80a83 100644 --- a/src/_sliders.scss +++ b/src/_sliders.scss @@ -19,7 +19,7 @@ border: 0; border-radius: 50%; height: $unit-3; - margin-top: -($unit-3 - $unit-h) / 2 ; + margin-top: -($unit-3 - $unit-h) / 2; transition: transform .2s ease; width: $unit-3; } diff --git a/src/_toasts.scss b/src/_toasts.scss index 937361c..99b2e2a 100644 --- a/src/_toasts.scss +++ b/src/_toasts.scss @@ -27,6 +27,7 @@ a { color: $light-color; text-decoration: underline; + &:focus, &:hover, &:active, diff --git a/src/_utilities.scss b/src/_utilities.scss index 49846ff..80f1e0b 100644 --- a/src/_utilities.scss +++ b/src/_utilities.scss @@ -1,8 +1,8 @@ -@import 'utilities/colors'; -@import 'utilities/cursors'; -@import 'utilities/display'; -@import 'utilities/divider'; -@import 'utilities/loading'; -@import 'utilities/position'; -@import 'utilities/shapes'; -@import 'utilities/text'; +@import "utilities/colors"; +@import "utilities/cursors"; +@import "utilities/display"; +@import "utilities/divider"; +@import "utilities/loading"; +@import "utilities/position"; +@import "utilities/shapes"; +@import "utilities/text"; -- cgit v1.3.1-23-gd82d