Refactor Assets component layout and styling; enhance Trigger dropdowns with labels; update MenuBar theme retrieval; fix icon import in AssetPreview; adjust Card component star rating display; modify AddButtons styles and functionality; improve variable definitions in SCSS files; streamline input component styles; refine marketplace card layout; enhance menu dropdown styles; update module toggle styles; adjust tools component styles; improve visualization floating styles; clean up sidebar styles; optimize realTimeViz styles for better responsiveness.

This commit is contained in:
2025-04-30 16:23:24 +05:30
parent 4152e611a9
commit 5119b014b7
23 changed files with 470 additions and 499 deletions

View File

@@ -4,7 +4,6 @@
// Main Container
.realTime-viz {
background: #131313;
border-radius: 20px;
box-shadow: $box-shadow-medium;
width: calc(100% - (320px + 270px + 90px));
height: calc(100% - (250px));
@@ -24,19 +23,15 @@
}
.floating {
width: calc(var(--realTimeViz-container-width) * 0.2);
height: calc(var(--realTimeViz-container-width) * 0.05);
min-width: 250px;
max-width: 300px;
// min-height: 83px !important;
// max-height: 100px !important;
background: var(--background-color);
border: 1.23px solid var(--border-color);
backdrop-filter: blur(10px);
border: 1px solid var(--border-color);
box-shadow: 0px 4.91px 4.91px 0px #0000001c;
border-radius: $border-radius-medium;
padding: 18px;
@@ -67,12 +62,12 @@
.zone-wrapper {
display: flex;
background: var(--background-color);
backdrop-filter: blur(10px);
position: absolute;
bottom: 0px;
left: 50%;
gap: 6px;
border-radius: 8px;
max-width: 80%;
overflow: auto;
max-width: calc(100% - 500px);
min-width: 150px;
@@ -117,15 +112,13 @@
}
.active {
background: var(--accent-color);
background: var(--background-color-accent);
color: var(--background-color);
// color: #FCFDFD !important;
}
}
.zone-wrapper.bottom {
bottom: var(--bottomWidth);
// bottom: 200px;
}
.content-container {
@@ -146,7 +139,6 @@
display: flex;
background: rgba(224, 223, 255, 0.5);
position: absolute;
// bottom: 10px;
left: 50%;
transform: translate(-50%, 0);
gap: 6px;
@@ -189,7 +181,6 @@
border-radius: 6px;
overflow: auto;
z-index: $z-index-tools;
overflow: auto;
&::-webkit-scrollbar {
display: none;
@@ -204,6 +195,7 @@
flex-direction: column;
gap: 6px;
background: var(--background-color);
backdrop-filter: blur(10px);
&::-webkit-scrollbar {
display: none;
@@ -211,12 +203,10 @@
.chart-container {
width: 100%;
max-height: 100%;
border: 1px dashed var(--background-color-gray);
border-radius: 8px;
box-shadow: var(--box-shadow-medium);
padding: 6px 0;
background: var(--background-color);
position: relative;
padding: 0 10px;
@@ -255,14 +245,11 @@
color: var(--text-color);
&:hover {
background: var(--highlight-accent-color);
width: 100%;
.label {
color: var(--accent-color);
}
}
&:hover {
background: var(--highlight-accent-color);
width: 100%;
svg {
&:first-child {
@@ -285,7 +272,6 @@
}
}
.close-btn {
position: absolute;
top: 5px;
@@ -369,7 +355,6 @@
.playingFlase {
.zone-wrapper.bottom {
bottom: var(--bottomWidth);
// bottom: 210px;
}
}
@@ -398,7 +383,7 @@
}
.active {
background: var(--accent-color);
background: var(--background-color-accent);
}
&:hover {
@@ -413,8 +398,7 @@
height: 18px;
display: flex;
justify-content: center;
// align-items: center;
background: var(--accent-color);
background: var(--background-color-accent);
border: none;
color: var(--background-color);
border-radius: 4px;
@@ -425,20 +409,20 @@
}
path {
stroke: var(--primary-color);
stroke: var(--text-color);
stroke-width: 2;
}
}
.active {
background: #ffe3e0;
background: #f657482f;
.add-icon {
rotate: 45deg;
path {
stroke: #f65648;
stroke-width: 2;
stroke-width: 1.3;
}
}
}
@@ -589,12 +573,6 @@
}
.floating-wrapper {
.icon {
// width: 25px !important;
// height: 25px !important;
// background: transparent;
}
.kebab {
width: 25px;
height: 25px;
@@ -640,9 +618,6 @@
.label {
color: var(--accent-color);
}
}
&:hover {
background: var(--highlight-accent-color);
width: 100%;
@@ -662,22 +637,19 @@
}
.distance-line {
position: absolute;
border-style: dashed;
border-color: var(--accent-color);
/* Green color for visibility */
border-color: var(--background-color-accent);
border-width: 1px;
pointer-events: none;
/* Ensure lins don't interfere with dragging */
z-index: 10000;
}
/* Label styles for displaying distance values */
.distance-label {
position: absolute;
background: var(--accent-color);
color: white;
background: var(--background-color-accent);
color: var(--text-button-color);
font-size: 12px;
padding: 2px 6px;
border-radius: 3px;
@@ -749,15 +721,12 @@
}
.activeChart {
outline: 2px solid var(--accent-color);
outline: 1px solid var(--highlight-secondary-color);
z-index: 2 !important;
}
.chart-container.notLinked {
outline: 1px solid red;
}
.connectionSuccess {
@@ -801,4 +770,4 @@
}
}
}
}
}