@rainliu/y-ui
Version:
# @rainliu/y-ui > 一款基于 React 的现代化 UI 组件库,提供优雅、简洁且易于使用的组件,助力快速开发高质量的 Web 应用。
82 lines • 1.48 kB
CSS
/* src/index.scss */
.calendar {
width: 100%;
}
.calendar-header-left {
display: flex;
align-items: center;
height: 28px;
line-height: 28px;
}
.calendar-header-value {
font-size: 20px;
}
.calendar-header-btn {
background: #eee;
cursor: pointer;
border: 0;
padding: 0 15px;
line-height: 28px;
}
.calendar-header-btn:hover {
background: #ccc;
}
.calendar-header-icon {
width: 28px;
height: 28px;
line-height: 28px;
border-radius: 50%;
text-align: center;
font-size: 12px;
-webkit-user-select: none;
-moz-user-select: none;
user-select: none;
cursor: pointer;
margin-right: 12px;
}
.calendar-header-icon:not(:first-child) {
margin: 0 12px;
}
.calendar-header-icon:hover {
background: #ccc;
}
.calendar-month-week-list {
display: flex;
padding: 0;
width: 100%;
box-sizing: border-box;
border-bottom: 1px solid #eee;
}
.calendar-month-week-list-item {
padding: 20px 16px;
text-align: left;
color: #7d7d7f;
flex: 1;
}
.calendar-month-body-row {
height: 100px;
display: flex;
}
.calendar-month-body-cell {
flex: 1;
border: 1px solid #eee;
color: #ccc;
overflow: hidden;
}
.calendar-month-body-cell-current {
color: #000;
}
.calendar-month-body-cell-date {
padding: 10px;
}
.calendar-month-body-cell-date-selected {
background: blue;
width: 28px;
height: 28px;
line-height: 28px;
text-align: center;
color: #fff;
border-radius: 50%;
cursor: pointer;
}
/*# sourceMappingURL=index.css.map */