@plone/components
Version:
ReactJS components for Plone
39 lines (33 loc) • 654 B
CSS
/* depends on:
@import './ColorSlider.css';
*/
@layer plone-components.base {
.react-aria-ColorArea {
width: 192px;
height: 192px;
flex-shrink: 0;
border-radius: 4px;
}
.react-aria-ColorThumb {
width: 20px;
height: 20px;
box-sizing: border-box;
border: 2px solid white;
border-radius: 50%;
box-shadow:
0 0 0 1px black,
inset 0 0 0 1px black;
&[data-focus-visible] {
width: 24px;
height: 24px;
}
}
.react-aria-ColorArea {
&[data-disabled] {
background: gray ;
.react-aria-ColorThumb {
background: gray ;
}
}
}
}