UNPKG

zent

Version:

一套前端设计语言和基于React的实现

50 lines (49 loc) 1.24 kB
.zent-card { background-color: #fff; background-color: var(--theme-section-bg, var(--theme-stroke-9, #fff)); border-color: #e0e0e0; border-color: var(--theme-default-border-color, var(--theme-stroke-6, #e0e0e0)); border-radius: 2px; position: relative; border-width: 1px; border-style: solid; overflow: hidden; } .zent-card-header { border-bottom-color: #e0e0e0; border-bottom-color: var(--theme-default-border-color, var(--theme-stroke-6, #e0e0e0)); height: 48px; padding: 0 20px; border-bottom-width: 1px; border-bottom-style: solid; box-sizing: border-box; display: flex; justify-content: flex-end; align-items: center; font-weight: 500; } .zent-card-header__title { color: #333; color: var(--theme-title-color, var(--theme-stroke-1, #333)); text-overflow: ellipsis; overflow: hidden; white-space: nowrap; width: 100%; } .zent-card-header__action { flex: none; } .zent-card-body { padding: 20px; } .zent-card--normal .zent-card-header { font-size: 16px; } .zent-card--normal .zent-card-body { font-size: 14px; } .zent-card--nested .zent-card-header { background-color: #f7f7f7; background-color: var(--theme-body-bg, var(--theme-stroke-8, #f7f7f7)); font-size: 14px; }