mCaptcha/templates/auth/css/main.scss

72 lines
1.7 KiB
SCSS
Raw Normal View History

2021-05-06 18:02:44 +03:00
/*
* 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';
@import '../../components/inner-container';
@import '../../components/main';
body {
background-color: $backdrop;
}
.auth-inner-container {
@include inner-container;
flex-direction: column;
2021-05-09 14:09:52 +03:00
margin: auto;
2021-05-06 18:02:44 +03:00
width: $auth-content-width;
top: 50%;
left: 50%;
position: absolute;
transform: translate(-50%, -50%);
}
.auth-main {
@include main;
align-items: center;
}
.auth__logo {
2021-05-07 12:51:27 +03:00
width: 160px;
2021-05-06 18:02:44 +03:00
display: block;
2021-05-07 12:51:27 +03:00
margin: 20px auto;
2021-05-06 18:02:44 +03:00
position: relative;
}
2021-08-09 09:53:06 +03:00
@mixin auth__secondary-action__banner-base {
2021-05-06 18:02:44 +03:00
display: block;
margin: auto;
text-align: center;
width: 80%;
2021-08-09 09:53:06 +03:00
}
.auth__secondary-action__banner {
@include auth__secondary-action__banner-base;
2021-05-06 18:02:44 +03:00
margin: 20px auto auto auto;
}
2021-08-09 09:53:06 +03:00
.auth__demo-user__banner {
@include auth__secondary-action__banner-base;
margin: 5px auto auto auto;
font-size: 0.7rem;
}
2021-05-06 18:02:44 +03:00
.auth__secondary-action__link {
text-decoration: none;
2021-05-07 21:59:19 +03:00
color: $blue-link;
2021-05-06 18:02:44 +03:00
}