mirror of
https://github.com/zadam/trilium.git
synced 2025-10-19 22:58:52 +02:00
style/canvas: tweak the UI
This commit is contained in:
parent
198308cd2a
commit
7b24f7f57d
@ -371,7 +371,8 @@ button kbd {
|
||||
}
|
||||
|
||||
body.desktop .dropdown-menu,
|
||||
body.desktop .tabulator-popup-container {
|
||||
body.desktop .tabulator-popup-container,
|
||||
:root .excalidraw .dropdown-menu .dropdown-menu-container {
|
||||
border: 1px solid var(--dropdown-border-color);
|
||||
column-rule: 1px solid var(--dropdown-border-color);
|
||||
box-shadow: 0px 10px 20px rgba(0, 0, 0, var(--dropdown-shadow-opacity));
|
||||
|
@ -4,6 +4,7 @@
|
||||
@import url(./pages.css);
|
||||
@import url(./ribbon.css);
|
||||
@import url(./notes/text.css);
|
||||
@import url(./notes/canvas.css);
|
||||
@import url(./notes/collections/table.css);
|
||||
|
||||
@font-face {
|
||||
|
48
apps/client/src/stylesheets/theme-next/notes/canvas.css
Normal file
48
apps/client/src/stylesheets/theme-next/notes/canvas.css
Normal file
@ -0,0 +1,48 @@
|
||||
:root .excalidraw {
|
||||
--ui-font: var(--main-font-family);
|
||||
|
||||
|
||||
/* Button hover background color */
|
||||
--button-hover-bg: var(--hover-item-background-color);
|
||||
--color-surface-high: var(--hover-item-background-color);
|
||||
|
||||
|
||||
--button-active-border: transparent;
|
||||
--color-brand-active: transparent;
|
||||
|
||||
--color-surface-mid: transparent;
|
||||
--color-surface-low: transparent;
|
||||
|
||||
/* Selected button icon fill color */
|
||||
--color-on-primary-container: var(--ck-editor-toolbar-button-on-color);
|
||||
--color-primary: var(--ck-editor-toolbar-button-on-color);
|
||||
|
||||
/* Selected button icon background color */
|
||||
--color-surface-primary-container: var(--ck-editor-toolbar-button-on-background);
|
||||
--color-primary-light: var(--ck-editor-toolbar-button-on-background);
|
||||
|
||||
--island-bg-color: var(--floating-button-background-color);
|
||||
|
||||
}
|
||||
|
||||
.excalidraw .Island,
|
||||
.excalidraw .zoom-actions,
|
||||
.undo-redo-buttons {
|
||||
box-shadow: 1px 1px 1px var(--floating-button-shadow-color);
|
||||
backdrop-filter: blur(10px) saturate(6);
|
||||
}
|
||||
|
||||
:root .excalidraw .main-menu-trigger,
|
||||
:root .excalidraw .sidebar-trigger,
|
||||
:root .excalidraw .help-icon {
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
/* Selected color outline */
|
||||
:root .excalidraw .color-picker__button.active .color-picker__button-outline {
|
||||
box-shadow: 0 0 0 2px var(--input-focus-outline-color)
|
||||
}
|
||||
|
||||
:root .excalidraw .buttonList label.active {
|
||||
border-color: transparent;
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user