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;
|
2023-03-10 03:08:04 +03:00
|
|
|
color: var(--accent-color);
|
2021-12-08 12:24:24 +03:00
|
|
|
outline: none;
|
2021-10-24 22:38:32 +03:00
|
|
|
&:hover {
|
2023-03-10 03:08:04 +03:00
|
|
|
color: var(--caption-color);
|
2021-10-24 22:38:32 +03:00
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
&:active {
|
2023-03-10 03:08:04 +03:00
|
|
|
color: var(--accent-color);
|
2021-10-24 22:38:32 +03:00
|
|
|
text-decoration: underline;
|
|
|
|
}
|
2023-03-10 03:08:04 +03:00
|
|
|
&:visited { color: var(--accent-color); }
|
2022-06-16 04:25:49 +03:00
|
|
|
|
2022-12-15 08:44:11 +03:00
|
|
|
&.stealth,
|
|
|
|
&.no-underline {
|
|
|
|
&:hover, &:active { text-decoration: none; }
|
|
|
|
}
|
2022-06-16 04:25:49 +03:00
|
|
|
&.stealth {
|
|
|
|
display: inline-flex;
|
|
|
|
align-items: center;
|
|
|
|
width: 100%;
|
|
|
|
}
|
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;
|
2023-05-04 05:43:21 +03:00
|
|
|
font-family: inherit;
|
2021-08-14 14:42:31 +03:00
|
|
|
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;
|
2022-04-02 07:06:48 +03:00
|
|
|
color: var(--caption-color);
|
2022-04-20 10:56:45 +03:00
|
|
|
&::placeholder { color: var(--dark-color); }
|
2022-03-29 17:29:53 +03:00
|
|
|
&.wrong-input { background-color: var(--system-error-color) !important; }
|
2021-08-17 17:46:06 +03:00
|
|
|
}
|
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 {
|
2023-03-10 03:08:04 +03:00
|
|
|
-webkit-text-fill-color: var(--caption-color);
|
2021-08-14 14:42:31 +03:00
|
|
|
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;
|
|
|
|
}
|
|
|
|
|
2022-06-28 09:54:44 +03:00
|
|
|
li {
|
|
|
|
color: var(--dark-color);
|
2022-07-06 09:12:28 +03:00
|
|
|
p { color: var(--accent-color); }
|
2022-06-28 09:54:44 +03:00
|
|
|
}
|
|
|
|
|
2021-08-14 14:42:31 +03:00
|
|
|
/* Common */
|
2021-08-30 10:17:26 +03:00
|
|
|
* {
|
2022-06-07 06:23:59 +03:00
|
|
|
--modal-padding: 1rem;
|
2021-08-30 10:17:26 +03:00
|
|
|
}
|
|
|
|
|
2022-04-17 07:05:10 +03:00
|
|
|
p { user-select: text; }
|
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 {
|
2022-05-20 22:40:24 +03:00
|
|
|
overflow-wrap: break-word;
|
|
|
|
word-wrap: break-word;
|
|
|
|
hyphens: auto;
|
2023-03-27 09:16:20 +03:00
|
|
|
line-height: 150%;
|
2023-04-06 19:34:14 +03:00
|
|
|
|
2023-05-11 10:18:33 +03:00
|
|
|
&.contrast { color: var(--theme-caption-color); }
|
|
|
|
&:not(.contrast) { color: var(--theme-content-color); }
|
2022-07-06 09:12:28 +03:00
|
|
|
|
2022-03-05 12:07:43 +03:00
|
|
|
a {
|
|
|
|
word-break: break-all;
|
|
|
|
word-break: break-word;
|
|
|
|
hyphens: auto;
|
|
|
|
}
|
2022-02-16 12:03:39 +03:00
|
|
|
}
|
2022-01-31 12:07:05 +03:00
|
|
|
|
2023-03-16 07:16:11 +03:00
|
|
|
a.noUnderline {
|
|
|
|
&:hover {
|
2023-05-11 10:18:33 +03:00
|
|
|
color: var(--theme-caption-color);
|
2023-03-16 07:16:11 +03:00
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
&:active {
|
2023-05-11 10:18:33 +03:00
|
|
|
color: var(--theme-caption-color);
|
2023-03-16 07:16:11 +03:00
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-11-22 14:37:44 +03:00
|
|
|
.text-center { text-align: center; }
|
|
|
|
|
2023-01-24 16:43:06 +03:00
|
|
|
.firstLetter span{
|
|
|
|
display: inline-block;
|
|
|
|
&::first-letter { text-transform: uppercase; }
|
|
|
|
}
|
2022-11-22 14:37:44 +03:00
|
|
|
|
2022-03-01 06:32:18 +03:00
|
|
|
.inline-height2 {
|
|
|
|
line-height: 200%;
|
|
|
|
}
|
|
|
|
|
2022-04-20 19:30:20 +03:00
|
|
|
.float-left-box {
|
|
|
|
box-sizing: border-box;
|
|
|
|
width: 100%;
|
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
|
|
|
|
.float-left {
|
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
|
2022-05-05 11:29:46 +03:00
|
|
|
input.search {
|
|
|
|
margin: 0;
|
2023-05-11 10:18:33 +03:00
|
|
|
color: var(--theme-caption-color);
|
2022-05-05 11:29:46 +03:00
|
|
|
border: none;
|
2023-05-05 08:21:40 +03:00
|
|
|
caret-color: var(--theme-caret-color);
|
2022-05-05 11:29:46 +03:00
|
|
|
|
|
|
|
&.padding { padding: .625rem .75rem; }
|
|
|
|
}
|
|
|
|
|
2023-05-05 08:21:40 +03:00
|
|
|
.rounded { border-radius: 0.25rem; }
|
|
|
|
.rounded-lg { border-radius: 0.5rem; }
|
|
|
|
|
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; }
|
2022-11-07 07:16:37 +03:00
|
|
|
.flex-shrink { flex-shrink: 1; }
|
2022-04-17 07:05:10 +03:00
|
|
|
.flex-wrap { flex-wrap: wrap !important; }
|
|
|
|
.flex-nowrap { flex-wrap: nowrap !important; }
|
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;
|
2023-05-01 20:27:14 +03:00
|
|
|
min-width: 0;
|
2021-08-14 14:42:31 +03:00
|
|
|
}
|
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-04-18 13:27:29 +03:00
|
|
|
.flex-row-stretch {
|
2022-01-06 14:38:40 +03:00
|
|
|
display: flex;
|
|
|
|
align-items: stretch;
|
|
|
|
flex-wrap: nowrap;
|
|
|
|
}
|
2021-12-01 21:14:38 +03:00
|
|
|
.flex-row-top {
|
|
|
|
display: flex;
|
|
|
|
align-items: flex-start;
|
2023-05-15 07:12:16 +03:00
|
|
|
flex-wrap: nowrap;
|
|
|
|
min-width: 0;
|
2021-12-01 21:14:38 +03:00
|
|
|
}
|
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;
|
2022-03-17 09:07:38 +03:00
|
|
|
flex-wrap: nowrap;
|
2023-04-24 18:57:11 +03:00
|
|
|
min-width: 0;
|
2022-03-17 09:07:38 +03:00
|
|
|
min-height: 0;
|
2021-08-14 14:42:31 +03:00
|
|
|
}
|
2022-11-22 14:37:44 +03:00
|
|
|
.flex-col-reverse {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column-reverse;
|
|
|
|
flex-wrap: nowrap;
|
|
|
|
min-height: 0;
|
|
|
|
}
|
2021-08-14 14:42:31 +03:00
|
|
|
.flex-col-center {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: center;
|
2023-04-26 11:54:14 +03:00
|
|
|
min-width: 0;
|
|
|
|
min-height: 0;
|
2021-08-14 14:42:31 +03:00
|
|
|
}
|
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; }
|
2022-04-27 08:50:07 +03:00
|
|
|
.justify-start { justify-content: flex-start; }
|
2021-12-06 12:12:58 +03:00
|
|
|
.justify-end { justify-content: flex-end; }
|
2022-04-18 13:27:29 +03:00
|
|
|
.justify-center { justify-content: center; }
|
2022-06-16 04:25:49 +03:00
|
|
|
.justify-stretch { justify-content: stretch; }
|
2022-01-31 12:07:05 +03:00
|
|
|
.items-baseline { align-items: baseline; }
|
2022-05-11 20:17:38 +03:00
|
|
|
.items-center { align-items: center; }
|
2022-10-04 18:49:11 +03:00
|
|
|
.self-end { align-self: end; }
|
2022-01-31 12:07:05 +03:00
|
|
|
|
2022-04-18 19:04:54 +03:00
|
|
|
.flex-gap-3 { gap: .75rem; }
|
|
|
|
.flex-gap-2 { gap: .5rem; }
|
2023-05-18 19:17:34 +03:00
|
|
|
.flex-gap-1-5 { gap: .375rem; }
|
2022-04-18 19:04:54 +03:00
|
|
|
.flex-gap-1 { gap: .25rem; }
|
2022-04-07 08:17:43 +03:00
|
|
|
|
2022-12-07 10:21:39 +03:00
|
|
|
.flex-break {
|
|
|
|
flex-basis: 100%;
|
|
|
|
height: 0;
|
|
|
|
}
|
|
|
|
|
2022-01-31 12:07:05 +03:00
|
|
|
.flex-presenter, .inline-presenter {
|
2022-03-17 09:07:38 +03:00
|
|
|
flex-wrap: nowrap;
|
2023-04-06 07:51:13 +03:00
|
|
|
min-width: 0;
|
2022-01-31 12:07:05 +03:00
|
|
|
cursor: pointer;
|
|
|
|
|
|
|
|
.icon {
|
2023-05-10 14:40:50 +03:00
|
|
|
color: var(--theme-dark-color);
|
2022-04-09 06:46:40 +03:00
|
|
|
|
|
|
|
&.circle {
|
|
|
|
padding: .25rem;
|
2022-04-14 14:04:24 +03:00
|
|
|
background-color: var(--avatar-bg-color);
|
2022-04-09 06:46:40 +03:00
|
|
|
border-radius: 50%;
|
|
|
|
}
|
2023-05-10 14:40:50 +03:00
|
|
|
&:not(.small-gap, .medium-gap) { margin-right: .5rem; }
|
2022-12-14 07:53:37 +03:00
|
|
|
&.small-gap { margin-right: .25rem; }
|
2023-05-10 14:40:50 +03:00
|
|
|
&.medium-gap { margin-right: .375rem; }
|
2022-01-31 12:07:05 +03:00
|
|
|
}
|
|
|
|
.label {
|
2022-02-07 12:39:23 +03:00
|
|
|
min-width: 0;
|
2022-01-31 12:07:05 +03:00
|
|
|
text-align: left;
|
2023-05-10 14:40:50 +03:00
|
|
|
color: var(--theme-content-color);
|
2022-02-07 12:39:23 +03:00
|
|
|
|
|
|
|
overflow: hidden;
|
|
|
|
user-select: none;
|
2022-03-17 09:07:38 +03:00
|
|
|
|
2023-04-06 07:51:13 +03:00
|
|
|
&:not(.nowrap) {
|
|
|
|
display: -webkit-box;
|
|
|
|
/* autoprefixer: ignore next */
|
|
|
|
-webkit-box-orient: vertical;
|
|
|
|
-webkit-line-clamp: 2;
|
|
|
|
line-clamp: 2;
|
|
|
|
}
|
2022-03-18 07:58:10 +03:00
|
|
|
&.nowrap {
|
|
|
|
white-space: nowrap;
|
|
|
|
text-overflow: ellipsis;
|
2023-04-06 07:51:13 +03:00
|
|
|
word-break: break-all;
|
2022-03-18 07:58:10 +03:00
|
|
|
}
|
2022-03-17 09:07:38 +03:00
|
|
|
}
|
|
|
|
.action {
|
|
|
|
visibility: hidden;
|
|
|
|
margin-left: .75rem;
|
|
|
|
}
|
|
|
|
&:hover {
|
2023-05-10 14:40:50 +03:00
|
|
|
.icon { color: var(--theme-caption-color); }
|
2022-03-17 09:07:38 +03:00
|
|
|
.label {
|
2023-05-10 14:40:50 +03:00
|
|
|
color: var(--theme-caption-color);
|
2022-12-14 07:53:37 +03:00
|
|
|
|
|
|
|
&:not(.no-underline) { text-decoration: underline; }
|
2022-03-17 09:07:38 +03:00
|
|
|
}
|
|
|
|
.action { visibility: visible; }
|
2022-01-31 12:07:05 +03:00
|
|
|
}
|
2022-12-29 05:57:46 +03:00
|
|
|
&.not-selected {
|
2023-05-10 14:40:50 +03:00
|
|
|
.label { color: var(--theme-dark-color); }
|
2022-12-29 05:57:46 +03:00
|
|
|
&:hover .label,
|
|
|
|
&:hover .icon {
|
2023-05-10 14:40:50 +03:00
|
|
|
color: var(--theme-content-color);
|
2022-12-29 05:57:46 +03:00
|
|
|
}
|
|
|
|
}
|
2022-01-31 12:07:05 +03:00
|
|
|
}
|
|
|
|
.flex-presenter {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
.inline-presenter {
|
|
|
|
display: inline-flex;
|
|
|
|
align-items: baseline;
|
2023-03-14 08:08:23 +03:00
|
|
|
margin: -.25rem 0;
|
|
|
|
|
2022-01-31 12:07:05 +03:00
|
|
|
.icon { transform: translateY(.2rem); }
|
2023-03-14 08:08:23 +03:00
|
|
|
.icon.circle { transform: translateY(.375rem); }
|
|
|
|
.avatar-container:not(.no-img) { transform: translateY(.375rem); }
|
|
|
|
.avatar-container.no-img { transform: translateY(.15rem); }
|
2022-01-31 12:07:05 +03:00
|
|
|
}
|
2021-08-30 10:17:26 +03:00
|
|
|
|
2022-04-02 07:06:48 +03:00
|
|
|
.buttons-group {
|
|
|
|
display: grid;
|
|
|
|
grid-auto-flow: column;
|
2023-03-10 03:08:04 +03:00
|
|
|
grid-auto-columns: max-content;
|
2022-06-20 17:11:14 +03:00
|
|
|
justify-content: flex-start;
|
2022-04-02 07:06:48 +03:00
|
|
|
align-items: center;
|
2022-04-21 12:38:09 +03:00
|
|
|
gap: .75rem;
|
2022-04-02 07:06:48 +03:00
|
|
|
|
|
|
|
&.reverse { direction: rtl; }
|
2022-07-06 09:12:28 +03:00
|
|
|
&.large-gap { gap: 1rem; }
|
|
|
|
&.medium-gap { gap: .75rem; }
|
2022-04-21 12:38:09 +03:00
|
|
|
&.small-gap { gap: .5rem; }
|
|
|
|
&.xsmall-gap { gap: .375rem; }
|
|
|
|
&.xxsmall-gap { gap: .25rem; }
|
|
|
|
&.short {
|
|
|
|
grid-template-columns: repeat(4, min-content);
|
|
|
|
grid-auto-flow: row;
|
|
|
|
}
|
2022-06-27 09:36:27 +03:00
|
|
|
&.tiny {
|
|
|
|
grid-template-columns: repeat(2, min-content);
|
|
|
|
grid-auto-flow: row;
|
|
|
|
}
|
2022-04-02 07:06:48 +03:00
|
|
|
}
|
2022-04-29 11:29:26 +03:00
|
|
|
.buttons-divider {
|
2023-04-23 20:37:24 +03:00
|
|
|
flex-shrink: 0;
|
2022-04-29 11:29:26 +03:00
|
|
|
width: 1px;
|
|
|
|
height: 1.5rem;
|
2023-04-23 20:37:24 +03:00
|
|
|
max-height: 1.5rem;
|
|
|
|
background-color: var(--theme-list-divider-color);
|
2022-04-29 11:29:26 +03:00
|
|
|
}
|
2022-04-02 07:06:48 +03:00
|
|
|
|
2023-03-27 09:16:20 +03:00
|
|
|
.labels-row {
|
|
|
|
display: inline-flex;
|
|
|
|
align-items: center;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
min-width: 0;
|
|
|
|
|
2023-04-05 10:04:34 +03:00
|
|
|
& > * { margin-right: 0.25rem; }
|
|
|
|
& > *:last-child { margin-right: 0; }
|
|
|
|
|
2023-03-27 09:16:20 +03:00
|
|
|
.bold {
|
|
|
|
font-weight: 500;
|
2023-04-06 19:34:14 +03:00
|
|
|
color: var(--theme-accent-color);
|
2023-03-27 09:16:20 +03:00
|
|
|
}
|
2023-04-05 10:04:34 +03:00
|
|
|
.strong { color: var(--accent-color); }
|
2023-03-27 09:16:20 +03:00
|
|
|
}
|
|
|
|
|
2022-06-20 17:11:14 +03:00
|
|
|
.gap-1, .gap-1-5 {
|
2022-04-13 07:25:59 +03:00
|
|
|
& > *:not(:last-child) { margin-right: .25rem; }
|
2021-11-25 14:09:37 +03:00
|
|
|
&.reverse {
|
|
|
|
flex-direction: row-reverse;
|
|
|
|
& > :last-child { margin-right: .25rem; }
|
|
|
|
& > :first-child { margin-right: 0; }
|
|
|
|
}
|
|
|
|
}
|
2023-05-22 06:50:44 +03:00
|
|
|
.gapV-1 > *:not(:last-child) { margin-bottom: .25rem; }
|
2022-04-02 07:06:48 +03:00
|
|
|
.gap-1-5 {
|
2023-05-15 07:12:16 +03:00
|
|
|
&:not(.reverse) > *:not(:last-child) { margin-right: .375rem; }
|
|
|
|
&.reverse > *:not(:first-child) { margin-left: .375rem; }
|
2022-04-02 07:06:48 +03:00
|
|
|
}
|
2022-02-14 11:54:03 +03:00
|
|
|
.gap-2 {
|
2023-04-25 05:59:07 +03:00
|
|
|
&:not(.reverse) > *:not(:first-child) { margin-left: .5rem; }
|
|
|
|
&.reverse > *:not(:last-child) { margin-right: .5rem; }
|
2021-11-25 14:09:37 +03:00
|
|
|
}
|
2023-05-02 06:46:47 +03:00
|
|
|
.gap-3 {
|
|
|
|
&:not(.reverse) > *:not(:first-child) { margin-left: .75rem; }
|
|
|
|
&.reverse > *:not(:last-child) { margin-right: .75rem; }
|
|
|
|
}
|
2023-04-26 21:56:24 +03:00
|
|
|
.gap-around-2 > * { margin: .25rem; }
|
2023-04-27 05:47:08 +03:00
|
|
|
.gap-around-4 > * { margin: .5rem; }
|
2021-11-25 14:09:37 +03:00
|
|
|
|
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;
|
2023-05-02 06:46:47 +03:00
|
|
|
font-size: .75rem;
|
|
|
|
color: var(--theme-darker-color);
|
2021-10-13 23:04:18 +03:00
|
|
|
cursor: pointer;
|
2023-05-02 06:46:47 +03:00
|
|
|
|
2021-10-13 23:04:18 +03:00
|
|
|
.icon {
|
|
|
|
margin-right: .25rem;
|
2023-05-02 06:46:47 +03:00
|
|
|
color: var(--theme-content-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
|
|
|
}
|
2023-05-02 06:46:47 +03:00
|
|
|
&:hover .icon { color: var(--theme-caption-color); }
|
2021-10-13 23:04:18 +03:00
|
|
|
}
|
|
|
|
|
2021-11-23 21:46:06 +03:00
|
|
|
/* Margins & Paddings */
|
2022-10-24 13:26:56 +03:00
|
|
|
.ml-0-5 { margin-left: .125rem; }
|
2021-11-25 14:09:37 +03:00
|
|
|
.ml-1 { margin-left: .25rem; }
|
2022-04-14 14:04:24 +03:00
|
|
|
.ml-1-5 { margin-left: .375rem; }
|
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-03-31 11:32:42 +03:00
|
|
|
.ml-8 { margin-left: 2rem; }
|
2022-01-26 02:30:41 +03:00
|
|
|
.ml-10 { margin-left: 2.5rem; }
|
2022-04-13 07:25:59 +03:00
|
|
|
.ml-12 { margin-left: 3rem; }
|
|
|
|
.ml-22 { margin-left: 5.5rem; }
|
2022-04-20 19:27:59 +03:00
|
|
|
.ml-auto { margin-left: auto; }
|
2021-11-02 11:45:08 +03:00
|
|
|
.mr-1 { margin-right: .25rem; }
|
2022-04-16 06:06:32 +03:00
|
|
|
.mr-1-5 { margin-right: .375rem; }
|
2021-12-06 12:12:03 +03:00
|
|
|
.mr-2 { margin-right: .5rem; }
|
2023-02-03 05:54:35 +03:00
|
|
|
.mr-2-5 { margin-right: .625rem; }
|
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-06-10 19:10:15 +03:00
|
|
|
.mr-32 { margin-right: 8rem }
|
2022-04-13 07:25:59 +03:00
|
|
|
.mt-0-5 { margin-top: .125rem; }
|
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; }
|
2022-06-07 06:23:59 +03:00
|
|
|
.mt-10px { margin-top: .625rem; }
|
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; }
|
2022-06-28 09:50:39 +03:00
|
|
|
.mt-8 { margin-top: 2rem; }
|
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; }
|
2023-01-12 22:56:35 +03:00
|
|
|
.mb-0 { margin-bottom: 0 !important; }
|
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; }
|
2022-04-05 09:19:18 +03:00
|
|
|
.mb-6 { margin-bottom: 1.5rem; }
|
2023-03-10 03:08:04 +03:00
|
|
|
.mb-8 { margin-bottom: 2rem; }
|
2022-11-09 14:24:02 +03:00
|
|
|
.mb-9 { margin-bottom: 2.25rem; }
|
2022-05-19 09:42:38 +03:00
|
|
|
.mb-10 { margin-bottom: 2.5rem; }
|
2023-04-23 20:37:24 +03:00
|
|
|
.mx-0-5 { margin: 0 .125rem; }
|
2022-04-02 07:06:48 +03:00
|
|
|
.mx-1 { margin: 0 .25rem; }
|
|
|
|
.mx-2 { margin: 0 .5rem; }
|
|
|
|
.mx-3 { margin: 0 .75rem; }
|
2023-01-13 06:10:29 +03:00
|
|
|
.mx-4 { margin: 0 1rem; }
|
2022-04-28 12:53:35 +03:00
|
|
|
.mx-10 { margin: 0 2.5rem; }
|
2022-04-26 14:19:26 +03:00
|
|
|
.mx-auto { margin: 0 auto; }
|
2022-11-18 09:45:30 +03:00
|
|
|
.my-2 { margin: .5rem 0; }
|
2023-04-27 05:47:08 +03:00
|
|
|
.my-3 { margin: .75rem 0; }
|
2022-04-13 07:25:59 +03:00
|
|
|
.my-4 { margin: 1rem 0; }
|
2023-04-23 20:37:24 +03:00
|
|
|
.my-5 { margin: 1.25rem 0; }
|
2021-10-13 23:04:18 +03:00
|
|
|
|
2023-05-04 05:43:21 +03:00
|
|
|
.m--1 { margin: -.25rem; }
|
2022-11-29 09:44:40 +03:00
|
|
|
.m-0-5 { margin: .125rem; }
|
2022-12-07 08:02:03 +03:00
|
|
|
.m-1 { margin: .25rem; }
|
2022-11-29 09:44:40 +03:00
|
|
|
|
2022-04-18 19:04:54 +03:00
|
|
|
.pl-1 { padding-left: .25rem; }
|
2022-04-13 09:44:56 +03:00
|
|
|
.pl-2 { padding-left: .5rem; }
|
2022-04-20 09:19:56 +03:00
|
|
|
.pl-3 { padding-left: .75rem; }
|
2022-04-13 09:44:56 +03:00
|
|
|
.pl-4 { padding-left: 1rem; }
|
2023-05-17 12:47:21 +03:00
|
|
|
.pl-7 { padding-left: 1.75rem; }
|
2022-04-14 19:55:56 +03:00
|
|
|
.pl-8 { padding-left: 2rem; }
|
2023-05-17 12:47:21 +03:00
|
|
|
.pl-9 { padding-left: 2.25rem; }
|
2023-04-23 20:37:24 +03:00
|
|
|
.pl-10 { padding-left: 2.5rem; }
|
2022-01-20 12:18:24 +03:00
|
|
|
.pr-1 { padding-right: .25rem; }
|
2022-04-13 09:44:56 +03:00
|
|
|
.pr-2 { padding-right: .5rem; }
|
2022-04-20 09:19:56 +03:00
|
|
|
.pr-3 { padding-right: .75rem; }
|
2022-01-20 12:18:24 +03:00
|
|
|
.pr-4 { padding-right: 1rem; }
|
2022-04-21 18:47:04 +03:00
|
|
|
.pr-8 { padding-right: 2rem; }
|
2022-02-07 12:39:23 +03:00
|
|
|
.pr-24 { padding-right: 6rem; }
|
2022-04-13 09:44:56 +03:00
|
|
|
.pt-2 { padding-top: .5rem; }
|
2022-04-20 09:19:56 +03:00
|
|
|
.pt-3 { padding-top: .75rem; }
|
2022-04-13 09:44:56 +03:00
|
|
|
.pt-4 { padding-top: 1rem; }
|
2022-06-28 09:50:39 +03:00
|
|
|
.pt-6 { padding-top: 1.5rem; }
|
2023-01-12 22:56:35 +03:00
|
|
|
.pb-1 { padding-bottom: .25rem !important; }
|
2022-04-13 09:44:56 +03:00
|
|
|
.pb-2 { padding-bottom: .5rem; }
|
2022-04-20 19:30:20 +03:00
|
|
|
.pb-3 { padding-bottom: .75rem; }
|
2022-04-13 09:44:56 +03:00
|
|
|
.pb-4 { padding-bottom: 1rem; }
|
2022-05-03 19:04:21 +03:00
|
|
|
.pb-6 { padding-bottom: 1.5rem; }
|
2022-06-10 19:10:15 +03:00
|
|
|
.pb-16 { padding-bottom: 4rem; }
|
2022-10-04 18:49:11 +03:00
|
|
|
.px-1 { padding: 0 .25rem; }
|
2022-04-27 08:50:07 +03:00
|
|
|
.px-2 { padding: 0 .5rem; }
|
2022-04-29 11:29:26 +03:00
|
|
|
.px-3 { padding: 0 .75rem; }
|
2022-04-27 08:50:07 +03:00
|
|
|
.px-4 { padding: 0 1rem; }
|
2023-05-11 10:18:33 +03:00
|
|
|
.px-6 { padding: 0 1.5rem; }
|
2023-04-23 20:37:24 +03:00
|
|
|
.px-10 { padding: 0 2.5rem; }
|
2022-06-15 15:00:32 +03:00
|
|
|
.py-1 { padding: 0.25rem 0; }
|
2022-05-05 11:29:46 +03:00
|
|
|
.py-4 { padding: 1rem 0; }
|
2022-06-28 09:50:39 +03:00
|
|
|
.py-8 { padding: 2rem 0; }
|
2022-05-03 19:04:21 +03:00
|
|
|
.py-10 { padding: 2.5rem 0; }
|
2022-01-20 12:18:24 +03:00
|
|
|
|
2022-04-20 19:27:59 +03:00
|
|
|
.p-1 { padding: .25rem; }
|
2022-04-07 08:17:43 +03:00
|
|
|
.p-2 { padding: .5rem; }
|
|
|
|
.p-3 { padding: .75rem; }
|
2022-04-09 19:00:48 +03:00
|
|
|
.p-4 { padding: 1rem; }
|
2022-04-07 08:17:43 +03:00
|
|
|
.p-6 { padding: 1.5rem; }
|
2022-02-01 12:13:01 +03:00
|
|
|
.p-10 { padding: 2.5rem; }
|
|
|
|
|
2023-01-17 04:07:05 +03:00
|
|
|
.p-text { padding: .125rem .25rem; }
|
|
|
|
.p-text-2 { padding: .25rem .5rem; }
|
|
|
|
|
|
|
|
.step-lr25 + .step-lr25 { margin-left: .25rem; }
|
|
|
|
.step-lr75 + .step-lr75 { margin-left: .75rem; }
|
|
|
|
.step-tb75 + .step-tb75 { margin-top: .75rem; }
|
|
|
|
.step-tb-6 + .step-tb-6 { margin-top: 1.5rem; }
|
|
|
|
|
|
|
|
.step-tb-2-accent + .step-tb-2-accent {
|
|
|
|
position: relative;
|
|
|
|
margin-top: .5rem;
|
|
|
|
&::before {
|
|
|
|
content: '';
|
|
|
|
position: absolute;
|
|
|
|
top: -.25rem;
|
|
|
|
left: 0;
|
|
|
|
width: 100%;
|
|
|
|
height: 1px;
|
|
|
|
background-color: var(--popup-bg-hover);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-10-13 23:04:18 +03:00
|
|
|
/* --------- */
|
2022-03-29 17:29:53 +03:00
|
|
|
.no-word-wrap { word-wrap: none; }
|
2021-10-04 17:32:27 +03:00
|
|
|
.relative { position: relative; }
|
2022-04-18 13:27:29 +03:00
|
|
|
.absolute { position: absolute; }
|
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-10-21 10:39:32 +03:00
|
|
|
.h-75p { height: 75%; }
|
2022-01-20 12:18:24 +03:00
|
|
|
.h-2 { height: .5rem; }
|
2022-11-29 09:44:40 +03:00
|
|
|
.h-3 { height: .75rem; }
|
2022-04-20 19:30:20 +03:00
|
|
|
.h-4 { height: 1rem; }
|
2023-05-16 08:42:57 +03:00
|
|
|
.h-5 { height: 1.25rem; }
|
2022-04-18 19:04:54 +03:00
|
|
|
.h-6 { height: 1.5rem; }
|
|
|
|
.h-7 { height: 1.75rem; }
|
2022-04-18 13:27:29 +03:00
|
|
|
.h-8 { height: 2rem; }
|
2022-01-20 12:18:24 +03:00
|
|
|
.h-9 { height: 2.25rem; }
|
2023-05-17 12:47:21 +03:00
|
|
|
.h-12 { height: 3rem; }
|
2022-04-29 11:29:26 +03:00
|
|
|
.h-14 { height: 3.5rem; }
|
2022-04-14 14:04:24 +03:00
|
|
|
.h-16 { height: 4rem; }
|
2022-04-08 06:01:44 +03:00
|
|
|
.h-18 { height: 4.5rem; }
|
2022-08-30 13:11:46 +03:00
|
|
|
.h-50 { height: 12.5rem; }
|
2022-09-09 06:44:33 +03:00
|
|
|
.h-60 { height: 15.0rem; }
|
2021-12-14 12:24:14 +03:00
|
|
|
.w-full { width: 100%; }
|
2022-04-18 13:27:29 +03:00
|
|
|
.w-2 { width: .5rem; }
|
2023-03-27 09:16:20 +03:00
|
|
|
.w-4 { width: 1rem; }
|
2022-04-07 08:17:43 +03:00
|
|
|
.w-9 { width: 2.25rem; }
|
2022-04-18 19:04:54 +03:00
|
|
|
.w-14 { width: 3.5rem; }
|
|
|
|
.w-16 { width: 4rem; }
|
2022-05-23 10:28:41 +03:00
|
|
|
.w-22 { width: 5.5rem; }
|
2022-04-26 14:19:26 +03:00
|
|
|
.w-24 { width: 6rem; }
|
2023-05-11 10:18:33 +03:00
|
|
|
.w-27 { width: 6.75rem; }
|
2022-06-10 19:10:15 +03:00
|
|
|
.w-32 { width: 8rem; }
|
2022-04-21 13:59:07 +03:00
|
|
|
.w-60 { width: 15rem; }
|
2022-04-18 19:04:54 +03:00
|
|
|
.w-85 { width: 21.25rem; }
|
|
|
|
.w-165 { width: 41.25rem; }
|
2021-12-20 13:18:50 +03:00
|
|
|
.min-w-0 { min-width: 0; }
|
2022-10-24 13:26:56 +03:00
|
|
|
.min-w-2 { min-width: .5rem; }
|
2022-04-12 10:59:36 +03:00
|
|
|
.min-w-4 { min-width: 1rem; }
|
2022-10-24 13:26:56 +03:00
|
|
|
.min-w-8 { min-width: 2rem; }
|
2022-04-12 10:59:36 +03:00
|
|
|
.min-w-9 { min-width: 2.25rem; }
|
2022-04-26 14:19:26 +03:00
|
|
|
.min-w-80 { min-width: 20rem; }
|
2023-01-25 05:49:07 +03:00
|
|
|
.min-w-168 { min-width: 42rem; }
|
2022-04-13 07:25:59 +03:00
|
|
|
.min-w-min { min-width: min-content; }
|
2022-04-26 14:19:26 +03:00
|
|
|
.min-h-0 { min-height: 0; }
|
2022-11-11 09:40:04 +03:00
|
|
|
.min-h-2 { min-height: .5rem; }
|
2023-04-23 20:37:24 +03:00
|
|
|
.min-h-4 { min-height: 1rem; }
|
2023-05-16 08:42:57 +03:00
|
|
|
.min-h-5 { min-height: 1.25rem; }
|
2022-05-11 20:17:38 +03:00
|
|
|
.min-h-7 { min-height: 1.75rem; }
|
2022-11-22 21:13:26 +03:00
|
|
|
.min-h-30 { min-height: 7.5rem; }
|
2022-09-09 06:44:33 +03:00
|
|
|
.min-h-60 { min-height: 15rem; }
|
2022-11-27 19:05:26 +03:00
|
|
|
.max-w-2 { max-width: .5rem; }
|
2023-03-27 09:16:20 +03:00
|
|
|
.max-w-4 { max-width: 1rem; }
|
2022-11-22 14:37:44 +03:00
|
|
|
.max-w-9 { max-width: 2.25rem; }
|
2022-09-09 06:44:33 +03:00
|
|
|
.max-w-30 { max-width: 7.5rem; }
|
2023-03-03 20:02:11 +03:00
|
|
|
.max-w-40 { max-width: 10rem; }
|
2022-04-28 13:05:28 +03:00
|
|
|
.max-w-60 { max-width: 15rem; }
|
2022-11-04 09:07:27 +03:00
|
|
|
.max-w-80 { max-width: 20rem; }
|
2022-07-05 08:38:19 +03:00
|
|
|
.max-w-240 { max-width: 60rem; }
|
2023-04-23 20:37:24 +03:00
|
|
|
.max-h-0 { max-height: 0; }
|
2022-11-11 09:40:04 +03:00
|
|
|
.max-h-2 { max-height: .5rem; }
|
2023-04-23 20:37:24 +03:00
|
|
|
.max-h-4 { max-height: 1rem; }
|
2023-04-27 05:47:08 +03:00
|
|
|
.max-h-9 { max-height: 2.25rem; }
|
2022-11-11 09:40:04 +03:00
|
|
|
.max-h-30 { max-height: 7.5rem; }
|
|
|
|
.max-h-50 { max-height: 12.5rem; }
|
|
|
|
.max-h-60 { max-height: 15rem; }
|
|
|
|
.max-h-125 { max-height: 31.25rem; }
|
2022-11-30 08:53:49 +03:00
|
|
|
.max-h-30vh { max-height: 30vh; }
|
2021-12-30 12:13:16 +03:00
|
|
|
.clear-mins {
|
|
|
|
min-width: 0;
|
|
|
|
min-height: 0;
|
|
|
|
}
|
2022-06-20 17:11:14 +03:00
|
|
|
.square-4 { width: 1rem; height: 1rem; }
|
2021-08-14 14:42:31 +03:00
|
|
|
.square-36 { width: 2.25rem; height: 2.25rem; }
|
|
|
|
|
2021-08-17 17:46:06 +03:00
|
|
|
/* --------- */
|
2023-05-05 08:21:40 +03:00
|
|
|
.svg-tiny {
|
|
|
|
width: .75rem;
|
|
|
|
height: .75rem;
|
|
|
|
}
|
2023-04-26 11:54:14 +03:00
|
|
|
.svg-16px {
|
|
|
|
width: 16px;
|
|
|
|
height: 16px;
|
|
|
|
}
|
2022-06-07 06:23:59 +03:00
|
|
|
.svg-inline {
|
|
|
|
width: 1em;
|
|
|
|
height: 1em;
|
|
|
|
}
|
2021-12-16 12:08:09 +03:00
|
|
|
.svg-x-small {
|
2023-04-23 20:37:24 +03:00
|
|
|
width: .75rem;
|
|
|
|
height: .75rem;
|
2021-12-14 12:24:14 +03:00
|
|
|
}
|
2023-05-19 05:13:35 +03:00
|
|
|
.svg-smaller {
|
|
|
|
width: .875rem;
|
|
|
|
height: .875rem;
|
|
|
|
}
|
2021-08-20 19:10:04 +03:00
|
|
|
.svg-small {
|
2023-04-23 20:37:24 +03:00
|
|
|
width: 1rem;
|
|
|
|
height: 1rem;
|
2021-08-20 19:10:04 +03:00
|
|
|
}
|
|
|
|
.svg-medium {
|
2023-04-23 20:37:24 +03:00
|
|
|
width: 1.25rem;
|
|
|
|
height: 1.25rem;
|
2021-08-20 19:10:04 +03:00
|
|
|
}
|
|
|
|
.svg-large {
|
2023-04-23 20:37:24 +03:00
|
|
|
width: 1.5rem;
|
|
|
|
height: 1.5rem;
|
2021-08-20 19:10:04 +03:00
|
|
|
}
|
2022-01-12 12:01:54 +03:00
|
|
|
.svg-full {
|
|
|
|
width: inherit;
|
|
|
|
height: inherit;
|
|
|
|
}
|
2023-05-15 07:12:16 +03:00
|
|
|
.svg-card, .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 {
|
2023-05-11 10:18:33 +03:00
|
|
|
color: var(--theme-dark-color);
|
2021-10-26 12:29:15 +03:00
|
|
|
cursor: pointer;
|
2023-05-11 10:18:33 +03:00
|
|
|
&:hover { color: var(--theme-caption-color); }
|
|
|
|
&:active { color: var(--theme-caption-color); }
|
2021-10-26 12:29:15 +03:00
|
|
|
}
|
|
|
|
|
2021-10-24 23:48:30 +03:00
|
|
|
/* Link */
|
|
|
|
a.no-line {
|
|
|
|
text-decoration: none;
|
2023-05-11 10:18:33 +03:00
|
|
|
color: var(--theme-caption-color);
|
|
|
|
&:hover { color: var(--theme-caption-color); }
|
|
|
|
&:active { color: var(--theme-caption-color); }
|
|
|
|
&:visited { color: var(--theme-caption-color); }
|
2021-10-24 23:48:30 +03:00
|
|
|
}
|
2021-11-17 18:20:30 +03:00
|
|
|
.cursor-pointer { cursor: pointer; }
|
2022-02-11 12:19:51 +03:00
|
|
|
.cursor-default { cursor: default; }
|
2023-05-10 14:40:50 +03:00
|
|
|
.cursor-inherit { cursor: inherit; }
|
2021-10-24 23:48:30 +03:00
|
|
|
|
2022-04-02 07:06:48 +03:00
|
|
|
.pointer-events-none { pointer-events: none; }
|
2023-05-15 07:12:16 +03:00
|
|
|
.content-pointer-events-none > * { pointer-events: none; }
|
2022-04-17 07:05:10 +03:00
|
|
|
.select-text { user-select: text; }
|
2023-01-29 08:44:12 +03:00
|
|
|
.select-text-i { user-select: text !important; }
|
2022-04-02 07:06:48 +03:00
|
|
|
|
2021-10-04 17:32:27 +03:00
|
|
|
/* Text */
|
2022-04-07 08:17:43 +03:00
|
|
|
|
2021-10-13 23:04:18 +03:00
|
|
|
.fs-title {
|
|
|
|
font-weight: 500;
|
|
|
|
font-size: 1rem;
|
2023-05-11 10:18:33 +03:00
|
|
|
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;
|
2023-05-11 10:18:33 +03:00
|
|
|
color: var(--theme-dark-color);
|
2021-12-16 12:08:09 +03:00
|
|
|
user-select: none;
|
|
|
|
}
|
2022-04-16 06:06:32 +03:00
|
|
|
.text-xs { font-size: .625rem; }
|
2022-04-07 08:17:43 +03:00
|
|
|
.text-sm { font-size: .75rem; }
|
|
|
|
.text-md { font-size: .8125rem; }
|
2023-02-08 07:34:31 +03:00
|
|
|
.text-normal { font-size: var(--body-font-size); }
|
2022-05-04 11:08:12 +03:00
|
|
|
.text-base {
|
|
|
|
font-size: 1rem; /* 16px */
|
|
|
|
line-height: 1.5rem; /* 24px */
|
|
|
|
}
|
2022-04-07 08:17:43 +03:00
|
|
|
.text-lg { font-size: 1.125rem; }
|
2022-05-12 14:29:49 +03:00
|
|
|
.text-xl { font-size: 1.25rem; }
|
2022-04-07 08:17:43 +03:00
|
|
|
.font-normal { font-weight: 400; }
|
|
|
|
.font-medium { font-weight: 500; }
|
2022-05-11 20:17:38 +03:00
|
|
|
.font-semi-bold { font-weight: 600; }
|
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; }
|
2023-05-03 10:32:23 +03:00
|
|
|
.lower { text-transform: lowercase; }
|
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
|
|
|
|
2022-05-11 20:17:38 +03:00
|
|
|
.text-line-through { text-decoration: line-through; }
|
|
|
|
|
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;
|
2022-03-29 17:29:53 +03:00
|
|
|
user-select: none;
|
|
|
|
min-width: auto;
|
2021-08-17 17:46:06 +03:00
|
|
|
}
|
2021-08-30 10:26:11 +03:00
|
|
|
.overflow-label {
|
|
|
|
white-space: nowrap;
|
2023-04-06 07:51:13 +03:00
|
|
|
word-break: break-all;
|
2021-08-30 10:26:11 +03:00
|
|
|
text-overflow: ellipsis;
|
|
|
|
overflow: hidden;
|
2021-12-10 12:39:58 +03:00
|
|
|
min-width: 0;
|
2022-06-10 21:25:13 +03:00
|
|
|
|
|
|
|
&.disabled { pointer-events: none; }
|
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 {
|
2023-04-23 20:37:24 +03:00
|
|
|
background-color: var(--theme-button-enabled);
|
2021-08-17 17:46:06 +03:00
|
|
|
border: 1px solid transparent;
|
|
|
|
|
2023-04-23 20:37:24 +03:00
|
|
|
& > .icon { color: var(--theme-content-color); }
|
2021-08-17 17:46:06 +03:00
|
|
|
&.selected {
|
2023-04-23 20:37:24 +03:00
|
|
|
background-color: var(--theme-button-pressed);
|
|
|
|
border: 1px solid var(--theme-button-border);
|
2021-08-17 17:46:06 +03:00
|
|
|
}
|
|
|
|
&:hover {
|
2023-04-23 20:37:24 +03:00
|
|
|
background-color: var(--theme-button-hovered);
|
|
|
|
border: 1px solid var(--theme-button-border);
|
|
|
|
& > .icon { color: var(--theme-caption-color); }
|
2021-08-17 17:46:06 +03:00
|
|
|
}
|
|
|
|
&:focus {
|
2023-04-23 20:37:24 +03:00
|
|
|
border: 1px solid var(--theme-button-border);
|
|
|
|
box-shadow: 0 0 0 2px var(--primary-button-focused-border);
|
|
|
|
& > .icon { color: var(--theme-caption-color); }
|
2021-08-17 17:46:06 +03:00
|
|
|
}
|
2022-10-13 07:54:38 +03:00
|
|
|
|
2023-04-23 20:37:24 +03:00
|
|
|
&.bordered { border-color: var(--theme-button-border); }
|
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 {
|
2023-03-10 03:08:04 +03:00
|
|
|
background-color: var(--scrollbar-bar-color);
|
|
|
|
&:hover { background-color: var(--scrollbar-bar-hover); }
|
2022-01-20 12:18:24 +03:00
|
|
|
}
|
2022-05-05 11:29:46 +03:00
|
|
|
.scroll-divider-color::-webkit-scrollbar-thumb {
|
|
|
|
background-color: var(--divider-color);
|
|
|
|
&:horizontal { border-radius: .25rem .25rem 0 0; }
|
|
|
|
&:hover { background-color: var(--popup-bg-hover); }
|
|
|
|
}
|
2022-01-20 12:18:24 +03:00
|
|
|
|
2021-08-14 14:42:31 +03:00
|
|
|
/* Backgrounds & Colors */
|
2023-05-10 14:40:50 +03:00
|
|
|
.dark-hover-content-color {
|
|
|
|
color: var(--theme-dark-color);
|
|
|
|
&:hover { color: var(--theme-content-color); }
|
|
|
|
}
|
|
|
|
.content-hover-caption-color {
|
|
|
|
color: var(--theme-content-color);
|
|
|
|
&:hover { color: var(--theme-caption-color); }
|
|
|
|
}
|
|
|
|
|
2022-04-23 06:51:42 +03:00
|
|
|
.background-body-color { background-color: var(--body-color); }
|
|
|
|
.background-accent-bg-color { background-color: var(--accent-bg-color); }
|
2022-04-28 12:53:35 +03:00
|
|
|
.background-highlight-select { background-color: var(--highlight-select); }
|
2021-08-14 14:42:31 +03:00
|
|
|
.background-highlight-red { background-color: var(--highlight-red); }
|
2022-04-12 10:59:36 +03:00
|
|
|
.background-button-bg-color { background-color: var(--button-bg-color); }
|
2022-05-11 20:17:38 +03:00
|
|
|
.background-button-noborder-bg-hover { background-color: var(--noborder-bg-hover); }
|
2021-12-30 12:13:16 +03:00
|
|
|
.background-primary-color { background-color: var(--primary-button-enabled); }
|
2023-03-13 07:19:09 +03:00
|
|
|
.background-content-accent-color { background-color: var(--accent-color); }
|
2021-08-14 14:42:31 +03:00
|
|
|
|
2023-04-23 20:37:24 +03:00
|
|
|
.content-trans-color { color: var(--theme-trans-color); }
|
2023-05-05 08:21:40 +03:00
|
|
|
.content-darker-color { color: var(--theme-darker-color); }
|
|
|
|
.content-dark-color { color: var(--theme-dark-color); }
|
|
|
|
.content-color { color: var(--theme-content-color); }
|
|
|
|
.caption-color { color: var(--theme-caption-color); }
|
2021-08-14 14:42:31 +03:00
|
|
|
|
2021-10-26 12:29:15 +03:00
|
|
|
.red-color { color: var(--highlight-red); }
|
2023-05-04 05:43:21 +03:00
|
|
|
.error-color { color: var(--theme-error-color); }
|
2021-10-26 12:29:15 +03:00
|
|
|
|
2022-04-12 10:59:36 +03:00
|
|
|
.border-radius-4 { border-radius: 1rem; }
|
|
|
|
.border-radius-3 { border-radius: 0.75rem; }
|
|
|
|
.border-radius-2 { border-radius: 0.5rem; }
|
|
|
|
.border-radius-1 { border-radius: 0.25rem; }
|
2022-05-05 09:35:26 +03:00
|
|
|
.border-radius-left-1 { border-top-left-radius: 0.25rem; border-bottom-left-radius: 0.25rem; }
|
|
|
|
.border-radius-right-1 { border-top-right-radius: 0.25rem; border-bottom-right-radius: 0.25rem; }
|
2022-05-06 20:49:28 +03:00
|
|
|
.border-radius-top-1 { border-top-right-radius: 0.25rem; border-top-left-radius: 0.25rem; }
|
2023-03-13 07:19:09 +03:00
|
|
|
.border-divider-color {border: 1px solid var(--divider-color);}
|
2021-08-14 14:42:31 +03:00
|
|
|
.border-primary-button { border-color: var(--primary-button-border); }
|
2022-04-27 08:50:07 +03:00
|
|
|
|
2022-05-27 12:21:02 +03:00
|
|
|
.top-divider { border-top: 1px solid var(--divider-color); }
|
2022-04-27 08:50:07 +03:00
|
|
|
.bottom-divider { border-bottom: 1px solid var(--divider-color); }
|
2022-04-28 12:53:35 +03:00
|
|
|
.bottom-highlight-select { border-bottom: 1px solid var(--highlight-select); }
|
2022-08-03 10:05:19 +03:00
|
|
|
.left-divider { border-left: 1px solid var(--divider-color); }
|
2022-06-09 17:55:22 +03:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.checkbox_style {
|
|
|
|
input {
|
2022-06-27 14:15:55 +03:00
|
|
|
appearance: none;
|
|
|
|
flex-shrink: 0;
|
|
|
|
display: inline-flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
width: 0.875rem;
|
|
|
|
height: 0.875rem;
|
|
|
|
border: 1px solid var(--dark-color);
|
|
|
|
border-radius: 0.25rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
input:checked {
|
|
|
|
background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><polygon fill="white" points="7.3,11.5 4,8.3 5,7.4 7.3,9.7 11.8,5.1 12.7,6.1 " /></svg>');
|
|
|
|
background-color: var(--primary-bg-color);
|
|
|
|
border-color: transparent;
|
2022-06-09 17:55:22 +03:00
|
|
|
}
|
|
|
|
}
|