2
0
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:
Mark Otto
2012-01-30 08:15:28 -08:00
parent a29dee44ac
commit 2d40b07afc
8 changed files with 54 additions and 8 deletions
+7
View File
@@ -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);