mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-30 22:52:24 +01:00
Add cursor:pointer
to color inputs (#32020)
* Add `cursor:pointer` for color inputs * Add to migration guide
This commit is contained in:
parent
ec05adee6d
commit
6fc35e3231
@ -1,5 +1,5 @@
|
|||||||
//
|
//
|
||||||
// Textual form controls
|
// General form controls (plus a few specific high-level interventions)
|
||||||
//
|
//
|
||||||
|
|
||||||
.form-control {
|
.form-control {
|
||||||
@ -208,6 +208,10 @@ textarea {
|
|||||||
.form-control-color {
|
.form-control-color {
|
||||||
max-width: 3rem;
|
max-width: 3rem;
|
||||||
padding: $input-padding-y;
|
padding: $input-padding-y;
|
||||||
|
|
||||||
|
&:not(:disabled):not([readonly]) {
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.form-control-color::-moz-color-swatch {
|
.form-control-color::-moz-color-swatch {
|
||||||
|
@ -26,6 +26,7 @@ toc: true
|
|||||||
- The longstanding [Missing border radius on input group with validation feedback bug](https://github.com/twbs/bootstrap/issues/25110) is finally fixed by adding an additional `.has-validation` class to input groups with validation.
|
- The longstanding [Missing border radius on input group with validation feedback bug](https://github.com/twbs/bootstrap/issues/25110) is finally fixed by adding an additional `.has-validation` class to input groups with validation.
|
||||||
- Promoted the Floating labels example to fully supported form component. [See the new Floating labels page.]({{< docsref "/forms/floating-labels" >}})
|
- Promoted the Floating labels example to fully supported form component. [See the new Floating labels page.]({{< docsref "/forms/floating-labels" >}})
|
||||||
- File inputs now use the `.form-control` class and don't require JavaScript, additional HTML, or additional classes. [See #31955](https://github.com/twbs/bootstrap/pull/31955).
|
- File inputs now use the `.form-control` class and don't require JavaScript, additional HTML, or additional classes. [See #31955](https://github.com/twbs/bootstrap/pull/31955).
|
||||||
|
- Added `cursor:pointer` to `.form-control-color` color inputs.
|
||||||
|
|
||||||
### Utilities
|
### Utilities
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user