RobotNet/RobotNet.WebApp/Pages/Dashboard.razor.css
2025-10-15 15:15:53 +07:00

115 lines
2.9 KiB
CSS

.dashboard-title {
display: flex;
align-items: center;
justify-content: space-between;
width: 100%;
margin-bottom: 20px;
height: 54px;
background: linear-gradient(to right, rgb(5, 39, 103) 0%, #3a0647 70%);
border-radius: 15px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
padding: 0 1.5rem;
transition: all 0.3s ease;
position: relative;
overflow: hidden;
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.dashboard-title:hover {
transform: translateY(-2px);
box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}
.dashboard-title::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 2px;
background: linear-gradient(to right, rgb(5, 39, 103) 0%, #3a0647 70%);
opacity: 0;
transition: opacity 0.3s ease;
}
.dashboard-title span {
font-family: var(--dashboard-text-font-family);
color: var(--dashboard-text-white-color);
font-size: 40px;
align-items: center;
display: flex;
margin-left: 10px;
}
.dashboard-title .button-group {
display: flex;
flex-direction: row;
margin-right: 10px;
align-items: center;
}
.dashboard-content {
display: flex;
width: 100%;
flex-grow: 1;
flex-direction: column;
position: relative;
}
.dashboard-content .daily-data {
display: flex;
width: 100%;
height: 18%;
margin-bottom: 20px;
}
.dashboard-content .charts {
display: flex;
width: 100%;
flex-grow: 1;
height: 82%;
flex-direction: row;
position: relative;
margin-right: 20px;
}
.dashboard-content .charts .performance-chart {
display: flex;
width: 36.9%;
height: 100%;
flex-direction: column;
margin-right: 20px;
}
.dashboard-content .charts .performance-chart .daily-performance-chart {
width: 100%;
height: 48.5%;
margin-bottom: 20px;
}
.dashboard-content .charts .performance-chart .weeky-performance-chart {
width: 100%;
height: 48.5%;
margin-bottom: 5px;
}
.dashboard-content .charts .weely-overall-chart {
display: flex;
flex-grow: 1;
width: 62%;
height: 100%;
flex-direction: column;
}
.dashboard-content .charts .weely-overall-chart .mission-bar-chart {
width: 100%;
height: 48.5%;
margin-bottom: 20px;
}
.dashboard-content .charts .weely-overall-chart .takt-time-chart {
width: 100%;
height: 48.5%;
margin-bottom: 5px;
}