+ Warning! Best check yo self, you're not looking too good. +
+ ++ Error! Shit hit the fan. +
+ ++ Booya! You win. +
+ ++ Info yo! This is what you need to know. +
+diff --git a/dist/framework-with-theme.css b/dist/framework-with-theme.css index a5f85d3765..fe81fa3fbd 100644 --- a/dist/framework-with-theme.css +++ b/dist/framework-with-theme.css @@ -1,4 +1,27 @@ @charset "UTF-8"; +.alert { + padding: 8px 35px 8px 14px; } + +.alert h4 { + margin: 0; } + +.alert .close { + position: relative; + top: -2px; + right: -21px; + line-height: 1.42857; } + +.alert-block { + padding-top: 14px; + padding-bottom: 14px; } + +.alert-block > p, +.alert-block > ul { + margin-bottom: 0; } + +.alert-block p + p { + margin-top: 5px; } + html { -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; } @@ -244,6 +267,42 @@ a.list-item { margin-bottom: 0; line-height: 1.3; } +.alert { + margin-bottom: 1.42857; + text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5); + background-color: #fcf8e3; + border: 1px solid #fbeed5; } + +.alert, +.alert h4 { + color: #c09853; } + +.alert-success { + background-color: #dff0d8; + border-color: #d6e9c6; + color: #468847; } + +.alert-success h4 { + color: #468847; } + +.alert-danger, +.alert-error { + background-color: #f2dede; + border-color: #eed3d7; + color: #b94a48; } + +.alert-danger h4, +.alert-error h4 { + color: #b94a48; } + +.alert-info { + background-color: #d9edf7; + border-color: #bce8f1; + color: #3a87ad; } + +.alert-info h4 { + color: #3a87ad; } + .bar { background-color: white; border-style: solid; diff --git a/example/alerts.html b/example/alerts.html index 6ea1d49583..2d82aa4432 100644 --- a/example/alerts.html +++ b/example/alerts.html @@ -17,8 +17,24 @@
+ Warning! Best check yo self, you're not looking too good. +
+ ++ Error! Shit hit the fan. +
+ ++ Booya! You win. +
+ ++ Info yo! This is what you need to know. +
+