diff options
| author | Mark Otto <[email protected]> | 2011-09-02 21:54:11 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2011-09-02 21:54:11 -0700 |
| commit | d5e42cf81a5b0a680d59e3dc5ebdc45652b7b4e9 (patch) | |
| tree | a23033731bc45aa09fc21b7dd7762ae9aa7357e3 /bootstrap-1.2.0.css | |
| parent | c4481b54a8c2cf05bd12d04196e3234523d27653 (diff) | |
| download | bootstrap-d5e42cf81a5b0a680d59e3dc5ebdc45652b7b4e9.tar.xz bootstrap-d5e42cf81a5b0a680d59e3dc5ebdc45652b7b4e9.zip | |
tweak readonly, disabled, and uneditable form elements
Diffstat (limited to 'bootstrap-1.2.0.css')
| -rw-r--r-- | bootstrap-1.2.0.css | 31 |
1 files changed, 17 insertions, 14 deletions
diff --git a/bootstrap-1.2.0.css b/bootstrap-1.2.0.css index 7a848a247..543aa4d16 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 20:59:16 PDT 2011 + * Date: Fri Sep 2 21:53:08 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). @@ -707,12 +707,12 @@ textarea { height: auto; } .uneditable-input { - background-color: #eee; + background-color: #fff; display: block; - border-color: #ccc; - -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.075); - -moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.075); - box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.075); + border-color: #eee; + -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.025); + -moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.025); + box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.025); } :-moz-placeholder { color: #bfbfbf; @@ -728,7 +728,7 @@ input, select, textarea { -moz-box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1); box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1); } -input:focus, textarea:focus { +input:focus, select:focus, textarea:focus { outline: none; border-color: rgba(82, 168, 236, 0.8); -webkit-box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1), 0 0 8px rgba(82, 168, 236, 0.6); @@ -800,14 +800,17 @@ select.xxlarge { width: 530px; } textarea.xxlarge { - overflow-y: scroll; -} -input[readonly]:focus, textarea[readonly]:focus, input.disabled { - background: #f5f5f5; + overflow-y: auto; +} +input[disabled], +select[disabled], +textarea[disabled], +input[readonly], +select[readonly], +textarea[readonly] { + background-color: #f5f5f5; border-color: #ddd; - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; + cursor: not-allowed; } .actions { background: #f5f5f5; |
