excalidraw/src/styles.scss
JavaScript Joe e5e0e37f23 feat: update font file and add meta tags (#400)
* fix: add new, smaller FG_Virgil file

* fix: update with new codesandbox font file link

* feat: add og-image and meta tags

* feat: add pr template

* fix: update pr template

* fix: remove pr template

* refactor: remove twitter meta in favor of og:image

* fix: add og:image:width

* refactor: update image

* refactor: use image in readme
2020-01-16 21:32:40 +01:00

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/f7fdc300-3c43-44c1-9a59-4338a82a9954/xhjR-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 #4682b4;
}
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 #4682b4;
}
&: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;
}