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>2021-05-15 04:20:49 +0300
committerGleb Mazovetskiy <glex.spb@gmail.com>2021-05-15 04:20:49 +0300
commit73f9c09beb6143c1dcd8dca369982769307b44a8 (patch)
tree87e939a1e28e7d6326e90ebfd53661598f5209f5 /assets/stylesheets/bootstrap/forms
parent73ff03814293da40780b7a858f5f853bc4494280 (diff)
Update to v5.0.1v5.0.1
1. `bundle exec rake 'update[v5.0.0]' 2. Update version numbers.
Diffstat (limited to 'assets/stylesheets/bootstrap/forms')
-rw-r--r--assets/stylesheets/bootstrap/forms/_form-control.scss10
1 files changed, 5 insertions, 5 deletions
diff --git a/assets/stylesheets/bootstrap/forms/_form-control.scss b/assets/stylesheets/bootstrap/forms/_form-control.scss
index 5e43aea..9728b91 100644
--- a/assets/stylesheets/bootstrap/forms/_form-control.scss
+++ b/assets/stylesheets/bootstrap/forms/_form-control.scss
@@ -25,7 +25,7 @@
&[type="file"] {
overflow: hidden; // prevent pseudo element button overlap
- &:not(:disabled):not(:read-only) {
+ &:not(:disabled):not([readonly]) {
cursor: pointer;
}
}
@@ -65,7 +65,7 @@
// disabled if the fieldset is disabled. Due to implementation difficulty, we
// don't honor that edge case; we style them as disabled anyway.
&:disabled,
- &:read-only {
+ &[readonly] {
background-color: $input-disabled-bg;
border-color: $input-disabled-border-color;
// iOS fix for unreadable disabled content; see https://github.com/twbs/bootstrap/issues/11655.
@@ -88,7 +88,7 @@
@include transition($btn-transition);
}
- &:hover:not(:disabled):not(:read-only)::file-selector-button {
+ &:hover:not(:disabled):not([readonly])::file-selector-button {
background-color: $form-file-button-hover-bg;
}
@@ -107,7 +107,7 @@
@include transition($btn-transition);
}
- &:hover:not(:disabled):not(:read-only)::-webkit-file-upload-button {
+ &:hover:not(:disabled):not([readonly])::-webkit-file-upload-button {
background-color: $form-file-button-hover-bg;
}
}
@@ -203,7 +203,7 @@ textarea {
height: auto; // Override fixed browser height
padding: $input-padding-y;
- &:not(:disabled):not(:read-only) {
+ &:not(:disabled):not([readonly]) {
cursor: pointer;
}