2021-01-28 12:58:35 +01:00
|
|
|
@import "./variables.module";
|
2020-04-13 16:08:39 +02:00
|
|
|
@import "./theme";
|
2020-01-15 20:42:02 +05:00
|
|
|
|
2021-02-04 16:21:48 +01:00
|
|
|
:root {
|
|
|
|
--zIndex-canvas: 1;
|
|
|
|
--zIndex-wysiwyg: 2;
|
|
|
|
--zIndex-layerUI: 3;
|
|
|
|
}
|
|
|
|
|
2020-06-08 16:06:35 +05:30
|
|
|
.excalidraw {
|
2020-09-26 02:48:45 +05:30
|
|
|
color: var(--text-color-primary);
|
2020-01-04 19:14:12 +01:00
|
|
|
display: flex;
|
|
|
|
position: fixed;
|
|
|
|
top: 0;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
|
2020-09-26 02:48:45 +05:30
|
|
|
a {
|
|
|
|
font-weight: 500;
|
|
|
|
text-decoration: none;
|
2021-01-17 17:46:23 +01:00
|
|
|
color: var(--link-color);
|
2020-04-16 14:23:39 +02:00
|
|
|
|
2020-09-26 02:48:45 +05:30
|
|
|
&:hover {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
}
|
2020-02-20 18:44:38 -05:00
|
|
|
|
2020-09-26 02:48:45 +05:30
|
|
|
canvas {
|
|
|
|
touch-action: none;
|
|
|
|
user-select: none;
|
|
|
|
|
|
|
|
// following props improve blurriness at certain devicePixelRatios.
|
|
|
|
// AFAIK it doesn't affect export (in fact, export seems sharp either way).
|
2020-01-04 19:14:12 +01:00
|
|
|
|
2020-09-26 02:48:45 +05:30
|
|
|
image-rendering: pixelated; // chromium
|
|
|
|
// NOTE: must be declared *after* the above
|
|
|
|
image-rendering: -moz-crisp-edges; // FF
|
2021-02-04 16:21:48 +01:00
|
|
|
|
|
|
|
z-index: var(--zIndex-canvas);
|
2020-01-04 19:14:12 +01:00
|
|
|
}
|
|
|
|
|
2020-09-26 02:48:45 +05:30
|
|
|
&.Appearance_dark {
|
|
|
|
// The percentage is inspired by
|
|
|
|
// https://material.io/design/color/dark-theme.html#properties, which
|
|
|
|
// recommends surface color of #121212, 93% yields #111111 for #FFF
|
|
|
|
|
|
|
|
canvas {
|
|
|
|
filter: var(--appearance-filter);
|
|
|
|
}
|
2020-01-25 14:52:03 -03:00
|
|
|
}
|
|
|
|
|
2020-09-26 02:48:45 +05:30
|
|
|
.FixedSideContainer {
|
|
|
|
padding-top: var(--sat, 0px);
|
|
|
|
padding-right: var(--sar, 0px);
|
|
|
|
padding-bottom: var(--sab, 0px);
|
|
|
|
padding-left: var(--sal, 0px);
|
2020-01-09 01:06:36 +04:00
|
|
|
}
|
|
|
|
|
2020-09-26 02:48:45 +05:30
|
|
|
.panelRow {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
2020-01-25 14:52:03 -03:00
|
|
|
}
|
|
|
|
|
2020-09-26 02:48:45 +05:30
|
|
|
.panelColumn {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2020-01-04 19:14:12 +01:00
|
|
|
|
2020-09-26 02:48:45 +05:30
|
|
|
h3,
|
|
|
|
legend,
|
|
|
|
.control-label {
|
|
|
|
margin-top: 0.333rem;
|
|
|
|
margin-bottom: 0.333rem;
|
2020-01-20 19:59:00 -03:00
|
|
|
font-size: 0.75rem;
|
2020-09-26 02:48:45 +05:30
|
|
|
color: var(--text-color-primary);
|
|
|
|
font-weight: bold;
|
|
|
|
display: block;
|
2020-01-25 14:52:03 -03:00
|
|
|
}
|
|
|
|
|
2020-09-26 02:48:45 +05:30
|
|
|
.control-label input {
|
|
|
|
display: block;
|
|
|
|
width: 100%;
|
2020-01-05 01:08:27 +05:00
|
|
|
}
|
2020-04-02 00:13:53 +09:00
|
|
|
|
2020-09-26 02:48:45 +05:30
|
|
|
h3:first-child,
|
|
|
|
legend:first-child,
|
|
|
|
.control-label:first-child {
|
|
|
|
margin-top: 0;
|
2020-04-02 00:13:53 +09:00
|
|
|
}
|
|
|
|
|
2020-09-26 02:48:45 +05:30
|
|
|
legend {
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
2020-12-11 17:17:28 +00:00
|
|
|
.iconSelectList {
|
|
|
|
flex-wrap: wrap;
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
2020-09-26 02:48:45 +05:30
|
|
|
.buttonList {
|
|
|
|
flex-wrap: wrap;
|
|
|
|
|
|
|
|
label {
|
|
|
|
margin-right: 0.25rem;
|
|
|
|
font-size: 0.75rem;
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
2020-12-08 15:02:55 +00:00
|
|
|
input[type="radio"],
|
|
|
|
input[type="button"] {
|
2020-09-26 02:48:45 +05:30
|
|
|
opacity: 0;
|
|
|
|
position: absolute;
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
|
|
|
|
2020-11-23 18:16:23 +00:00
|
|
|
.iconRow {
|
|
|
|
margin-top: 8px;
|
|
|
|
}
|
|
|
|
|
2020-09-26 02:48:45 +05:30
|
|
|
.ToolIcon {
|
2020-11-25 18:21:33 -05:00
|
|
|
margin: 0;
|
|
|
|
margin-inline-end: 8px;
|
2020-11-23 18:16:23 +00:00
|
|
|
|
|
|
|
&:focus {
|
|
|
|
outline: transparent;
|
|
|
|
box-shadow: 0 0 0 2px var(--focus-highlight-color);
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background-color: var(--button-gray-2);
|
|
|
|
}
|
|
|
|
|
|
|
|
&:active {
|
|
|
|
background-color: var(--button-gray-3);
|
|
|
|
}
|
|
|
|
|
|
|
|
&:disabled {
|
|
|
|
cursor: not-allowed;
|
|
|
|
}
|
2020-09-26 02:48:45 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
.ToolIcon__icon {
|
|
|
|
width: 28px;
|
|
|
|
height: 28px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
fieldset {
|
|
|
|
margin: 0;
|
|
|
|
margin-top: 0.333rem;
|
|
|
|
padding: 0;
|
|
|
|
border: none;
|
2020-04-02 00:13:53 +09:00
|
|
|
}
|
2020-01-04 19:14:12 +01:00
|
|
|
}
|
2020-01-25 14:52:03 -03:00
|
|
|
|
2020-09-26 02:48:45 +05:30
|
|
|
.divider {
|
|
|
|
width: 1px;
|
|
|
|
background-color: $oc-gray-2;
|
|
|
|
margin: 1px;
|
2020-01-25 14:52:03 -03:00
|
|
|
}
|
2020-01-04 19:14:12 +01:00
|
|
|
|
2020-09-26 02:48:45 +05:30
|
|
|
.buttonList label:focus-within,
|
|
|
|
input:focus {
|
|
|
|
outline: transparent;
|
|
|
|
box-shadow: 0 0 0 2px var(--focus-highlight-color);
|
|
|
|
}
|
2020-01-05 20:37:24 -03:00
|
|
|
|
2020-09-26 02:48:45 +05:30
|
|
|
button,
|
|
|
|
.buttonList label {
|
|
|
|
user-select: none;
|
|
|
|
background-color: var(--button-gray-1);
|
|
|
|
border: 0;
|
|
|
|
border-radius: 4px;
|
|
|
|
margin: 0.125rem 0;
|
|
|
|
padding: 0.25rem;
|
|
|
|
white-space: nowrap;
|
2020-01-04 19:14:12 +01:00
|
|
|
|
2020-09-26 02:48:45 +05:30
|
|
|
cursor: pointer;
|
2020-01-05 01:08:27 +05:00
|
|
|
|
2020-09-26 02:48:45 +05:30
|
|
|
&:focus {
|
|
|
|
outline: transparent;
|
|
|
|
box-shadow: 0 0 0 2px var(--focus-highlight-color);
|
|
|
|
}
|
2020-01-21 15:50:25 +01:00
|
|
|
|
2020-09-26 02:48:45 +05:30
|
|
|
&:hover {
|
|
|
|
background-color: var(--button-gray-2);
|
|
|
|
}
|
|
|
|
|
|
|
|
&:active {
|
|
|
|
background-color: var(--button-gray-3);
|
|
|
|
}
|
|
|
|
|
|
|
|
&:disabled {
|
|
|
|
cursor: not-allowed;
|
|
|
|
}
|
2020-01-05 01:08:27 +05:00
|
|
|
}
|
2020-01-04 19:14:12 +01:00
|
|
|
|
2020-09-26 02:48:45 +05:30
|
|
|
.active,
|
|
|
|
.buttonList label.active {
|
2020-08-13 04:35:31 -07:00
|
|
|
background-color: var(--button-gray-2);
|
2020-01-04 19:14:12 +01:00
|
|
|
|
2020-09-26 02:48:45 +05:30
|
|
|
&:hover {
|
|
|
|
background-color: var(--button-gray-2);
|
|
|
|
}
|
2020-01-04 19:14:12 +01:00
|
|
|
|
2020-09-26 02:48:45 +05:30
|
|
|
&:active {
|
|
|
|
background-color: var(--button-gray-3);
|
|
|
|
}
|
2020-01-04 19:14:12 +01:00
|
|
|
}
|
2020-01-05 13:05:55 -08:00
|
|
|
|
2020-11-01 20:08:48 +01:00
|
|
|
.buttonList.buttonListIcon {
|
|
|
|
label {
|
|
|
|
display: inline-flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
svg {
|
|
|
|
width: 36px;
|
|
|
|
height: 18px;
|
|
|
|
opacity: 0.6;
|
|
|
|
}
|
|
|
|
&.active svg {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-02-04 16:21:48 +01:00
|
|
|
.App-top-bar {
|
|
|
|
z-index: var(--zIndex-layerUI);
|
2021-02-04 16:52:16 +01:00
|
|
|
display: flex;
|
2021-02-05 16:09:40 +01:00
|
|
|
flex-direction: column;
|
|
|
|
align-items: center;
|
2021-02-04 16:21:48 +01:00
|
|
|
}
|
|
|
|
|
2020-09-26 02:48:45 +05:30
|
|
|
.App-bottom-bar {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
--bar-padding: calc(4 * var(--space-factor));
|
|
|
|
padding-top: #{"max(var(--bar-padding), var(--sat, 0px))"};
|
|
|
|
padding-right: var(--sar, 0px);
|
|
|
|
padding-bottom: var(--sab, 0px);
|
|
|
|
padding-left: var(--sal, 0px);
|
|
|
|
z-index: 4;
|
|
|
|
display: flex;
|
|
|
|
align-items: flex-end;
|
|
|
|
pointer-events: none;
|
|
|
|
|
|
|
|
> .Island {
|
|
|
|
width: 100%;
|
|
|
|
max-width: 100%;
|
|
|
|
min-width: 100%;
|
|
|
|
box-sizing: border-box;
|
|
|
|
max-height: 100%;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
pointer-events: initial;
|
2020-12-11 17:17:28 +00:00
|
|
|
|
|
|
|
.panelColumn {
|
|
|
|
padding: 8px 8px 0px 8px;
|
|
|
|
}
|
2020-09-26 02:48:45 +05:30
|
|
|
}
|
2020-01-15 19:57:58 +01:00
|
|
|
}
|
2020-09-26 02:48:45 +05:30
|
|
|
|
|
|
|
.App-toolbar {
|
|
|
|
width: 100%;
|
|
|
|
|
|
|
|
box-sizing: border-box;
|
2020-02-09 17:09:21 +01:00
|
|
|
}
|
2020-01-15 19:57:58 +01:00
|
|
|
|
2020-09-26 02:48:45 +05:30
|
|
|
.App-toolbar-content {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: space-between;
|
2020-12-11 17:17:28 +00:00
|
|
|
padding: 8px;
|
2020-09-26 02:48:45 +05:30
|
|
|
}
|
2020-03-18 11:31:40 -04:00
|
|
|
|
2020-09-26 02:48:45 +05:30
|
|
|
.App-mobile-menu {
|
2020-03-18 11:31:40 -04:00
|
|
|
width: 100%;
|
2020-09-26 02:48:45 +05:30
|
|
|
overflow-x: visible;
|
|
|
|
overflow-y: auto;
|
2020-03-18 11:31:40 -04:00
|
|
|
box-sizing: border-box;
|
2020-09-26 02:48:45 +05:30
|
|
|
margin-bottom: var(--bar-padding);
|
2020-03-18 11:31:40 -04:00
|
|
|
}
|
|
|
|
|
2020-09-26 02:48:45 +05:30
|
|
|
.App-menu {
|
|
|
|
display: grid;
|
|
|
|
color: var(--icon-fill-color);
|
|
|
|
}
|
2020-03-18 11:31:40 -04:00
|
|
|
|
2020-09-26 02:48:45 +05:30
|
|
|
.App-menu_top {
|
|
|
|
grid-template-columns: 1fr auto 1fr;
|
|
|
|
grid-gap: 4px;
|
|
|
|
align-items: flex-start;
|
|
|
|
cursor: default;
|
|
|
|
pointer-events: none !important;
|
|
|
|
}
|
2020-02-20 18:44:38 -05:00
|
|
|
|
2021-02-01 13:55:38 +01:00
|
|
|
.layer-ui__wrapper:not(.disable-pointerEvents) .App-menu_top > * {
|
2020-09-26 02:48:45 +05:30
|
|
|
pointer-events: all;
|
|
|
|
}
|
2020-01-15 20:42:02 +05:00
|
|
|
|
2020-09-26 02:48:45 +05:30
|
|
|
.App-menu_top > *:first-child {
|
|
|
|
justify-self: flex-start;
|
|
|
|
}
|
2020-01-05 13:05:55 -08:00
|
|
|
|
2020-09-26 02:48:45 +05:30
|
|
|
.App-menu_top > *:last-child {
|
|
|
|
justify-self: flex-end;
|
|
|
|
}
|
2020-01-05 13:05:55 -08:00
|
|
|
|
2020-09-26 02:48:45 +05:30
|
|
|
.App-menu_bottom {
|
|
|
|
position: absolute;
|
|
|
|
bottom: 0;
|
|
|
|
grid-template-columns: 1fr auto 1fr;
|
|
|
|
grid-gap: 4px;
|
|
|
|
align-items: flex-start;
|
|
|
|
cursor: default;
|
|
|
|
pointer-events: none !important;
|
|
|
|
z-index: 100;
|
2020-01-05 13:05:55 -08:00
|
|
|
|
2020-09-26 02:48:45 +05:30
|
|
|
:root[dir="ltr"] & {
|
|
|
|
left: 0.25rem;
|
|
|
|
}
|
2020-01-15 20:42:02 +05:00
|
|
|
|
2020-09-26 02:48:45 +05:30
|
|
|
:root[dir="rtl"] & {
|
|
|
|
right: 0.25rem;
|
|
|
|
}
|
2020-04-18 02:09:15 +05:30
|
|
|
|
2020-09-26 02:48:45 +05:30
|
|
|
&--transition-left {
|
|
|
|
section {
|
|
|
|
width: 185px;
|
|
|
|
}
|
|
|
|
}
|
2020-08-14 20:08:27 +02:00
|
|
|
|
2020-05-09 18:17:22 +05:30
|
|
|
section {
|
2020-09-26 02:48:45 +05:30
|
|
|
display: flex;
|
2020-05-09 18:17:22 +05:30
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-02-01 13:55:38 +01:00
|
|
|
.layer-ui__wrapper:not(.disable-pointerEvents) .App-menu_bottom > * {
|
2020-09-26 02:48:45 +05:30
|
|
|
pointer-events: all;
|
2020-04-18 02:09:15 +05:30
|
|
|
}
|
2020-02-15 21:03:32 +01:00
|
|
|
|
2020-09-26 02:48:45 +05:30
|
|
|
.App-menu_bottom > *:first-child {
|
|
|
|
justify-self: flex-start;
|
|
|
|
}
|
2020-02-15 21:03:32 +01:00
|
|
|
|
2020-09-26 02:48:45 +05:30
|
|
|
.App-menu_bottom > *:last-child {
|
|
|
|
justify-self: flex-end;
|
|
|
|
}
|
2020-01-15 20:42:02 +05:00
|
|
|
|
2020-09-26 02:48:45 +05:30
|
|
|
.App-menu_left {
|
|
|
|
grid-template-rows: 1fr auto 1fr;
|
|
|
|
height: 100%;
|
|
|
|
}
|
2020-01-05 22:26:00 +00:00
|
|
|
|
2020-09-26 02:48:45 +05:30
|
|
|
.App-menu_right {
|
|
|
|
grid-template-rows: 1fr;
|
|
|
|
height: 100%;
|
|
|
|
}
|
2020-04-04 02:58:50 +09:00
|
|
|
|
2020-09-26 02:48:45 +05:30
|
|
|
.App-menu__left {
|
|
|
|
overflow-y: auto;
|
|
|
|
max-height: calc(100vh - 236px);
|
|
|
|
}
|
2020-01-21 15:50:25 +01:00
|
|
|
|
2020-09-26 02:48:45 +05:30
|
|
|
.dropdown-select {
|
|
|
|
height: 1.5rem;
|
|
|
|
padding: 0;
|
|
|
|
padding-inline-start: 0.5rem;
|
|
|
|
padding-inline-end: 1.5rem;
|
|
|
|
color: var(--icon-fill-color);
|
|
|
|
background-color: var(--button-gray-1);
|
|
|
|
border-radius: var(--space-factor);
|
|
|
|
border: 1px solid var(--button-gray-2);
|
|
|
|
font-size: 0.8rem;
|
|
|
|
outline: none;
|
|
|
|
appearance: none;
|
|
|
|
background-image: var(--dropdown-icon);
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-position: right 0.7rem top 50%, 0 0;
|
|
|
|
|
|
|
|
:root[dir="rtl"] & {
|
|
|
|
background-position: left 0.7rem top 50%, 0 0;
|
|
|
|
}
|
2020-01-24 19:10:44 +01:00
|
|
|
|
2020-09-26 02:48:45 +05:30
|
|
|
background-size: 0.65em auto, 100%;
|
2020-01-24 19:10:44 +01:00
|
|
|
|
2020-09-26 02:48:45 +05:30
|
|
|
&:focus {
|
|
|
|
box-shadow: 0 0 0 2px var(--focus-highlight-color);
|
|
|
|
}
|
2020-01-25 14:52:03 -03:00
|
|
|
|
2020-09-26 02:48:45 +05:30
|
|
|
&:hover {
|
|
|
|
background-color: var(--button-gray-2);
|
|
|
|
}
|
2020-01-30 16:39:37 -03:00
|
|
|
|
2020-09-26 02:48:45 +05:30
|
|
|
&:active {
|
|
|
|
background-color: var(--button-gray-2);
|
|
|
|
}
|
2020-02-09 17:09:21 +01:00
|
|
|
|
2020-09-26 02:48:45 +05:30
|
|
|
&.dropdown-select--floating {
|
|
|
|
position: absolute;
|
|
|
|
margin: 0.5em;
|
|
|
|
}
|
2020-02-09 17:09:21 +01:00
|
|
|
}
|
2020-02-09 09:07:34 -05:00
|
|
|
|
2020-09-26 02:48:45 +05:30
|
|
|
.dropdown-select__language.dropdown-select--floating {
|
|
|
|
position: absolute;
|
|
|
|
bottom: 10px;
|
2020-02-20 18:44:38 -05:00
|
|
|
|
2020-09-26 02:48:45 +05:30
|
|
|
:root[dir="ltr"] & {
|
|
|
|
right: 44px;
|
|
|
|
}
|
|
|
|
|
|
|
|
:root[dir="rtl"] & {
|
|
|
|
left: 44px;
|
|
|
|
}
|
2020-04-07 16:12:10 +05:30
|
|
|
}
|
|
|
|
|
2020-09-26 02:48:45 +05:30
|
|
|
.zIndexButton {
|
2020-11-25 18:21:33 -05:00
|
|
|
margin: 0;
|
|
|
|
margin-inline-end: 8px;
|
2020-09-26 02:48:45 +05:30
|
|
|
padding: 5px;
|
|
|
|
display: inline-flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
|
|
|
|
svg {
|
|
|
|
width: 18px;
|
|
|
|
height: 18px;
|
|
|
|
}
|
2020-02-20 18:44:38 -05:00
|
|
|
}
|
2020-09-26 02:48:45 +05:30
|
|
|
|
2020-02-20 18:44:38 -05:00
|
|
|
.scroll-back-to-content {
|
2020-09-26 02:48:45 +05:30
|
|
|
color: var(--popup-text-color);
|
|
|
|
position: fixed;
|
|
|
|
left: 50%;
|
|
|
|
bottom: 30px;
|
|
|
|
transform: translateX(-50%);
|
|
|
|
padding: 10px 20px;
|
2020-02-20 18:44:38 -05:00
|
|
|
}
|
2020-04-02 12:21:19 -04:00
|
|
|
|
2020-09-26 02:48:45 +05:30
|
|
|
.help-icon {
|
|
|
|
position: absolute;
|
|
|
|
cursor: pointer;
|
|
|
|
fill: $oc-gray-6;
|
|
|
|
bottom: 14px;
|
2021-01-17 17:46:23 +01:00
|
|
|
width: 1.5rem;
|
2020-09-26 02:48:45 +05:30
|
|
|
|
|
|
|
:root[dir="ltr"] & {
|
|
|
|
right: 14px;
|
|
|
|
}
|
|
|
|
|
|
|
|
:root[dir="rtl"] & {
|
|
|
|
left: 14px;
|
|
|
|
}
|
2020-04-02 12:21:19 -04:00
|
|
|
}
|
|
|
|
|
2020-12-27 16:27:25 -05:00
|
|
|
@media #{$is-mobile-query} {
|
2020-09-26 02:48:45 +05:30
|
|
|
aside {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
.scroll-back-to-content {
|
|
|
|
bottom: calc(80px + var(--sab, 0px));
|
|
|
|
z-index: -1;
|
|
|
|
}
|
2020-04-02 12:21:19 -04:00
|
|
|
}
|
2020-09-26 02:48:45 +05:30
|
|
|
|
|
|
|
.rtl-mirror {
|
|
|
|
:root[dir="rtl"] & {
|
|
|
|
transform: scaleX(-1);
|
|
|
|
}
|
2020-04-02 12:21:19 -04:00
|
|
|
}
|
2020-05-09 18:17:22 +05:30
|
|
|
|
2020-09-26 02:48:45 +05:30
|
|
|
.github-corner {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
z-index: 2;
|
|
|
|
|
|
|
|
:root[dir="ltr"] & {
|
|
|
|
right: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
:root[dir="rtl"] & {
|
|
|
|
left: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.zen-mode-visibility {
|
|
|
|
visibility: visible;
|
|
|
|
opacity: 1;
|
|
|
|
height: auto;
|
|
|
|
width: auto;
|
2020-05-09 18:17:22 +05:30
|
|
|
transition: opacity 0.5s;
|
2020-09-26 02:48:45 +05:30
|
|
|
|
|
|
|
&.zen-mode-visibility--hidden {
|
|
|
|
visibility: hidden;
|
|
|
|
opacity: 0;
|
|
|
|
height: 0;
|
|
|
|
width: 0;
|
|
|
|
transition: opacity 0.5s;
|
|
|
|
}
|
2020-05-09 18:17:22 +05:30
|
|
|
}
|
|
|
|
|
2020-09-26 02:48:45 +05:30
|
|
|
.disable-pointerEvents {
|
|
|
|
pointer-events: none !important;
|
|
|
|
}
|
2020-05-30 21:51:28 +01:00
|
|
|
|
2021-02-02 02:26:42 +05:30
|
|
|
&.excalidraw--view-mode {
|
|
|
|
.App-menu {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-09-26 02:48:45 +05:30
|
|
|
@media print {
|
|
|
|
.App-bottom-bar,
|
|
|
|
.FixedSideContainer,
|
|
|
|
.layer-ui__wrapper {
|
|
|
|
display: none;
|
|
|
|
}
|
2020-05-30 21:51:28 +01:00
|
|
|
}
|
|
|
|
}
|
2020-10-28 20:52:53 +01:00
|
|
|
|
|
|
|
.ErrorSplash.excalidraw {
|
|
|
|
min-height: 100vh;
|
|
|
|
padding: 20px 0;
|
|
|
|
overflow: auto;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
user-select: text;
|
|
|
|
|
|
|
|
.ErrorSplash-messageContainer {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
|
|
|
|
padding: 40px;
|
|
|
|
background-color: $oc-red-1;
|
|
|
|
border: 3px solid $oc-red-9;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ErrorSplash-paragraph {
|
|
|
|
margin: 15px 0;
|
|
|
|
max-width: 600px;
|
|
|
|
|
|
|
|
&.align-center {
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.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;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|