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

* Making directory navigation prettier * Small improvements * Rice-box Former-commit-id: fff23ea4a4aeff16e650571b1e50ac556db55e64 [formerly 1395942367664c8b8cac5181a44089e54002b061] [formerly d9afe630bc365cc227da4f18f76a98fe3f1843d9 [formerly 39a6b7de3c4d65e62f6897eb03faac018a48b89e]] Former-commit-id: 1d53b93648223d539d24512ea62b0d8ef3e07531 [formerly ee5428b9cd7a1cb3105f5dc42d4dce99584faf66] Former-commit-id: 2a5352afece16ce936f736cc5a2edcdb208f8671
148 lines
2.0 KiB
CSS
148 lines
2.0 KiB
CSS
body {
|
|
font-family: 'Roboto', sans-serif;
|
|
padding-top: 4em;
|
|
background-color: #f8f8f8;
|
|
user-select: none;
|
|
color: #212121;
|
|
}
|
|
|
|
* {
|
|
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;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
nav>div {
|
|
border-top: 1px solid rgba(0, 0, 0, 0.05);
|
|
}
|
|
|
|
nav .action>* {
|
|
vertical-align: middle;
|
|
}
|
|
|
|
main {
|
|
min-height: 1em;
|
|
margin: 0 1em 1em auto;
|
|
width: calc(100% - 19em);
|
|
}
|
|
|
|
#breadcrumbs {
|
|
height: 3em;
|
|
border-bottom: 1px solid rgba(0, 0, 0, 0.05);
|
|
}
|
|
|
|
#breadcrumbs span,
|
|
#breadcrumbs {
|
|
display: flex;
|
|
align-items: center;
|
|
color: #6f6f6f;
|
|
}
|
|
|
|
#breadcrumbs a {
|
|
color: inherit;
|
|
transition: .1s ease-in;
|
|
border-radius: .125em;
|
|
}
|
|
|
|
#breadcrumbs a:hover {
|
|
background-color: rgba(0,0,0, 0.05);
|
|
}
|
|
|
|
#breadcrumbs span a {
|
|
padding: .2em;
|
|
}
|