2016-06-07 14:51:41 -07:00
/ /
Layout for CreateAccountModal is done largely with flexboxes .
Rules in this file should be ones that apply to all screens / subviews , but this
separation may not be perfect .
Currently it uses . modal-dialog , . modal-content , etc , for some parts of the modal .
Unfortunately those preexesting classes don ' t line up perfectly with the needs of this modal,
so many of the other styles for those classes don ' t apply or are overridden.
@import "app/styles/style-flat-variables"
# create-account-modal
. modal-dialog
width : 850 px
. modal-content
display : flex
flex-direction : column
height : 850 px
2016-07-08 15:00:19 -07:00
max-height : 90 vh
2016-06-07 14:51:41 -07:00
width : 850 px
text-align : center
padding : 0
border : none
/ / General modal stuff
2016-06-30 15:32:58 -07:00
. close
color : white
opacity : 0 .5
right : 7 px
& : hover
opacity : 0 .9
2016-06-07 14:51:41 -07:00
. modal-header , . modal-footer
& . teacher
background-color : $burgandy
& . student
background-color : $forest
. modal-header
display : flex
flex-direction : column
align-items : center
justify-content : flex - end
height : 100 px
2016-07-08 15:00:19 -07:00
max-height : 10 .5 vh
2016-06-07 14:51:41 -07:00
padding : 0
background-color : $navy
h3
color : white
. modal-footer
padding : 0
margin : 0
height : 50 px
display : flex
align-items : center
justify-content : center
background-color : $navy
span
color : white
2016-06-30 15:32:58 -07:00
a span
text-decoration : underline
2016-06-07 14:51:41 -07:00
2016-08-05 14:41:29 -07:00
# choose-account-type-view , # segment-check-view , # basic-info-view , # coppa-deny-view , # single-sign-on-already-exists-view , # single-sign-on-confirm-view , # extras-view , # confirmation-view
2016-06-07 14:51:41 -07:00
display : flex
flex-direction : column
flex-grow : 1
. modal-body
display : flex
flex-direction : column
flex-grow : 1
. modal-body-content
flex-grow : 2
display : flex
flex-direction : column
align-items : center
justify-content : center
/ / Back / forward buttons
. history-nav-buttons
width : 100 %
display : flex
flex-direction : row-reverse
flex-grow : 1
align-items : flex - end
justify-content : space-between
. btn
2016-08-08 17:13:17 -07:00
/ / Undo . style-flat ' s .btn + .btn margin
2016-06-07 14:51:41 -07:00
margin : 0
& . just-one
flex-direction : row
/ / Forms
2016-06-30 15:32:58 -07:00
. form-container
width : 800 px
. form-group
text-align : left
2016-06-07 14:51:41 -07:00
. full-name
display : flex
flex-direction : row
. form-group
display : flex
flex-direction : column
align-content : flex - start
& . text-center
text-align : center
input
height : 40 px
& . row
display : block
& . last-initial
margin-left : 30 px
width : auto
input
width : 70 px
& . subscribe
width : 100 %
/ / Fancy text inside horizontal rules
. hr-text
position : relative
hr
width : 430 px
padding : 0
border : none
border-top : thin solid #444
color : #444
span
position : absolute
left : 50 %
top : 0 .45 em
transform : translateX ( -50 % )
padding : 0 0 .75 em
font-weight : bold
font-size : 10 pt
background : white
/ / Glyphicon colors
. glyphicon-ok-circle
color : green
. glyphicon-remove-circle
color : red