UNPKG

winbox-ui-next

Version:

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

175 lines (174 loc) 3.67 kB
/******** borderSize *******/ /******** borderStyle *******/ /******** radius *******/ /******** shadow distance *******/ /******** size *******/ /******** spacing *******/ /******** shadow *******/ /******** opacity *******/ /******** fontSize *******/ /******** fontWeight ********/ /******** radius *******/ /******** Primary *******/ /******** success *******/ /******** warning *******/ /******** danger *******/ /******** link *******/ /******** radius *******/ /********* icon hover *********/ /******** 基础配置项 end *******/ /******** 基础配置项 end *******/ /******** 高级配置项 *******/ /******** 高级配置项 end *******/ .w-typography { color: var(--color-text-1); line-height: 1.5715; } h1.w-typography, h2.w-typography, h3.w-typography, h4.w-typography, h5.w-typography, h6.w-typography { margin-top: 1em; margin-bottom: 0.5em; font-weight: 500; } h1.w-typography { font-size: 36px; line-height: 1.23; } h2.w-typography { font-size: 32px; line-height: 1.25; } h3.w-typography { font-size: 28px; line-height: 1.29; } h4.w-typography { font-size: 24px; line-height: 1.33; } h5.w-typography { font-size: 20px; line-height: 1.4; } h6.w-typography { font-size: 16px; line-height: 1.5; } div.w-typography, p.w-typography { margin-top: 0; margin-bottom: 1em; } .w-typography-primary { color: rgb(var(--primary-6)); } .w-typography-secondary { color: var(--color-text-2); } .w-typography-success { color: rgb(var(--success-6)); } .w-typography-warning { color: rgb(var(--warning-6)); } .w-typography-danger { color: rgb(var(--danger-6)); } .w-typography-disabled { color: var(--color-text-4); cursor: not-allowed; } .w-typography mark { background-color: rgb(var(--yellow-4)); } .w-typography u { text-decoration: underline; } .w-typography del { text-decoration: line-through; } .w-typography b { font-weight: 500; } .w-typography code { margin: 0 2px; padding: 2px 8px; color: var(--color-text-2); font-size: 85%; background-color: var(--color-neutral-2); border: 1px solid var(--color-neutral-3); border-radius: 2px; } .w-typography blockquote { margin: 0; margin-bottom: 1em; padding-left: 8px; background-color: var(--color-bg-2); border-left: 2px solid var(--color-neutral-6); } .w-typography ol, .w-typography ul { margin: 0; padding: 0; } .w-typography ul li, .w-typography ol li { margin-left: 20px; } .w-typography ul { list-style: circle; } .w-typography-spacing-close { line-height: 1.3; } .w-typography-operation-copy, .w-typography-operation-copied { margin-left: 2px; padding: 2px; } .w-typography-operation-copy { color: var(--color-text-2); background-color: transparent; border-radius: 2px; cursor: pointer; transition: background-color 0.1s cubic-bezier(0, 0, 1, 1); } .w-typography-operation-copy:hover { color: var(--color-text-2); background-color: var(--color-fill-2); } .w-typography-operation-copied { color: rgb(var(--success-6)); } .w-typography-operation-edit { margin-left: 2px; padding: 2px; color: var(--color-text-2); background-color: transparent; border-radius: 2px; cursor: pointer; transition: background-color 0.1s cubic-bezier(0, 0, 1, 1); } .w-typography-operation-edit:hover { color: var(--color-text-2); background-color: var(--color-fill-2); } .w-typography-operation-expand { margin: 0 4px; color: rgb(var(--primary-6)); cursor: pointer; } .w-typography-operation-expand:hover { color: rgb(var(--primary-5)); } .w-typography-edit-content { position: relative; left: -17px; margin-top: -5px; margin-right: -17px; margin-bottom: calc(1em - 4px - 1px); }