@gdjiami/jm-mrc-components
Version:
移动端可复用组件库
77 lines (63 loc) • 1.23 kB
CSS
.jm-date-picker {
width: 340px;
}
.jm-date-picker .am-modal-content,
.jm-date-picker .am-modal-body {
padding: 0 ;
}
.jm-date-picker__wrapper {
background-color: rgba(0, 0, 0, 0.4);
}
.jm-date-picker * {
user-select: none;
box-sizing: border-box;
}
.jm-date-picker__date {
flex: 2.5;
}
.jm-date-picker__header {
padding: 1.5em 0;
}
.jm-date-picker__body {
position: relative;
padding: 0 1em;
padding-top: 5px;
overflow: hidden;
}
.jm-date-picker__body::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
height: 1px;
background-color: #f1f1f1;
z-index: 2;
}
.jm-date-picker__date-display {
font-size: 17px;
}
.jm-date-picker__time-display {
font-family: 'ArialMT', 'Arial';
color: #c00000;
font-size: 55px;
line-height: 1.1;
font-weight: 300;
}
.jm-date-picker .rmc-picker-item-selected {
color: #c00000;
font-weight: 600;
font-size: 1.1em;
}
.jm-date-picker__header-bar {
display: flex;
justify-content: space-between;
padding: 6px 15px;
}
.jm-date-picker__action {
color: #1390ff;
cursor: pointer;
}
.jm-date-picker__ok:active {
opacity: 0.7;
}