diff options
| author | Mark Otto <[email protected]> | 2016-02-08 23:41:48 -0800 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2016-02-08 23:41:48 -0800 |
| commit | 8c991939abf7909861df0cc9c6c7b5d04e8e9520 (patch) | |
| tree | b59d7354bc6846cd80dc395de68da0abc68a6c4a | |
| parent | cb77f68868aca96041b49152daa6faf5dac81c99 (diff) | |
| parent | 45da5174285bad683207d779538af076f094883c (diff) | |
| download | bootstrap-8c991939abf7909861df0cc9c6c7b5d04e8e9520.tar.xz bootstrap-8c991939abf7909861df0cc9c6c7b5d04e8e9520.zip | |
Merge pull request #19136 from twbs/v4-input-border
v4: Translucent .form-control borders
| -rw-r--r-- | scss/_forms.scss | 1 | ||||
| -rw-r--r-- | scss/_variables.scss | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/scss/_forms.scss b/scss/_forms.scss index 26fbb19ea..729ca764f 100644 --- a/scss/_forms.scss +++ b/scss/_forms.scss @@ -16,6 +16,7 @@ background-color: $input-bg; // Reset unusual Firefox-on-Android default style; see https://github.com/necolas/normalize.css/issues/214. background-image: none; + background-clip: padding-box; border: $input-btn-border-width solid $input-border-color; // Note: This has no effect on <select>s in some browsers, due to the limited stylability of `<select>`s in CSS. @include border-radius($input-border-radius); diff --git a/scss/_variables.scss b/scss/_variables.scss index b7f31a296..514214814 100644 --- a/scss/_variables.scss +++ b/scss/_variables.scss @@ -312,7 +312,7 @@ $input-bg: #fff !default; $input-bg-disabled: $gray-lighter !default; $input-color: $gray !default; -$input-border-color: #ccc !default; +$input-border-color: rgba(0,0,0,.15) !default; $input-btn-border-width: $border-width !default; // For form controls and buttons $input-box-shadow: inset 0 1px 1px rgba(0,0,0,.075) !default; |
