| 1 |
.gradient-angle-knob { |
| 2 |
--radius: 15px; |
| 3 |
--thumb-size: calc(var(--radius) * 0.5); |
| 4 |
|
| 5 |
width: calc(var(--radius) * 2); |
| 6 |
height: calc(var(--radius) * 2); |
| 7 |
cursor: grab; |
| 8 |
border-radius: 50%; |
| 9 |
border: solid 2px; |
| 10 |
|
| 11 |
&:active { |
| 12 |
cursor: grabbing; |
| 13 |
} |
| 14 |
} |
| 15 |
|
| 16 |
.gradient-angle-thumb { |
| 17 |
width: var(--thumb-size); |
| 18 |
height: var(--thumb-size); |
| 19 |
background: black; |
| 20 |
border-radius: 50%; |
| 21 |
transform: rotate(var(--angle)) translateX(calc(var(--radius) - var(--thumb-size))); |
| 22 |
transform-origin: center center; |
| 23 |
pointer-events: none; |
| 24 |
} |
| 25 |
|
| 26 |
.o_color_gradient_input { |
| 27 |
font-size: 11px; |
| 28 |
|
| 29 |
input { |
| 30 |
font-family: monospace !important; |
| 31 |
font-size: 12px; |
| 32 |
width: 5ch !important; |
| 33 |
padding: 0 2px !important; |
| 34 |
background-color: transparent; |
| 35 |
border: 1px solid !important; |
| 36 |
text-align: center; |
| 37 |
opacity: 0.7; |
| 38 |
} |
| 39 |
} |