yuminge-app/yun-min-program-plugin-master/packageE/appointment/mycomponent/calender.wxss

114 lines
1.9 KiB
Plaintext

/* packageE/appointment/calender/calender.wxss */
view,
text {
box-sizing: border-box;
}
.wrapper {
margin: 0.5rem auto;
width: 95%;
background: #fff;
user-select: none;
box-shadow: 0 0 16px 0 hsla(0, 0%, 42.4%, 0.17);
border-radius: 25px;
padding-bottom: 30rpx;
}
.calendar-info {
padding: 9px;
font-size: 16px;
line-height: 1.3;
text-align: center;
display: flex;
border-radius: 25px;
}
.calendar-info .p {
margin: 0.7rem 0 0 0;
font-size: 14px;
flex: 2;
}
.calendar-info > div.month .month-inner > span {
display: block;
font-size: 14px;
height: 20px;
width: 100px;
overflow: hidden;
text-align: center;
flex: 1;
}
.next-month {
margin: 12px 10px;
border-top: 8px solid transparent;
border-bottom: 8px solid transparent;
border-left: 12px solid #ffa300;
}
.pre-month {
margin: 12px 10px;
border-top: 8px solid transparent;
border-bottom: 8px solid transparent;
border-right: 12px solid #ffa300;
}
.box-flex {
display: grid;
grid-template-columns: repeat(7, 1fr);
}
.flex-item {
width: 100%;
padding-bottom: 100%;
position: relative;
overflow: hidden;
}
.day .item-content,
.date .item-content {
color: #000;
height: 70rpx;
width: 70rpx;
display: flex;
align-items: center;
justify-content: center;
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
margin: auto;
border-radius: 50%;
}
.date .prev,
.date .next {
opacity: 0.3;
}
.date .bk-color-day {
color: #fff;
background-color: rgb(249, 208, 143);
}
.date .active {
color: #fff;
background-color: rgb(244, 159, 25);
}
.date .disabled {
height: 10rpx;
width: 10rpx;
position: absolute;
left: 50%;
bottom: 0;
text-align: center;
line-height: 1.2;
-webkit-transform: translateX(-50%) scale(0.8);
-ms-transform: translateX(-50%) scale(0.8);
transform: translateX(-50%) scale(0.8);
border-radius: 50%;
background-color: rgb(8, 60, 228);
}