feat(workbench): unify lane maneuver edits in v2
This commit is contained in:
1 parent
118dc8e9aa
commit
c804a373ca
15 files changed
+337
-263
No files matched your search
@@ -73,6 +73,46 @@ aside {
|
||||
header .button {
|
||||
white-space: nowrap;
|
||||
}
|
||||
.mode-switch {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
white-space: nowrap;
|
||||
font-size: 12px;
|
||||
}
|
||||
.mode-switch input[type='checkbox'] {
|
||||
appearance: none;
|
||||
width: 34px;
|
||||
height: 18px;
|
||||
margin: 0;
|
||||
border-radius: 999px;
|
||||
border: 1px solid #9aa6b2;
|
||||
background: #dfe5eb;
|
||||
position: relative;
|
||||
cursor: pointer;
|
||||
transition:
|
||||
background 0.15s ease,
|
||||
border-color 0.15s ease;
|
||||
}
|
||||
.mode-switch input[type='checkbox']::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
width: 14px;
|
||||
height: 14px;
|
||||
top: 1px;
|
||||
left: 1px;
|
||||
border-radius: 50%;
|
||||
background: #fff;
|
||||
box-shadow: 0 1px 2px rgb(0 0 0 / 20%);
|
||||
transition: transform 0.15s ease;
|
||||
}
|
||||
.mode-switch input[type='checkbox']:checked {
|
||||
background: #2563eb;
|
||||
border-color: #2563eb;
|
||||
}
|
||||
.mode-switch input[type='checkbox']:checked::after {
|
||||
transform: translateX(16px);
|
||||
}
|
||||
h1 {
|
||||
font-size: 16px;
|
||||
margin: 0 0 8px;
|
||||
|
||||
Reference in new issue
Block a user