From eeaffede2e5e3976e9f8a45b79cefa021281832c Mon Sep 17 00:00:00 2001 From: 闫增涛 <1829501689@qq.com> Date: 星期二, 25 六月 2024 10:28:44 +0800 Subject: [PATCH] 涂色题组件 --- src/books/mathBook/assets/main.less | 26 +++++++++++++++++++++++++- 1 files changed, 25 insertions(+), 1 deletions(-) diff --git a/src/books/mathBook/assets/main.less b/src/books/mathBook/assets/main.less index 6fcd983..4fc2485 100644 --- a/src/books/mathBook/assets/main.less +++ b/src/books/mathBook/assets/main.less @@ -757,7 +757,8 @@ align-items: center; border:1px solid #00a1e9; height: 22px; - padding: 2px; + width: 17px; + padding: 2px 4px; background-color:#00a1e9 ; border-radius: 5px; svg { @@ -840,3 +841,26 @@ } } } + + +::-webkit-scrollbar { + width: 8px; + height: 10px; +} + +::-webkit-scrollbar-track-piece { + background-color: rgba(0, 0, 0, 0.1); + -webkit-border-radius: 6px; +} + +::-webkit-scrollbar-thumb:vertical { + height: 5px; + background-color: rgba(125, 125, 125, 0.3); + -webkit-border-radius: 6px; +} + +::-webkit-scrollbar-thumb:horizontal { + width: 5px; + background-color: rgba(125, 125, 125, 0.3); + -webkit-border-radius: 6px; +} \ No newline at end of file -- Gitblit v1.9.1