2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-05 16:42:29 +03:00

updated classnames in the docs for the alerts, updated colors on error and info alerts/buttons

This commit is contained in:
Mark Otto
2011-08-25 22:52:21 -07:00
parent 7d821f18ac
commit 0758f64045
4 changed files with 29 additions and 30 deletions
+6 -7
View File
@@ -188,11 +188,10 @@
border-color: @secondaryColor @secondaryColor darken(@secondaryColor, 15%);
border-color: rgba(0,0,0,.1) rgba(0,0,0,.1) fadein(rgba(0,0,0,.1), 15%);
}
// Shared colors for buttons and alerts
.btn,
.alert-message {
// Set text color
&.danger,
&.danger:hover,
&.error,
@@ -203,18 +202,18 @@
&.info:hover {
color: @white
}
// Danger and error appear as red
&.danger,
&.error {
.gradientBar(#f56a66, #d6463e);
.gradientBar(#ee5f5b, #c43c35);
}
// Success appears as green
&.success {
.gradientBar(#62c462, #57a957);
}
// Info appears as a neutral blue
&.info {
.gradientBar(#6bd0ee, #36b3d9);
.gradientBar(#5bc0de, #339bb9);
}
}