Merge pull request #2215 from matmair/matmair/issue2213

[BUG] Auth screens broken
This commit is contained in:
Oliver 2021-10-31 09:05:26 +11:00 committed by GitHub
commit b2dd3da518
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 11 deletions

View File

@ -15,25 +15,23 @@
} }
.login-screen { .login-screen {
background-image: url("/static/img/paper_splash.jpg"); background: url(/static/img/paper_splash.jpg) no-repeat center fixed;
background-size: cover; background-size: cover;
background-repeat: no-repeat; height: 100vh;
height: 100%;
font-family: 'Numans', sans-serif; font-family: 'Numans', sans-serif;
color: #eee; color: #eee;
} }
.login-container { .login-container {
left: 50%; align-self: center;
position: fixed;
top: 50%;
transform: translate(-50%, -50%);
width: 30%;
align-content: center;
border-radius: 15px; border-radius: 15px;
padding: 20px; padding: 20px;
padding-bottom: 35px; padding-bottom: 35px;
background-color: rgba(50, 50, 50, 0.75); background-color: rgba(50, 50, 50, 0.75);
width: 100%;
max-width: 330px;
margin: auto;
} }
.login-header { .login-header {

View File

@ -13,7 +13,7 @@
<!-- CSS --> <!-- CSS -->
<link rel="stylesheet" href="{% static 'fontawesome/css/brands.css' %}"> <link rel="stylesheet" href="{% static 'fontawesome/css/brands.css' %}">
<link rel="stylesheet" href="{% static 'fontawesome/css/solid.css' %}"> <link rel="stylesheet" href="{% static 'fontawesome/css/solid.css' %}">
<link rel="stylesheet" href="{% static 'css/bootstrap_3.3.7_css_bootstrap.min.css' %}"> <link rel="stylesheet" href="{% static 'bootstrap/css/bootstrap.min.css' %}">
<link rel="stylesheet" href="{% static 'select2/css/select2.css' %}"> <link rel="stylesheet" href="{% static 'select2/css/select2.css' %}">
<link rel="stylesheet" href="{% static 'select2/css/select2-bootstrap-5-theme.css' %}"> <link rel="stylesheet" href="{% static 'select2/css/select2-bootstrap-5-theme.css' %}">
<link rel="stylesheet" href="{% static 'css/inventree.css' %}"> <link rel="stylesheet" href="{% static 'css/inventree.css' %}">
@ -34,7 +34,7 @@
Background Image Attribution: https://unsplash.com/photos/Ixvv3YZkd7w Background Image Attribution: https://unsplash.com/photos/Ixvv3YZkd7w
--> -->
<div class='main body-wrapper login-screen'> <div class='main body-wrapper login-screen d-flex'>
<div class='login-container'> <div class='login-container'>
<div class="row"> <div class="row">