BasicOIDC/assets/css/base_login_page.css

82 lines
1.6 KiB
CSS
Raw Normal View History

2022-03-30 09:00:20 +00:00
html,
body {
2024-03-29 20:00:25 +00:00
height: 100%;
2022-03-30 09:00:20 +00:00
}
body {
2024-03-29 20:00:25 +00:00
display: flex;
align-items: center;
padding-top: 40px;
padding-bottom: 40px;
/* background-color: #f5f5f5; */
2022-03-30 09:00:20 +00:00
}
2022-04-03 16:51:18 +00:00
/* background */
@media screen and (min-width: 767px) {
.bg-login {
background-image: url(/assets/img/forest.jpg);
width: 100%;
height: 100%;
position: fixed;
filter: blur(10px);
z-index: -10;
background-size: cover;
opacity: 0.4;
}
}
2022-03-30 09:00:20 +00:00
.form-signin {
2024-03-29 20:00:25 +00:00
width: 100%;
max-width: 330px;
padding: 15px;
margin: auto;
2022-03-30 09:00:20 +00:00
}
.form-signin .checkbox {
2024-03-29 20:00:25 +00:00
font-weight: 400;
2022-03-30 09:00:20 +00:00
}
.form-signin .form-floating:focus-within {
2024-03-29 20:00:25 +00:00
z-index: 2;
2022-03-30 09:00:20 +00:00
}
.form-floating:first-child input {
2024-03-29 20:00:25 +00:00
margin-bottom: -1px;
border-bottom-right-radius: 0;
border-bottom-left-radius: 0;
2022-03-30 09:00:20 +00:00
}
.form-floating:not(:first-child):not(:last-child) input {
2024-03-29 20:00:25 +00:00
margin-bottom: -1px;
border-bottom-right-radius: 0;
border-bottom-left-radius: 0;
border-top-left-radius: 0;
border-top-right-radius: 0;
2022-03-30 09:00:20 +00:00
}
.form-floating:last-child input {
2024-03-29 20:00:25 +00:00
margin-bottom: 10px;
border-top-left-radius: 0;
border-top-right-radius: 0;
2022-03-30 09:00:20 +00:00
}
.form-control {
2024-03-29 20:00:25 +00:00
background-color: var(--bs-gray-700);
color: var(--bs-gray-100);
2022-03-30 09:00:20 +00:00
}
.form-control:focus {
2024-03-29 20:00:25 +00:00
background-color: var(--bs-gray-600);
color: var(--bs-gray-100);
2022-03-30 09:00:20 +00:00
}
2022-04-03 16:51:18 +00:00
.text-muted {
color: #c6c4c4 !important;
2024-03-29 20:00:25 +00:00
}
.form-floating > .form-control:focus ~ label::after,
.form-floating > .form-control:not(:placeholder-shown) ~ label::after,
.form-floating > .form-control-plaintext ~ label::after,
.form-floating > .form-select ~ label::after {
background-color: unset !important;
2022-04-03 16:51:18 +00:00
}