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.
|
|
|
|
//
|
|
|
|
|
|
|
|
/* Popups */
|
2024-01-19 11:42:07 +03:00
|
|
|
.hulyPopup-container {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
padding: 1px;
|
|
|
|
min-width: 15rem;
|
|
|
|
max-width: 15rem;
|
|
|
|
max-height: 22.625rem;
|
|
|
|
background: var(--theme-popup-color); // var(--global-popover-BackgroundColor);
|
|
|
|
border: 1px solid var(--theme-popup-divider); // var(--global-popover-BorderColor);
|
|
|
|
border-radius: var(--small-BorderRadius);
|
|
|
|
box-shadow:
|
|
|
|
var(--global-popover-ShadowX)
|
|
|
|
var(--global-popover-ShadowY)
|
|
|
|
var(--global-popover-ShadowBlur)
|
|
|
|
var(--global-popover-ShadowSpread)
|
|
|
|
var(--global-popover-ShadowColor);
|
|
|
|
|
|
|
|
.hulyPopup-row {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
align-items: flex-start;
|
|
|
|
align-self: stretch;
|
|
|
|
gap: var(--spacing-1);
|
|
|
|
padding: var(--spacing-1_5);
|
|
|
|
min-width: 0;
|
|
|
|
min-height: 0;
|
|
|
|
text-align: left;
|
|
|
|
border-radius: var(--extra-small-BorderRadius);
|
2024-05-16 22:11:00 +03:00
|
|
|
border: none;
|
|
|
|
|
|
|
|
&.withKeys {
|
|
|
|
align-items: center;
|
|
|
|
padding: 0 var(--spacing-1_5);
|
|
|
|
min-height: var(--global-medium-Size);
|
|
|
|
}
|
2024-01-19 11:42:07 +03:00
|
|
|
|
|
|
|
&__icon {
|
|
|
|
flex-shrink: 0;
|
|
|
|
width: var(--global-min-Size);
|
|
|
|
height: var(--global-min-Size);
|
|
|
|
color: var(--global-primary-TextColor);
|
|
|
|
}
|
|
|
|
&__labels-wrapper {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
flex-grow: 1;
|
|
|
|
gap: var(--spacing-0_25);
|
|
|
|
min-width: 0;
|
|
|
|
min-height: 0;
|
|
|
|
}
|
|
|
|
&__label {
|
|
|
|
flex-grow: 1;
|
|
|
|
font-weight: 400;
|
|
|
|
line-height: 1rem;
|
|
|
|
|
|
|
|
&:not(.small) { font-size: .875rem; }
|
|
|
|
&.small { font-size: .75rem; }
|
2024-01-24 10:39:49 +03:00
|
|
|
&:not(.dark) {
|
|
|
|
color: var(--global-primary-TextColor); // var(--global-on-accent-TextColor);
|
|
|
|
}
|
|
|
|
&.dark {
|
|
|
|
color: var(--theme-dark-color); // var(--global-secondary-TextColor);
|
|
|
|
}
|
2024-01-19 11:42:07 +03:00
|
|
|
}
|
2024-05-16 22:11:00 +03:00
|
|
|
&__keys,
|
|
|
|
&__keys .key {
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
&__keys {
|
|
|
|
gap: var(--spacing-0_25);
|
|
|
|
margin-left: var(--spacing-1);
|
|
|
|
|
|
|
|
.key {
|
|
|
|
padding: var(--spacing-0_5);
|
|
|
|
min-width: var(--global-extra-small-Size);
|
|
|
|
font-size: 0.75rem;
|
|
|
|
color: var(--global-primary-TextColor);
|
|
|
|
background-color: var(--theme-tooltip-key-bg);
|
|
|
|
border: 1px solid var(--theme-button-border);
|
|
|
|
border-radius: var(--extra-small-BorderRadius);
|
|
|
|
}
|
|
|
|
}
|
2024-01-19 11:42:07 +03:00
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background-color: var(--theme-popup-hover); // var(--global-popover-hover-BackgroundColor);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// ----- //
|
2022-04-02 07:06:48 +03:00
|
|
|
.selectPopup {
|
|
|
|
overflow: hidden;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2022-04-16 06:06:32 +03:00
|
|
|
width: fit-content;
|
2023-05-26 06:04:17 +03:00
|
|
|
min-width: 12.5rem;
|
2023-05-19 05:13:35 +03:00
|
|
|
max-width: 17rem;
|
2022-04-16 06:06:32 +03:00
|
|
|
max-height: 22rem;
|
2023-10-02 21:20:37 +03:00
|
|
|
|
2023-10-26 18:37:45 +03:00
|
|
|
&:focus {
|
|
|
|
outline: 0;
|
|
|
|
}
|
|
|
|
|
2023-10-10 10:53:26 +03:00
|
|
|
&:not(.embedded) {
|
|
|
|
background: var(--theme-popup-color);
|
|
|
|
border: 1px solid var(--theme-popup-divider);
|
|
|
|
border-radius: .5rem;
|
|
|
|
box-shadow: var(--theme-popup-shadow);
|
|
|
|
}
|
2022-06-24 15:36:08 +03:00
|
|
|
|
2023-10-10 10:53:26 +03:00
|
|
|
&.noShadow,
|
|
|
|
&.embedded {
|
2023-10-02 21:20:37 +03:00
|
|
|
background: none;
|
|
|
|
border: none;
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
|
|
|
|
2024-11-26 09:45:49 +03:00
|
|
|
&.auto {
|
|
|
|
max-width: unset;
|
|
|
|
}
|
|
|
|
|
2022-06-24 15:36:08 +03:00
|
|
|
&.full-width {
|
|
|
|
flex-grow: 1;
|
|
|
|
background: none;
|
2024-04-06 23:49:08 +03:00
|
|
|
border-radius: 0;
|
2022-06-24 15:36:08 +03:00
|
|
|
box-shadow: none;
|
|
|
|
width: 100%;
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
2022-04-02 07:06:48 +03:00
|
|
|
|
2022-04-16 06:06:32 +03:00
|
|
|
&.maxHeight { height: 22rem; }
|
2022-04-19 13:16:33 +03:00
|
|
|
&.autoHeight {
|
|
|
|
max-height: calc(100vh - 2rem);
|
|
|
|
height: auto;
|
|
|
|
}
|
2022-05-04 11:08:12 +03:00
|
|
|
&.width-40 {
|
|
|
|
max-width: 40rem !important;
|
|
|
|
width: 40rem !important;
|
|
|
|
}
|
2022-05-25 09:09:58 +03:00
|
|
|
&.max-width-40 {
|
|
|
|
max-width: 40rem !important;
|
|
|
|
}
|
2022-04-02 07:06:48 +03:00
|
|
|
.header {
|
2023-09-19 09:05:34 +03:00
|
|
|
flex-shrink: 0;
|
2023-05-19 05:13:35 +03:00
|
|
|
padding: .5rem;
|
2023-05-21 09:01:09 +03:00
|
|
|
|
|
|
|
&:not(.no-border) {
|
|
|
|
margin-bottom: .5rem;
|
|
|
|
border-bottom: 1px solid var(--theme-popup-divider);
|
|
|
|
}
|
2022-04-20 10:56:45 +03:00
|
|
|
.clear-btn {
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
width: .75rem;
|
|
|
|
height: .75rem;
|
|
|
|
border-radius: 50%;
|
|
|
|
|
|
|
|
.icon {
|
|
|
|
width: .625rem;
|
|
|
|
height: .625rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.show {
|
2023-05-04 05:43:21 +03:00
|
|
|
color: var(--theme-content-color);
|
2023-07-06 10:01:27 +03:00
|
|
|
background-color: var(--theme-button-default);
|
2022-04-20 10:56:45 +03:00
|
|
|
cursor: pointer;
|
|
|
|
&:hover {
|
2023-05-04 05:43:21 +03:00
|
|
|
color: var(--theme-caption-color);
|
|
|
|
background-color: var(--theme-button-hovered);
|
2022-04-20 10:56:45 +03:00
|
|
|
}
|
|
|
|
}
|
2022-04-02 07:06:48 +03:00
|
|
|
}
|
|
|
|
}
|
2023-11-08 09:00:24 +03:00
|
|
|
.header + .header { padding: 0 1rem .5rem; }
|
2022-04-02 07:06:48 +03:00
|
|
|
|
|
|
|
.scroll {
|
|
|
|
flex-grow: 1;
|
|
|
|
min-height: 0;
|
|
|
|
height: max-content;
|
|
|
|
overflow-x: hidden;
|
|
|
|
overflow-y: auto;
|
|
|
|
|
|
|
|
&::-webkit-scrollbar { width: 0; }
|
|
|
|
.box {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.menu-item {
|
|
|
|
flex-shrink: 0;
|
2022-06-20 17:11:14 +03:00
|
|
|
justify-content: flex-start;
|
2023-05-05 08:21:40 +03:00
|
|
|
padding: .25rem .5rem;
|
2023-05-19 05:13:35 +03:00
|
|
|
// width: 100%;
|
|
|
|
min-width: 0;
|
2023-05-05 08:21:40 +03:00
|
|
|
min-height: 2.25rem;
|
2022-04-02 07:06:48 +03:00
|
|
|
text-align: left;
|
2023-05-19 05:13:35 +03:00
|
|
|
color: var(--theme-caption-color);
|
|
|
|
border-radius: .25rem;
|
2023-11-08 09:00:24 +03:00
|
|
|
|
|
|
|
&:not(.default-cursor) { cursor: pointer; }
|
2022-04-14 14:04:24 +03:00
|
|
|
&.high { height: 3rem; }
|
2023-05-19 05:13:35 +03:00
|
|
|
|
2022-04-16 06:06:32 +03:00
|
|
|
.icon, .color, .tag {
|
|
|
|
flex-shrink: 0;
|
2023-05-19 05:13:35 +03:00
|
|
|
margin-right: .5rem;
|
2022-04-16 06:06:32 +03:00
|
|
|
}
|
2023-05-19 05:13:35 +03:00
|
|
|
.icon,
|
2024-07-25 18:16:08 +03:00
|
|
|
div.check {
|
2022-04-02 07:06:48 +03:00
|
|
|
width: 1rem;
|
|
|
|
height: 1rem;
|
2023-05-10 14:40:50 +03:00
|
|
|
color: var(--theme-dark-color);
|
2022-04-02 07:06:48 +03:00
|
|
|
}
|
2024-07-25 18:16:08 +03:00
|
|
|
div.check {
|
2023-05-19 05:13:35 +03:00
|
|
|
flex-shrink: 0;
|
|
|
|
|
2024-07-25 18:16:08 +03:00
|
|
|
&:not(.ml-0) { margin-left: .5rem; }
|
2023-05-19 05:13:35 +03:00
|
|
|
}
|
2022-04-13 07:25:59 +03:00
|
|
|
.color {
|
|
|
|
width: .875rem;
|
|
|
|
height: .875rem;
|
|
|
|
border: 1px solid rgba(0, 0, 0, .1);
|
|
|
|
border-radius: .25rem;
|
|
|
|
}
|
2022-04-16 06:06:32 +03:00
|
|
|
.tag {
|
|
|
|
width: .5rem;
|
|
|
|
height: .5rem;
|
|
|
|
border-radius: 50%;
|
|
|
|
}
|
2022-04-02 07:06:48 +03:00
|
|
|
.label {
|
|
|
|
flex-grow: 1;
|
|
|
|
min-width: 0;
|
|
|
|
white-space: nowrap;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
overflow: hidden;
|
2023-05-19 05:13:35 +03:00
|
|
|
color: var(--theme-caption-color);
|
2022-04-02 07:06:48 +03:00
|
|
|
}
|
2023-11-08 09:00:24 +03:00
|
|
|
.tool {
|
|
|
|
visibility: hidden;
|
|
|
|
flex-shrink: 0;
|
|
|
|
}
|
2023-05-19 05:13:35 +03:00
|
|
|
|
|
|
|
&:not(.withList) {
|
|
|
|
margin: 0 .5rem;
|
2022-04-09 06:46:40 +03:00
|
|
|
}
|
2023-05-10 14:40:50 +03:00
|
|
|
&:not(.withList, .no-focus):focus,
|
2023-11-08 09:00:24 +03:00
|
|
|
&:not(.withList, .no-hover):hover {
|
2023-05-04 05:43:21 +03:00
|
|
|
background-color: var(--theme-popup-hover);
|
2023-11-08 09:00:24 +03:00
|
|
|
|
|
|
|
.tool { visibility: visible; }
|
2023-05-10 14:40:50 +03:00
|
|
|
}
|
2022-04-02 07:06:48 +03:00
|
|
|
}
|
2022-04-16 06:06:32 +03:00
|
|
|
.sticky-wrapper {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
|
2023-05-19 05:13:35 +03:00
|
|
|
// &:not(:first-child) { margin-top: 1px; }
|
2022-04-16 06:06:32 +03:00
|
|
|
}
|
|
|
|
.menu-group {
|
|
|
|
overflow: hidden;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
height: 0;
|
|
|
|
transition: height .5s ease;
|
|
|
|
|
|
|
|
&__header {
|
|
|
|
position: sticky;
|
|
|
|
top: 0;
|
|
|
|
flex-shrink: 0;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: space-between;
|
2023-05-19 05:13:35 +03:00
|
|
|
padding: .25rem 1rem;
|
2022-04-16 06:06:32 +03:00
|
|
|
font-weight: 500;
|
2023-05-19 05:13:35 +03:00
|
|
|
font-size: .625rem;
|
|
|
|
text-transform: uppercase;
|
2022-04-16 06:06:32 +03:00
|
|
|
text-align: left;
|
2023-05-19 05:13:35 +03:00
|
|
|
color: var(--theme-caption-color);
|
|
|
|
background-color: var(--theme-popup-color);
|
2023-11-08 09:00:24 +03:00
|
|
|
|
|
|
|
&:not(.default-cursor) { cursor: pointer; }
|
2022-04-16 06:06:32 +03:00
|
|
|
.icon {
|
|
|
|
width: .25rem;
|
|
|
|
transform-origin: 40% 50%;
|
|
|
|
transform: rotate(0deg);
|
|
|
|
transition: transform .15s cubic-bezier(0.175, 0.885, 0.32, 1.275);
|
|
|
|
}
|
2023-11-08 09:00:24 +03:00
|
|
|
.chevron {
|
|
|
|
width: 1rem;
|
|
|
|
height: 1rem;
|
|
|
|
color: var(--theme-trans-color);
|
|
|
|
transform-origin: center;
|
|
|
|
transform: rotate(-90deg);
|
|
|
|
transition: transform .2s ease;
|
|
|
|
}
|
|
|
|
&.show {
|
|
|
|
.icon { transform: rotate(90deg); }
|
|
|
|
.chevron { transform: rotate(0deg); }
|
|
|
|
}
|
2023-05-04 05:43:21 +03:00
|
|
|
&:hover { color: var(--theme-caption-color); }
|
2022-04-16 06:06:32 +03:00
|
|
|
&.show + .menu-group { height: auto; }
|
|
|
|
}
|
|
|
|
}
|
2023-05-19 05:13:35 +03:00
|
|
|
.menu-space {
|
|
|
|
flex-shrink: 0;
|
|
|
|
height: .5rem;
|
|
|
|
}
|
|
|
|
.menu-separator {
|
|
|
|
flex-shrink: 0;
|
|
|
|
margin: .5rem 0;
|
|
|
|
height: 1px;
|
|
|
|
background-color: var(--theme-popup-divider);
|
|
|
|
}
|
2022-04-02 07:06:48 +03:00
|
|
|
}
|
|
|
|
|
2022-02-02 12:05:33 +03:00
|
|
|
.antiPopup {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2022-07-10 17:22:13 +03:00
|
|
|
width: auto;
|
2022-02-02 12:05:33 +03:00
|
|
|
min-height: 0;
|
2022-04-02 07:06:48 +03:00
|
|
|
min-width: 0;
|
2022-02-07 12:39:23 +03:00
|
|
|
max-width: 30rem;
|
2023-05-04 05:43:21 +03:00
|
|
|
background: var(--theme-popup-color);
|
2023-05-29 09:20:07 +03:00
|
|
|
border: 1px solid var(--theme-popup-divider);
|
2023-05-19 05:13:35 +03:00
|
|
|
border-radius: .5rem;
|
2023-05-04 05:43:21 +03:00
|
|
|
box-shadow: var(--theme-popup-shadow);
|
2022-02-02 12:05:33 +03:00
|
|
|
user-select: none;
|
|
|
|
|
2024-04-21 18:48:28 +03:00
|
|
|
&.isDock {
|
|
|
|
border-radius: 0;
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
|
2022-02-02 12:05:33 +03:00
|
|
|
.ap-space {
|
|
|
|
flex-shrink: 0;
|
2022-04-02 07:06:48 +03:00
|
|
|
height: .25rem;
|
2023-08-25 12:49:14 +03:00
|
|
|
&.x1-5 { height: .375rem; }
|
2022-11-29 09:44:40 +03:00
|
|
|
&.x2 { height: .5rem; }
|
|
|
|
&.x3 { height: .75rem; }
|
2022-02-02 12:05:33 +03:00
|
|
|
}
|
|
|
|
.ap-scroll {
|
|
|
|
flex-grow: 1;
|
2022-04-02 07:06:48 +03:00
|
|
|
margin: 0;
|
2023-06-01 07:08:01 +03:00
|
|
|
min-width: 0;
|
2022-02-02 12:05:33 +03:00
|
|
|
min-height: 0;
|
|
|
|
overflow-x: hidden;
|
|
|
|
overflow-y: auto;
|
2024-02-01 19:20:54 +03:00
|
|
|
scrollbar-width: thin;
|
|
|
|
|
2022-02-02 12:05:33 +03:00
|
|
|
&::-webkit-scrollbar-track { margin: 0; }
|
|
|
|
&::-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-02-02 12:05:33 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
.ap-box {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2022-04-02 07:06:48 +03:00
|
|
|
padding: 0;
|
2022-02-02 12:05:33 +03:00
|
|
|
height: 100%;
|
2023-06-01 07:08:01 +03:00
|
|
|
min-width: 0;
|
2023-06-16 08:04:11 +03:00
|
|
|
min-height: 0;
|
2022-02-02 12:05:33 +03:00
|
|
|
}
|
|
|
|
.ap-menuItem {
|
2023-03-17 06:52:32 +03:00
|
|
|
flex-shrink: 0;
|
2022-06-20 17:11:14 +03:00
|
|
|
justify-content: flex-start;
|
2022-02-02 12:05:33 +03:00
|
|
|
text-align: left;
|
2023-06-01 07:08:01 +03:00
|
|
|
min-width: 0;
|
2023-05-19 05:13:35 +03:00
|
|
|
color: var(--theme-caption-color);
|
2022-02-02 12:05:33 +03:00
|
|
|
cursor: pointer;
|
2023-05-19 05:13:35 +03:00
|
|
|
|
|
|
|
&:not(.separator) {
|
|
|
|
min-height: 2.25rem;
|
|
|
|
border-radius: .25rem;
|
|
|
|
}
|
2023-08-25 12:49:14 +03:00
|
|
|
&:not(.separator, .noMargin) {
|
|
|
|
margin-left: .5rem;
|
|
|
|
margin-right: .5rem;
|
|
|
|
}
|
2023-06-16 08:04:11 +03:00
|
|
|
&.withComp {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
flex-wrap: nowrap;
|
|
|
|
padding: .25rem .5rem .25rem 0;
|
|
|
|
min-width: 0;
|
|
|
|
min-height: 0;
|
|
|
|
}
|
2023-05-19 05:13:35 +03:00
|
|
|
&.selected,
|
|
|
|
&.hoverable:hover { background: var(--theme-popup-hover); }
|
2022-02-02 12:05:33 +03:00
|
|
|
&.empty {
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
font-style: italic;
|
2023-05-04 05:43:21 +03:00
|
|
|
color: var(--theme-dark-color);
|
2022-02-02 12:05:33 +03:00
|
|
|
cursor: default;
|
|
|
|
|
|
|
|
&:hover {
|
2023-05-04 05:43:21 +03:00
|
|
|
color: var(--theme-content-color);
|
2022-02-02 12:05:33 +03:00
|
|
|
background-color: transparent;
|
|
|
|
}
|
|
|
|
}
|
2022-02-16 12:03:39 +03:00
|
|
|
&.withCheck { justify-content: space-between; }
|
2022-06-16 04:25:49 +03:00
|
|
|
&.withIcon {
|
2023-05-04 05:43:21 +03:00
|
|
|
.icon { color: var(--theme-dark-color); }
|
2023-05-19 05:13:35 +03:00
|
|
|
&.hover .icon { color: var(--theme-dark-color); }
|
2023-06-01 07:08:01 +03:00
|
|
|
}
|
|
|
|
&.withDrag {
|
|
|
|
width: calc(100% - 1rem);
|
|
|
|
padding: .5rem .5rem .5rem .125rem;
|
|
|
|
|
|
|
|
.drag {
|
|
|
|
flex-shrink: 0;
|
|
|
|
margin-right: .375rem;
|
|
|
|
color: var(--theme-trans-color);
|
|
|
|
}
|
|
|
|
.icon {
|
|
|
|
flex-shrink: 0;
|
|
|
|
margin-right: .5rem;
|
|
|
|
}
|
|
|
|
.logo {
|
|
|
|
overflow: hidden;
|
|
|
|
flex-shrink: 0;
|
|
|
|
margin-right: .5rem;
|
|
|
|
width: 2rem;
|
|
|
|
height: 2rem;
|
|
|
|
border-radius: .25rem;
|
|
|
|
|
|
|
|
&.empty { background-color: var(--theme-button-pressed); }
|
|
|
|
}
|
|
|
|
.label { font-weight: 500; }
|
|
|
|
.description {
|
|
|
|
font-size: 0.6875rem;
|
|
|
|
color: var(--theme-halfcontent-color);
|
|
|
|
}
|
|
|
|
}
|
2022-02-02 12:05:33 +03:00
|
|
|
|
2022-04-21 12:38:09 +03:00
|
|
|
// &:hover { background-color: var(--popup-bg-hover); }
|
2022-06-24 15:36:08 +03:00
|
|
|
&.hover {
|
2023-05-04 05:43:21 +03:00
|
|
|
background-color: var(--theme-popup-hover);
|
2022-04-21 12:38:09 +03:00
|
|
|
outline: none;
|
|
|
|
// box-shadow: inset 0 0 1px 1px var(--primary-edit-border-color);
|
|
|
|
}
|
2022-02-04 13:02:56 +03:00
|
|
|
|
|
|
|
&.redlight {
|
|
|
|
color: var(--highlight-red);
|
|
|
|
&:hover { color: var(--highlight-red-hover); }
|
|
|
|
&:active { color: var(--highlight-red-press); }
|
|
|
|
&:focus { color: var(--highlight-red-press); }
|
|
|
|
}
|
2022-06-24 15:36:08 +03:00
|
|
|
|
|
|
|
&.separator {
|
2023-05-19 05:13:35 +03:00
|
|
|
flex-shrink: 0;
|
2022-06-24 15:36:08 +03:00
|
|
|
height: 1px;
|
2023-05-04 05:43:21 +03:00
|
|
|
background-color: var(--theme-popup-divider);
|
2023-06-16 08:04:11 +03:00
|
|
|
|
|
|
|
&:not(.halfMargin) { margin: .5rem 0; }
|
|
|
|
&.halfMargin { margin: .25rem 0; }
|
2022-06-24 15:36:08 +03:00
|
|
|
}
|
2022-02-02 12:05:33 +03:00
|
|
|
}
|
2023-11-06 13:11:30 +03:00
|
|
|
&:not(.thinStyle) .ap-menuItem:not(.separator, .withComp) { padding: .625rem .5rem; }
|
2023-08-25 12:49:14 +03:00
|
|
|
&.thinStyle {
|
|
|
|
border-radius: .75rem;
|
|
|
|
|
|
|
|
.ap-menuItem:not(.separator) {
|
|
|
|
padding: 0 .5rem;
|
|
|
|
min-height: 2rem;
|
|
|
|
font-size: .8125rem;
|
|
|
|
border-radius: .375rem;
|
|
|
|
}
|
|
|
|
.ap-menuItem:not(.separator, .noMargin) {
|
|
|
|
margin-left: .375rem;
|
|
|
|
margin-right: .375rem;
|
|
|
|
}
|
|
|
|
}
|
2022-02-02 12:05:33 +03:00
|
|
|
.ap-check {
|
2023-06-02 10:03:46 +03:00
|
|
|
flex-shrink: 0;
|
2022-02-02 12:05:33 +03:00
|
|
|
margin-left: 1rem;
|
|
|
|
width: 1rem;
|
|
|
|
height: 1rem;
|
2023-11-06 13:11:30 +03:00
|
|
|
color: var(--theme-popup-checkicon);
|
2022-04-09 06:46:40 +03:00
|
|
|
}
|
2023-06-16 08:04:11 +03:00
|
|
|
.ap-subheader {
|
|
|
|
flex-shrink: 0;
|
|
|
|
padding: .5rem 1rem;
|
|
|
|
min-width: 0;
|
|
|
|
min-height: 2rem;
|
|
|
|
text-transform: uppercase;
|
|
|
|
font-weight: 500;
|
|
|
|
font-size: .625rem;
|
|
|
|
color: var(--theme-dark-color);
|
|
|
|
|
|
|
|
&:not(.caption) { letter-spacing: 1px; }
|
|
|
|
&.caption {
|
|
|
|
padding-top: 1rem;
|
|
|
|
color: var(--theme-caption-color);
|
|
|
|
}
|
|
|
|
}
|
2022-07-02 07:03:25 +03:00
|
|
|
.ap-menuHeader {
|
|
|
|
display: flex;
|
2023-06-16 08:04:11 +03:00
|
|
|
flex-direction: column;
|
|
|
|
border-bottom: 1px solid var(--theme-popup-divider);
|
2022-07-02 07:03:25 +03:00
|
|
|
|
2023-06-16 08:04:11 +03:00
|
|
|
.tabs {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
padding: 0 .375rem;
|
|
|
|
min-width: 0;
|
|
|
|
|
|
|
|
.tab {
|
|
|
|
position: relative;
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
min-width: 2.25rem;
|
|
|
|
min-height: 2.75rem;
|
|
|
|
color: var(--theme-dark-color);
|
|
|
|
outline: none;
|
|
|
|
|
|
|
|
&:not(:last-child) { margin-right: .375rem; }
|
|
|
|
&:not(.selected, .disabled) { cursor: pointer; }
|
|
|
|
&.disabled { color: var(--theme-darker-color); }
|
|
|
|
&.selected {
|
|
|
|
color: var(--theme-caption-color);
|
|
|
|
|
|
|
|
&::after {
|
|
|
|
position: absolute;
|
|
|
|
content: '';
|
|
|
|
left: 0;
|
|
|
|
bottom: -1px;
|
|
|
|
width: 100%;
|
|
|
|
height: 2px;
|
|
|
|
background-color: var(--theme-link-color);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2022-07-02 07:03:25 +03:00
|
|
|
}
|
|
|
|
}
|
2022-02-02 12:05:33 +03:00
|
|
|
|
|
|
|
&-withHeader {
|
|
|
|
.ap-header {
|
|
|
|
flex-shrink: 0;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
margin: 0 .5rem;
|
|
|
|
text-align: left;
|
|
|
|
|
|
|
|
.ap-caption {
|
|
|
|
margin: .5rem 0 0 .75rem;
|
|
|
|
font-size: .75rem;
|
|
|
|
font-weight: 600;
|
|
|
|
text-transform: uppercase;
|
2023-05-04 05:43:21 +03:00
|
|
|
color: var(--theme-dark-color);
|
2022-11-29 09:44:40 +03:00
|
|
|
}
|
2022-02-02 12:05:33 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-06-16 04:25:49 +03:00
|
|
|
// Submenu
|
|
|
|
.antiPopup-submenu {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
flex-shrink: 0;
|
2022-06-20 17:11:14 +03:00
|
|
|
justify-content: flex-start;
|
2023-05-21 09:01:09 +03:00
|
|
|
margin: 0 .5rem;
|
2023-05-10 14:40:50 +03:00
|
|
|
padding: .25rem .5rem;
|
2022-06-16 04:25:49 +03:00
|
|
|
min-width: 0;
|
2023-05-19 05:13:35 +03:00
|
|
|
min-height: 2.25rem;
|
2022-06-16 04:25:49 +03:00
|
|
|
text-align: left;
|
2023-05-19 05:13:35 +03:00
|
|
|
color: var(--theme-caption-color);
|
2023-05-21 09:01:09 +03:00
|
|
|
border-radius: .25rem;
|
2023-05-10 14:40:50 +03:00
|
|
|
outline: none;
|
2022-06-16 04:25:49 +03:00
|
|
|
cursor: pointer;
|
|
|
|
|
2023-05-10 14:40:50 +03:00
|
|
|
.icon {
|
2023-05-19 05:13:35 +03:00
|
|
|
margin-right: .5rem;
|
2023-05-10 14:40:50 +03:00
|
|
|
color: var(--theme-dark-color);
|
|
|
|
}
|
2023-05-04 05:43:21 +03:00
|
|
|
&.withHover:hover { background-color: var(--theme-popup-hover); }
|
2022-06-16 04:25:49 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.antiPopup .ap-menuItem.arrow,
|
|
|
|
.selectPopup .menu-item.arrow,
|
|
|
|
.antiPopup-submenu {
|
|
|
|
position: relative;
|
2022-06-24 15:36:08 +03:00
|
|
|
span {
|
|
|
|
padding-right: 1rem;
|
|
|
|
}
|
2022-06-16 04:25:49 +03:00
|
|
|
&::after {
|
|
|
|
content: '▶';
|
|
|
|
position: absolute;
|
|
|
|
top: 50%;
|
|
|
|
right: 0.5rem;
|
|
|
|
font-size: 0.375rem;
|
2023-05-04 05:43:21 +03:00
|
|
|
color: var(--theme-dark-color);
|
2022-06-16 04:25:49 +03:00
|
|
|
transform: translateY(-50%);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-10-20 05:45:57 +03:00
|
|
|
.notifyPopup, .helpAndSupportPopup {
|
2022-05-26 12:12:02 +03:00
|
|
|
overflow: hidden;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2023-01-12 18:50:41 +03:00
|
|
|
padding: .5rem;
|
2022-05-26 12:12:02 +03:00
|
|
|
min-height: 22rem;
|
2023-04-25 05:59:07 +03:00
|
|
|
background: var(--theme-popup-color);
|
2023-01-12 18:50:41 +03:00
|
|
|
border-radius: .5rem;
|
2023-05-04 05:43:21 +03:00
|
|
|
box-shadow: var(--theme-popup-shadow);
|
2023-01-25 19:46:32 +03:00
|
|
|
|
|
|
|
&:not(.min-w-168) { min-width: 22rem; }
|
|
|
|
|
2022-05-26 12:12:02 +03:00
|
|
|
.header {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
flex-shrink: 0;
|
2023-01-12 18:50:41 +03:00
|
|
|
padding: 0 .75rem .5rem 1rem;
|
2022-05-26 12:12:02 +03:00
|
|
|
height: 3rem;
|
2023-01-12 18:50:41 +03:00
|
|
|
min-height: 0;
|
|
|
|
}
|
|
|
|
.space {
|
|
|
|
flex-shrink: 0;
|
|
|
|
height: .25rem;
|
|
|
|
&.x2 { height: .5rem; }
|
|
|
|
&.x3 { height: .75rem; }
|
2022-05-26 12:12:02 +03:00
|
|
|
}
|
|
|
|
}
|
2023-01-12 18:50:41 +03:00
|
|
|
.notifyPopup .comment::after,
|
|
|
|
.notifyPopup .mention::after { content: none !important; }
|
|
|
|
.notifyPopup .content .mention { margin-top: 0 !important; }
|
2022-05-26 12:12:02 +03:00
|
|
|
|
2022-10-20 05:45:57 +03:00
|
|
|
.helpAndSupportPopup {
|
2023-05-10 14:40:50 +03:00
|
|
|
height: 100%;
|
2022-10-20 05:45:57 +03:00
|
|
|
min-height: 100%;
|
|
|
|
min-width: 20rem;
|
|
|
|
}
|
|
|
|
|
2022-02-02 12:05:33 +03:00
|
|
|
// Remove highlights table rows and hide dots in popups
|
|
|
|
.popup .tr-body:hover, .popup-tooltip .tr-body:hover { background-color: transparent !important; }
|
|
|
|
.popup-tooltip .tr-body .menuRow { visibility: hidden !important; }
|