platform/packages/theme/styles/panel.scss
Alexander Platov 51687d1a2b
UI fixes (#1498)
Signed-off-by: Alexander Platov <sas_lord@mail.ru>
2022-04-23 10:51:42 +07:00

58 lines
1.4 KiB
SCSS

//
// 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;
background: var(--body-accent);
border: 1px solid var(--divider-color);
border-radius: .5rem;
flex-direction: row;
box-shadow: var(--popup-shadow);
// left: 1rem;
.ac-header {
&.highlight { background-color: var(--accent-bg-color); }
&.divide { border-bottom: 1px solid var(--theme-card-divider); }
}
.ad-section-50 {
display: flex;
flex-direction: column;
flex-basis: 50%;
min-height: 0;
width: 50%;
&.divide { border-right: 1px solid var(--theme-card-divider); }
}
.ad-tools {
position: absolute;
display: flex;
top: 1.25rem;
right: 1.25rem;
&.grow-reverse {
display: flex;
flex-direction: row-reverse;
justify-content: flex-end;
align-items: center;
}
}
}