UNPKG

iep-ui

Version:

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

139 lines (138 loc) 3.4 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-business-card { border-radius: 4px; background: #f9f9f9; border: 1px solid #eaeff4; padding: 12px 12px 0 12px; display: flex; flex-direction: column; width: auto; min-height: 190px; -webkit-user-select: none; -moz-user-select: none; user-select: none; transition: all 0.3s; } .ant-business-card .anticon-check-square { color: #0F6EFF; } .ant-business-card-active { background: #fff; box-shadow: 0 4px 8px rgba(0, 113, 250, 0.16); } .ant-business-card .iep-button-icon { width: 30px; height: 30px; display: flex; justify-content: center; align-items: center; cursor: pointer; color: #999; font-size: 16px; } .ant-business-card-header { display: flex; justify-content: space-between; align-items: center; } .ant-business-card-header-left { width: 24px; height: 24px; border-radius: 4px; line-height: 24px; text-align: center; color: #fff; box-shadow: 0 -6px 16px -8px rgba(0, 0, 0, 0.08), 0 -9px 28px 0 rgba(0, 0, 0, 0.05), 0 -12px 48px 16px rgba(0, 0, 0, 0.03); background: var(--color); } .ant-business-card-header-right { display: flex; justify-content: flex-end; align-items: center; gap: 0 10px; transition: all 0.3s; } .ant-business-card-header-right:hover .ant-business-card-header-right-tools { transition: all 0.3s; display: flex; } .ant-business-card-header-right:hover .ant-business-card-header-right-more { transition: all 0.3s; display: none; } .ant-business-card-header-right-show .ant-business-card-header-right-tools { transition: all 0.3s; display: flex; } .ant-business-card-header-right-show .ant-business-card-header-right-more { transition: all 0.3s; display: none; } .ant-business-card-header-right-tools { display: none; justify-content: flex-end; align-items: center; gap: 0 10px; } .ant-business-card-header-right-tools-item:active svg { fill: #0F6EFF; } .ant-business-card-body { overflow: hidden; flex: 1; padding: 12px 0; } .ant-business-card-body span { font-weight: 400; font-size: 14px; line-height: 20px; color: #000; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; } .ant-business-card-footer { height: 34px; border-radius: 17px; background: #f9f9f9; text-align: center; line-height: 34px; } .ant-business-card-footer span { font-weight: 400; font-size: 14px; color: #000; } .ant-business-card-checked { height: 34px; display: flex; justify-content: flex-end; align-items: center; }