UNPKG

winbox-ui-next

Version:

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

161 lines (160 loc) 3.94 kB
/******** borderSize *******/ /******** borderStyle *******/ /******** radius *******/ /******** shadow distance *******/ /******** size *******/ /******** spacing *******/ /******** shadow *******/ /******** opacity *******/ /******** fontSize *******/ /******** fontWeight ********/ /******** radius *******/ /******** Primary *******/ /******** success *******/ /******** warning *******/ /******** danger *******/ /******** link *******/ /******** radius *******/ /********* icon hover *********/ /********************************************** * size: small / default / large **********************************************/ .w-list { display: flex; flex-direction: column; box-sizing: border-box; width: 100%; overflow-y: auto; color: var(--color-text-1); font-size: 14px; line-height: 1.5715; } .w-list-wrapper { overflow: hidden; } .w-list-wrapper .w-list-spin { display: block; height: 100%; overflow: hidden; } .w-list-small .w-list-content-wrapper .w-list-header { padding: 8px 20px; } .w-list-small .w-list-content-wrapper .w-list-footer, .w-list-small .w-list-content-wrapper .w-list-content > .w-list-item, .w-list-small .w-list-content-wrapper .w-list-content .w-list-col > .w-list-item, .w-list-small .w-list-content-wrapper .w-list-content.w-list-virtual .w-list-item { padding: 8px 20px; } .w-list-medium .w-list-content-wrapper .w-list-header { padding: 12px 20px; } .w-list-medium .w-list-content-wrapper .w-list-footer, .w-list-medium .w-list-content-wrapper .w-list-content > .w-list-item, .w-list-medium .w-list-content-wrapper .w-list-content .w-list-col > .w-list-item, .w-list-medium .w-list-content-wrapper .w-list-content.w-list-virtual .w-list-item { padding: 12px 20px; } .w-list-large .w-list-content-wrapper .w-list-header { padding: 16px 20px; } .w-list-large .w-list-content-wrapper .w-list-footer, .w-list-large .w-list-content-wrapper .w-list-content > .w-list-item, .w-list-large .w-list-content-wrapper .w-list-content .w-list-col > .w-list-item, .w-list-large .w-list-content-wrapper .w-list-content.w-list-virtual .w-list-item { padding: 16px 20px; } .w-list-bordered { border: 1px solid var(--color-neutral-3); } .w-list-split .w-list-header, .w-list-split .w-list-item:not(:last-child) { border-bottom: 1px solid var(--color-neutral-3); } .w-list-split .w-list-footer { border-top: 1px solid var(--color-neutral-3); } .w-list-header { color: var(--color-text-1); font-weight: 400; font-size: 16px; line-height: 1.5; } .w-list-item { display: flex; justify-content: space-between; box-sizing: border-box; width: 100%; overflow: hidden; } .w-list-item-main { flex: 1; } .w-list-item-main .w-list-item-action:not(:first-child) { margin-top: 4px; } .w-list-item-meta { display: flex; align-items: center; padding: 4px 0; } .w-list-item-meta-avatar { display: flex; } .w-list-item-meta-avatar:not(:last-child) { margin-right: 16px; } .w-list-item-meta-title { color: var(--color-text-1); font-weight: 500; } .w-list-item-meta-title:not(:last-child) { margin-bottom: 2px; } .w-list-item-meta-description { color: var(--color-text-2); } .w-list-item-action { display: flex; flex-wrap: nowrap; align-self: center; margin: 0; padding: 0; list-style: none; } .w-list-item-action > li { display: inline-block; cursor: pointer; } .w-list-item-action > li:not(:last-child) { margin-right: 20px; } .w-list-hover .w-list-item:hover { background-color: var(--color-fill-1); } .w-list-pagination { float: right; margin-top: 24px; } .w-list-pagination::after { display: block; clear: both; height: 0; overflow: hidden; visibility: hidden; content: ''; } .w-list-scroll-loading { display: flex; align-items: center; justify-content: center; } .w-list-content { flex: 1; } .w-list-content .w-empty { display: flex; align-items: center; justify-content: center; height: 100%; }