refactor: update SCSS syntax & remove open-color dep (#10633)
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
@import "open-color/open-color";
|
||||
@import "../../css/variables.module.scss";
|
||||
@use "../../css/variables.module" as *;
|
||||
|
||||
.excalidraw {
|
||||
.sidebar {
|
||||
@@ -19,6 +18,12 @@
|
||||
|
||||
pointer-events: var(--ui-pointerEvents);
|
||||
|
||||
overflow: hidden;
|
||||
border-radius: 0;
|
||||
width: calc(var(--right-sidebar-width) - var(--space-factor) * 2);
|
||||
|
||||
border-left: 1px solid var(--sidebar-border-color);
|
||||
|
||||
:root[dir="rtl"] & {
|
||||
left: 0;
|
||||
right: auto;
|
||||
@@ -28,12 +33,6 @@
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
overflow: hidden;
|
||||
border-radius: 0;
|
||||
width: calc(var(--right-sidebar-width) - var(--space-factor) * 2);
|
||||
|
||||
border-left: 1px solid var(--sidebar-border-color);
|
||||
|
||||
:root[dir="rtl"] & {
|
||||
border-right: 1px solid var(--sidebar-border-color);
|
||||
border-left: 0;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
@import "../../css/variables.module.scss";
|
||||
@use "../../css/variables.module" as *;
|
||||
|
||||
.excalidraw {
|
||||
.sidebar-trigger {
|
||||
|
||||
Reference in New Issue
Block a user