1
0
mirror of https://github.com/nostalgic-css/NES.css.git synced 2025-08-31 09:41:47 +02:00

swapped primary and success button styling

This commit is contained in:
jkd65
2018-12-01 16:43:36 -06:00
parent 2422483570
commit 78fd3c3844
2 changed files with 8 additions and 8 deletions

View File

@@ -428,33 +428,33 @@ button,
outline: 0;
}
.btn.is-primary {
.btn.is-success {
color: #fff;
background-color: #92cc41;
box-shadow: inset -4px -4px #4aa52e;
}
.btn.is-primary:hover, .btn.is-primary:focus {
.btn.is-success:hover, .btn.is-success:focus {
background-color: #76c442;
box-shadow: inset -6px -6px #4aa52e;
}
.btn.is-primary:active {
.btn.is-success:active {
box-shadow: inset 4px 4px #4aa52e;
}
.btn.is-success {
.btn.is-primary {
color: #fff;
background-color: #209cee;
box-shadow: inset -4px -4px #006bb3;
}
.btn.is-success:hover, .btn.is-success:focus {
.btn.is-primary:hover, .btn.is-primary:focus {
background-color: #108de0;
box-shadow: inset -6px -6px #006bb3;
}
.btn.is-success:active {
.btn.is-primary:active {
box-shadow: inset 4px 4px #006bb3;
}

View File

@@ -62,8 +62,8 @@
// Other styles
// prettier-ignore
$types:
"primary" #fff #92cc41 #76c442 #4aa52e,
"success" #fff #209cee #108de0 #006bb3,
"success" #fff #92cc41 #76c442 #4aa52e,
"primary" #fff #209cee #108de0 #006bb3,
"warning" $base-color #f7d51d #f2c409 #e59400,
"error" #fff #e76e55 #ce372b #8c2022;