2022-01-21 12:07:24 +03:00
|
|
|
//
|
|
|
|
// Copyright © 2021 Anticrm Platform Contributors.
|
2022-02-16 12:02:31 +03:00
|
|
|
//
|
2022-01-21 12:07:24 +03:00
|
|
|
// 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
|
2022-02-16 12:02:31 +03:00
|
|
|
//
|
2022-01-21 12:07:24 +03:00
|
|
|
// 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.
|
2022-02-16 12:02:31 +03:00
|
|
|
//
|
2022-01-21 12:07:24 +03:00
|
|
|
// See the License for the specific language governing permissions and
|
|
|
|
// limitations under the License.
|
|
|
|
//
|
|
|
|
|
2022-02-01 12:13:01 +03:00
|
|
|
/* Component */
|
|
|
|
.antiComponent {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
height: 100%;
|
|
|
|
|
|
|
|
.ac-header {
|
2022-10-04 18:49:11 +03:00
|
|
|
padding: 0.5rem 1.5rem 0.5rem 2.25rem;
|
|
|
|
// height: 3.5rem;
|
|
|
|
// min-height: 3.5rem;
|
2022-02-03 12:16:15 +03:00
|
|
|
|
|
|
|
&.short {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2022-02-16 12:02:31 +03:00
|
|
|
flex-wrap: nowrap;
|
2022-02-03 12:16:15 +03:00
|
|
|
}
|
2022-10-04 18:49:11 +03:00
|
|
|
&.full,
|
|
|
|
&-full {
|
2022-02-03 12:16:15 +03:00
|
|
|
display: grid;
|
|
|
|
grid-template-columns: auto;
|
|
|
|
grid-auto-flow: column;
|
2022-10-04 18:49:11 +03:00
|
|
|
grid-auto-columns: max-content;
|
2022-05-31 07:22:47 +03:00
|
|
|
gap: .75rem;
|
2022-02-03 12:16:15 +03:00
|
|
|
align-items: center;
|
2022-10-04 18:49:11 +03:00
|
|
|
}
|
|
|
|
&.withSettings { padding-right: .75rem; }
|
|
|
|
&.mini {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2022-02-03 12:16:15 +03:00
|
|
|
}
|
2022-02-07 12:39:23 +03:00
|
|
|
&.mirror {
|
|
|
|
justify-content: space-between;
|
2022-04-27 08:50:07 +03:00
|
|
|
padding: 0 1rem;
|
2022-02-03 12:16:15 +03:00
|
|
|
|
2022-02-07 12:39:23 +03:00
|
|
|
&-tool {
|
|
|
|
justify-content: space-between;
|
|
|
|
padding: 0 6.5rem 0 2.5rem;
|
|
|
|
}
|
2022-02-03 12:16:15 +03:00
|
|
|
}
|
2022-02-16 12:02:31 +03:00
|
|
|
&.divide {
|
2022-04-02 07:06:48 +03:00
|
|
|
border-bottom: 1px solid var(--divider-color);
|
2022-02-16 12:02:31 +03:00
|
|
|
}
|
2022-10-04 18:49:11 +03:00
|
|
|
.secondRow {
|
|
|
|
align-self: flex-end;
|
|
|
|
margin-top: .5rem;
|
|
|
|
}
|
2022-04-28 12:53:35 +03:00
|
|
|
}
|
2022-02-07 12:39:23 +03:00
|
|
|
|
2022-04-28 12:53:35 +03:00
|
|
|
.ac-header__wrap-description,
|
|
|
|
.ac-header__wrap-title {
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: nowrap;
|
|
|
|
min-width: 0;
|
|
|
|
cursor: default;
|
|
|
|
}
|
|
|
|
.ac-header__wrap-description {
|
|
|
|
flex-direction: column;
|
|
|
|
flex-grow: 1;
|
|
|
|
}
|
|
|
|
.ac-header__wrap-title {
|
|
|
|
align-items: center;
|
|
|
|
}
|
2022-02-01 12:13:01 +03:00
|
|
|
|
2022-04-28 12:53:35 +03:00
|
|
|
.ac-header__icon {
|
|
|
|
margin-right: 0.5rem;
|
2022-06-28 09:50:39 +03:00
|
|
|
color: var(--content-color);
|
2022-04-28 12:53:35 +03:00
|
|
|
}
|
|
|
|
.ac-header__title {
|
|
|
|
min-width: 0;
|
|
|
|
font-weight: 500;
|
|
|
|
font-size: 1rem;
|
2022-06-28 09:50:39 +03:00
|
|
|
color: var(--caption-color);
|
2022-02-07 12:39:23 +03:00
|
|
|
|
2022-04-28 12:53:35 +03:00
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
white-space: nowrap;
|
|
|
|
user-select: none;
|
|
|
|
}
|
|
|
|
.ac-header__description {
|
|
|
|
min-width: 0;
|
|
|
|
font-size: 0.75rem;
|
2022-06-28 09:50:39 +03:00
|
|
|
color: var(--dark-color);
|
2022-02-03 12:16:15 +03:00
|
|
|
|
2022-04-28 12:53:35 +03:00
|
|
|
overflow: hidden;
|
|
|
|
visibility: visible;
|
|
|
|
display: -webkit-box;
|
|
|
|
/* autoprefixer: ignore next */
|
|
|
|
-webkit-box-orient: vertical;
|
|
|
|
-webkit-line-clamp: 2;
|
|
|
|
line-clamp: 2;
|
|
|
|
user-select: none;
|
|
|
|
}
|
2022-02-16 12:02:31 +03:00
|
|
|
|
2022-04-28 12:53:35 +03:00
|
|
|
.ac-header__icon-button {
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
width: 2rem;
|
|
|
|
height: 2rem;
|
|
|
|
color: var(--theme-content-trans-color);
|
|
|
|
background-color: transparent;
|
|
|
|
border-radius: .25rem;
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
color: var(--theme-caption-color);
|
|
|
|
}
|
|
|
|
&.selected {
|
|
|
|
color: var(--theme-content-accent-color);
|
|
|
|
background-color: var(--menu-bg-select);
|
|
|
|
cursor: default;
|
2022-02-16 12:02:31 +03:00
|
|
|
&:hover {
|
|
|
|
color: var(--theme-caption-color);
|
|
|
|
}
|
2022-02-07 12:39:23 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.ac-subtitle {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
overflow-x: auto;
|
|
|
|
flex-shrink: 0;
|
2022-04-27 08:50:07 +03:00
|
|
|
margin: 0 2.5rem;
|
2022-02-07 12:39:23 +03:00
|
|
|
min-height: 0;
|
|
|
|
height: 3.5rem;
|
|
|
|
border-bottom: 1px solid var(--theme-zone-bg);
|
|
|
|
|
2022-02-16 12:02:31 +03:00
|
|
|
&::-webkit-scrollbar:horizontal {
|
|
|
|
height: 0.25rem;
|
|
|
|
}
|
|
|
|
&::-webkit-scrollbar-track {
|
|
|
|
margin: 0;
|
|
|
|
}
|
2022-02-07 12:39:23 +03:00
|
|
|
&::-webkit-scrollbar-thumb {
|
|
|
|
background-color: var(--theme-menu-divider);
|
2022-02-16 12:02:31 +03:00
|
|
|
border-radius: 0.25rem;
|
|
|
|
&:hover {
|
|
|
|
background-color: var(--theme-card-divider);
|
|
|
|
}
|
2022-02-07 12:39:23 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.ac-subtitle-content {
|
2022-04-27 08:50:07 +03:00
|
|
|
overflow-x: auto;
|
|
|
|
overflow-y: hidden;
|
2022-02-07 12:39:23 +03:00
|
|
|
flex-grow: 1;
|
|
|
|
display: flex;
|
2022-04-27 08:50:07 +03:00
|
|
|
// align-items: center;
|
2022-02-07 12:39:23 +03:00
|
|
|
}
|
2022-02-01 12:13:01 +03:00
|
|
|
}
|
|
|
|
|
2022-02-16 12:03:39 +03:00
|
|
|
.ac-tabs {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
flex-shrink: 0;
|
|
|
|
flex-wrap: nowrap;
|
|
|
|
margin: 0 2.5rem;
|
|
|
|
min-width: 0;
|
|
|
|
height: 4.5rem;
|
|
|
|
border-bottom: 1px solid var(--theme-menu-divider);
|
|
|
|
|
|
|
|
&__tab {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
min-width: 0;
|
|
|
|
height: 4.5rem;
|
|
|
|
font-weight: 500;
|
|
|
|
color: var(--theme-content-trans-color);
|
|
|
|
cursor: pointer;
|
|
|
|
user-select: none;
|
|
|
|
|
|
|
|
&.selected {
|
|
|
|
border-top: .125rem solid transparent;
|
|
|
|
border-bottom: .125rem solid var(--theme-caption-color);
|
|
|
|
color: var(--theme-caption-color);
|
|
|
|
cursor: default;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.ac-tabs__tab + .ac-tabs__tab { margin-left: 2.5rem; }
|
|
|
|
|
|
|
|
&__empty {
|
|
|
|
min-width: 2.5rem;
|
|
|
|
flex-grow: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-02-01 12:13:01 +03:00
|
|
|
.ac-body {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: flex-start;
|
|
|
|
height: 100%;
|
2022-04-02 07:06:48 +03:00
|
|
|
background-color: var(--body-color);
|
2022-02-01 12:13:01 +03:00
|
|
|
|
2022-02-16 12:02:31 +03:00
|
|
|
&.columns {
|
|
|
|
flex-direction: row;
|
|
|
|
}
|
2022-02-01 12:13:01 +03:00
|
|
|
&.hScroll {
|
|
|
|
overflow-x: auto;
|
2022-02-16 12:02:31 +03:00
|
|
|
&::-webkit-scrollbar-track {
|
|
|
|
margin: 2.5rem;
|
|
|
|
}
|
2022-02-01 12:13:01 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.ac-column {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
overflow-y: auto;
|
|
|
|
padding: 1.75rem 2.5rem;
|
|
|
|
min-width: 25rem;
|
|
|
|
max-width: 25rem;
|
|
|
|
height: 100%;
|
|
|
|
border-right: 1px solid var(--theme-menu-divider);
|
2022-02-07 12:39:23 +03:00
|
|
|
|
2022-02-01 12:13:01 +03:00
|
|
|
&.max {
|
|
|
|
flex-grow: 1;
|
|
|
|
min-width: 25rem;
|
|
|
|
max-width: 100%;
|
|
|
|
border-right: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__list-item {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
align-items: center;
|
|
|
|
min-height: 2.5rem;
|
|
|
|
padding: 0 1.25rem;
|
|
|
|
border: 1px solid transparent;
|
|
|
|
border-radius: 12px;
|
|
|
|
cursor: pointer;
|
2022-02-16 12:02:31 +03:00
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background-color: var(--theme-bg-accent-color);
|
|
|
|
}
|
2022-02-01 12:13:01 +03:00
|
|
|
&.selected {
|
|
|
|
background-color: var(--theme-button-bg-enabled);
|
|
|
|
border-color: var(--theme-bg-accent-color);
|
|
|
|
cursor: auto;
|
|
|
|
}
|
|
|
|
}
|
2022-02-03 12:16:15 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
&__cards-container {
|
|
|
|
display: grid;
|
|
|
|
grid-template-columns: repeat(auto-fit, minmax(20rem, auto));
|
|
|
|
grid-auto-rows: minmax(12.5rem, auto);
|
|
|
|
grid-gap: 1.5rem;
|
|
|
|
padding: 3rem;
|
|
|
|
}
|
|
|
|
&__space-3 {
|
|
|
|
flex-shrink: 0;
|
2022-02-16 12:02:31 +03:00
|
|
|
min-height: 0.75rem;
|
|
|
|
height: 0.75rem;
|
2022-02-03 12:16:15 +03:00
|
|
|
}
|
2022-02-16 12:02:31 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
.ac-column__list-item + .ac-column__list-item {
|
|
|
|
margin-top: 0.75rem;
|
2022-02-01 12:13:01 +03:00
|
|
|
}
|
2022-02-07 12:39:23 +03:00
|
|
|
.ac-column__list-item + .ac-column__list-item { margin-top: .75rem; }
|
2022-02-11 16:41:16 +03:00
|
|
|
|
|
|
|
/* StatesBar */
|
|
|
|
.antiStatesBar {
|
|
|
|
overflow-x: auto;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
flex: 1 0;
|
|
|
|
min-width: 0;
|
|
|
|
|
2022-06-02 05:29:09 +03:00
|
|
|
&::-webkit-scrollbar:horizontal { height: 0; }
|
2022-02-11 16:41:16 +03:00
|
|
|
&::-webkit-scrollbar-track { margin: 0.25rem; }
|
|
|
|
&::-webkit-scrollbar-thumb { background-color: var(--theme-bg-accent-color); }
|
|
|
|
|
|
|
|
&.mask-none { mask-image: linear-gradient(to right, rgba(0, 0, 0, 0) 1); }
|
|
|
|
&.mask-left { mask-image: linear-gradient(to right, rgba(0, 0, 0, 0) 0, rgba(0, 0, 0, 1) 1rem); }
|
|
|
|
&.mask-right { mask-image: linear-gradient(to left, rgba(0, 0, 0, 0) 0, rgba(0, 0, 0, 1) 1rem); }
|
|
|
|
&.mask-both {
|
|
|
|
mask-image: linear-gradient(
|
|
|
|
to right,
|
|
|
|
rgba(0, 0, 0, 0) 0,
|
|
|
|
rgba(0, 0, 0, 1) 1rem,
|
|
|
|
rgba(0, 0, 0, 1) calc(100% - 1rem),
|
|
|
|
rgba(0, 0, 0, 0) 100%
|
|
|
|
);
|
|
|
|
}
|
|
|
|
|
|
|
|
.asb-bar {
|
|
|
|
flex: 1 0 auto;
|
|
|
|
position: relative;
|
|
|
|
display: flex;
|
|
|
|
min-width: 0;
|
|
|
|
width: auto;
|
|
|
|
|
|
|
|
&__back {
|
|
|
|
width: auto;
|
2022-06-02 05:29:09 +03:00
|
|
|
padding: 1px 0.5px;
|
|
|
|
height: calc(1.5rem + 2px);
|
|
|
|
// height: 1.5rem;
|
2022-02-11 16:41:16 +03:00
|
|
|
}
|
|
|
|
&__element {
|
2022-06-02 05:29:09 +03:00
|
|
|
fill: var(--accent-bg-color);
|
|
|
|
stroke: var(--divider-color);
|
2022-02-11 16:41:16 +03:00
|
|
|
stroke-linecap: round;
|
|
|
|
stroke-linejoin: round;
|
2022-06-02 05:29:09 +03:00
|
|
|
|
|
|
|
&:hover { fill: var(--button-bg-color); }
|
2022-02-11 16:41:16 +03:00
|
|
|
}
|
2022-06-02 05:29:09 +03:00
|
|
|
&__selected { fill: var(--button-bg-hover); }
|
2022-02-11 16:41:16 +03:00
|
|
|
|
|
|
|
.asb-label__container {
|
|
|
|
position: absolute;
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
top: 0;
|
2022-06-02 05:29:09 +03:00
|
|
|
left: .5rem;
|
|
|
|
right: .5rem;
|
2022-02-11 16:41:16 +03:00
|
|
|
min-width: 0;
|
2022-06-02 05:29:09 +03:00
|
|
|
width: calc(100% - 1rem);
|
2022-02-11 16:41:16 +03:00
|
|
|
height: 100%;
|
2022-06-02 05:29:09 +03:00
|
|
|
font-weight: 500;
|
|
|
|
font-size: 0.8125rem;
|
|
|
|
color: var(--dark-color);
|
|
|
|
pointer-events: none;
|
|
|
|
|
|
|
|
&.selected {
|
|
|
|
color: var(--caption-color);
|
|
|
|
}
|
2022-02-11 16:41:16 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2022-03-02 12:03:58 +03:00
|
|
|
|
|
|
|
/* Table */
|
|
|
|
.antiTable {
|
2022-05-03 19:04:21 +03:00
|
|
|
position: relative;
|
2022-03-02 12:03:58 +03:00
|
|
|
width: 100%;
|
|
|
|
|
|
|
|
th, td {
|
|
|
|
padding: .5rem 1.5rem;
|
|
|
|
text-align: left;
|
|
|
|
&:first-child { padding-left: 0; }
|
|
|
|
&:last-child { padding-right: 0; }
|
|
|
|
}
|
|
|
|
th {
|
|
|
|
height: 2.5rem;
|
|
|
|
font-weight: 500;
|
|
|
|
font-size: .75rem;
|
2022-06-01 06:26:43 +03:00
|
|
|
color: var(--dark-color);
|
|
|
|
box-shadow: inset 0 -1px 0 0 var(--divider-color);
|
2022-03-02 12:03:58 +03:00
|
|
|
user-select: none;
|
|
|
|
// z-index: 5;
|
|
|
|
|
|
|
|
&.sortable { cursor: pointer; }
|
|
|
|
&.sorted .icon {
|
|
|
|
margin-left: .25rem;
|
|
|
|
opacity: .6;
|
|
|
|
}
|
|
|
|
&:hover .antiTable-cells__checkCell { visibility: visible; }
|
|
|
|
.checkall { visibility: visible; }
|
|
|
|
}
|
|
|
|
|
2022-11-08 20:21:24 +03:00
|
|
|
&.editable {
|
|
|
|
th, td, tr {
|
|
|
|
border: 1px dashed var(--divider-color);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2022-03-02 12:03:58 +03:00
|
|
|
&.metaColumn {
|
|
|
|
th, td {
|
|
|
|
&:first-child {
|
|
|
|
padding: 0;
|
|
|
|
min-width: 2.5rem;
|
|
|
|
width: 2.5rem;
|
2022-04-21 12:38:09 +03:00
|
|
|
z-index: 1;
|
2022-03-02 12:03:58 +03:00
|
|
|
}
|
|
|
|
&:nth-child(2) { padding-left: 0; }
|
|
|
|
&:last-child { padding-right: 1.5rem; }
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.antiTable-cells {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
white-space: nowrap;
|
|
|
|
|
|
|
|
&__checkCell, &__notifyCell {
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
&__checkCell { visibility: hidden; }
|
|
|
|
&__firstCell {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
&-menuRow {
|
|
|
|
visibility: hidden;
|
|
|
|
margin-left: .5rem;
|
|
|
|
opacity: .6;
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
|
|
&:hover { opacity: 1; }
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.antiTable-body__row {
|
|
|
|
height: 3.25rem;
|
2022-06-01 06:26:43 +03:00
|
|
|
color: var(--caption-color);
|
2022-03-02 12:03:58 +03:00
|
|
|
|
2022-04-21 12:38:09 +03:00
|
|
|
&:not(:last-child) { border-bottom: 1px solid var(--accent-bg-color); }
|
2022-03-02 12:03:58 +03:00
|
|
|
&:hover .antiTable-cells__firstCell .antiTable-cells__firstCell-menuRow { visibility: visible; }
|
|
|
|
&:hover, &.checking {
|
|
|
|
.antiTable-cells__checkCell { visibility: visible; }
|
|
|
|
.antiTable-cells__notifyCell .notify-table-kind {
|
2022-04-21 12:38:09 +03:00
|
|
|
width: 1.15rem;
|
|
|
|
height: 1.15rem;
|
2022-05-12 14:29:49 +03:00
|
|
|
background-color: var(--highlight-hover);
|
2022-04-21 12:38:09 +03:00
|
|
|
border: 1px solid currentColor;
|
|
|
|
border-radius: .375rem;
|
2022-03-02 12:03:58 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2022-03-07 12:12:17 +03:00
|
|
|
|
2022-03-29 11:51:34 +03:00
|
|
|
.antiTable-body__border {
|
2022-06-01 06:26:43 +03:00
|
|
|
border: 1px solid var(--divider-color);
|
2022-04-21 12:38:09 +03:00
|
|
|
}
|
2022-03-29 11:51:34 +03:00
|
|
|
|
2022-03-07 12:12:17 +03:00
|
|
|
&.highlightRows .antiTable-body__row {
|
2022-05-12 14:29:49 +03:00
|
|
|
&.selected { background-color: var(--highlight-hover); }
|
|
|
|
&.checking {
|
|
|
|
background-color: var(--highlight-select);
|
|
|
|
border-bottom-color: var(--highlight-select-border);
|
|
|
|
|
|
|
|
&:hover { background-color: var(--highlight-select-hover); }
|
|
|
|
}
|
2022-03-07 12:12:17 +03:00
|
|
|
}
|
2022-07-04 21:16:04 +03:00
|
|
|
}
|
2022-05-03 19:04:21 +03:00
|
|
|
|
2022-07-04 21:16:04 +03:00
|
|
|
.scroller-thead {
|
|
|
|
position: sticky;
|
|
|
|
top: 0;
|
|
|
|
z-index: 2;
|
|
|
|
background-color: var(--body-color);
|
2022-03-02 12:03:58 +03:00
|
|
|
}
|
2022-03-11 12:08:06 +03:00
|
|
|
|
2022-05-05 17:34:27 +03:00
|
|
|
// THead background-color in Tooltip and Popups
|
|
|
|
.popup-tooltip .antiTable .scroller-thead,
|
2022-05-19 09:42:38 +03:00
|
|
|
.popup .antiTable .scroller-thead { background-color: var(--accent-bg-color); }
|
2022-05-05 11:29:46 +03:00
|
|
|
|
2022-03-11 12:08:06 +03:00
|
|
|
// Hide row menu in Tooltip
|
|
|
|
.popup-tooltip .antiTable .antiTable-body__row:hover .antiTable-cells__firstCell .antiTable-cells__firstCell-menuRow { visibility: hidden; }
|
2022-03-14 12:05:02 +03:00
|
|
|
|
|
|
|
// Basic component view.
|
|
|
|
.antiComponentBox {
|
|
|
|
padding: 0.5rem;
|
2022-03-18 09:37:49 +03:00
|
|
|
background-color: var(--theme-bg-accent-color);
|
2022-03-14 12:05:02 +03:00
|
|
|
border: 1px solid var(--theme-button-border-enabled);
|
|
|
|
border-radius: .75rem;
|
2022-03-18 09:37:49 +03:00
|
|
|
|
|
|
|
&.antiComponentBoxFocused {
|
|
|
|
background-color: var(--theme-button-bg-focused);
|
|
|
|
}
|
2022-03-14 12:05:02 +03:00
|
|
|
}
|
2022-03-17 09:07:38 +03:00
|
|
|
|
2022-06-10 20:59:09 +03:00
|
|
|
/* List */
|
|
|
|
|
|
|
|
.antiList-cells {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
white-space: nowrap;
|
|
|
|
|
|
|
|
&__checkCell, &__notifyCell {
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
&__checkCell { visibility: hidden; }
|
|
|
|
}
|
|
|
|
|
|
|
|
.antiList__row {
|
2022-06-20 17:11:14 +03:00
|
|
|
.antiList-cells__notifyCell,
|
|
|
|
.antiList-cells__checkCell {
|
|
|
|
flex-shrink: 0;
|
2022-06-10 20:59:09 +03:00
|
|
|
z-index: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover, &.checking {
|
|
|
|
.antiList-cells__checkCell { visibility: visible; }
|
|
|
|
.antiList-cells__notifyCell .notify-table-kind {
|
|
|
|
width: 1.15rem;
|
|
|
|
height: 1.15rem;
|
|
|
|
background-color: var(--highlight-hover);
|
|
|
|
border: 1px solid currentColor;
|
|
|
|
border-radius: .375rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-03-17 09:07:38 +03:00
|
|
|
/* Select */
|
|
|
|
.antiSelect {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
flex-wrap: nowrap;
|
|
|
|
min-width: 0;
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
|
|
.button {
|
2022-03-18 07:58:10 +03:00
|
|
|
flex-shrink: 0;
|
2022-03-17 09:07:38 +03:00
|
|
|
width: 2.25rem;
|
|
|
|
height: 2.25rem;
|
|
|
|
background-color: transparent;
|
|
|
|
border: 1px solid var(--theme-card-divider);
|
|
|
|
|
|
|
|
&.circle { border-radius: 50%; }
|
|
|
|
&.round-2 { border-radius: .5rem; }
|
|
|
|
|
|
|
|
& > .icon { color: var(--theme-content-trans-color); }
|
|
|
|
&.selected {
|
|
|
|
background-color: var(--theme-button-bg-focused);
|
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
&:focus {
|
|
|
|
border: 1px solid var(--primary-button-focused-border);
|
|
|
|
box-shadow: 0 0 0 3px var(--primary-button-outline);
|
|
|
|
& > .icon { color: var(--theme-caption-color); }
|
|
|
|
}
|
|
|
|
}
|
|
|
|
&:hover .button {
|
|
|
|
background-color: var(--theme-button-bg-pressed);
|
|
|
|
border: 1px solid var(--theme-bg-accent-color);
|
|
|
|
& > .icon { color: var(--theme-caption-color); }
|
|
|
|
}
|
|
|
|
|
2022-03-29 17:29:53 +03:00
|
|
|
.label {
|
2022-03-17 09:07:38 +03:00
|
|
|
white-space: nowrap;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
overflow: hidden;
|
|
|
|
user-select: none;
|
2022-03-29 17:29:53 +03:00
|
|
|
|
2022-03-17 09:07:38 +03:00
|
|
|
min-width: 0;
|
|
|
|
font-size: .75rem;
|
|
|
|
font-weight: 500;
|
|
|
|
color: var(--theme-content-accent-color);
|
|
|
|
}
|
|
|
|
|
|
|
|
.group {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
flex-wrap: nowrap;
|
|
|
|
margin-left: .75rem;
|
|
|
|
min-height: 0;
|
|
|
|
}
|
|
|
|
}
|
2022-03-18 07:58:10 +03:00
|
|
|
|
|
|
|
/* Wraps */
|
|
|
|
.antiWrapper {
|
|
|
|
position: relative;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
flex-wrap: nowrap;
|
|
|
|
min-width: 0;
|
|
|
|
|
2022-03-29 17:29:53 +03:00
|
|
|
&.conners {
|
|
|
|
&::after, &::before {
|
|
|
|
position: absolute;
|
|
|
|
width: 6px;
|
|
|
|
height: 6px;
|
|
|
|
background-color: var(--primary-button-enabled);
|
|
|
|
}
|
|
|
|
&::before {
|
|
|
|
top: -2px;
|
|
|
|
left: -4px;
|
|
|
|
clip-path: path('M0,6v-6h6v1h-5v5z');
|
|
|
|
}
|
|
|
|
&::after {
|
|
|
|
bottom: -2px;
|
|
|
|
right: -4px;
|
|
|
|
clip-path: path('M0,6h6v-6h-1v5h-5z');
|
|
|
|
}
|
2022-03-18 07:58:10 +03:00
|
|
|
}
|
|
|
|
&.wraped::before, &.wraped::after { content: ''; }
|
|
|
|
&.focusWI:focus-within::before, &.focusWI:focus-within::after { content: ''; }
|
|
|
|
&.focus:focus::before, &.focus:focus::after { content: ''; }
|
2022-03-29 17:29:53 +03:00
|
|
|
|
|
|
|
.result {
|
|
|
|
white-space: nowrap;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
overflow: hidden;
|
|
|
|
user-select: none;
|
|
|
|
min-width: 0;
|
|
|
|
|
|
|
|
&.selected { color: var(--theme-caption-color); }
|
|
|
|
&.not-selected { color: var(--theme-content-dark-color); }
|
|
|
|
&.highlight {
|
|
|
|
font-weight: 500;
|
|
|
|
font-size: 1rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.divider {
|
|
|
|
font-weight: 500;
|
|
|
|
font-size: .75em;
|
|
|
|
color: var(--theme-content-dark-color);
|
|
|
|
|
|
|
|
&.inter { font-size: 1em; }
|
|
|
|
}
|
2022-03-18 07:58:10 +03:00
|
|
|
}
|