mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
19e6559e2a
Onboarding Data Collection (step3) GitOrigin-RevId: 0e78de5ccb7b7660ab04c904bc2fec4436b36621
55 lines
937 B
Text
55 lines
937 B
Text
.radio-chip {
|
|
background: @white;
|
|
border: 1px solid @neutral-60;
|
|
border-radius: 999px;
|
|
color: @neutral-90;
|
|
cursor: pointer;
|
|
display: inline-flex;
|
|
font-weight: 400;
|
|
gap: 4px;
|
|
inline-size: fit-content;
|
|
line-height: 1.4;
|
|
padding: 8px 16px 8px 8px;
|
|
|
|
@media only screen and (max-width: @screen-sm-min) {
|
|
width: 100%;
|
|
}
|
|
|
|
&:hover {
|
|
background: @neutral-20;
|
|
}
|
|
|
|
&:focus-within {
|
|
box-shadow: 0px 0px 0px 2px @blue-30;
|
|
}
|
|
|
|
input[type='radio'] {
|
|
accent-color: @green-50;
|
|
cursor: pointer;
|
|
height: 16px;
|
|
margin: 4px;
|
|
width: 15px;
|
|
}
|
|
}
|
|
|
|
.radio-chip[data-disabled='true'] {
|
|
border-color: @neutral-20;
|
|
|
|
&:hover {
|
|
background: @white;
|
|
cursor: not-allowed;
|
|
}
|
|
}
|
|
|
|
.radio-group {
|
|
display: flex;
|
|
flex-direction: column;
|
|
flex-wrap: wrap;
|
|
grid-gap: 16px;
|
|
height: 180px;
|
|
width: 100%;
|
|
@media (max-width: @screen-sm-min) {
|
|
flex-wrap: nowrap;
|
|
height: 100%;
|
|
}
|
|
}
|