2020-04-18 02:09:15 +05:30
|
|
|
@import "open-color/open-color";
|
|
|
|
|
2020-09-26 02:48:45 +05:30
|
|
|
.excalidraw {
|
|
|
|
.layer-ui__library {
|
|
|
|
margin: auto;
|
2020-04-18 02:09:15 +05:30
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2020-09-26 02:48:45 +05:30
|
|
|
justify-content: center;
|
2020-12-07 19:24:55 +02:00
|
|
|
|
2021-01-02 13:13:48 -03:00
|
|
|
.layer-ui__library-header {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
width: 100%;
|
|
|
|
margin: 2px 0;
|
|
|
|
|
|
|
|
button {
|
|
|
|
// 2px from the left to account for focus border of left-most button
|
|
|
|
margin: 0 2px;
|
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
2021-02-08 15:43:51 -05:00
|
|
|
margin-inline-start: auto;
|
2021-01-02 13:13:48 -03:00
|
|
|
// 17px for scrollbar (needed for overlay scrollbars on Big Sur?) + 1px extra
|
2021-02-08 15:43:51 -05:00
|
|
|
padding-inline-end: 18px;
|
2021-01-02 13:13:48 -03:00
|
|
|
white-space: nowrap;
|
|
|
|
}
|
2020-12-07 19:24:55 +02:00
|
|
|
}
|
2020-09-26 02:48:45 +05:30
|
|
|
}
|
2020-04-18 02:09:15 +05:30
|
|
|
|
2020-09-26 02:48:45 +05:30
|
|
|
.layer-ui__library-message {
|
|
|
|
padding: 10px 20px;
|
|
|
|
max-width: 200px;
|
|
|
|
}
|
2020-04-18 02:09:15 +05:30
|
|
|
|
2020-09-26 02:48:45 +05:30
|
|
|
.layer-ui__library-items {
|
|
|
|
max-height: 50vh;
|
|
|
|
overflow: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.layer-ui__wrapper {
|
2021-02-04 16:21:48 +01:00
|
|
|
z-index: var(--zIndex-layerUI);
|
|
|
|
|
2020-09-26 02:48:45 +05:30
|
|
|
.encrypted-icon {
|
|
|
|
position: relative;
|
|
|
|
margin-inline-start: 15px;
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
border-radius: var(--space-factor);
|
|
|
|
color: $oc-green-9;
|
|
|
|
|
|
|
|
svg {
|
|
|
|
width: 1.2rem;
|
|
|
|
height: 1.2rem;
|
2020-04-21 17:50:08 -04:00
|
|
|
}
|
2020-05-03 02:30:58 +02:00
|
|
|
}
|
2020-04-25 18:43:02 +05:30
|
|
|
|
2020-09-26 02:48:45 +05:30
|
|
|
&__github-corner {
|
|
|
|
top: 0;
|
|
|
|
|
|
|
|
:root[dir="ltr"] & {
|
|
|
|
right: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
:root[dir="rtl"] & {
|
|
|
|
left: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
position: absolute;
|
|
|
|
width: 40px;
|
2020-05-03 02:30:58 +02:00
|
|
|
}
|
2020-09-26 02:48:45 +05:30
|
|
|
|
|
|
|
&__footer {
|
|
|
|
position: absolute;
|
|
|
|
z-index: 100;
|
|
|
|
bottom: 0px;
|
|
|
|
|
|
|
|
:root[dir="ltr"] & {
|
|
|
|
right: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
:root[dir="rtl"] & {
|
|
|
|
left: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
width: 190px;
|
2020-05-03 02:30:58 +02:00
|
|
|
}
|
2020-05-09 18:17:22 +05:30
|
|
|
|
2020-09-26 02:48:45 +05:30
|
|
|
.zen-mode-transition {
|
|
|
|
transition: transform 0.5s ease-in-out;
|
|
|
|
|
|
|
|
:root[dir="ltr"] &.transition-left {
|
|
|
|
transform: translate(-999px, 0);
|
|
|
|
}
|
|
|
|
|
|
|
|
:root[dir="ltr"] &.transition-right {
|
|
|
|
transform: translate(999px, 0px);
|
|
|
|
}
|
|
|
|
|
|
|
|
:root[dir="rtl"] &.transition-left {
|
|
|
|
transform: translate(999px, 0);
|
|
|
|
}
|
|
|
|
|
|
|
|
:root[dir="rtl"] &.transition-right {
|
|
|
|
transform: translate(-999px, 0);
|
|
|
|
}
|
|
|
|
|
2020-11-25 18:21:33 -05:00
|
|
|
:root[dir="ltr"] &.App-menu_bottom--transition-left {
|
2020-09-26 02:48:45 +05:30
|
|
|
transform: translate(-92px, 0);
|
|
|
|
}
|
2020-11-25 18:21:33 -05:00
|
|
|
:root[dir="rtl"] &.App-menu_bottom--transition-left {
|
|
|
|
transform: translate(92px, 0);
|
|
|
|
}
|
2020-05-09 18:17:22 +05:30
|
|
|
}
|
2020-04-25 18:43:02 +05:30
|
|
|
|
2020-09-26 02:48:45 +05:30
|
|
|
.disable-zen-mode {
|
|
|
|
height: 30px;
|
|
|
|
position: absolute;
|
|
|
|
bottom: 10px;
|
2020-11-25 18:21:33 -05:00
|
|
|
[dir="ltr"] & {
|
|
|
|
right: 15px;
|
|
|
|
}
|
|
|
|
[dir="rtl"] & {
|
|
|
|
left: 15px;
|
|
|
|
}
|
2020-09-26 02:48:45 +05:30
|
|
|
font-size: 10px;
|
|
|
|
padding: 10px;
|
|
|
|
font-weight: 500;
|
|
|
|
opacity: 0;
|
|
|
|
visibility: hidden;
|
|
|
|
transition: visibility 0s linear 0s, opacity 0.5s;
|
|
|
|
|
|
|
|
&--visible {
|
|
|
|
opacity: 1;
|
|
|
|
visibility: visible;
|
|
|
|
transition: visibility 0s linear 300ms, opacity 0.5s;
|
|
|
|
transition-delay: 0.8s;
|
|
|
|
}
|
2020-04-25 18:43:02 +05:30
|
|
|
}
|
|
|
|
}
|
2020-04-18 02:09:15 +05:30
|
|
|
}
|