51085beba3
Met klassiek onbruikbare interface dit jaar.
316 lines
4.7 KiB
CSS
316 lines
4.7 KiB
CSS
body {
|
|
background-color: #01817F;
|
|
margin: 0;
|
|
height: 100%;
|
|
width: 100%;
|
|
background-position: 50% 50%;
|
|
}
|
|
|
|
#main-window {
|
|
position: fixed;
|
|
z-index:99;
|
|
min-height: 520px;
|
|
width:560px;
|
|
overflow:hidden;
|
|
display: flex;
|
|
flex-flow: column nowrap;
|
|
justify-content: space-between;
|
|
margin: 10px;
|
|
}
|
|
@media (max-width: 600px) {
|
|
#main-window {
|
|
margin: 0;
|
|
transform: none !important;
|
|
left: 0;
|
|
width: calc(100% - 6px);
|
|
}
|
|
}
|
|
|
|
input[type=submit] {
|
|
filter: contrast(1);
|
|
}
|
|
|
|
input#spotify-input {
|
|
width: 100%;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
input#spotify-input + input[type=submit]{
|
|
background-image: url(img/sound.png);
|
|
background-repeat:no-repeat;
|
|
padding: 4px 8px 4px 24px;
|
|
height: 16px;
|
|
min-width: 0;
|
|
background-position: 4px 50%;
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
.tree-view.overview {
|
|
height: 400px;
|
|
overflow-y: scroll;
|
|
}
|
|
|
|
#bsod, .hide {
|
|
display: none;
|
|
}
|
|
|
|
.offscreen {
|
|
clip: rect(0 0 0 0);
|
|
clip-path: inset(50%);
|
|
height: 1px;
|
|
overflow: hidden;
|
|
position: absolute;
|
|
white-space: nowrap;
|
|
width: 1px;
|
|
}
|
|
|
|
.window.popup {
|
|
position: fixed;
|
|
z-index: 100;
|
|
top: calc(50% - 75px);
|
|
left: calc(50% - 150px);
|
|
min-width: 300px;
|
|
}
|
|
|
|
.window.popup.login {
|
|
width: 380px;
|
|
left: calc(50% - 190px);
|
|
}
|
|
|
|
.window.popup .window-body {
|
|
display: flex;
|
|
flex-flow: row nowrap;
|
|
}
|
|
.window.popup .window-body .text {
|
|
display: flex;
|
|
flex-flow: column nowrap;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.window.popup .window-body .icon {
|
|
width: 32px;
|
|
height: 32px;
|
|
padding: 16px;
|
|
background-position: center center;
|
|
background-repeat: no-repeat;
|
|
background-image: url('img/check.png');
|
|
}
|
|
|
|
.window.popup .window-body .icon.login {
|
|
background-image: url('img/login.png');
|
|
background-attachment:unset;
|
|
}
|
|
|
|
.window.popup .window-body .icon.error {
|
|
background-image: url('img/error.png');
|
|
}
|
|
|
|
.window.popup .window-body .icon.warning {
|
|
background-image: url('img/warning.png');
|
|
}
|
|
|
|
|
|
.window {
|
|
flex-grow: 1;
|
|
flex-shrink: 0;
|
|
max-width:calc(100% - 5px);
|
|
}
|
|
|
|
.window.hide {
|
|
display:none;
|
|
}
|
|
|
|
.window form {
|
|
margin: 0;
|
|
}
|
|
|
|
.window-body {
|
|
flex-grow: 1;
|
|
display: flex;
|
|
flex-flow: column nowrap;
|
|
}
|
|
|
|
/* tab menu fix */
|
|
menu[role="tablist"] > li > a {
|
|
padding: 6px;
|
|
margin: 0;
|
|
}
|
|
|
|
iframe {
|
|
opacity: 0;
|
|
position: fixed;
|
|
left: 100%;
|
|
}
|
|
|
|
/* Media player */
|
|
|
|
#album {
|
|
background: black;
|
|
width: 100%;
|
|
display: flex;
|
|
flex-flow: column nowrap;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
|
|
#album h1, #album h2 {
|
|
color: white;
|
|
margin: 0;
|
|
overflow: hidden;
|
|
max-width: 100%;
|
|
white-space: nowrap;
|
|
text-overflow:ellipsis;
|
|
}
|
|
|
|
#album h1 {
|
|
font-size: 2rem;
|
|
}
|
|
#album h2 {
|
|
font-size: 1.5rem;
|
|
font-weight: normal;
|
|
}
|
|
#album img {
|
|
width: 256px;
|
|
}
|
|
|
|
#seek {
|
|
height: 22px;
|
|
}
|
|
|
|
#media-control button {
|
|
min-width: 0;
|
|
width: 20px;
|
|
}
|
|
|
|
/* Clippy */
|
|
.clippy {
|
|
position: fixed;
|
|
z-index:99;
|
|
right: 5px;
|
|
bottom: 0px;
|
|
display: flex;
|
|
flex-flow: column nowrap;
|
|
align-items: flex-end;
|
|
width: 256px;
|
|
}
|
|
|
|
.clippy .body {
|
|
background: lightyellow;
|
|
color: black;
|
|
padding: 10px;
|
|
border-radius: 10px;
|
|
border: 1px solid black;
|
|
position: relative;
|
|
}
|
|
|
|
.clippy .body .content {
|
|
max-height:calc(100vh - 197px);
|
|
overflow-y: scroll;
|
|
}
|
|
|
|
@media (max-width: 500px) {
|
|
.clippy {
|
|
width: calc(100vw - 10px);
|
|
}
|
|
.clippy .body.hide {
|
|
display: none;
|
|
}
|
|
.body.hide ~ img {
|
|
display:none;
|
|
}
|
|
}
|
|
|
|
.clippy .body.hide {
|
|
display: none;
|
|
}
|
|
|
|
.clippy .body::after {
|
|
content: "";
|
|
position: absolute;
|
|
bottom: -13px;
|
|
right: 128px;
|
|
border-width: 13px 17px 0;
|
|
border-style: solid;
|
|
border-color: lightyellow transparent;
|
|
display: block;
|
|
width: 0;
|
|
}
|
|
|
|
.clippy .body::before {
|
|
content: "";
|
|
position: absolute;
|
|
bottom: -14px;
|
|
right: 127px;
|
|
border-width: 14px 19px 0;
|
|
border-style: solid;
|
|
border-color: black transparent;
|
|
display: block;
|
|
width: 0;
|
|
}
|
|
|
|
.clippy .body button {
|
|
background: lightyellow;
|
|
border: 1px #999 solid;
|
|
border-radius: 2px;
|
|
box-shadow: none;
|
|
margin-top: 5px;
|
|
}
|
|
|
|
.clippy img {
|
|
width: 128px;
|
|
}
|
|
|
|
#vote-stars {
|
|
display: flex;
|
|
flex-flow: row nowrap;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
|
|
#vote-stars .star-wrapper {
|
|
height: 31px;
|
|
width:160px;
|
|
}
|
|
|
|
#vote-stars a {
|
|
cursor:pointer;
|
|
display: inline-block;
|
|
width: 32px;
|
|
height: 32px;
|
|
margin-right: -2px;
|
|
background-image: url(img/star-inactive.png);
|
|
}
|
|
#vote-stars .star-wrapper:hover a {
|
|
background-image: url(img/star.png);
|
|
}
|
|
|
|
#vote-stars a:hover {
|
|
background-image: url(img/star.png);
|
|
}
|
|
|
|
#vote-stars a:hover ~ a {
|
|
background-image: url(img/star-inactive.png) !important;
|
|
}
|
|
|
|
.undo-wrapper {
|
|
display: flex;
|
|
flex-flow: row nowrap;
|
|
justify-content: center;
|
|
text-align: center;
|
|
flex-grow: 1;
|
|
align-items: center;
|
|
}
|
|
|
|
.undo-wrapper p {
|
|
flex-grow: 1;
|
|
padding: 0 5px;
|
|
}
|
|
|
|
.undo {
|
|
background-image: url(img/undo.png);
|
|
background-repeat: no-repeat;
|
|
background-position: 50% 0;
|
|
padding: 32px 0 4px 0;
|
|
height: 50px;
|
|
} |