Add crayon styles to c-color-picker (#18178)

This commit is contained in:
Andrew Bone 2022-07-20 16:36:31 +01:00 committed by GitHub
parent 427cec341c
commit 1162ddb88a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -275,6 +275,43 @@ textarea.crayons-textfield.crayons-textfield--ghost {
&__popover {
min-width: min-content;
& .react-colorful {
padding: var(--su-2);
border-radius: var(--radius);
background: var(--card-bg);
box-shadow: var(--shadow-1);
width: 220px;
height: 160px;
&__pointer {
cursor: pointer;
}
&__saturation {
margin: 0 0 var(--su-2) 0;
border-radius: var(--radius);
}
&__saturation-pointer {
width: var(--fs-s);
height: var(--fs-s);
border: 2px solid var(--card-bg);
border-radius: 50%;
}
&__hue {
height: var(--fs-xs);
border-radius: var(--radius);
}
&__hue-pointer {
border: 2px solid var(--card-bg);
border-radius: 1px;
width: var(--fs-s);
height: calc(100% + 8px);
}
}
}
}