mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-04-14 16:40:58 -04:00
* add translations in data.ts * add language list add spanish version * fixes pr review * add more translations * remove unused label Co-authored-by: David Luzar <luzar.david@gmail.com>
212 lines
3.3 KiB
SCSS
212 lines
3.3 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/_oPE-FG_Virgil.ttf");
|
|
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;
|
|
}
|
|
|
|
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: 0.333rem;
|
|
margin-bottom: 0.333em;
|
|
font-size: 0.75rem;
|
|
color: var(--text-color-primary);
|
|
}
|
|
|
|
h5:first-child {
|
|
margin-top: 0;
|
|
}
|
|
|
|
.buttonList {
|
|
flex-wrap: wrap;
|
|
|
|
button {
|
|
margin-right: 0.25rem;
|
|
font-size: 0.75rem;
|
|
}
|
|
}
|
|
}
|
|
|
|
.divider {
|
|
width: 1px;
|
|
background-color: #e9ecef;
|
|
margin: 1px;
|
|
}
|
|
|
|
input:focus {
|
|
outline: transparent;
|
|
box-shadow: 0 0 0 2px #a5d8ff;
|
|
}
|
|
|
|
button {
|
|
background-color: #e9ecef;
|
|
border: 0;
|
|
border-radius: 4px;
|
|
margin: 0.125rem 0;
|
|
padding: 0.25rem;
|
|
outline: transparent;
|
|
|
|
cursor: pointer;
|
|
|
|
&:focus {
|
|
box-shadow: 0 0 0 2px #a5d8ff;
|
|
}
|
|
|
|
&:hover {
|
|
background-color: #ced4da;
|
|
}
|
|
|
|
&:active {
|
|
background-color: #ced4da;
|
|
}
|
|
|
|
&: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 {
|
|
width: 13.75rem;
|
|
}
|
|
|
|
.ErrorSplash {
|
|
min-height: 100vh;
|
|
padding: 20px 0;
|
|
overflow: auto;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
|
|
.ErrorSplash-messageContainer {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
|
|
padding: 40px;
|
|
background-color: #fff5f5;
|
|
border: 3px solid #c92a2a;
|
|
}
|
|
|
|
.ErrorSplash-paragraph {
|
|
margin: 15px 0;
|
|
text-align: center;
|
|
max-width: 600px;
|
|
}
|
|
|
|
.bigger,
|
|
.bigger button {
|
|
font-size: 1.1em;
|
|
}
|
|
.smaller,
|
|
.smaller button {
|
|
font-size: 0.9em;
|
|
}
|
|
|
|
.ErrorSplash-details {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
|
|
textarea {
|
|
width: 100%;
|
|
margin: 10px 0;
|
|
font-family: "Cascadia";
|
|
font-size: 0.8em;
|
|
}
|
|
}
|
|
}
|
|
|
|
.langBox {
|
|
position: absolute;
|
|
right: 0;
|
|
bottom: 0;
|
|
margin-right: 0.5em;
|
|
ul {
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
ul > li {
|
|
list-style: none;
|
|
display: inline-block;
|
|
padding: 4px;
|
|
}
|
|
li > a,
|
|
li > a:visited {
|
|
text-decoration: none;
|
|
color: gray;
|
|
font-size: 0.8em;
|
|
}
|
|
li.current > a,
|
|
li.current > a:visited {
|
|
color: black;
|
|
text-decoration: underline;
|
|
}
|
|
}
|