aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2011-09-02 23:28:01 -0700
committerMark Otto <[email protected]>2011-09-02 23:28:01 -0700
commitdf8eccbfe13a8c6d08a57dc939dff03c41721b6c (patch)
tree56247f3076c6a8e4fa2f58b5606ea96e2569deba
parent168551cd4f2139bbd050864c4231baa7e7b796dc (diff)
downloadbootstrap-df8eccbfe13a8c6d08a57dc939dff03c41721b6c.tar.xz
bootstrap-df8eccbfe13a8c6d08a57dc939dff03c41721b6c.zip
adding support for and example ul in block-messages
-rw-r--r--bootstrap-1.2.0.css10
-rw-r--r--bootstrap-1.2.0.min.css4
-rw-r--r--docs/index.html7
-rw-r--r--lib/patterns.less8
4 files changed, 24 insertions, 5 deletions
diff --git a/bootstrap-1.2.0.css b/bootstrap-1.2.0.css
index 1280c5148..07b74d233 100644
--- a/bootstrap-1.2.0.css
+++ b/bootstrap-1.2.0.css
@@ -6,7 +6,7 @@
* http://www.apache.org/licenses/LICENSE-2.0
*
* Designed and built with all the love in the world @twitter by @mdo and @fat.
- * Date: Fri Sep 2 23:08:36 PDT 2011
+ * Date: Fri Sep 2 23:27:24 PDT 2011
*/
/* Reset.less
* Props to Eric Meyer (meyerweb.com) for his CSS reset file. We're using an adapted version here that cuts out some of the reset HTML elements we will never need here (i.e., dfn, samp, etc).
@@ -1743,9 +1743,15 @@ button.btn::-moz-focus-inner, input[type=submit].btn::-moz-focus-inner {
-moz-box-shadow: none;
box-shadow: none;
}
-.alert-message.block-message p {
+.alert-message.block-message ul, .alert-message.block-message p {
margin-right: 30px;
}
+.alert-message.block-message ul {
+ margin-bottom: 0;
+}
+.alert-message.block-message li {
+ color: #404040;
+}
.alert-message.block-message .alert-actions {
margin-top: 5px;
}
diff --git a/bootstrap-1.2.0.min.css b/bootstrap-1.2.0.min.css
index 8968aba96..98ecb1771 100644
--- a/bootstrap-1.2.0.min.css
+++ b/bootstrap-1.2.0.min.css
@@ -234,7 +234,9 @@ button.btn::-moz-focus-inner,input[type=submit].btn::-moz-focus-inner{padding:0;
.alert-message div{margin-top:5px;margin-bottom:2px;line-height:28px;}
.alert-message .btn{-webkit-box-shadow:0 1px 0 rgba(255, 255, 255, 0.25);-moz-box-shadow:0 1px 0 rgba(255, 255, 255, 0.25);box-shadow:0 1px 0 rgba(255, 255, 255, 0.25);}
.alert-message .close{float:right;margin-top:-2px;color:#000000;font-size:20px;font-weight:bold;text-shadow:0 1px 0 #ffffff;filter:alpha(opacity=20);-khtml-opacity:0.2;-moz-opacity:0.2;opacity:0.2;}.alert-message .close:hover{color:#000000;text-decoration:none;filter:alpha(opacity=40);-khtml-opacity:0.4;-moz-opacity:0.4;opacity:0.4;}
-.alert-message.block-message{background-image:none;background-color:#fdf5d9;filter:progid:DXImageTransform.Microsoft.gradient(enabled = false);padding:14px;border-color:#fceec1;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;}.alert-message.block-message p{margin-right:30px;}
+.alert-message.block-message{background-image:none;background-color:#fdf5d9;filter:progid:DXImageTransform.Microsoft.gradient(enabled = false);padding:14px;border-color:#fceec1;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;}.alert-message.block-message ul,.alert-message.block-message p{margin-right:30px;}
+.alert-message.block-message ul{margin-bottom:0;}
+.alert-message.block-message li{color:#404040;}
.alert-message.block-message .alert-actions{margin-top:5px;}
.alert-message.block-message.error,.alert-message.block-message.success,.alert-message.block-message.info{color:#404040;text-shadow:0 1px 0 rgba(255, 255, 255, 0.5);}
.alert-message.block-message.error{background-color:#fddfde;border-color:#fbc7c6;}
diff --git a/docs/index.html b/docs/index.html
index 35cb88d61..de573406e 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -1137,7 +1137,12 @@
</div>
<div class="alert-message block-message error">
<a class="close" href="#">&times;</a>
- <p><strong>Oh snap! You got an error!</strong> Change this and that and try again. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Cras mattis consectetur purus sit amet fermentum.</p>
+ <p><strong>Oh snap! You got an error!</strong> Change this and that and try again.</p>
+ <ul>
+ <li>Duis mollis est non commodo luctus</li>
+ <li>Nisi erat porttitor ligula</li>
+ <li>Eget lacinia odio sem nec elit</li>
+ </ul>
<div class="alert-actions">
<a class="btn small" href="#">Take this action</a> <a class="btn small" href="#">Or do this</a>
</div>
diff --git a/lib/patterns.less b/lib/patterns.less
index 72ca3b559..6be99c81b 100644
--- a/lib/patterns.less
+++ b/lib/patterns.less
@@ -568,9 +568,15 @@ input[type=submit].btn {
padding: 14px;
border-color: #fceec1;
.box-shadow(none);
- p {
+ ul, p {
margin-right: 30px;
}
+ ul {
+ margin-bottom: 0;
+ }
+ li {
+ color: @grayDark;
+ }
.alert-actions {
margin-top: 5px;
}