Merge remote-tracking branch 'origin/ui' into main-demo

This commit is contained in:
2025-08-22 13:01:25 +05:30
34 changed files with 1945 additions and 71 deletions

View File

@@ -6,9 +6,17 @@
font-size: var(--font-size-regular);
}
input[type="password"]::-ms-reveal, /* For Microsoft Edge */
input[type="password"]::-ms-clear, /* For Edge clear button */
input[type="password"]::-webkit-clear-button, /* For Chrome/Safari clear button */
input[type="password"]::-webkit-inner-spin-button { /* Just in case */
input[type="password"]::-ms-reveal,
/* For Microsoft Edge */
input[type="password"]::-ms-clear,
/* For Edge clear button */
input[type="password"]::-webkit-clear-button,
/* For Chrome/Safari clear button */
input[type="password"]::-webkit-inner-spin-button {
/* Just in case */
display: none;
}
a {
text-decoration: none;
}

View File

@@ -305,7 +305,7 @@
background-color: #b7b7c6;
// Custom polygon shape (adjust if needed)
clip-path: polygon(96% 52%,
clipPath: polygon(96% 52%,
96% 54%,
45% 53%,
3% 100%,
@@ -372,7 +372,7 @@
height: 100%;
background: var(--background-color, wheat);
clip-path: polygon(25% 0%,
clipPath: polygon(25% 0%,
75% 0%,
100% 50%,
75% 100%,

View File

@@ -0,0 +1,489 @@
@use "../abstracts/variables" as *;
@use "../abstracts/mixins" as *;
.resourceManagement-container {
.navigation-wrapper {
@include flex-space-between;
justify-content: space-around;
.navigation {
padding: 4px 12px;
border-radius: 20px;
text-wrap: nowrap;
margin: 6px 0;
cursor: pointer;
&.active {
background: var(--background-color-button);
}
}
}
.search-container {
position: relative;
padding: 4px 2px;
.search-wrapper {
padding: 0;
input {
padding-right: 85px;
}
}
.select-catagory {
position: absolute;
top: 50%;
right: 8px;
transform: translate(0, -50%);
z-index: 10;
.regularDropdown-container {
padding: 2px 8px;
}
}
}
.category-wrapper {
display: flex;
gap: 12px;
width: 100%;
overflow: auto;
padding: 8px 10px;
.category {
text-wrap: nowrap;
position: relative;
cursor: pointer;
color: var(--text-disabled);
&.active {
color: var(--text-color);
&::after {
content: "";
position: absolute;
bottom: -6px;
left: 0;
width: 100%;
height: 2px;
border-radius: 100px;
background: var(--background-color-button);
}
}
}
}
.assetManagement-wrapper {
max-height: calc(62vh - 12px);
overflow: auto;
display: flex;
flex-direction: column;
gap: 12px;
margin-top: 7px;
// padding: 7px 2px;
}
// HRM
.hrm-container {
.analysis-wrapper {
border-radius: 20px;
padding: 16px;
display: flex;
flex-direction: column;
gap: 14px;
outline: 1px solid var(--border-color);
outline-offset: -1px;
background: var(--background-color);
&.active {
outline: 1px solid var(--Color-Hover, #CCACFF);
}
header {
position: relative;
@include flex-space-between;
padding: 3px 0;
.user-details {
display: flex;
gap: 6px;
.user-image-wrapper {
width: 28px;
height: 28px;
border-radius: 50%;
background-color: #fff;
position: relative;
.status {
border-radius: 50%;
width: 6px;
height: 6px;
outline: 1px solid #2F2C32;
position: absolute;
bottom: 0;
right: 0;
&.Active {
background-color: #44E5C6;
}
}
}
.details {
.employee-id {
color: #B7B7C6;
font-size: $tiny;
}
}
}
.see-more {
padding: 4px 12px;
border-radius: 20px;
text-wrap: nowrap;
margin: 6px 0;
cursor: pointer;
background: var(--background-color-button);
}
&::after {
content: "";
position: absolute;
bottom: -7px;
left: 0;
width: 100%;
height: 1px;
background-color: #6F6F7A;
}
}
.content {
display: flex;
flex-direction: column;
gap: 4px;
.task-info {
padding: 8px 0;
display: flex;
flex-direction: column;
gap: 6px;
.task-wrapper {
display: flex;
justify-content: space-between;
align-items: center;
.task-label {
display: flex;
align-items: center;
gap: 3px;
.label-text {
color: #B7B7C6;
}
}
}
}
.task-stats {
display: grid;
grid-template-columns: repeat(1, 1fr); // Two equal-width columns
gap: 4px;
.stat-item {
border-radius: 100px;
@include flex-space-between;
background: linear-gradient(162.53deg,
rgba(51, 51, 51, 0.7) 0%,
rgba(45, 36, 55, 0.7) 106.84%);
border: 1px solid #FFFFFF0D;
padding: 6px;
.stat-wrapper {
display: flex;
align-items: center;
gap: 4px;
}
span,
.stat-value {
font-size: 10px;
display: flex;
}
}
}
.location-wrapper {
display: flex;
align-items: center;
justify-content: space-between;
padding: 6px 0;
.location-header {
display: flex;
gap: 6px;
.icon {
display: flex;
}
.header {
font-size: 12px;
color: #B7B7C6;
}
}
}
.task-actions {
display: grid;
grid-template-columns: repeat(2, 1fr); // Two equal-width columns
gap: 4px;
margin-top: 3px;
button {
line-height: 133%;
font-size: 11px;
border: 1px solid var(--Linear-Border, #564B69);
border-radius: 100px;
padding: 4px 0;
&:last-child {
background-color: #CC2C1E;
}
}
}
}
}
}
// ASSET MANAGEMENT
.assetManagement-container {
display: flex;
flex-direction: column;
gap: 6px;
.assetManagement-wrapper {
padding: 16px;
border: 1px solid #564B69;
border-radius: 20px;
gap: 10px;
header {
border-bottom: 1px solid #595965;
padding-bottom: 8px;
.header-wrapper {
display: flex;
gap: 8px;
.icon {
min-width: 28px;
height: 28px;
border-radius: 7px;
@include flex-center;
background: var(--background-color-button);
}
.asset-image {
width: 114px;
height: 112px;
border-radius: 15.2px;
object-fit: cover;
}
.asset-details-container {
width: 100%;
@include flex-space-between;
.asset-details {
// .asset-name{
// overflow: hidden;
// }
.asset-model {
color: var(--text-disabled);
}
}
}
.asset-status-wrapper {
padding: 4px 8px;
border: 1px solid var(--text-color-dark, #F3F3FDD9);
border-radius: 100px;
@include flex-space-between;
gap: 4px;
.indication {
width: 6px;
height: 6px;
border-radius: 100%;
&.Online {
background-color: #44E5C6;
}
}
.status {
font-size: $small;
}
}
}
}
.asset-contents {
display: flex;
flex-direction: column;
gap: 3px;
.asset-wrapper {
@include flex-space-between;
padding: 6px 0;
gap: 20px;
.key-wrapper,
.viewMore {
display: flex;
align-items: center;
gap: 6px;
.icon {
@include flex-center;
}
}
.viewMore {
padding: 8px;
border-radius: 100px;
background: var(--background-color-button);
cursor: pointer;
}
.progress-wrapper {
flex: 1;
@include flex-space-between;
gap: 4px;
.progress-bar {
width: 100%;
height: 5px;
border-radius: 20px;
background-color: #6F6F7A;
position: relative;
.filled-value {
position: absolute;
top: 0;
left: 0;
height: 100%;
width: 10px;
background-color: #CCACFF;
border-radius: 20px;
}
}
}
}
}
.asset-estimate {
display: flex;
flex-direction: column;
gap: 10px;
&__label {
color: #B7B7C6;
font-size: 14px;
}
&__value {
font-weight: 500;
font-size: 16px;
}
&__unit-cost {
display: flex;
flex-direction: column;
gap: 4px;
}
&__breakdown {
display: flex;
flex-direction: row;
justify-content: space-between;
gap: 2px;
}
&__view-button {
cursor: pointer;
display: flex;
justify-content: center;
align-items: center;
gap: 4px;
background-color: var(--background-color-button);
border-radius: 20px;
padding: 8px 0;
}
&__view-text {
font-weight: 500;
// color: #4A4AFF;
}
}
&.openViewMore {
header {
display: flex;
flex-direction: column;
gap: 6px;
.header-wrapper {
gap: 20px;
.asset-details-container {
flex-direction: column;
align-items: start;
justify-content: center;
.asset-details {
display: flex;
flex-direction: column;
gap: 4px;
.asset-name {
font-size: 16px;
}
}
.asset-status-wrapper {
margin-top: 4px;
}
}
}
}
}
}
}
}

View File

@@ -468,6 +468,96 @@
position: relative;
width: 304px;
.decal-transformation-container {
display: flex;
flex-direction: column;
gap: 4px;
.transformation-wrapper {
display: flex;
align-items: center;
justify-content: space-between;
padding: 6px 12px;
.header {
flex: 1;
text-transform: capitalize;
}
.input-wrapppers {
display: flex;
align-items: center;
gap: 6px;
flex: 1.5;
svg {
stroke: #CCACFF;
}
.icon {
display: flex;
justify-content: center;
align-items: center;
}
input {
min-width: 43px;
}
}
.layers {
display: flex;
gap: 6px;
align-items: center;
.icon {
display: flex;
justify-content: center;
align-items: center;
outline: 1px solid var(--border-color);
padding: 4px 16px;
width: 50px;
border-radius: 100px;
}
}
}
.opacity {
input {
min-width: 190px !important;
}
}
.preview {
width: 100%;
height: 150px;
border-radius: 20px;
outline: 1px solid var(--border-color);
position: relative;
img {
width: 100%;
height: 100%;
object-fit: contain;
}
.replace-btn {
background-color: #6F42C1;
border-radius: 100px;
color: #FFFFFF;
padding: 4px 16px;
width: fit-content;
cursor: pointer;
font-size: 12px;
text-transform: capitalize;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
}
}
.version-history-container {
max-height: calc(62vh - 12px);
display: flex;
@@ -1657,11 +1747,12 @@
.sidebar-right-wrapper {
.wall-properties-container {
.wall-properties-section{
.wall-properties-section {
padding: 14px;
padding-bottom: 0;
margin-bottom: 8px;
}
.header {
color: var(--text-color);
}
@@ -1910,63 +2001,59 @@
&:nth-child(1),
&:nth-child(8) {
&::after {
@include gradient-by-child(
1
); // First child uses the first color
@include gradient-by-child(1); // First child uses the first color
}
}
&:nth-child(2),
&:nth-child(2) {
&::after {
// @include gradient-by-child(4); // Second child uses the second color
background: linear-gradient(144.19deg, rgba(197, 137, 26, 0.7) 16.62%, rgba(69, 48, 10, 0.7) 85.81%);
}
}
&:nth-child(3),
&:nth-child(9) {
&::after {
@include gradient-by-child(
2
); // Second child uses the second color
@include gradient-by-child(3); // Second child uses the second color
}
}
&:nth-child(3),
&:nth-child(10) {
&::after {
@include gradient-by-child(
3
); // Third child uses the third color
@include gradient-by-child(3); // Third child uses the third color
}
}
&:nth-child(4),
&:nth-child(11) {
&::after {
@include gradient-by-child(
4
); // Fourth child uses the fourth color
@include gradient-by-child(4); // Fourth child uses the fourth color
}
}
&:nth-child(5),
&:nth-child(12) {
&::after {
@include gradient-by-child(
5
); // Fifth child uses the fifth color
@include gradient-by-child(5); // Fifth child uses the fifth color
}
}
&:nth-child(6),
&:nth-child(13) {
&::after {
@include gradient-by-child(
6
); // Fifth child uses the fifth color
@include gradient-by-child(6); // Fifth child uses the fifth color
}
}
&:nth-child(7),
&:nth-child(14) {
&::after {
@include gradient-by-child(
7
); // Fifth child uses the fifth color
@include gradient-by-child(7); // Fifth child uses the fifth color
}
}
@@ -1981,6 +2068,43 @@
}
}
.catogory-asset-filter {
display: flex;
flex-wrap: wrap;
gap: 12px;
border: 1px solid #564B69;
padding: 12px 10px;
border-radius: 15px;
.catogory-asset-filter-wrapper {
display: flex;
align-items: center;
gap: 2px;
border: 1px solid #564B69;
padding: 4px 8px;
border-radius: 100px;
cursor: pointer;
.sub-catagory {
display: flex;
}
&.active {
background-color: #6F42C1;
.sub-catagory {
color: #FFFFFF;
}
// svg {
// stroke: white;
// fill: white;
// }
}
}
}
.assets-container {
width: 100%;
display: flex;
@@ -2025,11 +2149,9 @@
width: 100%;
height: 100%;
font-size: var(--font-size-regular);
background: linear-gradient(
0deg,
rgba(37, 24, 51, 0) 0%,
rgba(52, 41, 61, 0.5) 100%
);
background: linear-gradient(0deg,
rgba(37, 24, 51, 0) 0%,
rgba(52, 41, 61, 0.5) 100%);
pointer-events: none;
backdrop-filter: blur(8px);
opacity: 0;
@@ -2285,4 +2407,4 @@
text-transform: capitalize;
}
}
}
}

View File

@@ -37,12 +37,14 @@
@use "layout/skeleton";
@use "layout/compareLayoutPopUp";
@use "layout/compareLayout";
@use "layout/resourceManagement.scss";
// pages
@use "pages/dashboard";
@use "pages/home";
@use "pages/realTimeViz";
@use "pages/userAuth";
@use "pages/forgotPassword";
//
@use "./scene/scene";

View File

@@ -0,0 +1,112 @@
@use "../abstracts/variables.scss" as *;
@use "../abstracts/mixins.scss" as *;
.forgot-password-page {
.header,
.sub-header {
margin: 0;
text-align: center;
line-height: 20px;
}
.login {
display: flex;
align-items: center;
justify-content: center;
width: 100%;
max-width: 350px;
padding: 10px;
margin-bottom: 20px;
border: 1px solid var(--highlight-text-color);
border-radius: 20px;
background: transparent;
color: var(--highlight-text-color);
font-size: 14px;
outline: none;
cursor: pointer;
}
.forgot-password-wrapper {
width: 25%;
display: flex;
flex-direction: column;
gap: 16px;
justify-content: center;
align-items: center;
.logo-icon {
width: 150px;
height: auto;
margin: auto;
}
.request-container {
width: 100%;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
gap: 16px;
.sub-header {
width: 100% !important;
}
.login {
position: relative;
top: 0;
left: 0;
}
.auth-form {
margin: 0;
.continue-button {
margin-top: 6px;
}
.timing {
margin: 6px 0;
color: #F2451C;
}
.otp-container {
display: flex;
gap: 24px;
justify-content: center;
.otp-input {
width: 60px !important;
height: 60px !important;
text-align: center;
font-size: 20px;
font-weight: bold;
border: 1px solid var(--border-color);
border-radius: 4px !important;
outline: none;
transition: border-color 0.2s;
&:focus,
&:active {
outline: 1px solid var(--border-color-accent);
}
}
}
}
.resend {
span {
color: var(--highlight-text-color);
}
&.disabled {
span {
color: var(--text-disabled);
}
}
}
}
}
}

View File

@@ -119,6 +119,17 @@
}
}
.forgot-password {
width: 100%;
margin-bottom: 10px;
margin-right: 12px;
color: var(--text-color);
font-size: 12px;
text-align: right;
cursor: pointer;
text-decoration: none;
}
.continue-button {
width: 100%;
padding: 10px;