Merge branch 'main' into realTimeVisulization
This commit is contained in:
@@ -9,3 +9,25 @@
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
// Array of base colors
|
||||
$colors: (
|
||||
#f5550b,
|
||||
#1bac1b,
|
||||
#0099ff,
|
||||
#d4c927,
|
||||
#8400ff,
|
||||
#13e9b3,
|
||||
#df1dcf
|
||||
);
|
||||
|
||||
@mixin gradient-by-child($index) {
|
||||
// Get the color based on the index passed
|
||||
$base-color: nth($colors, $index);
|
||||
// Apply gradient using the same color with different alpha values
|
||||
background: linear-gradient(
|
||||
144.19deg,
|
||||
rgba($base-color, 0.2) 16.62%, // 20% opacity
|
||||
rgba($base-color, 0.08) 85.81% // 80% opacity
|
||||
);
|
||||
}
|
||||
|
||||
@@ -7,14 +7,28 @@ input {
|
||||
width: 100%;
|
||||
padding: 2px 4px;
|
||||
border-radius: #{$border-radius-small};
|
||||
border: 1px solid var(--border-color);
|
||||
outline: none;
|
||||
outline: 2px solid var(--border-color);
|
||||
outline-offset: -2px;
|
||||
border: none;
|
||||
background: transparent;
|
||||
color: var(--input-text-color);
|
||||
|
||||
&:focus,
|
||||
&:active {
|
||||
border: 1px solid var(--accent-color);
|
||||
outline: 1px solid var(--accent-color);
|
||||
}
|
||||
|
||||
&:-webkit-autofill,
|
||||
&:-webkit-autofill:hover,
|
||||
&:-webkit-autofill:focus,
|
||||
&:-webkit-autofill:active {
|
||||
// Text styles
|
||||
-webkit-text-fill-color: var(--input-text-color) !important;
|
||||
caret-color: var(--input-text-color);
|
||||
|
||||
// Background styles
|
||||
background-color: var(--background-color) !important;
|
||||
-webkit-box-shadow: 0 0 0px 1000px var(--background-color) inset !important;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -45,6 +59,7 @@ input {
|
||||
.toggle-header-container {
|
||||
@include flex-center;
|
||||
padding: 6px 12px;
|
||||
margin: 6px 0;
|
||||
|
||||
.toggle-header-item {
|
||||
width: 100%;
|
||||
@@ -553,6 +568,7 @@ input {
|
||||
.input-value {
|
||||
width: 42px;
|
||||
text-align: center;
|
||||
|
||||
&::-webkit-inner-spin-button,
|
||||
&::-webkit-outer-spin-button {
|
||||
-webkit-appearance: none;
|
||||
@@ -615,6 +631,7 @@ input {
|
||||
|
||||
input {
|
||||
border: none;
|
||||
outline: none;
|
||||
background: transparent;
|
||||
|
||||
&::placeholder {
|
||||
@@ -654,4 +671,4 @@ input {
|
||||
.multi-email-invite-input.active {
|
||||
border: 1px solid var(--accent-color);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,507 +1,482 @@
|
||||
@use '../../../abstracts/variables.scss' as *;
|
||||
@use '../../../abstracts/mixins.scss' as *;
|
||||
@use "../../../abstracts/variables.scss" as *;
|
||||
@use "../../../abstracts/mixins.scss" as *;
|
||||
|
||||
.throughput-wrapper,
|
||||
.card {
|
||||
background-color: var(--background-color);
|
||||
box-shadow: var(--box-shadow-heavy);
|
||||
background-color: var(--background-color);
|
||||
box-shadow: var(--box-shadow-heavy);
|
||||
@include flex-center;
|
||||
flex-direction: column;
|
||||
gap: 6px;
|
||||
border-radius: 17.22px;
|
||||
max-width: 341px;
|
||||
|
||||
padding: 14px;
|
||||
|
||||
.header {
|
||||
@include flex-center;
|
||||
flex-direction: column;
|
||||
gap: 6px;
|
||||
border-radius: 17.22px;
|
||||
max-width: 341px;
|
||||
align-items: start;
|
||||
font-weight: $medium-weight;
|
||||
font-size: $large;
|
||||
}
|
||||
|
||||
padding: 14px;
|
||||
.display-value {
|
||||
@include flex-center;
|
||||
|
||||
.header {
|
||||
.left {
|
||||
@include flex-center;
|
||||
gap: 6px;
|
||||
|
||||
.icon {
|
||||
width: 27px !important;
|
||||
height: 27px !important;
|
||||
background: var(--background-color);
|
||||
border-radius: 50%;
|
||||
@include flex-center;
|
||||
align-items: start;
|
||||
font-weight: $medium-weight;
|
||||
font-size: $large;
|
||||
}
|
||||
|
||||
}
|
||||
.value-container {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
||||
.display-value {
|
||||
@include flex-center;
|
||||
.value-wrapper {
|
||||
display: flex;
|
||||
gap: 6px;
|
||||
|
||||
.left {
|
||||
@include flex-center;
|
||||
gap: 6px;
|
||||
|
||||
.icon {
|
||||
width: 27px !important;
|
||||
height: 27px !important;
|
||||
background: var(--background-color);
|
||||
border-radius: 50%;
|
||||
@include flex-center;
|
||||
}
|
||||
|
||||
.value-container {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
||||
|
||||
.value-wrapper {
|
||||
|
||||
display: flex;
|
||||
gap: 6px;
|
||||
|
||||
.value {
|
||||
font-size: $small;
|
||||
color: var(--accent-color);
|
||||
font-weight: $bold-weight;
|
||||
}
|
||||
}
|
||||
|
||||
.total-sales {
|
||||
display: flex;
|
||||
gap: 6px;
|
||||
}
|
||||
|
||||
}
|
||||
.value {
|
||||
font-size: $small;
|
||||
color: var(--accent-color);
|
||||
font-weight: $bold-weight;
|
||||
}
|
||||
}
|
||||
|
||||
.right {
|
||||
.percent-increase {
|
||||
width: 80px;
|
||||
height: 24px;
|
||||
border-radius: 7.75px;
|
||||
background: var(--background-color);
|
||||
color: #34C759;
|
||||
@include flex-center;
|
||||
}
|
||||
.total-sales {
|
||||
display: flex;
|
||||
gap: 6px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.footer {
|
||||
text-align: center;
|
||||
.right {
|
||||
.percent-increase {
|
||||
width: 80px;
|
||||
height: 24px;
|
||||
border-radius: 7.75px;
|
||||
background: var(--background-color);
|
||||
color: #34c759;
|
||||
@include flex-center;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.footer {
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
.returnOfInvestment {
|
||||
gap: 10px;
|
||||
gap: 10px;
|
||||
min-width: 150px;
|
||||
|
||||
.charts {
|
||||
width: 100%;
|
||||
height: 200px;
|
||||
min-width: 150px;
|
||||
}
|
||||
|
||||
.charts {
|
||||
width: 100%;
|
||||
height: 200px;
|
||||
min-width: 150px;
|
||||
.returns-wrapper {
|
||||
display: flex;
|
||||
gap: 4px;
|
||||
align-items: center;
|
||||
|
||||
.value {
|
||||
font-size: var(--font-size-xxxlarge);
|
||||
color: var(--accent-color);
|
||||
}
|
||||
}
|
||||
|
||||
.returns-wrapper {
|
||||
display: flex;
|
||||
gap: 4px;
|
||||
align-items: center;
|
||||
.footer {
|
||||
text-align: start;
|
||||
|
||||
.value {
|
||||
font-size: var(--font-size-xxxlarge);
|
||||
color: var(--accent-color);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
.footer {
|
||||
text-align: start;
|
||||
|
||||
span {
|
||||
font-weight: $bold-weight;
|
||||
}
|
||||
span {
|
||||
font-weight: $bold-weight;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
.productionCapacity-wrapper {
|
||||
background-color: var(--background-color);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 6px;
|
||||
width: 313px;
|
||||
padding: 4.5px;
|
||||
border-radius: 9.74px;
|
||||
|
||||
.headeproductionCapacityr-wrapper,
|
||||
.bar-chart {
|
||||
padding: 14px;
|
||||
background-color: var(--background-color);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 6px;
|
||||
width: 313px;
|
||||
padding: 4.5px;
|
||||
border-radius: 9.74px;
|
||||
border-radius: 5.2px;
|
||||
|
||||
.headeproductionCapacityr-wrapper,
|
||||
.bar-chart {
|
||||
padding: 14px;
|
||||
background-color: var(--background-color);
|
||||
width: 100%;
|
||||
height: 150px;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
|
||||
.header {
|
||||
font-size: $small;
|
||||
text-align: start;
|
||||
justify-content: start;
|
||||
}
|
||||
|
||||
.production-capacity {
|
||||
display: flex;
|
||||
gap: 6px;
|
||||
|
||||
.current,
|
||||
.target {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 6px;
|
||||
border-radius: 5.2px;
|
||||
|
||||
width: 100%;
|
||||
height: 150px;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
|
||||
.header {
|
||||
font-size: $small;
|
||||
text-align: start;
|
||||
justify-content: start;
|
||||
.key,
|
||||
.value {
|
||||
font-size: $tiny;
|
||||
}
|
||||
}
|
||||
|
||||
.production-capacity {
|
||||
display: flex;
|
||||
gap: 6px;
|
||||
|
||||
.current,
|
||||
.target {
|
||||
display: flex;
|
||||
gap: 6px;
|
||||
align-items: center;
|
||||
|
||||
.key,
|
||||
.value {
|
||||
font-size: $tiny;
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
.current {
|
||||
.value {
|
||||
|
||||
background: var(--background-color-secondary);
|
||||
color: #5783F2;
|
||||
border-radius: 12.99px;
|
||||
padding: 3px 4px;
|
||||
}
|
||||
}
|
||||
|
||||
.target {
|
||||
.value {
|
||||
|
||||
background: var(--background-color-secondary);
|
||||
color: #9641A7;
|
||||
border-radius: 12.99px;
|
||||
padding: 3px 4px;
|
||||
}
|
||||
}
|
||||
.current {
|
||||
.value {
|
||||
background: var(--background-color-secondary);
|
||||
color: #5783f2;
|
||||
border-radius: 12.99px;
|
||||
padding: 3px 4px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.bar-chart {
|
||||
padding: 14px 0;
|
||||
.target {
|
||||
.value {
|
||||
background: var(--background-color-secondary);
|
||||
color: #9641a7;
|
||||
border-radius: 12.99px;
|
||||
padding: 3px 4px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.bar-chart {
|
||||
padding: 14px 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
.stateWorking-wrapper {
|
||||
min-width: 445px;
|
||||
font-size: var(--font-size-small);
|
||||
backdrop-filter: blur(40px);
|
||||
background: var(--background-color-secondary);
|
||||
border-radius: 20px;
|
||||
color: var(--text-color);
|
||||
background: #252525CC;
|
||||
min-width: 445px;
|
||||
font-size: var(--font-size-small);
|
||||
backdrop-filter: blur(40px);
|
||||
background: var(--background-color-secondary);
|
||||
border-radius: 20px;
|
||||
color: var(--text-color);
|
||||
background: #252525cc;
|
||||
|
||||
.header-wrapper {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
.header-wrapper {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
|
||||
.header {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
.header {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
||||
span {
|
||||
font-size: var(--font-size-xxlarge);
|
||||
span {
|
||||
font-size: var(--font-size-xxlarge);
|
||||
|
||||
&:first-child {
|
||||
color: #FCFDFD;
|
||||
}
|
||||
|
||||
&:last-child {
|
||||
color: #34C759;
|
||||
}
|
||||
}
|
||||
&:first-child {
|
||||
color: #fcfdfd;
|
||||
}
|
||||
|
||||
.img {
|
||||
border-radius: 4px;
|
||||
|
||||
img {
|
||||
border-radius: 4px;
|
||||
|
||||
}
|
||||
&:last-child {
|
||||
color: #34c759;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.data-wrapper {
|
||||
width: 100%;
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
gap: 10px;
|
||||
padding: 10px;
|
||||
.img {
|
||||
border-radius: 4px;
|
||||
|
||||
.data-table {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
padding: 5px;
|
||||
border-bottom: 1px dotted #ccc;
|
||||
|
||||
.data {
|
||||
color: #FCFDFD;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.key {
|
||||
color: #FCFDFD;
|
||||
text-align: right;
|
||||
}
|
||||
}
|
||||
img {
|
||||
border-radius: 4px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.data-wrapper {
|
||||
width: 100%;
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
gap: 10px;
|
||||
padding: 10px;
|
||||
|
||||
.data-table {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
padding: 5px;
|
||||
border-bottom: 1px dotted #ccc;
|
||||
|
||||
.data {
|
||||
color: #fcfdfd;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.key {
|
||||
color: #fcfdfd;
|
||||
text-align: right;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
.total-card {
|
||||
min-height: auto !important;
|
||||
background: var(--background-color);
|
||||
min-height: 83px !important;
|
||||
background: var(--background-color);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
padding: 18px !important;
|
||||
|
||||
.header-wrapper {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 5px;
|
||||
|
||||
.header {
|
||||
color: #a0aec0;
|
||||
}
|
||||
|
||||
.data-values {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
|
||||
.value {
|
||||
color: var(--text-color);
|
||||
}
|
||||
|
||||
.per {
|
||||
color: #01b574;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.icon {
|
||||
width: 45px;
|
||||
height: 45px;
|
||||
background-color: var(--accent-color);
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
padding: 18px !important;
|
||||
|
||||
.header-wrapper {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 5px;
|
||||
|
||||
.header {
|
||||
color: #A0AEC0;
|
||||
}
|
||||
|
||||
.data-values {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
|
||||
.value {
|
||||
color: var(--text-color);
|
||||
}
|
||||
|
||||
.per {
|
||||
color: #01B574;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.icon {
|
||||
width: 45px;
|
||||
height: 45px;
|
||||
background-color: var(--accent-color);
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
border-radius: 12px;
|
||||
|
||||
}
|
||||
border-radius: 12px;
|
||||
}
|
||||
}
|
||||
|
||||
.warehouseThroughput {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 6px;
|
||||
background-color: var(--background-color);
|
||||
padding: 14px;
|
||||
|
||||
.header {
|
||||
p {
|
||||
span {
|
||||
color: var(--accent-color);
|
||||
}
|
||||
}
|
||||
|
||||
h2 {
|
||||
color: var(--text-color);
|
||||
}
|
||||
min-height: 250px !important;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 6px;
|
||||
background-color: var(--background-color);
|
||||
padding: 14px;
|
||||
|
||||
.header {
|
||||
p {
|
||||
span {
|
||||
color: var(--accent-color);
|
||||
}
|
||||
}
|
||||
|
||||
h2 {
|
||||
color: var(--text-color);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.productivity-dashboard {
|
||||
width: 100%;
|
||||
background-color: var(--background-color);
|
||||
color: white;
|
||||
padding: 20px;
|
||||
border-radius: 8px;
|
||||
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
|
||||
width: 100%;
|
||||
background-color: var(--background-color);
|
||||
color: white;
|
||||
padding: 20px;
|
||||
border-radius: 8px;
|
||||
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
|
||||
|
||||
header {
|
||||
@include flex-space-between;
|
||||
margin-bottom: 20px;
|
||||
header {
|
||||
@include flex-space-between;
|
||||
margin-bottom: 20px;
|
||||
|
||||
h2 {
|
||||
font-size: $regular;
|
||||
margin: 0;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.options {
|
||||
background-color: #343b47;
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
border-radius: 4px;
|
||||
cursor: pointer;
|
||||
|
||||
&:hover {
|
||||
background-color: #49505a;
|
||||
}
|
||||
}
|
||||
h2 {
|
||||
font-size: $regular;
|
||||
margin: 0;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
main {
|
||||
display: flex;
|
||||
gap: 20px;
|
||||
.options {
|
||||
background-color: #343b47;
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
border-radius: 4px;
|
||||
cursor: pointer;
|
||||
|
||||
.metrics {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 10px;
|
||||
|
||||
.metric {
|
||||
background-color: #2c3e50;
|
||||
padding: 15px;
|
||||
border-radius: 4px;
|
||||
|
||||
.label {
|
||||
font-size: var(--font-size-regular);
|
||||
margin: 0;
|
||||
opacity: 0.7;
|
||||
}
|
||||
|
||||
.value {
|
||||
font-size: var(--font-size-xlarge);
|
||||
font-weight: bold;
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.chart-section {
|
||||
position: relative;
|
||||
flex: 1;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
|
||||
.progress-circle {
|
||||
transform: rotate(-90deg);
|
||||
/* Adjust rotation for SVG */
|
||||
width: 150px;
|
||||
height: 150px;
|
||||
|
||||
circle {
|
||||
transition: stroke-dashoffset 0.5s ease-in-out; // Smooth animation
|
||||
}
|
||||
}
|
||||
|
||||
.chart-details {
|
||||
position: absolute;
|
||||
text-align: center;
|
||||
|
||||
.title {
|
||||
font-size: var(--font-size-large);
|
||||
margin: 0;
|
||||
opacity: 0.7;
|
||||
}
|
||||
|
||||
.time {
|
||||
font-size: var(--font-size-xxxlarge);
|
||||
font-weight: bold;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.subtitle {
|
||||
font-size: var(--font-size-regular);
|
||||
margin: 0;
|
||||
opacity: 0.7;
|
||||
}
|
||||
}
|
||||
}
|
||||
&:hover {
|
||||
background-color: #49505a;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
main {
|
||||
display: flex;
|
||||
gap: 20px;
|
||||
|
||||
.metrics {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 10px;
|
||||
|
||||
.metric {
|
||||
background-color: #2c3e50;
|
||||
padding: 15px;
|
||||
border-radius: 4px;
|
||||
|
||||
.label {
|
||||
font-size: var(--font-size-regular);
|
||||
margin: 0;
|
||||
opacity: 0.7;
|
||||
}
|
||||
|
||||
.value {
|
||||
font-size: var(--font-size-xlarge);
|
||||
font-weight: bold;
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.chart-section {
|
||||
position: relative;
|
||||
flex: 1;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
|
||||
.progress-circle {
|
||||
transform: rotate(-90deg);
|
||||
/* Adjust rotation for SVG */
|
||||
width: 150px;
|
||||
height: 150px;
|
||||
|
||||
circle {
|
||||
transition: stroke-dashoffset 0.5s ease-in-out; // Smooth animation
|
||||
}
|
||||
}
|
||||
|
||||
.chart-details {
|
||||
position: absolute;
|
||||
text-align: center;
|
||||
|
||||
.title {
|
||||
font-size: var(--font-size-large);
|
||||
margin: 0;
|
||||
opacity: 0.7;
|
||||
}
|
||||
|
||||
.time {
|
||||
font-size: var(--font-size-xxxlarge);
|
||||
font-weight: bold;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.subtitle {
|
||||
font-size: var(--font-size-regular);
|
||||
margin: 0;
|
||||
opacity: 0.7;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
/* FleetEfficiency.module.css */
|
||||
.fleetEfficiency {
|
||||
width: 100%;
|
||||
min-height: 240px !important;
|
||||
padding: 20px;
|
||||
background: var(--background-color);
|
||||
border-radius: 8px;
|
||||
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
|
||||
font-family: Arial, sans-serif;
|
||||
width: 240px;
|
||||
text-align: center;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 12px;
|
||||
|
||||
.progressContainer {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
padding: 20px;
|
||||
background: var(--background-color);
|
||||
border-radius: 8px;
|
||||
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
|
||||
font-family: Arial, sans-serif;
|
||||
width: 240px;
|
||||
text-align: center;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 12px;
|
||||
height: 120px;
|
||||
overflow: auto !important;
|
||||
|
||||
.progress {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
|
||||
|
||||
.progressContainer {
|
||||
position: relative;
|
||||
.barOverflow {
|
||||
width: 100%;
|
||||
height: 120px;
|
||||
overflow: auto !important;
|
||||
|
||||
.progress {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
|
||||
.barOverflow {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.scaleLabels {
|
||||
background-color: var(--background-color);
|
||||
box-shadow: var(--box-shadow-heavy);
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
color: #718096;
|
||||
font-size: var(--font-size-small);
|
||||
padding: 18px 10px;
|
||||
position: relative;
|
||||
z-index: 100;
|
||||
top: -32px;
|
||||
background-color: var(--background-color);
|
||||
box-shadow: var(--box-shadow-heavy);
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
color: #718096;
|
||||
font-size: var(--font-size-small);
|
||||
padding: 18px 10px;
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
top: -32px;
|
||||
}
|
||||
|
||||
|
||||
|
||||
.barOverflow {
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
width: 100%;
|
||||
height: 100px;
|
||||
margin-bottom: -14px;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
width: 100%;
|
||||
height: 100px;
|
||||
margin-bottom: -14px;
|
||||
}
|
||||
|
||||
.bar {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 200px;
|
||||
border-radius: 50%;
|
||||
box-sizing: border-box;
|
||||
border: 25px solid #eee;
|
||||
border-bottom-color: var(--accent-color);
|
||||
border-right-color: var(--accent-color);
|
||||
transition: transform 0.5s ease;
|
||||
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 200px;
|
||||
border-radius: 50%;
|
||||
box-sizing: border-box;
|
||||
border: 25px solid #eee;
|
||||
border-bottom-color: var(--accent-color);
|
||||
border-right-color: var(--accent-color);
|
||||
transition: transform 0.5s ease;
|
||||
}
|
||||
|
||||
|
||||
// progress should be progress {progress}
|
||||
// progress should be progress {progress}
|
||||
|
||||
@@ -66,9 +66,9 @@
|
||||
.sidebar-left-content-container {
|
||||
border-bottom: 1px solid var(--border-color);
|
||||
// flex: 1;
|
||||
height: calc(100% - 36px);
|
||||
// height: calc(100% - 36px);
|
||||
position: relative;
|
||||
overflow: auto;
|
||||
// overflow: auto;
|
||||
|
||||
.template-list {
|
||||
display: flex;
|
||||
@@ -78,19 +78,19 @@
|
||||
min-height: 50vh;
|
||||
max-height: 60vh;
|
||||
}
|
||||
|
||||
|
||||
.template-item {
|
||||
border: 1px solid #e0e0e0;
|
||||
border-radius: 8px;
|
||||
padding: 1rem;
|
||||
transition: box-shadow 0.3s ease;
|
||||
}
|
||||
|
||||
|
||||
.template-image-container {
|
||||
position: relative;
|
||||
padding-bottom: 56.25%; // 16:9 aspect ratio
|
||||
}
|
||||
|
||||
|
||||
.template-image {
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
@@ -100,19 +100,19 @@
|
||||
cursor: pointer;
|
||||
transition: transform 0.3s ease;
|
||||
}
|
||||
|
||||
|
||||
.template-details {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
margin-top: 0.5rem;
|
||||
}
|
||||
|
||||
|
||||
.template-name {
|
||||
cursor: pointer;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
|
||||
.delete-button {
|
||||
padding: 0.25rem 0.5rem;
|
||||
background: #ff4444;
|
||||
@@ -122,18 +122,21 @@
|
||||
cursor: pointer;
|
||||
transition: opacity 0.3s ease;
|
||||
}
|
||||
|
||||
|
||||
.no-templates {
|
||||
text-align: center;
|
||||
color: #666;
|
||||
padding: 2rem;
|
||||
grid-column: 1 / -1;
|
||||
}
|
||||
|
||||
|
||||
.widget-left-sideBar {
|
||||
min-height: 50vh;
|
||||
max-height: 60vh;
|
||||
.widgets-wrapper {
|
||||
|
||||
min-height: 50vh;
|
||||
max-height: 60vh;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
.widget2D {
|
||||
overflow: auto;
|
||||
@@ -538,7 +541,6 @@
|
||||
|
||||
.floating {
|
||||
width: 100%;
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1070,24 +1072,62 @@
|
||||
.category-name {
|
||||
position: relative;
|
||||
z-index: 3;
|
||||
font-size: var(--font-size-large);
|
||||
font-size: var(--font-size-regular);
|
||||
// -webkit-text-fill-color: transparent;
|
||||
// -webkit-text-stroke: 1px black;
|
||||
}
|
||||
|
||||
&::after {
|
||||
content: "";
|
||||
width: 50px;
|
||||
height: 50px;
|
||||
width: 60px;
|
||||
height: 60px;
|
||||
border-radius: 50%;
|
||||
background-color: var(--circle-color, #000);
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
top: 60%;
|
||||
right: -10px;
|
||||
transform: translate(0, -50%);
|
||||
background: linear-gradient(144.19deg,
|
||||
#f1e7cd 16.62%,
|
||||
#fffaef 85.81%);
|
||||
}
|
||||
&:nth-child(1), &:nth-child(9) {
|
||||
&::after {
|
||||
@include gradient-by-child(1); // First child uses the first color
|
||||
}
|
||||
}
|
||||
|
||||
&:nth-child(2), &:nth-child(10) {
|
||||
&::after {
|
||||
@include gradient-by-child(2); // Second child uses the second color
|
||||
}
|
||||
}
|
||||
|
||||
&:nth-child(3), &:nth-child(11) {
|
||||
&::after {
|
||||
@include gradient-by-child(3); // Third child uses the third color
|
||||
}
|
||||
}
|
||||
|
||||
&:nth-child(4), &:nth-child(12) {
|
||||
&::after {
|
||||
@include gradient-by-child(4); // Fourth child uses the fourth color
|
||||
}
|
||||
}
|
||||
|
||||
&:nth-child(5), &:nth-child(13) {
|
||||
&::after {
|
||||
@include gradient-by-child(5); // Fifth child uses the fifth color
|
||||
}
|
||||
}
|
||||
|
||||
&:nth-child(6), &:nth-child(14) {
|
||||
&::after {
|
||||
@include gradient-by-child(6); // Fifth child uses the fifth color
|
||||
}
|
||||
}
|
||||
|
||||
&:nth-child(7), &:nth-child(15) {
|
||||
&::after {
|
||||
@include gradient-by-child(7); // Fifth child uses the fifth color
|
||||
}
|
||||
}
|
||||
|
||||
.category-image {
|
||||
@@ -1114,30 +1154,47 @@
|
||||
.assets {
|
||||
width: 117px;
|
||||
height: 95px;
|
||||
border-radius: 3.59px;
|
||||
border-radius: #{$border-radius-small};
|
||||
background-color: var(--background-color-gray);
|
||||
padding: 8px;
|
||||
padding-top: 12px;
|
||||
font-weight: $medium-weight;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
padding: 0;
|
||||
&:hover {
|
||||
.asset-name {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
.asset-name {
|
||||
position: relative;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
z-index: 3;
|
||||
padding: 8px;
|
||||
width: 100%;
|
||||
font-size: var(--font-size-regular);
|
||||
background: color-mix(
|
||||
in srgb,
|
||||
var(--background-color) 40%,
|
||||
transparent
|
||||
);
|
||||
backdrop-filter: blur(5px);
|
||||
opacity: 0;
|
||||
transition: opacity 0.3s ease;
|
||||
|
||||
/* Added properties for ellipsis */
|
||||
display: -webkit-box; /* Necessary for multiline truncation */
|
||||
-webkit-line-clamp: 2; /* Number of lines to show */
|
||||
-webkit-box-orient: vertical; /* Box orientation for the ellipsis */
|
||||
overflow: hidden; /* Hide overflowing content */
|
||||
text-overflow: ellipsis; /* Add ellipsis for truncated content */
|
||||
}
|
||||
|
||||
.asset-image {
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
position: absolute;
|
||||
// top: 50%;
|
||||
// right: 5px;
|
||||
// transform: translate(0, -50%);
|
||||
top: 0;
|
||||
left: 0;
|
||||
z-index: 2;
|
||||
object-fit: cover;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1200,4 +1257,4 @@
|
||||
.assets-wrapper {
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
min-width: 250px;
|
||||
max-width: 300px;
|
||||
|
||||
min-height: 83px !important;
|
||||
// min-height: 83px !important;
|
||||
// max-height: 100px !important;
|
||||
|
||||
background: var(--background-color);
|
||||
@@ -362,7 +362,7 @@
|
||||
|
||||
.panel.hidePanel {
|
||||
pointer-events: none;
|
||||
opacity: 0.1;
|
||||
opacity: 0;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -769,20 +769,19 @@
|
||||
|
||||
.editWidgetOptions {
|
||||
position: absolute;
|
||||
// top: 50%;
|
||||
// left: 50%;
|
||||
// transform: translate(-50%, -50%);
|
||||
background-color: var(--background-color);
|
||||
z-index: 3;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
border-radius: 6px;
|
||||
overflow: hidden;
|
||||
padding: 4px;
|
||||
|
||||
min-width: 150px;
|
||||
|
||||
.option {
|
||||
padding: 8px 10px;
|
||||
padding: 4px 10px;
|
||||
border-radius: #{$border-radius-small};
|
||||
color: var(--text-color);
|
||||
cursor: pointer;
|
||||
|
||||
@@ -795,7 +794,8 @@
|
||||
color: #f65648;
|
||||
|
||||
&:hover {
|
||||
background-color: #ffe3e0;
|
||||
background-color: #f65648;
|
||||
color: white;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user