mCaptcha/templates/auth/css/main.scss
2022-01-08 22:16:05 +05:30

71 lines
1.7 KiB
SCSS

/*
* Copyright (C) 2022 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';
@import '../../components/inner-container';
@import '../../components/main';
body {
background-color: $backdrop;
}
.auth-inner-container {
@include inner-container;
flex-direction: column;
margin: auto;
width: $auth-content-width;
top: 50%;
left: 50%;
position: absolute;
transform: translate(-50%, -50%);
}
.auth-main {
@include main;
align-items: center;
}
.auth__logo {
width: 160px;
display: block;
margin: 20px auto;
position: relative;
}
@mixin auth__secondary-action__banner-base {
display: block;
margin: auto;
text-align: center;
width: 80%;
}
.auth__secondary-action__banner {
@include auth__secondary-action__banner-base;
margin: 20px auto auto auto;
}
.auth__demo-user__banner {
@include auth__secondary-action__banner-base;
margin: 5px auto auto auto;
font-size: 0.7rem;
}
.auth__secondary-action__link {
text-decoration: none;
color: $blue-link;
}