2025-04-22 19:05:28 +02:00

72 lines
1.2 KiB
CSS

.tab-container {
display: flex;
flex-direction: column;
height: 100vh;
width: 100%;
position: fixed;
top: 0;
left: 0;
background-color: #f8fafc;
}
.tab-bar {
display: flex;
background-color: #ffffff;
border-top: 1px solid #e2e8f0;
margin-top: auto;
box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
border-radius: 16px 16px 0 0;
padding: 5px 10px;
}
.tab-bar-item {
flex: 1;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 12px 0;
background: none;
border: none;
cursor: pointer;
color: #64748b;
transition: all 0.3s ease;
border-radius: 12px;
margin: 0 4px;
}
.tab-bar-item:hover {
color: #334155;
background-color: #f1f5f9;
}
.tab-bar-item.active {
color: #3182ce;
background-color: #ebf8ff;
box-shadow: 0 2px 6px rgba(49, 130, 206, 0.15);
transform: translateY(-2px);
}
.tab-icon {
font-size: 22px;
margin-bottom: 6px;
}
.tab-label {
font-size: 12px;
font-weight: 600;
white-space: nowrap;
}
.tab-content {
flex: 1;
overflow: auto;
padding: 20px;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
background-color: #ffffff;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
margin-bottom: -20px;
}