postdischarge-applet/unpackage/dist/dev/mp-weixin/node-modules/uview-ui/components/u-calendar/u-calendar.wxss

168 lines
4.1 KiB
Plaintext
Raw Normal View History

2024-11-01 13:36:21 +08:00
@charset "UTF-8";
/**
* 这里是uni-app内置的常用样式变量
*
* uni-app 官方扩展插件及插件市场https://ext.dcloud.net.cn上很多三方插件均使用了这些样式变量
* 如果你是插件开发者建议你使用scss预处理并在插件代码中直接使用这些变量无需 import 这个文件方便用户通过搭积木的方式开发整体风格一致的App
*
*/
/**
* 如果你是App开发者插件使用者你可以通过修改这些变量来定制自己的插件主题实现自定义主题功能
*
* 如果你的项目同样使用了scss预处理你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
*/
/* 颜色变量 */
/* 行为相关颜色 */
/* 文字基本颜色 */
/* 背景颜色 */
/* 边框颜色 */
/* 尺寸变量 */
/* 文字尺寸 */
/* 图片尺寸 */
/* Border Radius */
/* 水平间距 */
/* 垂直间距 */
/* 透明度 */
/* 文章场景相关 */
.u-calendar.data-v-59e686e7 {
color: #606266;
}
.u-calendar__header.data-v-59e686e7 {
width: 100%;
box-sizing: border-box;
font-size: 30rpx;
background-color: #fff;
color: #303133;
}
.u-calendar__header__text.data-v-59e686e7 {
margin-top: 30rpx;
padding: 0 60rpx;
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
}
.u-calendar__action.data-v-59e686e7 {
padding: 40rpx 0 40rpx 0;
}
.u-calendar__action__icon.data-v-59e686e7 {
margin: 0 16rpx;
}
.u-calendar__action__text.data-v-59e686e7 {
padding: 0 16rpx;
color: #303133;
font-size: 32rpx;
line-height: 32rpx;
font-weight: bold;
}
.u-calendar__week-day.data-v-59e686e7 {
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
padding: 6px 0;
overflow: hidden;
}
.u-calendar__week-day__text.data-v-59e686e7 {
flex: 1;
text-align: center;
}
.u-calendar__content.data-v-59e686e7 {
width: 100%;
display: flex;
flex-direction: row;
flex-wrap: wrap;
padding: 6px 0;
box-sizing: border-box;
background-color: #fff;
position: relative;
}
.u-calendar__content--end-date.data-v-59e686e7 {
border-top-right-radius: 8rpx;
border-bottom-right-radius: 8rpx;
}
.u-calendar__content--start-date.data-v-59e686e7 {
border-top-left-radius: 8rpx;
border-bottom-left-radius: 8rpx;
}
.u-calendar__content__item.data-v-59e686e7 {
width: 14.2857%;
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
padding: 6px 0;
overflow: hidden;
position: relative;
z-index: 2;
}
.u-calendar__content__item__inner.data-v-59e686e7 {
height: 84rpx;
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
flex-direction: column;
font-size: 32rpx;
position: relative;
border-radius: 50%;
}
.u-calendar__content__item__inner__desc.data-v-59e686e7 {
width: 100%;
font-size: 24rpx;
line-height: 24rpx;
-webkit-transform: scale(0.75);
transform: scale(0.75);
-webkit-transform-origin: center center;
transform-origin: center center;
position: absolute;
left: 0;
text-align: center;
bottom: 2rpx;
}
.u-calendar__content__item__tips.data-v-59e686e7 {
width: 100%;
font-size: 24rpx;
line-height: 24rpx;
position: absolute;
left: 0;
-webkit-transform: scale(0.8);
transform: scale(0.8);
-webkit-transform-origin: center center;
transform-origin: center center;
text-align: center;
bottom: 8rpx;
z-index: 2;
}
.u-calendar__content__bg-month.data-v-59e686e7 {
position: absolute;
font-size: 130px;
line-height: 130px;
left: 50%;
top: 50%;
-webkit-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);
color: #e4e7ed;
z-index: 1;
}
.u-calendar__bottom.data-v-59e686e7 {
width: 100%;
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
flex-direction: column;
background-color: #fff;
padding: 0 40rpx 30rpx;
box-sizing: border-box;
font-size: 24rpx;
color: #909399;
}
.u-calendar__bottom__choose.data-v-59e686e7 {
height: 50rpx;
}
.u-calendar__bottom__btn.data-v-59e686e7 {
width: 100%;
}