mirror of
https://github.com/status-im/MyCrypto.git
synced 2025-01-09 10:41:56 +00:00
dfb93c16ab
* 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.
87 lines
1.2 KiB
SCSS
87 lines
1.2 KiB
SCSS
@import 'common/sass/variables';
|
|
@import 'common/sass/mixins';
|
|
|
|
.OnboardSlide {
|
|
font-size: 1.15rem;
|
|
|
|
&-header {
|
|
text-align: center;
|
|
margin-bottom: $space * 2;
|
|
font-size: 1.65rem;
|
|
font-weight: bold;
|
|
}
|
|
|
|
&-subheader {
|
|
text-align: center;
|
|
margin-top: -$space * 1.5;
|
|
margin-bottom: $space * 2;
|
|
color: $gray;
|
|
}
|
|
|
|
&-body {
|
|
display: flex;
|
|
}
|
|
|
|
&-content {
|
|
flex: 1;
|
|
|
|
> *:first-child,
|
|
> div > *:first-child {
|
|
margin-top: 0;
|
|
}
|
|
|
|
ul {
|
|
padding-left: 30px;
|
|
}
|
|
}
|
|
|
|
&-image {
|
|
display: flex;
|
|
flex-flow: column;
|
|
justify-content: center;
|
|
min-width: 250px;
|
|
|
|
&.is-left {
|
|
padding-right: $space * 1.5;
|
|
}
|
|
|
|
&.is-right {
|
|
padding-left: $space * 1.5;
|
|
}
|
|
|
|
&-img {
|
|
width: 100%;
|
|
}
|
|
}
|
|
|
|
@media screen and (max-width: $screen-sm) {
|
|
width: 100%;
|
|
|
|
&-body {
|
|
flex-direction: column;
|
|
}
|
|
|
|
&-content {
|
|
order: 2;
|
|
}
|
|
|
|
&-image {
|
|
order: 1;
|
|
align-self: center;
|
|
width: auto;
|
|
height: 180px;
|
|
margin-bottom: $space * 2;
|
|
|
|
&.is-left,
|
|
&.is-right {
|
|
padding: 0;
|
|
}
|
|
|
|
&-img {
|
|
width: auto;
|
|
height: 100%;
|
|
}
|
|
}
|
|
}
|
|
}
|