UNPKG

gov-design-vue

Version:

An enterprise-class UI design language and Vue-based implementation

103 lines (102 loc) 3.27 kB
/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */ /* stylelint-disable no-duplicate-selectors */ /* stylelint-disable */ /* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ .gov-divider { font-family: "Chinese Quote", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; font-size: 14px; font-variant: tabular-nums; line-height: 1.5; color: rgba(0, 0, 0, 0.65); box-sizing: border-box; margin: 0; padding: 0; list-style: none; background: #e8e8e8; } .gov-divider, .gov-divider-vertical { margin: 0 8px; display: inline-block; height: 0.9em; width: 1px; vertical-align: middle; position: relative; top: -0.06em; } .gov-divider-horizontal { display: block; height: 1px; width: 100%; min-width: 100%; margin: 24px 0; clear: both; } .gov-divider-horizontal.gov-divider-with-text, .gov-divider-horizontal.gov-divider-with-text-left, .gov-divider-horizontal.gov-divider-with-text-right { display: table; white-space: nowrap; text-align: center; background: transparent; font-weight: 500; color: rgba(0, 0, 0, 0.85); font-size: 16px; margin: 16px 0; } .gov-divider-horizontal.gov-divider-with-text:before, .gov-divider-horizontal.gov-divider-with-text-left:before, .gov-divider-horizontal.gov-divider-with-text-right:before, .gov-divider-horizontal.gov-divider-with-text:after, .gov-divider-horizontal.gov-divider-with-text-left:after, .gov-divider-horizontal.gov-divider-with-text-right:after { content: ''; display: table-cell; position: relative; top: 50%; width: 50%; border-top: 1px solid #e8e8e8; transform: translateY(50%); } .gov-divider-horizontal.gov-divider-with-text-left .gov-divider-inner-text, .gov-divider-horizontal.gov-divider-with-text-right .gov-divider-inner-text { display: inline-block; padding: 0 10px; } .gov-divider-horizontal.gov-divider-with-text-left:before { top: 50%; width: 5%; } .gov-divider-horizontal.gov-divider-with-text-left:after { top: 50%; width: 95%; } .gov-divider-horizontal.gov-divider-with-text-right:before { top: 50%; width: 95%; } .gov-divider-horizontal.gov-divider-with-text-right:after { top: 50%; width: 5%; } .gov-divider-inner-text { display: inline-block; padding: 0 24px; } .gov-divider-dashed { background: none; border-top: 1px dashed #e8e8e8; } .gov-divider-horizontal.gov-divider-with-text.gov-divider-dashed, .gov-divider-horizontal.gov-divider-with-text-left.gov-divider-dashed, .gov-divider-horizontal.gov-divider-with-text-right.gov-divider-dashed { border-top: 0; } .gov-divider-horizontal.gov-divider-with-text.gov-divider-dashed:before, .gov-divider-horizontal.gov-divider-with-text-left.gov-divider-dashed:before, .gov-divider-horizontal.gov-divider-with-text-right.gov-divider-dashed:before, .gov-divider-horizontal.gov-divider-with-text.gov-divider-dashed:after, .gov-divider-horizontal.gov-divider-with-text-left.gov-divider-dashed:after, .gov-divider-horizontal.gov-divider-with-text-right.gov-divider-dashed:after { border-style: dashed none none; }