From df565b506ddb2bed918befceefddcd529eb58782 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期一, 17 八月 2020 00:18:17 +0800 Subject: [PATCH] 2020-08-17 --- src/tabviews/zshare/calendar/index.scss | 35 +++++++++++++++++++++++++++++------ 1 files changed, 29 insertions(+), 6 deletions(-) diff --git a/src/tabviews/zshare/calendar/index.scss b/src/tabviews/zshare/calendar/index.scss index a3a0122..4a4e725 100644 --- a/src/tabviews/zshare/calendar/index.scss +++ b/src/tabviews/zshare/calendar/index.scss @@ -1,7 +1,23 @@ .mk-calendar { + position: relative; width: 100%; padding: 20px; + .loading-data { + position: absolute; + top: 0; + left: 20px; + right: 20px; + bottom: 0; + z-index: 2; + opacity: 0.5; + background: #ffffff; + .ant-spin-spinning { + position: absolute; + left: 50%; + top: 270px; + } + } .mk-calendar-control { text-align: right; .ant-select { @@ -69,8 +85,10 @@ .month-wrap { cursor: pointer; height: 120px; - width: 100%; + width: calc(100% - 2px); transition: background 0.1s; + margin-bottom: 2px; + box-shadow: 0px 0px 1px #f7f7f7; .header { text-align: center; font-size: 16px; @@ -97,8 +115,8 @@ } .content::-webkit-scrollbar-thumb { border-radius: 5px; - box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.09); - background: rgba(0, 0, 0, 0.09); + box-shadow: inset 0 0 5px rgba(255, 255, 255, 0.7); + background: rgba(255, 255, 255, 0.7); } .content::-webkit-scrollbar-track { box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.05); @@ -117,17 +135,22 @@ } .year-calendar { .year-wrap { + width: calc(100% - 2px); cursor: pointer; transition: background 0.1s; + box-shadow: 0px 0px 1px #f7f7f7; .header { text-align: center; font-size: 16px; - color: #1890ff; } .content { padding: 5px 15px 10px; height: 110px; overflow-y: auto; + margin-bottom: 2px; + .ant-badge-status-text { + color: inherit; + } .message { width: 100%; white-space: nowrap; @@ -140,8 +163,8 @@ } .content::-webkit-scrollbar-thumb { border-radius: 5px; - box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.09); - background: rgba(0, 0, 0, 0.09); + box-shadow: inset 0 0 5px rgba(255, 255, 255, 0.7); + background: rgba(255, 255, 255, 0.7); } .content::-webkit-scrollbar-track { box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.05); -- Gitblit v1.8.0