William O'Beirne dfb93c16ab Onboarding Style Improvements (#805)
* Increases Modal's width to better fit in the content.
* Restore the image side behavior so that images are sometimes on the left, not always on the right
* Allows modal to dynamically size its height.
    * This reduces some awkward whitespace, and makes it so you can't just jam on the "Next" button since it moves a bit, should slow some people down to at least catch the headlines.
* Restore the alert style on the opening modal
* Provide a mobile-friendly progress stepper.
    * This module's markup kind of sucks, so the restyling code is heinous. Sorry.
* Scrolls the user to the top after hitting "Next" or "Previous"
    * On mobile, you would stay scrolled at the bottom. Much nicer feeling now.
* Tons of text and content spacing / color / size adjustments.
2018-01-13 02:26:08 -06:00

40 lines
801 B
SCSS

@import 'common/sass/variables';
@import 'common/sass/mixins';
.OnboardModal {
// Additional styles for the Stepper Component
&-stepper {
a,
span {
position: relative;
bottom: 3px;
}
}
@media screen and (max-width: $screen-sm) {
&-stepper {
// The markup is inline style'd with no classes, so we're doing this in a
// horrible, horrible way
> div > div > div {
// Lines
> div {
opacity: 0;
}
// Circle
> div:nth-child(1) {
opacity: 1;
height: 8px !important;
width: 8px !important;
color: transparent !important;
}
}
}
}
@media screen and (min-width: $screen-sm) {
.Modal {
max-width: 800px;
width: 100%;
}
}
}