Skip to content

Commit

Permalink
Fix #33 with padding instead box-shadow
Browse files Browse the repository at this point in the history
  • Loading branch information
CodeBrauer committed Dec 27, 2016
1 parent 9e2da6e commit 2871d42
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 13 deletions.
14 changes: 8 additions & 6 deletions dist/wing.css
Expand Up @@ -277,24 +277,26 @@ h6 {

/* Button Outline */

.btn-outline {
box-shadow: inset 0 0 0 3px #fff;
color: #fff;
.btn-outline, .btn-outline-inverted {
padding: 9px 9px;
background: transparent;
transition: all 0.5s ease;
}

.btn-outline {
border: 3px solid #fff;
color: #fff;
}

.btn-outline:hover,
.btn-outline:active {
color: #000;
background: #fff;
}

.btn-outline-inverted {
box-shadow: inset 0 0 0 3px #000;
border: 3px solid #000;
color: #000;
background: transparent;
transition: all 0.5s ease;
}

.btn-outline-inverted:hover,
Expand Down
2 changes: 1 addition & 1 deletion dist/wing.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 8 additions & 6 deletions src/buttons.css
Expand Up @@ -50,24 +50,26 @@

/* Button Outline */

.btn-outline {
box-shadow: inset 0 0 0 3px #fff;
color: #fff;
.btn-outline, .btn-outline-inverted {
padding: 9px 9px;
background: transparent;
transition: all 0.5s ease;
}

.btn-outline {
border: 3px solid #fff;
color: #fff;
}

.btn-outline:hover,
.btn-outline:active {
color: #000;
background: #fff;
}

.btn-outline-inverted {
box-shadow: inset 0 0 0 3px #000;
border: 3px solid #000;
color: #000;
background: transparent;
transition: all 0.5s ease;
}

.btn-outline-inverted:hover,
Expand Down

0 comments on commit 2871d42

Please sign in to comment.