mirror of
https://git.meshkee.com/Meshkee/dashboards.git
synced 2026-08-11 22:30:58 +04:30
Includes business, customer, and super-admin apps with shared packages and production deploy scripts. Co-authored-by: Cursor <cursoragent@cursor.com>
35 lines
541 B
CSS
35 lines
541 B
CSS
.switch {
|
|
position: relative;
|
|
width: 38px;
|
|
height: 22px;
|
|
border-radius: 999px;
|
|
background: rgba(148, 163, 184, 0.45);
|
|
transition: background 0.2s;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.switch.on {
|
|
background: #16a34a;
|
|
}
|
|
|
|
.thumb {
|
|
position: absolute;
|
|
top: 2px;
|
|
left: 2px;
|
|
width: 18px;
|
|
height: 18px;
|
|
border-radius: 50%;
|
|
background: white;
|
|
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
|
|
transition: transform 0.2s;
|
|
}
|
|
|
|
.switch.on .thumb {
|
|
transform: translateX(16px);
|
|
}
|
|
|
|
.switch:disabled {
|
|
opacity: 0.5;
|
|
cursor: not-allowed;
|
|
}
|