diff options
| author | Mark Otto <[email protected]> | 2011-12-21 16:00:50 -0600 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2011-12-21 16:00:50 -0600 |
| commit | 8a7abc7493a07935d4d91b2cc56a82523fd53970 (patch) | |
| tree | 9068349c4ba0a433cf038b55985422d0bcb10565 /lib | |
| parent | 069ef6a020dc177bbf4e18a9b425af36b3395ecf (diff) | |
| download | bootstrap-8a7abc7493a07935d4d91b2cc56a82523fd53970.tar.xz bootstrap-8a7abc7493a07935d4d91b2cc56a82523fd53970.zip | |
docs updates, forms updated to include error states and more examples, remove text-shadow from gradientbar mixin to fix bug
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/forms.less | 1 | ||||
| -rw-r--r-- | lib/mixins.less | 1 | ||||
| -rw-r--r-- | lib/patterns.less | 6 |
3 files changed, 7 insertions, 1 deletions
diff --git a/lib/forms.less b/lib/forms.less index a73e6f545..64e77fdb4 100644 --- a/lib/forms.less +++ b/lib/forms.less @@ -325,6 +325,7 @@ textarea[readonly] { // Allow us to put symbols and text within the input field for a cleaner look .input-prepend, .input-append { + overflow: hidden; input { .border-radius(0 3px 3px 0); } diff --git a/lib/mixins.less b/lib/mixins.less index 0effdfa37..251173fce 100644 --- a/lib/mixins.less +++ b/lib/mixins.less @@ -205,7 +205,6 @@ // Gradient Bar Colors for buttons and alerts .gradientBar(@primaryColor, @secondaryColor) { - text-shadow: 0 -1px 0 rgba(0,0,0,.25); #gradient > .vertical(@primaryColor, @secondaryColor); 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%); diff --git a/lib/patterns.less b/lib/patterns.less index 558f3ca45..ec717e030 100644 --- a/lib/patterns.less +++ b/lib/patterns.less @@ -575,6 +575,12 @@ input[type=submit].btn { .box-shadow(0 1px 0 rgba(255,255,255,.25)); } + &.error, + &.success, + &.info { + text-shadow: 0 -1px 0 rgba(0,0,0,.25); + } + &.block-message { padding: 14px; background-image: none; |
