mirror of
https://github.com/mCaptcha/mCaptcha.git
synced 2024-11-30 16:10:20 +03:00
125 lines
2.4 KiB
SCSS
125 lines
2.4 KiB
SCSS
/*
|
|
* Copyright (C) 2021 Aravinth Manivannan <realaravinth@batsense.net>
|
|
*
|
|
* This program is free software: you can redistribute it and/or modify
|
|
* it under the terms of the GNU Affero General Public License as
|
|
* published by the Free Software Foundation, either version 3 of the
|
|
* License, or (at your option) any later version.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU Affero General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU Affero General Public License
|
|
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
*/
|
|
|
|
@import '../reset';
|
|
@import '../vars';
|
|
|
|
body {
|
|
background-color: $backdrop;
|
|
}
|
|
|
|
.form__logo {
|
|
width: 110px;
|
|
padding-top: 50px;
|
|
display: block;
|
|
margin: auto;
|
|
position: relative;
|
|
top: 20%;
|
|
transform: translate(0%, -40.9%);
|
|
}
|
|
|
|
.form__brand {
|
|
padding: 10px 0;
|
|
text-align: center;
|
|
position: relative;
|
|
top: 20%;
|
|
transform: translate(0%, -90.9%);
|
|
}
|
|
|
|
.form-container {
|
|
max-width: 40%;
|
|
min-width: 20%;
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 50%;
|
|
transform: translate(-50%, -49.9%);
|
|
box-sizing: border-box;
|
|
margin: auto;
|
|
padding: 20px 0;
|
|
}
|
|
|
|
.form__box {
|
|
border: 1px solid #eaecef;
|
|
border: 1px solid black;
|
|
background-color: #f6f8fa;
|
|
border-radius: 5px;
|
|
padding: 20px 0;
|
|
}
|
|
|
|
.form__in-group {
|
|
display: block;
|
|
position: relative;
|
|
margin: auto;
|
|
max-width: 80%;
|
|
padding: 10px 0px;
|
|
|
|
box-sizing: content-box;
|
|
|
|
align-items: center;
|
|
align-content: center;
|
|
}
|
|
|
|
.form__in-field {
|
|
display: block;
|
|
box-sizing: border-box;
|
|
margin: 10px 0;
|
|
padding: 10px 0;
|
|
width: 100%;
|
|
}
|
|
|
|
.form__in-field--warn {
|
|
border: solid 1px red;
|
|
}
|
|
|
|
.form__in-field--success {
|
|
border: solid 1px #2ea44f;
|
|
}
|
|
|
|
.form__pw-recovery {
|
|
text-decoration: none;
|
|
color: rgb(3, 102, 214);
|
|
font-size: 0.8rem;
|
|
}
|
|
|
|
.form__submit-button {
|
|
display: block;
|
|
border: 1px solid skyblue;
|
|
|
|
background: $violet;
|
|
color: $light-text;
|
|
height: 40px;
|
|
border-radius: 5px;
|
|
width: 80%;
|
|
margin: auto;
|
|
}
|
|
|
|
.form__secondary-action {
|
|
display: block;
|
|
margin-top: 10px;
|
|
}
|
|
|
|
.form__secondary-action__banner {
|
|
display: block;
|
|
margin: auto;
|
|
max-width: 80%;
|
|
text-align: center;
|
|
}
|
|
|
|
.form__secondary-action__link {
|
|
text-decoration: none;
|
|
color: rgb(3, 102, 214);
|
|
}
|