iep-ui
Version:
An enterprise-class UI design language and Vue-based implementation
199 lines (198 loc) • 5.36 kB
CSS
/* 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-descriptions-bordered {
border: 1px solid #ebedf0;
}
.ant-iep-descriptions-horizontal .ant-iep-descriptions-header {
display: flex;
justify-content: space-between;
align-items: center;
}
.ant-iep-descriptions-horizontal .ant-iep-descriptions-header-item {
background: #f8f8f8;
display: flex;
justify-content: var(--align);
align-items: center;
flex: var(--flex);
padding: 12px 24px;
border-bottom: 1px solid #ebedf0;
border-left: 1px solid #ebedf0;
}
.ant-iep-descriptions-horizontal .ant-iep-descriptions-header-item:first-child {
border-left: none;
}
.ant-iep-descriptions-horizontal .ant-iep-descriptions-header-item span {
font-size: 14px;
}
.ant-iep-descriptions-horizontal .ant-iep-descriptions-footer-cell {
display: flex;
justify-content: space-between;
border-bottom: 1px solid #ebedf0;
}
.ant-iep-descriptions-horizontal .ant-iep-descriptions-footer-cell:last-child {
border-bottom: 0;
}
.ant-iep-descriptions-horizontal .ant-iep-descriptions-footer-cell-item {
display: flex;
justify-content: var(--align);
align-items: center;
flex: var(--flex);
padding: 12px 24px;
width: 100%;
border-left: 1px solid #ebedf0;
}
.ant-iep-descriptions-horizontal .ant-iep-descriptions-footer-cell-item span {
display: inline-block;
}
.ant-iep-descriptions-horizontal .ant-iep-descriptions-footer-cell-item:first-child {
border-left: none;
}
.ant-iep-descriptions-vertical {
display: flex;
justify-content: space-between;
}
.ant-iep-descriptions-vertical .ant-iep-descriptions-split {
border-left: 1px solid #ebedf0;
flex: 1;
}
.ant-iep-descriptions-vertical .ant-iep-descriptions-split:first-child {
border-left: none;
}
.ant-iep-descriptions-vertical .ant-iep-descriptions-split-item {
border-top: 1px solid #ebedf0;
display: flex;
justify-content: space-between;
}
.ant-iep-descriptions-vertical .ant-iep-descriptions-split-item:first-child {
border-top: none;
}
.ant-iep-descriptions-vertical .ant-iep-descriptions-split-item-label {
padding: 12px 24px;
background: #f8f8f8;
border-right: 1px solid #ebedf0;
width: var(--width);
font-size: 14px;
}
.ant-iep-descriptions-vertical .ant-iep-descriptions-split-item-value {
flex: 1;
padding: 12px 24px;
}
.ant-iep-descriptions-timetable {
display: flex;
justify-content: space-between;
}
.ant-iep-descriptions-timetable-sider {
border-right: 1px solid #ebedf0;
background: #f8f8f8;
}
.ant-iep-descriptions-timetable-sider-item {
height: var(--height);
border-bottom: 1px solid #ebedf0;
display: flex;
justify-content: flex-start;
align-items: center;
padding: 8px 12px;
font-size: 14px;
}
.ant-iep-descriptions-timetable-sider-item:last-child {
border: none;
}
.ant-iep-descriptions-timetable-header {
display: flex;
justify-content: space-between;
align-items: center;
border-bottom: 1px solid #ebedf0;
background: #f8f8f8;
font-weight: 400;
font-size: 14px;
color: #000;
}
.ant-iep-descriptions-timetable-header-item {
flex: 1;
display: flex;
flex-direction: column;
border-left: 1px solid #ebedf0;
}
.ant-iep-descriptions-timetable-header-item:first-child {
border-left: none;
}
.ant-iep-descriptions-timetable-header-item-head {
border-bottom: 1px solid #ebedf0;
display: flex;
justify-content: center;
align-items: center;
padding: 8px 12px;
}
.ant-iep-descriptions-timetable-header-item-body {
display: flex;
justify-content: space-between;
align-items: center;
}
.ant-iep-descriptions-timetable-header-item-cell {
flex: 1;
display: flex;
justify-content: center;
align-items: center;
border-left: 1px solid #ebedf0;
height: 40px;
padding: 8px 12px;
}
.ant-iep-descriptions-timetable-header-item-cell:first-child {
border-left: none;
}
.ant-iep-descriptions-timetable-layout {
display: flex;
flex-direction: column;
flex: 1;
}
.ant-iep-descriptions-timetable-body-row {
border-bottom: 1px solid #ebedf0;
display: flex;
justify-content: space-between;
align-items: center;
}
.ant-iep-descriptions-timetable-body-row:last-child {
border-bottom: none;
}
.ant-iep-descriptions-timetable-body-cell {
height: 40px;
border-left: 1px solid #ebedf0;
flex: 1;
display: flex;
justify-content: center;
align-items: center;
overflow: hidden;
}
.ant-iep-descriptions-timetable-body-cell:first-child {
border-left: none;
}
.ant-iep-descriptions-timetable-body-cell span {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}