mirror of
https://github.com/gilbN/theme.park.git
synced 2024-11-20 10:02:32 +01:00
219 lines
6.2 KiB
CSS
219 lines
6.2 KiB
CSS
@import "https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.7.2/animate.min.css";
|
|
@import "https://fonts.googleapis.com/css?family=Share+Tech+Mono&display=swap";
|
|
@import "https://fonts.googleapis.com/css?family=VT323";
|
|
:root {
|
|
--main-bg-color: url(https://theme-park.dev/CSS/addons/unraid/login-page/fallout/wallpaper/rocky-wall.png), url(https://theme-park.dev/CSS/addons/unraid/login-page/fallout/wallpaper/6Ua3u8.jpg) center center/cover no-repeat fixed;
|
|
--logo: url(https://theme-park.dev/CSS/addons/unraid/login-page/fallout/logo/vault.png) center no-repeat;
|
|
--text-color: #14F074;
|
|
--input-color: #14F074;
|
|
--link-color: #14F074;
|
|
--link-color-hover: #0C833D;
|
|
--case-color: #14F074;
|
|
--button-text-color: #14F074;
|
|
--button-text-color-hover: #FFFFFF;
|
|
--button-color: #14F074;
|
|
--button-color2: #0C833D;
|
|
--input-font: 'Share Tech Mono', monospace;
|
|
--text-font: 'Share Tech Mono', monospace;
|
|
--div-background-color-15: rgba(0, 0, 0, 0.25);
|
|
|
|
/* Replace the variables if you have a dark background */
|
|
/* Light colors for dark backgrounds */
|
|
/*
|
|
--div-background-color-10: rgba(255, 255, 255, 0.1);
|
|
--div-background-color-15: rgba(255, 255, 255, 0.15);
|
|
--div-background-color-25: rgba(255, 255, 255, 0.25);
|
|
--div-background-color-35: rgba(255, 255, 255, 0.35);
|
|
https://www.transparenttextures.com/patterns/hexellence.png
|
|
https://www.transparenttextures.com/patterns/gplay.png
|
|
https://www.transparenttextures.com/patterns/simple-horizontal-light.png
|
|
https://www.colourlovers.com/palette/3428762/Fallout?widths=1
|
|
*/
|
|
}
|
|
|
|
@media (max-width: 500px) {
|
|
#login {
|
|
-webkit-backdrop-filter: blur(0px);
|
|
backdrop-filter: blur(0px);
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
bottom: 0;
|
|
right: 0;
|
|
height: 100%;
|
|
width: 100%;
|
|
border-radius: none !important;
|
|
}
|
|
.background-wrap,#video-bg-elem {display: none;}
|
|
}
|
|
|
|
html {
|
|
background: var(--main-bg-color) !important;
|
|
}
|
|
body {
|
|
background: var(--main-bg-color) !important;
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
bottom: 0;
|
|
right: 0;
|
|
height: 100%;
|
|
width: 100%;
|
|
overflow: hidden;
|
|
}
|
|
@media only screen and (max-width: 768px) {
|
|
#login {
|
|
min-width: 300px;
|
|
}
|
|
}
|
|
/*FOR VIDEO BACKGROUND*/
|
|
.background-wrap {
|
|
position: fixed;
|
|
z-index: -1000;
|
|
width: 100%;
|
|
height: 100%;
|
|
overflow: hidden;
|
|
top: 0;
|
|
left: 0;
|
|
}
|
|
#video-bg-elem {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
min-height: 100%;
|
|
min-width: 100%;
|
|
}
|
|
/*TEXT COLOR*/
|
|
#login h1,
|
|
#login h2,
|
|
#login .error {
|
|
color: var(--text-color) !important;
|
|
}
|
|
#login a {
|
|
color: var(--link-color);
|
|
}
|
|
#login a:hover {
|
|
color: var(--link-color-hover);
|
|
}
|
|
#login input {
|
|
color: var(--input-color);
|
|
}
|
|
#login ::placeholder {
|
|
color: var(--input-color);
|
|
}
|
|
#login ::-webkit-input-placeholder {
|
|
color: var(--input-color);
|
|
}
|
|
#login ::-moz-placeholder {
|
|
color: var(--input-color);
|
|
}
|
|
#login :-ms-input-placeholder {
|
|
color: var(--input-color);
|
|
}
|
|
#login :-moz-placeholder {
|
|
color: var(--input-color);
|
|
}
|
|
#login input:focus::-webkit-input-placeholder {
|
|
color: transparent !important;
|
|
}
|
|
#login input:focus:-moz-placeholder {
|
|
color: transparent !important;
|
|
}
|
|
#login input:focus::-moz-placeholder {
|
|
color: transparent !important;
|
|
}
|
|
#login input:focus:-ms-input-placeholder {
|
|
color: transparent !important;
|
|
}
|
|
|
|
/*TEXT FONT*/
|
|
#login h1,
|
|
#login h2,
|
|
#login a,
|
|
#login .button,
|
|
#login .error {
|
|
font-family: var(--text-font);
|
|
}
|
|
|
|
/* CASE COLOR */
|
|
#login [class^='case-'],
|
|
#login [class*=' case-'] {
|
|
font-family: cases!important;
|
|
speak: none;
|
|
font-style: normal;
|
|
font-weight: normal;
|
|
font-variant: normal;
|
|
text-transform: none;
|
|
color: var(--case-color);
|
|
}
|
|
/*INPUT FORMS*/
|
|
#login [type=text],
|
|
#login [type=password] {
|
|
font-family: var(--input-font);
|
|
background-color: rgba(0, 0, 0, 0.25);
|
|
border: 2px solid transparent;
|
|
text-transform: uppercase;
|
|
border-radius: 5px;
|
|
}
|
|
#login [type=text]:active,
|
|
#login [type=text]:focus,
|
|
#login [type=password]:active,
|
|
#login [type=password]:focus {
|
|
font-family: var(--input-font);
|
|
background-color: rgba(0, 0, 0, 0.25);
|
|
border: 2px solid transparent;
|
|
text-transform: uppercase;
|
|
|
|
}
|
|
|
|
|
|
/*BUTTON*/
|
|
#login .button {
|
|
color: var(--button-text-color);
|
|
background: linear-gradient(90deg, var(--button-color2) 0, var(--button-color)) 0 0 no-repeat, linear-gradient(90deg, var(--button-color2) 0, var(--button-color)) 0 100% no-repeat, linear-gradient(0deg, var(--button-color2) 0, var(--button-color2)) 0 100% no-repeat, linear-gradient(0deg, var(--button-color) 0, var(--button-color)) 100% 100% no-repeat;
|
|
background: -webkit-gradient(linear, left top, right top, from(var(--button-color2)), to(var(--button-color))) 0 0 no-repeat, -webkit-gradient(linear, left top, right top, from(var(--button-color2)), to(var(--button-color))) 0 100% no-repeat, -webkit-gradient(linear, left bottom, left top, from(var(--button-color2)), to(var(--button-color2))) 0 100% no-repeat, -webkit-gradient(linear, left bottom, left top, from(var(--button-color)), to(var(--button-color))) 100% 100% no-repeat;
|
|
background-size: 100% 2px, 100% 2px, 2px 100%, 2px 100%;
|
|
}
|
|
#login .button:hover {
|
|
color: var(--button-text-color-hover);
|
|
background-color: var(--button-color);
|
|
background: -webkit-gradient(linear, left top, right top, from(var(--button-color2)), to(var(--button-color)));
|
|
background: linear-gradient(90deg, var(--button-color2) 0, var(--button-color));
|
|
}
|
|
|
|
|
|
#login {
|
|
background: var(--div-background-color-15) !important;
|
|
-webkit-backdrop-filter: blur(10px);
|
|
backdrop-filter: blur(10px);
|
|
padding-top: 1rem;
|
|
position: absolute;
|
|
left: 50%;
|
|
top: 50%;
|
|
transform: translate(-50%, -50%) !;
|
|
-ms-transform: translate(-50%, -50%);
|
|
-webkit-transform: translate(-50%, -50%);
|
|
margin: 0 !important;
|
|
text-transform: uppercase;
|
|
min-width: 300px;
|
|
}
|
|
|
|
#login .angle:after {
|
|
display: none;
|
|
}
|
|
#login .wordmark {
|
|
display: none;
|
|
}
|
|
|
|
#login .logo {
|
|
background: var(--logo);
|
|
background-size: contain;
|
|
padding: 2rem;
|
|
border-radius: 0;
|
|
margin: 0rem 1rem 0rem 1rem;
|
|
}
|
|
#login .error {
|
|
animation-name: shake;
|
|
animation-duration: .8s;
|
|
}
|