UNPKG

iep-ui

Version:

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

148 lines (147 loc) 3.29 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 */ /*定义滚动条高宽及背景 高宽分别对应横竖滚动条的尺寸*/ ::-webkit-scrollbar { width: 6px; background-color: transparent; } /*定义滚动条轨道 内阴影+圆角*/ ::-webkit-scrollbar-track { -webkit-box-shadow: none; border-radius: 4px; background-color: transparent; } /*定义滑块 内阴影+圆角*/ ::-webkit-scrollbar-thumb { border-radius: 6px; -webkit-box-shadow: none; background-color: rgba(144, 147, 153, 0.3); } /*定义最上方和最下方的按钮*/ ::-webkit-scrollbar-button { display: none; background-color: #252540; border: 1px solid #252540; } .ant-iep-timeline { box-sizing: border-box; margin: 0; padding: 0; color: rgba(0, 0, 0, 0.85); font-size: 14px; font-variant: tabular-nums; line-height: 1.5715; list-style: none; font-feature-settings: 'tnum'; } .ant-iep-timeline-item { box-sizing: border-box; margin: 0; padding: 0; color: rgba(0, 0, 0, 0.85); font-size: 14px; font-variant: tabular-nums; line-height: 1.5715; list-style: none; font-feature-settings: 'tnum'; display: flex; justify-content: flex-start; align-items: center; position: relative; } .ant-iep-timeline-item-bottom-20 { padding-bottom: 20px; } .ant-iep-timeline-item-bottom-30 { padding-bottom: 30px; } .ant-iep-timeline-item-bottom-40 { padding-bottom: 40px; } .ant-iep-timeline-item-bottom-56 { padding-bottom: 56px; } .ant-iep-timeline-item-left { width: 130px; display: flex; flex-direction: column; align-items: flex-end; padding-right: 10px; position: absolute; top: 0; } .ant-iep-timeline-item-left-date-time { font-weight: 400; font-size: 14px; color: #999; text-align: right; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .ant-iep-timeline-item-left-time { display: flex; justify-content: flex-end; align-items: center; } .ant-iep-timeline-item-left-time .iep-icon { display: flex; justify-content: center; align-items: center; } .ant-iep-timeline-item-left-time .iep-icon svg { width: 16px; height: 16px; fill: #0F6EFF; } .ant-iep-timeline-item-dot { width: 32px; height: 32px; background: #0F6EFF; border-radius: 50%; display: flex; justify-content: center; align-items: center; position: absolute; left: 130px; top: 0; } .ant-iep-timeline-item-dot-pl { left: 0; } .ant-iep-timeline-item-tail { position: absolute; top: 10px; left: 146px; width: 1px; height: calc(100% - 10px); border-left: 2px solid #0F6EFF; } .ant-iep-timeline-item-tail-pl { left: 16px; } .ant-iep-timeline-item-wrapper { margin-left: 170px; display: flex; justify-content: flex-start; } .ant-iep-timeline-item-wrapper-title { font-weight: bold; font-size: 16px; text-align: left; color: #333; width: 80px; height: 32px; line-height: 32px; } .ant-iep-timeline-item-wrapper-info { flex: 1; } .ant-iep-timeline-item-wrapper-pl { margin-left: 40px; } .ant-iep-timeline-item:last-child .ant-iep-timeline-item-tail { display: none; }