UNPKG

winbox-ui-next

Version:

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

91 lines (90 loc) 2.06 kB
/******** borderSize *******/ /******** borderStyle *******/ /******** radius *******/ /******** shadow distance *******/ /******** size *******/ /******** spacing *******/ /******** shadow *******/ /******** opacity *******/ /******** fontSize *******/ /******** fontWeight ********/ /******** radius *******/ /******** Primary *******/ /******** success *******/ /******** warning *******/ /******** danger *******/ /******** link *******/ /******** radius *******/ /********* icon hover *********/ .w-anchor { position: relative; width: 180px; overflow: auto; } .w-anchor-line-slider { position: absolute; top: 0; left: 0; z-index: 1; width: 2px; height: 20px; margin-top: 5.0005px; background-color: rgb(var(--primary-6)); transition: top 0.2s cubic-bezier(0.34, 0.69, 0.1, 1); } .w-anchor-list { position: relative; margin-top: 0; margin-bottom: 0; margin-left: 12px; padding-left: 0; list-style: none; } .w-anchor-list::before { position: absolute; left: -12px; width: 2px; height: 100%; background-color: var(--color-fill-3); content: ''; } .w-anchor-sublist { margin-top: 0; margin-bottom: 0; padding-left: 0; list-style: none; } .w-anchor-link-item .w-anchor-link { display: block; padding: 4px 4px; overflow: hidden; color: var(--color-text-2); font-size: 14px; line-height: 1.5715; white-space: nowrap; text-decoration: none; text-overflow: ellipsis; border-radius: var(--border-radius-small); cursor: pointer; } .w-anchor-link-item .w-anchor-link:hover { color: var(--color-text-1); background-color: var(--color-fill-2); } .w-anchor-link-active > .w-anchor-link { color: rgb(var(--primary-6)); transition: all 0.1s cubic-bezier(0, 0, 1, 1); } .w-anchor-link-item .w-anchor-link-item { margin-left: 16px; } .w-anchor-line-less .w-anchor-list { margin-left: 0; } .w-anchor-line-less .w-anchor-list::before { display: none; } .w-anchor-line-less .w-anchor-link-active > .w-anchor-link { color: rgb(var(--primary-6)); background-color: var(--color-fill-2); }