133 lines
2.8 KiB
CSS
133 lines
2.8 KiB
CSS
/* general styles */
|
|
html {
|
|
background: white;
|
|
color: black;
|
|
margin: 0;
|
|
font-family: "Source Code Sans", Helvetica, Arial, sans-serif;
|
|
font-size: 0.7em;
|
|
overflow-y: scroll;
|
|
}
|
|
a, a:visited {
|
|
color: gray;
|
|
text-decoration: none;
|
|
}
|
|
a:hover, a:focus {
|
|
color: black;
|
|
}
|
|
|
|
/* listing window */
|
|
html.fancy #list { display: block }
|
|
html.fancy #list thead { display: none }
|
|
html.fancy #list tbody { display: block }
|
|
html.fancy #list tbody tr {
|
|
display: inline-block;
|
|
width: 8em;
|
|
height: 9.5em;
|
|
overflow: hidden;
|
|
margin: 0.2em;
|
|
padding: 0.2em;
|
|
border-radius: 1em;
|
|
position: relative;
|
|
}
|
|
html.fancy #list tbody tr:hover {
|
|
background: #ddd;
|
|
overflow: initial;
|
|
}
|
|
html.fancy #list tbody tr.marked { background: #afa; }
|
|
html.fancy #list tbody td {
|
|
display: block;
|
|
text-align: center;
|
|
}
|
|
html.fancy #list tbody tr:not(:hover) td:not(:first-child) { display: none }
|
|
html.fancy #list tbody td:last-child {
|
|
position: absolute;
|
|
top: -0.5em;
|
|
right: -0.5em;
|
|
z-index: 500;
|
|
}
|
|
html.fancy #list tbody td:last-child a {
|
|
/*padding: 0.3em;
|
|
background: black;
|
|
color: white;
|
|
border-radius: 0.5em;
|
|
height: 1em;
|
|
line-height: 1em;*/
|
|
opacity: 0.5;
|
|
}
|
|
html.fancy #list tbody td:last-child a:hover {
|
|
opacity: initial;
|
|
}
|
|
html.fancy #list tbody td:first-child img {
|
|
max-width: 5em;
|
|
max-height: 5em;
|
|
display: block;
|
|
margin-right: auto;
|
|
margin-left: auto;
|
|
}
|
|
html.listing-window body {
|
|
margin-top: 3em;
|
|
}
|
|
html.listing-window header {
|
|
position: fixed;
|
|
top: 0;
|
|
right: 0;
|
|
left: 0;
|
|
height: 3em;
|
|
background: gray;
|
|
padding: 0 1em;
|
|
box-sizing: border-box;
|
|
border-bottom: black solid 1px;
|
|
z-index: 900;
|
|
}
|
|
html.listing-window header>* {
|
|
display: inline-block;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
#upload-form { display: inline-block; }
|
|
#breadcrumb { font-size: 1em; }
|
|
#breadcrumb a, #breadcrumb a:visited { color: black; }
|
|
html:not(.fancy) #list tbody tr td + td + td {
|
|
border-left: 1px solid gray;
|
|
}
|
|
html:not(.fancy) #list tbody tr td:first-child {
|
|
border-right: 1px solid gray;
|
|
}
|
|
#list tbody tr td:nth-child(2) { text-align: right }
|
|
#list tbody tr td:nth-child(2):after { content: 'B' }
|
|
#list tbody tr.dir td:nth-child(2) { visibility: hidden }
|
|
html.fancy #list tbody tr.dir td:nth-child(2) { display: none }
|
|
#list tbody tr:first-child, html.fancy #list tbody tr:first-child { display: none }
|
|
#list tbody tr td:first-child img { display: none }
|
|
#menu {
|
|
position: absolute;
|
|
top: 0;
|
|
right: 1em;
|
|
}
|
|
/*#fancy-toggle { color: red; }*/
|
|
/*html.fancy #fancy-toggle { color: green; } */
|
|
|
|
/* upload window */
|
|
html.upload-window #uploads {
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
html.upload-window #uploads li {
|
|
margin: 0;
|
|
padding: 0.4em;
|
|
list-style: none;
|
|
}
|
|
html.upload-window #uploads li.active {
|
|
border: white 1px solid;
|
|
background: #aaf;
|
|
}
|
|
html.upload-window #uploads progress {
|
|
width: 100%;
|
|
}
|
|
html.upload-window #uploads li.finished {
|
|
background: white;
|
|
}
|
|
html.upload-window #uploads li:hover {
|
|
background: #afa;
|
|
}
|