From b09b821ef36fd1ea979e9a5daa98e95732ac81d5 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期三, 16 七月 2025 18:16:00 +0800 Subject: [PATCH] 2025-07-16 --- src/assets/css/main.scss | 97 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 96 insertions(+), 1 deletions(-) diff --git a/src/assets/css/main.scss b/src/assets/css/main.scss index 7349bc5..45a87cf 100644 --- a/src/assets/css/main.scss +++ b/src/assets/css/main.scss @@ -167,6 +167,41 @@ border: 1px solid rgba(0, 0, 0, 0.07); background: rgba(0, 0, 0, 0); } +.ant-calendar-header .ant-calendar-prev-century-btn::before, .ant-calendar-header .ant-calendar-prev-decade-btn::before, .ant-calendar-header .ant-calendar-prev-year-btn::before, .ant-calendar-header .ant-calendar-prev-century-btn::after, .ant-calendar-header .ant-calendar-prev-decade-btn::after, .ant-calendar-header .ant-calendar-prev-year-btn::after { + border-color: rgba(0, 0, 0, 0.85)!important; + border-width: 2px 0 0 2px!important; +} +.ant-calendar-header .ant-calendar-next-century-btn::before, .ant-calendar-header .ant-calendar-next-decade-btn::before, .ant-calendar-header .ant-calendar-next-year-btn::before, .ant-calendar-header .ant-calendar-next-century-btn::after, .ant-calendar-header .ant-calendar-next-decade-btn::after, .ant-calendar-header .ant-calendar-next-year-btn::after { + border-color: rgba(0, 0, 0, 0.85)!important; + border-width: 2px 0 0 2px!important; +} +.ant-calendar-header .ant-calendar-next-century-btn:hover::before, .ant-calendar-header .ant-calendar-next-decade-btn:hover::before, .ant-calendar-header .ant-calendar-next-year-btn:hover::before, .ant-calendar-header .ant-calendar-next-century-btn:hover::after, .ant-calendar-header .ant-calendar-next-decade-btn:hover::after, .ant-calendar-header .ant-calendar-next-year-btn:hover::after { + border-color: rgba(0, 0, 0, 1)!important; +} +.ant-calendar-header .ant-calendar-prev-century-btn:hover::before, .ant-calendar-header .ant-calendar-prev-decade-btn:hover::before, .ant-calendar-header .ant-calendar-prev-year-btn:hover::before, .ant-calendar-header .ant-calendar-prev-century-btn:hover::after, .ant-calendar-header .ant-calendar-prev-decade-btn:hover::after, .ant-calendar-header .ant-calendar-prev-year-btn:hover::after { + border-color: rgba(0, 0, 0, 1)!important; +} +.ant-calendar-header .ant-calendar-prev-month-btn { + left: 35px!important; +} +.ant-calendar-header .ant-calendar-next-month-btn { + right: 35px!important; +} +.ant-calendar-header .ant-calendar-prev-month-btn::before, .ant-calendar-header .ant-calendar-prev-month-btn::after { + border-color: rgba(0, 0, 0, 0.85)!important; + border-width: 2px 0 0 2px!important; +} +.ant-calendar-header .ant-calendar-next-month-btn::before, .ant-calendar-header .ant-calendar-next-month-btn::after { + border-color: rgba(0, 0, 0, 0.85)!important; + border-width: 2px 0 0 2px!important; +} +.ant-calendar-header .ant-calendar-prev-month-btn:hover::before, .ant-calendar-header .ant-calendar-prev-month-btn:hover::after { + border-color: rgba(0, 0, 0, 1)!important; +} +.ant-calendar-header .ant-calendar-next-month-btn:hover::before, .ant-calendar-header .ant-calendar-next-month-btn:hover::after { + border-color: rgba(0, 0, 0, 1)!important; +} + // 閲嶇疆妯℃�佹婊氬姩鏉� .ant-modal-wrap::-webkit-scrollbar, .ant-drawer-wrapper-body::-webkit-scrollbar { width: 7px; @@ -322,6 +357,7 @@ } .ant-modal-body::-webkit-scrollbar { width: 7px; + height: 0; } .ant-modal-body::-webkit-scrollbar-thumb { border-radius: 5px; @@ -644,7 +680,9 @@ } .ant-calendar-selected-day .ant-calendar-date { - background: var(--mk-sys-color2); + background: var(--mk-sys-color1); + color: var(--mk-sys-color); + border-color: var(--mk-sys-color); } .ant-calendar-today-btn { color: var(--mk-sys-color); @@ -728,6 +766,49 @@ vertical-align: bottom; } } +.fixed-table-height { + tr, td, th { + overflow: hidden; + } + ::-webkit-scrollbar { + width: 17px; + height: 17px; + } + ::-webkit-scrollbar-thumb { + background: rgba(193, 193, 193, 0.7); + } + ::-webkit-scrollbar-track { + background: #fafafa; + } + .ant-table-body { + min-height: 1px; + border-bottom: 1px solid rgba(0, 0, 0, .05); + .ant-table-fixed { + border-bottom: 0; + } + } +} +@media screen and (max-width: 1400px) { + .fixed-table-height { + ::-webkit-scrollbar { + width: 16px; + } + } +} +@media screen and (min-width: 1600px) { + .fixed-table-height { + ::-webkit-scrollbar { + width: 18px; + } + } +} +@media screen and (min-width: 1900px) { + .fixed-table-height { + ::-webkit-scrollbar { + width: 21px; + } + } +} // 绯荤粺鑹茶缃� .mk-main-view { @@ -768,4 +849,18 @@ .ant-radio-button-wrapper:not(.ant-radio-button-wrapper-checked):not(.ant-radio-button-wrapper-disabled):hover { color: var(--mk-sys-color); } +} + +// 榧犳爣鎮诞澧炲姞涓嬪垝绾� +.mk-hover-underline:hover { + text-decoration: underline!important; +} +// 闅愯棌绌哄�兼椂鐨勫浘鏍� +body .mk-empty-hide .ant-empty, body .mk-empty-hide + .ant-empty { + min-height: 50px; + padding-top: 0px; + margin: 0px; + .ant-empty-image, .ant-empty-description { + display: none; + } } \ No newline at end of file -- Gitblit v1.8.0