mirror of
https://github.com/dscalzi/HeliosLauncher.git
synced 2024-12-23 04:02:14 -08:00
441 lines
8.5 KiB
CSS
441 lines
8.5 KiB
CSS
@font-face {
|
|
font-family: 'Avenir Book';
|
|
src: url('../fonts/Avenir.ttc');
|
|
}
|
|
|
|
/* Reset body, html, and div presets. */
|
|
body, html, div {
|
|
margin: 0px;
|
|
padding: 0px;
|
|
}
|
|
|
|
/* Reset p presets. */
|
|
p {
|
|
-webkit-margin-before: 0em;
|
|
-webkit-margin-after: 0em;
|
|
}
|
|
|
|
|
|
/*body {
|
|
background: url('./../images/backgrounds/0.jpg') no-repeat center center fixed;
|
|
background-size: cover;
|
|
}*/
|
|
|
|
/*******************************************************************************
|
|
* *
|
|
* frame.ejs *
|
|
* *
|
|
******************************************************************************/
|
|
|
|
#frame_bar {
|
|
-webkit-app-region: drag;
|
|
-webkit-user-select: none;
|
|
background: rgba(1, 2, 1, 0.5);
|
|
min-height: 22px;
|
|
display: flex;
|
|
align-items: center;
|
|
position: relative;
|
|
z-index: 10000;
|
|
}
|
|
|
|
#frame_btn_dock {
|
|
margin-left: 2px;
|
|
}
|
|
|
|
.frame_btn {
|
|
height: 12px;
|
|
width: 12px;
|
|
border-radius: 50%;
|
|
border: 0px;
|
|
margin-left: 5px;
|
|
-webkit-app-region: no-drag !important;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.frame_btn:focus {
|
|
outline: 0px;
|
|
}
|
|
|
|
#frame_btn_close {
|
|
background-color: #e74c32;
|
|
}
|
|
|
|
#frame_btn_close:hover {
|
|
background-color: #FF9A8A;
|
|
}
|
|
|
|
#frame_btn_restoredown {
|
|
background-color: #fed045;
|
|
}
|
|
|
|
#frame_btn_restoredown:hover {
|
|
background-color: #FFE9A9;
|
|
}
|
|
|
|
#frame_btn_minimize {
|
|
background-color: #96e734;
|
|
}
|
|
|
|
#frame_btn_minimize:hover {
|
|
background-color: #D6FFA6;
|
|
}
|
|
|
|
/*******************************************************************************
|
|
* *
|
|
* login.ejs *
|
|
* *
|
|
******************************************************************************/
|
|
|
|
#login_main {
|
|
position: relative;
|
|
height: calc(100% - 22px);
|
|
width: 100%;
|
|
overflow: hidden;
|
|
}
|
|
|
|
#login_filter {
|
|
height: calc(100% - 22px);
|
|
width: 100%;
|
|
z-index: 9000;
|
|
position: absolute;
|
|
filter: blur(8px) contrast(0.9) brightness(1.0);
|
|
background: url('./../images/backgrounds/0.jpg') no-repeat center center fixed;
|
|
transform: scale(1.2);
|
|
background-size: cover;
|
|
}
|
|
|
|
#login_container {
|
|
height: 100%;
|
|
position: relative;
|
|
display: flex;
|
|
justify-content: center;
|
|
z-index: 9001;
|
|
}
|
|
|
|
#login_content {
|
|
width: 400px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
}
|
|
|
|
#login_image_seal {
|
|
height: 150px;
|
|
width: auto;
|
|
}
|
|
|
|
.login_section {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
padding: 5px;
|
|
}
|
|
|
|
/* Adds padding between flex children */
|
|
.login_section > * {
|
|
margin-bottom: 10px;
|
|
}
|
|
.login_section > *:last-child {
|
|
margin-bottom: 0px !important;
|
|
}
|
|
|
|
#login_header_text {
|
|
font-family: 'Avenir Book';
|
|
color: #ded8cb;
|
|
}
|
|
|
|
#login_links a {
|
|
color: #5a534b;
|
|
font-family: 'Avenir Book';
|
|
font-size: 10px;
|
|
text-decoration: none;
|
|
}
|
|
|
|
#login_information input {
|
|
background: none;
|
|
border: none;
|
|
border-top: 2px solid #fff;
|
|
}
|
|
|
|
/*#login_information input[type='password'] {
|
|
letter-spacing: 0.3em;
|
|
}*/
|
|
|
|
/*******************************************************************************
|
|
* *
|
|
* index.ejs *
|
|
* *
|
|
******************************************************************************/
|
|
|
|
#main {
|
|
height: calc(100% - 22px);
|
|
}
|
|
|
|
#main > #upper {
|
|
height: 77%;
|
|
display: flex;
|
|
}
|
|
|
|
#main > #lower {
|
|
height: 23%;
|
|
display: flex;
|
|
background: linear-gradient(to top, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0));
|
|
}
|
|
|
|
#main > #upper > #left {
|
|
display: inline-flex;
|
|
width: 15%;
|
|
height: 100%;
|
|
justify-content: flex-end;
|
|
}
|
|
|
|
#main > #upper > #content {
|
|
display: inline-flex;
|
|
width: 59%;
|
|
height: 100%;
|
|
}
|
|
|
|
#main > #upper > #right {
|
|
display: inline-flex;
|
|
width: 26%;
|
|
height: 100%;
|
|
}
|
|
|
|
#main > #lower > #left {
|
|
height: 100%;
|
|
width: 33%;
|
|
display: inline-flex;
|
|
justify-content: center;
|
|
}
|
|
|
|
#main > #lower > #left #content {
|
|
position: relative;
|
|
top: 25px;
|
|
display: inline-flex;
|
|
line-height: 24px;
|
|
left: 50px;
|
|
}
|
|
|
|
#main > #lower > #center {
|
|
height: 100%;
|
|
width: 34%;
|
|
display: inline-flex;
|
|
justify-content: center;
|
|
}
|
|
|
|
#main > #lower > #center #content {
|
|
position: relative;
|
|
top: 10px;
|
|
}
|
|
|
|
#main > #lower > #right {
|
|
height: 100%;
|
|
width: 33%;
|
|
display: inline-flex;
|
|
}
|
|
|
|
#main > #lower > #right #launch_content {
|
|
position: relative;
|
|
top: 25px;
|
|
display: inline-flex;
|
|
line-height: 24px;
|
|
}
|
|
|
|
#image_seal {
|
|
height: 70px;
|
|
width: auto;
|
|
position: relative;
|
|
margin-top: 50px;
|
|
border: 2px solid white;
|
|
border-radius: 50%;
|
|
}
|
|
|
|
#user_content > #top {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
position: relative;
|
|
top: 50px;
|
|
}
|
|
|
|
#user_avatar {
|
|
border-radius: 50%;
|
|
border: 2px solid #cad7e1;
|
|
background: rgba(1, 2, 1, 0.5);
|
|
height: 70px;
|
|
width: auto;
|
|
}
|
|
|
|
#user_text {
|
|
font-family: 'Avenir Book';
|
|
font-size: 12px;
|
|
min-width: 112px;
|
|
font-weight: 900;
|
|
letter-spacing: 1px;
|
|
color: white;
|
|
text-shadow: 0px 0px 20px black;
|
|
position: relative;
|
|
right: 25px;
|
|
text-align: right;
|
|
}
|
|
/*
|
|
#main_progress[value] {
|
|
height: 32px;
|
|
width: 245px;
|
|
-webkit-appearance: none;
|
|
}
|
|
|
|
#main_progress[value]:before {
|
|
position: absolute;
|
|
content: attr(data-label);
|
|
color: white;
|
|
font-family: 'Avenir Book';
|
|
font-size: 15px;
|
|
line-height: 32px;
|
|
margin-left: 8px;
|
|
}
|
|
|
|
#main_progress[value]::-webkit-progress-bar {
|
|
border-radius: 20px 0px 0px 20px;
|
|
background-color: black;
|
|
}
|
|
|
|
#main_progress[value]::-webkit-progress-value {
|
|
background-color: black;
|
|
background-image: -webkit-linear-gradient(-45deg,
|
|
transparent 33%, rgba(0, 0, 0, .1) 33%,
|
|
rgba(0,0, 0, .1) 66%, transparent 66%),
|
|
-webkit-linear-gradient(top,
|
|
rgba(255, 255, 255, .25),
|
|
rgba(0, 0, 0, .25)),
|
|
-webkit-linear-gradient(left, #09c, #f44);
|
|
border-radius: 20px 0px 0px 20px;
|
|
background-size: 35px 20px, 100% 100%, 100% 100%;
|
|
}
|
|
|
|
#launch_area_container {
|
|
display: flex;
|
|
position: absolute;
|
|
left: 40px;
|
|
top: 32px;
|
|
}
|
|
|
|
.home_btn {
|
|
background-color: black;
|
|
color: white;
|
|
font-family: 'Avenir Book';
|
|
border: none;
|
|
border-radius: 20px;
|
|
font-size: 11px;
|
|
height: 20px;
|
|
padding: 0px 17px 0px 12px;
|
|
line-height: 20px;
|
|
}
|
|
|
|
.home_btn:focus {
|
|
outline: 0px;
|
|
}
|
|
|
|
#mojang_btn {
|
|
position: absolute;
|
|
left: 150px;
|
|
}
|
|
|
|
#mojang_btn:before {
|
|
color: #93b253;
|
|
content: '\2022 ';
|
|
line-height: 20px;
|
|
} */
|
|
|
|
.bot_label {
|
|
color: white;
|
|
font-family: 'Avenir Book';
|
|
font-size: 9px;
|
|
letter-spacing: 1px;
|
|
font-weight: bold;
|
|
text-shadow: 0px 0px 0px #bebcbb;
|
|
}
|
|
|
|
#player_count {
|
|
color: #949494;
|
|
font-family: 'Avenir Book';
|
|
font-size: 8px;
|
|
font-weight: 900;
|
|
text-shadow: 0px 0px 20px #949494;
|
|
margin-left: 10px;
|
|
}
|
|
|
|
.bot_divider {
|
|
height: 25px;
|
|
width: 2px;
|
|
background: rgba(107, 105, 105, 0.7);
|
|
margin-left: 20px;
|
|
margin-right: 20px;
|
|
}
|
|
|
|
#mojang_status_icon {
|
|
font-size: 30px;
|
|
color: #a5c325;
|
|
margin-left: 15px;
|
|
}
|
|
|
|
#menu_button {
|
|
font-family: 'Avenir Book';
|
|
background: none;
|
|
border: none;
|
|
cursor: pointer;
|
|
}
|
|
|
|
#menu_img {
|
|
height: 11px;
|
|
margin-left: -2px;
|
|
}
|
|
|
|
#menu_text {
|
|
color: white;
|
|
font-weight: 900;
|
|
letter-spacing: 2px;
|
|
text-shadow: 0px 0px 0px #bebcbb;
|
|
font-size: 11px;
|
|
line-height: 30px;
|
|
display: flex;
|
|
}
|
|
|
|
#launch_button {
|
|
font-family: 'Avenir Book';
|
|
background: none;
|
|
border: none;
|
|
cursor: pointer;
|
|
color: #fff;
|
|
font-weight: 900;
|
|
letter-spacing: 2px;
|
|
text-shadow: 0px 0px 0px #bebcbb;
|
|
font-size: 20px;
|
|
padding: 0px;
|
|
}
|
|
|
|
#launch_details {
|
|
position: relative;
|
|
top: 25px;
|
|
/*display: flex;*/
|
|
display: none;
|
|
flex-direction: column;
|
|
}
|
|
|
|
#launch_progress[value] {
|
|
height: 2px;
|
|
width: 265px;
|
|
-webkit-appearance: none;
|
|
}
|
|
|
|
#launch_progress[value]::-webkit-progress-bar {
|
|
background-color: transparent;
|
|
}
|
|
|
|
#launch_progress[value]::-webkit-progress-value {
|
|
background-color: #fff;
|
|
}
|
|
|
|
#launch_details_text {
|
|
font-size: 5px;
|
|
} |