Web/satellite: Add responsiveness to onboarding flow (#5065)

* added media queries for onboarding flow

* responsive changes to create bucket steps

Change-Id: I2799a75db4e5029fa8a1ce11afac04333cca09c7

Co-authored-by: Moby von Briesen <mobyvb@gmail.com>
This commit is contained in:
hovex023 2022-08-11 13:45:11 -05:00 committed by GitHub
parent c3e7b1409d
commit 4be219c320
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 153 additions and 98 deletions

View File

@ -213,4 +213,11 @@ export default class BucketCreation extends Vue {
width: 460px;
}
}
@media screen and (max-width: 760px) {
.bucket-creation {
width: 300px;
}
}
</style>

View File

@ -396,4 +396,11 @@ export default class GeneratePassphrase extends Vue {
}
}
}
@media screen and (max-width: 760px) {
.encrypt-container {
width: 200px;
}
}
</style>

View File

@ -206,4 +206,11 @@ export default class BucketCreationNameStep extends Vue {
width: 100%;
justify-content: space-between;
}
@media screen and (max-width: 760px) {
.bucket-name-creation {
width: 200px;
}
}
</style>

View File

@ -131,4 +131,12 @@ export default class BucketCreationProgress extends Vue {
}
}
}
@media screen and (max-width: 760px) {
.bucket-creation-progress {
width: 290px !important;
margin-left: 16px;
}
}
</style>

View File

@ -16,12 +16,19 @@ export default class OnboardingTourArea extends Vue {}
</script>
<style scoped lang="scss">
.tour-area {
padding: 30px 0;
width: 100%;
height: calc(100% - 60px);
display: flex;
flex-direction: column;
align-items: center;
}
@media screen and (max-width: 760px) {
.tour-area {
padding: 30px 0;
width: 100%;
height: calc(100% - 60px);
display: flex;
flex-direction: column;
align-items: center;
width: 88% !important;
}
}
</style>

View File

@ -116,48 +116,56 @@ export default class OverviewStep extends Vue {
</script>
<style scoped lang="scss">
.overview-area {
display: flex;
flex-direction: column;
align-items: center;
.overview-area {
display: flex;
flex-direction: column;
align-items: center;
font-family: 'font_regular', sans-serif;
&__title {
font-family: 'font_bold', sans-serif;
color: #14142b;
font-size: 32px;
line-height: 39px;
margin-bottom: 12.5px;
}
&__subtitle {
font-family: 'font_regular', sans-serif;
font-weight: 400;
text-align: center;
color: #354049;
font-size: 16px;
line-height: 21px;
}
&__title {
font-family: 'font_bold', sans-serif;
color: #14142b;
font-size: 32px;
line-height: 39px;
margin-bottom: 12.5px;
}
&__routes {
margin-top: 35px;
display: flex;
align-items: center;
justify-content: center;
flex-wrap: wrap;
column-gap: 38px;
row-gap: 38px;
}
&__subtitle {
font-family: 'font_regular', sans-serif;
font-weight: 400;
text-align: center;
color: #354049;
font-size: 16px;
line-height: 21px;
}
&__skip-button {
margin-top: 58px;
color: #b7c1ca;
cursor: pointer;
text-decoration: underline !important;
&__routes {
margin-top: 35px;
display: flex;
align-items: center;
justify-content: center;
flex-wrap: wrap;
column-gap: 38px;
row-gap: 38px;
}
&__skip-button {
margin-top: 58px;
color: #b7c1ca;
cursor: pointer;
text-decoration: underline !important;
&:hover {
text-decoration: underline;
}
&:hover {
text-decoration: underline;
}
}
}
@media screen and (max-width: 760px) {
.overview-area {
width: 250px;
text-align: center;
}
}
</style>

View File

@ -72,68 +72,79 @@ export default class OverviewContainer extends Vue {
</script>
<style scoped lang="scss">
.overview-container {
background: #fcfcfc;
box-shadow: 0 0 32px rgb(0 0 0 / 4%);
border-radius: 20px;
font-family: 'font_regular', sans-serif;
padding: 52px;
max-width: 394px;
display: flex;
flex-direction: column;
align-items: center;
.overview-container {
background: #fcfcfc;
box-shadow: 0 0 32px rgb(0 0 0 / 4%);
border-radius: 20px;
font-family: 'font_regular', sans-serif;
padding: 52px;
max-width: 394px;
display: flex;
flex-direction: column;
align-items: center;
&__img {
min-height: 83px;
}
&__img {
min-height: 83px;
}
&__enc {
font-family: 'font_bold', sans-serif;
font-size: 14px;
line-height: 36px;
letter-spacing: 1px;
color: #14142a;
margin-bottom: 10px;
text-transform: uppercase;
}
&__enc {
font-family: 'font_bold', sans-serif;
font-size: 14px;
line-height: 36px;
letter-spacing: 1px;
color: #14142a;
margin-bottom: 10px;
text-transform: uppercase;
}
&__title {
font-family: 'font_bold', sans-serif;
font-size: 26px;
line-height: 31px;
letter-spacing: 1px;
color: #131621;
margin-bottom: 14px;
}
&__title {
font-family: 'font_bold', sans-serif;
font-size: 26px;
line-height: 31px;
letter-spacing: 1px;
color: #131621;
margin-bottom: 14px;
}
&__info {
margin-bottom: 25px;
font-size: 16px;
line-height: 21px;
text-align: center;
&__info {
margin-bottom: 25px;
font-size: 16px;
line-height: 21px;
text-align: center;
color: #354049;
}
&__encryption-container {
width: calc(100% - 48px);
padding: 12px 24px;
background: #fec;
border-radius: 8px;
margin-top: 37px;
font-size: 16px;
line-height: 24px;
color: #354049;
text-align: center;
&__link {
text-decoration: underline !important;
text-underline-position: under;
color: #354049;
}
&__encryption-container {
width: calc(100% - 48px);
padding: 12px 24px;
background: #fec;
border-radius: 8px;
margin-top: 37px;
font-size: 16px;
line-height: 24px;
color: #354049;
text-align: center;
&__link {
text-decoration: underline !important;
text-underline-position: under;
&:visited {
color: #354049;
&:visited {
color: #354049;
}
}
}
}
}
@media screen and (max-width: 760px) {
.overview-container {
width: 250px;
}
.overview-container__title {
text-align: center;
}
}
</style>