2022-04-05 07:15:14 +03:00
|
|
|
//
|
|
|
|
// Copyright © 2022 Hardcore Engineering Inc.
|
|
|
|
//
|
|
|
|
// 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.
|
|
|
|
//
|
|
|
|
|
|
|
|
/* Dialogs */
|
|
|
|
.antiPanel {
|
|
|
|
overflow: hidden;
|
|
|
|
min-width: 400px;
|
|
|
|
|
2023-05-17 12:47:21 +03:00
|
|
|
background-color: var(--theme-popup-color);
|
|
|
|
border: 1px solid var(--theme-popup-divider);
|
2022-04-05 07:15:14 +03:00
|
|
|
border-radius: .5rem;
|
|
|
|
flex-direction: row;
|
2023-05-17 12:47:21 +03:00
|
|
|
box-shadow: var(--theme-popup-shadow);
|
2022-04-05 07:15:14 +03:00
|
|
|
// left: 1rem;
|
|
|
|
|
2023-05-17 12:47:21 +03:00
|
|
|
&.float {
|
|
|
|
position: fixed;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
top: 5rem;
|
|
|
|
right: .5rem;
|
|
|
|
width: 42rem;
|
2023-05-22 17:31:07 +03:00
|
|
|
height: auto;
|
2023-05-17 12:47:21 +03:00
|
|
|
min-height: 0;
|
|
|
|
max-height: 32rem;
|
|
|
|
z-index: 500;
|
|
|
|
|
|
|
|
.ap-header {
|
|
|
|
flex-shrink: 0;
|
|
|
|
padding: 1.5rem 1.75rem .5rem;
|
|
|
|
width: 100%;
|
|
|
|
min-width: 0;
|
|
|
|
min-height: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-04-23 06:51:42 +03:00
|
|
|
.ac-header {
|
|
|
|
&.highlight { background-color: var(--accent-bg-color); }
|
2023-03-10 03:08:04 +03:00
|
|
|
&.divide { border-bottom: 1px solid var(--divider-color); }
|
2022-04-23 06:51:42 +03:00
|
|
|
}
|
2022-04-05 07:15:14 +03:00
|
|
|
.ad-section-50 {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
flex-basis: 50%;
|
|
|
|
min-height: 0;
|
|
|
|
width: 50%;
|
|
|
|
|
2023-03-10 03:08:04 +03:00
|
|
|
&.divide { border-right: 1px solid var(--divider-color); }
|
2022-04-05 07:15:14 +03:00
|
|
|
}
|
|
|
|
.ad-tools {
|
|
|
|
position: absolute;
|
|
|
|
display: flex;
|
2022-04-23 06:51:42 +03:00
|
|
|
top: 1.25rem;
|
|
|
|
right: 1.25rem;
|
|
|
|
|
2022-04-05 07:15:14 +03:00
|
|
|
&.grow-reverse {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row-reverse;
|
|
|
|
justify-content: flex-end;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-04-29 11:29:26 +03:00
|
|
|
.popupPanel {
|
|
|
|
overflow: hidden;
|
|
|
|
display: flex;
|
2023-11-13 08:28:54 +03:00
|
|
|
width: 100%;
|
2022-04-29 11:29:26 +03:00
|
|
|
height: 100%;
|
2023-11-13 08:28:54 +03:00
|
|
|
min-width: 0;
|
|
|
|
min-height: 0;
|
2023-05-17 12:47:21 +03:00
|
|
|
|
|
|
|
&:not(.rowContent) { flex-direction: column; }
|
2022-04-29 11:29:26 +03:00
|
|
|
|
|
|
|
.popupPanel-title {
|
|
|
|
display: flex;
|
2022-10-04 18:49:11 +03:00
|
|
|
flex-shrink: 0;
|
2022-04-29 11:29:26 +03:00
|
|
|
justify-content: stretch;
|
|
|
|
align-items: center;
|
2023-11-13 08:28:54 +03:00
|
|
|
min-width: 0;
|
|
|
|
min-height: 3.25rem;
|
|
|
|
background-color: var(--theme-comp-header-color);
|
|
|
|
border-bottom: 1px solid var(--theme-divider-color);
|
2022-04-29 11:29:26 +03:00
|
|
|
|
2023-11-14 10:46:22 +03:00
|
|
|
&:not(.indent) { padding: 0 1rem 0 1.25rem; }
|
|
|
|
&.indent { padding: 0 1rem; }
|
2022-04-29 11:29:26 +03:00
|
|
|
&__content {
|
2023-11-13 08:28:54 +03:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2022-04-29 11:29:26 +03:00
|
|
|
flex-grow: 1;
|
2023-11-13 08:28:54 +03:00
|
|
|
margin-right: .75rem;
|
2022-04-29 11:29:26 +03:00
|
|
|
min-width: 0;
|
|
|
|
min-height: 0;
|
|
|
|
|
2023-11-13 08:28:54 +03:00
|
|
|
.title {
|
|
|
|
padding: .125rem .375rem;
|
|
|
|
font-size: .8125rem;
|
|
|
|
color: var(--theme-content-color);
|
|
|
|
background-color: var(--theme-breadcrumb-default);
|
|
|
|
border-radius: .25rem;
|
|
|
|
|
|
|
|
&:not(:last-child) { margin-right: .125rem; }
|
|
|
|
&:not(.disabled, .not-active) {
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
|
|
&:hover, &:focus { background-color: var(--theme-breadcrumb-hovered); }
|
|
|
|
&:active { background-color: var(--theme-breadcrumb-pressed); }
|
|
|
|
&:hover, &:focus, &:active { color: var(--theme-caption-color); }
|
|
|
|
}
|
|
|
|
&.disabled { color: var(--theme-dark-color); }
|
2023-11-14 10:46:22 +03:00
|
|
|
&.not-active {
|
|
|
|
color: var(--theme-caption-color);
|
|
|
|
user-select: text;
|
|
|
|
}
|
2022-04-29 11:29:26 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.popupPanel-body {
|
|
|
|
position: relative;
|
|
|
|
display: flex;
|
|
|
|
min-width: 0;
|
|
|
|
min-height: 0;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
2023-04-26 21:56:24 +03:00
|
|
|
background-color: var(--theme-panel-color);
|
2023-04-23 20:37:24 +03:00
|
|
|
border: 1px solid var(--theme-divider-color);
|
2023-11-13 08:28:54 +03:00
|
|
|
border-top: none;
|
|
|
|
border-left: none;
|
2022-04-29 11:29:26 +03:00
|
|
|
|
2022-10-04 18:49:11 +03:00
|
|
|
&.main {
|
|
|
|
justify-content: stretch;
|
|
|
|
}
|
|
|
|
&.mobile {
|
|
|
|
justify-content: center;
|
|
|
|
}
|
|
|
|
&__main, &__mobile, &__aside {
|
2022-04-29 11:29:26 +03:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
min-width: 0;
|
|
|
|
min-height: 0;
|
2022-10-27 06:56:21 +03:00
|
|
|
}
|
|
|
|
&__main, &__aside {
|
2022-04-29 11:29:26 +03:00
|
|
|
height: 100%;
|
|
|
|
}
|
2022-10-27 06:56:21 +03:00
|
|
|
&__mobile {
|
|
|
|
flex-grow: 1;
|
|
|
|
}
|
2022-04-29 11:29:26 +03:00
|
|
|
|
|
|
|
&__main {
|
|
|
|
flex-grow: 2;
|
|
|
|
flex-basis: 760px;
|
|
|
|
border: none;
|
|
|
|
border-radius: 0;
|
|
|
|
|
|
|
|
&-content {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2022-11-22 21:13:26 +03:00
|
|
|
// flex-shrink: 0;
|
2022-04-29 11:29:26 +03:00
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
width: calc(100% - 7.5rem);
|
2023-08-31 08:46:04 +03:00
|
|
|
max-width: 54rem;
|
2022-12-01 19:45:56 +03:00
|
|
|
|
|
|
|
&.max {
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
2022-04-29 11:29:26 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-10-04 18:49:11 +03:00
|
|
|
.popupPanel-body__header {
|
|
|
|
display: flex;
|
2023-05-11 10:18:33 +03:00
|
|
|
align-items: center;
|
|
|
|
min-height: 0;
|
2022-10-04 18:49:11 +03:00
|
|
|
|
2023-05-11 10:18:33 +03:00
|
|
|
&-wrapper {
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
2023-05-29 09:20:07 +03:00
|
|
|
flex-shrink: 0;
|
2023-05-11 10:18:33 +03:00
|
|
|
width: 100%;
|
|
|
|
min-width: 0;
|
|
|
|
min-height: 3.5rem;
|
|
|
|
border-bottom: 1px solid var(--theme-divider-color);
|
|
|
|
}
|
2022-10-04 18:49:11 +03:00
|
|
|
&.main {
|
|
|
|
padding: .75rem 1.25rem;
|
|
|
|
width: calc(100% - 5rem);
|
2023-05-11 10:18:33 +03:00
|
|
|
height: 100%;
|
|
|
|
min-width: 0;
|
2022-10-04 18:49:11 +03:00
|
|
|
max-width: 900px;
|
2022-12-01 19:45:56 +03:00
|
|
|
|
|
|
|
&.max {
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
2022-10-04 18:49:11 +03:00
|
|
|
}
|
|
|
|
&.mobile {
|
|
|
|
flex-shrink: 0;
|
|
|
|
padding: .5rem .75rem .75rem;
|
|
|
|
width: 100%;
|
2022-11-30 08:53:49 +03:00
|
|
|
min-width: 320px;
|
2022-10-04 18:49:11 +03:00
|
|
|
}
|
|
|
|
|
2023-04-23 20:37:24 +03:00
|
|
|
&.bottom-divider { border-bottom: 1px solid var(--theme-divider-color); }
|
|
|
|
&.top-divider { border-top: 1px solid var(--theme-divider-color); }
|
2022-10-04 18:49:11 +03:00
|
|
|
.header-row {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
width: 100%;
|
|
|
|
min-width: 0;
|
2022-11-22 21:13:26 +03:00
|
|
|
flex-wrap: wrap;
|
2022-10-04 18:49:11 +03:00
|
|
|
|
|
|
|
&.between { justify-content: space-between; }
|
|
|
|
}
|
|
|
|
.header-row + .header-row { margin-top: .625rem; }
|
|
|
|
}
|
|
|
|
.popupPanel-body__mobile-content {
|
2022-10-27 06:56:21 +03:00
|
|
|
padding: .5rem;
|
2022-11-30 08:53:49 +03:00
|
|
|
min-width: 320px;
|
2022-10-04 18:49:11 +03:00
|
|
|
}
|
|
|
|
|
2022-04-29 11:29:26 +03:00
|
|
|
&__aside {
|
|
|
|
width: 25%;
|
2023-05-11 10:18:33 +03:00
|
|
|
min-width: var(--panel-aside-width);
|
2023-10-10 10:53:26 +03:00
|
|
|
|
2022-04-29 11:29:26 +03:00
|
|
|
&.float {
|
|
|
|
position: absolute;
|
2023-10-27 09:11:48 +03:00
|
|
|
flex-direction: row;
|
2022-04-29 11:29:26 +03:00
|
|
|
flex-shrink: 0;
|
|
|
|
top: 0;
|
|
|
|
left: 100%;
|
2023-05-11 10:18:33 +03:00
|
|
|
width: var(--panel-aside-width);
|
2023-04-06 07:51:13 +03:00
|
|
|
height: 100%;
|
2023-10-27 09:11:48 +03:00
|
|
|
min-width: 0;
|
|
|
|
min-height: 0;
|
2023-04-26 21:56:24 +03:00
|
|
|
background-color: var(--theme-panel-color);
|
2023-10-27 09:11:48 +03:00
|
|
|
// border-left: 1px solid var(--theme-divider-color);
|
2022-12-14 07:53:37 +03:00
|
|
|
border-bottom-right-radius: .45rem;
|
2022-04-29 11:29:26 +03:00
|
|
|
box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
|
|
|
|
transition: box-shadow 150ms ease 0s, transform 150ms cubic-bezier(0.175, 0.885, 0.32, 1.275);
|
|
|
|
transform: translateX(0);
|
2022-07-07 05:13:45 +03:00
|
|
|
visibility: hidden;
|
2022-04-29 11:29:26 +03:00
|
|
|
|
|
|
|
&.shown {
|
|
|
|
box-shadow: var(--popup-aside-shadow);
|
|
|
|
transform: translateX(-100%);
|
2022-07-07 05:13:45 +03:00
|
|
|
visibility: visible;
|
2022-04-29 11:29:26 +03:00
|
|
|
}
|
|
|
|
}
|
2023-05-11 10:18:33 +03:00
|
|
|
|
|
|
|
&-header,
|
|
|
|
&-tabsheader {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
flex-shrink: 0;
|
|
|
|
height: 3.5rem;
|
|
|
|
min-height: 3.5rem;
|
|
|
|
border-bottom: 1px solid var(--theme-divider-color);
|
|
|
|
}
|
2023-05-17 12:47:21 +03:00
|
|
|
&-tabsheader { padding: 0 2rem; }
|
|
|
|
&-header {
|
|
|
|
justify-content: space-between;
|
|
|
|
padding: .75rem .75rem .75rem 2rem;
|
2023-05-11 10:18:33 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
&-grid {
|
|
|
|
display: grid;
|
|
|
|
grid-template-columns: 1fr 1.5fr;
|
2023-05-17 12:47:21 +03:00
|
|
|
grid-auto-rows: minmax(2rem, max-content);
|
2023-05-11 10:18:33 +03:00
|
|
|
justify-content: start;
|
|
|
|
align-items: center;
|
|
|
|
row-gap: .25rem;
|
|
|
|
column-gap: 1rem;
|
2023-05-17 12:47:21 +03:00
|
|
|
margin: .25rem 2rem 0;
|
2023-05-11 10:18:33 +03:00
|
|
|
width: calc(100% - 4rem);
|
|
|
|
height: min-content;
|
|
|
|
|
2023-05-17 12:47:21 +03:00
|
|
|
&.inCollapsed { margin: 1rem 2rem; }
|
2023-05-11 10:18:33 +03:00
|
|
|
.divider {
|
|
|
|
grid-column: 1 / 3;
|
|
|
|
margin: .75rem -2rem;
|
|
|
|
height: 1px;
|
|
|
|
background-color: var(--theme-divider-color);
|
|
|
|
}
|
2023-09-06 18:52:48 +03:00
|
|
|
.labelOnPanel,
|
2023-05-11 10:18:33 +03:00
|
|
|
.labelTop { color: var(--theme-dark-color); }
|
|
|
|
.labelTop {
|
|
|
|
align-self: start;
|
2023-09-06 18:52:48 +03:00
|
|
|
margin-top: .4rem;
|
2023-05-17 12:47:21 +03:00
|
|
|
}
|
|
|
|
.textPadding { margin-left: .875rem; }
|
|
|
|
}
|
|
|
|
&-content {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
width: 100%;
|
|
|
|
min-width: 0;
|
|
|
|
min-height: 0;
|
|
|
|
padding: 1.25rem 2rem;
|
|
|
|
}
|
|
|
|
.space-divider {
|
|
|
|
flex-shrink: 0;
|
|
|
|
height: .75rem;
|
|
|
|
|
|
|
|
&.bottom { height: 1.25rem; }
|
|
|
|
}
|
2022-04-29 11:29:26 +03:00
|
|
|
}
|
|
|
|
|
2022-12-14 07:53:37 +03:00
|
|
|
// &.asideShown .popupPanel-body__main {
|
|
|
|
// border: 1px solid var(--divider-color);
|
|
|
|
// border-radius: 0 0 .5rem .5rem;
|
|
|
|
// }
|
2022-04-29 11:29:26 +03:00
|
|
|
}
|
|
|
|
}
|
2022-05-19 09:42:38 +03:00
|
|
|
|
|
|
|
// Full size state
|
|
|
|
.popup.fullsize .popupPanel {
|
|
|
|
border-radius: 0;
|
|
|
|
box-shadow: none !important;
|
|
|
|
|
|
|
|
.popupPanel-title,
|
|
|
|
.popupPanel-body {
|
2023-08-31 08:46:04 +03:00
|
|
|
// border-radius: 0;
|
2022-05-19 09:42:38 +03:00
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.popup.fullsize {
|
|
|
|
transition-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19) !important;
|
|
|
|
}
|