refactor: style update resource manager

This commit is contained in:
2025-08-25 10:40:59 +05:30
parent b54268a89b
commit 0601c9743f

View File

@@ -1,15 +1,12 @@
@use "../abstracts/variables" as *; @use "../abstracts/variables" as *;
@use "../abstracts/mixins" as *; @use "../abstracts/mixins" as *;
.resourceManagement-container { .resourceManagement-container {
.navigation-wrapper { .navigation-wrapper {
@include flex-space-between; @include flex-space-between;
justify-content: space-around; justify-content: space-around;
.navigation { .navigation {
padding: 4px 12px; padding: 4px 12px;
border-radius: 20px; border-radius: 20px;
text-wrap: nowrap; text-wrap: nowrap;
@@ -20,7 +17,6 @@
background: var(--background-color-button); background: var(--background-color-button);
} }
} }
} }
.search-container { .search-container {
@@ -74,7 +70,6 @@
border-radius: 100px; border-radius: 100px;
background: var(--background-color-button); background: var(--background-color-button);
} }
} }
} }
} }
@@ -104,7 +99,7 @@
background: var(--background-color); background: var(--background-color);
&.active { &.active {
outline: 1px solid var(--Color-Hover, #CCACFF); outline: 1px solid var(--Color-Hover, #ccacff);
} }
header { header {
@@ -127,29 +122,27 @@
border-radius: 50%; border-radius: 50%;
width: 6px; width: 6px;
height: 6px; height: 6px;
outline: 1px solid #2F2C32; outline: 1px solid #2f2c32;
position: absolute; position: absolute;
bottom: 0; bottom: 0;
right: 0; right: 0;
&.Active { &.Active {
background-color: #44E5C6; background-color: #44e5c6;
} }
} }
} }
.details { .details {
.employee-id { .employee-id {
color: #B7B7C6; color: #b7b7c6;
font-size: $tiny; font-size: $tiny;
} }
} }
} }
.see-more { .see-more {
padding: 4px 12px; padding: 4px 12px;
border-radius: 20px; border-radius: 20px;
text-wrap: nowrap; text-wrap: nowrap;
@@ -165,7 +158,7 @@
left: 0; left: 0;
width: 100%; width: 100%;
height: 1px; height: 1px;
background-color: #6F6F7A; background-color: #6f6f7a;
} }
} }
@@ -191,7 +184,7 @@
gap: 3px; gap: 3px;
.label-text { .label-text {
color: #B7B7C6; color: #b7b7c6;
} }
} }
} }
@@ -205,10 +198,12 @@
.stat-item { .stat-item {
border-radius: 100px; border-radius: 100px;
@include flex-space-between; @include flex-space-between;
background: linear-gradient(162.53deg, background: linear-gradient(
162.53deg,
rgba(51, 51, 51, 0.7) 0%, rgba(51, 51, 51, 0.7) 0%,
rgba(45, 36, 55, 0.7) 106.84%); rgba(45, 36, 55, 0.7) 106.84%
border: 1px solid #FFFFFF0D; );
border: 1px solid #ffffff0d;
padding: 6px; padding: 6px;
.stat-wrapper { .stat-wrapper {
@@ -241,7 +236,7 @@
.header { .header {
font-size: 12px; font-size: 12px;
color: #B7B7C6; color: #b7b7c6;
} }
} }
} }
@@ -255,16 +250,15 @@
button { button {
line-height: 133%; line-height: 133%;
font-size: 11px; font-size: 11px;
border: 1px solid var(--Linear-Border, #564B69); border: 1px solid var(--Linear-Border, #564b69);
border-radius: 100px; border-radius: 100px;
padding: 4px 0; padding: 4px 0;
&:last-child { &:last-child {
background-color: #CC2C1E; background-color: #cc2c1e;
} }
} }
} }
} }
} }
} }
@@ -277,17 +271,14 @@
.assetManagement-card-wrapper { .assetManagement-card-wrapper {
padding: 16px; padding: 16px;
border: 1px solid #564B69; border: 1px solid #564b69;
border-radius: 20px; border-radius: 20px;
gap: 10px; gap: 10px;
header { header {
border-bottom: 1px solid #595965; border-bottom: 1px solid #595965;
padding-bottom: 8px; padding-bottom: 8px;
.header-wrapper { .header-wrapper {
display: flex; display: flex;
gap: 8px; gap: 8px;
@@ -312,20 +303,23 @@
@include flex-space-between; @include flex-space-between;
.asset-details { .asset-details {
display: flex;
// .asset-name{ gap: 4px;
// overflow: hidden; width: 100%;
// } max-width: 160px;
.input-value {
width: 100%;
}
.asset-model { .asset-model {
color: var(--text-disabled); color: var(--text-disabled);
display: none;
} }
} }
} }
.asset-status-wrapper { .asset-status-wrapper {
padding: 4px 8px; padding: 4px 8px;
border: 1px solid var(--text-color-dark, #F3F3FDD9); border: 1px solid var(--text-color-dark, #f3f3fdd9);
border-radius: 100px; border-radius: 100px;
@include flex-space-between; @include flex-space-between;
gap: 4px; gap: 4px;
@@ -336,7 +330,7 @@
border-radius: 100%; border-radius: 100%;
&.Online { &.Online {
background-color: #44E5C6; background-color: #44e5c6;
} }
} }
@@ -384,7 +378,7 @@
width: 100%; width: 100%;
height: 5px; height: 5px;
border-radius: 20px; border-radius: 20px;
background-color: #6F6F7A; background-color: #6f6f7a;
position: relative; position: relative;
.filled-value { .filled-value {
@@ -393,7 +387,7 @@
left: 0; left: 0;
height: 100%; height: 100%;
width: 10px; width: 10px;
background-color: #CCACFF; background-color: #ccacff;
border-radius: 20px; border-radius: 20px;
} }
} }
@@ -407,7 +401,7 @@
gap: 10px; gap: 10px;
&__label { &__label {
color: #B7B7C6; color: #b7b7c6;
font-size: 14px; font-size: 14px;
} }
@@ -448,7 +442,7 @@
&.openViewMore { &.openViewMore {
outline-offset: -1px; outline-offset: -1px;
outline: 1px solid var(--Color-Hover, #CCACFF); outline: 1px solid var(--Color-Hover, #ccacff);
header { header {
display: flex; display: flex;
@@ -456,36 +450,31 @@
gap: 6px; gap: 6px;
.header-wrapper { .header-wrapper {
gap: 14px;
gap: 20px;
.asset-details-container { .asset-details-container {
flex-direction: column; flex-direction: column;
align-items: start; align-items: start;
justify-content: center; justify-content: start;
.asset-details { .asset-details {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
gap: 4px; gap: 4px;
max-width: 144px;
.asset-name { .input-value {
font-size: 16px; text-wrap: wrap;
font-size: 1rem;
} }
} }
.asset-status-wrapper { .asset-status-wrapper {
margin-top: 4px; margin-top: 8px;
}
} }
} }
} }
} }
}
} }
} }
} }