More coding-style fixes; changed sass-lint to enforce leading zeroes for decimal values

This commit is contained in:
Gregory Ballantine 2018-04-11 10:43:15 -04:00
parent 698aba8b45
commit 347f599f32
2 changed files with 17 additions and 13 deletions

View File

@ -12,6 +12,10 @@ rules:
extends-before-mixins: 2
extends-before-declarations: 2
placeholder-in-extend: 2
leading-zero:
- 1
-
convention: true
mixins-before-declarations:
- 2
-

View File

@ -41,7 +41,7 @@ $slider-thumb-border-radius: 15px
float: left
margin: 0
padding: 0
.mup-controls-right
float: right
margin: 0
@ -56,7 +56,7 @@ $slider-thumb-border-radius: 15px
.mup-progress-bar, .mup-progress-fill
margin: 0
padding: 0
border: 0
border: none
.mup-control.mup-progress-bar
display: block
@ -86,7 +86,7 @@ $slider-thumb-border-radius: 15px
background: lighten($control-background-light, 10%)
color: $text-color-dark
cursor: pointer
.mup-volume-slider
display: inline-block
width: 120px
@ -104,11 +104,11 @@ $slider-thumb-border-radius: 15px
box-shadow: 0 0 0 $shadow-color, 0 0 0 $shadow-color
background: $slider-track-color
border-radius: 25px
border: 0px solid $control-border
border: 0 solid $control-border
overflow: hidden
&::-webkit-slider-thumb
box-shadow: -100px 0 0 90px $main-color
border: 0px solid $shadow-color
border: 0 solid $shadow-color
width: $slider-thumb-width
height: $slider-thumb-height
border-radius: $slider-thumb-border-radius
@ -124,17 +124,17 @@ $slider-thumb-border-radius: 15px
height: 10px
cursor: pointer
animate: 0.2s
box-shadow: 0px 0px 0px $shadow-color, 0px 0px 0px $shadow-color
box-shadow: 0 0 0 $shadow-color, 0 0 0 $shadow-color
background: $slider-track-color
border-radius: 25px
border: 0px solid $control-border
border: 0 solid $control-border
&::-moz-range-progress
height: 100%
background: $main-color
border-radius: $slider-thumb-border-radius
&::-moz-range-thumb
box-shadow: 0px 0px 0px $shadow-color, 0px 0px 0px $shadow-color
border: 0px solid $control-border
box-shadow: 0 0 0 $shadow-color, 0 0 0 $shadow-color
border: 0 solid $control-border
width: $slider-thumb-width
height: $slider-thumb-height
border-radius: $slider-thumb-border-radius
@ -153,14 +153,14 @@ $slider-thumb-border-radius: 15px
&::-ms-fill-lower,
&::-ms-fill-upper
background: $slider-track-color
border: 0px solid $control-border
border: 0 solid $control-border
border-radius: 50px
box-shadow: 0px 0px 0px $shadow-color, 0px 0px 0px $shadow-color
box-shadow: 0 0 0 $shadow-color, 0 0 0 $shadow-color
&::-ms-fill-lower
background: $slider-thumb-color
&::-ms-thumb
box-shadow: 0px 0px 0px $shadow-color, 0px 0px 0px $shadow-color
border: 0px solid $control-border
box-shadow: 0 0 0 $shadow-color, 0 0 0 $shadow-color
border: 0 solid $control-border
width: $slider-thumb-width
height: $slider-thumb-height
border-radius: $slider-thumb-border-radius