mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-17 19:21:23 +03:00
adding warning (orange) button, fix responsive navbar problem
This commit is contained in:
@@ -9,6 +9,8 @@
|
||||
// Set text color
|
||||
&.primary,
|
||||
&.primary:hover,
|
||||
&.warning,
|
||||
&.warning:hover,
|
||||
&.danger,
|
||||
&.danger:hover,
|
||||
&.success,
|
||||
@@ -19,6 +21,7 @@
|
||||
color: @white
|
||||
}
|
||||
&.primary.active,
|
||||
&.warning.active,
|
||||
&.danger.active,
|
||||
&.success.active,
|
||||
&.info.active {
|
||||
@@ -27,6 +30,10 @@
|
||||
&.primary {
|
||||
.buttonBackground(@primaryButtonBackground, spin(@primaryButtonBackground, 20));
|
||||
}
|
||||
// Warning appears are orange
|
||||
&.warning {
|
||||
.buttonBackground(lighten(@orange, 15%), @orange);
|
||||
}
|
||||
// Danger and error appear as red
|
||||
&.danger {
|
||||
.buttonBackground(#ee5f5b, #bd362f);
|
||||
|
||||
Reference in New Issue
Block a user