digitransit-ui/app/component/itinerary/settings-panel.scss
Vesa Meskanen 3f2fa2ae0b feat: move all itinerary page related components to a dedicated folder
Also:
- Move generic Toggle to componentfolder root
- Remove dead styles
- Refactor some componets
2024-04-22 08:49:15 +03:00

83 lines
1.6 KiB
SCSS

.offcanvas-layers {
width: 400px;
height: 100%;
display: flex;
flex-direction: column;
overflow-y: auto;
padding: 1em;
background-color: white;
.map-layer-header {
font-size: 18px;
font-weight: $font-weight-bold;
font-family: $heading-font-family;
line-height: 88px;
}
.desktop-button {
display: flex;
justify-content: center;
align-items: center;
position: relative;
width: 100%;
height: 50px;
min-height: 50px;
font-size: 18px;
font-family: $button-font-family;
font-weight: $font-weight-medium;
letter-spacing: -0.5px;
background: $primary-color;
color: #fff;
line-height: 0;
text-align: center;
padding: 0;
margin-top: 50px;
border-width: 0;
transition: background-color 300ms ease-out;
border-radius: 25px;
cursor: pointer;
&.save {
&:active,
&:focus,
&:hover {
border-color: var(--hover-color);
background: var(--hover-color);
color: #fff;
}
&.disabled {
background: #bbb;
&:active {
background: #bbb;
}
}
}
}
.panel-close {
align-self: start;
background-color: transparent;
color: $primary-color;
height: 1em;
margin: 0.25em;
padding: 0;
width: 1em;
position: absolute;
right: 20px;
top: 12px;
}
.checkbox-grouping + .checkbox-grouping {
margin-top: 2.7em;
&::before {
border-top: 1px solid $light-gray;
content: '';
margin-top: -1.92em;
display: block;
position: relative;
}
}
}