mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
31190b967b
GitOrigin-RevId: 3043d1369ed85b38b1fec7479385b123a304c05b
37 lines
695 B
Text
37 lines
695 B
Text
.switcher-input {
|
|
position: absolute;
|
|
opacity: 0;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.switcher-label {
|
|
border: 1px solid black;
|
|
padding: 4px 16px;
|
|
user-select: none;
|
|
}
|
|
|
|
.switcher-label:first-of-type {
|
|
border-top-left-radius: 999px;
|
|
border-bottom-left-radius: 999px;
|
|
}
|
|
|
|
.switcher-label:last-of-type {
|
|
border-top-right-radius: 999px;
|
|
border-bottom-right-radius: 999px;
|
|
}
|
|
|
|
.switcher-label:not(:first-of-type) {
|
|
border-left-width: 0px;
|
|
}
|
|
|
|
.switcher-input:checked + .switcher-label {
|
|
background-color: @neutral-20;
|
|
}
|
|
|
|
.switcher-input:disabled + .switcher-label {
|
|
cursor: not-allowed;
|
|
background-color: @neutral-20;
|
|
border-color: @neutral-20;
|
|
opacity: 1;
|
|
color: @neutral-90;
|
|
}
|