123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261 |
- @charset "UTF-8";
- /**
- * 这里是uni-app内置的常用样式变量
- *
- * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
- * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
- *
- */
- /**
- * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
- *
- * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
- */
- /* 颜色变量 */
- /* 行为相关颜色 */
- /* 文字基本颜色 */
- /* 背景颜色 */
- /* 边框颜色 */
- /* 尺寸变量 */
- /* 文字尺寸 */
- /* 图片尺寸 */
- /* Border Radius */
- /* 水平间距 */
- /* 垂直间距 */
- /* 透明度 */
- /* 文章场景相关 */
- .uni-calendar {
- display: flex;
- flex-direction: column;
- }
- .uni-calendar__mask {
- position: fixed;
- bottom: 0;
- top: 0;
- left: 0;
- right: 0;
- background-color: rgba(0, 0, 0, 0.4);
- transition-property: opacity;
- transition-duration: 0.3s;
- opacity: 0;
- z-index: 99;
- }
- .uni-calendar--mask-show {
- opacity: 1;
- }
- .uni-calendar--fixed {
- position: fixed;
- bottom: calc(0px);
- left: 0;
- right: 0;
- transition-property: -webkit-transform;
- transition-property: transform;
- transition-property: transform, -webkit-transform;
- transition-duration: 0.3s;
- -webkit-transform: translateY(460px);
- transform: translateY(460px);
- z-index: 99;
- }
- .uni-calendar--ani-show {
- -webkit-transform: translateY(0);
- transform: translateY(0);
- }
- .uni-calendar__content {
- background-color: #fff;
- }
- .uni-calendar__content-mobile {
- border-top-left-radius: 10px;
- border-top-right-radius: 10px;
- box-shadow: 0px 0px 5px 3px rgba(0, 0, 0, 0.1);
- }
- .uni-calendar__header {
- position: relative;
- display: flex;
- flex-direction: row;
- justify-content: center;
- align-items: center;
- height: 50px;
- }
- .uni-calendar__header-mobile {
- padding: 10px;
- padding-bottom: 0;
- }
- .uni-calendar--fixed-top {
- display: flex;
- flex-direction: row;
- justify-content: space-between;
- border-top-color: rgba(0, 0, 0, 0.4);
- border-top-style: solid;
- border-top-width: 1px;
- }
- .uni-calendar--fixed-width {
- width: 50px;
- }
- .uni-calendar__backtoday {
- position: absolute;
- right: 0;
- top: 25rpx;
- padding: 0 5px;
- padding-left: 10px;
- height: 25px;
- line-height: 25px;
- font-size: 12px;
- border-top-left-radius: 25px;
- border-bottom-left-radius: 25px;
- color: #fff;
- background-color: #f1f1f1;
- }
- .uni-calendar__header-text {
- text-align: center;
- width: 100px;
- font-size: 15px;
- color: #666;
- }
- .uni-calendar__button-text {
- text-align: center;
- width: 100px;
- font-size: 14px;
- color: #007aff;
- letter-spacing: 3px;
- }
- .uni-calendar__header-btn-box {
- display: flex;
- flex-direction: row;
- align-items: center;
- justify-content: center;
- width: 50px;
- height: 50px;
- }
- .uni-calendar__header-btn {
- width: 9px;
- height: 9px;
- border-left-color: #808080;
- border-left-style: solid;
- border-left-width: 1px;
- border-top-color: #555555;
- border-top-style: solid;
- border-top-width: 1px;
- }
- .uni-calendar--left {
- -webkit-transform: rotate(-45deg);
- transform: rotate(-45deg);
- }
- .uni-calendar--right {
- -webkit-transform: rotate(135deg);
- transform: rotate(135deg);
- }
- .uni-calendar__weeks {
- position: relative;
- display: flex;
- flex-direction: row;
- }
- .uni-calendar__weeks-item {
- flex: 1;
- }
- .uni-calendar__weeks-day {
- flex: 1;
- display: flex;
- flex-direction: column;
- justify-content: center;
- align-items: center;
- height: 40px;
- border-bottom-color: #F5F5F5;
- border-bottom-style: solid;
- border-bottom-width: 1px;
- }
- .uni-calendar__weeks-day-text {
- font-size: 12px;
- color: #B2B2B2;
- }
- .uni-calendar__box {
- position: relative;
- padding-bottom: 7px;
- }
- .uni-calendar__box-bg {
- display: flex;
- justify-content: center;
- align-items: center;
- position: absolute;
- top: 0;
- left: 0;
- right: 0;
- bottom: 0;
- }
- .uni-calendar__box-bg-text {
- font-size: 200px;
- font-weight: bold;
- color: #999;
- opacity: 0.1;
- text-align: center;
- line-height: 1;
- }
- .uni-date-changed {
- padding: 0 10px;
- text-align: center;
- color: #333;
- border-top-color: #DCDCDC;
- border-top-style: solid;
- border-top-width: 1px;
- flex: 1;
- }
- .uni-date-btn--ok {
- padding: 20px 15px;
- }
- .uni-date-changed--time-start {
- display: flex;
- align-items: center;
- }
- .uni-date-changed--time-end {
- display: flex;
- align-items: center;
- }
- .uni-date-changed--time-date {
- color: #999;
- line-height: 50px;
- margin-right: 5px;
- }
- .time-picker-style {
- display: flex;
- justify-content: center;
- align-items: center;
- }
- .mr-10 {
- margin-right: 10px;
- }
- .dialog-close {
- position: absolute;
- top: 0;
- right: 0;
- bottom: 0;
- display: flex;
- flex-direction: row;
- align-items: center;
- padding: 0 25px;
- margin-top: 10px;
- }
- .dialog-close-plus {
- width: 16px;
- height: 2px;
- background-color: #737987;
- border-radius: 2px;
- -webkit-transform: rotate(45deg);
- transform: rotate(45deg);
- }
- .dialog-close-rotate {
- position: absolute;
- -webkit-transform: rotate(-45deg);
- transform: rotate(-45deg);
- }
- .uni-datetime-picker--btn {
- border-radius: 100px;
- height: 40px;
- line-height: 40px;
- background-color: #007aff;
- color: #fff;
- font-size: 16px;
- letter-spacing: 2px;
- }
- .uni-datetime-picker--btn:active {
- opacity: 0.7;
- }
|