mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-04 15:58:49 +01:00
This commit is contained in:
parent
fb3a6c3059
commit
c96b721ac9
4 changed files with 23 additions and 14 deletions
|
|
@ -1,9 +1,9 @@
|
|||
:root {
|
||||
/* 主色 */
|
||||
--b3-theme-primary: #3573f0;
|
||||
--b3-theme-primary-light: rgba(53, 115, 240, 0.54);
|
||||
--b3-theme-primary-lighter: rgba(53, 115, 240, 0.38);
|
||||
--b3-theme-primary-lightest: rgba(53, 115, 240, 0.12);
|
||||
--b3-theme-primary: #3575f0;
|
||||
--b3-theme-primary-light: rgba(53, 117, 240, 0.54);
|
||||
--b3-theme-primary-lighter: rgba(53, 117, 240, 0.38);
|
||||
--b3-theme-primary-lightest: rgba(53, 117, 240, 0.12);
|
||||
--b3-theme-secondary: #f3a92f;
|
||||
--b3-theme-background: #fff;
|
||||
--b3-theme-background-light: #dfe0e1;
|
||||
|
|
@ -28,9 +28,10 @@
|
|||
--b3-font-family-math: KaTeX_Math;
|
||||
|
||||
/* 顶部工具栏 */
|
||||
--b3-toolbar-background: #292a2d;
|
||||
--b3-toolbar-blur-background: #3f4041;
|
||||
--b3-toolbar-background: #2b2d30;
|
||||
--b3-toolbar-blur-background: #373a41;
|
||||
--b3-toolbar-color: #9aa0a6;
|
||||
--b3-toolbar-hover: #383a42;
|
||||
|
||||
/* 线条 */
|
||||
--b3-border-color: rgba(0, 0, 0, .1);
|
||||
|
|
|
|||
|
|
@ -5,9 +5,9 @@
|
|||
--b3-theme-primary-lighter: rgba(53, 115, 240, 0.48);
|
||||
--b3-theme-primary-lightest: rgba(53, 115, 240, 0.24);
|
||||
--b3-theme-secondary: #f3a92f;
|
||||
--b3-theme-background: #212224;
|
||||
--b3-theme-background: #1e1f22;
|
||||
--b3-theme-background-light: #353637;
|
||||
--b3-theme-surface: #292a2d;
|
||||
--b3-theme-surface: #2b2d30;
|
||||
--b3-theme-surface-light: rgba(41, 42, 45, .86);
|
||||
--b3-theme-surface-lighter: rgba(230, 230, 230, .06);
|
||||
--b3-theme-error: #d23f31;
|
||||
|
|
@ -28,9 +28,10 @@
|
|||
--b3-font-family-math: KaTeX_Math;
|
||||
|
||||
/* 顶部工具栏 */
|
||||
--b3-toolbar-background: #292a2d;
|
||||
--b3-toolbar-blur-background: #3f4041;
|
||||
--b3-toolbar-color: #9aa0a6;
|
||||
--b3-toolbar-background: #2b2d30;
|
||||
--b3-toolbar-blur-background: #373a41;
|
||||
--b3-toolbar-color: #ced0d6;
|
||||
--b3-toolbar-hover: #383a42;
|
||||
|
||||
/* 线条 */
|
||||
--b3-border-color: #0e0f10;
|
||||
|
|
|
|||
|
|
@ -115,7 +115,8 @@
|
|||
align-items: center;
|
||||
overflow: auto;
|
||||
position: relative;
|
||||
background-color: var(--b3-theme-surface);
|
||||
background-color: var(--b3-theme-background);
|
||||
border-bottom: 1px solid var(--b3-theme-background-light);
|
||||
|
||||
&::-webkit-scrollbar {
|
||||
display: none;
|
||||
|
|
|
|||
|
|
@ -234,8 +234,7 @@ progressLoading: 400
|
|||
|
||||
&:not(.toolbar__item--disabled):not(.toolbar__item--close):hover,
|
||||
&--active {
|
||||
color: var(--b3-theme-on-background);
|
||||
background-color: var(--b3-theme-background-light);
|
||||
background-color: var(--b3-toolbar-hover);
|
||||
}
|
||||
|
||||
svg {
|
||||
|
|
@ -247,6 +246,7 @@ progressLoading: 400
|
|||
width: 8px;
|
||||
height: 13.5px;
|
||||
margin-left: 4px;
|
||||
opacity: .54;
|
||||
}
|
||||
|
||||
&--disabled {
|
||||
|
|
@ -275,6 +275,7 @@ progressLoading: 400
|
|||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
user-select: none;
|
||||
color: #ebecf0;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -289,6 +290,11 @@ progressLoading: 400
|
|||
|
||||
.toolbar__item {
|
||||
color: var(--b3-theme-on-surface);
|
||||
|
||||
&:hover {
|
||||
color: var(--b3-theme-on-background);
|
||||
background-color: var(--b3-theme-background-light) !important;
|
||||
}
|
||||
}
|
||||
|
||||
&__msg {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue