SkirdaElectronLauncher/app/assets/css/launcher.css

465 lines
9.0 KiB
CSS
Raw Normal View History

2017-08-30 05:27:16 +00:00
@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;
2017-08-29 01:14:05 +00:00
-webkit-user-select: none;
background: rgba(1, 2, 1, 0.5);
min-height: 22px;
display: flex;
align-items: center;
position: relative;
z-index: 10000;
}
2017-08-27 06:24:04 +00:00
#frame_btn_dock {
margin-left: 2px;
}
2017-08-27 06:24:04 +00:00
.frame_btn {
height: 12px;
width: 12px;
border-radius: 50%;
border: 0px;
margin-left: 5px;
2017-08-27 06:24:04 +00:00
-webkit-app-region: no-drag !important;
cursor: pointer;
}
2017-08-27 06:24:04 +00:00
.frame_btn:focus {
outline: 0px;
}
#frame_btn_close {
background-color: #e74c32;
}
2017-08-27 06:24:04 +00:00
#frame_btn_close:hover {
background-color: #FF9A8A;
}
#frame_btn_restoredown {
background-color: #fed045;
}
2017-08-27 06:24:04 +00:00
#frame_btn_restoredown:hover {
background-color: #FFE9A9;
}
#frame_btn_minimize {
background-color: #96e734;
2017-08-27 06:24:04 +00:00
}
#frame_btn_minimize:hover {
background-color: #D6FFA6;
2017-08-29 20:40:42 +00:00
}
/*******************************************************************************
* *
* 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 *
* *
******************************************************************************/
2017-08-29 20:40:42 +00:00
#main {
height: calc(100% - 22px);
}
#main > #upper {
height: 77%;
2017-08-29 20:40:42 +00:00
display: flex;
}
#main > #lower {
height: 23%;
display: flex;
background: linear-gradient(to top, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0));
2017-08-29 20:40:42 +00:00
}
#main > #upper > #left {
display: inline-flex;
width: 15%;
2017-08-29 20:40:42 +00:00
height: 100%;
justify-content: flex-end;
2017-08-29 20:40:42 +00:00
}
#main > #upper > #content {
display: inline-flex;
width: 59%;
2017-08-29 20:40:42 +00:00
height: 100%;
}
#main > #upper > #right {
display: inline-flex;
width: 26%;
2017-08-29 20:40:42 +00:00
height: 100%;
}
#main > #lower > #left {
height: 100%;
width: 33%;
display: inline-flex;
justify-content: center;
2017-08-29 20:40:42 +00:00
}
#main > #lower > #left #content {
position: relative;
top: 25px;
display: inline-flex;
line-height: 24px;
left: 50px;
2017-08-29 20:40:42 +00:00
}
#main > #lower > #center {
2017-08-29 20:40:42 +00:00
height: 100%;
width: 34%;
2017-08-29 20:40:42 +00:00
display: inline-flex;
justify-content: center;
}
#main > #lower > #center #content {
2017-08-30 05:27:16 +00:00
position: relative;
top: 10px;
2017-08-29 20:40:42 +00:00
}
#main > #lower > #right {
2017-08-29 20:40:42 +00:00
height: 100%;
width: 33%;
2017-08-29 20:40:42 +00:00
display: inline-flex;
2017-08-30 05:27:16 +00:00
}
#main > #lower > #right #launch_content {
position: relative;
top: 25px;
display: inline-flex;
line-height: 24px;
}
2017-08-30 05:27:16 +00:00
#image_seal {
height: 70px;
2017-08-30 05:27:16 +00:00
width: auto;
position: relative;
margin-top: 50px;
2017-08-30 05:27:16 +00:00
border: 2px solid white;
border-radius: 50%;
}
#user_content > #top {
display: flex;
align-items: center;
justify-content: center;
position: relative;
top: 50px;
2017-08-30 05:27:16 +00:00
}
#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;
2017-08-30 05:27:16 +00:00
color: white;
text-shadow: 0px 0px 20px black;
position: relative;
right: 25px;
text-align: right;
2017-08-30 05:27:16 +00:00
}
/*
2017-08-30 05:27:16 +00:00
#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);
2017-08-30 05:27:16 +00:00
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: #848484;
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;
}
#launch_details_left {
display: flex;
}
#launch_details_right {
display: flex;
flex-direction: column;
justify-content: center;
}
#launch_progress[value] {
height: 3px;
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: 11px;
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
}
#launch_progress_label {
color: white;
font-family: 'Avenir Book';
font-weight: 900;
letter-spacing: 1px;
text-shadow: 0px 0px 0px #bebcbb;
font-size: 20px;
min-width: 53.21px;
max-width: 53.21px;
text-align: right;
}