view-ui-plus
Version:
A high quality UI components Library with Vue.js 3
68 lines (59 loc) • 1.62 kB
text/less
.ivu-calendar{
&-header{
display: flex;
justify-content: space-between;
padding: 12px;
border-bottom: 1px solid @border-color-split;
&-title{
color: @title-color;
font-size: 18px;
}
&-action{
}
}
&-table{
table-layout: fixed;
width: 100%;
thead th{
padding: 24px 0 6px 6px;
text-align: left;
font-size: 14px;
}
td{
font-size: 14px;
border-bottom: 1px solid @border-color-split;
border-right: 1px solid @border-color-split;
vertical-align: top;
}
tr:first-child td {
border-top: 1px solid @border-color-split;
}
tr td:first-child {
border-left: 1px solid @border-color-split;
}
&-day{
box-sizing: border-box;
height: 100px;
padding: 6px;
transition: background-color @transition-time @ease-in-out;
cursor: pointer;
&:hover{
background-color: ~`colorPalette("@{primary-color}", 1)`;
}
&-other{
.ivu-calendar-table-day-title{
color: @btn-disable-color;
}
}
&-current{
.ivu-calendar-table-day-title{
color: @primary-color;
}
background-color: ~`colorPalette("@{primary-color}", 1)`;
}
}
}
&-table-year{
padding-top: 24px;
}
}