Styled a new overlay.
This commit is contained in:
parent
fa8f439dec
commit
5a47a0a5e1
@ -105,8 +105,9 @@ section { margin-top: 1rem; }
|
||||
align-items: center;
|
||||
background-color: var(--overlay-background-color);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
height: 100%;
|
||||
flex-direction: row;
|
||||
height: 100%;
|
||||
justify-content: space-between;
|
||||
left: 0;
|
||||
max-height: 100%;
|
||||
position: fixed;
|
||||
@ -114,18 +115,39 @@ section { margin-top: 1rem; }
|
||||
visibility: hidden;
|
||||
width: 100%; }
|
||||
|
||||
#overlay video,
|
||||
#overlay audio,
|
||||
#overlay img {
|
||||
#overlay div {
|
||||
align-items: center;
|
||||
display: flex;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
z-index: 9999; }
|
||||
|
||||
#overlay :is(video, audio, img) {
|
||||
margin: auto;
|
||||
max-height: 100%;
|
||||
max-width: 86%;
|
||||
}
|
||||
max-width: 86%; }
|
||||
|
||||
#overlay span {
|
||||
bottom: 0;
|
||||
color: var(--background-color);
|
||||
left: 0;
|
||||
position: fixed;
|
||||
text-shadow: 0 0 .3rem var(--secondary-color);
|
||||
}
|
||||
z-index: 999; }
|
||||
|
||||
#overlay button {
|
||||
background: none;
|
||||
border: none;
|
||||
color: var(--background-color);
|
||||
font: inherit;
|
||||
font-size: 2rem;
|
||||
padding: 0 1rem;
|
||||
height: 100%;
|
||||
z-index: 999; }
|
||||
|
||||
#overlay button:hover {
|
||||
background-color: var(--background-color);
|
||||
color: var(--primary-color); }
|
||||
|
||||
table { overflow-y: scroll; width: 100%; }
|
||||
|
||||
@ -153,25 +175,15 @@ td a:hover { transition: none; }
|
||||
td:nth-child(2),
|
||||
td:last-child { white-space: nowrap; }
|
||||
|
||||
thead tr th.clickable {
|
||||
cursor: pointer;
|
||||
}
|
||||
thead tr th.clickable { cursor: pointer; }
|
||||
|
||||
thead tr th.clickable:hover {
|
||||
color: var(--secondary-color);
|
||||
}
|
||||
thead tr th.clickable:hover { color: var(--secondary-color); }
|
||||
|
||||
thead tr th.clickable:not(.sort-up):not(.sort-down)::after {
|
||||
content: '⇅';
|
||||
}
|
||||
thead tr th.clickable:not(.sort-up):not(.sort-down)::after { content: '⇅'; }
|
||||
|
||||
thead tr th.clickable.sort-up::after {
|
||||
content: '↑';
|
||||
}
|
||||
thead tr th.clickable.sort-up::after { content: '↑'; }
|
||||
|
||||
thead tr th.clickable.sort-down::after {
|
||||
content: '↓';
|
||||
}
|
||||
thead tr th.clickable.sort-down::after { content: '↓'; }
|
||||
|
||||
footer {
|
||||
font-size: .8rem;
|
||||
|
Loading…
Reference in New Issue
Block a user