2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-11 18:02:28 +03:00

rewrite alert messages to use less code, combine the look of default and block messages, simplify docs

This commit is contained in:
Mark Otto
2012-01-14 16:18:15 -08:00
parent fc053ac8b2
commit f587e81b7d
6 changed files with 191 additions and 272 deletions
+2 -6
View File
@@ -2,13 +2,10 @@
// -------------
// Shared colors for buttons and alerts
.btn,
.alert-message {
.btn {
// Set text color
&.danger,
&.danger:hover,
&.error,
&.error:hover,
&.success,
&.success:hover,
&.info,
@@ -17,8 +14,7 @@
color: @white
}
// Danger and error appear as red
&.danger,
&.error {
&.danger {
.gradientBar(#ee5f5b, #c43c35);
}
// Success appears as green