1 /* https://github.com/bgrins/spectrum */
5 -webkit-user-select: none
;
8 :host
(.palettes-enabled
) {
16 border-radius: 2px 2px 0 0;
20 .spectrum-display-value {
21 -webkit-user-select: text
;
22 display: inline-block
;
32 background-image: url
(Images/checker.png);
33 background-size: 12px 11px;
36 .spectrum-alpha-background {
41 .spectrum-hue, .spectrum-alpha {
51 -webkit-user-select: none
;
55 background-image: linear-gradient
(to right
, white
, rgba
(204, 154, 129, 0));
59 background-image: linear-gradient
(to top
, black
, rgba
(204, 154, 129, 0));
63 background: linear-gradient
(to left
, #ff0000 0%, #ffff00 17%, #00ff00 33%, #00ffff 50%, #0000ff 67%, #ff00ff 83%, #ff0000 100%);
70 border: 1px solid white
;
76 box-shadow: 0 0 2px 0px rgba
(0, 0, 0, 0.24);
86 background-color: rgb
(248, 248, 248);
87 box-shadow: 0 1px 4px 0 rgba
(0, 0, 0, 0.37);
97 background-image: url
(Images/checker.png);
104 display: inline-block
;
108 .swatch-inner-white {
109 border: 1px solid
#ddd;
118 .spectrum-text-value {
119 display: inline-block
;
123 border: 1px solid
#dadada;
133 .spectrum-text-label {
134 letter-spacing: 38.5px;
142 .spectrum-text-hex > .spectrum-text-value {
146 .spectrum-text-hex > .spectrum-text-label {
147 letter-spacing: normal
;
152 .spectrum-palette-value {
153 background-color: rgb
(65, 75, 217);
159 display: inline-block
;
169 .spectrum-display-switcher {
175 .spectrum-switcher:hover {
176 background-color: #EEEEEE;
179 .spectrum-eye-dropper {
189 border-top: 1px solid
#dadada;
193 padding: 6px 24px 6px 6px;
198 .spectrum-palette-color {
202 display: inline-block
;
208 .spectrum-palette > .spectrum-palette-color {
209 transition: transform
100ms cubic-bezier
(0, 0, 0.2, 1);
210 border: 1px solid rgba
(0, 0, 0, 0.1);
211 will-change: transform
;
215 .spectrum-palette > .spectrum-palette-color.empty-color {
216 border-color: transparent
;
219 .spectrum-palette > .spectrum-palette-color:not(.empty-color):hover {
220 transform: scale
(1.15);
228 .spectrum-palette-switcher {
241 flex-direction: column
;
242 background-color: white
;
244 transition: transform
200ms cubic-bezier
(0, 0, 0.2, 1), visibility
0s 200ms;
245 border-top: 1px solid
#dadada;
249 .palette-panel-showing > .palette-panel {
250 transform: translateY
(calc
(-100% + 117px));
251 transition-delay: 0s;
255 .palette-panel > div.toolbar {
261 .palette-panel > div:not(.toolbar) {
263 border-bottom: 1px solid
#dadada;
269 .palette-panel > div.palette-title {
276 div
.palette-preview
{
281 .palette-preview-title {
285 .palette-preview > .spectrum-palette-color {
289 .palette-preview:hover {
290 background-color: #eee;
296 background-color: hsla
(0, 0%, 0%, 0.5);
298 transition: opacity
100ms cubic-bezier
(0, 0, 0.2, 1), visibility
0s 100ms;
301 .palette-panel-showing > .spectrum-overlay {
302 transition-delay: 0s;
307 .spectrum-contrast-container {
312 .spectrum-contrast-line {
319 .delete-color-toolbar {
324 background-color: #EFEFEF;
333 @keyframes showDeleteToolbar
{
342 .delete-color-toolbar.dragging {
344 animation: showDeleteToolbar
100ms 150ms cubic-bezier
(0, 0, 0.2, 1) backwards
;
347 .delete-color-toolbar-active {
348 background-color: #ddd;