UNPKG

wix-style-react

Version:
48 lines (37 loc) 945 B
@st-namespace "BMLinearProgressBar"; :import { -st-from: "../../../LinearProgressBar/LinearProgressBar.st.css"; -st-default: LinearProgressBar; } :import { -st-from: "../../../StatusIndicator/StatusIndicator.st.css"; -st-default: StatusIndicator; } :import { -st-from: "../foundations/colors.st.css"; -st-named: G20, D60, B10, R10; } .root { -st-extends: LinearProgressBar; padding: 0 0 0 8px; height: 16px; } .root:skin(success):not(:error)::barForeground { background: value(G20); } .root:skin(success)::barBackground { background: value(D60); } .root:skin(standard):not(:error)::barForeground { background: value(B10); } .root:error::barForeground { background: value(R10); } .root:error StatusIndicator { color: value(R10); } .root:skin(standard)::barBackground { background: value(D60); } /* st-namespace-reference="../../../../../src/Themes/businessDashboard/components/LinearProgressBar.st.css" */