Skip to content

Commit

Permalink
Fix Deprecation Warning #396 #356
Browse files Browse the repository at this point in the history
  • Loading branch information
picturepan2 committed Feb 18, 2018
1 parent c6763ec commit a7f12e5
Show file tree
Hide file tree
Showing 7 changed files with 40 additions and 13 deletions.
14 changes: 11 additions & 3 deletions dist/spectre.css
Original file line number Diff line number Diff line change
Expand Up @@ -614,9 +614,7 @@ dl dd {
color: #fff;
}

.btn.btn-primary.loading::after,
.btn.btn-success.loading::after,
.btn.btn-error.loading::after {
.btn.btn-primary.loading::after {
border-bottom-color: #fff;
border-left-color: #fff;
}
Expand Down Expand Up @@ -645,6 +643,11 @@ dl dd {
color: #fff;
}

.btn.btn-success.loading::after {
border-bottom-color: #fff;
border-left-color: #fff;
}

.btn.btn-error {
background: #e85600;
border-color: #d95000;
Expand All @@ -669,6 +672,11 @@ dl dd {
color: #fff;
}

.btn.btn-error.loading::after {
border-bottom-color: #fff;
border-left-color: #fff;
}

.btn.btn-link {
background: transparent;
border-color: transparent;
Expand Down
2 changes: 1 addition & 1 deletion dist/spectre.min.css

Large diffs are not rendered by default.

14 changes: 11 additions & 3 deletions docs/dist/spectre-rtl.css
Original file line number Diff line number Diff line change
Expand Up @@ -615,9 +615,7 @@ dl dd {
color: #fff;
}

.btn.btn-primary.loading::after,
.btn.btn-success.loading::after,
.btn.btn-error.loading::after {
.btn.btn-primary.loading::after {
border-bottom-color: #fff;
border-left-color: #fff;
}
Expand Down Expand Up @@ -646,6 +644,11 @@ dl dd {
color: #fff;
}

.btn.btn-success.loading::after {
border-bottom-color: #fff;
border-left-color: #fff;
}

.btn.btn-error {
background: #e85600;
border-color: #d95000;
Expand All @@ -670,6 +673,11 @@ dl dd {
color: #fff;
}

.btn.btn-error.loading::after {
border-bottom-color: #fff;
border-left-color: #fff;
}

.btn.btn-link {
background: transparent;
border-color: transparent;
Expand Down
2 changes: 1 addition & 1 deletion docs/dist/spectre-rtl.min.css

Large diffs are not rendered by default.

14 changes: 11 additions & 3 deletions docs/dist/spectre.css
Original file line number Diff line number Diff line change
Expand Up @@ -614,9 +614,7 @@ dl dd {
color: #fff;
}

.btn.btn-primary.loading::after,
.btn.btn-success.loading::after,
.btn.btn-error.loading::after {
.btn.btn-primary.loading::after {
border-bottom-color: #fff;
border-left-color: #fff;
}
Expand Down Expand Up @@ -645,6 +643,11 @@ dl dd {
color: #fff;
}

.btn.btn-success.loading::after {
border-bottom-color: #fff;
border-left-color: #fff;
}

.btn.btn-error {
background: #e85600;
border-color: #d95000;
Expand All @@ -669,6 +672,11 @@ dl dd {
color: #fff;
}

.btn.btn-error.loading::after {
border-bottom-color: #fff;
border-left-color: #fff;
}

.btn.btn-link {
background: transparent;
border-color: transparent;
Expand Down
2 changes: 1 addition & 1 deletion docs/dist/spectre.min.css

Large diffs are not rendered by default.

5 changes: 4 additions & 1 deletion src/mixins/_button.scss
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,10 @@
color: $light-color;
}
&.loading {
@extend .btn-primary.loading;
&::after {
border-bottom-color: $light-color;
border-left-color: $light-color;
}
}
}

Expand Down

0 comments on commit a7f12e5

Please sign in to comment.