hensei-web/components/PartySegmentedControl/index.scss

54 lines
874 B
SCSS

.PartyNavigation {
align-items: center;
box-sizing: border-box;
display: flex;
gap: 58px;
justify-content: center;
margin: 0 auto;
margin-bottom: $unit * 3;
max-width: 760px;
position: relative;
@include breakpoint(phone) {
gap: $unit;
margin-left: 0;
margin-right: 0;
padding: 0 $unit;
max-width: auto;
width: 100%;
&.Editable {
justify-content: flex-start;
}
}
.SegmentedControl {
flex-grow: 1;
@include breakpoint(phone) {
flex-grow: 1;
width: 100%;
display: grid;
grid-template-columns: auto auto auto;
}
}
}
.ExtraSwitch {
color: #888;
display: flex;
font-weight: $normal;
gap: 8px;
line-height: 34px;
height: 100%;
position: absolute;
right: 0px;
@include breakpoint(phone) {
position: static;
.Text {
display: none;
}
}
}