excalidraw/src/styles.scss

136 lines
2.1 KiB
SCSS
Raw Normal View History

@import "./theme.css";
2020-01-04 19:14:12 +01:00
/* http://www.eaglefonts.com/fg-virgil-ttf-131249.htm */
@font-face {
font-family: "Virgil";
src: url("https://uploads.codesandbox.io/uploads/user/f7fdc300-3c43-44c1-9a59-4338a82a9954/_oPE-FG_Virgil.ttf");
2020-01-04 19:14:12 +01:00
font-display: swap;
}
/* https://github.com/microsoft/cascadia-code */
@font-face {
font-family: "Cascadia";
src: url("https://uploads.codesandbox.io/uploads/user/5f5b1ecd-ac15-4c7f-803e-e11ff53ea4ce/z1tp-Cascadia.ttf");
font-display: swap;
}
2020-01-04 19:14:12 +01:00
body {
margin: 0;
font-family: Arial, Helvetica, sans-serif;
color: var(--text-color-primary);
2020-01-04 19:14:12 +01:00
}
.container {
display: flex;
position: fixed;
top: 0;
bottom: 0;
left: 0;
right: 0;
}
.panelColumn {
display: flex;
flex-direction: column;
2020-01-04 19:14:12 +01:00
h5 {
2020-01-20 19:59:00 -03:00
margin-top: 0.333rem;
margin-bottom: 0.333em;
font-size: 0.75rem;
color: var(--text-color-primary);
2020-01-04 19:14:12 +01:00
}
h5:first-child {
margin-top: 0;
}
.buttonList {
flex-wrap: wrap;
2020-01-04 19:14:12 +01:00
button {
2020-01-20 19:59:00 -03:00
margin-right: 0.25rem;
font-size: 0.75rem;
}
2020-01-04 19:14:12 +01:00
}
}
.divider {
width: 1px;
background-color: #e9ecef;
margin: 1px;
}
input:focus {
outline: transparent;
box-shadow: 0 0 0 2px #a5d8ff;
2020-01-04 19:14:12 +01:00
}
button {
background-color: #e9ecef;
border: 0;
2020-01-04 19:14:12 +01:00
border-radius: 4px;
2020-01-20 19:59:00 -03:00
margin: 0.125rem 0;
padding: 0.25rem;
outline: transparent;
&:focus {
box-shadow: 0 0 0 2px #a5d8ff;
}
2020-01-04 19:14:12 +01:00
&:hover {
background-color: #ced4da;
2020-01-04 19:14:12 +01:00
}
&:active {
background-color: #ced4da;
2020-01-04 19:14:12 +01:00
}
&:disabled {
cursor: not-allowed;
}
}
.active {
background-color: #ced4da;
&:hover {
background-color: #ced4da;
}
}
.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 {
2020-01-20 19:59:00 -03:00
width: 13.75rem;
}