Scripts/resources/[hp]/hp_multichar/ui/css/style.css
2024-12-29 20:48:41 +01:00

465 lines
9.7 KiB
CSS

@import url("https://fonts.googleapis.com/css2?family=Barlow:wght@300;400;500;600;700&display=swap");
* {
margin: 0;
padding: 0;
box-sizing: border-box;
user-select: none;
font-family: "Barlow", sans-serif;
}
body {
width: 100vw;
height: 100vh;
overflow: hidden;
display: none;
}
main {
width: 100vw;
height: 100vh;
}
main .toaster-wrapper {
width: 100vw;
height: 100vh;
position: absolute;
top: 0;
left: 0;
z-index: 99999;
background: rgba(0, 0, 0, 0.6);
display: none;
align-items: center;
justify-content: center;
}
main .toaster-wrapper .toaster {
background: rgb(10, 10, 10);
border-radius: 20px;
padding: 50px;
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
gap: 15px;
}
main .toaster-wrapper .toaster .title-wrapper .title {
color: #FFF;
font-size: 36px;
font-weight: 700;
text-align: center;
text-shadow: 0px 0px 20px rgba(255, 255, 255, 0.5);
}
main .toaster-wrapper .toaster .title-wrapper .subtitle {
color: rgba(255, 255, 255, 0.5);
font-size: 12px;
font-weight: 500;
text-align: center;
}
main .toaster-wrapper .toaster input {
color: #1ca7ff;
text-shadow: 0px 0px 20px rgba(28, 167, 255, 0.75);
font-size: 22px;
font-weight: 600;
line-height: 100%;
width: 100%;
border: 0;
outline: 0;
width: 100%;
background: rgba(0, 0, 0, 0.6);
padding: 15px 30px;
border: 1px solid rgba(28, 167, 255, 0.3725490196);
margin-top: 10px;
}
main .toaster-wrapper .toaster input::placeholder {
color: #1ca7ff;
opacity: 0.5;
}
main .toaster-wrapper .toaster .btn-wrapper {
display: flex;
gap: 20px;
margin-top: 12px;
width: 100%;
}
main .toaster-wrapper .toaster .btn-wrapper .btn {
position: relative;
width: 50%;
height: 60px;
border-radius: 2px;
background: rgba(0, 0, 0, 0.6);
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
font-size: 20px;
font-weight: 700;
color: #FFF;
text-shadow: 0px 0px 30px rgba(255, 255, 255, 0.5);
}
main .toaster-wrapper .toaster .btn-wrapper .btn:hover {
background: rgba(0, 0, 0, 0.7);
}
main .toaster-wrapper .toaster .btn-wrapper .btn.close-box {
color: #1ca7ff;
text-shadow: 0px 0px 30px rgba(28, 167, 255, 0.5);
}
main .toaster-wrapper .toaster .btn-wrapper .btn .icons {
width: 100%;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
height: 60px;
display: flex;
align-items: center;
justify-content: space-between;
}
main .toaster-wrapper .toaster .btn-wrapper .btn .icons .top, main .toaster-wrapper .toaster .btn-wrapper .btn .icons .bottom {
height: 100%;
}
main .toaster-wrapper .toaster .btn-wrapper .btn .icons .top img, main .toaster-wrapper .toaster .btn-wrapper .btn .icons .bottom img {
height: 100%;
}
main .corner-img {
position: absolute;
top: 0;
right: 0;
z-index: -1;
}
main .loading {
position: absolute;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
z-index: 998;
opacity: 0.5;
}
main .loading .bg {
width: 100vw;
height: 100vh;
z-index: -1;
}
main .loading .bars {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
main .loading .bars img {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
transform-origin: 0% 0%;
animation: anim 4s infinite linear;
}
main .loading .bars img:last-child {
animation: anim2 4s infinite linear;
}
main .loading .loading-text {
position: absolute;
left: 50%;
top: 70%;
transform: translateX(-50%);
color: #1ca7ff;
text-shadow: 0px 0px 50px rgba(28, 167, 255, 0.5);
font-size: 80px;
font-weight: 700;
animation: anim3 3s infinite ease;
transform-origin: 0% 0%;
}
main .loading .loading-text span {
font-weight: 500;
}
main .char-selected-box {
position: absolute;
left: 3vw;
top: 3vw;
width: 30vw;
}
main .char-selected-box .title {
color: #1ca7ff;
text-shadow: 0px 0px 20px rgb(28 167 255 / 70%);
font-size: 20px;
font-weight: 500;
}
main .char-selected-box .char-name-wrapper {
display: flex;
justify-content: space-between;
align-items: flex-end;
}
main .char-selected-box .char-name-wrapper .gender {
color: #FFF;
font-size: 14px;
font-weight: 600;
background: #1ca7ff;
box-shadow: 0px 0px 30px 0px rgb(28 167 255 / 30%);
padding: 3px 20px;
margin-bottom: 6px;
}
main .char-selected-box .char-name-wrapper .name {
color: #FFF;
text-shadow: 0px 0px 20px rgba(255, 255, 255, 0.3);
font-size: 48px;
font-weight: 500;
text-transform: uppercase;
}
main .char-selected-box .char-name-wrapper .name span {
font-weight: 700;
}
main .char-selected-box .divider {
width: 100%;
height: 1px;
background: rgba(255, 255, 255, 0.3);
margin: 10px 0 15px 0;
}
main .char-selected-box .subtitle {
color: #FFF;
font-size: 14px;
font-weight: 300;
}
main .characters-box {
position: absolute;
width: 96vw;
bottom: 3vw;
left: 3vw;
overflow-x: scroll;
padding-top: 60px;
gap: 2vw;
}
main .characters-box::-webkit-scrollbar {
height: 0px;
}
main .characters-box .box-wrapper {
display: flex;
gap: 1vw;
width: fit-content;
}
main .characters-box .box {
width: 23vw;
height: 15vh;
border-radius: 2px;
background: rgba(0, 0, 0, 0.6);
position: relative;
opacity: 0.7;
transition: opacity 0.2s;
min-height: 150px;
float: left;
}
main .characters-box .box .click-box {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 1;
}
main .characters-box .box:hover {
opacity: 1;
}
main .characters-box .box.active {
opacity: 1;
}
main .characters-box .box .icons .top {
position: absolute;
top: 5px;
left: 5px;
}
main .characters-box .box .icons .bottom {
position: absolute;
bottom: 5px;
right: 5px;
}
main .characters-box .box .name-box {
position: absolute;
top: 50%;
left: 15%;
transform: translateY(-50%);
width: 55%;
}
main .characters-box .box .name-box .identifier {
color: #FFF;
font-size: 12px;
font-weight: 500;
line-height: 100%;
}
main .characters-box .box .name-box .name-wrap {
display: flex;
gap: 5px;
color: #1ca7ff;
text-shadow: 0px 0px 20px rgb(28 167 255 / 75%);
font-size: 36px;
font-weight: 700;
line-height: 100%;
text-transform: uppercase;
}
main .characters-box .box .name-box .name-wrap .surname {
font-weight: 500;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
main .characters-box .box .delete-btn {
position: absolute;
top: -12px;
right: 10%;
color: #FFF;
font-size: 14px;
font-weight: 600;
background: #1ca7ff;
box-shadow: 0px 0px 30px 0px rgba(28, 167, 255, 0.3);
padding: 4px 20px;
margin-bottom: 6px;
cursor: pointer;
z-index: 11;
}
main .characters-box .box .delete-btn:hover {
box-shadow: 0px 0px 35px 0px rgba(28, 167, 255, 0.7);
}
main .characters-box .box .btn {
position: absolute;
right: 11%;
top: 50%;
transform: translateY(-50%);
width: 50px;
height: 50px;
border-radius: 50%;
display: flex;
justify-content: center;
align-items: center;
background: #1ca7ff;
box-shadow: 0px 0px 30px 0px rgba(28, 167, 255, 0.3);
cursor: pointer;
transition: box-shadow 0.3s;
z-index: 10;
}
main .characters-box .box .btn:hover {
box-shadow: 0px 0px 35px 0px rgba(28, 167, 255, 0.7);
}
main .create-box {
position: absolute;
right: 3vw;
top: 3vw;
display: none;
flex-direction: column;
gap: 8px;
}
main .create-box .box {
width: 26vw;
height: 12vh;
border-radius: 2px;
background: rgba(0, 0, 0, 0.6);
position: relative;
min-height: 120px;
}
main .create-box .box.btn-wrapper {
background: none;
display: flex;
gap: 20px;
margin-top: 12px;
}
main .create-box .box.btn-wrapper .btn {
position: relative;
width: 50%;
height: 60%;
border-radius: 2px;
background: rgba(0, 0, 0, 0.6);
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
font-size: 20px;
font-weight: 700;
color: #FFF;
text-shadow: 0px 0px 30px rgba(255, 255, 255, 0.5);
}
main .create-box .box.btn-wrapper .btn:hover {
background: rgba(0, 0, 0, 0.7);
}
main .create-box .box.btn-wrapper .btn.cancel {
color: #1ca7ff;
text-shadow: 0px 0px 30px rgba(28, 167, 255, 0.5);
}
main .create-box .box.btn-wrapper .btn .icons {
height: 100%;
}
main .create-box .box.btn-wrapper .btn .icons .top, main .create-box .box.btn-wrapper .btn .icons .bottom {
height: 100%;
}
main .create-box .box.btn-wrapper .btn .icons .top img, main .create-box .box.btn-wrapper .btn .icons .bottom img {
height: 100%;
}
main .create-box .box .text-wrapper {
position: absolute;
top: 53%;
left: 15%;
transform: translateY(-50%);
width: 70%;
}
main .create-box .box .text-wrapper .title {
color: #FFF;
font-size: 10px;
font-weight: 500;
line-height: 100%;
}
main .create-box .box .text-wrapper select {
transform: translateX(-5px);
}
main .create-box .box .text-wrapper input[type=date]::-webkit-calendar-picker-indicator {
display: none;
}
main .create-box .box .text-wrapper input, main .create-box .box .text-wrapper select {
color: #1ca7ff;
text-shadow: 0px 0px 20px rgba(28, 167, 255, 0.75);
font-size: 28px;
font-weight: 700;
line-height: 100%;
background: none;
width: 100%;
border: 0;
outline: 0;
border-radius: 2px;
}
main .create-box .box .text-wrapper input::placeholder, main .create-box .box .text-wrapper select::placeholder {
color: #1ca7ff;
opacity: 0.5;
}
main .create-box .box .icons .top {
position: absolute;
top: 0;
left: 0;
}
main .create-box .box .icons .bottom {
position: absolute;
bottom: 0;
right: 0;
}
@keyframes anim {
0% {
rotate: 0deg;
}
100% {
rotate: 360deg;
}
}
@keyframes anim2 {
0% {
rotate: 360deg;
}
100% {
rotate: 0deg;
}
}
@keyframes anim3 {
0% {
scale: 1;
}
50% {
scale: 1.1;
}
100% {
scale: 1;
}
}
/*# sourceMappingURL=style.css.map */