Update SCSS Linter for Leading Zeros and 0 Units

This commit is contained in:
carljbowman 2015-09-25 12:47:26 -04:00
parent 5a812ee89c
commit 127629fc1a
3 changed files with 10 additions and 7 deletions

View file

@ -5,6 +5,7 @@ rules:
- 2
-
size: 4
leading-zero: 2
nesting-depth:
- 1
-
@ -19,3 +20,4 @@ rules:
- 2
-
style: double
zero-unit: 2

View file

@ -7,7 +7,7 @@
left: 0;
z-index: 10;
box-shadow: 0 1px 2px rgba(0,0,0,0.4);
box-shadow: 0 1px 2px rgba(0,0,0, .4);
background-color: $base-background-color;
width: 100%;

View file

@ -28,7 +28,8 @@
width: 100%;
h1, p {
h1,
p {
margin: 0 auto;
padding-top: 10px;
@ -66,7 +67,7 @@
.card-info {
border-radius: 5px;
background-color:white;
background-color: white;
width: 100%;
height: 100%;
@ -122,10 +123,10 @@
}
&:active {
border: 0px solid transparent;
box-shadow: inset 0px 0px 5px rgba(0, 0, 0, 0.25);
border: 0 solid transparent;
box-shadow: inset 0 0 5px rgba(0, 0, 0, .25);
background-color: rgba(0, 0, 0, .20);
padding: calc(0.75em + 2px) calc(1em + 2px);
padding: calc(.75em + 2px) calc(1em + 2px);
}
}
}
@ -134,7 +135,7 @@
.box section {
display: flex;
margin: 0 auto;
border-bottom: 1px solid rgba(0, 0, 0, 0.15);
border-bottom: 1px solid rgba(0, 0, 0, .15);
padding: 30px 0;
width: 95%;