Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap-rubygem.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGleb Mazovetskiy <glex.spb@gmail.com>2018-01-19 02:02:42 +0300
committerGleb Mazovetskiy <glex.spb@gmail.com>2018-01-19 02:02:42 +0300
commitbbb8b796ca6225ce90e53665edb4f370535c45a8 (patch)
treec72b65dc83c43851ea10e158dde77e289d33f73e /assets/stylesheets/bootstrap/_custom-forms.scss
parent176cbf4fbf07e29783b0726f8426da0a7ebe5ead (diff)
rake update[v4.0.0]
Diffstat (limited to 'assets/stylesheets/bootstrap/_custom-forms.scss')
-rw-r--r--assets/stylesheets/bootstrap/_custom-forms.scss17
1 files changed, 16 insertions, 1 deletions
diff --git a/assets/stylesheets/bootstrap/_custom-forms.scss b/assets/stylesheets/bootstrap/_custom-forms.scss
index d99a86d..2d83f7e 100644
--- a/assets/stylesheets/bootstrap/_custom-forms.scss
+++ b/assets/stylesheets/bootstrap/_custom-forms.scss
@@ -117,6 +117,15 @@
background-image: $custom-checkbox-indicator-icon-indeterminate;
}
}
+
+ .custom-control-input:disabled {
+ &:checked ~ .custom-control-label::before {
+ background-color: $custom-control-indicator-checked-disabled-bg;
+ }
+ &:indeterminate ~ .custom-control-label::before {
+ background-color: $custom-control-indicator-checked-disabled-bg;
+ }
+ }
}
// Radios
@@ -136,6 +145,12 @@
background-image: $custom-radio-indicator-icon-checked;
}
}
+
+ .custom-control-input:disabled {
+ &:checked ~ .custom-control-label::before {
+ background-color: $custom-control-indicator-checked-disabled-bg;
+ }
+ }
}
@@ -148,7 +163,7 @@
.custom-select {
display: inline-block;
width: 100%;
- height: $input-height;
+ height: $custom-select-height;
padding: $custom-select-padding-y ($custom-select-padding-x + $custom-select-indicator-padding) $custom-select-padding-y $custom-select-padding-x;
line-height: $custom-select-line-height;
color: $custom-select-color;