mirror of
https://github.com/filebrowser/filebrowser.git
synced 2025-05-09 03:32:56 +00:00

Former-commit-id: 17ce92cdd1f156138d448102dcda9675a602d421 [formerly 7d28054d44850a88aa9bffd1737b698c857d5df2] [formerly ff0b8db379ecafeb7f2adbcb9704f7519d3288a7 [formerly ae28c3cfa910314a1df124e07f35b33a5c913b88]] Former-commit-id: 1557dd533c6ad86ff5e51c18e366b0a873ac1a17 [formerly b338497306c0309166cd650a5f316e0f494ea7eb] Former-commit-id: 37cabc176211fd59d3800bb1e121f491d390c491
138 lines
2.0 KiB
CSS
138 lines
2.0 KiB
CSS
body {
|
|
font-family: 'Roboto', sans-serif;
|
|
padding-top: 4em;
|
|
background-color: #f8f8f8;
|
|
user-select: none;
|
|
}
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
*,
|
|
*:hover,
|
|
*:active,
|
|
*:focus {
|
|
outline: 0
|
|
}
|
|
|
|
a {
|
|
text-decoration: none;
|
|
}
|
|
|
|
img {
|
|
max-width: 100%;
|
|
}
|
|
|
|
audio,
|
|
video {
|
|
width: 100%;
|
|
}
|
|
|
|
pre {
|
|
padding: 1em;
|
|
border: 1px solid #e6e6e6;
|
|
border-radius: 0.5em;
|
|
background-color: #f5f5f5;
|
|
white-space: pre-wrap;
|
|
white-space: -moz-pre-wrap;
|
|
white-space: -pre-wrap;
|
|
white-space: -o-pre-wrap;
|
|
word-wrap: break-word;
|
|
}
|
|
|
|
input, button {
|
|
outline: 0 !important;
|
|
}
|
|
|
|
input[type="submit"],
|
|
button {
|
|
border: 0;
|
|
padding: .5em 1em;
|
|
margin-left: .5em;
|
|
border-radius: .1em;
|
|
cursor: pointer;
|
|
background: #2196f3;
|
|
color: #fff;
|
|
border: 1px solid rgba(0, 0, 0, 0.05);
|
|
box-shadow: 0 0 5px rgba(0, 0, 0, 0.05);
|
|
transition: .1s ease all;
|
|
}
|
|
|
|
input[type="submit"]:hover,
|
|
button:hover {
|
|
background-color: #1E88E5;
|
|
}
|
|
|
|
.mobile-only {
|
|
display: none !important;
|
|
}
|
|
|
|
.container {
|
|
width: 95%;
|
|
max-width: 960px;
|
|
margin: 1em auto 0;
|
|
}
|
|
|
|
i.spin {
|
|
animation: 1s spin linear infinite;
|
|
}
|
|
|
|
#app {
|
|
transition: .2s ease padding;
|
|
}
|
|
|
|
#app.multiple {
|
|
padding-bottom: 4em;
|
|
}
|
|
|
|
nav {
|
|
width: 16em;
|
|
position: fixed;
|
|
top: 4em;
|
|
left: 0;
|
|
}
|
|
|
|
nav .action {
|
|
width: 100%;
|
|
display: block;
|
|
border-radius: 0;
|
|
font-size: 1.1em;
|
|
padding: .5em;
|
|
}
|
|
|
|
nav > div {
|
|
border-top: 1px solid rgba(0, 0, 0, 0.05);
|
|
}
|
|
|
|
nav .action>* {
|
|
vertical-align: middle;
|
|
}
|
|
|
|
main {
|
|
min-height: 1em;
|
|
margin: 0 1em 0 auto;
|
|
width: calc(100% - 19em);
|
|
}
|
|
|
|
@media (max-width: 1024px) {
|
|
nav {
|
|
height: 100%;
|
|
background: #fff;
|
|
z-index: 9999;
|
|
border-top: 1px solid rgba(0, 0, 0, 0.075);
|
|
border-right: 1px solid rgba(0, 0, 0, 0.075);
|
|
box-shadow: 0 5px 5px rgba(0, 0, 0, 0.1);
|
|
transition: .2s ease left;
|
|
left: -16em;
|
|
}
|
|
nav.active {
|
|
left: 0;
|
|
}
|
|
main {
|
|
width: 100%;
|
|
margin: 0;
|
|
padding: 0 1em;
|
|
}
|
|
}
|