mirror of
https://github.com/jgthms/bulma.git
synced 2024-11-14 11:14:24 +00:00
feat: add "input type=color" style (#3789)
This commit is contained in:
parent
5c09f18f5f
commit
15cc6625c3
@ -169,6 +169,25 @@ $input-radius: cv.getVar("radius") !default;
|
||||
color: cv.getVar("input-disabled-placeholder-color");
|
||||
}
|
||||
}
|
||||
|
||||
&[type="color"] {
|
||||
width: cv.getVar("input-height");
|
||||
min-width: cv.getVar("input-height");
|
||||
max-width: cv.getVar("input-height");
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
overflow: hidden;
|
||||
|
||||
&::-webkit-color-swatch-wrapper {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
&::-webkit-color-swatch {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
border: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
%input {
|
||||
|
Loading…
Reference in New Issue
Block a user