From 5046d0d13dc6a8563b8e54e31913bc44cfa1072f Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期二, 26 四月 2022 19:23:18 +0800 Subject: [PATCH] 2022-04-26 --- src/assets/css/main.scss | 41 +++++++++++++++++++++++++++++++++-------- 1 files changed, 33 insertions(+), 8 deletions(-) diff --git a/src/assets/css/main.scss b/src/assets/css/main.scss index a137096..d9922e3 100644 --- a/src/assets/css/main.scss +++ b/src/assets/css/main.scss @@ -123,15 +123,18 @@ } // 閲嶇疆鏃堕棿鎻掍欢鏃堕棿婊氬姩鏉� -.ant-calendar-time-picker-select:hover::-webkit-scrollbar { - width: 7px; +.ant-calendar-time-picker-select { + overflow-y: auto!important; } -.ant-calendar-time-picker-select:hover::-webkit-scrollbar-thumb { +.ant-calendar-time-picker-select::-webkit-scrollbar { + width: 6px; +} +.ant-calendar-time-picker-select::-webkit-scrollbar-thumb { border-radius: 5px; - box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.13); - background: rgba(0, 0, 0, 0.13); + box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.08); + background: rgba(0, 0, 0, 0.08); } -.ant-calendar-time-picker-select:hover::-webkit-scrollbar-track { +.ant-calendar-time-picker-select::-webkit-scrollbar-track { box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.05); border-radius: 3px; border: 1px solid rgba(0, 0, 0, 0.07); @@ -163,7 +166,7 @@ width: 100%; display: inline-block; .ant-calendar-picker { - width: 100%; + width: 100%!important; } } .ant-calendar-picker-container { @@ -443,4 +446,26 @@ // } // .ant-table.ant-table-mini .ant-table-tbody > tr > td { // padding: 4px 4px; -// } \ No newline at end of file +// } +.mk-date-picker.minute { + .ant-calendar-time-picker-combobox { + .ant-calendar-time-picker-select { + width: 50%; + } + + >.ant-calendar-time-picker-select:last-child { + display: none; + } + } +} +.mk-date-picker.hour { + .ant-calendar-time-picker-combobox { + .ant-calendar-time-picker-select { + width: 100%; + } + + >.ant-calendar-time-picker-select:not(:first-child) { + display: none; + } + } +} \ No newline at end of file -- Gitblit v1.8.0