1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-31 00:59:51 +02:00

Add cursor:pointer to color inputs (#32020)

* Add `cursor:pointer` for color inputs

* Add to migration guide
This commit is contained in:
Patrick H. Lauke
2020-10-30 18:03:07 +00:00
committed by GitHub
parent ec05adee6d
commit 6fc35e3231
2 changed files with 6 additions and 1 deletions

View File

@@ -1,5 +1,5 @@
//
// Textual form controls
// General form controls (plus a few specific high-level interventions)
//
.form-control {
@@ -208,6 +208,10 @@ textarea {
.form-control-color {
max-width: 3rem;
padding: $input-padding-y;
&:not(:disabled):not([readonly]) {
cursor: pointer;
}
}
.form-control-color::-moz-color-swatch {