1091 lines
27 KiB
SCSS
1091 lines
27 KiB
SCSS
.dashboard-editor {
|
|
padding: 20px;
|
|
min-height: 100vh;
|
|
max-height: 100vh;
|
|
width: 100vw;
|
|
overflow: hidden;
|
|
color: #ffffff;
|
|
z-index: 2;
|
|
background: transparent;
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
pointer-events: none;
|
|
|
|
// Utility class to disable transitions during drag/resize
|
|
.no-transition,
|
|
.no-transition * {
|
|
transition: none !important;
|
|
}
|
|
|
|
*> {
|
|
pointer-events: auto;
|
|
}
|
|
|
|
.control-panel {
|
|
margin-bottom: 20px;
|
|
display: flex;
|
|
justify-content: end;
|
|
gap: 10px;
|
|
flex-wrap: wrap;
|
|
|
|
.control-button {
|
|
padding: 8px 16px;
|
|
color: white;
|
|
border: none;
|
|
border-radius: 20px;
|
|
cursor: pointer;
|
|
backdrop-filter: blur(10px);
|
|
transition: background-color 0.2s ease;
|
|
pointer-events: auto;
|
|
|
|
&:not(.edit-mode-active) {
|
|
background-color: var(--background-color-button);
|
|
}
|
|
|
|
&.edit-mode-active {
|
|
background-color: var(--log-error-background-color);
|
|
color: var(--log-error-text-color);
|
|
}
|
|
|
|
&.primary {
|
|
background-color: rgba(33, 150, 243, 0.8);
|
|
}
|
|
|
|
&.secondary {
|
|
background-color: var(--background-color-button);
|
|
}
|
|
|
|
&:hover {
|
|
opacity: 0.9;
|
|
}
|
|
}
|
|
}
|
|
|
|
.block-grid {
|
|
display: flex;
|
|
flex: 1;
|
|
flex-wrap: wrap;
|
|
gap: 20px;
|
|
// margin-top: 20px;
|
|
max-height: calc(100vh - 100px);
|
|
overflow: auto;
|
|
padding: 10px;
|
|
|
|
.block {
|
|
position: relative;
|
|
cursor: pointer;
|
|
border: 1px solid rgba(255, 255, 255, 0.2);
|
|
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
|
|
// transition: all 0.3s ease;
|
|
z-index: 1;
|
|
resize: none;
|
|
overflow: hidden;
|
|
background-color: rgba(50, 50, 50, 0.8);
|
|
backdrop-filter: blur(10px);
|
|
padding: 10px;
|
|
border-radius: 8px;
|
|
min-height: 200px;
|
|
min-width: 300px;
|
|
|
|
&.selected {
|
|
outline: 2px solid var(--border-color-accent);
|
|
}
|
|
|
|
&.edit-mode {
|
|
cursor: pointer;
|
|
|
|
&:hover {
|
|
outline: 1px solid var(--border-color-accent);
|
|
}
|
|
}
|
|
|
|
&.draggable {
|
|
cursor: move;
|
|
}
|
|
|
|
.element-button-container {
|
|
position: relative;
|
|
}
|
|
|
|
.element-container {
|
|
display: flex;
|
|
justify-content: end;
|
|
|
|
position: absolute;
|
|
top: 10px;
|
|
right: 10px;
|
|
}
|
|
|
|
.add-element-button {
|
|
// position: absolute;
|
|
// top: 10px;
|
|
// right: 10px;
|
|
background: var(--background-color-button);
|
|
border: none;
|
|
border-radius: 20px;
|
|
color: white;
|
|
font-size: 12px;
|
|
padding: 6px 12px;
|
|
cursor: pointer;
|
|
z-index: 10;
|
|
backdrop-filter: blur(5px);
|
|
transition: background-color 0.2s ease;
|
|
|
|
// &:hover {
|
|
// background: rgba(33, 150, 243, 1);
|
|
// }
|
|
}
|
|
|
|
.resize-handle {
|
|
// width: 16px;
|
|
// height: 16px;
|
|
// background-color: rgba(76, 175, 80, 0.8);
|
|
border-radius: 3px;
|
|
position: absolute;
|
|
bottom: 2px;
|
|
right: 2px;
|
|
cursor: nwse-resize;
|
|
opacity: 0;
|
|
transition: opacity 0.2s ease;
|
|
z-index: 10;
|
|
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
|
|
&.selected .resize-handle {
|
|
opacity: 1;
|
|
}
|
|
}
|
|
}
|
|
|
|
.element {
|
|
margin: 5px;
|
|
border-radius: 4px;
|
|
padding: 8px;
|
|
user-select: none;
|
|
border: 1px solid transparent;
|
|
outline: 1px solid transparent;
|
|
|
|
&.edit-mode {
|
|
transition: all 0.2s;
|
|
|
|
&:hover {
|
|
outline-color: var(--border-color);
|
|
transform: translateY(-2px);
|
|
opacity: 0.8;
|
|
}
|
|
}
|
|
|
|
&.absolute {
|
|
position: absolute;
|
|
margin: 0;
|
|
}
|
|
|
|
&.selected {
|
|
outline: 2px solid var(--border-color-accent) !important;
|
|
background-color: rgba(98, 0, 255, 0.089);
|
|
|
|
&:hover {
|
|
transform: translateY(0);
|
|
}
|
|
}
|
|
|
|
&.swap-source {
|
|
border: 2px solid #4caf50;
|
|
background-color: rgba(76, 175, 80, 0.1);
|
|
}
|
|
|
|
&.swap-target {
|
|
border: 2px dashed var(--border-color-accent);
|
|
}
|
|
|
|
&.graph {
|
|
min-height: 120px;
|
|
min-width: 200px;
|
|
padding: 12px;
|
|
background-color: rgba(0, 0, 0, 0.2);
|
|
}
|
|
|
|
&.edit-mode.absolute {
|
|
cursor: move;
|
|
}
|
|
|
|
&.edit-mode:not(.absolute) {
|
|
cursor: pointer;
|
|
}
|
|
|
|
.swap-button {
|
|
position: absolute;
|
|
top: 2px;
|
|
right: 2px;
|
|
background: rgba(33, 150, 243, 0.8);
|
|
border: none;
|
|
border-radius: 3px;
|
|
color: white;
|
|
font-size: 10px;
|
|
padding: 2px 4px;
|
|
cursor: pointer;
|
|
opacity: 0;
|
|
transition: opacity 0.2s ease;
|
|
z-index: 10;
|
|
}
|
|
|
|
&:hover .swap-button,
|
|
&.selected .swap-button {
|
|
opacity: 1;
|
|
}
|
|
|
|
.resize-handle {
|
|
width: 20px;
|
|
height: 20px;
|
|
position: absolute;
|
|
bottom: 2px;
|
|
right: 2px;
|
|
background-color: var(--background-color-accent);
|
|
cursor: nwse-resize;
|
|
border-radius: 2px;
|
|
opacity: 0;
|
|
transition: opacity 0.2s ease;
|
|
}
|
|
|
|
&.selected .resize-handle {
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
.block-grid-container {
|
|
width: 100%;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
width: fit-content !important;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.block-grid-container.editable {
|
|
pointer-events: all;
|
|
}
|
|
|
|
.panel {
|
|
// position: fixed;
|
|
padding: 20px;
|
|
color: #ffffff;
|
|
|
|
background: var(--background-color);
|
|
backdrop-filter: blur(20px);
|
|
border-radius: 20px;
|
|
outline: 1px solid var(--border-color);
|
|
box-shadow: 0px 4px 8px rgba(60, 60, 67, 0.1019607843);
|
|
z-index: 3;
|
|
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 11px;
|
|
min-width: 280px;
|
|
height: fit-content;
|
|
max-width: 320px;
|
|
min-height: 60vh;
|
|
padding: 12px;
|
|
|
|
.free-move-button {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
z-index: 100;
|
|
height: 28px;
|
|
width: 68px;
|
|
top: 2px;
|
|
left: 50%;
|
|
border-radius: 28px;
|
|
transition: all 0.2s;
|
|
transform: translateX(-50%);
|
|
position: absolute;
|
|
cursor: grab;
|
|
|
|
&:hover {
|
|
background-color: var(--background-color-drop-down);
|
|
}
|
|
}
|
|
|
|
.header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
// margin: 0 0 10px 0;
|
|
border-bottom: 1px solid gray;
|
|
padding-bottom: 10px;
|
|
|
|
h4 {
|
|
font-size: var(--font-size-regular);
|
|
font-weight: 600;
|
|
}
|
|
|
|
.icon {
|
|
cursor: pointer;
|
|
|
|
svg {
|
|
path {
|
|
stroke: #ff4444;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.icon {
|
|
display: flex;
|
|
}
|
|
|
|
.design-section {
|
|
padding: 4px;
|
|
outline: 1px solid var(--border-color);
|
|
outline-offset: -1px;
|
|
border-radius: 12px;
|
|
background: var(--background-color);
|
|
|
|
padding: 14px 12px;
|
|
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 11px;
|
|
|
|
.value-field-container {
|
|
padding: 0;
|
|
margin: 0;
|
|
}
|
|
|
|
.select-type {
|
|
display: flex;
|
|
gap: 6px;
|
|
|
|
.type {
|
|
flex: 1;
|
|
padding: 4px 0;
|
|
text-align: center;
|
|
border-radius: 100px;
|
|
|
|
&.active {
|
|
background-color: var(--background-color-button);
|
|
}
|
|
}
|
|
}
|
|
|
|
.position-canvas {
|
|
background: #8d70ad33;
|
|
height: 110px;
|
|
border-radius: 17px;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
position: relative;
|
|
|
|
.canvas {
|
|
width: 60%;
|
|
height: 27px;
|
|
background: #e0dfff80;
|
|
// position: relative;
|
|
|
|
.value {
|
|
position: absolute;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 36px;
|
|
height: 24px;
|
|
text-align: center;
|
|
|
|
input,
|
|
span {
|
|
width: 36px;
|
|
height: auto;
|
|
padding: 0;
|
|
text-align: center;
|
|
background: transparent;
|
|
}
|
|
|
|
&.padding-top {
|
|
top: 12px;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
}
|
|
|
|
&.padding-right {
|
|
top: 50%;
|
|
right: 12px;
|
|
transform: translateY(-50%);
|
|
}
|
|
|
|
&.padding-bottom {
|
|
bottom: 12px;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
}
|
|
|
|
&.padding-left {
|
|
top: 50%;
|
|
left: 12px;
|
|
transform: translateY(-50%);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.alignments-section {
|
|
display: flex;
|
|
justify-content: center;
|
|
gap: 7px;
|
|
|
|
.section {
|
|
border-radius: 100px;
|
|
padding: 6px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-evenly;
|
|
gap: 10px;
|
|
width: 100%;
|
|
margin: 0;
|
|
}
|
|
|
|
.icon {
|
|
&.active {
|
|
background-color: var(--background-color-button);
|
|
border-radius: 8px;
|
|
outline: 2px solid var(--border-color-accent);
|
|
}
|
|
}
|
|
}
|
|
|
|
.input-range-container {
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
.design-section-footer {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 7px;
|
|
|
|
.layer-system {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 3px;
|
|
|
|
.increase-z,
|
|
.decrease-z,
|
|
.reset {
|
|
min-width: 26px;
|
|
height: 22px;
|
|
border-radius: 14px;
|
|
background: var(--background-color-drop-down);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
cursor: pointer;
|
|
transition: background 0.2s;
|
|
|
|
&:hover {
|
|
background: var(--background-color-accent);
|
|
}
|
|
|
|
svg {
|
|
pointer-events: none;
|
|
}
|
|
}
|
|
|
|
.increase-z {
|
|
svg {
|
|
rotate: 180deg;
|
|
}
|
|
}
|
|
}
|
|
|
|
.input,
|
|
input {
|
|
width: 100%;
|
|
}
|
|
|
|
.input-range-container,
|
|
.value-field-container {
|
|
width: 100%;
|
|
display: flex;
|
|
gap: 0px;
|
|
|
|
.label {
|
|
min-width: 92px;
|
|
}
|
|
|
|
.input-container {
|
|
width: 100%;
|
|
display: flex;
|
|
gap: 6px;
|
|
|
|
input[type="range"] {
|
|
margin: 0;
|
|
width: 136px;
|
|
}
|
|
|
|
input[type="number"] {
|
|
margin: 0;
|
|
width: 48px;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.datas {
|
|
// width: 100% ;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
|
|
.datas__label,
|
|
.datas__class {
|
|
flex: 1;
|
|
}
|
|
}
|
|
|
|
.type-switch {
|
|
display: flex;
|
|
|
|
.type {
|
|
flex: 1;
|
|
text-align: center;
|
|
padding: 4px 0;
|
|
border-radius: 19px;
|
|
cursor: pointer;
|
|
|
|
&.active {
|
|
background: var(--background-color-button);
|
|
}
|
|
}
|
|
}
|
|
|
|
&.data-model-panel {
|
|
left: 20px;
|
|
top: 50px;
|
|
min-width: 300px;
|
|
max-width: 400px;
|
|
max-height: 80vh;
|
|
overflow-y: auto;
|
|
|
|
.control-button {
|
|
&.primary {
|
|
background-color: var(--background-color-button);
|
|
}
|
|
}
|
|
}
|
|
|
|
&.block-editor-panel {
|
|
// h4 {
|
|
// color: #4caf50;
|
|
// }
|
|
|
|
.design-section-wrapper {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 6px;
|
|
}
|
|
}
|
|
|
|
.data-details {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 6px;
|
|
|
|
.data-wrapper {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 6px;
|
|
padding: 6px 12px;
|
|
|
|
.value-field-container {
|
|
margin: 0;
|
|
padding: 0;
|
|
|
|
.label,
|
|
.input.default {
|
|
width: auto;
|
|
flex: 1;
|
|
}
|
|
|
|
input,
|
|
.input-wrapper {
|
|
background: transparent;
|
|
}
|
|
}
|
|
|
|
.data {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
gap: 9px;
|
|
|
|
.datas_label,
|
|
.regularDropdown-container {
|
|
flex: 1;
|
|
}
|
|
}
|
|
}
|
|
|
|
.data-mapping {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 9px;
|
|
background: var(--background-color);
|
|
border: 1px solid var(--border-color);
|
|
box-shadow: var(--box-shadow-medium);
|
|
padding: 15px 12px;
|
|
border-radius: 25px;
|
|
|
|
.heading {
|
|
text-align: center;
|
|
}
|
|
|
|
.fields-wrapper {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 6px;
|
|
|
|
.datas {
|
|
width: 100%;
|
|
display: flex;
|
|
align-items: center;
|
|
// padding: 6px 12px;
|
|
|
|
.datas__label,
|
|
.datas__class {
|
|
flex: 1;
|
|
}
|
|
|
|
.datas__label {
|
|
flex: 0.8;
|
|
}
|
|
|
|
.datas__class {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
|
|
.icon {
|
|
display: flex;
|
|
padding: 5px 4px;
|
|
border-radius: 6px;
|
|
cursor: pointer;
|
|
|
|
&.active {
|
|
background: var(--background-color-button);
|
|
}
|
|
}
|
|
|
|
.delete {
|
|
cursor: pointer;
|
|
}
|
|
|
|
.regularDropdown-container {
|
|
.icon {
|
|
padding: 0;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.add-field {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
cursor: pointer;
|
|
|
|
svg path {
|
|
stroke: #ccacff !important;
|
|
}
|
|
|
|
.label {
|
|
color: #ccacff;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
.appearance {
|
|
.design-datas-wrapper {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, 1fr);
|
|
gap: 16px 16px;
|
|
|
|
.value-field-container {
|
|
label {
|
|
width: 80%;
|
|
text-wrap: nowrap;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
&.element-editor-panel {
|
|
right: 20px;
|
|
top: 50px;
|
|
// min-width: 300px;
|
|
max-height: 84vh;
|
|
overflow: auto;
|
|
|
|
max-width: 320px;
|
|
|
|
position: fixed;
|
|
top: 80px;
|
|
right: 40px;
|
|
|
|
.swap-button {
|
|
text-align: center;
|
|
color: #ccacff;
|
|
cursor: pointer;
|
|
}
|
|
}
|
|
}
|
|
|
|
.form-group {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
gap: 6px;
|
|
margin-bottom: 15px;
|
|
|
|
.input-range-container {
|
|
width: 100%;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
gap: 6px;
|
|
}
|
|
|
|
.form-label {
|
|
display: block;
|
|
// margin-bottom: 8px;
|
|
font-size: 14px;
|
|
text-wrap: nowrap;
|
|
}
|
|
|
|
.input-range-container {
|
|
padding: 0;
|
|
}
|
|
|
|
.form-select,
|
|
.color-input,
|
|
.range-input,
|
|
.form-input,
|
|
.input-container,
|
|
.regularDropdown-container {
|
|
max-width: 140px;
|
|
}
|
|
|
|
.form-input,
|
|
.form-select,
|
|
.form-textarea {
|
|
width: 100%;
|
|
padding: 8px;
|
|
background-color: rgba(85, 85, 85, 0.6);
|
|
color: #ffffff;
|
|
border: 1px solid rgba(255, 255, 255, 0.2);
|
|
border-radius: 6px;
|
|
font-family: inherit;
|
|
}
|
|
|
|
.form-textarea {
|
|
font-family: monospace;
|
|
font-size: 12px;
|
|
resize: vertical;
|
|
}
|
|
|
|
.form-small {
|
|
opacity: 0.7;
|
|
font-size: 12px;
|
|
margin-top: 4px;
|
|
display: block;
|
|
}
|
|
}
|
|
|
|
.color-input {
|
|
width: 100%;
|
|
height: 40px;
|
|
border-radius: 6px;
|
|
border: 1px solid rgba(255, 255, 255, 0.3);
|
|
cursor: pointer;
|
|
}
|
|
|
|
.range-input {
|
|
width: 100%;
|
|
height: 6px;
|
|
border-radius: 3px;
|
|
background-color: rgba(255, 255, 255, 0.1);
|
|
outline: none;
|
|
}
|
|
|
|
.swap-modal {
|
|
position: fixed;
|
|
top: 50%;
|
|
left: 50%;
|
|
transform: translate(-50%, -50%);
|
|
background-color: rgba(50, 50, 50, 0.95);
|
|
backdrop-filter: blur(15px);
|
|
border: 2px solid #4caf50;
|
|
padding: 20px;
|
|
border-radius: 12px;
|
|
z-index: 2000;
|
|
color: #ffffff;
|
|
text-align: center;
|
|
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
|
|
|
|
h4 {
|
|
margin: 0 0 15px 0;
|
|
color: #4caf50;
|
|
}
|
|
|
|
p {
|
|
margin-bottom: 20px;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.cancel-button {
|
|
padding: 8px 16px;
|
|
background-color: #ff4444;
|
|
color: white;
|
|
border: none;
|
|
border-radius: 6px;
|
|
cursor: pointer;
|
|
}
|
|
}
|
|
|
|
// Chart specific styles
|
|
.chart-container {
|
|
width: 100%;
|
|
height: 100%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
overflow: hidden;
|
|
padding: 6px;
|
|
|
|
.chart-title {
|
|
font-size: 14px;
|
|
font-weight: bold;
|
|
margin-bottom: 8px;
|
|
text-align: center;
|
|
color: #ffffff;
|
|
}
|
|
|
|
.chart-content {
|
|
flex: 1;
|
|
width: 100%;
|
|
min-height: 100px;
|
|
overflow: hidden;
|
|
}
|
|
}
|
|
|
|
// Label-Value specific styles
|
|
.label-value-container {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 4px;
|
|
align-items: flex-start;
|
|
justify-content: center;
|
|
text-align: left;
|
|
width: 100%;
|
|
height: 100%;
|
|
|
|
.label-text {
|
|
font-size: 12px;
|
|
opacity: 0.8;
|
|
}
|
|
|
|
.value-text {
|
|
font-size: 16px;
|
|
font-weight: bold;
|
|
}
|
|
}
|
|
|
|
// Text and Icon styles
|
|
.text-container,
|
|
.icon-container {
|
|
text-align: left;
|
|
width: 100%;
|
|
height: 100%;
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.icon-container {
|
|
text-align: center;
|
|
font-size: 24px;
|
|
justify-content: center;
|
|
}
|
|
}
|
|
|
|
.element-dropdown {
|
|
position: absolute;
|
|
transform: translateY(35px);
|
|
background-color: rgba(50, 50, 50, 0.95);
|
|
backdrop-filter: blur(10px);
|
|
border: 1px solid rgba(255, 255, 255, 0.2);
|
|
padding: 10px;
|
|
z-index: 9999;
|
|
border-radius: 8px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 5px;
|
|
min-width: 150px;
|
|
|
|
.dropdown-button {
|
|
padding: 8px 12px;
|
|
background-color: rgba(85, 85, 85, 0.8);
|
|
color: white;
|
|
border: none;
|
|
border-radius: 6px;
|
|
cursor: pointer;
|
|
backdrop-filter: blur(5px);
|
|
transition: all 0.2s ease;
|
|
|
|
&:hover {
|
|
background-color: rgba(85, 85, 85, 1);
|
|
}
|
|
}
|
|
}
|
|
|
|
// DataDetailedDropdown
|
|
.data-detailed-dropdown {
|
|
display: flex;
|
|
width: 100%;
|
|
|
|
.title,
|
|
.input-container {
|
|
flex: 1;
|
|
}
|
|
|
|
.input-container {
|
|
min-width: 100px;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
|
|
.input-wrapper {
|
|
width: 100%;
|
|
background: transparent;
|
|
}
|
|
|
|
.key {
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.icon {
|
|
display: flex;
|
|
padding: 2px;
|
|
border-radius: 2px;
|
|
|
|
&.active {
|
|
background: var(--background-color-button);
|
|
}
|
|
|
|
cursor: pointer;
|
|
}
|
|
}
|
|
|
|
.input-wrapper {
|
|
outline: 1px solid var(--input-border-color);
|
|
outline-offset: -1px;
|
|
border: none;
|
|
background: var(--background-color-input);
|
|
color: var(--input-text-color);
|
|
|
|
border-radius: 100px;
|
|
position: relative;
|
|
|
|
.input {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 4px 8px;
|
|
}
|
|
|
|
.dropdown-panel {
|
|
position: absolute;
|
|
z-index: 1;
|
|
top: 0;
|
|
right: 0;
|
|
transform: translateY(30px);
|
|
min-width: 200px;
|
|
padding: 12px;
|
|
|
|
outline: 1px solid var(--border-color);
|
|
outline-offset: -1px;
|
|
border-radius: 12px;
|
|
|
|
background: var(--background-color);
|
|
backdrop-filter: blur(20px);
|
|
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
|
|
.search {
|
|
outline: 1px solid var(--border-color);
|
|
outline-offset: -1px;
|
|
border-radius: 12px;
|
|
background: var(--background-color);
|
|
|
|
display: flex;
|
|
align-items: center;
|
|
|
|
padding: 4px 9px;
|
|
|
|
.icon {
|
|
height: 10px;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
|
|
input {
|
|
outline: none;
|
|
border: none;
|
|
background: transparent;
|
|
padding: 0;
|
|
padding-left: 3px;
|
|
}
|
|
}
|
|
|
|
.data-section {
|
|
.data-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
|
|
.data-section-count {
|
|
font-size: 10px;
|
|
}
|
|
}
|
|
|
|
.item {
|
|
padding: 8px 0;
|
|
display: flex;
|
|
gap: 2px;
|
|
align-items: center;
|
|
|
|
.icon {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
|
|
&.active {
|
|
span {
|
|
color: #ccacff;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
} |