-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #8285 from Flaburgan/revamped-registrations
New registration page
- Loading branch information
Showing
15 changed files
with
226 additions
and
159 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -70,7 +70,7 @@ linters: | |
enabled: true | ||
|
||
IdSelector: | ||
enabled: true | ||
enabled: false | ||
|
||
ImportantRule: | ||
enabled: true | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
$breakpoint: 700px; | ||
|
||
$subtle: $text-dark-grey; | ||
|
||
$default-size: 16px; | ||
$smaller: .9em; | ||
|
||
$default-margin: 16px; // Will be 1rem once the default-size will be set on <html> | ||
$double-margin: $default-margin * 2; | ||
$triple-margin: $default-margin * 3; | ||
|
||
$radius: 4px; | ||
|
||
|
||
.modern-design { | ||
font-size: $default-size; | ||
|
||
// Style | ||
h1 { | ||
font-size: 3em; | ||
margin: $double-margin 0; | ||
|
||
@media screen and (max-width: $breakpoint) { | ||
font-size: 2em; | ||
margin: $default-margin 0; | ||
} | ||
} | ||
|
||
section { | ||
margin-bottom: $double-margin; | ||
} | ||
|
||
section:last-child { | ||
margin-bottom: 0; | ||
} | ||
|
||
.advice { | ||
color: $subtle; | ||
font-size: $smaller; | ||
font-style: italic; | ||
} | ||
// End of style | ||
|
||
// Layout | ||
// This cleans the famous children "margin-top" problem | ||
.small-container::before, | ||
.small-container::after { | ||
content: ' '; | ||
display: table; | ||
} | ||
|
||
.small-container { | ||
margin: auto; | ||
max-width: 800px; | ||
|
||
@media screen and (max-width: $breakpoint) { | ||
padding: 10px; | ||
} | ||
} | ||
|
||
.flex-container { | ||
display: flex; | ||
justify-content: space-between; | ||
} | ||
// End of layout | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,54 +1,79 @@ | ||
.page-registrations { | ||
.ball { | ||
background: image-url('branding/ball.png') no-repeat; | ||
background-size: contain; | ||
height: 633px; | ||
max-width: 100%; | ||
// For the mobile version which doesn't have the same global CSS | ||
background: $body-bg; | ||
|
||
#main { | ||
padding: 0; | ||
padding-top: 46px; | ||
} | ||
// End specific mobile | ||
|
||
.v-center { | ||
display: table; | ||
height: 633px; | ||
// Overriding bootstrap | ||
.form-control { | ||
display: inline-block; | ||
width: 320px; | ||
} | ||
// End Overriding bootstrap | ||
|
||
@media (max-width: $screen-xs-max) { | ||
.v-center { | ||
height: auto; | ||
.fields { | ||
margin: $triple-margin 0; | ||
|
||
@media screen and (max-width: $breakpoint) { | ||
flex-direction: column-reverse; | ||
margin: $double-margin 0; | ||
} | ||
|
||
section { | ||
border-left: solid 3px $brand-primary; | ||
padding-left: 10px; | ||
} | ||
} | ||
|
||
.content { | ||
display: table-cell; | ||
vertical-align: middle; | ||
.advice { | ||
max-width: 450px; | ||
} | ||
|
||
.captcha { | ||
align-items: center; | ||
display: flex; | ||
|
||
h1 { | ||
font-size: 35px; | ||
margin: 12px 0; | ||
.captcha-img { | ||
margin-left: 5px; | ||
order: 2; | ||
} | ||
} | ||
|
||
form { | ||
max-width: 500px; | ||
.import-and-ball-container { | ||
display: flex; | ||
flex-direction: column; | ||
justify-content: space-between; | ||
} | ||
|
||
.captcha-img { | ||
left: 10px; | ||
position: absolute; | ||
top: 169px; | ||
width: 120px; | ||
} | ||
.import-instructions { | ||
align-self: flex-start; | ||
background-color: lighten($brand-primary, 40); | ||
border: 2px solid lighten($brand-primary, 20); | ||
border-radius: $radius; | ||
font-size: $smaller; | ||
margin-left: $default-margin; | ||
padding: $default-margin; | ||
width: 240px; | ||
|
||
.form-control.captcha-input { | ||
border-bottom: 1px solid $input-border; | ||
border-bottom-left-radius: 5px; | ||
border-bottom-right-radius: 5px; | ||
box-sizing: border-box; | ||
line-height: $line-height-base; | ||
padding-left: 130px; | ||
@media screen and (max-width: $breakpoint) { | ||
margin-bottom: $double-margin; | ||
margin-left: 0; | ||
width: 100%; | ||
} | ||
} | ||
|
||
.terms > a { | ||
color: inherit; | ||
text-decoration: underline; | ||
.ball { | ||
background: image-url('branding/ball.png') no-repeat; | ||
background-size: contain; | ||
height: 250px; | ||
width: 250px; | ||
|
||
@media screen and (max-width: $breakpoint) { | ||
display: none; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.