wix-style-react
Version:
34 lines (28 loc) • 720 B
CSS
/* st-namespace-reference="../../../../src/ColorInput/components/ColorViewer.st.css" */
:import {
-st-from: '../../Foundation/stylable/colors.st.css';
-st-named: R00;
}
.root {
-st-states: empty, size(enum(small, medium, large));
box-sizing: border-box;
width: 18px;
height: 18px;
border-radius: 2px;
border: 1px solid rgba(87,112,131, 0.3);
margin: auto 6px;
}
.line {
width: 100%;
height: 100%;
background: linear-gradient(to top left,
rgba(214,69,61,0) 0%,
rgba(214,69,61,0) calc(50% - 0.8px),
rgba(214,69,61,1) 50%,
rgba(214,69,61,0) calc(50% + 0.8px),
rgba(214,69,61,0) 100%)
}
.root:size(large) {
width: 24px;
height: 24px;
}