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

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/scss
diff options
context:
space:
mode:
authorMark Otto <otto@github.com>2019-07-14 12:00:57 +0300
committerXhmikosR <xhmikosr@gmail.com>2019-07-14 12:00:57 +0300
commitcef69b9a658d35cb1b5887f8f063c8f23b860e07 (patch)
tree98ac0261496dfb07ce461786d4c0009e9529d598 /scss
parent6a9fd74a83b23a33cc5d07d9c38eb0c02bfb73f6 (diff)
v5: Fix disabled styling on .form-file (#29022)
While #28450 overhauled a ton of forms work, the support for this custom file input was ineffective. This updates the selector to target the custom field and gray out the entire field. Fixes #28176.
Diffstat (limited to 'scss')
-rw-r--r--scss/forms/_form-file.scss2
1 files changed, 1 insertions, 1 deletions
diff --git a/scss/forms/_form-file.scss b/scss/forms/_form-file.scss
index bbc38a9f81..7e6a0adba5 100644
--- a/scss/forms/_form-file.scss
+++ b/scss/forms/_form-file.scss
@@ -21,7 +21,7 @@
// Use disabled attribute instead of :disabled pseudo-class
// Workaround for: https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/11295231
- &[disabled] ~ .form-file-label {
+ &[disabled] ~ .form-file-label .form-file-text {
background-color: $form-file-disabled-bg;
}
}