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:
12
css/nes.css
12
css/nes.css
@@ -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;
|
||||
}
|
||||
|
||||
|
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user