UNPKG

monday-ui-react-core

Version:

Official monday.com UI resources for application development in React.js

3 lines (2 loc) 2.52 kB
var n={thumb:"thumb",dragging:"dragging",focused:"focused",notDisabledThumb:"notDisabledThumb","focus-visible":"focus-visible",positive:"positive",negative:"negative",small:"small",medium:"medium",large:"large",label:"label"};!function(n){const o="s_id-a3b6698c403a_2_149_4";if("undefined"!=typeof document){const e=document.head||document.getElementsByTagName("head")[0];if(e.querySelector("#"+o))return;const r=document.createElement("style");r.id=o,e.firstChild?e.insertBefore(r,e.firstChild):e.appendChild(r),r.appendChild(document.createTextNode(n))}else globalThis.injectedStyles&&(globalThis.injectedStyles[o]=n)}(".thumb {\n position: absolute;\n border: 3px solid;\n border-radius: 50%;\n border-color: var(--primary-color);\n background-color: var(--primary-background-color);\n font-size: 14px;\n top: 50%;\n transform: translate(-50%, -50%);\n transition: transform var(--motion-productive-long) var(--motion-timing-enter);\n font-family: var(--font-family);\n}\n\n.dragging {\n cursor: grabbing !important;\n transform: translate(-50%, -50%) scale(1.33, 1.33);\n transform-origin: center center;\n transition: transform var(--motion-productive-long) var(--motion-timing-enter);\n box-shadow: var(--box-shadow-small);\n}\n\n.focused {\n border-color: var(--primary-hover-color);\n cursor: grab;\n box-shadow: var(--box-shadow-small);\n}\n\n.notDisabledThumb:focus-visible, .notDisabledThumb.focus-visible {\n outline: none;\n z-index: 11;\n border-radius: 50%;\n box-shadow: 0 0 0 3px hsla(209, 100%, 50%, 0.5), 0 0 0 1px var(--primary-hover-color) inset;\n}\n\n.notDisabledThumb:focus:not(.focus-visible) {\n outline: none;\n}\n\n.notDisabledThumb:hover {\n border-color: var(--primary-hover-color);\n cursor: grab;\n box-shadow: var(--box-shadow-small);\n}\n\n.positive {\n border-color: var(--positive-color);\n}\n\n.positive.notDisabledThumb:hover {\n border-color: var(--positive-color-hover);\n}\n\n.negative {\n border-color: var(--negative-color);\n}\n\n.negative.notDisabledThumb:hover {\n border-color: var(--negative-color-hover);\n}\n\n.small {\n height: 16px;\n width: 16px;\n}\n\n.medium {\n height: 24px;\n width: 24px;\n}\n\n.large {\n height: 24px;\n width: 24px;\n}\n\n.label {\n bottom: calc(100% + 8px);\n left: 50%;\n max-width: 50px;\n overflow: hidden;\n position: absolute;\n text-overflow: ellipsis;\n transform: translate(-50%, 0);\n white-space: nowrap;\n}");export{n as default}; //# sourceMappingURL=SliderThumb.module.scss.js.map