added donut and pole area chart and added its iot data

This commit is contained in:
2025-03-31 19:22:37 +05:30
121 changed files with 4527 additions and 1424 deletions

View File

@@ -10,6 +10,7 @@
border-radius: #{$border-radius-extra-large};
box-shadow: #{$box-shadow-medium};
z-index: #{$z-index-tools};
.header-container {
@include flex-space-between;
padding: 10px;
@@ -75,6 +76,7 @@
.widget2D {
overflow: auto;
.chart-container {
display: flex;
flex-direction: column;
@@ -122,18 +124,19 @@
.value {
color: var(--accent-color);
font-size: 16px;
font-size: var(--font-size-large);
}
}
.stock-description {
font-size: 12px;
font-size: var(--font-size-small);
}
}
}
}
}
}
.widget3D {
display: flex;
flex-direction: column;
@@ -225,10 +228,13 @@
border-radius: 50%;
font-weight: var(--font-weight-bold);
color: white;
text-transform: capitalize;
}
.guest-users-container {
display: flex;
width: 100%;
justify-content: flex-end;
.other-guest {
@include flex-center;
@@ -249,7 +255,8 @@
display: flex;
.user-organization {
height: 100%;
height: 26px;
width: 52px;
max-width: 52px;
border-radius: 20px;
overflow: hidden;
@@ -307,6 +314,25 @@
.sidebar-right-content-container {
.dataSideBar {
.inputs-wrapper {
.datas {
.input-value {
padding: 5px 10px;
}
.input-value,
.rename-input {
margin-right: 24px;
width: 170px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
}
}
width: 100%;
height: 100%;
display: flex;
@@ -324,7 +350,7 @@
align-items: center;
.multi-level-dropdown {
min-width: 170px;
width: 170px;
.dropdown-button {
display: flex;
@@ -356,6 +382,7 @@
border-bottom: 1px solid var(--border-color);
padding-bottom: 6px;
}
.inputs-wrapper {
display: flex;
flex-direction: column;
@@ -390,12 +417,12 @@
box-shadow: none;
color: #5273eb;
padding: 6px;
font-size: 18px;
font-size: var(--font-size-xlarge);
}
.bulletPoint {
color: #5273eb;
font-size: 16px;
font-size: var(--font-size-large);
}
.regularDropdown-container {
@@ -419,7 +446,7 @@
gap: 6px;
color: #444;
border-radius: 6px;
font-size: 14px;
font-size: var(--font-weight-regular);
.infoIcon {
padding: 0px 7px;
@@ -439,7 +466,7 @@
flex-direction: column;
gap: 15px;
padding: 0;
font-size: 14px;
font-size: var(--font-weight-regular);
color: #4a4a4a;
.selectedWidget {
@@ -505,6 +532,7 @@
}
}
}
.machine-mechanics-container {
.machine-mechanics-header {
padding: 8px 12px;
@@ -512,15 +540,18 @@
border-bottom: 1px solid var(--border-color);
color: var(--accent-color);
}
.process-list-container {
display: flex;
align-items: center;
gap: 4px;
padding: 8px;
border-bottom: 1px solid var(--border-color);
.label {
margin-right: 8px;
}
.add-new-process {
@include flex-center;
height: 24px;
@@ -528,12 +559,15 @@
cursor: pointer;
background: var(--background-color-secondary);
border-radius: #{$border-radius-medium};
path {
stroke: var(--accent-color);
strokeWidth: 1.5px;
strokewidth: 1.5px;
}
&:hover {
background: var(--accent-color);
path {
stroke: var(--highlight-accent-color);
}
@@ -541,11 +575,13 @@
}
}
}
.machine-mechanics-content-container,
.simulations-container {
max-height: calc(60vh - (47px - 35px));
overflow: auto;
overflow-y: scroll;
.header {
@include flex-space-between;
padding: 6px 12px;
@@ -585,17 +621,20 @@
margin: 2px 0;
border-radius: #{$border-radius-small};
}
.value {
display: flex;
justify-content: flex-start;
align-items: center;
min-width: 80%;
gap: 6px;
input {
width: fit-content;
accent-color: var(--accent-color);
}
}
.active {
background: var(--highlight-accent-color);
@@ -615,8 +654,10 @@
cursor: pointer;
border-radius: #{$border-radius-small};
transform: translateX(4px);
&:hover {
background-color: var(--accent-color);
path {
stroke: var(--primary-color);
}
@@ -637,21 +678,26 @@
.selected-properties-container {
padding: 12px;
.properties-header {
color: var(--accent-color);
font-weight: var(--font-weight-regular);
padding: 8px 0;
}
.value-field-container {
margin-bottom: 6px;
padding: 0;
@include flex-space-between;
.label {
width: 40%;
}
.regularDropdown-container {
width: 60%;
}
.default {
width: 60%;
}
@@ -665,23 +711,29 @@
margin-top: 8px;
border-top: 1px solid var(--border-color);
border-bottom: 1px solid var(--border-color);
.header {
color: var(--accent-color);
}
}
.process-container {
padding: 0 12px;
margin: 6px 0;
.value {
@include flex-space-between;
.arrow-container {
height: 16px;
width: 16px;
}
.active {
rotate: 90deg;
}
}
.children-drop {
.value {
padding: 6px;
@@ -704,20 +756,25 @@
background: var(--background-color-gray);
padding: 12px;
border-radius: #{$border-radius-medium};
.compare-simulations-header {
font-weight: var(--font-weight-medium);
}
.content {
padding: 12px 0;
font-size: var(--font-size-small);
span {
font-size: inherit;
color: var(--accent-color);
}
}
.input {
display: flex;
flex-direction: row-reverse;
input {
width: fit-content;
background: var(--accent-color);
@@ -728,6 +785,7 @@
}
}
}
.global-properties-container,
.analysis-main-container,
.asset-properties-container,
@@ -738,26 +796,32 @@
border-top: 1px solid var(--highlight-accent-color);
border-bottom: 1px solid var(--highlight-accent-color);
color: var(--accent-color);
.input-value {
color: inherit;
}
}
.input-container {
@include flex-center;
.remove-button {
@include flex-center;
height: 18px;
width: 18px;
margin-bottom: 6px;
border-radius: 8px 0 0 8px;
&:hover {
background-color: var(--accent-color);
path {
stroke: var(--primary-color);
}
}
}
}
.optimize-button,
.generate-report-button,
.button-save {
@@ -772,89 +836,109 @@
font-size: var(--font-size-small);
margin-bottom: 8px;
}
.split {
height: 1px;
background: var(--highlight-accent-color);
margin: 8px;
}
.custom-input-container {
.header {
@include flex-space-between;
border: none;
.eyedrop-button {
@include flex-center;
}
}
.inputs-container {
@include flex-space-between;
padding-bottom: 8px;
.input-container {
padding: 0 12px;
margin-top: 6px;
gap: 6px;
}
}
.custom-input-label {
white-space: nowrap;
}
}
.analysis-content-container {
min-height: 50vh;
max-height: 60vh;
overflow-y: auto;
.dropdown-header-container,
.dropdown-content-container {
padding: 6px 12px;
border-top: 1px solid var(--highlight-accent-color);
}
.input-range-container {
.input-container {
width: 75%;
}
}
}
.buttons-container {
@include flex-space-between;
padding: 12px;
gap: 12px;
input {
border: none;
cursor: pointer;
transition: all 0.2s;
&:hover {
transform: translateY(-2px);
box-shadow: #{$box-shadow-medium};
outline: 1px solid var(--accent-color);
}
}
.cancel {
background: transparent;
color: var(--accent-color);
}
.submit {
background: var(--accent-color);
color: var(--highlight-accent-color);
}
}
.create-custom-analysis-container {
margin: 6px;
background: var(--background-color-gray);
padding: 12px;
border-radius: #{$border-radius-medium};
.custom-analysis-header {
font-weight: var(--font-weight-medium);
}
.content {
padding: 12px 0;
font-size: var(--font-size-small);
span {
font-size: inherit;
color: var(--accent-color);
}
}
.input {
display: flex;
flex-direction: row-reverse;
input {
width: fit-content;
background: var(--accent-color);
@@ -866,3 +950,117 @@
}
}
}
.assets-container {
padding: 0 6px;
.assets-wrapper {
position: relative;
margin: 8px 10px;
h2 {
color: var(--text-color);
font-family: $large;
font-weight: $bold-weight;
}
.categories-container {
width: 100%;
display: flex;
flex-direction: row;
flex-wrap: wrap;
height: 100%;
gap: 3px;
padding: 10px 0;
.category {
width: 117px;
height: 95px;
border-radius: 3.59px;
background-color: var(--background-color-gray);
padding: 8px;
padding-top: 12px;
font-weight: $bold-weight;
position: relative;
overflow: hidden;
.category-name {
position: relative;
z-index: 3;
font-size: var(--font-size-large);
// -webkit-text-fill-color: transparent;
// -webkit-text-stroke: 1px black;
}
&::after {
content: "";
width: 50px;
height: 50px;
border-radius: 50%;
background-color: var(--circle-color, #000);
position: absolute;
top: 50%;
right: -10px;
transform: translate(0, -50%);
background: linear-gradient(144.19deg,
#f1e7cd 16.62%,
#fffaef 85.81%);
}
.category-image {
position: absolute;
// top: 50%;
bottom: 0;
right: -10px;
transform: translate(0, 0%) scale(0.8);
z-index: 2;
height: 80%;
}
}
}
.assets-container {
width: 100%;
display: flex;
flex-direction: row;
flex-wrap: wrap;
height: 100%;
gap: 3px;
padding: 10px 0;
.assets {
width: 117px;
height: 95px;
border-radius: 3.59px;
background-color: var(--background-color-gray);
padding: 8px;
padding-top: 12px;
font-weight: $medium-weight;
position: relative;
overflow: hidden;
.asset-name {
position: relative;
z-index: 3;
font-size: var(--font-size-regular);
}
.asset-image {
position: absolute;
top: 50%;
right: 5px;
transform: translate(0, -50%);
z-index: 2;
}
}
}
.back-button {
position: absolute;
top: 0;
right: 0;
@include flex-center;
cursor: pointer;
}
}
}