173 lines
4.0 KiB
SCSS

// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
//
// Copyright (c) KALEIDOS INC Sucursal en España SL
@use "ds/typography.scss" as *;
@use "refactor/common-refactor.scss" as deprecated;
.sets-list {
width: 100%;
margin-bottom: 0;
overflow-y: auto;
}
.empty-sets-wrapper {
padding: deprecated.$s-12;
padding-inline-start: deprecated.$s-24;
color: var(--color-foreground-secondary);
}
.create-set-button {
@include use-typography("body-small");
background-color: transparent;
border: none;
appearance: none;
color: var(--color-accent-primary);
cursor: pointer;
}
.set-item-container {
@include deprecated.body-small-typography;
display: flex;
align-items: center;
width: 100%;
min-height: deprecated.$s-32;
cursor: pointer;
color: var(--layer-row-foreground-color);
padding-left: calc(deprecated.$s-24 * var(--tree-depth, 0) + deprecated.$s-8);
border: deprecated.$s-2 solid transparent;
gap: deprecated.$s-2;
&.dnd-over-bot {
border-bottom: deprecated.$s-2 solid var(--layer-row-foreground-color-hover);
}
&.dnd-over-top {
border-top: deprecated.$s-2 solid var(--layer-row-foreground-color-hover);
}
&.dnd-over {
border: deprecated.$s-2 solid var(--layer-row-foreground-color-hover);
}
}
.set-item-group {
cursor: unset;
padding-left: calc(deprecated.$s-24 * var(--tree-depth, 0));
gap: 0;
}
.set-item-group-collapse-button {
cursor: pointer;
width: auto;
height: deprecated.$s-28;
}
.set-name {
@include deprecated.text-ellipsis;
flex-grow: 1;
padding-left: deprecated.$s-2;
}
.icon {
flex-shrink: 0;
display: flex;
align-items: center;
width: deprecated.$s-20;
height: deprecated.$s-20;
padding-right: deprecated.$s-4;
}
.root-icon {
margin-left: deprecated.$s-8;
}
.checkbox-style {
flex-shrink: 0;
display: flex;
justify-content: center;
align-items: center;
width: deprecated.$s-16;
height: deprecated.$s-16;
margin-inline: deprecated.$s-6;
background-color: var(--input-checkbox-background-color-rest);
border: deprecated.$s-1 solid var(--input-checkbox-border-color-rest);
border-radius: deprecated.$s-4;
padding: 0;
}
.checkbox-checked-style {
background-color: var(--input-border-color-active);
color: var(--color-background-secondary);
}
.checkbox-disabled {
border: deprecated.$s-1 solid var(--color-background-quaternary);
background-color: var(--color-background-tertiary);
}
.checkbox-disabled-checked {
background-color: var(--color-accent-primary-muted);
color: var(--color-background-quaternary);
}
.check-icon {
color: currentcolor;
}
.set-item-container:hover {
background-color: var(--layer-row-background-color-hover);
color: var(--layer-row-foreground-color-hover);
box-shadow: -100px 0 0 0 var(--layer-row-background-color-hover);
}
.empty-state-message-sets {
display: flex;
justify-content: center;
align-items: center;
width: 100%;
padding: deprecated.$s-12;
color: var(--color-foreground-secondary);
}
.selected-set {
background-color: var(--layer-row-background-color-selected);
color: var(--layer-row-foreground-color-selected);
box-shadow: -100px 0 0 0 var(--layer-row-background-color-selected);
}
.collapsabled-icon {
@include deprecated.button-style;
@include deprecated.flex-center;
height: deprecated.$s-24;
border-radius: deprecated.$br-8;
&:hover {
color: var(--title-foreground-color-hover);
}
}
.editing-node {
@include deprecated.text-ellipsis;
@include deprecated.body-small-typography;
@include deprecated.remove-input-style;
border: deprecated.$s-1 solid var(--input-border-color-focus);
border-radius: deprecated.$br-8;
color: var(--layer-row-foreground-color-focus);
flex-grow: 1;
height: deprecated.$s-28;
margin: 0;
padding-left: deprecated.$s-6;
&::placeholder {
color: var(--layer-row-foreground-color-placeholder);
}
}