mirror of
https://github.com/zumbiepig/MineXLauncher.git
synced 2025-06-26 10:05:10 +00:00
MineXLauncher 1.0
This commit is contained in:
465
public/resources/styles/archive.css
Normal file
465
public/resources/styles/archive.css
Normal file
@@ -0,0 +1,465 @@
|
||||
body {
|
||||
margin: 0;
|
||||
font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
|
||||
background-color: #1e1e1e;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.launcher {
|
||||
width: 900px;
|
||||
height: 600px;
|
||||
margin: 50px auto;
|
||||
background-color: #333;
|
||||
border-radius: 8px;
|
||||
overflow: hidden;
|
||||
box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.title-bar {
|
||||
background-color: #2c2c2c;
|
||||
padding: 10px;
|
||||
text-align: center;
|
||||
color: #ddd;
|
||||
font-size: 14px;
|
||||
font-weight: 600;
|
||||
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
|
||||
}
|
||||
|
||||
.content {
|
||||
display: flex;
|
||||
flex: 1;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.sidebar {
|
||||
background-color: #242424;
|
||||
width: 200px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
flex-shrink: 0;
|
||||
border-right: 1px solid #333;
|
||||
}
|
||||
|
||||
.profile {
|
||||
padding: 20px 10px;
|
||||
border-bottom: 1px solid #333;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.profile-name {
|
||||
font-weight: bold;
|
||||
display: block;
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
.profile-status {
|
||||
font-size: 12px;
|
||||
color: #00cc00;
|
||||
display: block;
|
||||
margin-top: 5px;
|
||||
}
|
||||
|
||||
nav {
|
||||
list-style-type: none;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
flex-grow: 1;
|
||||
}
|
||||
|
||||
.nav-item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding: 15px 20px;
|
||||
cursor: pointer;
|
||||
transition: background-color 0.2s;
|
||||
}
|
||||
|
||||
.nav-item:hover,
|
||||
.nav-item.selected {
|
||||
background-color: #444;
|
||||
}
|
||||
|
||||
.nav-icon {
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
margin-right: 15px;
|
||||
}
|
||||
|
||||
.nav-text {
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.main-panel {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
background-color: #202020;
|
||||
}
|
||||
|
||||
.top-bar {
|
||||
background-color: #2c2c2c;
|
||||
padding: 15px 20px;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
color: #ddd;
|
||||
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.game-title {
|
||||
font-size: 18px;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.tabs {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.tab {
|
||||
margin-left: 20px;
|
||||
cursor: pointer;
|
||||
color: #888;
|
||||
text-transform: uppercase;
|
||||
font-size: 14px;
|
||||
transition: color 0.2s;
|
||||
}
|
||||
|
||||
.tab:hover,
|
||||
.tab.selected {
|
||||
color: #00cc00;
|
||||
}
|
||||
|
||||
.main-content {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
background-color: #202020;
|
||||
padding: 20px;
|
||||
box-sizing: border-box;
|
||||
position: relative;
|
||||
overflow-y: auto;
|
||||
scrollbar-width: thin;
|
||||
scrollbar-color: #048239 #035525;
|
||||
}
|
||||
|
||||
.main-content::-webkit-scrollbar {
|
||||
width: 12px;
|
||||
background-color: #035525;
|
||||
}
|
||||
.main-content::-webkit-scrollbar-thumb {
|
||||
background-color: #048239;
|
||||
border-radius: 10px;
|
||||
border: 2px solid #4e4e50;
|
||||
}
|
||||
|
||||
.main-content::-webkit-scrollbar-track {
|
||||
background-color: #035525;
|
||||
}
|
||||
|
||||
.main-content::-webkit-scrollbar-thumb:hover {
|
||||
background-color: #127e3f;
|
||||
}
|
||||
|
||||
.minecraft-image {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
.installations {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
width: 100%;
|
||||
background-color: #292929;
|
||||
box-sizing: border-box;
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
padding: 10px 20px;
|
||||
border-top: 1px solid #333;
|
||||
}
|
||||
|
||||
.custom-select-wrapper {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
width: 250px;
|
||||
z-index: 9999;
|
||||
}
|
||||
|
||||
.custom-select {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-family: "MinecraftRegular", sans-serif;
|
||||
font-size: 1em;
|
||||
padding: 7px;
|
||||
border: 2px solid #000;
|
||||
background-color: #048239;
|
||||
color: #fff;
|
||||
cursor: pointer;
|
||||
box-shadow: 4px 4px #4e4e50;
|
||||
user-select: none;
|
||||
z-index: 9999;
|
||||
}
|
||||
|
||||
.custom-select.open {
|
||||
border-radius: 5px 5px 0 0;
|
||||
}
|
||||
|
||||
.custom-options {
|
||||
position: absolute;
|
||||
top: calc(100% + -238px);
|
||||
left: 0;
|
||||
right: 0;
|
||||
border: 2px solid #000;
|
||||
border-top: none;
|
||||
background-color: #035525;
|
||||
box-shadow: 4px 4px #4e4e50;
|
||||
z-index: 9999;
|
||||
display: none;
|
||||
border-radius: 0 0 5px 5px;
|
||||
color: #fff;
|
||||
max-height: 200px;
|
||||
overflow-y: auto;
|
||||
direction: rtl;
|
||||
}
|
||||
|
||||
.custom-options.open {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.custom-options div {
|
||||
direction: ltr;
|
||||
}
|
||||
|
||||
.custom-option {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding: 10px;
|
||||
cursor: pointer;
|
||||
border-bottom: 1px solid #000;
|
||||
z-index: 9999;
|
||||
}
|
||||
|
||||
.custom-option:last-child {
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
.custom-option:hover {
|
||||
background-color: #127e3f;
|
||||
}
|
||||
|
||||
.custom-option img {
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
||||
.play-button {
|
||||
background-color: #00cc00;
|
||||
border: none;
|
||||
padding: 10px 40px;
|
||||
border-radius: 5px;
|
||||
cursor: pointer;
|
||||
color: #fff;
|
||||
font-size: 16px;
|
||||
font-weight: bold;
|
||||
text-transform: uppercase;
|
||||
transition: background-color 0.2s, transform 0.2s;
|
||||
}
|
||||
|
||||
.play-button:hover {
|
||||
background-color: #00ff00;
|
||||
transform: scale(1.05);
|
||||
}
|
||||
|
||||
.play-button:active {
|
||||
transform: scale(0.95);
|
||||
}
|
||||
|
||||
.bottom-bar {
|
||||
background-color: #2c2c2c;
|
||||
padding: 10px 20px;
|
||||
text-align: right;
|
||||
color: #ddd;
|
||||
border-top: 1px solid #333;
|
||||
box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.2);
|
||||
}
|
||||
|
||||
.username {
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.news-item {
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
.news-item li {
|
||||
padding-left: 20px;
|
||||
}
|
||||
|
||||
.custom-options::-webkit-scrollbar {
|
||||
width: 12px;
|
||||
background-color: #035525;
|
||||
}
|
||||
|
||||
.custom-options::-webkit-scrollbar-thumb {
|
||||
background-color: #048239;
|
||||
border-radius: 10px;
|
||||
border: 2px solid #4e4e50;
|
||||
}
|
||||
|
||||
.custom-options {
|
||||
scrollbar-width: thin;
|
||||
scrollbar-color: #048239 #035525;
|
||||
}
|
||||
|
||||
.custom-options::-webkit-scrollbar-track {
|
||||
background-color: #035525;
|
||||
}
|
||||
|
||||
.custom-options::-webkit-scrollbar-thumb:hover {
|
||||
background-color: #127e3f;
|
||||
}
|
||||
|
||||
.minecraft-button {
|
||||
background-color: #a9a9a9;
|
||||
border: 1px solid #333;
|
||||
border-radius: 5px;
|
||||
padding: 10px 20px;
|
||||
font-size: 16px;
|
||||
font-weight: bold;
|
||||
text-transform: uppercase;
|
||||
cursor: pointer;
|
||||
outline: none;
|
||||
transition: background-color 0.2s, transform 0.2s;
|
||||
}
|
||||
|
||||
.minecraft-button:hover {
|
||||
background-color: #bdbdbd;
|
||||
transform: scale(1.05);
|
||||
}
|
||||
|
||||
.minecraft-button:active {
|
||||
background-color: #8a8a8a;
|
||||
transform: scale(0.95);
|
||||
}
|
||||
|
||||
.bottom-bar {
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
padding: 10px 20px;
|
||||
background-color: #2c2c2c;
|
||||
color: #ddd;
|
||||
border-top: 1px solid #333;
|
||||
box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.2);
|
||||
}
|
||||
|
||||
.version-label {
|
||||
margin-right: 10px;
|
||||
}
|
||||
.downloads {
|
||||
margin-top: 20px;
|
||||
}
|
||||
|
||||
.download-link {
|
||||
display: block;
|
||||
background-color: #048239;
|
||||
color: #fff;
|
||||
text-decoration: none;
|
||||
padding: 10px 20px;
|
||||
border-radius: 5px;
|
||||
margin-bottom: 10px;
|
||||
transition: background-color 0.3s, transform 0.3s;
|
||||
}
|
||||
|
||||
.download-link:hover {
|
||||
background-color: #00cc00;
|
||||
transform: scale(1.05);
|
||||
}
|
||||
|
||||
select {
|
||||
width: 100%;
|
||||
padding: 10px;
|
||||
font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
|
||||
font-weight: bold;
|
||||
color: #e0e0e0;
|
||||
background-color: #08a74a;
|
||||
box-shadow: 4px 4px 0px #2a2a2a, -4px -4px 0px #2a2a2a;
|
||||
border-radius: 3px;
|
||||
appearance: none;
|
||||
background-image: url("https://static.thenounproject.com/png/538451-200.png"), linear-gradient(45deg, #0a8338, #086126);
|
||||
background-repeat: no-repeat, repeat;
|
||||
background-position: right 10px center, 0 0;
|
||||
background-size: 15px auto, 100%;
|
||||
cursor: pointer;
|
||||
transition: box-shadow 0.2s, background-color 0.2s;
|
||||
}
|
||||
|
||||
select:hover {
|
||||
background-color: #0a8338;
|
||||
}
|
||||
|
||||
select:focus {
|
||||
outline: none;
|
||||
box-shadow: 0 0 5px 2px #00cc00;
|
||||
}
|
||||
|
||||
.upload-button {
|
||||
background-color: #075f07;
|
||||
border: none;
|
||||
padding: 8px 16px;
|
||||
border-radius: 5px;
|
||||
cursor: pointer;
|
||||
color: #fff;
|
||||
font-size: 18px;
|
||||
font-weight: bold;
|
||||
text-transform: none;
|
||||
transition: background-color 0.2s, transform 0.2s;
|
||||
}
|
||||
|
||||
.upload-button:hover {
|
||||
background-color: #197d19;
|
||||
transform: scale(1.05);
|
||||
}
|
||||
|
||||
.upload-button:active {
|
||||
transform: scale(0.95);
|
||||
}
|
||||
.top-menu {
|
||||
background-color: #2c2c2c;
|
||||
padding: 10px 20px;
|
||||
display: flex;
|
||||
justify-content: space-around;
|
||||
align-items: center;
|
||||
color: #ddd;
|
||||
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.top-menu ul {
|
||||
list-style-type: none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.top-menu ul li {
|
||||
margin-right: 20px;
|
||||
cursor: pointer;
|
||||
font-size: 16px;
|
||||
color: #ccc;
|
||||
transition: color 0.2s;
|
||||
}
|
||||
.top-menu ul li.selected {
|
||||
color: #fff;
|
||||
font-weight: bold;
|
||||
}
|
||||
.top-menu ul li:hover {
|
||||
color: #fff;
|
||||
}
|
||||
407
public/resources/styles/downloads.css
Normal file
407
public/resources/styles/downloads.css
Normal file
@@ -0,0 +1,407 @@
|
||||
body {
|
||||
margin: 0;
|
||||
font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
|
||||
background-color: #1e1e1e;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.launcher {
|
||||
width: 900px;
|
||||
height: 600px;
|
||||
margin: 50px auto;
|
||||
background-color: #333;
|
||||
border-radius: 8px;
|
||||
overflow: hidden;
|
||||
box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.title-bar {
|
||||
background-color: #2c2c2c;
|
||||
padding: 10px;
|
||||
text-align: center;
|
||||
color: #ddd;
|
||||
font-size: 14px;
|
||||
font-weight: 600;
|
||||
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
|
||||
}
|
||||
|
||||
.content {
|
||||
display: flex;
|
||||
flex: 1;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.sidebar {
|
||||
background-color: #242424;
|
||||
width: 200px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
flex-shrink: 0;
|
||||
border-right: 1px solid #333;
|
||||
}
|
||||
|
||||
.profile {
|
||||
padding: 20px 10px;
|
||||
border-bottom: 1px solid #333;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.profile-name {
|
||||
font-weight: bold;
|
||||
display: block;
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
.profile-status {
|
||||
font-size: 12px;
|
||||
color: #00cc00;
|
||||
display: block;
|
||||
margin-top: 5px;
|
||||
}
|
||||
|
||||
nav {
|
||||
list-style-type: none;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
flex-grow: 1;
|
||||
}
|
||||
|
||||
.nav-item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding: 15px 20px;
|
||||
cursor: pointer;
|
||||
transition: background-color 0.2s;
|
||||
}
|
||||
|
||||
.nav-item:hover,
|
||||
.nav-item.selected {
|
||||
background-color: #444;
|
||||
}
|
||||
|
||||
.nav-icon {
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
margin-right: 15px;
|
||||
}
|
||||
|
||||
.nav-text {
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.main-panel {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
background-color: #202020;
|
||||
}
|
||||
|
||||
.top-bar {
|
||||
background-color: #2c2c2c;
|
||||
padding: 15px 20px;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
color: #ddd;
|
||||
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.game-title {
|
||||
font-size: 18px;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.tabs {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.tab {
|
||||
margin-left: 20px;
|
||||
cursor: pointer;
|
||||
color: #888;
|
||||
text-transform: uppercase;
|
||||
font-size: 14px;
|
||||
transition: color 0.2s;
|
||||
}
|
||||
|
||||
.tab:hover,
|
||||
.tab.selected {
|
||||
color: #00cc00;
|
||||
}
|
||||
|
||||
.main-content {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
background-color: #202020;
|
||||
padding: 20px;
|
||||
box-sizing: border-box;
|
||||
position: relative;
|
||||
overflow-y: auto;
|
||||
scrollbar-width: thin;
|
||||
scrollbar-color: #048239 #035525;
|
||||
}
|
||||
|
||||
.main-content::-webkit-scrollbar {
|
||||
width: 12px;
|
||||
background-color: #035525;
|
||||
}
|
||||
.main-content::-webkit-scrollbar-thumb {
|
||||
background-color: #048239;
|
||||
border-radius: 10px;
|
||||
border: 2px solid #4e4e50;
|
||||
}
|
||||
|
||||
.main-content::-webkit-scrollbar-track {
|
||||
background-color: #035525;
|
||||
}
|
||||
|
||||
.main-content::-webkit-scrollbar-thumb:hover {
|
||||
background-color: #127e3f;
|
||||
}
|
||||
|
||||
.minecraft-image {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
.installations {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
width: 100%;
|
||||
background-color: #292929;
|
||||
box-sizing: border-box;
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
padding: 10px 20px;
|
||||
border-top: 1px solid #333;
|
||||
}
|
||||
|
||||
.custom-select-wrapper {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
width: 250px;
|
||||
z-index: 9999;
|
||||
}
|
||||
|
||||
.custom-select {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-family: "MinecraftRegular", sans-serif;
|
||||
font-size: 1em;
|
||||
padding: 7px;
|
||||
border: 2px solid #000;
|
||||
background-color: #048239;
|
||||
color: #fff;
|
||||
cursor: pointer;
|
||||
box-shadow: 4px 4px #4e4e50;
|
||||
user-select: none;
|
||||
z-index: 9999;
|
||||
}
|
||||
|
||||
.custom-select.open {
|
||||
border-radius: 5px 5px 0 0;
|
||||
}
|
||||
|
||||
.custom-options {
|
||||
position: absolute;
|
||||
top: calc(100% + -238px);
|
||||
left: 0;
|
||||
right: 0;
|
||||
border: 2px solid #000;
|
||||
border-top: none;
|
||||
background-color: #035525;
|
||||
box-shadow: 4px 4px #4e4e50;
|
||||
z-index: 9999;
|
||||
display: none;
|
||||
border-radius: 0 0 5px 5px;
|
||||
color: #fff;
|
||||
max-height: 200px;
|
||||
overflow-y: auto;
|
||||
direction: rtl;
|
||||
}
|
||||
|
||||
.custom-options.open {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.custom-options div {
|
||||
direction: ltr;
|
||||
}
|
||||
|
||||
.custom-option {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding: 10px;
|
||||
cursor: pointer;
|
||||
border-bottom: 1px solid #000;
|
||||
z-index: 9999;
|
||||
}
|
||||
|
||||
.custom-option:last-child {
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
.custom-option:hover {
|
||||
background-color: #127e3f;
|
||||
}
|
||||
|
||||
.custom-option img {
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
||||
.play-button {
|
||||
background-color: #00cc00;
|
||||
border: none;
|
||||
padding: 10px 40px;
|
||||
border-radius: 5px;
|
||||
cursor: pointer;
|
||||
color: #fff;
|
||||
font-size: 16px;
|
||||
font-weight: bold;
|
||||
text-transform: uppercase;
|
||||
transition: background-color 0.2s;
|
||||
}
|
||||
|
||||
.play-button:hover {
|
||||
background-color: #00ff00;
|
||||
}
|
||||
|
||||
.bottom-bar {
|
||||
background-color: #2c2c2c;
|
||||
padding: 10px 20px;
|
||||
text-align: right;
|
||||
color: #ddd;
|
||||
border-top: 1px solid #333;
|
||||
box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.2);
|
||||
}
|
||||
|
||||
.username {
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.news-item {
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
.news-item li {
|
||||
padding-left: 20px;
|
||||
}
|
||||
|
||||
.custom-options::-webkit-scrollbar {
|
||||
width: 12px;
|
||||
background-color: #035525;
|
||||
}
|
||||
|
||||
.custom-options::-webkit-scrollbar-thumb {
|
||||
background-color: #048239;
|
||||
border-radius: 10px;
|
||||
border: 2px solid #4e4e50;
|
||||
}
|
||||
|
||||
.custom-options {
|
||||
scrollbar-width: thin;
|
||||
scrollbar-color: #048239 #035525;
|
||||
}
|
||||
|
||||
.custom-options::-webkit-scrollbar-track {
|
||||
background-color: #035525;
|
||||
}
|
||||
|
||||
.custom-options::-webkit-scrollbar-thumb:hover {
|
||||
background-color: #127e3f;
|
||||
}
|
||||
|
||||
.minecraft-button {
|
||||
background-color: #a9a9a9;
|
||||
border: 1px solid #333;
|
||||
border-radius: 5px;
|
||||
padding: 10px 20px;
|
||||
font-size: 16px;
|
||||
font-weight: bold;
|
||||
text-transform: uppercase;
|
||||
cursor: pointer;
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.minecraft-button:hover {
|
||||
background-color: #bdbdbd;
|
||||
}
|
||||
|
||||
.minecraft-button:active {
|
||||
background-color: #8a8a8a;
|
||||
}
|
||||
|
||||
.bottom-bar {
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
padding: 10px 20px;
|
||||
background-color: #2c2c2c;
|
||||
color: #ddd;
|
||||
border-top: 1px solid #333;
|
||||
box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.2);
|
||||
}
|
||||
|
||||
.version-label {
|
||||
margin-right: 10px;
|
||||
}
|
||||
.downloads {
|
||||
margin-top: 20px;
|
||||
}
|
||||
|
||||
.download-link {
|
||||
display: block;
|
||||
background-color: #048239;
|
||||
color: #fff;
|
||||
text-decoration: none;
|
||||
padding: 10px 20px;
|
||||
border-radius: 5px;
|
||||
margin-bottom: 10px;
|
||||
transition: background-color 0.3s;
|
||||
}
|
||||
|
||||
.download-link:hover {
|
||||
background-color: #00cc00;
|
||||
}
|
||||
.top-menu {
|
||||
background-color: #2c2c2c;
|
||||
padding: 10px 20px;
|
||||
display: flex;
|
||||
justify-content: space-around;
|
||||
align-items: center;
|
||||
color: #ddd;
|
||||
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.top-menu ul {
|
||||
list-style-type: none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.top-menu ul li {
|
||||
margin-right: 20px;
|
||||
cursor: pointer;
|
||||
font-size: 16px;
|
||||
color: #ccc;
|
||||
transition: color 0.2s;
|
||||
}
|
||||
.top-menu ul li.selected {
|
||||
color: #fff;
|
||||
font-weight: bold;
|
||||
}
|
||||
.top-menu ul li:hover {
|
||||
color: #fff;
|
||||
}
|
||||
449
public/resources/styles/home.css
Normal file
449
public/resources/styles/home.css
Normal file
@@ -0,0 +1,449 @@
|
||||
body {
|
||||
margin: 0;
|
||||
font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
|
||||
background-color: #1e1e1e;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.launcher {
|
||||
width: 900px;
|
||||
height: 600px;
|
||||
margin: 50px auto;
|
||||
background-color: #333;
|
||||
border-radius: 8px;
|
||||
overflow: hidden;
|
||||
box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.title-bar {
|
||||
background-color: #2c2c2c;
|
||||
padding: 10px;
|
||||
text-align: center;
|
||||
color: #ddd;
|
||||
font-size: 14px;
|
||||
font-weight: 600;
|
||||
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
|
||||
}
|
||||
|
||||
.content {
|
||||
display: flex;
|
||||
flex: 1;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.sidebar {
|
||||
background-color: #242424;
|
||||
width: 200px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
flex-shrink: 0;
|
||||
border-right: 1px solid #333;
|
||||
}
|
||||
|
||||
.profile {
|
||||
padding: 20px 10px;
|
||||
border-bottom: 1px solid #333;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.profile-name {
|
||||
font-weight: bold;
|
||||
display: block;
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
.profile-status {
|
||||
font-size: 12px;
|
||||
color: #00cc00;
|
||||
display: block;
|
||||
margin-top: 5px;
|
||||
}
|
||||
|
||||
nav {
|
||||
list-style-type: none;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
flex-grow: 1;
|
||||
}
|
||||
|
||||
.nav-item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding: 15px 20px;
|
||||
cursor: pointer;
|
||||
transition: background-color 0.2s;
|
||||
}
|
||||
|
||||
.nav-item:hover,
|
||||
.nav-item.selected {
|
||||
background-color: #444;
|
||||
}
|
||||
|
||||
.nav-icon {
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
margin-right: 15px;
|
||||
}
|
||||
|
||||
.nav-text {
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.main-panel {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
background-color: #202020;
|
||||
}
|
||||
|
||||
.top-bar {
|
||||
background-color: #2c2c2c;
|
||||
padding: 15px 20px;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
color: #ddd;
|
||||
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.game-title {
|
||||
font-size: 18px;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.tabs {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.tab {
|
||||
margin-left: 20px;
|
||||
cursor: pointer;
|
||||
color: #888;
|
||||
text-transform: uppercase;
|
||||
font-size: 14px;
|
||||
transition: color 0.2s;
|
||||
}
|
||||
|
||||
.tab:hover,
|
||||
.tab.selected {
|
||||
color: #00cc00;
|
||||
}
|
||||
|
||||
.main-content {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
background-color: #202020;
|
||||
padding: 20px;
|
||||
box-sizing: border-box;
|
||||
position: relative;
|
||||
overflow-y: hidden;
|
||||
scrollbar-width: thin;
|
||||
scrollbar-color: #048239 #035525;
|
||||
}
|
||||
|
||||
.main-content::-webkit-scrollbar {
|
||||
width: 12px;
|
||||
background-color: #035525;
|
||||
}
|
||||
.main-content::-webkit-scrollbar-thumb {
|
||||
background-color: #048239;
|
||||
border-radius: 10px;
|
||||
border: 2px solid #4e4e50;
|
||||
}
|
||||
|
||||
.main-content::-webkit-scrollbar-track {
|
||||
background-color: #035525;
|
||||
}
|
||||
|
||||
.main-content::-webkit-scrollbar-thumb:hover {
|
||||
background-color: #127e3f;
|
||||
}
|
||||
|
||||
.minecraft-image {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
.installations {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
width: 100%;
|
||||
background-color: #292929;
|
||||
box-sizing: border-box;
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
padding: 10px 20px;
|
||||
border-top: 1px solid #333;
|
||||
}
|
||||
.custom-select-wrapper {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
width: 250px;
|
||||
}
|
||||
|
||||
.custom-select {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-family: "MinecraftRegular", sans-serif;
|
||||
font-size: 1em;
|
||||
padding: 7px;
|
||||
border: 2px solid #000;
|
||||
background-color: #048239;
|
||||
color: #fff;
|
||||
cursor: pointer;
|
||||
box-shadow: 4px 4px #4e4e50;
|
||||
user-select: none;
|
||||
transition: box-shadow 0.3s;
|
||||
}
|
||||
|
||||
.custom-select:hover {
|
||||
box-shadow: 6px 6px #4e4e50;
|
||||
}
|
||||
|
||||
.custom-select.open {
|
||||
border-radius: 0 0 5px 5px;
|
||||
}
|
||||
|
||||
.custom-options {
|
||||
position: absolute;
|
||||
bottom: calc(100% + 2px);
|
||||
left: 0;
|
||||
right: 0;
|
||||
border: 2px solid #000;
|
||||
border-bottom: none;
|
||||
background-color: #035525;
|
||||
box-shadow: 4px 4px #4e4e50;
|
||||
display: none;
|
||||
border-radius: 5px 5px 0 0;
|
||||
color: #fff;
|
||||
max-height: 0;
|
||||
overflow: hidden;
|
||||
transition: max-height 0.3s ease-out, padding 0.3s ease-out, opacity 0.3s ease-out;
|
||||
}
|
||||
|
||||
.custom-options.open {
|
||||
display: block;
|
||||
max-height: 200px;
|
||||
padding: 10px 0;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.custom-option {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding: 10px;
|
||||
cursor: pointer;
|
||||
border-bottom: 1px solid #000;
|
||||
transition: background-color 0.3s;
|
||||
}
|
||||
|
||||
.custom-option:last-child {
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
.custom-option:hover {
|
||||
background-color: #127e3f;
|
||||
}
|
||||
|
||||
.custom-option img {
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
||||
.play-button {
|
||||
background-color: #0f990f;
|
||||
border: 2px solid #007700;
|
||||
padding: 10px 40px;
|
||||
border-radius: 5px;
|
||||
cursor: pointer;
|
||||
color: #fff;
|
||||
font-size: 16px;
|
||||
font-weight: bold;
|
||||
text-transform: uppercase;
|
||||
transition: background-color 0.2s, border-color 0.2s, transform 0.2s;
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.play-button::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
width: 300%;
|
||||
height: 300%;
|
||||
background-color: rgba(255, 255, 255, 0.1);
|
||||
transition: all 0.4s ease-out;
|
||||
border-radius: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
z-index: 0;
|
||||
}
|
||||
|
||||
.play-button:hover::before {
|
||||
width: 0;
|
||||
height: 0;
|
||||
}
|
||||
|
||||
.play-button:hover {
|
||||
background-color: #17b117;
|
||||
border-color: #005500;
|
||||
transform: scale(1.05);
|
||||
}
|
||||
|
||||
.play-button span {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.play-button:hover span {
|
||||
animation: fluid 1.5s infinite alternate;
|
||||
}
|
||||
|
||||
@keyframes fluid {
|
||||
0% {
|
||||
transform: scale(1);
|
||||
}
|
||||
100% {
|
||||
transform: scale(1.1);
|
||||
}
|
||||
}
|
||||
|
||||
.bottom-bar {
|
||||
background-color: #2c2c2c;
|
||||
padding: 10px 20px;
|
||||
text-align: right;
|
||||
color: #ddd;
|
||||
border-top: 1px solid #333;
|
||||
box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.2);
|
||||
}
|
||||
|
||||
.username {
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.news-item {
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
.news-item li {
|
||||
padding-left: 20px;
|
||||
}
|
||||
|
||||
.custom-options::-webkit-scrollbar {
|
||||
width: 12px;
|
||||
background-color: #035525;
|
||||
}
|
||||
|
||||
.custom-options::-webkit-scrollbar-thumb {
|
||||
background-color: #048239;
|
||||
border-radius: 10px;
|
||||
border: 2px solid #4e4e50;
|
||||
}
|
||||
|
||||
.custom-options {
|
||||
scrollbar-width: thin;
|
||||
scrollbar-color: #048239 #035525;
|
||||
}
|
||||
|
||||
.custom-options::-webkit-scrollbar-track {
|
||||
background-color: #035525;
|
||||
}
|
||||
|
||||
.custom-options::-webkit-scrollbar-thumb:hover {
|
||||
background-color: #127e3f;
|
||||
}
|
||||
|
||||
.minecraft-button {
|
||||
background-color: #a9a9a9;
|
||||
border: 1px solid #333;
|
||||
border-radius: 5px;
|
||||
padding: 10px 20px;
|
||||
font-size: 16px;
|
||||
font-weight: bold;
|
||||
text-transform: uppercase;
|
||||
cursor: pointer;
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.minecraft-button:hover {
|
||||
background-color: #bdbdbd;
|
||||
}
|
||||
|
||||
.minecraft-button:active {
|
||||
background-color: #8a8a8a;
|
||||
}
|
||||
|
||||
.bottom-bar {
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
padding: 10px 20px;
|
||||
background-color: #2c2c2c;
|
||||
color: #ddd;
|
||||
border-top: 1px solid #333;
|
||||
box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.2);
|
||||
}
|
||||
|
||||
.version-label {
|
||||
margin-right: 10px;
|
||||
}
|
||||
.downloads {
|
||||
margin-top: 20px;
|
||||
}
|
||||
|
||||
.download-link {
|
||||
display: block;
|
||||
background-color: #048239;
|
||||
color: #fff;
|
||||
text-decoration: none;
|
||||
padding: 10px 20px;
|
||||
border-radius: 5px;
|
||||
margin-bottom: 10px;
|
||||
transition: background-color 0.3s;
|
||||
}
|
||||
|
||||
.download-link:hover {
|
||||
background-color: #00cc00;
|
||||
}
|
||||
|
||||
.top-menu {
|
||||
background-color: #2c2c2c;
|
||||
padding: 10px 20px;
|
||||
display: flex;
|
||||
justify-content: space-around;
|
||||
align-items: center;
|
||||
color: #ddd;
|
||||
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.top-menu ul {
|
||||
list-style-type: none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.top-menu ul li {
|
||||
margin-right: 20px;
|
||||
cursor: pointer;
|
||||
font-size: 16px;
|
||||
color: #ccc;
|
||||
transition: color 0.2s;
|
||||
}
|
||||
.top-menu ul li.selected {
|
||||
color: #fff;
|
||||
font-weight: bold;
|
||||
}
|
||||
.top-menu ul li:hover {
|
||||
color: #fff;
|
||||
}
|
||||
9
public/resources/styles/index.css
Normal file
9
public/resources/styles/index.css
Normal file
@@ -0,0 +1,9 @@
|
||||
body {
|
||||
overflow: hidden;
|
||||
background-color: #1e1e1e;
|
||||
background-image: url("/resources/images/gifs/loading.gif");
|
||||
background-repeat: no-repeat;
|
||||
background-attachment: fixed;
|
||||
background-position: center;
|
||||
background-size: 15vh;
|
||||
}
|
||||
341
public/resources/styles/mobile.css
Normal file
341
public/resources/styles/mobile.css
Normal file
@@ -0,0 +1,341 @@
|
||||
body {
|
||||
margin: 0;
|
||||
font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
|
||||
background-color: #1e1e1e;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.launcher {
|
||||
width: 900px;
|
||||
height: 600px;
|
||||
margin: 50px auto;
|
||||
background-color: #333;
|
||||
border-radius: 8px;
|
||||
overflow: hidden;
|
||||
box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.title-bar {
|
||||
background-color: #2c2c2c;
|
||||
padding: 10px;
|
||||
text-align: center;
|
||||
color: #ddd;
|
||||
font-size: 14px;
|
||||
font-weight: 600;
|
||||
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
|
||||
}
|
||||
|
||||
.content {
|
||||
display: flex;
|
||||
flex: 1;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.sidebar {
|
||||
background-color: #242424;
|
||||
width: 200px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
flex-shrink: 0;
|
||||
border-right: 1px solid #333;
|
||||
}
|
||||
|
||||
.profile {
|
||||
padding: 20px 10px;
|
||||
border-bottom: 1px solid #333;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.profile-name {
|
||||
font-weight: bold;
|
||||
display: block;
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
.profile-status {
|
||||
font-size: 12px;
|
||||
color: #00cc00;
|
||||
display: block;
|
||||
margin-top: 5px;
|
||||
}
|
||||
|
||||
nav {
|
||||
list-style-type: none;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
flex-grow: 1;
|
||||
}
|
||||
|
||||
.nav-item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding: 15px 20px;
|
||||
cursor: pointer;
|
||||
transition: background-color 0.2s;
|
||||
}
|
||||
|
||||
.nav-item:hover,
|
||||
.nav-item.selected {
|
||||
background-color: #444;
|
||||
}
|
||||
|
||||
.nav-icon {
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
margin-right: 15px;
|
||||
}
|
||||
|
||||
.nav-text {
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.main-panel {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
background-color: #202020;
|
||||
}
|
||||
|
||||
.top-bar {
|
||||
background-color: #2c2c2c;
|
||||
padding: 15px 20px;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
color: #ddd;
|
||||
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.game-title {
|
||||
font-size: 18px;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.tabs {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.tab {
|
||||
margin-left: 20px;
|
||||
cursor: pointer;
|
||||
color: #888;
|
||||
text-transform: uppercase;
|
||||
font-size: 14px;
|
||||
transition: color 0.2s;
|
||||
}
|
||||
|
||||
.tab:hover,
|
||||
.tab.selected {
|
||||
color: #00cc00;
|
||||
}
|
||||
|
||||
.main-content {
|
||||
/* Adjust the selector to match your main content container */
|
||||
overflow-y: auto; /* Add scrollbar only when needed */
|
||||
scrollbar-width: thin; /* Firefox */
|
||||
scrollbar-color: #048239 #035525; /* Firefox */
|
||||
}
|
||||
|
||||
.main-content::-webkit-scrollbar {
|
||||
width: 12px;
|
||||
background-color: #035525; /* Match background color */
|
||||
}
|
||||
|
||||
.main-content::-webkit-scrollbar-thumb {
|
||||
background-color: #048239; /* Match custom select background */
|
||||
border-radius: 10px;
|
||||
border: 2px solid #4e4e50; /* Match box shadow color */
|
||||
}
|
||||
|
||||
.main-content::-webkit-scrollbar-track {
|
||||
background-color: #035525; /* Match background color */
|
||||
}
|
||||
|
||||
.main-content::-webkit-scrollbar-thumb:hover {
|
||||
background-color: #127e3f; /* Match hover color */
|
||||
}
|
||||
|
||||
.minecraft-image {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
.installations {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
width: 100%;
|
||||
background-color: #292929;
|
||||
box-sizing: border-box;
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
padding: 10px 20px;
|
||||
border-top: 1px solid #333;
|
||||
}
|
||||
|
||||
.custom-select-wrapper {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
width: 250px;
|
||||
z-index: 9999;
|
||||
}
|
||||
|
||||
.custom-select {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-family: "MinecraftRegular", sans-serif;
|
||||
font-size: 1em;
|
||||
padding: 7px;
|
||||
border: 2px solid #000;
|
||||
background-color: #048239;
|
||||
color: #fff;
|
||||
cursor: pointer;
|
||||
box-shadow: 4px 4px #4e4e50;
|
||||
user-select: none;
|
||||
z-index: 9999;
|
||||
}
|
||||
|
||||
.custom-select.open {
|
||||
border-radius: 5px 5px 0 0;
|
||||
}
|
||||
|
||||
.custom-options {
|
||||
position: absolute;
|
||||
top: calc(100% + -238px);
|
||||
left: 0;
|
||||
right: 0;
|
||||
border: 2px solid #000;
|
||||
border-top: none;
|
||||
background-color: #035525;
|
||||
box-shadow: 4px 4px #4e4e50;
|
||||
z-index: 9999;
|
||||
display: none;
|
||||
border-radius: 0 0 5px 5px;
|
||||
color: #fff;
|
||||
max-height: 200px;
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
.custom-options.open {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.custom-option {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding: 10px;
|
||||
cursor: pointer;
|
||||
border-bottom: 1px solid #000;
|
||||
z-index: 9999;
|
||||
}
|
||||
|
||||
.custom-option:last-child {
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
.custom-option:hover {
|
||||
background-color: #127e3f;
|
||||
}
|
||||
|
||||
.custom-option img {
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
||||
.play-button {
|
||||
background-color: #00cc00;
|
||||
border: none;
|
||||
padding: 10px 40px;
|
||||
border-radius: 5px;
|
||||
cursor: pointer;
|
||||
color: #fff;
|
||||
font-size: 16px;
|
||||
font-weight: bold;
|
||||
text-transform: uppercase;
|
||||
transition: background-color 0.2s;
|
||||
}
|
||||
|
||||
.play-button:hover {
|
||||
background-color: #00ff00;
|
||||
}
|
||||
|
||||
.bottom-bar {
|
||||
background-color: #2c2c2c;
|
||||
padding: 10px 20px;
|
||||
text-align: right;
|
||||
color: #ddd;
|
||||
border-top: 1px solid #333;
|
||||
box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.2);
|
||||
}
|
||||
|
||||
.username {
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
/* Custom Scrollbar Styles */
|
||||
.custom-options::-webkit-scrollbar {
|
||||
width: 12px;
|
||||
background-color: #035525; /* Match background color */
|
||||
}
|
||||
|
||||
.custom-options::-webkit-scrollbar-thumb {
|
||||
background-color: #048239; /* Match custom select background */
|
||||
border-radius: 10px;
|
||||
border: 2px solid #4e4e50; /* Match box shadow color */
|
||||
}
|
||||
|
||||
.custom-options {
|
||||
scrollbar-width: thin; /* Firefox */
|
||||
scrollbar-color: #048239 #035525; /* Firefox */
|
||||
}
|
||||
|
||||
.custom-options::-webkit-scrollbar-track {
|
||||
background-color: #035525; /* Match background color */
|
||||
}
|
||||
|
||||
.custom-options::-webkit-scrollbar-thumb:hover {
|
||||
background-color: #127e3f; /* Match hover color */
|
||||
}
|
||||
|
||||
.custom-options {
|
||||
direction: rtl;
|
||||
}
|
||||
|
||||
.custom-options div {
|
||||
direction: ltr;
|
||||
}
|
||||
.title-bar {
|
||||
background-color: #2c2c2c;
|
||||
padding: 10px;
|
||||
text-align: center;
|
||||
color: #ddd;
|
||||
font-size: 14px;
|
||||
font-weight: 600;
|
||||
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
|
||||
}
|
||||
.profile-name {
|
||||
font-weight: bold;
|
||||
display: block;
|
||||
font-size: 16px;
|
||||
}
|
||||
.minecraft-button {
|
||||
background-color: #a9a9a9;
|
||||
border: 1px solid #333;
|
||||
border-radius: 5px;
|
||||
padding: 10px 20px;
|
||||
font-size: 16px;
|
||||
font-weight: bold;
|
||||
text-transform: uppercase;
|
||||
cursor: pointer;
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.minecraft-button:hover {
|
||||
background-color: #bdbdbd;
|
||||
}
|
||||
582
public/resources/styles/mods.css
Normal file
582
public/resources/styles/mods.css
Normal file
@@ -0,0 +1,582 @@
|
||||
.mod-list {
|
||||
max-height: 400px;
|
||||
overflow-y: auto;
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
.mod-list::-webkit-scrollbar {
|
||||
width: 8px;
|
||||
}
|
||||
|
||||
.mod-list::-webkit-scrollbar-track {
|
||||
background: #f1f1f1;
|
||||
}
|
||||
|
||||
.mod-list::-webkit-scrollbar-thumb {
|
||||
background: #1f9207;
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
||||
.mod-list::-webkit-scrollbar-thumb:hover {
|
||||
background: #107a0c;
|
||||
}
|
||||
|
||||
.copy-button,
|
||||
.play-button {
|
||||
background-color: #4caf50;
|
||||
border: none;
|
||||
color: white;
|
||||
padding: 10px 20px;
|
||||
text-align: center;
|
||||
text-decoration: none;
|
||||
display: inline-block;
|
||||
margin: 4px 2px;
|
||||
cursor: pointer;
|
||||
border-radius: 5px;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.copy-button:hover,
|
||||
.play-button:hover {
|
||||
background-color: #45a049;
|
||||
}
|
||||
|
||||
.server-entry {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
padding: 10px;
|
||||
border: 1px solid #ddd;
|
||||
border-radius: 5px;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.server-image {
|
||||
width: 50px;
|
||||
height: 50px;
|
||||
border-radius: 5px;
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
||||
.server-details {
|
||||
flex-grow: 1;
|
||||
}
|
||||
|
||||
.server-name {
|
||||
font-weight: bold;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.server-address {
|
||||
font-family: monospace;
|
||||
}
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
|
||||
background-color: #1e1e1e;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.launcher {
|
||||
width: 900px;
|
||||
height: 600px;
|
||||
margin: 50px auto;
|
||||
background-color: #333;
|
||||
border-radius: 8px;
|
||||
overflow: hidden;
|
||||
box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.title-bar {
|
||||
background-color: #2c2c2c;
|
||||
padding: 10px;
|
||||
text-align: center;
|
||||
color: #ddd;
|
||||
font-size: 14px;
|
||||
font-weight: 600;
|
||||
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
|
||||
}
|
||||
|
||||
.content {
|
||||
display: flex;
|
||||
flex: 1;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.sidebar {
|
||||
background-color: #242424;
|
||||
width: 200px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
flex-shrink: 0;
|
||||
border-right: 1px solid #333;
|
||||
}
|
||||
|
||||
.profile {
|
||||
padding: 20px 10px;
|
||||
border-bottom: 1px solid #333;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.profile-name {
|
||||
font-weight: bold;
|
||||
display: block;
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
.profile-status {
|
||||
font-size: 12px;
|
||||
color: #00cc00;
|
||||
display: block;
|
||||
margin-top: 5px;
|
||||
}
|
||||
|
||||
nav {
|
||||
list-style-type: none;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
flex-grow: 1;
|
||||
}
|
||||
|
||||
.nav-item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding: 15px 20px;
|
||||
cursor: pointer;
|
||||
transition: background-color 0.2s;
|
||||
}
|
||||
|
||||
.nav-item:hover,
|
||||
.nav-item.selected {
|
||||
background-color: #444;
|
||||
}
|
||||
|
||||
.nav-icon {
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
margin-right: 15px;
|
||||
}
|
||||
|
||||
.nav-text {
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.main-panel {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
background-color: #202020;
|
||||
}
|
||||
|
||||
.top-bar {
|
||||
background-color: #2c2c2c;
|
||||
padding: 15px 20px;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
color: #ddd;
|
||||
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.game-title {
|
||||
font-size: 18px;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.tabs {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.tab {
|
||||
margin-left: 20px;
|
||||
cursor: pointer;
|
||||
color: #888;
|
||||
text-transform: uppercase;
|
||||
font-size: 14px;
|
||||
transition: color 0.2s;
|
||||
}
|
||||
|
||||
.tab:hover,
|
||||
.tab.selected {
|
||||
color: #00cc00;
|
||||
}
|
||||
|
||||
.main-content {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
background-color: #202020;
|
||||
padding: 20px;
|
||||
box-sizing: border-box;
|
||||
position: relative;
|
||||
overflow-y: auto;
|
||||
scrollbar-width: thin;
|
||||
scrollbar-color: #048239 #035525;
|
||||
}
|
||||
|
||||
.main-content::-webkit-scrollbar {
|
||||
width: 12px;
|
||||
background-color: #035525;
|
||||
}
|
||||
|
||||
.main-content::-webkit-scrollbar-thumb {
|
||||
background-color: #048239;
|
||||
border-radius: 10px;
|
||||
border: 2px solid #4e4e50;
|
||||
}
|
||||
|
||||
.main-content::-webkit-scrollbar-track {
|
||||
background-color: #035525;
|
||||
}
|
||||
|
||||
.main-content::-webkit-scrollbar-thumb:hover {
|
||||
background-color: #127e3f;
|
||||
}
|
||||
|
||||
.minecraft-image {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
.installations {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
width: 100%;
|
||||
background-color: #292929;
|
||||
box-sizing: border-box;
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
padding: 10px 20px;
|
||||
border-top: 1px solid #333;
|
||||
}
|
||||
|
||||
.custom-select-wrapper {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
width: 250px;
|
||||
z-index: 9999;
|
||||
}
|
||||
|
||||
.custom-select {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-family: "MinecraftRegular", sans-serif;
|
||||
font-size: 1em;
|
||||
padding: 7px;
|
||||
border: 2px solid #000;
|
||||
background-color: #048239;
|
||||
color: #fff;
|
||||
cursor: pointer;
|
||||
box-shadow: 4px 4px #4e4e50;
|
||||
user-select: none;
|
||||
z-index: 9999;
|
||||
}
|
||||
|
||||
.custom-select.open {
|
||||
border-radius: 5px 5px 0 0;
|
||||
}
|
||||
|
||||
.custom-options {
|
||||
position: absolute;
|
||||
top: calc(100% + -238px);
|
||||
left: 0;
|
||||
right: 0;
|
||||
border: 2px solid #000;
|
||||
border-top: none;
|
||||
background-color: #035525;
|
||||
box-shadow: 4px 4px #4e4e50;
|
||||
z-index: 9999;
|
||||
display: none;
|
||||
border-radius: 0 0 5px 5px;
|
||||
color: #fff;
|
||||
max-height: 200px;
|
||||
overflow-y: auto;
|
||||
direction: rtl;
|
||||
}
|
||||
|
||||
.custom-options.open {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.custom-options div {
|
||||
direction: ltr;
|
||||
}
|
||||
|
||||
.custom-option {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding: 10px;
|
||||
cursor: pointer;
|
||||
border-bottom: 1px solid #000;
|
||||
z-index: 9999;
|
||||
}
|
||||
|
||||
.custom-option:last-child {
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
.custom-option:hover {
|
||||
background-color: #127e3f;
|
||||
}
|
||||
|
||||
.custom-option img {
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
||||
.play-button {
|
||||
background-color: #00cc00;
|
||||
border: none;
|
||||
padding: 10px 40px;
|
||||
border-radius: 5px;
|
||||
cursor: pointer;
|
||||
color: #fff;
|
||||
font-size: 16px;
|
||||
font-weight: bold;
|
||||
text-transform: uppercase;
|
||||
transition: background-color 0.2s;
|
||||
}
|
||||
|
||||
.play-button:hover {
|
||||
background-color: #00ff00;
|
||||
}
|
||||
|
||||
.bottom-bar {
|
||||
background-color: #2c2c2c;
|
||||
padding: 10px 20px;
|
||||
text-align: right;
|
||||
color: #ddd;
|
||||
border-top: 1px solid #333;
|
||||
box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.2);
|
||||
}
|
||||
|
||||
.username {
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.news-item {
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
.news-item li {
|
||||
padding-left: 20px;
|
||||
}
|
||||
|
||||
.custom-options::-webkit-scrollbar {
|
||||
width: 12px;
|
||||
background-color: #035525;
|
||||
}
|
||||
|
||||
.custom-options::-webkit-scrollbar-thumb {
|
||||
background-color: #048239;
|
||||
border-radius: 10px;
|
||||
border: 2px solid #4e4e50;
|
||||
}
|
||||
|
||||
.custom-options {
|
||||
scrollbar-width: thin;
|
||||
scrollbar-color: #048239 #035525;
|
||||
}
|
||||
|
||||
.custom-options::-webkit-scrollbar-track {
|
||||
background-color: #035525;
|
||||
}
|
||||
|
||||
.custom-options::-webkit-scrollbar-thumb:hover {
|
||||
background-color: #127e3f;
|
||||
}
|
||||
|
||||
.minecraft-button {
|
||||
background-color: #a9a9a9;
|
||||
border: 1px solid #333;
|
||||
border-radius: 5px;
|
||||
padding: 10px 20px;
|
||||
font-size: 16px;
|
||||
font-weight: bold;
|
||||
text-transform: uppercase;
|
||||
cursor: pointer;
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.minecraft-button:hover {
|
||||
background-color: #bdbdbd;
|
||||
}
|
||||
|
||||
.minecraft-button:active {
|
||||
background-color: #8a8a8a;
|
||||
}
|
||||
|
||||
.bottom-bar {
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
padding: 10px 20px;
|
||||
background-color: #2c2c2c;
|
||||
color: #ddd;
|
||||
border-top: 1px solid #333;
|
||||
box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.2);
|
||||
}
|
||||
|
||||
.version-label {
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
||||
.downloads {
|
||||
margin-top: 20px;
|
||||
}
|
||||
|
||||
.download-link {
|
||||
display: block;
|
||||
background-color: #048239;
|
||||
color: #fff;
|
||||
text-decoration: none;
|
||||
padding: 10px 20px;
|
||||
border-radius: 5px;
|
||||
margin-bottom: 10px;
|
||||
transition: background-color 0.3s;
|
||||
}
|
||||
|
||||
.download-link:hover {
|
||||
background-color: #34b734;
|
||||
}
|
||||
|
||||
.container {
|
||||
max-width: 1200px;
|
||||
margin: 0 auto;
|
||||
padding: 20px;
|
||||
background-color: #1f1f1f;
|
||||
color: #e0e0e0;
|
||||
overflow-x: auto;
|
||||
overflow-y: auto;
|
||||
max-height: 600px;
|
||||
}
|
||||
|
||||
.mod-list {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, 1fr);
|
||||
gap: 10px;
|
||||
overflow-y: auto;
|
||||
max-height: 100%;
|
||||
padding: 10px;
|
||||
overflow-x: auto;
|
||||
text-align: center;
|
||||
scrollbar-width: thin;
|
||||
scrollbar-color: #555 #333;
|
||||
}
|
||||
|
||||
.mod-list::-webkit-scrollbar {
|
||||
width: 8px;
|
||||
}
|
||||
|
||||
.mod-list::-webkit-scrollbar-track {
|
||||
background: #333;
|
||||
}
|
||||
|
||||
.mod-list::-webkit-scrollbar-thumb {
|
||||
background-color: #555;
|
||||
border-radius: 10px;
|
||||
border: 2px solid #333;
|
||||
}
|
||||
|
||||
.mod-item {
|
||||
background-color: #333;
|
||||
border-radius: 8px;
|
||||
box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
|
||||
padding: 10px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.mod-item .mod-icon {
|
||||
width: 80px;
|
||||
height: 80px;
|
||||
margin: 0 auto 10px;
|
||||
}
|
||||
|
||||
.mod-item .mod-icon img {
|
||||
max-width: 100%;
|
||||
max-height: 100%;
|
||||
border-radius: 5px;
|
||||
}
|
||||
|
||||
.mod-item .mod-details {
|
||||
padding: 10px 0;
|
||||
}
|
||||
|
||||
.mod-item .mod-name {
|
||||
font-size: 16px;
|
||||
font-weight: bold;
|
||||
margin-bottom: 5px;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.mod-item .mod-author {
|
||||
font-size: 12px;
|
||||
color: #ccc;
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
|
||||
.mod-item .mod-description {
|
||||
font-size: 14px;
|
||||
color: #bbb;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.mod-item .mod-links {
|
||||
display: flex;
|
||||
justify-content: space-around;
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
.mod-item .mod-link {
|
||||
padding: 5px 15px;
|
||||
background-color: #555;
|
||||
color: #fff;
|
||||
text-decoration: none;
|
||||
border-radius: 7px;
|
||||
transition: background-color 0.3s;
|
||||
}
|
||||
|
||||
.mod-item .mod-link:hover {
|
||||
background-color: #777;
|
||||
}
|
||||
.top-menu {
|
||||
background-color: #2c2c2c;
|
||||
padding: 10px 20px;
|
||||
display: flex;
|
||||
justify-content: space-around;
|
||||
align-items: center;
|
||||
color: #ddd;
|
||||
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.top-menu ul {
|
||||
list-style-type: none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.top-menu ul li {
|
||||
margin-right: 20px;
|
||||
cursor: pointer;
|
||||
font-size: 16px;
|
||||
color: #ccc;
|
||||
transition: color 0.2s;
|
||||
}
|
||||
.top-menu ul li.selected {
|
||||
color: #fff;
|
||||
font-weight: bold;
|
||||
}
|
||||
.top-menu ul li:hover {
|
||||
color: #fff;
|
||||
}
|
||||
450
public/resources/styles/other.css
Normal file
450
public/resources/styles/other.css
Normal file
@@ -0,0 +1,450 @@
|
||||
body {
|
||||
margin: 0;
|
||||
font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
|
||||
background-color: #1e1e1e;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.launcher {
|
||||
width: 900px;
|
||||
height: 600px;
|
||||
margin: 50px auto;
|
||||
background-color: #333;
|
||||
border-radius: 8px;
|
||||
overflow: hidden;
|
||||
box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.title-bar {
|
||||
background-color: #2c2c2c;
|
||||
padding: 10px;
|
||||
text-align: center;
|
||||
color: #ddd;
|
||||
font-size: 14px;
|
||||
font-weight: 600;
|
||||
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
|
||||
}
|
||||
|
||||
.content {
|
||||
display: flex;
|
||||
flex: 1;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.sidebar {
|
||||
background-color: #242424;
|
||||
width: 200px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
flex-shrink: 0;
|
||||
border-right: 1px solid #333;
|
||||
}
|
||||
|
||||
.profile {
|
||||
padding: 20px 10px;
|
||||
border-bottom: 1px solid #333;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.profile-name {
|
||||
font-weight: bold;
|
||||
display: block;
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
.profile-status {
|
||||
font-size: 12px;
|
||||
color: #00cc00;
|
||||
display: block;
|
||||
margin-top: 5px;
|
||||
}
|
||||
|
||||
nav {
|
||||
list-style-type: none;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
flex-grow: 1;
|
||||
}
|
||||
|
||||
.nav-item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding: 15px 20px;
|
||||
cursor: pointer;
|
||||
transition: background-color 0.2s;
|
||||
}
|
||||
|
||||
.nav-item:hover,
|
||||
.nav-item.selected {
|
||||
background-color: #444;
|
||||
}
|
||||
|
||||
.nav-icon {
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
margin-right: 15px;
|
||||
}
|
||||
|
||||
.nav-text {
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.main-panel {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
background-color: #202020;
|
||||
}
|
||||
|
||||
.top-bar {
|
||||
background-color: #2c2c2c;
|
||||
padding: 15px 20px;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
color: #ddd;
|
||||
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.game-title {
|
||||
font-size: 18px;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.tabs {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.tab {
|
||||
margin-left: 20px;
|
||||
cursor: pointer;
|
||||
color: #888;
|
||||
text-transform: uppercase;
|
||||
font-size: 14px;
|
||||
transition: color 0.2s;
|
||||
}
|
||||
|
||||
.tab:hover,
|
||||
.tab.selected {
|
||||
color: #00cc00;
|
||||
}
|
||||
|
||||
.main-content {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
background-color: #202020;
|
||||
padding: 20px;
|
||||
box-sizing: border-box;
|
||||
position: relative;
|
||||
overflow-y: hidden;
|
||||
scrollbar-width: thin;
|
||||
scrollbar-color: #048239 #035525;
|
||||
}
|
||||
|
||||
.main-content::-webkit-scrollbar {
|
||||
width: 12px;
|
||||
background-color: #035525;
|
||||
}
|
||||
.main-content::-webkit-scrollbar-thumb {
|
||||
background-color: #048239;
|
||||
border-radius: 10px;
|
||||
border: 2px solid #4e4e50;
|
||||
}
|
||||
|
||||
.main-content::-webkit-scrollbar-track {
|
||||
background-color: #035525;
|
||||
}
|
||||
|
||||
.main-content::-webkit-scrollbar-thumb:hover {
|
||||
background-color: #127e3f;
|
||||
}
|
||||
|
||||
.minecraft-image {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
.installations {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
width: 100%;
|
||||
background-color: #292929;
|
||||
box-sizing: border-box;
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
padding: 10px 20px;
|
||||
border-top: 1px solid #333;
|
||||
}
|
||||
.custom-select-wrapper {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
width: 250px;
|
||||
}
|
||||
|
||||
.custom-select {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-family: "MinecraftRegular", sans-serif;
|
||||
font-size: 1em;
|
||||
padding: 7px;
|
||||
border: 2px solid #000;
|
||||
background-color: #048239;
|
||||
color: #fff;
|
||||
cursor: pointer;
|
||||
box-shadow: 4px 4px #4e4e50;
|
||||
user-select: none;
|
||||
transition: box-shadow 0.3s;
|
||||
}
|
||||
|
||||
.custom-select:hover {
|
||||
box-shadow: 6px 6px #4e4e50;
|
||||
}
|
||||
|
||||
.custom-select.open {
|
||||
border-radius: 0 0 5px 5px;
|
||||
}
|
||||
|
||||
.custom-options {
|
||||
position: absolute;
|
||||
bottom: calc(100% + 2px);
|
||||
left: 0;
|
||||
right: 0;
|
||||
border: 2px solid #000;
|
||||
border-bottom: none;
|
||||
background-color: #035525;
|
||||
box-shadow: 4px 4px #4e4e50;
|
||||
display: none;
|
||||
border-radius: 5px 5px 0 0;
|
||||
color: #fff;
|
||||
max-height: 0;
|
||||
overflow: hidden;
|
||||
transition: max-height 0.3s ease-out, padding 0.3s ease-out,
|
||||
opacity 0.3s ease-out;
|
||||
}
|
||||
|
||||
.custom-options.open {
|
||||
display: block;
|
||||
max-height: 200px;
|
||||
padding: 10px 0;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.custom-option {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding: 10px;
|
||||
cursor: pointer;
|
||||
border-bottom: 1px solid #000;
|
||||
transition: background-color 0.3s;
|
||||
}
|
||||
|
||||
.custom-option:last-child {
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
.custom-option:hover {
|
||||
background-color: #127e3f;
|
||||
}
|
||||
|
||||
.custom-option img {
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
||||
.play-button {
|
||||
background-color: #0f990f;
|
||||
border: 2px solid #007700;
|
||||
padding: 10px 40px;
|
||||
border-radius: 5px;
|
||||
cursor: pointer;
|
||||
color: #fff;
|
||||
font-size: 16px;
|
||||
font-weight: bold;
|
||||
text-transform: uppercase;
|
||||
transition: background-color 0.2s, border-color 0.2s, transform 0.2s;
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.play-button::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
width: 300%;
|
||||
height: 300%;
|
||||
background-color: rgba(255, 255, 255, 0.1);
|
||||
transition: all 0.4s ease-out;
|
||||
border-radius: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
z-index: 0;
|
||||
}
|
||||
|
||||
.play-button:hover::before {
|
||||
width: 0;
|
||||
height: 0;
|
||||
}
|
||||
|
||||
.play-button:hover {
|
||||
background-color: #17b117;
|
||||
border-color: #005500;
|
||||
transform: scale(1.05);
|
||||
}
|
||||
|
||||
.play-button span {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.play-button:hover span {
|
||||
animation: fluid 1.5s infinite alternate;
|
||||
}
|
||||
|
||||
@keyframes fluid {
|
||||
0% {
|
||||
transform: scale(1);
|
||||
}
|
||||
100% {
|
||||
transform: scale(1.1);
|
||||
}
|
||||
}
|
||||
|
||||
.bottom-bar {
|
||||
background-color: #2c2c2c;
|
||||
padding: 10px 20px;
|
||||
text-align: right;
|
||||
color: #ddd;
|
||||
border-top: 1px solid #333;
|
||||
box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.2);
|
||||
}
|
||||
|
||||
.username {
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.news-item {
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
.news-item li {
|
||||
padding-left: 20px;
|
||||
}
|
||||
|
||||
.custom-options::-webkit-scrollbar {
|
||||
width: 12px;
|
||||
background-color: #035525;
|
||||
}
|
||||
|
||||
.custom-options::-webkit-scrollbar-thumb {
|
||||
background-color: #048239;
|
||||
border-radius: 10px;
|
||||
border: 2px solid #4e4e50;
|
||||
}
|
||||
|
||||
.custom-options {
|
||||
scrollbar-width: thin;
|
||||
scrollbar-color: #048239 #035525;
|
||||
}
|
||||
|
||||
.custom-options::-webkit-scrollbar-track {
|
||||
background-color: #035525;
|
||||
}
|
||||
|
||||
.custom-options::-webkit-scrollbar-thumb:hover {
|
||||
background-color: #127e3f;
|
||||
}
|
||||
|
||||
.minecraft-button {
|
||||
background-color: #a9a9a9;
|
||||
border: 1px solid #333;
|
||||
border-radius: 5px;
|
||||
padding: 10px 20px;
|
||||
font-size: 16px;
|
||||
font-weight: bold;
|
||||
text-transform: uppercase;
|
||||
cursor: pointer;
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.minecraft-button:hover {
|
||||
background-color: #bdbdbd;
|
||||
}
|
||||
|
||||
.minecraft-button:active {
|
||||
background-color: #8a8a8a;
|
||||
}
|
||||
|
||||
.bottom-bar {
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
padding: 10px 20px;
|
||||
background-color: #2c2c2c;
|
||||
color: #ddd;
|
||||
border-top: 1px solid #333;
|
||||
box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.2);
|
||||
}
|
||||
|
||||
.version-label {
|
||||
margin-right: 10px;
|
||||
}
|
||||
.downloads {
|
||||
margin-top: 20px;
|
||||
}
|
||||
|
||||
.download-link {
|
||||
display: block;
|
||||
background-color: #048239;
|
||||
color: #fff;
|
||||
text-decoration: none;
|
||||
padding: 10px 20px;
|
||||
border-radius: 5px;
|
||||
margin-bottom: 10px;
|
||||
transition: background-color 0.3s;
|
||||
}
|
||||
|
||||
.download-link:hover {
|
||||
background-color: #00cc00;
|
||||
}
|
||||
/* try fix 1 */
|
||||
.top-menu {
|
||||
background-color: #2c2c2c;
|
||||
padding: 10px 20px;
|
||||
display: flex;
|
||||
justify-content: space-around;
|
||||
align-items: center;
|
||||
color: #ddd;
|
||||
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.top-menu ul {
|
||||
list-style-type: none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.top-menu ul li {
|
||||
margin-right: 20px;
|
||||
cursor: pointer;
|
||||
font-size: 16px;
|
||||
color: #ccc;
|
||||
transition: color 0.2s;
|
||||
}
|
||||
.top-menu ul li.selected {
|
||||
color: #fff;
|
||||
font-weight: bold;
|
||||
}
|
||||
.top-menu ul li:hover {
|
||||
color: #fff;
|
||||
}
|
||||
463
public/resources/styles/servers.css
Normal file
463
public/resources/styles/servers.css
Normal file
@@ -0,0 +1,463 @@
|
||||
.main-panel {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
background-color: #202020;
|
||||
}
|
||||
|
||||
.server-list {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.server-list iframe {
|
||||
flex: 1;
|
||||
width: 100%;
|
||||
border: none;
|
||||
}
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
|
||||
background-color: #1e1e1e;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.launcher {
|
||||
width: 900px;
|
||||
height: 600px;
|
||||
margin: 50px auto;
|
||||
background-color: #333;
|
||||
border-radius: 8px;
|
||||
overflow: hidden;
|
||||
box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.title-bar {
|
||||
background-color: #2c2c2c;
|
||||
padding: 10px;
|
||||
text-align: center;
|
||||
color: #ddd;
|
||||
font-size: 14px;
|
||||
font-weight: 600;
|
||||
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
|
||||
}
|
||||
|
||||
.content {
|
||||
display: flex;
|
||||
flex: 1;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.sidebar {
|
||||
background-color: #242424;
|
||||
width: 200px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
flex-shrink: 0;
|
||||
border-right: 1px solid #333;
|
||||
}
|
||||
|
||||
.profile {
|
||||
padding: 20px 10px;
|
||||
border-bottom: 1px solid #333;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.profile-name {
|
||||
font-weight: bold;
|
||||
display: block;
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
.profile-status {
|
||||
font-size: 12px;
|
||||
color: #00cc00;
|
||||
display: block;
|
||||
margin-top: 5px;
|
||||
}
|
||||
|
||||
nav {
|
||||
list-style-type: none;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
flex-grow: 1;
|
||||
}
|
||||
|
||||
.nav-item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding: 15px 20px;
|
||||
cursor: pointer;
|
||||
transition: background-color 0.2s;
|
||||
}
|
||||
|
||||
.nav-item:hover,
|
||||
.nav-item.selected {
|
||||
background-color: #444;
|
||||
}
|
||||
|
||||
.nav-icon {
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
margin-right: 15px;
|
||||
}
|
||||
|
||||
.nav-text {
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.top-bar {
|
||||
background-color: #2c2c2c;
|
||||
padding: 15px 20px;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
color: #ddd;
|
||||
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.game-title {
|
||||
font-size: 18px;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.tabs {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.tab {
|
||||
margin-left: 20px;
|
||||
cursor: pointer;
|
||||
color: #888;
|
||||
text-transform: uppercase;
|
||||
font-size: 14px;
|
||||
transition: color 0.2s;
|
||||
}
|
||||
|
||||
.tab:hover,
|
||||
.tab.selected {
|
||||
color: #00cc00;
|
||||
}
|
||||
|
||||
.main-content {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
background-color: #202020;
|
||||
padding: 20px;
|
||||
box-sizing: border-box;
|
||||
position: relative;
|
||||
overflow-y: auto;
|
||||
scrollbar-width: thin;
|
||||
scrollbar-color: #048239 #035525;
|
||||
}
|
||||
|
||||
.main-content::-webkit-scrollbar {
|
||||
width: 12px;
|
||||
background-color: #035525;
|
||||
}
|
||||
|
||||
.main-content::-webkit-scrollbar-thumb {
|
||||
background-color: #048239;
|
||||
border-radius: 10px;
|
||||
border: 2px solid #4e4e50;
|
||||
}
|
||||
|
||||
.main-content::-webkit-scrollbar-track {
|
||||
background-color: #035525;
|
||||
}
|
||||
|
||||
.main-content::-webkit-scrollbar-thumb:hover {
|
||||
background-color: #127e3f;
|
||||
}
|
||||
|
||||
.minecraft-image {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
.installations {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
width: 100%;
|
||||
background-color: #292929;
|
||||
box-sizing: border-box;
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
padding: 10px 20px;
|
||||
border-top: 1px solid #333;
|
||||
}
|
||||
|
||||
.custom-select-wrapper {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
width: 250px;
|
||||
z-index: 9999;
|
||||
}
|
||||
|
||||
.custom-select {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-family: "MinecraftRegular", sans-serif;
|
||||
font-size: 1em;
|
||||
padding: 7px;
|
||||
border: 2px solid #000;
|
||||
background-color: #048239;
|
||||
color: #fff;
|
||||
cursor: pointer;
|
||||
box-shadow: 4px 4px #4e4e50;
|
||||
user-select: none;
|
||||
z-index: 9999;
|
||||
}
|
||||
|
||||
.custom-select.open {
|
||||
border-radius: 5px 5px 0 0;
|
||||
}
|
||||
|
||||
.custom-options {
|
||||
position: absolute;
|
||||
top: calc(100% + -238px);
|
||||
left: 0;
|
||||
right: 0;
|
||||
border: 2px solid #000;
|
||||
border-top: none;
|
||||
background-color: #035525;
|
||||
box-shadow: 4px 4px #4e4e50;
|
||||
z-index: 9999;
|
||||
display: none;
|
||||
border-radius: 0 0 5px 5px;
|
||||
color: #fff;
|
||||
max-height: 200px;
|
||||
overflow-y: auto;
|
||||
direction: rtl;
|
||||
}
|
||||
|
||||
.custom-options.open {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.custom-options div {
|
||||
direction: ltr;
|
||||
}
|
||||
|
||||
.custom-option {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding: 10px;
|
||||
cursor: pointer;
|
||||
border-bottom: 1px solid #000;
|
||||
z-index: 9999;
|
||||
}
|
||||
|
||||
.custom-option:last-child {
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
.custom-option:hover {
|
||||
background-color: #127e3f;
|
||||
}
|
||||
|
||||
.custom-option img {
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
||||
.play-button {
|
||||
background-color: #00cc00;
|
||||
border: none;
|
||||
padding: 10px 40px;
|
||||
border-radius: 5px;
|
||||
cursor: pointer;
|
||||
color: #fff;
|
||||
font-size: 16px;
|
||||
font-weight: bold;
|
||||
text-transform: uppercase;
|
||||
transition: background-color 0.2s;
|
||||
}
|
||||
|
||||
.play-button:hover {
|
||||
background-color: #00ff00;
|
||||
}
|
||||
|
||||
.bottom-bar {
|
||||
background-color: #2c2c2c;
|
||||
padding: 10px 20px;
|
||||
text-align: right;
|
||||
color: #ddd;
|
||||
border-top: 1px solid #333;
|
||||
box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.2);
|
||||
}
|
||||
|
||||
.username {
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.news-item {
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
.news-item li {
|
||||
padding-left: 20px;
|
||||
}
|
||||
|
||||
.custom-options::-webkit-scrollbar {
|
||||
width: 12px;
|
||||
background-color: #035525;
|
||||
}
|
||||
|
||||
.custom-options::-webkit-scrollbar-thumb {
|
||||
background-color: #048239;
|
||||
border-radius: 10px;
|
||||
border: 2px solid #4e4e50;
|
||||
}
|
||||
|
||||
.custom-options {
|
||||
scrollbar-width: thin;
|
||||
scrollbar-color: #048239 #035525;
|
||||
}
|
||||
|
||||
.custom-options::-webkit-scrollbar-track {
|
||||
background-color: #035525;
|
||||
}
|
||||
|
||||
.custom-options::-webkit-scrollbar-thumb:hover {
|
||||
background-color: #127e3f;
|
||||
}
|
||||
|
||||
.minecraft-button {
|
||||
background-color: #a9a9a9;
|
||||
border: 1px solid #333;
|
||||
border-radius: 5px;
|
||||
padding: 10px 20px;
|
||||
font-size: 16px;
|
||||
font-weight: bold;
|
||||
text-transform: uppercase;
|
||||
cursor: pointer;
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.minecraft-button:hover {
|
||||
background-color: #bdbdbd;
|
||||
}
|
||||
|
||||
.minecraft-button:active {
|
||||
background-color: #8a8a8a;
|
||||
}
|
||||
|
||||
.bottom-bar {
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
padding: 10px 20px;
|
||||
background-color: #2c2c2c;
|
||||
color: #ddd;
|
||||
border-top: 1px solid #333;
|
||||
box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.2);
|
||||
}
|
||||
|
||||
.version-label {
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
||||
.downloads {
|
||||
margin-top: 20px;
|
||||
}
|
||||
|
||||
.download-link {
|
||||
display: block;
|
||||
background-color: #048239;
|
||||
color: #fff;
|
||||
text-decoration: none;
|
||||
padding: 10px 20px;
|
||||
border-radius: 5px;
|
||||
margin-bottom: 10px;
|
||||
transition: background-color 0.3s;
|
||||
}
|
||||
|
||||
.download-link:hover {
|
||||
background-color: #00cc00;
|
||||
}
|
||||
|
||||
.server-list {
|
||||
max-height: 400px;
|
||||
overflow-y: auto;
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
.server-list::-webkit-scrollbar {
|
||||
width: 8px;
|
||||
}
|
||||
|
||||
.server-list::-webkit-scrollbar-track {
|
||||
background: #f1f1f1;
|
||||
}
|
||||
|
||||
.server-list::-webkit-scrollbar-thumb {
|
||||
background: #1f9207;
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
||||
.server-list::-webkit-scrollbar-thumb:hover {
|
||||
background: #107a0c;
|
||||
}
|
||||
|
||||
.copy-button,
|
||||
.play-button {
|
||||
background-color: #4caf50;
|
||||
border: none;
|
||||
color: white;
|
||||
padding: 10px 20px;
|
||||
text-align: center;
|
||||
text-decoration: none;
|
||||
display: inline-block;
|
||||
margin: 4px 2px;
|
||||
cursor: pointer;
|
||||
border-radius: 5px;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.copy-button:hover,
|
||||
.play-button:hover {
|
||||
background-color: #45a049;
|
||||
}
|
||||
|
||||
.server-entry {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
padding: 10px;
|
||||
border: 1px solid #ddd;
|
||||
border-radius: 5px;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.server-image {
|
||||
width: 50px;
|
||||
height: 50px;
|
||||
border-radius: 5px;
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
||||
.server-details {
|
||||
flex-grow: 1;
|
||||
}
|
||||
|
||||
.server-name {
|
||||
font-weight: bold;
|
||||
display: block;
|
||||
}
|
||||
/* let me escape please */
|
||||
.server-address {
|
||||
font-family: monospace;
|
||||
}
|
||||
403
public/resources/styles/settings.css
Normal file
403
public/resources/styles/settings.css
Normal file
@@ -0,0 +1,403 @@
|
||||
body {
|
||||
margin: 0;
|
||||
font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
|
||||
background-color: #1e1e1e;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.launcher {
|
||||
width: 900px;
|
||||
height: 600px;
|
||||
margin: 50px auto;
|
||||
background-color: #333;
|
||||
border-radius: 8px;
|
||||
overflow: hidden;
|
||||
box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.title-bar {
|
||||
background-color: #2c2c2c;
|
||||
padding: 10px;
|
||||
text-align: center;
|
||||
color: #ddd;
|
||||
font-size: 14px;
|
||||
font-weight: 600;
|
||||
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
|
||||
}
|
||||
|
||||
.content {
|
||||
display: flex;
|
||||
flex: 1;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.sidebar {
|
||||
background-color: #242424;
|
||||
width: 200px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
flex-shrink: 0;
|
||||
border-right: 1px solid #333;
|
||||
}
|
||||
|
||||
.profile {
|
||||
padding: 20px 10px;
|
||||
border-bottom: 1px solid #333;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.profile-name {
|
||||
font-weight: bold;
|
||||
display: block;
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
.profile-status {
|
||||
font-size: 12px;
|
||||
color: #00cc00;
|
||||
display: block;
|
||||
margin-top: 5px;
|
||||
}
|
||||
|
||||
nav {
|
||||
list-style-type: none;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
flex-grow: 1;
|
||||
}
|
||||
|
||||
.nav-item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding: 15px 20px;
|
||||
cursor: pointer;
|
||||
transition: background-color 0.2s;
|
||||
}
|
||||
|
||||
.nav-item:hover,
|
||||
.nav-item.selected {
|
||||
background-color: #444;
|
||||
}
|
||||
|
||||
.nav-icon {
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
margin-right: 15px;
|
||||
}
|
||||
|
||||
.nav-text {
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.main-panel {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
background-color: #202020;
|
||||
}
|
||||
|
||||
.top-bar {
|
||||
background-color: #2c2c2c;
|
||||
padding: 15px 20px;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
color: #ddd;
|
||||
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.game-title {
|
||||
font-size: 18px;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.tabs {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.tab {
|
||||
margin-left: 20px;
|
||||
cursor: pointer;
|
||||
color: #888;
|
||||
text-transform: uppercase;
|
||||
font-size: 14px;
|
||||
transition: color 0.2s;
|
||||
}
|
||||
|
||||
.tab:hover,
|
||||
.tab.selected {
|
||||
color: #00cc00;
|
||||
}
|
||||
|
||||
.main-content {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
background-color: #202020;
|
||||
padding: 20px;
|
||||
box-sizing: border-box;
|
||||
position: relative;
|
||||
overflow-y: auto;
|
||||
scrollbar-width: thin;
|
||||
scrollbar-color: #048239 #035525;
|
||||
}
|
||||
|
||||
.main-content::-webkit-scrollbar {
|
||||
width: 12px;
|
||||
background-color: #035525;
|
||||
}
|
||||
.main-content::-webkit-scrollbar-thumb {
|
||||
background-color: #048239;
|
||||
border-radius: 10px;
|
||||
border: 2px solid #4e4e50;
|
||||
}
|
||||
|
||||
.main-content::-webkit-scrollbar-track {
|
||||
background-color: #035525;
|
||||
}
|
||||
|
||||
.main-content::-webkit-scrollbar-thumb:hover {
|
||||
background-color: #127e3f;
|
||||
}
|
||||
|
||||
.minecraft-image {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
.installations {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
width: 100%;
|
||||
background-color: #292929;
|
||||
box-sizing: border-box;
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
padding: 10px 20px;
|
||||
border-top: 1px solid #333;
|
||||
}
|
||||
|
||||
.custom-select-wrapper {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
width: 250px;
|
||||
z-index: 9999;
|
||||
}
|
||||
|
||||
.custom-select {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-family: "MinecraftRegular", sans-serif;
|
||||
font-size: 1em;
|
||||
padding: 7px;
|
||||
border: 2px solid #000;
|
||||
background-color: #048239;
|
||||
color: #fff;
|
||||
cursor: pointer;
|
||||
box-shadow: 4px 4px #4e4e50;
|
||||
user-select: none;
|
||||
z-index: 9999;
|
||||
}
|
||||
|
||||
.custom-select.open {
|
||||
border-radius: 5px 5px 0 0;
|
||||
}
|
||||
|
||||
.custom-options {
|
||||
position: absolute;
|
||||
top: calc(100% + -238px);
|
||||
left: 0;
|
||||
right: 0;
|
||||
border: 2px solid #000;
|
||||
border-top: none;
|
||||
background-color: #035525;
|
||||
box-shadow: 4px 4px #4e4e50;
|
||||
z-index: 9999;
|
||||
display: none;
|
||||
border-radius: 0 0 5px 5px;
|
||||
color: #fff;
|
||||
max-height: 200px;
|
||||
overflow-y: auto;
|
||||
direction: rtl;
|
||||
}
|
||||
|
||||
.custom-options.open {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.custom-options div {
|
||||
direction: ltr;
|
||||
}
|
||||
|
||||
.custom-option {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding: 10px;
|
||||
cursor: pointer;
|
||||
border-bottom: 1px solid #000;
|
||||
z-index: 9999;
|
||||
}
|
||||
|
||||
.custom-option:last-child {
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
.custom-option:hover {
|
||||
background-color: #127e3f;
|
||||
}
|
||||
|
||||
.custom-option img {
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
||||
.play-button {
|
||||
background-color: #00cc00;
|
||||
border: none;
|
||||
padding: 10px 40px;
|
||||
border-radius: 5px;
|
||||
cursor: pointer;
|
||||
color: #fff;
|
||||
font-size: 16px;
|
||||
font-weight: bold;
|
||||
text-transform: uppercase;
|
||||
transition: background-color 0.2s;
|
||||
}
|
||||
|
||||
.play-button:hover {
|
||||
background-color: #00ff00;
|
||||
}
|
||||
|
||||
.bottom-bar {
|
||||
background-color: #2c2c2c;
|
||||
padding: 10px 20px;
|
||||
text-align: right;
|
||||
color: #ddd;
|
||||
border-top: 1px solid #333;
|
||||
box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.2);
|
||||
}
|
||||
|
||||
.username {
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.news-item {
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
.news-item li {
|
||||
padding-left: 20px;
|
||||
}
|
||||
|
||||
.custom-options::-webkit-scrollbar {
|
||||
width: 12px;
|
||||
background-color: #035525;
|
||||
}
|
||||
|
||||
.custom-options::-webkit-scrollbar-thumb {
|
||||
background-color: #048239;
|
||||
border-radius: 10px;
|
||||
border: 2px solid #4e4e50;
|
||||
}
|
||||
|
||||
.custom-options {
|
||||
scrollbar-width: thin;
|
||||
scrollbar-color: #048239 #035525;
|
||||
}
|
||||
|
||||
.custom-options::-webkit-scrollbar-track {
|
||||
background-color: #035525;
|
||||
}
|
||||
|
||||
.custom-options::-webkit-scrollbar-thumb:hover {
|
||||
background-color: #127e3f;
|
||||
}
|
||||
|
||||
.minecraft-button {
|
||||
background-color: #a9a9a9;
|
||||
border: 1px solid #333;
|
||||
border-radius: 5px;
|
||||
padding: 10px 20px;
|
||||
font-size: 16px;
|
||||
font-weight: bold;
|
||||
text-transform: uppercase;
|
||||
cursor: pointer;
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.minecraft-button:hover {
|
||||
background-color: #bdbdbd;
|
||||
}
|
||||
|
||||
.minecraft-button:active {
|
||||
background-color: #8a8a8a;
|
||||
}
|
||||
|
||||
.bottom-bar {
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
padding: 10px 20px;
|
||||
background-color: #2c2c2c;
|
||||
color: #ddd;
|
||||
border-top: 1px solid #333;
|
||||
box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.2);
|
||||
}
|
||||
|
||||
.version-label {
|
||||
margin-right: 10px;
|
||||
}
|
||||
.downloads {
|
||||
margin-top: 20px;
|
||||
}
|
||||
|
||||
.download-link {
|
||||
display: block;
|
||||
background-color: #048239;
|
||||
color: #fff;
|
||||
text-decoration: none;
|
||||
padding: 10px 20px;
|
||||
border-radius: 5px;
|
||||
margin-bottom: 10px;
|
||||
transition: background-color 0.3s;
|
||||
}
|
||||
|
||||
.download-link:hover {
|
||||
background-color: #00cc00;
|
||||
}
|
||||
#username-form {
|
||||
margin-top: 20px;
|
||||
}
|
||||
|
||||
#username-input {
|
||||
width: calc(100% - 22px);
|
||||
padding: 10px;
|
||||
margin-bottom: 10px;
|
||||
border: none;
|
||||
border-radius: 3px;
|
||||
background-color: #333;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.username-button {
|
||||
width: 100%;
|
||||
padding: 10px;
|
||||
border: none;
|
||||
border-radius: 3px;
|
||||
background-color: #00cc00;
|
||||
color: #fff;
|
||||
cursor: pointer;
|
||||
transition: background-color 0.2s;
|
||||
}
|
||||
|
||||
.username-button:hover {
|
||||
background-color: #00ff00;
|
||||
}
|
||||
10
public/resources/styles/style.css
Normal file
10
public/resources/styles/style.css
Normal file
@@ -0,0 +1,10 @@
|
||||
/** don't ask me what this is, look in /views/layout.pug **/
|
||||
|
||||
body {
|
||||
padding: 50px;
|
||||
font: 14px "Lucida Grande", Helvetica, Arial, sans-serif;
|
||||
}
|
||||
|
||||
a {
|
||||
color: #00B7FF;
|
||||
}
|
||||
375
public/resources/styles/updates.css
Normal file
375
public/resources/styles/updates.css
Normal file
@@ -0,0 +1,375 @@
|
||||
body {
|
||||
margin: 0;
|
||||
font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
|
||||
background-color: #1e1e1e;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.launcher {
|
||||
width: 900px;
|
||||
height: 600px;
|
||||
margin: 50px auto;
|
||||
background-color: #333;
|
||||
border-radius: 8px;
|
||||
overflow: hidden;
|
||||
box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.title-bar {
|
||||
background-color: #2c2c2c;
|
||||
padding: 10px;
|
||||
text-align: center;
|
||||
color: #ddd;
|
||||
font-size: 14px;
|
||||
font-weight: 600;
|
||||
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
|
||||
}
|
||||
|
||||
.content {
|
||||
display: flex;
|
||||
flex: 1;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.sidebar {
|
||||
background-color: #242424;
|
||||
width: 200px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
flex-shrink: 0;
|
||||
border-right: 1px solid #333;
|
||||
}
|
||||
|
||||
.profile {
|
||||
padding: 20px 10px;
|
||||
border-bottom: 1px solid #333;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.profile-name {
|
||||
font-weight: bold;
|
||||
display: block;
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
.profile-status {
|
||||
font-size: 12px;
|
||||
color: #00cc00;
|
||||
display: block;
|
||||
margin-top: 5px;
|
||||
}
|
||||
|
||||
nav {
|
||||
list-style-type: none;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
flex-grow: 1;
|
||||
}
|
||||
|
||||
.nav-item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding: 15px 20px;
|
||||
cursor: pointer;
|
||||
transition: background-color 0.2s;
|
||||
}
|
||||
|
||||
.nav-item:hover,
|
||||
.nav-item.selected {
|
||||
background-color: #444;
|
||||
}
|
||||
|
||||
.nav-icon {
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
margin-right: 15px;
|
||||
}
|
||||
|
||||
.nav-text {
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.main-panel {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
background-color: #202020;
|
||||
}
|
||||
|
||||
.top-bar {
|
||||
background-color: #2c2c2c;
|
||||
padding: 15px 20px;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
color: #ddd;
|
||||
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.game-title {
|
||||
font-size: 18px;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.tabs {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.tab {
|
||||
margin-left: 20px;
|
||||
cursor: pointer;
|
||||
color: #888;
|
||||
text-transform: uppercase;
|
||||
font-size: 14px;
|
||||
transition: color 0.2s;
|
||||
}
|
||||
|
||||
.tab:hover,
|
||||
.tab.selected {
|
||||
color: #00cc00;
|
||||
}
|
||||
|
||||
.main-content {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
background-color: #202020;
|
||||
padding: 20px;
|
||||
box-sizing: border-box;
|
||||
position: relative;
|
||||
overflow-y: auto;
|
||||
scrollbar-width: thin;
|
||||
scrollbar-color: #048239 #035525;
|
||||
}
|
||||
|
||||
.main-content::-webkit-scrollbar {
|
||||
width: 12px;
|
||||
background-color: #035525;
|
||||
}
|
||||
.main-content::-webkit-scrollbar-thumb {
|
||||
background-color: #048239;
|
||||
border-radius: 10px;
|
||||
border: 2px solid #4e4e50;
|
||||
}
|
||||
|
||||
.main-content::-webkit-scrollbar-track {
|
||||
background-color: #035525;
|
||||
}
|
||||
|
||||
.main-content::-webkit-scrollbar-thumb:hover {
|
||||
background-color: #127e3f;
|
||||
}
|
||||
|
||||
.minecraft-image {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
.installations {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
width: 100%;
|
||||
background-color: #292929;
|
||||
box-sizing: border-box;
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
padding: 10px 20px;
|
||||
border-top: 1px solid #333;
|
||||
}
|
||||
|
||||
.custom-select-wrapper {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
width: 250px;
|
||||
z-index: 9999;
|
||||
}
|
||||
|
||||
.custom-select {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-family: "MinecraftRegular", sans-serif;
|
||||
font-size: 1em;
|
||||
padding: 7px;
|
||||
border: 2px solid #000;
|
||||
background-color: #048239;
|
||||
color: #fff;
|
||||
cursor: pointer;
|
||||
box-shadow: 4px 4px #4e4e50;
|
||||
user-select: none;
|
||||
z-index: 9999;
|
||||
}
|
||||
|
||||
.custom-select.open {
|
||||
border-radius: 5px 5px 0 0;
|
||||
}
|
||||
|
||||
.custom-options {
|
||||
position: absolute;
|
||||
top: calc(100% + -238px);
|
||||
left: 0;
|
||||
right: 0;
|
||||
border: 2px solid #000;
|
||||
border-top: none;
|
||||
background-color: #035525;
|
||||
box-shadow: 4px 4px #4e4e50;
|
||||
z-index: 9999;
|
||||
display: none;
|
||||
border-radius: 0 0 5px 5px;
|
||||
color: #fff;
|
||||
max-height: 200px;
|
||||
overflow-y: auto;
|
||||
direction: rtl;
|
||||
}
|
||||
|
||||
.custom-options.open {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.custom-options div {
|
||||
direction: ltr;
|
||||
}
|
||||
|
||||
.custom-option {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding: 10px;
|
||||
cursor: pointer;
|
||||
border-bottom: 1px solid #000;
|
||||
z-index: 9999;
|
||||
}
|
||||
|
||||
.custom-option:last-child {
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
.custom-option:hover {
|
||||
background-color: #127e3f;
|
||||
}
|
||||
|
||||
.custom-option img {
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
||||
.play-button {
|
||||
background-color: #00cc00;
|
||||
border: none;
|
||||
padding: 10px 40px;
|
||||
border-radius: 5px;
|
||||
cursor: pointer;
|
||||
color: #fff;
|
||||
font-size: 16px;
|
||||
font-weight: bold;
|
||||
text-transform: uppercase;
|
||||
transition: background-color 0.2s;
|
||||
}
|
||||
|
||||
.play-button:hover {
|
||||
background-color: #00ff00;
|
||||
}
|
||||
|
||||
.bottom-bar {
|
||||
background-color: #2c2c2c;
|
||||
padding: 10px 20px;
|
||||
text-align: right;
|
||||
color: #ddd;
|
||||
border-top: 1px solid #333;
|
||||
box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.2);
|
||||
}
|
||||
|
||||
.username {
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.news-item {
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
.news-item li {
|
||||
padding-left: 20px;
|
||||
}
|
||||
|
||||
.custom-options::-webkit-scrollbar {
|
||||
width: 12px;
|
||||
background-color: #035525;
|
||||
}
|
||||
|
||||
.custom-options::-webkit-scrollbar-thumb {
|
||||
background-color: #048239;
|
||||
border-radius: 10px;
|
||||
border: 2px solid #4e4e50;
|
||||
}
|
||||
|
||||
.custom-options {
|
||||
scrollbar-width: thin;
|
||||
scrollbar-color: #048239 #035525;
|
||||
}
|
||||
|
||||
.custom-options::-webkit-scrollbar-track {
|
||||
background-color: #035525;
|
||||
}
|
||||
|
||||
.custom-options::-webkit-scrollbar-thumb:hover {
|
||||
background-color: #127e3f;
|
||||
}
|
||||
|
||||
.minecraft-button {
|
||||
background-color: #a9a9a9;
|
||||
border: 1px solid #333;
|
||||
border-radius: 5px;
|
||||
padding: 10px 20px;
|
||||
font-size: 16px;
|
||||
font-weight: bold;
|
||||
text-transform: uppercase;
|
||||
cursor: pointer;
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.minecraft-button:hover {
|
||||
background-color: #bdbdbd;
|
||||
}
|
||||
|
||||
.minecraft-button:active {
|
||||
background-color: #8a8a8a;
|
||||
}
|
||||
|
||||
.bottom-bar {
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
padding: 10px 20px;
|
||||
background-color: #2c2c2c;
|
||||
color: #ddd;
|
||||
border-top: 1px solid #333;
|
||||
box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.2);
|
||||
}
|
||||
|
||||
.version-label {
|
||||
margin-right: 10px;
|
||||
}
|
||||
.downloads {
|
||||
margin-top: 20px;
|
||||
}
|
||||
|
||||
.download-link {
|
||||
display: block;
|
||||
background-color: #048239;
|
||||
color: #fff;
|
||||
text-decoration: none;
|
||||
padding: 10px 20px;
|
||||
border-radius: 5px;
|
||||
margin-bottom: 10px;
|
||||
transition: background-color 0.3s;
|
||||
}
|
||||
|
||||
.download-link:hover {
|
||||
background-color: #00cc00;
|
||||
}
|
||||
Reference in New Issue
Block a user