2021-08-14 14:42:31 +03:00
|
|
|
//
|
|
|
|
// Copyright © 2021 Anticrm Platform Contributors.
|
|
|
|
//
|
|
|
|
// Licensed under the Eclipse Public License, Version 2.0 (the "License");
|
|
|
|
// you may not use this file except in compliance with the License. You may
|
|
|
|
// obtain a copy of the License at https://www.eclipse.org/legal/epl-2.0
|
|
|
|
//
|
|
|
|
// Unless required by applicable law or agreed to in writing, software
|
|
|
|
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
//
|
|
|
|
// See the License for the specific language governing permissions and
|
|
|
|
// limitations under the License.
|
|
|
|
//
|
|
|
|
|
|
|
|
/* CLEAR */
|
2021-08-30 20:19:58 +03:00
|
|
|
a {
|
|
|
|
font: inherit;
|
2021-10-24 22:38:32 +03:00
|
|
|
font-weight: 500;
|
|
|
|
text-decoration: none;
|
2021-10-24 23:48:30 +03:00
|
|
|
color: var(--theme-content-accent-color);
|
2021-12-08 12:24:24 +03:00
|
|
|
outline: none;
|
2021-10-24 22:38:32 +03:00
|
|
|
&:hover {
|
|
|
|
color: var(--theme-caption-color);
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
&:active {
|
|
|
|
color: var(--theme-content-accent-color);
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
&:visited { color: var(--theme-caption-color); }
|
2021-08-30 20:19:58 +03:00
|
|
|
}
|
2021-08-14 14:42:31 +03:00
|
|
|
button {
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
2021-08-17 17:46:06 +03:00
|
|
|
margin: 0;
|
2021-08-14 14:42:31 +03:00
|
|
|
padding: 0;
|
|
|
|
font-size: inherit;
|
|
|
|
background-color: transparent;
|
|
|
|
border: 1px solid transparent;
|
|
|
|
outline: none;
|
|
|
|
cursor: pointer;
|
2021-11-04 14:17:59 +03:00
|
|
|
user-select: none;
|
2021-08-14 14:42:31 +03:00
|
|
|
}
|
2021-08-17 17:46:06 +03:00
|
|
|
input {
|
2021-12-10 12:39:58 +03:00
|
|
|
min-width: 0;
|
2021-08-27 00:34:18 +03:00
|
|
|
font: inherit;
|
2021-08-17 17:46:06 +03:00
|
|
|
background-color: transparent;
|
|
|
|
outline: none;
|
|
|
|
color: var(--theme-caption-color);
|
|
|
|
}
|
2021-08-14 14:42:31 +03:00
|
|
|
audio, canvas, embed, iframe, img, object, svg, video {
|
|
|
|
display: block;
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
input:-webkit-autofill,
|
|
|
|
input:-webkit-autofill:hover,
|
|
|
|
input:-webkit-autofill:focus
|
|
|
|
input:-webkit-autofill,
|
|
|
|
textarea:-webkit-autofill,
|
|
|
|
textarea:-webkit-autofill:hover
|
|
|
|
textarea:-webkit-autofill:focus,
|
|
|
|
select:-webkit-autofill,
|
|
|
|
select:-webkit-autofill:hover,
|
|
|
|
select:-webkit-autofill:focus {
|
|
|
|
-webkit-text-fill-color: var(--theme-caption-color);
|
|
|
|
transition: background-color 5000s ease-in-out 0s;
|
|
|
|
background: transparent;
|
|
|
|
}
|
|
|
|
|
2021-08-26 11:35:21 +03:00
|
|
|
table, caption, tbody, tfoot, thead, tr, th, td {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
border: 0;
|
|
|
|
font-size: 100%;
|
|
|
|
font: inherit;
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
table {
|
|
|
|
border-collapse: collapse;
|
|
|
|
border-spacing: 0;
|
|
|
|
}
|
|
|
|
|
2021-08-14 14:42:31 +03:00
|
|
|
/* Common */
|
2021-08-30 10:17:26 +03:00
|
|
|
* {
|
|
|
|
--modal-padding: 1.5rem;
|
|
|
|
}
|
|
|
|
|
2021-12-01 14:09:14 +03:00
|
|
|
p:first-child { margin-block-start: 0; } // First and last padding
|
|
|
|
p:last-child { margin-block-end: 0; }
|
|
|
|
|
2022-02-16 12:03:39 +03:00
|
|
|
.p-inline {
|
|
|
|
word-break: break-all;
|
|
|
|
line-height: 150%;
|
|
|
|
}
|
2022-01-31 12:07:05 +03:00
|
|
|
|
2021-12-01 14:09:14 +03:00
|
|
|
/* Flex */
|
2021-08-14 14:42:31 +03:00
|
|
|
.flex { display: flex; }
|
2021-11-18 15:48:05 +03:00
|
|
|
.inline-flex { display: inline-flex; }
|
2021-08-30 10:26:11 +03:00
|
|
|
.flex-grow { flex-grow: 1; }
|
2021-10-11 21:03:49 +03:00
|
|
|
.flex-no-shrink { flex-shrink: 0; }
|
2021-08-17 17:46:06 +03:00
|
|
|
.flex-nowrap {
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: nowrap;
|
|
|
|
}
|
2022-01-31 12:07:05 +03:00
|
|
|
.flex-baseline {
|
|
|
|
display: inline-flex;
|
|
|
|
align-items: baseline;
|
|
|
|
}
|
2021-08-14 14:42:31 +03:00
|
|
|
.flex-center {
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
.flex-between {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
align-items: center;
|
|
|
|
}
|
2021-08-17 17:46:06 +03:00
|
|
|
.flex-stretch {
|
|
|
|
display: flex;
|
|
|
|
align-items: stretch;
|
|
|
|
}
|
2021-08-14 14:42:31 +03:00
|
|
|
.flex-row-center {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2021-08-17 17:46:06 +03:00
|
|
|
flex-wrap: nowrap;
|
2022-02-07 12:39:23 +03:00
|
|
|
min-width: 0;
|
2021-08-14 14:42:31 +03:00
|
|
|
}
|
2022-01-06 14:38:40 +03:00
|
|
|
.flex-row-streach {
|
|
|
|
display: flex;
|
|
|
|
align-items: stretch;
|
|
|
|
flex-wrap: nowrap;
|
|
|
|
}
|
2022-02-16 12:02:31 +03:00
|
|
|
.flex-wrap {
|
|
|
|
flex-wrap: wrap;
|
|
|
|
}
|
2021-12-01 21:14:38 +03:00
|
|
|
.flex-row-top {
|
|
|
|
display: flex;
|
|
|
|
align-items: flex-start;
|
|
|
|
}
|
2021-08-14 14:42:31 +03:00
|
|
|
.flex-row-reverse {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row-reverse;
|
|
|
|
align-items: center;
|
|
|
|
}
|
2021-11-25 14:09:37 +03:00
|
|
|
.flex-reverse {
|
|
|
|
flex-direction: row-reverse;
|
|
|
|
}
|
2021-08-14 14:42:31 +03:00
|
|
|
.flex-col {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
.flex-col-center {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: center;
|
|
|
|
}
|
2021-08-17 17:46:06 +03:00
|
|
|
.flex-col-stretch {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: stretch;
|
|
|
|
}
|
2021-12-01 21:14:38 +03:00
|
|
|
.justify-between { justify-content: space-between; }
|
2021-12-06 12:12:58 +03:00
|
|
|
.justify-end { justify-content: flex-end; }
|
2022-01-31 12:07:05 +03:00
|
|
|
.items-baseline { align-items: baseline; }
|
|
|
|
|
|
|
|
.flex-presenter, .inline-presenter {
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
|
|
.icon {
|
2022-02-07 12:39:23 +03:00
|
|
|
margin-right: .5rem;
|
2022-01-31 12:07:05 +03:00
|
|
|
color: var(--theme-content-dark-color);
|
|
|
|
}
|
|
|
|
.label {
|
2022-02-07 12:39:23 +03:00
|
|
|
min-width: 0;
|
2022-01-31 12:07:05 +03:00
|
|
|
font-weight: 500;
|
|
|
|
text-align: left;
|
|
|
|
color: var(--theme-content-accent-color);
|
2022-02-07 12:39:23 +03:00
|
|
|
|
|
|
|
overflow: hidden;
|
|
|
|
visibility: visible;
|
|
|
|
display: -webkit-box;
|
|
|
|
/* autoprefixer: ignore next */
|
|
|
|
-webkit-box-orient: vertical;
|
|
|
|
-webkit-line-clamp: 2;
|
|
|
|
line-clamp: 2;
|
|
|
|
user-select: none;
|
|
|
|
}
|
2022-01-31 12:07:05 +03:00
|
|
|
&:hover .icon { color: var(--theme-caption-color); }
|
|
|
|
&:hover .label {
|
|
|
|
text-decoration: underline;
|
|
|
|
color: var(--theme-caption-color);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.flex-presenter {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
.inline-presenter {
|
|
|
|
display: inline-flex;
|
|
|
|
align-items: baseline;
|
|
|
|
.icon { transform: translateY(.2rem); }
|
|
|
|
}
|
2021-08-30 10:17:26 +03:00
|
|
|
|
2022-02-14 11:54:03 +03:00
|
|
|
.gap-1 {
|
2021-11-25 14:09:37 +03:00
|
|
|
& > * { margin-right: .25rem; }
|
|
|
|
& > *:last-child { margin-right: 0; }
|
|
|
|
&.reverse {
|
|
|
|
flex-direction: row-reverse;
|
|
|
|
& > :last-child { margin-right: .25rem; }
|
|
|
|
& > :first-child { margin-right: 0; }
|
|
|
|
}
|
|
|
|
}
|
2022-02-14 11:54:03 +03:00
|
|
|
.gap-2 {
|
2021-11-25 14:09:37 +03:00
|
|
|
& > * { margin-right: .5rem; }
|
|
|
|
& > *:last-child { margin-right: 0; }
|
|
|
|
&.reverse {
|
|
|
|
flex-direction: row-reverse;
|
|
|
|
& > :last-child { margin-right: .5rem; }
|
|
|
|
& > :first-child { margin-right: 0; }
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-10-13 23:04:18 +03:00
|
|
|
/* --------- */
|
|
|
|
.sm-tool-icon {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2021-12-02 12:06:02 +03:00
|
|
|
flex-wrap: nowrap;
|
|
|
|
white-space: nowrap;
|
2021-12-07 15:14:24 +03:00
|
|
|
width: fit-content;
|
2021-10-13 23:04:18 +03:00
|
|
|
color: var(--theme-caption-color);
|
|
|
|
cursor: pointer;
|
|
|
|
.icon {
|
|
|
|
margin-right: .25rem;
|
|
|
|
color: var(--theme-content-dark-color);
|
2022-01-12 12:18:50 +03:00
|
|
|
&.small-size {
|
|
|
|
width: 1.5rem;
|
|
|
|
height: 1.5rem;
|
|
|
|
}
|
2021-10-13 23:04:18 +03:00
|
|
|
}
|
|
|
|
&:hover .icon { color: var(--theme-caption-color); }
|
|
|
|
}
|
|
|
|
|
2021-11-23 21:46:06 +03:00
|
|
|
/* Margins & Paddings */
|
2021-12-21 02:45:21 +03:00
|
|
|
.step-lr25 + .step-lr25 { margin-left: .25rem; }
|
2021-10-13 23:04:18 +03:00
|
|
|
.step-lr75 + .step-lr75 { margin-left: .75rem; }
|
|
|
|
.step-tb75 + .step-tb75 { margin-top: .75rem; }
|
|
|
|
|
2021-11-25 14:09:37 +03:00
|
|
|
.ml-1 { margin-left: .25rem; }
|
2021-10-13 23:04:18 +03:00
|
|
|
.ml-2 { margin-left: .5rem; }
|
2021-11-25 14:09:37 +03:00
|
|
|
.ml-3 { margin-left: .75rem; }
|
2021-12-01 21:45:45 +03:00
|
|
|
.ml-4 { margin-left: 1rem; }
|
2021-12-06 12:12:58 +03:00
|
|
|
.ml-6 { margin-left: 1.5rem; }
|
2022-01-26 02:30:41 +03:00
|
|
|
.ml-10 { margin-left: 2.5rem; }
|
2021-11-02 11:45:08 +03:00
|
|
|
.mr-1 { margin-right: .25rem; }
|
2021-12-06 12:12:03 +03:00
|
|
|
.mr-2 { margin-right: .5rem; }
|
2021-12-16 12:08:09 +03:00
|
|
|
.mr-3 { margin-right: .75rem; }
|
2021-11-10 23:10:11 +03:00
|
|
|
.mr-4 { margin-right: 1rem; }
|
2021-12-06 12:12:58 +03:00
|
|
|
.mr-6 { margin-right: 1.5rem; }
|
2021-11-10 23:10:11 +03:00
|
|
|
.mr-8 { margin-right: 2rem; }
|
2022-01-26 02:30:41 +03:00
|
|
|
.mr-10 { margin-right: 2.5rem; }
|
2022-02-01 12:13:01 +03:00
|
|
|
.mt-1 { margin-top: .25rem; }
|
2021-11-25 20:33:35 +03:00
|
|
|
.mt-2 { margin-top: .5rem; }
|
2021-12-16 12:08:09 +03:00
|
|
|
.mt-3 { margin-top: .75rem; }
|
|
|
|
.mt-4 { margin-top: 1rem; }
|
2021-10-27 17:18:00 +03:00
|
|
|
.mt-5 { margin-top: 1.25rem; }
|
2022-01-18 12:05:16 +03:00
|
|
|
.mt-6 { margin-top: 1.5rem; }
|
2021-12-16 12:08:09 +03:00
|
|
|
.mt-9 { margin-top: 2.25rem; }
|
2021-12-02 12:09:37 +03:00
|
|
|
.mt-10 { margin-top: 2.5rem; }
|
2021-11-29 20:19:33 +03:00
|
|
|
.mt-14 { margin-top: 3.5rem; }
|
2021-10-27 17:18:00 +03:00
|
|
|
.mb-1 { margin-bottom: .25rem; }
|
2021-12-20 13:18:50 +03:00
|
|
|
.mb-2 { margin-bottom: .5rem; }
|
2021-12-16 12:08:09 +03:00
|
|
|
.mb-3 { margin-bottom: .75rem; }
|
2021-12-15 12:08:02 +03:00
|
|
|
.mb-4 { margin-bottom: 1rem; }
|
2021-10-13 23:04:18 +03:00
|
|
|
|
2022-01-20 12:18:24 +03:00
|
|
|
.pr-1 { padding-right: .25rem; }
|
|
|
|
.pr-4 { padding-right: 1rem; }
|
2022-02-07 12:39:23 +03:00
|
|
|
.pr-24 { padding-right: 6rem; }
|
2022-01-20 12:18:24 +03:00
|
|
|
|
2022-02-01 12:13:01 +03:00
|
|
|
.p-10 { padding: 2.5rem; }
|
|
|
|
|
2021-10-13 23:04:18 +03:00
|
|
|
/* --------- */
|
2021-10-04 17:32:27 +03:00
|
|
|
.relative { position: relative; }
|
2021-08-30 10:17:26 +03:00
|
|
|
.abs-lt-content {
|
|
|
|
position: absolute;
|
|
|
|
top: var(--modal-padding);
|
|
|
|
left: var(--modal-padding);
|
|
|
|
}
|
|
|
|
.abs-rt-content {
|
|
|
|
position: absolute;
|
|
|
|
top: var(--modal-padding);
|
|
|
|
right: var(--modal-padding);
|
|
|
|
}
|
|
|
|
.abs-lb-content {
|
|
|
|
position: absolute;
|
|
|
|
bottom: var(--modal-padding);
|
|
|
|
left: var(--modal-padding);
|
|
|
|
}
|
|
|
|
.abs-rb-content {
|
|
|
|
position: absolute;
|
|
|
|
bottom: var(--modal-padding);
|
|
|
|
right: var(--modal-padding);
|
|
|
|
}
|
|
|
|
.abs-full-content {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
}
|
|
|
|
|
2021-10-11 21:03:49 +03:00
|
|
|
.vScroll {
|
|
|
|
flex-grow: 1;
|
|
|
|
overflow-x: hidden;
|
|
|
|
overflow-y: auto;
|
|
|
|
}
|
|
|
|
|
2021-08-14 14:42:31 +03:00
|
|
|
.h-full { height: 100%; }
|
2022-01-20 12:18:24 +03:00
|
|
|
.h-2 { height: .5rem; }
|
|
|
|
.h-9 { height: 2.25rem; }
|
2021-12-14 12:24:14 +03:00
|
|
|
.w-full { width: 100%; }
|
2021-12-20 13:18:50 +03:00
|
|
|
.min-w-0 { min-width: 0; }
|
|
|
|
.min-h-0 { min-height: 0; }
|
2021-12-30 12:13:16 +03:00
|
|
|
.clear-mins {
|
|
|
|
min-width: 0;
|
|
|
|
min-height: 0;
|
|
|
|
}
|
2021-08-14 14:42:31 +03:00
|
|
|
.square-36 { width: 2.25rem; height: 2.25rem; }
|
|
|
|
|
2021-08-17 17:46:06 +03:00
|
|
|
/* --------- */
|
2021-12-16 12:08:09 +03:00
|
|
|
.svg-x-small {
|
2022-01-12 12:01:54 +03:00
|
|
|
width: .857em;
|
|
|
|
height: .857em;
|
2021-12-14 12:24:14 +03:00
|
|
|
}
|
2021-08-20 19:10:04 +03:00
|
|
|
.svg-small {
|
|
|
|
width: 1.143em;
|
|
|
|
height: 1.143em;
|
|
|
|
}
|
|
|
|
.svg-medium {
|
|
|
|
width: 1.429em;
|
|
|
|
height: 1.429em;
|
|
|
|
}
|
|
|
|
.svg-large {
|
|
|
|
width: 1.715em;
|
|
|
|
height: 1.715em;
|
|
|
|
}
|
2022-01-12 12:01:54 +03:00
|
|
|
.svg-full {
|
|
|
|
width: inherit;
|
|
|
|
height: inherit;
|
|
|
|
}
|
|
|
|
.svg-x-small, .svg-small, .svg-medium, .svg-large { flex-shrink: 0; }
|
2021-08-20 19:10:04 +03:00
|
|
|
|
2021-12-10 12:39:58 +03:00
|
|
|
.svg-mask {
|
|
|
|
position: absolute;
|
|
|
|
width: 0;
|
|
|
|
height: 0;
|
|
|
|
}
|
|
|
|
|
2021-10-26 12:29:15 +03:00
|
|
|
.hover-trans {
|
|
|
|
color: var(--theme-content-trans-color);
|
|
|
|
cursor: pointer;
|
|
|
|
&:hover { color: var(--theme-caption-color); }
|
|
|
|
&:active { color: var(--theme-content-accent-color); }
|
|
|
|
}
|
|
|
|
|
2021-10-24 23:48:30 +03:00
|
|
|
/* Link */
|
|
|
|
a.no-line {
|
|
|
|
text-decoration: none;
|
|
|
|
color: var(--theme-caption-color);
|
|
|
|
&:hover { color: var(--theme-caption-color); }
|
|
|
|
&:active { color: var(--theme-content-accent-color); }
|
|
|
|
&:visited { color: var(--theme-caption-color); }
|
|
|
|
}
|
2021-11-17 18:20:30 +03:00
|
|
|
.cursor-pointer { cursor: pointer; }
|
2022-02-11 12:19:51 +03:00
|
|
|
.cursor-default { cursor: default; }
|
2021-10-24 23:48:30 +03:00
|
|
|
|
2021-10-04 17:32:27 +03:00
|
|
|
/* Text */
|
2022-02-01 12:13:01 +03:00
|
|
|
.text-sm { font-size: .75rem; }
|
|
|
|
.text-lg { font-size: 1.125rem; }
|
2022-02-09 12:20:30 +03:00
|
|
|
.font-medium { font-weight: 500; }
|
2021-10-13 23:04:18 +03:00
|
|
|
.fs-title {
|
|
|
|
font-weight: 500;
|
|
|
|
font-size: 1rem;
|
|
|
|
color: var(--theme-caption-color);
|
2021-11-03 16:01:21 +03:00
|
|
|
user-select: none;
|
2021-10-13 23:04:18 +03:00
|
|
|
}
|
2021-12-16 12:08:09 +03:00
|
|
|
.trans-title {
|
|
|
|
text-transform: uppercase;
|
|
|
|
font-weight: 600;
|
|
|
|
font-size: .75rem;
|
|
|
|
color: var(--theme-content-trans-color);
|
|
|
|
user-select: none;
|
|
|
|
}
|
2021-11-17 18:20:30 +03:00
|
|
|
.fs-bold { font-weight: 500; }
|
2022-01-19 12:09:08 +03:00
|
|
|
.uppercase { text-transform: uppercase; }
|
2022-02-07 12:39:23 +03:00
|
|
|
.text-left { text-align: left; }
|
2021-11-17 18:20:30 +03:00
|
|
|
|
2021-10-13 23:52:36 +03:00
|
|
|
.over-underline {
|
|
|
|
cursor: pointer;
|
|
|
|
&:hover { text-decoration: underline; }
|
|
|
|
}
|
2021-10-13 23:04:18 +03:00
|
|
|
|
2021-08-17 17:46:06 +03:00
|
|
|
.hidden-text {
|
|
|
|
position: absolute;
|
|
|
|
visibility: hidden;
|
|
|
|
overflow: hidden;
|
|
|
|
white-space: pre-wrap;
|
2022-02-11 12:19:51 +03:00
|
|
|
width: max-content;
|
2021-08-17 17:46:06 +03:00
|
|
|
}
|
2021-08-30 10:26:11 +03:00
|
|
|
.overflow-label {
|
|
|
|
white-space: nowrap;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
overflow: hidden;
|
|
|
|
user-select: none;
|
2021-12-10 12:39:58 +03:00
|
|
|
min-width: 0;
|
2021-08-30 10:26:11 +03:00
|
|
|
}
|
2021-12-20 13:18:50 +03:00
|
|
|
|
|
|
|
.lines-limit-2, .lines-limit-4 {
|
2021-12-17 12:06:08 +03:00
|
|
|
min-width: 0;
|
|
|
|
overflow: hidden;
|
|
|
|
visibility: visible;
|
|
|
|
display: -webkit-box;
|
|
|
|
/* autoprefixer: ignore next */
|
|
|
|
-webkit-box-orient: vertical;
|
|
|
|
}
|
2021-12-20 13:18:50 +03:00
|
|
|
.lines-limit-2 {
|
|
|
|
-webkit-line-clamp: 2;
|
|
|
|
line-clamp: 2;
|
|
|
|
}
|
|
|
|
.lines-limit-4 {
|
|
|
|
-webkit-line-clamp: 4;
|
|
|
|
line-clamp: 4;
|
|
|
|
}
|
2021-08-17 17:46:06 +03:00
|
|
|
|
|
|
|
.focused-button {
|
|
|
|
background-color: var(--theme-button-bg-focused);
|
|
|
|
border: 1px solid transparent;
|
|
|
|
|
2021-11-04 14:17:59 +03:00
|
|
|
& > .icon { color: var(--theme-content-trans-color); }
|
2021-08-17 17:46:06 +03:00
|
|
|
&.selected {
|
|
|
|
background-color: var(--theme-button-bg-focused);
|
|
|
|
border: 1px solid var(--theme-bg-accent-color);
|
|
|
|
}
|
|
|
|
&:hover {
|
|
|
|
background-color: var(--theme-button-bg-pressed);
|
|
|
|
border: 1px solid var(--theme-bg-accent-color);
|
2021-11-04 14:17:59 +03:00
|
|
|
& > .icon { color: var(--theme-caption-color); }
|
2021-08-17 17:46:06 +03:00
|
|
|
}
|
|
|
|
&:focus {
|
|
|
|
border: 1px solid var(--primary-button-focused-border);
|
|
|
|
box-shadow: 0 0 0 3px var(--primary-button-outline);
|
2021-11-04 14:17:59 +03:00
|
|
|
& > .icon { color: var(--theme-caption-color); }
|
2021-08-17 17:46:06 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-12-16 12:08:09 +03:00
|
|
|
.overflow-x-auto { overflow-x: auto; }
|
|
|
|
.overflow-y-auto { overflow-y: auto; }
|
2021-12-17 12:06:35 +03:00
|
|
|
.whitespace-nowrap { white-space: nowrap; }
|
2021-12-16 12:08:09 +03:00
|
|
|
|
2022-01-20 12:18:24 +03:00
|
|
|
/* Scrollbars */
|
|
|
|
.scroll-m-0::-webkit-scrollbar-track { margin: 0; }
|
2021-12-16 12:08:09 +03:00
|
|
|
.scroll-m-10::-webkit-scrollbar-track { margin: 2.5rem; }
|
|
|
|
|
2022-01-20 12:18:24 +03:00
|
|
|
.scroll-bg-accent-color::-webkit-scrollbar-thumb {
|
|
|
|
background-color: var(--theme-bg-accent-color);
|
|
|
|
&:hover { background-color: var(--theme-menu-divider); }
|
|
|
|
}
|
|
|
|
|
2021-08-14 14:42:31 +03:00
|
|
|
/* Backgrounds & Colors */
|
|
|
|
.background-theme-bg-color { background-color: var(--theme-bg-color); }
|
|
|
|
.background-highlight-red { background-color: var(--highlight-red); }
|
|
|
|
.background-button-bg-enabled { background-color: var(--theme-button-bg-enabled); }
|
|
|
|
.background-menu-divider { background-color: var(--theme-menu-divider); }
|
2022-02-02 12:05:33 +03:00
|
|
|
.background-card-divider { background-color: var(--theme-card-divider); }
|
2021-12-30 12:13:16 +03:00
|
|
|
.background-primary-color { background-color: var(--primary-button-enabled); }
|
2022-02-01 12:13:01 +03:00
|
|
|
.background-bg-accent { background-color: var(--theme-bg-accent-color); }
|
2022-02-07 12:39:23 +03:00
|
|
|
.background-bg-accent-normal { background-color: var(--theme-bg-accent-normal); }
|
2021-08-14 14:42:31 +03:00
|
|
|
|
|
|
|
.content-color { color: var(--theme-content-color); }
|
|
|
|
.content-trans-color { color: var(--theme-content-trans-color); }
|
2021-12-30 12:13:16 +03:00
|
|
|
.content-accent-color { color: var(--theme-content-accent-color); }
|
2021-08-30 10:26:11 +03:00
|
|
|
.content-dark-color { color: var(--theme-content-dark-color); }
|
2021-08-14 14:42:31 +03:00
|
|
|
.caption-color { color: var(--theme-caption-color); }
|
|
|
|
|
2021-10-26 12:29:15 +03:00
|
|
|
.red-color { color: var(--highlight-red); }
|
|
|
|
|
2021-08-14 14:42:31 +03:00
|
|
|
.border-primary-button { border-color: var(--primary-button-border); }
|
|
|
|
.border-button-enabled { border: 1px solid var(--theme-button-border-enabled); }
|
|
|
|
.bottom-divider { border-bottom: 1px solid var(--theme-menu-divider); }
|