mirror of
https://git.proxmox.com/git/mirror_novnc
synced 2025-04-29 07:45:44 +00:00
Add styling for color pickers
Note that no color picker elements are currently in use, this is for completeness.
This commit is contained in:
parent
54e76817df
commit
2bc505741f
@ -209,6 +209,28 @@ input[type=submit] {
|
|||||||
overflow: clip;
|
overflow: clip;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* ------- COLOR PICKERS ------- */
|
||||||
|
|
||||||
|
input[type=color] {
|
||||||
|
min-width: unset;
|
||||||
|
box-sizing: content-box;
|
||||||
|
width: 1.4em;
|
||||||
|
height: 1.4em;
|
||||||
|
}
|
||||||
|
input[type=color]::-webkit-color-swatch-wrapper {
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
/* -webkit-color-swatch & -moz-color-swatch cant be in a selector list:
|
||||||
|
https://bugs.chromium.org/p/chromium/issues/detail?id=1154623 */
|
||||||
|
input[type=color]::-webkit-color-swatch {
|
||||||
|
border: none;
|
||||||
|
border-radius: 6px;
|
||||||
|
}
|
||||||
|
input[type=color]::-moz-color-swatch {
|
||||||
|
border: none;
|
||||||
|
border-radius: 6px;
|
||||||
|
}
|
||||||
|
|
||||||
/* -- SHARED BETWEEN CHECKBOXES AND RADIOBUTTONS -- */
|
/* -- SHARED BETWEEN CHECKBOXES AND RADIOBUTTONS -- */
|
||||||
|
|
||||||
input[type=radio],
|
input[type=radio],
|
||||||
|
Loading…
Reference in New Issue
Block a user