jesus christ
This commit is contained in:
1 parent
d97600122e
commit
49309d6733
9 files changed
+505
-295
No files matched your search
@@ -112,6 +112,51 @@ button,
|
||||
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
|
||||
}
|
||||
|
||||
/* ===== Floating Pill Toggle ===== */
|
||||
|
||||
.pill-toggle {
|
||||
position: relative;
|
||||
display: flex;
|
||||
width: 240px;
|
||||
background: #333;
|
||||
padding: 5px;
|
||||
border-radius: 30px;
|
||||
cursor: pointer;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
.pill-option {
|
||||
flex: 1;
|
||||
text-align: center;
|
||||
padding: 10px 0;
|
||||
z-index: 2;
|
||||
font-weight: 600;
|
||||
color: #aaa;
|
||||
transition: color 0.25s ease;
|
||||
}
|
||||
|
||||
.pill-option.active {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.pill-indicator {
|
||||
position: absolute;
|
||||
top: 5px;
|
||||
left: 5px;
|
||||
width: calc(50% - 5px);
|
||||
height: calc(100% - 10px);
|
||||
background: #8a190b; /* your accent red */
|
||||
border-radius: 25px;
|
||||
transition: transform 0.25s ease, background 0.25s ease;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
/* Hover feedback */
|
||||
.pill-option:hover {
|
||||
color: #ddd;
|
||||
}
|
||||
|
||||
|
||||
/* ===============================
|
||||
ALERTS
|
||||
=============================== */
|
||||
|
||||
Reference in new issue
Block a user