UNPKG

winbox-ui-next

Version:

We Design Vue 2.0: A Vue.js 3 UI Library

91 lines (90 loc) 1.82 kB
/******** borderSize *******/ /******** borderStyle *******/ /******** radius *******/ /******** shadow distance *******/ /******** size *******/ /******** spacing *******/ /******** shadow *******/ /******** opacity *******/ /******** fontSize *******/ /******** fontWeight ********/ /******** radius *******/ /******** Primary *******/ /******** success *******/ /******** warning *******/ /******** danger *******/ /******** link *******/ /******** radius *******/ /********* icon hover *********/ .w-color-picker { position: relative; box-sizing: border-box; width: 100%; font-size: 14px; } .w-color-picker-trigger { box-sizing: border-box; height: 100%; border: 1px solid var(--color-neutral-3); border-radius: 3px; cursor: pointer; } .w-color-picker-trigger__fill { position: absolute; top: 4px; right: 4px; bottom: 4px; left: 4px; display: flex; align-items: center; justify-content: center; border-radius: 3px; } .w-color-picker-trigger__value { position: relative; color: #fff; white-space: nowrap; } .w-color-picker-panel { width: 240px; margin: 4px 0; color: var(--color-text-1); font-size: 14px; background-color: var(--color-bg-5); border-radius: 3px; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); } .w-color-picker-small { width: 24px; height: 24px; font-size: 12px; } .w-color-picker-medium { width: 28px; height: 28px; font-size: 14px; } .w-color-picker-default { width: 36px; height: 36px; font-size: 14px; } .w-color-picker-control { padding: 12px; } .w-color-picker-input .w-input-wrapper { padding-right: 2px; padding-left: 2px; } .w-color-picker-input__mode { width: 50px; } .w-color-picker-checkboard { position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: white; border-radius: 3px; }