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-mixins: 2
extends-before-declarations: 2 extends-before-declarations: 2
placeholder-in-extend: 2 placeholder-in-extend: 2
leading-zero:
- 1
-
convention: true
mixins-before-declarations: mixins-before-declarations:
- 2 - 2
- -

View File

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