127 lines
2.5 KiB
CSS
127 lines
2.5 KiB
CSS
/* ===== Generic vertical icon column (right & left) ===== */
|
|
|
|
.sw-icon-column {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.55rem;
|
|
align-items: center;
|
|
}
|
|
|
|
.sw-icon-btn {
|
|
background: none;
|
|
border: none;
|
|
padding: 0;
|
|
cursor: pointer;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 0.15rem;
|
|
color: #e5e7eb;
|
|
}
|
|
|
|
.sw-icon-circle {
|
|
width: 54px;
|
|
height: 54px;
|
|
border-radius: 50%;
|
|
background: rgba(15, 23, 42, 0.86);
|
|
border: 1.5px solid rgba(148, 163, 184, 0.7);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
box-shadow: 0 3px 10px rgba(0, 0, 0, 0.75);
|
|
transition:
|
|
transform 0.12s ease,
|
|
box-shadow 0.12s ease,
|
|
border-color 0.12s ease,
|
|
background 0.12s ease;
|
|
}
|
|
|
|
.sw-icon-circle i {
|
|
font-size: 22px;
|
|
}
|
|
|
|
.sw-icon-label {
|
|
font-size: 0.7rem;
|
|
line-height: 1;
|
|
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.9);
|
|
}
|
|
|
|
.sw-icon-btn:hover .sw-icon-circle {
|
|
transform: translateY(-1px);
|
|
box-shadow: 0 5px 14px rgba(0, 0, 0, 0.85);
|
|
}
|
|
|
|
.sw-icon-btn:active .sw-icon-circle {
|
|
transform: scale(0.96);
|
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
|
|
}
|
|
|
|
/* active state: same color for icon + background, more glow */
|
|
.sw-icon-active .sw-icon-circle {
|
|
background: rgba(37, 99, 235, 0.82);
|
|
border-color: #60a5fa;
|
|
box-shadow: 0 0 14px rgba(56, 189, 248, 0.95);
|
|
}
|
|
|
|
.sw-icon-active .sw-icon-label {
|
|
color: #bfdbfe;
|
|
font-weight: 600;
|
|
}
|
|
|
|
/* ===== Bottom sub-category icons (row) ===== */
|
|
|
|
.sw-bottom-row {
|
|
display: flex;
|
|
gap: 0.35rem;
|
|
padding: 0.2rem 0.6rem;
|
|
background: rgba(15, 23, 42, 0.94);
|
|
border-radius: 999px;
|
|
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.85);
|
|
}
|
|
|
|
.sw-bottom-item {
|
|
border: none;
|
|
background: none;
|
|
padding: 0;
|
|
cursor: pointer;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 0.12rem;
|
|
min-width: 54px;
|
|
}
|
|
|
|
.sw-bottom-circle {
|
|
width: 40px;
|
|
height: 40px;
|
|
border-radius: 50%;
|
|
background: rgba(15, 23, 42, 0.86);
|
|
border: 1.5px solid rgba(148, 163, 184, 0.6);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 0.78rem;
|
|
box-shadow: 0 3px 10px rgba(0, 0, 0, 0.75);
|
|
}
|
|
|
|
.sw-bottom-label {
|
|
font-size: 0.65rem;
|
|
color: #e5e7eb;
|
|
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.9);
|
|
}
|
|
|
|
.sw-bottom-item:hover .sw-bottom-circle {
|
|
transform: translateY(-1px);
|
|
box-shadow: 0 5px 14px rgba(0, 0, 0, 0.85);
|
|
}
|
|
|
|
.sw-bottom-active .sw-bottom-circle {
|
|
background: rgba(37, 99, 235, 0.82);
|
|
border-color: #60a5fa;
|
|
}
|
|
|
|
.sw-bottom-active .sw-bottom-label {
|
|
color: #bfdbfe;
|
|
font-weight: 600;
|
|
}
|