mirror of
https://github.com/flarum/framework.git
synced 2025-05-31 12:35:48 +08:00
Fix sign up modal
This commit is contained in:
@ -1,44 +1,48 @@
|
||||
.signup-welcome {
|
||||
.SignUpModal-welcome {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
border-radius: @border-radius;
|
||||
padding: 50px 30px;
|
||||
text-align: center;
|
||||
color: #fff;
|
||||
font-size: 14px;
|
||||
|
||||
.light-contents();
|
||||
|
||||
& .avatar {
|
||||
.Avatar {
|
||||
.Avatar--size(96px);
|
||||
border: 4px solid @body-bg;
|
||||
.box-shadow(0 2px 6px @shadow-color);
|
||||
}
|
||||
& h3, & p {
|
||||
h3, p {
|
||||
margin-bottom: 25px;
|
||||
}
|
||||
& .btn-default {
|
||||
.Button {
|
||||
font-size: 15px;
|
||||
height: 50px;
|
||||
padding: 15px 20px;
|
||||
}
|
||||
& .container {
|
||||
.darkenBackground {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
bottom: 0;
|
||||
right: 0;
|
||||
}
|
||||
.container {
|
||||
width: auto !important;
|
||||
padding: 0 !important;
|
||||
padding: 50px 30px !important;
|
||||
position: relative;
|
||||
}
|
||||
}
|
||||
.signup-modal-success {
|
||||
& .close {
|
||||
color: #fff;
|
||||
}
|
||||
.SignUpModal--success .Modal-close .Button {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
@media @phone {
|
||||
.signup-welcome {
|
||||
.SignUpModal-welcome .container {
|
||||
padding-top: 56px + 60px;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user