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