3
0
Fork 0

Updated to Laravel 9, small fixes, and more

This commit is contained in:
SBDeveloper 2022-11-28 21:07:07 +01:00
parent 6fc52ee512
commit 9fd844ae1a
24 changed files with 5589 additions and 2557 deletions

View file

@ -13,102 +13,108 @@ html, body {
font-family: sans-serif;
}
.page {
width: 360px;
padding: 8% 0 0;
margin: auto
}
.page>div,
.page>form {
position: relative;
z-index: 1;
background: var(--color-text);
max-width: 360px;
margin: 0 auto 100px;
padding: 15px 45px 15px 45px;
box-shadow: 0 0 20px 0 rgba(0, 0, 0, .2), 0 5px 5px 0 rgba(0, 0, 0, .24);
border-radius: 3px
}
.page>div img,
.page form img {
width: 80%;
display: block;
margin: auto;
margin-bottom: 15px!important
}
.page form .input-group {
margin-bottom: 10px
}
.login-page {
width: 360px;
padding: 8% 0 0;
margin: auto;
background-size: cover;
display: flex;
height: 100vh;
width: 100vw;
overflow: hidden;
background: var(--banner) no-repeat;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
flex-direction: column;
}
.login-page form {
position: relative;
.login-text {
width: 100%;
height: available;
min-height: 50%;
display: flex;
align-items: center;
justify-content: center;
z-index: 1;
background: #FFFFFF;
max-width: 360px;
margin: 0 auto 100px;
padding: 15px 45px 45px 45px;
box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.2), 0 5px 5px 0 rgba(0, 0, 0, 0.24);
border-radius: 3px;
flex: 1;
}
.login-page form h1 {
.login-body {
float: right;
width: 100%;
height: fit-content;
display: flex;
align-items: center;
justify-content: center;
border-top-left-radius: 2.5rem;
border-top-right-radius: 2.5rem;
--tw-bg-opacity: 1;
background-color: #fff;
padding: 3rem 1.5rem 4rem;
overflow: hidden;
z-index: 1;
}
@media (min-width: 768px) {
.login-page {
flex-direction: row;
}
.login-text {
width: 65%;
}
.login-body {
position: relative;
height: 100%;
width: 35%;
border-top-right-radius: 0;
border-bottom-left-radius: 2.5rem;
padding: 1rem;
}
}
@media (min-width: 1024px) {
.login-body > div:not(.login-footer) {
width: 60%
}
}
.login-footer {
position: absolute;
bottom: 0;
width: 100%;
text-align: center;
}
.login-page form input {
outline: 0;
background: #f2f2f2;
width: 100%;
border: 0;
margin: 0 0 15px;
padding: 15px;
box-sizing: border-box;
font-size: 14px;
border-radius: 3px;
}
.login-page form button {
outline: 0;
background: var(--color-light);
width: 100%;
border: 0;
padding: 15px;
color: var(--color-text);
font-size: 20px;
cursor: pointer;
border-radius: 3px;
}
.login-page form button:hover,.form button:active,.form button:focus {
background: var(--color-dark);
}
.login-page form .message {
margin: 15px 0 0;
color: #7f8c8d;
font-size: 14px;
}
.login-page form .message a {
color: var(--color-dark);
padding: 10px;
text-decoration: none;
z-index: 1;
}
.login-page form .message a:hover {
.login-footer span {
font-weight: 600;
}
.login-footer span a img {
height: 20px !important;
}
.form-input {
border-radius: 0.35rem;
margin-bottom: 1rem;
width: 100%;
border: 0 solid #9ca3af;
border-bottom-width: 2px;
background-color: #f9fafb;
padding: 0.5rem;
color: #333;
}
form a {
color: var(--color-light);
}
.login-page form .register-form {
display: none;
form a:hover {
color: var(--color-dark);
text-decoration: underline;
}
::-webkit-scrollbar {
@ -128,6 +134,7 @@ html, body {
height: 150px;
}
.login-page:after,
.banner:after {
content: '\A';
position: absolute;
@ -157,7 +164,7 @@ html, body {
.footer {
margin-bottom: 0;
background-color: #fff;
position: absolute;
position: fixed;
bottom: 0;
text-align: center;
padding: 10px;
@ -509,7 +516,7 @@ code i {
height:100%;
top: 0;
left: 0;
background: rgba(0,0,0,0.3);
background: rgba(0,0,0,0.4);
}
.status-card > .card-body {
@ -584,6 +591,7 @@ code i {
.card-container {
display: flex;
justify-items: stretch;
flex-wrap: wrap;
}
}
@ -620,3 +628,63 @@ code i {
font-weight: bolder;
margin-bottom: .75rem;
}
/* Operator Page */
.operator-item {
padding: 25px 25px 65px;
border-radius: 15px;
background-color: #fff;
text-align: center;
position: relative;
width: 100%;
transition: box-shadow 0.15s;
margin-bottom: 25px;
}
.operator-item-glow {
box-shadow: 0 0 10px 2px rgba(241,212,37,0.7);
}
.operator-item .operator-item-cover {
width: 80%;
max-width: 180px;
height: auto;
margin-bottom: 15px;
}
.operator-item .operator-badge {
display: block;
padding: 10px 35px;
border-radius: 5px;
background-color: #666;
color: #fff;
width: fit-content;
position: absolute;
bottom: 25px;
left: 50%;
transform: translate(-50%, 0);
cursor: pointer;
}
@media (max-width: 768px) {
.notifications-container {
max-width: unset;
width: 90%;
}
.notify-is-right .notify {
right: 5%;
}
}
.notifications-container {
max-width: 380px;
}
.notify__title {
font-size: 1.5rem;
}
.notify__text {
font-size: 1.25rem;
}