style(sass): fixing lint errors

references #5797
This commit is contained in:
Brandy Carney
2016-03-14 16:44:08 -04:00
parent d3d689ae11
commit 253cfc182b
9 changed files with 20 additions and 34 deletions

View File

@ -2,9 +2,15 @@
# See config at https://github.com/brigade/scss-lint/blob/master/config/default.yml # See config at https://github.com/brigade/scss-lint/blob/master/config/default.yml
exclude: 'ionic/components/slides/**' exclude:
- 'ionic/components/slides/**'
- 'ionic/components.*.scss'
linters: linters:
ColorVariable:
enabled: false
DuplicateProperty: DuplicateProperty:
enabled: false enabled: false

View File

@ -43,7 +43,7 @@ hr {
sup, sup,
ion-icon { ion-icon {
&[#{$color-name}] { &[#{$color-name}] {
color: $color-value !important; color: $color-value;
} }
} }
} }

View File

@ -38,7 +38,7 @@ hr {
sup, sup,
ion-icon { ion-icon {
&[#{$color-name}] { &[#{$color-name}] {
color: $color-value !important; color: $color-value;
} }
} }
} }

View File

@ -38,7 +38,7 @@ hr {
sup, sup,
ion-icon { ion-icon {
&[#{$color-name}] { &[#{$color-name}] {
color: $color-value !important; color: $color-value;
} }
} }
} }

View File

@ -7,11 +7,11 @@
<h1>H1: The quick brown fox jumps over the lazy dog</h1> <h1>H1: The quick brown fox jumps over the lazy dog</h1>
<h2>H2: The quick brown fox jumps over the lazy dog</h2> <h2 primary>H2: The quick brown fox jumps over the lazy dog</h2>
<h3>H3: The quick brown fox jumps over the lazy dog</h3> <h3>H3: The quick brown fox jumps over the lazy dog</h3>
<h4>H4: The quick brown fox jumps over the lazy dog</h4> <h4 danger>H4: The quick brown fox jumps over the lazy dog</h4>
<h5>H5: The quick brown fox jumps over the lazy dog</h5> <h5>H5: The quick brown fox jumps over the lazy dog</h5>
@ -19,9 +19,9 @@
<p> <p>
I saw a werewolf with a Chinese menu in his hand. I saw a werewolf with a Chinese menu in his hand.
Walking through the streets of Soho in the rain. Walking through the <sub danger>streets</sub> of Soho in the rain.
He was looking for a place called Lee Ho Fook's. He <i primary>was</i> looking for a place called Lee Ho Fook's.
Gonna get a big dish of beef chow mein. Gonna get a <a secondary>big dish of beef chow mein.</a>
</p> </p>
<p> <p>
@ -30,6 +30,7 @@
Better stay away from him. Better stay away from him.
He'll rip your lungs out, Jim. He'll rip your lungs out, Jim.
I'd like to meet his tailor. I'd like to meet his tailor.
</p> <ion-icon danger name="cut"></ion-icon>
</p>
</ion-content> </ion-content>

View File

@ -47,7 +47,7 @@ ion-spinner.spinner-paused svg {
// -------------------------------------------------- // --------------------------------------------------
.spinner-bubbles circle { .spinner-bubbles circle {
fill: black; fill: #000;
} }
.spinner-bubbles svg { .spinner-bubbles svg {
@ -72,7 +72,7 @@ ion-spinner.spinner-paused svg {
.spinner-crescent circle { .spinner-crescent circle {
fill: transparent; fill: transparent;
stroke: black; stroke: #000;
stroke-width: 4px; stroke-width: 4px;
stroke-dasharray: 128px; stroke-dasharray: 128px;
stroke-dashoffset: 82px; stroke-dashoffset: 82px;

View File

@ -316,12 +316,6 @@ ion-buttons[right] {
font-size: 2.8rem; font-size: 2.8rem;
} }
// TODO remove the !important flag - temporary hack until we can remove the element style
// on transition
&.activated {
opacity: .4 !important;
}
} }
.bar-button-menutoggle[end], .bar-button-menutoggle[end],

View File

@ -50,8 +50,5 @@
// -------------------------------------------------- // --------------------------------------------------
@mixin user-select-none() { @mixin user-select-none() {
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none; user-select: none;
} }

View File

@ -1,13 +1,8 @@
@import "../globals.core"; @import "../globals.core";
.no-transition {
transition: none !important;
}
.hide, .hide,
[hidden], [hidden],
template, template {
root-anchor {
display: none !important; display: none !important;
} }
@ -37,13 +32,6 @@ $focus-outline-box-shadow: 0 0 8px 0 $focus-outline-border-color !default;
box-shadow: $focus-outline-box-shadow; box-shadow: $focus-outline-box-shadow;
} }
ion-input.input-has-focus,
button[ion-item]:focus,
a[ion-item]:focus {
border-color: $focus-outline-border-color;
box-shadow: inset $focus-outline-box-shadow !important;
}
ion-input :focus { ion-input :focus {
outline: none; outline: none;
} }