mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-04-14 16:40:58 -04:00
* Active styles bg color * fix whitespace Co-authored-by: David Luzar <luzar.david@gmail.com>
129 lines
1.8 KiB
SCSS
129 lines
1.8 KiB
SCSS
@import "./theme.css";
|
|
|
|
/* http://www.eaglefonts.com/fg-virgil-ttf-131249.htm */
|
|
@font-face {
|
|
font-family: "Virgil";
|
|
src: url("https://uploads.codesandbox.io/uploads/user/ed077012-e728-4a42-8395-cbd299149d62/AflB-FG_Virgil.ttf");
|
|
font-display: swap;
|
|
}
|
|
|
|
body {
|
|
margin: 0;
|
|
font-family: Arial, Helvetica, sans-serif;
|
|
color: var(--text-color-primary);
|
|
}
|
|
|
|
.container {
|
|
display: flex;
|
|
position: fixed;
|
|
top: 0;
|
|
bottom: 0;
|
|
left: 0;
|
|
right: 0;
|
|
}
|
|
|
|
.panelColumn {
|
|
display: flex;
|
|
flex-direction: column;
|
|
|
|
h5 {
|
|
margin-top: 4px;
|
|
margin-bottom: 4px;
|
|
font-size: 12px;
|
|
color: #333;
|
|
}
|
|
|
|
h5:first-child {
|
|
margin-top: 0;
|
|
}
|
|
|
|
.buttonList {
|
|
flex-wrap: wrap;
|
|
|
|
button {
|
|
margin-right: 4px;
|
|
}
|
|
}
|
|
}
|
|
|
|
.divider {
|
|
width: 1px;
|
|
background-color: #ddd;
|
|
margin: 1px;
|
|
}
|
|
|
|
input:focus {
|
|
outline: transparent;
|
|
box-shadow: 0 0 0 2px steelblue;
|
|
}
|
|
|
|
button {
|
|
background-color: #ddd;
|
|
border: 1px solid #ccc;
|
|
border-radius: 4px;
|
|
margin: 2px 0;
|
|
padding: 5px;
|
|
outline: transparent;
|
|
|
|
&:focus {
|
|
box-shadow: 0 0 0 2px steelblue;
|
|
}
|
|
|
|
&:hover {
|
|
background-color: #e7e5e5;
|
|
border-color: #d6d4d4;
|
|
}
|
|
|
|
&:active {
|
|
background-color: #bdbebc;
|
|
border-color: #bdbebc;
|
|
}
|
|
|
|
&:disabled {
|
|
cursor: not-allowed;
|
|
}
|
|
}
|
|
|
|
.active {
|
|
background-color: #bdbebc;
|
|
&:hover {
|
|
background-color: #bdbebc;
|
|
}
|
|
}
|
|
|
|
.App-menu {
|
|
display: grid;
|
|
}
|
|
|
|
.App-menu_top {
|
|
grid-template-columns: 1fr auto 1fr;
|
|
align-items: flex-start;
|
|
cursor: default;
|
|
pointer-events: none !important;
|
|
}
|
|
|
|
.App-menu_top > * {
|
|
pointer-events: all;
|
|
}
|
|
|
|
.App-menu_top > *:first-child {
|
|
justify-self: flex-start;
|
|
}
|
|
|
|
.App-menu_top > *:last-child {
|
|
justify-self: flex-end;
|
|
}
|
|
|
|
.App-menu_left {
|
|
grid-template-rows: 1fr auto 1fr;
|
|
height: 100%;
|
|
}
|
|
|
|
.App-menu_right {
|
|
grid-template-rows: 1fr;
|
|
height: 100%;
|
|
}
|
|
|
|
.App-right-menu {
|
|
width: 220px;
|
|
}
|