mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-03-14 07:00:01 -04:00
Improve spacing for CreateAccountModal on chromebooks
Improve spacing for type-select screen on chromebooks Improve spacing for basic-info screen on chromebooks Improve spacing for confirmation screen on chromebooks tweak spacing
This commit is contained in:
parent
31b7d48735
commit
1b8d3ed023
5 changed files with 43 additions and 8 deletions
|
@ -15,6 +15,16 @@
|
|||
|
||||
.form-group
|
||||
text-align: left
|
||||
margin: 0
|
||||
|
||||
input
|
||||
max-height: 5vh
|
||||
|
||||
.form-container
|
||||
> .form-group, > .row
|
||||
max-height: 84px
|
||||
flex-grow: 1
|
||||
align-self: flex-start
|
||||
|
||||
.btn-illustrated img
|
||||
// Undo previous opacity-toggling hover behavior
|
||||
|
|
|
@ -1,8 +1,16 @@
|
|||
@import "app/styles/style-flat-variables"
|
||||
|
||||
#choose-account-type-view
|
||||
.choose-type-title
|
||||
display: flex
|
||||
flex-direction: column
|
||||
flex-grow: 0.5
|
||||
justify-content: flex-end
|
||||
|
||||
h4
|
||||
padding-bottom: 10px
|
||||
|
||||
.path-cards
|
||||
margin-top: 15px
|
||||
display: flex
|
||||
|
||||
.path-card ~ .path-card
|
||||
|
@ -13,7 +21,8 @@
|
|||
flex-direction: column
|
||||
justify-content: space-between
|
||||
width: 235px
|
||||
min-height: 340px
|
||||
height: 340px
|
||||
max-height: 42vh
|
||||
border-style: solid
|
||||
border-width: thin
|
||||
border-radius: 5px
|
||||
|
@ -35,6 +44,7 @@
|
|||
align-items: center
|
||||
justify-content: center
|
||||
height: 50px
|
||||
max-height: 5vh
|
||||
color: white
|
||||
font-weight: bold
|
||||
text-align: center
|
||||
|
@ -43,7 +53,8 @@
|
|||
flex-grow: 1
|
||||
display: flex
|
||||
flex-direction: column
|
||||
margin: 50px 20px 0
|
||||
justify-content: center
|
||||
margin: 0 20px
|
||||
|
||||
ul
|
||||
align-self: center
|
||||
|
@ -55,14 +66,26 @@
|
|||
left: -5px
|
||||
|
||||
.card-footer
|
||||
margin: 20px
|
||||
margin: 0 20px 20px
|
||||
min-height: 62px
|
||||
display: flex
|
||||
flex-direction: column
|
||||
justify-content: flex-end
|
||||
|
||||
.individual-section
|
||||
margin-top: 50px
|
||||
display: flex
|
||||
flex-grow: 1
|
||||
flex-direction: column
|
||||
align-items: center
|
||||
justify-content: center
|
||||
max-width: 425px
|
||||
|
||||
.individual-title
|
||||
font-weight: bold
|
||||
|
||||
.individual-description
|
||||
margin: 0
|
||||
flex-grow: 0.2
|
||||
|
||||
.text-h6
|
||||
color: white
|
||||
|
|
|
@ -17,6 +17,7 @@
|
|||
display: flex
|
||||
flex-direction: column
|
||||
height: 850px
|
||||
max-height: 90vh
|
||||
width: 850px
|
||||
text-align: center
|
||||
padding: 0
|
||||
|
@ -44,6 +45,7 @@
|
|||
align-items: center
|
||||
justify-content: flex-end
|
||||
height: 100px
|
||||
max-height: 10.5vh
|
||||
padding: 0
|
||||
|
||||
background-color: $navy
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
.modal-body-content
|
||||
h4
|
||||
h4.choose-type-title
|
||||
span(data-i18n="signup.choose_type")
|
||||
.path-cards
|
||||
.path-card.navy
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
else
|
||||
p(data-i18n="signup.confirm_individual_blurb")
|
||||
|
||||
.signup-info-box-wrapper.m-y-3
|
||||
.signup-info-box-wrapper
|
||||
.text-burgandy(data-i18n="signup.write_this_down")
|
||||
.signup-info-box.text-center
|
||||
if me.get('name')
|
||||
|
@ -32,4 +32,4 @@
|
|||
span(data-i18n="general.email")
|
||||
| : #{me.get('email')}
|
||||
|
||||
button#start-btn.btn.btn-navy.btn-lg.m-y-3(data-i18n="signup.start_playing")
|
||||
button#start-btn.btn.btn-navy.btn-lg.m-t-3(data-i18n="signup.start_playing")
|
||||
|
|
Loading…
Reference in a new issue