diff options
author | Thomas Park <thomas@thomaspark.me> | 2012-12-10 18:33:32 -0500 |
---|---|---|
committer | Thomas Park <thomas@thomaspark.me> | 2012-12-10 18:33:32 -0500 |
commit | a67975097d8ac77474fae556fe88f13913e8b0e9 (patch) | |
tree | ee9863019555bb88f193e855735ed1a00df24d54 | |
parent | 150ec4fa347d39a5859cb98d049674bb7c693781 (diff) |
cyborg: darkened form input
-rw-r--r-- | cyborg/bootstrap.css | 30 | ||||
-rw-r--r-- | cyborg/bootstrap.min.css | 8 | ||||
-rwxr-xr-x | cyborg/bootswatch.less | 18 | ||||
-rwxr-xr-x | cyborg/variables.less | 2 |
4 files changed, 37 insertions, 21 deletions
diff --git a/cyborg/bootstrap.css b/cyborg/bootstrap.css index 10de8010..014bacf9 100644 --- a/cyborg/bootstrap.css +++ b/cyborg/bootstrap.css @@ -1182,7 +1182,7 @@ input[readonly], select[readonly], textarea[readonly] { cursor: not-allowed; - background-color: #eeeeee; + background-color: #555555; } input[type="radio"][disabled], input[type="checkbox"][disabled], @@ -5626,14 +5626,22 @@ select { -moz-border-radius: 1px; border-radius: 1px; } -legend, -label { - color: #999999; - border-bottom: 0px solid #222; -} -input, -textarea, select, +textarea, +input[type="text"], +input[type="password"], +input[type="datetime"], +input[type="datetime-local"], +input[type="date"], +input[type="month"], +input[type="time"], +input[type="week"], +input[type="number"], +input[type="email"], +input[type="url"], +input[type="search"], +input[type="tel"], +input[type="color"], .uneditable-input { color: #222222; } @@ -5644,7 +5652,6 @@ input[readonly], select[readonly], textarea[readonly], .uneditable-input { - background-color: #555; border-color: #444; } input:focus, @@ -5668,6 +5675,11 @@ select:focus { outline: 5px auto -webkit-focus-ring-color; outline-offset: -2px; } +legend, +label { + color: #999999; + border-bottom: 0px solid #222; +} .form-actions { border-top: 1px solid #222; } diff --git a/cyborg/bootstrap.min.css b/cyborg/bootstrap.min.css index e0c32e2c..5fe3b995 100644 --- a/cyborg/bootstrap.min.css +++ b/cyborg/bootstrap.min.css @@ -213,7 +213,7 @@ input.span1, textarea.span1, .uneditable-input.span1{width:46px;} .controls-row:after{clear:both;} .controls-row [class*="span"],.row-fluid .controls-row [class*="span"]{float:left;} .controls-row .checkbox[class*="span"],.controls-row .radio[class*="span"]{padding-top:5px;} -input[disabled],select[disabled],textarea[disabled],input[readonly],select[readonly],textarea[readonly]{cursor:not-allowed;background-color:#eeeeee;} +input[disabled],select[disabled],textarea[disabled],input[readonly],select[readonly],textarea[readonly]{cursor:not-allowed;background-color:#555555;} input[type="radio"][disabled],input[type="checkbox"][disabled],input[type="radio"][readonly],input[type="checkbox"][readonly]{background-color:transparent;} .control-group.warning .control-label,.control-group.warning .help-block,.control-group.warning .help-inline{color:#a47e3c;} .control-group.warning .checkbox,.control-group.warning .radio,.control-group.warning input,.control-group.warning select,.control-group.warning textarea{color:#a47e3c;} @@ -910,11 +910,11 @@ div.subnav .nav li.nav-header{text-shadow:none;} .btn-group>.dropdown-menu>li>a:hover{border-bottom:0;} .btn.disabled,.btn[disabled]{background-color:#adafae;} input,textarea,select{border-width:2px;-webkit-border-radius:1px;-moz-border-radius:1px;border-radius:1px;} -legend,label{color:#999999;border-bottom:0px solid #222;} -input,textarea,select,.uneditable-input{color:#222222;} -input[disabled],select[disabled],textarea[disabled],input[readonly],select[readonly],textarea[readonly],.uneditable-input{background-color:#555;border-color:#444;} +select,textarea,input[type="text"],input[type="password"],input[type="datetime"],input[type="datetime-local"],input[type="date"],input[type="month"],input[type="time"],input[type="week"],input[type="number"],input[type="email"],input[type="url"],input[type="search"],input[type="tel"],input[type="color"],.uneditable-input{color:#222222;} +input[disabled],select[disabled],textarea[disabled],input[readonly],select[readonly],textarea[readonly],.uneditable-input{border-color:#444;} input:focus,textarea:focus,input.focused,textarea.focused{border-color:#52a8ec;outline:0;outline:thin dotted \9;} input[type="file"]:focus,input[type="radio"]:focus,input[type="checkbox"]:focus,select:focus{-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;outline:thin dotted #333;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px;} +legend,label{color:#999999;border-bottom:0px solid #222;} .form-actions{border-top:1px solid #222;} .table{-webkit-border-radius:1px;-moz-border-radius:1px;border-radius:1px;}.table tbody tr.success td{background-color:#669900;color:#ffffff;} .table tbody tr.error td{background-color:#cc0000;color:#ffffff;} diff --git a/cyborg/bootswatch.less b/cyborg/bootswatch.less index aca8c8bd..faa8a15f 100755 --- a/cyborg/bootswatch.less +++ b/cyborg/bootswatch.less @@ -395,17 +395,16 @@ input, textarea, select { .border-radius(1px); } -legend, label { - color: @textColor; - border-bottom: 0px solid #222; -} - -input, textarea, select, .uneditable-input { +select, textarea, +input[type="text"], input[type="password"], input[type="datetime"], +input[type="datetime-local"], input[type="date"], input[type="month"], +input[type="time"], input[type="week"], input[type="number"], +input[type="email"], input[type="url"], input[type="search"], +input[type="tel"], input[type="color"], .uneditable-input { color: @grayDark; } input[disabled], select[disabled], textarea[disabled], input[readonly], select[readonly], textarea[readonly], .uneditable-input { - background-color: #555; border-color: #444; } @@ -426,6 +425,11 @@ select:focus { .tab-focus(); } +legend, label { + color: @textColor; + border-bottom: 0px solid #222; +} + .form-actions { border-top: 1px solid #222; } diff --git a/cyborg/variables.less b/cyborg/variables.less index 5efff527..4e6eb87c 100755 --- a/cyborg/variables.less +++ b/cyborg/variables.less @@ -112,7 +112,7 @@ @inputBackground: #ccc; @inputBorder: #bbb; @inputBorderRadius: @baseBorderRadius; -@inputDisabledBackground: @grayLighter; +@inputDisabledBackground: #555; @formActionsBackground: transparent; @inputHeight: @baseLineHeight + 10px; // base line-height + 8px vertical padding + 2px top/bottom border |