Merge pull request #158 from wehigami/main

CSS Tweaks
This commit is contained in:
SpikeHD
2023-05-10 18:02:22 -07:00
committed by GitHub
7 changed files with 38 additions and 20 deletions

View File

@@ -107,11 +107,11 @@ select:focus {
width: 100%; width: 100%;
height: 160px; height: 160px;
backdrop-filter: blur(10px);
box-shadow: inset 0px 5px 12px -3px rgb(50 50 50 / 75%);
margin: 0; margin: 0;
padding: 0; padding: 0;
backdrop-filter: blur(10px);
box-shadow: inset 0px 5px 12px -3px rgb(0,0,0,0.43);
} }
@media (max-height: 580px) { @media (max-height: 580px) {
@@ -124,4 +124,4 @@ select:focus {
.BottomSection { .BottomSection {
height: 140px; height: 140px;
} }
} }

View File

@@ -114,4 +114,4 @@ class App extends React.Component<Readonly<unknown>, IState> {
} }
} }
export default App export default App

View File

@@ -8,14 +8,12 @@
justify-content: flex-start; justify-content: flex-start;
height: 100vh; height: 100vh;
width: 80px; width: 70px;
right: 0%; right: 0%;
background-color: rgba(77, 77, 77, 0.6); z-index: 99;
}
.BarImg:hover { background-color: rgba(0, 0, 0, 0.25);
cursor: pointer;
} }
.RightBarInner > div { .RightBarInner > div {
@@ -23,16 +21,11 @@
} }
.RightBar img { .RightBar img {
height: 40px; height: 30px;
filter: invert(100%) sepia(0%) saturate(11%) hue-rotate(227deg) brightness(103%) contrast(105%); filter: invert(100%) sepia(0%) saturate(11%) hue-rotate(227deg) brightness(103%) contrast(105%);
transition: filter 0.2s ease-in-out; transition: filter 0.2s ease-in-out;
} }
.RightBar img:hover {
filter: invert(75%) sepia(0%) saturate(100%) hue-rotate(0deg) brightness(100%) contrast(100%);
}
@media (max-height: 580px) { @media (max-height: 580px) {
.RightBar { .RightBar {
height: calc(100vh - 180px); height: calc(100vh - 180px);
@@ -44,3 +37,25 @@
height: calc(100vh - 170px); height: calc(100vh - 170px);
} }
} }
.BarImg {
transition: 0.2s;
border-radius: 50%;
width: 40px;
height: 40px;
background-color: rgba(0, 0, 0, 0.685);
display: flex;
justify-content: center;
align-items: center;
border: 2px solid transparent;
}
.BarImg:hover {
cursor: pointer;
border: 2px solid #ffc920;
}
.BarImg:hover img {
transition: 0.2s;
filter: invert(72%) sepia(68%) saturate(777%) hue-rotate(341deg) brightness(113%) contrast(101%);
}

View File

@@ -24,6 +24,7 @@ export default class RightBar extends React.Component {
<div className="BarGithub BarImg" id="rightBarButtonGithub" onClick={() => this.openInBrowser(GITHUB)}> <div className="BarGithub BarImg" id="rightBarButtonGithub" onClick={() => this.openInBrowser(GITHUB)}>
<img src={Github} /> <img src={Github} />
</div> </div>
</div> </div>
</div> </div>
) )

View File

@@ -20,6 +20,8 @@
#playButton .BigButton { #playButton .BigButton {
height: 100%; height: 100%;
box-shadow: 0 0 5px 3px rgba(0, 0, 0, 0.2); box-shadow: 0 0 5px 3px rgba(0, 0, 0, 0.2);
font-size: 24px;
font-weight: 500;
} }
#serverControls { #serverControls {
@@ -127,4 +129,4 @@
#officialPlay { #officialPlay {
width: 40%; width: 40%;
} }
} }

View File

@@ -317,4 +317,4 @@ export default class ServerLaunchSection extends React.Component<IProps, IState>
</div> </div>
) )
} }
} }

View File

@@ -7,7 +7,7 @@
padding: 0 30px; padding: 0 30px;
border-radius: 5px; border-radius: 5px;
border: none; border: none;
background: linear-gradient(#ffd326, #ffc61e); background: linear-gradient(#ffcf0d, #fec004);
color: #704a1d; color: #704a1d;
font-weight: bold; font-weight: bold;
@@ -16,7 +16,7 @@
.BigButton:hover { .BigButton:hover {
cursor: pointer; cursor: pointer;
background: linear-gradient(#ffc61e, #ffd326); background: linear-gradient(#fdd841, #ffc517);
} }
.BigButton.disabled { .BigButton.disabled {