mirror of
https://github.com/He4eT/elseifplayer.git
synced 2026-05-04 17:07:22 +00:00
Polishing the UI
This commit is contained in:
parent
54aa02555a
commit
7cbc19ed39
4 changed files with 41 additions and 11 deletions
|
|
@ -22,6 +22,14 @@
|
||||||
margin-top: var(--input-box-margin);
|
margin-top: var(--input-box-margin);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.ifplayer .inputBox::placeholder {
|
||||||
|
color: var(--main-color);
|
||||||
|
opacity: 1;
|
||||||
|
}
|
||||||
|
.ifplayer .inputBox:focus::placeholder {
|
||||||
|
opacity: 0.5;
|
||||||
|
}
|
||||||
|
|
||||||
.ifplayer .textBuffer {
|
.ifplayer .textBuffer {
|
||||||
flex: 2 1 auto;
|
flex: 2 1 auto;
|
||||||
overflow-y: scroll;
|
overflow-y: scroll;
|
||||||
|
|
|
||||||
|
|
@ -53,12 +53,19 @@ summary {
|
||||||
}
|
}
|
||||||
|
|
||||||
a:focus,
|
a:focus,
|
||||||
summary:focus {
|
a:hover,
|
||||||
background-color: hsl(0, 0%, 0%, 0.1);
|
summary:focus,
|
||||||
|
summary:hover {
|
||||||
|
opacity: 0.8;
|
||||||
}
|
}
|
||||||
|
|
||||||
a:hover,
|
*:focus {
|
||||||
summary:hover {
|
outline: 1px solid var(--main-color);
|
||||||
|
outline-offset: 3px;
|
||||||
|
}
|
||||||
|
|
||||||
|
input::placeholder {
|
||||||
|
color: var(--main-color);
|
||||||
opacity: 0.8;
|
opacity: 0.8;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -66,6 +73,14 @@ ul {
|
||||||
list-style: square;
|
list-style: square;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
hr {
|
||||||
|
border: 0;
|
||||||
|
height: 0;
|
||||||
|
border-top: 2px solid var(--main-color);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* */
|
||||||
|
|
||||||
.status {
|
.status {
|
||||||
padding: 8px;
|
padding: 8px;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -14,13 +14,25 @@
|
||||||
font: inherit;
|
font: inherit;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.view.home select {
|
||||||
|
cursor: pointer;
|
||||||
|
appearance: none;
|
||||||
|
width: 200px;
|
||||||
|
}
|
||||||
|
|
||||||
.view.home label {
|
.view.home label {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
max-width: 400px;
|
max-width: 400px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.view.home label input,
|
.view.home label input {
|
||||||
.view.home label select {
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.view.home input[type='file'] {
|
||||||
|
position: relative;
|
||||||
|
font-size: 0;
|
||||||
|
text-indent: -100%;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
|
|
||||||
|
|
@ -49,11 +49,6 @@ export default function ({ themeEngine }) {
|
||||||
}} />
|
}} />
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
<small>
|
|
||||||
Themes without borders
|
|
||||||
are better suited for small screens.
|
|
||||||
</small>
|
|
||||||
<br />
|
|
||||||
<small>
|
<small>
|
||||||
Double-click the input field during the game
|
Double-click the input field during the game
|
||||||
to enter full-screen mode.
|
to enter full-screen mode.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue