2022-02-02 12:05:33 +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.
|
|
|
|
//
|
|
|
|
|
2023-12-22 10:04:56 +03:00
|
|
|
/* Typography */
|
|
|
|
.font-regular-12,
|
|
|
|
.font-medium-12,
|
2024-02-07 14:21:19 +03:00
|
|
|
.font-bold-12,
|
2023-12-22 10:04:56 +03:00
|
|
|
.font-regular-14,
|
|
|
|
.font-medium-14,
|
2023-12-27 18:35:31 +03:00
|
|
|
.font-bold-14,
|
|
|
|
.paragraph-regular-14,
|
2024-02-07 14:21:19 +03:00
|
|
|
.heading-medium-16,
|
|
|
|
.heading-medium-20,
|
|
|
|
.heading-bold-20 {
|
2023-12-22 10:04:56 +03:00
|
|
|
font-family: var(--font-family);
|
|
|
|
font-style: normal;
|
|
|
|
line-height: 1rem;
|
|
|
|
color: var(--global-primary-TextColor);
|
|
|
|
}
|
|
|
|
.font-regular-12,
|
2024-02-07 14:21:19 +03:00
|
|
|
.font-medium-12,
|
|
|
|
.font-bold-12 {
|
2023-12-22 10:04:56 +03:00
|
|
|
font-size: 0.75rem;
|
|
|
|
}
|
|
|
|
.font-regular-14,
|
|
|
|
.font-medium-14,
|
2023-12-27 18:35:31 +03:00
|
|
|
.font-bold-14,
|
|
|
|
.paragraph-regular-14 {
|
2023-12-22 10:04:56 +03:00
|
|
|
font-size: 0.875rem;
|
|
|
|
}
|
|
|
|
.font-regular-12,
|
2023-12-27 18:35:31 +03:00
|
|
|
.font-regular-14,
|
|
|
|
.paragraph-regular-14 {
|
2023-12-22 10:04:56 +03:00
|
|
|
font-weight: 400;
|
|
|
|
}
|
|
|
|
.font-medium-12,
|
|
|
|
.font-medium-14 {
|
|
|
|
font-weight: 500;
|
|
|
|
}
|
2024-02-07 14:21:19 +03:00
|
|
|
.font-bold-12,
|
|
|
|
.font-bold-14,
|
|
|
|
.heading-bold-20 {
|
2023-12-22 10:04:56 +03:00
|
|
|
font-weight: 700;
|
|
|
|
}
|
2024-02-07 14:21:19 +03:00
|
|
|
.heading-medium-16,
|
|
|
|
.heading-medium-20 {
|
|
|
|
font-weight: 500;
|
|
|
|
}
|
2023-12-27 18:35:31 +03:00
|
|
|
.heading-medium-16 {
|
|
|
|
font-size: 1rem;
|
|
|
|
line-height: 1.125rem;
|
|
|
|
}
|
2024-02-07 14:21:19 +03:00
|
|
|
.heading-medium-20,
|
|
|
|
.heading-bold-20 {
|
|
|
|
font-size: 1.25rem;
|
|
|
|
line-height: 1.5rem;
|
|
|
|
}
|
2023-12-27 18:35:31 +03:00
|
|
|
.paragraph-regular-14 {
|
|
|
|
line-height: 1.25rem;
|
|
|
|
color: var(--global-tertiary-TextColor);
|
|
|
|
}
|
2023-12-22 10:04:56 +03:00
|
|
|
|
2022-02-02 12:05:33 +03:00
|
|
|
/* Panels */
|
2022-04-27 08:50:07 +03:00
|
|
|
* {
|
2023-04-23 20:37:24 +03:00
|
|
|
--app-panel-width: 4.25rem;
|
2022-04-27 08:50:07 +03:00
|
|
|
}
|
2022-02-02 12:05:33 +03:00
|
|
|
.antiPanel-application {
|
2022-04-27 08:50:07 +03:00
|
|
|
flex-shrink: 0;
|
2022-02-02 12:05:33 +03:00
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
align-items: center;
|
2023-04-23 20:37:24 +03:00
|
|
|
background-color: var(--theme-navpanel-color);
|
|
|
|
|
2022-10-04 18:49:11 +03:00
|
|
|
&.vertical {
|
|
|
|
flex-direction: column;
|
|
|
|
min-width: var(--app-panel-width);
|
|
|
|
width: var(--app-panel-width);
|
|
|
|
height: 100%;
|
2023-04-26 11:54:14 +03:00
|
|
|
border-right: 1px solid var(--theme-navpanel-divider);
|
2022-10-04 18:49:11 +03:00
|
|
|
}
|
|
|
|
&.horizonatl {
|
|
|
|
min-height: var(--app-panel-width);
|
|
|
|
height: var(--app-panel-width);
|
|
|
|
width: 100%;
|
2023-04-26 11:54:14 +03:00
|
|
|
border-top: 1px solid var(--theme-navpanel-divider);
|
2022-10-04 18:49:11 +03:00
|
|
|
}
|
2023-04-26 21:56:24 +03:00
|
|
|
&.lastDivider { border-color: var(--theme-navpanel-border); }
|
2022-02-02 12:05:33 +03:00
|
|
|
}
|
2023-05-22 06:50:44 +03:00
|
|
|
.normal-font .antiPanel-application .app .icon-container.noty { clip-path: url(#notify-normal); }
|
|
|
|
.small-font .antiPanel-application .app .icon-container.noty { clip-path: url(#notify-small); }
|
|
|
|
|
2022-02-02 12:05:33 +03:00
|
|
|
.antiPanel-navigator,
|
|
|
|
.antiPanel-component {
|
|
|
|
display: flex;
|
|
|
|
height: 100%;
|
2023-05-31 09:41:21 +03:00
|
|
|
min-height: 0;
|
2023-04-23 20:37:24 +03:00
|
|
|
|
2023-06-02 10:10:26 +03:00
|
|
|
&.header { background-color: var(--theme-comp-header-color); }
|
2023-04-23 20:37:24 +03:00
|
|
|
&.filled { background-color: var(--theme-bg-color); }
|
2023-12-27 18:35:31 +03:00
|
|
|
&.filledNav { background-color: var(--theme-navpanel-color) !important; }
|
2023-04-23 20:37:24 +03:00
|
|
|
&.border-left { border-left: 1px solid var(--theme-divider-color); }
|
|
|
|
&.border-right { border-right: 1px solid var(--theme-divider-color); }
|
2022-02-02 12:05:33 +03:00
|
|
|
}
|
|
|
|
.antiPanel-navigator {
|
2022-07-07 05:13:45 +03:00
|
|
|
position: relative;
|
2023-10-23 07:09:10 +03:00
|
|
|
min-width: 12.5rem;
|
|
|
|
max-width: 22.5rem;
|
2023-04-05 10:14:32 +03:00
|
|
|
width: 17.5rem;
|
2023-04-23 20:37:24 +03:00
|
|
|
background-color: var(--theme-navpanel-color);
|
2022-07-07 05:13:45 +03:00
|
|
|
}
|
2023-10-27 09:11:48 +03:00
|
|
|
|
2022-07-07 05:13:45 +03:00
|
|
|
@media (max-width: 1024px) {
|
|
|
|
.antiPanel-navigator {
|
2022-04-27 08:50:07 +03:00
|
|
|
position: fixed;
|
2023-04-23 20:37:24 +03:00
|
|
|
top: var(--status-bar-height);
|
|
|
|
height: calc(100% - var(--status-bar-height));
|
|
|
|
background-color: var(--theme-navpanel-color);
|
2022-04-27 08:50:07 +03:00
|
|
|
filter: drop-shadow(2px 0 1px rgba(0, 0, 0, .2));
|
|
|
|
z-index: 450;
|
2022-10-04 18:49:11 +03:00
|
|
|
|
|
|
|
&.portrait {
|
|
|
|
left: 0;
|
|
|
|
}
|
|
|
|
&.landscape {
|
2023-04-23 20:37:24 +03:00
|
|
|
left: var(--app-panel-width);
|
2022-10-04 18:49:11 +03:00
|
|
|
}
|
2022-04-27 08:50:07 +03:00
|
|
|
}
|
2022-02-02 12:05:33 +03:00
|
|
|
}
|
2023-10-27 09:11:48 +03:00
|
|
|
.antiPanel-component {
|
|
|
|
overflow: hidden;
|
|
|
|
flex-direction: column;
|
2022-04-28 12:53:35 +03:00
|
|
|
flex-grow: 1;
|
|
|
|
}
|
2023-10-27 09:11:48 +03:00
|
|
|
.antiPanel-component:not(.aside) { background-color: var(--theme-bg-color); }
|
2022-04-19 13:16:33 +03:00
|
|
|
.antiPanel-component.aside {
|
|
|
|
min-width: 30rem;
|
|
|
|
width: 30rem;
|
|
|
|
max-width: 30rem;
|
|
|
|
}
|
2022-02-02 12:05:33 +03:00
|
|
|
|
2023-10-27 09:11:48 +03:00
|
|
|
.antiPanel-wrap__content {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
min-width: 0;
|
|
|
|
min-height: 0;
|
|
|
|
|
|
|
|
&.hidden { overflow: hidden; }
|
|
|
|
}
|
|
|
|
|
2022-02-02 12:05:33 +03:00
|
|
|
/* Navigation */
|
2022-02-03 12:16:15 +03:00
|
|
|
.antiNav-header {
|
|
|
|
display: flex;
|
2023-10-23 07:09:10 +03:00
|
|
|
align-items: center;
|
|
|
|
flex-shrink: 0;
|
|
|
|
margin: .75rem;
|
|
|
|
padding: 0 .75rem;
|
|
|
|
height: 2rem;
|
|
|
|
font-weight: 500;
|
|
|
|
font-size: 1.125rem;
|
|
|
|
color: var(--theme-content-color);
|
2022-02-03 12:16:15 +03:00
|
|
|
}
|
2022-04-02 07:06:48 +03:00
|
|
|
.antiNav-subheader {
|
|
|
|
display: flex;
|
|
|
|
justify-content: stretch;
|
|
|
|
align-items: stretch;
|
2023-10-23 07:09:10 +03:00
|
|
|
margin: 0 .75rem .75rem;
|
|
|
|
height: 2rem;
|
2022-04-02 07:06:48 +03:00
|
|
|
}
|
2023-10-23 07:09:10 +03:00
|
|
|
|
2022-02-04 13:02:56 +03:00
|
|
|
.antiNav-element {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2023-10-23 07:09:10 +03:00
|
|
|
flex-shrink: 0;
|
|
|
|
margin: 0 .75rem;
|
|
|
|
padding: 0 .75rem;
|
|
|
|
height: 2rem;
|
2023-04-05 10:14:32 +03:00
|
|
|
min-width: 0;
|
2023-10-23 07:09:10 +03:00
|
|
|
border-radius: .375rem;
|
2022-02-04 13:02:56 +03:00
|
|
|
cursor: pointer;
|
2023-10-23 07:09:10 +03:00
|
|
|
|
2022-02-04 13:02:56 +03:00
|
|
|
.an-element__icon {
|
2023-07-10 11:01:59 +03:00
|
|
|
flex-shrink: 0;
|
2023-10-23 07:09:10 +03:00
|
|
|
margin-right: .5rem;
|
2023-05-05 08:21:40 +03:00
|
|
|
color: var(--theme-dark-color);
|
2023-04-05 10:14:32 +03:00
|
|
|
|
2023-10-23 07:09:10 +03:00
|
|
|
&.folder {
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
width: 1.25rem;
|
|
|
|
height: 1.25rem;
|
|
|
|
background-color: var(--theme-navpanel-selected);
|
|
|
|
border-radius: .25rem;
|
2023-07-07 08:34:41 +03:00
|
|
|
}
|
2022-02-04 13:02:56 +03:00
|
|
|
}
|
|
|
|
.an-element__label {
|
2023-07-07 08:34:41 +03:00
|
|
|
overflow: hidden;
|
|
|
|
min-width: 0;
|
2022-02-04 13:02:56 +03:00
|
|
|
white-space: nowrap;
|
|
|
|
text-overflow: ellipsis;
|
2023-10-23 07:09:10 +03:00
|
|
|
color: var(--theme-content-color);
|
2023-04-05 10:14:32 +03:00
|
|
|
|
2023-10-23 07:09:10 +03:00
|
|
|
&.title {
|
|
|
|
font-weight: 500;
|
|
|
|
font-size: .625rem;
|
|
|
|
letter-spacing: 1px;
|
|
|
|
text-transform: uppercase;
|
2022-04-02 07:06:48 +03:00
|
|
|
}
|
2023-10-24 06:00:10 +03:00
|
|
|
&:not(.title) { font-size: .8125rem; }
|
2022-04-06 08:35:52 +03:00
|
|
|
&.bold {
|
|
|
|
font-weight: 600;
|
2023-05-05 08:21:40 +03:00
|
|
|
color: var(--theme-caption-color);
|
2022-04-06 08:35:52 +03:00
|
|
|
}
|
2022-04-02 07:06:48 +03:00
|
|
|
}
|
2023-10-23 07:09:10 +03:00
|
|
|
.an-element__tool {
|
2023-09-22 09:56:33 +03:00
|
|
|
flex-shrink: 0;
|
2023-04-05 10:14:32 +03:00
|
|
|
width: 1rem;
|
|
|
|
height: 1rem;
|
2023-10-23 07:09:10 +03:00
|
|
|
border-radius: .25rem;
|
|
|
|
|
|
|
|
&.arrow {
|
|
|
|
color: var(--theme-trans-color);
|
|
|
|
|
|
|
|
&.hidden { display: none; }
|
|
|
|
& > * {
|
|
|
|
transform-origin: center;
|
|
|
|
transform: rotate(0deg);
|
|
|
|
transition: transform .2s ease;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
&:not(.arrow) {
|
|
|
|
display: none;
|
|
|
|
margin-left: .5rem;
|
|
|
|
color: var(--theme-dark-color);
|
|
|
|
|
|
|
|
& + & { margin-left: .125rem; }
|
|
|
|
}
|
2022-04-02 07:06:48 +03:00
|
|
|
|
2023-10-23 07:09:10 +03:00
|
|
|
&:hover, &.pressed { color: var(--theme-caption-color); }
|
|
|
|
&:hover { background-color: var(--theme-button-hovered); }
|
|
|
|
&.pressed { background-color: var(--theme-button-pressed); }
|
2022-02-04 13:02:56 +03:00
|
|
|
}
|
2023-10-23 07:09:10 +03:00
|
|
|
.an-element__grow {
|
|
|
|
flex-grow: 1;
|
|
|
|
min-width: 0;
|
2022-02-04 13:02:56 +03:00
|
|
|
}
|
2023-10-23 07:09:10 +03:00
|
|
|
|
|
|
|
&.indent:not(.tree, .parent) { padding-left: 2.5rem; }
|
|
|
|
&:not(.tree) {
|
|
|
|
.an-element__tool.arrow {
|
|
|
|
margin-left: .25rem;
|
|
|
|
// background-color: transparent !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
&.tree {
|
|
|
|
.an-element__icon { margin-right: .375rem; }
|
|
|
|
.an-element__tool.arrow { margin-right: .125rem; }
|
|
|
|
.an-element__tool.arrow.empty { background-color: transparent !important; }
|
2022-02-04 13:02:56 +03:00
|
|
|
}
|
|
|
|
|
2023-10-23 07:09:10 +03:00
|
|
|
&:not(.tree):hover, &:not(.tree).hovered, &:not(.tree).selected {
|
2023-04-05 10:14:32 +03:00
|
|
|
.an-element__icon,
|
2023-10-23 07:09:10 +03:00
|
|
|
.an-element__label { color: var(--theme-caption-color); }
|
|
|
|
}
|
|
|
|
&:hover, &.hovered, &.selected {
|
|
|
|
.an-element__icon.folder { background-color: transparent; }
|
|
|
|
.an-element__tool,
|
|
|
|
.an-element__tool.hidden { display: block; }
|
2022-02-04 13:02:56 +03:00
|
|
|
}
|
2023-04-23 20:37:24 +03:00
|
|
|
&:hover, &.hovered { background-color: var(--theme-navpanel-hovered); }
|
|
|
|
&.selected { background-color: var(--theme-navpanel-selected); }
|
2023-10-23 07:09:10 +03:00
|
|
|
&.collapsed .an-element__tool.arrow > * { transform: rotate(-90deg); }
|
2022-04-02 07:06:48 +03:00
|
|
|
|
2023-10-23 07:09:10 +03:00
|
|
|
.an-element__counter {
|
|
|
|
margin-left: .75rem;
|
|
|
|
font-weight: 600;
|
|
|
|
font-size: .75rem;
|
|
|
|
color: var(--theme-content-color);
|
2022-02-04 13:02:56 +03:00
|
|
|
}
|
|
|
|
|
2023-10-23 07:09:10 +03:00
|
|
|
&__dropbox { height: auto; }
|
2023-03-03 19:56:04 +03:00
|
|
|
|
|
|
|
&.disabled {
|
|
|
|
cursor: not-allowed;
|
|
|
|
|
2023-10-23 07:09:10 +03:00
|
|
|
.an-element__icon { opacity: .5; }
|
|
|
|
.an-element__label { color: rgb(var(--theme-caption-color) / 40%); }
|
2023-03-03 19:56:04 +03:00
|
|
|
}
|
2022-02-04 13:02:56 +03:00
|
|
|
}
|
2022-02-02 12:05:33 +03:00
|
|
|
.antiNav-divider {
|
|
|
|
flex-shrink: 0;
|
2023-04-05 10:14:32 +03:00
|
|
|
margin: .5rem 0;
|
2022-02-02 12:05:33 +03:00
|
|
|
height: 1px;
|
2022-07-02 07:03:25 +03:00
|
|
|
|
2023-04-23 20:37:24 +03:00
|
|
|
&.line { background-color: var(--theme-navpanel-divider); }
|
2022-07-02 07:03:25 +03:00
|
|
|
&.short { margin: .25rem 1rem; }
|
2022-02-02 12:05:33 +03:00
|
|
|
}
|
|
|
|
.antiNav-space {
|
|
|
|
flex-shrink: 0;
|
2023-04-05 10:14:32 +03:00
|
|
|
height: .5rem;
|
|
|
|
}
|
|
|
|
.antiNav-footer-line {
|
|
|
|
flex-shrink: 0;
|
|
|
|
width: 100%;
|
|
|
|
height: 1px;
|
2023-04-23 20:37:24 +03:00
|
|
|
background-color: var(--theme-navpanel-divider);
|
2023-04-05 10:14:32 +03:00
|
|
|
}
|
|
|
|
.antiNav-footer-grower {
|
|
|
|
flex-shrink: 10;
|
|
|
|
flex-grow: 1;
|
|
|
|
min-height: 0;
|
2022-02-02 12:05:33 +03:00
|
|
|
}
|
2022-10-20 05:45:57 +03:00
|
|
|
.antiNav-footer {
|
|
|
|
display: flex;
|
2023-04-05 10:14:32 +03:00
|
|
|
flex-direction: column;
|
2023-10-24 06:00:10 +03:00
|
|
|
padding: .5rem 0 1.25rem;
|
2022-10-20 05:45:57 +03:00
|
|
|
}
|
2022-04-29 11:29:26 +03:00
|
|
|
|
2023-11-06 13:11:30 +03:00
|
|
|
/* Statusbar - Popup */
|
|
|
|
.statusPopup-option {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: center;
|
|
|
|
min-width: 0;
|
|
|
|
min-height: 0;
|
|
|
|
|
|
|
|
&:not(:last-child) { margin-right: 12px; }
|
|
|
|
|
|
|
|
.label {
|
|
|
|
margin-top: .5rem;
|
|
|
|
font-weight: 500;
|
|
|
|
font-size: 12px;
|
|
|
|
color: var(--theme-darker-color);
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover .label { color: var(--theme-dark-color); }
|
|
|
|
&.selected .label {
|
|
|
|
font-weight: 600;
|
|
|
|
color: var(--theme-content-color);
|
|
|
|
}
|
|
|
|
&:not(.selected) { cursor: pointer; }
|
|
|
|
}
|
|
|
|
|
2023-05-26 06:02:47 +03:00
|
|
|
/* Basic */
|
|
|
|
.antiGrid {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
flex-shrink: 0;
|
|
|
|
min-width: 0;
|
|
|
|
min-height: 0;
|
|
|
|
|
|
|
|
&-row {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
min-width: 0;
|
|
|
|
|
|
|
|
&__header {
|
|
|
|
width: 15rem;
|
|
|
|
padding-right: 1rem;
|
|
|
|
color: var(--theme-caption-color);
|
|
|
|
|
|
|
|
&.withDesciption {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
min-width: 0;
|
|
|
|
min-height: 0;
|
|
|
|
|
|
|
|
span {
|
|
|
|
font-size: .75rem;
|
|
|
|
color: var(--theme-halfcontent-color);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
&.topAlign {
|
|
|
|
align-self: flex-start;
|
|
|
|
margin-top: .75rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.padding {
|
|
|
|
flex-grow: 1;
|
|
|
|
padding: .75rem 0;
|
|
|
|
}
|
|
|
|
&:not(:last-child) { margin-bottom: .5rem; }
|
|
|
|
& > *:not(.padding, .topAlign) { margin: .25rem 0; }
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-04-29 11:29:26 +03:00
|
|
|
/* Basic */
|
|
|
|
.antiTitle {
|
2022-05-05 11:29:46 +03:00
|
|
|
.icon-wrapper, &.icon-wrapper,
|
|
|
|
.title-wrapper, &.title-wrapper {
|
2022-04-29 11:29:26 +03:00
|
|
|
display: flex;
|
|
|
|
flex-wrap: nowrap;
|
|
|
|
min-width: 0;
|
|
|
|
}
|
2022-05-05 11:29:46 +03:00
|
|
|
.title-wrapper, &.title-wrapper {
|
2022-04-29 11:29:26 +03:00
|
|
|
flex-direction: column;
|
|
|
|
flex-grow: 1;
|
|
|
|
}
|
2022-05-05 11:29:46 +03:00
|
|
|
.icon-wrapper, &.icon-wrapper { align-items: center; }
|
2022-04-29 11:29:26 +03:00
|
|
|
|
2022-05-05 11:29:46 +03:00
|
|
|
.wrapped-icon, &.wrapped-icon {
|
2022-04-29 11:29:26 +03:00
|
|
|
margin-right: .75rem;
|
2023-09-05 18:16:27 +03:00
|
|
|
color: var(--theme-content-color);
|
2022-04-29 11:29:26 +03:00
|
|
|
}
|
2022-05-05 11:29:46 +03:00
|
|
|
.wrapped-title, &.wrapped-title {
|
2022-04-29 11:29:26 +03:00
|
|
|
min-width: 0;
|
|
|
|
font-weight: 500;
|
|
|
|
font-size: 1rem;
|
2023-09-05 18:16:27 +03:00
|
|
|
color: var(--theme-caption-color);
|
2022-04-29 11:29:26 +03:00
|
|
|
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
2022-05-05 11:29:46 +03:00
|
|
|
.wrapped-subtitle, &.wrapped-subtitle {
|
2022-04-29 11:29:26 +03:00
|
|
|
min-width: 0;
|
|
|
|
font-size: 0.75rem;
|
2023-09-05 18:16:27 +03:00
|
|
|
color: var(--theme-dark-color);
|
2022-04-29 11:29:26 +03:00
|
|
|
|
|
|
|
overflow: hidden;
|
|
|
|
visibility: visible;
|
|
|
|
display: -webkit-box;
|
|
|
|
/* autoprefixer: ignore next */
|
|
|
|
-webkit-box-orient: vertical;
|
|
|
|
-webkit-line-clamp: 2;
|
|
|
|
line-clamp: 2;
|
2022-05-12 14:29:49 +03:00
|
|
|
user-select: text;
|
2022-05-05 11:29:46 +03:00
|
|
|
|
2023-09-05 18:16:27 +03:00
|
|
|
b { color: var(--theme-content-color); }
|
2022-04-29 11:29:26 +03:00
|
|
|
}
|
|
|
|
}
|
2022-05-12 14:29:49 +03:00
|
|
|
|
2023-06-08 18:58:14 +03:00
|
|
|
.antiMention {
|
|
|
|
display: inline-flex;
|
|
|
|
padding: 0 .25rem;
|
|
|
|
width: fit-content;
|
|
|
|
color: var(--theme-link-color);
|
|
|
|
background-color: var(--theme-mention-bg-color);
|
|
|
|
border-radius: .25rem;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
2022-05-12 14:29:49 +03:00
|
|
|
.antiDivider {
|
|
|
|
margin: .25rem 0;
|
|
|
|
min-height: 1px;
|
|
|
|
height: 1px;
|
2023-04-23 20:37:24 +03:00
|
|
|
background-color: var(--theme-divider-color);
|
2023-01-17 04:07:05 +03:00
|
|
|
|
2023-07-10 11:01:59 +03:00
|
|
|
&.dark { background-color: var(--theme-bg-accent-color); }
|
2023-01-17 04:07:05 +03:00
|
|
|
&.noMargin { margin: 0; }
|
2023-06-29 07:29:12 +03:00
|
|
|
& + & { display: none; }
|
2022-05-12 14:29:49 +03:00
|
|
|
}
|
2022-06-07 06:23:59 +03:00
|
|
|
|
2023-05-30 12:57:41 +03:00
|
|
|
.antiHSpacer {
|
|
|
|
flex-shrink: 0;
|
|
|
|
width: .25rem;
|
|
|
|
|
|
|
|
&:not(.withMargins) { margin: 0 !important; }
|
|
|
|
|
|
|
|
&.x1-5 { width: .375rem; }
|
|
|
|
&.x2 { width: .5rem; }
|
|
|
|
&.x3 { width: .75rem; }
|
|
|
|
&.x4 { width: 1rem; }
|
|
|
|
}
|
|
|
|
|
2023-08-17 07:01:33 +03:00
|
|
|
.antiVSpacer {
|
|
|
|
flex-shrink: 0;
|
|
|
|
height: .25rem;
|
|
|
|
|
|
|
|
&:not(.withMargins) { margin: 0 !important; }
|
|
|
|
|
2023-08-25 12:49:14 +03:00
|
|
|
&.x0-5 { height: .125rem; }
|
2023-08-17 07:01:33 +03:00
|
|
|
&.x1-5 { height: .375rem; }
|
|
|
|
&.x2 { height: .5rem; }
|
|
|
|
&.x3 { height: .75rem; }
|
|
|
|
&.x4 { height: 1rem; }
|
|
|
|
&.x7 { height: 1.75rem; }
|
|
|
|
}
|
|
|
|
|
2022-06-28 09:50:39 +03:00
|
|
|
.antiSection {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
flex-shrink: 0;
|
|
|
|
min-height: 0;
|
|
|
|
|
|
|
|
&-header {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
height: 2.5rem;
|
|
|
|
min-height: 2.5rem;
|
2023-06-29 07:29:12 +03:00
|
|
|
border-bottom: 1px solid var(--theme-divider-color);
|
2023-03-27 09:16:20 +03:00
|
|
|
|
|
|
|
&.high {
|
|
|
|
padding-right: 1rem;
|
|
|
|
height: 3.5rem;
|
|
|
|
min-height: 3.5rem;
|
|
|
|
}
|
2022-06-28 09:50:39 +03:00
|
|
|
&__icon {
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
margin-right: .5rem;
|
|
|
|
height: 2rem;
|
2023-06-29 07:29:12 +03:00
|
|
|
color: var(--theme-caption-color);
|
2022-06-28 09:50:39 +03:00
|
|
|
}
|
|
|
|
&__title {
|
2023-02-08 07:34:31 +03:00
|
|
|
min-width: 0;
|
|
|
|
font-size: 1rem;
|
|
|
|
color: var(--caption-color);
|
|
|
|
|
|
|
|
&:not(.short) { flex-grow: 1; }
|
|
|
|
}
|
|
|
|
&__header {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2022-06-28 09:50:39 +03:00
|
|
|
flex-grow: 1;
|
2023-02-08 07:34:31 +03:00
|
|
|
margin: 0 .5rem 0 .75rem;
|
|
|
|
padding: .25rem .75rem;
|
|
|
|
height: 100%;
|
2022-06-28 09:50:39 +03:00
|
|
|
min-width: 0;
|
|
|
|
font-weight: 500;
|
|
|
|
font-size: 1rem;
|
2023-06-29 07:29:12 +03:00
|
|
|
color: var(--theme-caption-color);
|
2023-02-08 07:34:31 +03:00
|
|
|
background: var(--header-bg-color);
|
|
|
|
border-radius: .5rem .5rem 0 0;
|
2022-06-28 09:50:39 +03:00
|
|
|
}
|
2023-02-08 07:34:31 +03:00
|
|
|
&__counter {
|
2023-04-23 20:37:24 +03:00
|
|
|
color: var(--theme-darker-color);
|
2023-02-08 07:34:31 +03:00
|
|
|
}
|
2023-02-03 05:54:35 +03:00
|
|
|
&__tag {
|
2023-03-27 09:16:20 +03:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
padding: .3125rem .5rem;
|
2023-02-03 05:54:35 +03:00
|
|
|
min-width: 0;
|
2023-03-27 09:16:20 +03:00
|
|
|
font-size: .875rem;
|
2023-07-06 10:01:27 +03:00
|
|
|
background-color: var(--theme-button-default);
|
2023-05-04 05:43:21 +03:00
|
|
|
color: var(--theme-halfcontent-color);
|
|
|
|
border: 1px solid var(--theme-button-border);
|
2023-02-03 05:54:35 +03:00
|
|
|
border-radius: .25rem;
|
|
|
|
|
2023-03-27 09:16:20 +03:00
|
|
|
.tag-icon {
|
|
|
|
margin-left: .5rem;
|
|
|
|
width: 1rem;
|
|
|
|
height: 1rem;
|
2023-05-04 05:43:21 +03:00
|
|
|
color: var(--theme-content-color);
|
2023-03-27 09:16:20 +03:00
|
|
|
|
2023-05-04 05:43:21 +03:00
|
|
|
&:hover { color: var(--theme-caption-color); }
|
2023-03-27 09:16:20 +03:00
|
|
|
}
|
|
|
|
|
2023-05-04 05:43:21 +03:00
|
|
|
&.highlight { color: var(--theme-content-color); }
|
2023-02-03 05:54:35 +03:00
|
|
|
}
|
2023-03-27 09:16:20 +03:00
|
|
|
&__tag + &__tag { margin-left: .375rem; }
|
2022-06-28 09:50:39 +03:00
|
|
|
}
|
2022-12-20 07:27:02 +03:00
|
|
|
.invisible { display: none; }
|
2022-06-28 09:50:39 +03:00
|
|
|
&-empty {
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
padding: 1rem;
|
|
|
|
font-size: .75rem;
|
|
|
|
color: var(--dark-color);
|
|
|
|
border: 1px dashed var(--divider-color);
|
|
|
|
border-radius: 0.75rem;
|
|
|
|
|
|
|
|
&.solid { border-style: solid; }
|
|
|
|
&.items {
|
|
|
|
justify-content: start;
|
|
|
|
padding: .75rem;
|
|
|
|
}
|
|
|
|
&.solid.attachments {
|
|
|
|
background-color: var(--accent-bg-color);
|
|
|
|
|
|
|
|
.item { border-style: solid; }
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-06-07 06:23:59 +03:00
|
|
|
// Button on selected card in Kanban
|
|
|
|
.card-container.checked .button.inline.link-bordered {
|
|
|
|
background-color: var(--highlight-select);
|
|
|
|
border-color: var(--highlight-select-border);
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background-color: var(--highlight-select-hover);
|
|
|
|
border-color: var(--highlight-select-border);
|
|
|
|
}
|
|
|
|
}
|
2022-07-06 09:12:28 +03:00
|
|
|
|
2023-05-24 13:27:57 +03:00
|
|
|
// Indented
|
|
|
|
.antiIndented {
|
|
|
|
margin: .75rem;
|
|
|
|
border-radius: .25rem;
|
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&.focusable:focus-within {
|
|
|
|
border-color: var(--theme-divider-color);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-12-07 08:02:03 +03:00
|
|
|
// Emphasized
|
|
|
|
.antiEmphasized {
|
|
|
|
padding: .75rem;
|
2023-04-23 20:37:24 +03:00
|
|
|
background-color: var(--theme-comp-header-color);
|
2023-04-25 05:59:07 +03:00
|
|
|
border: 1px solid var(--theme-popup-divider);
|
|
|
|
border-radius: .25rem;
|
2022-12-07 08:02:03 +03:00
|
|
|
transition-property: border, background-color;
|
|
|
|
transition-duration: .15s;
|
|
|
|
transition-timing-function: var(--timing-main);
|
|
|
|
|
|
|
|
&:hover,
|
2023-05-24 13:27:57 +03:00
|
|
|
&.focusable:focus-within {
|
2023-07-10 11:01:59 +03:00
|
|
|
// background-color: var(--theme-bg-color);
|
2023-04-23 20:37:24 +03:00
|
|
|
border-color: var(--theme-list-divider-color);
|
2022-12-07 08:02:03 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-12-12 07:39:03 +03:00
|
|
|
// Accordion
|
|
|
|
.antiAccordion {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
min-width: 0;
|
|
|
|
min-height: 0;
|
|
|
|
|
|
|
|
.description {
|
|
|
|
// overflow: hidden;
|
|
|
|
padding: 0.75rem;
|
2023-07-10 11:01:59 +03:00
|
|
|
background-color: var(--theme-bg-color);
|
|
|
|
border: 1px solid var(--theme-divider-color);
|
2022-12-12 07:39:03 +03:00
|
|
|
// border-radius: .5rem;
|
|
|
|
transition-property: background-color, height;
|
|
|
|
transition-duration: .15s;
|
|
|
|
transition-timing-function: var(--timing-main);
|
|
|
|
|
2023-07-10 11:01:59 +03:00
|
|
|
.label { color: var(--theme-dark-color); }
|
2022-12-12 07:39:03 +03:00
|
|
|
.caption {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
white-space: nowrap;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
overflow: hidden;
|
|
|
|
margin: -.5rem;
|
|
|
|
padding: .5rem .5rem .5rem 1rem;
|
|
|
|
margin-bottom: 1rem;
|
|
|
|
min-width: 0;
|
|
|
|
|
|
|
|
font-weight: 500;
|
|
|
|
font-size: 1rem;
|
2023-07-10 11:01:59 +03:00
|
|
|
color: var(--theme-caption-color);
|
|
|
|
background-color: var(--theme-comp-header-color);
|
2022-12-12 07:39:03 +03:00
|
|
|
border: 1px solid transparent;
|
|
|
|
border-radius: .125rem;
|
|
|
|
transition: margin-bottom .15s var(--timing-main),
|
|
|
|
border-radius .3s var(--timing-main),
|
|
|
|
box-shadow .15s var(--timing-main);
|
|
|
|
box-shadow: 0 0 .25rem .125rem #00000020;
|
|
|
|
// cursor: pointer;
|
|
|
|
z-index: 1;
|
|
|
|
|
|
|
|
.value {
|
|
|
|
overflow: auto;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
flex-grow: 1;
|
|
|
|
margin: 0 .5rem;
|
|
|
|
max-height: 1.5rem;
|
|
|
|
font-weight: 400;
|
|
|
|
transition: opacity .15s var(--timing-main);
|
2022-12-14 07:53:37 +03:00
|
|
|
|
|
|
|
&::-webkit-scrollbar:vertical { width: 0; }
|
|
|
|
&::-webkit-scrollbar:horizontal { height: 0; }
|
2022-12-12 07:39:03 +03:00
|
|
|
}
|
|
|
|
.rotated-icon {
|
|
|
|
transform-origin: center;
|
2022-12-20 07:27:02 +03:00
|
|
|
transition: transform .15s var(--timing-main);
|
2022-12-12 07:39:03 +03:00
|
|
|
|
|
|
|
&.opened { transform: rotate(0deg); }
|
|
|
|
&.closed { transform: rotate(90deg); }
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.opened {
|
|
|
|
.caption .value { opacity: 0; }
|
2022-12-14 07:53:37 +03:00
|
|
|
.expand-collapse .expand-collapse,
|
2022-12-12 07:39:03 +03:00
|
|
|
.expand-collapse {
|
|
|
|
visibility: visible;
|
|
|
|
max-height: max-content;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
&.closed {
|
|
|
|
.caption {
|
|
|
|
margin-bottom: -.5rem;
|
|
|
|
|
|
|
|
.value { opacity: 1; }
|
2022-12-14 07:53:37 +03:00
|
|
|
&.hasAttachments { margin-bottom: 0; }
|
2022-12-12 07:39:03 +03:00
|
|
|
}
|
2022-12-14 07:53:37 +03:00
|
|
|
.expand-collapse .expand-collapse,
|
|
|
|
.expand-collapse:not(.hasAttachments) {
|
2022-12-12 07:39:03 +03:00
|
|
|
overflow: hidden;
|
|
|
|
visibility: hidden;
|
|
|
|
max-height: 0;
|
|
|
|
}
|
2022-12-20 07:27:02 +03:00
|
|
|
&:hover .caption.hasAttachments { margin-bottom: .5rem; }
|
2022-12-12 07:39:03 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
&:first-child {
|
|
|
|
border-top-left-radius: .75rem;
|
|
|
|
border-top-right-radius: .75rem;
|
|
|
|
}
|
|
|
|
&:first-child .caption {
|
|
|
|
border-top-left-radius: .65rem;
|
|
|
|
border-top-right-radius: .65rem;
|
|
|
|
}
|
|
|
|
&:last-child {
|
|
|
|
border-bottom-left-radius: .75rem;
|
|
|
|
border-bottom-right-radius: .75rem;
|
|
|
|
}
|
|
|
|
&:last-child.closed .caption {
|
|
|
|
border-bottom-left-radius: .65rem;
|
|
|
|
border-bottom-right-radius: .65rem;
|
|
|
|
}
|
2022-12-20 07:27:02 +03:00
|
|
|
&:last-child:not(:first-child),
|
2022-12-12 07:39:03 +03:00
|
|
|
&:not(:first-child):not(:last-child) { border-top: none; }
|
|
|
|
|
|
|
|
&:hover,
|
2023-07-10 11:01:59 +03:00
|
|
|
&:focus-within { background-color: var(--theme-bg-color); }
|
2023-10-24 06:00:10 +03:00
|
|
|
// &:focus-within .caption { box-shadow: 0 0 2px 1px var(--primary-button-outline); }
|
|
|
|
&:focus-within .caption { border-color: var(--primary-button-outline); }
|
2022-12-12 07:39:03 +03:00
|
|
|
}
|
|
|
|
}
|
2023-01-30 05:55:35 +03:00
|
|
|
|
|
|
|
// Consecutive messages in Telegram (incomung/outcoming)
|
|
|
|
.message-row-bg[data-type="in"] + .message-row-bg[data-type="in"] .message-row .message-container {
|
|
|
|
padding-top: 0;
|
|
|
|
.message { border-radius: 0.125rem 0.75rem 0.75rem 0.125rem; }
|
|
|
|
}
|
|
|
|
.message-row-bg[data-type="out"] + .message-row-bg[data-type="out"] .message-row .message-container {
|
|
|
|
padding-top: 0;
|
|
|
|
.message.outcoming { border-radius: 0.75rem 0.125rem 0.125rem 0.75rem; }
|
|
|
|
}
|