From df8eccbfe13a8c6d08a57dc939dff03c41721b6c Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Fri, 2 Sep 2011 23:28:01 -0700 Subject: [PATCH] adding support for and example ul in block-messages --- bootstrap-1.2.0.css | 10 ++++++++-- bootstrap-1.2.0.min.css | 4 +++- docs/index.html | 7 ++++++- lib/patterns.less | 8 +++++++- 4 files changed, 24 insertions(+), 5 deletions(-) diff --git a/bootstrap-1.2.0.css b/bootstrap-1.2.0.css index 1280c51487..07b74d2335 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 8968aba963..98ecb1771f 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 35cb88d610..de573406e5 100644 --- a/docs/index.html +++ b/docs/index.html @@ -1137,7 +1137,12 @@
× -

Oh snap! You got an error! 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.

+

Oh snap! You got an error! Change this and that and try again.

+ diff --git a/lib/patterns.less b/lib/patterns.less index 72ca3b559a..6be99c81bf 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; }