Files
filebrowser/assets/src/css/base.css
T

164 lines
2.2 KiB
CSS
Raw Normal View History

2017-06-29 21:46:08 +01:00
body {
2017-07-04 16:55:36 +01:00
font-family: 'Roboto', sans-serif;
padding-top: 4em;
background-color: #f8f8f8;
user-select: none;
2017-07-07 20:00:32 +01:00
color: #212121;
2017-06-29 21:46:08 +01:00
}
* {
2017-07-04 16:55:36 +01:00
box-sizing: border-box;
2017-06-29 21:46:08 +01:00
}
*,
*:hover,
*:active,
*:focus {
2017-07-04 16:55:36 +01:00
outline: 0
2017-06-29 21:46:08 +01:00
}
a {
2017-07-04 16:55:36 +01:00
text-decoration: none;
2017-06-29 21:46:08 +01:00
}
img {
2017-07-04 16:55:36 +01:00
max-width: 100%;
2017-06-29 21:46:08 +01:00
}
audio,
video {
2017-07-04 16:55:36 +01:00
width: 100%;
2017-06-29 21:46:08 +01:00
}
pre {
2017-07-04 16:55:36 +01:00
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 {
2017-07-03 10:40:24 +01:00
outline: 0 !important;
}
input[type="submit"],
2017-06-29 21:46:08 +01:00
button {
2017-07-04 16:55:36 +01:00
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;
2017-06-29 21:46:08 +01:00
}
2017-07-03 10:40:24 +01:00
input[type="submit"]:hover,
2017-06-29 21:46:08 +01:00
button:hover {
2017-07-04 16:55:36 +01:00
background-color: #1E88E5;
2017-06-29 21:46:08 +01:00
}
.mobile-only {
2017-07-04 16:55:36 +01:00
display: none !important;
2017-06-29 21:46:08 +01:00
}
.container {
2017-07-04 16:55:36 +01:00
width: 95%;
max-width: 960px;
margin: 1em auto 0;
2017-06-29 21:46:08 +01:00
}
i.spin {
2017-07-04 16:55:36 +01:00
animation: 1s spin linear infinite;
2017-06-29 21:46:08 +01:00
}
#app {
2017-07-04 16:55:36 +01:00
transition: .2s ease padding;
2017-06-29 21:46:08 +01:00
}
#app.multiple {
2017-07-04 16:55:36 +01:00
padding-bottom: 4em;
2017-06-29 21:46:08 +01:00
}
nav {
2017-07-04 16:55:36 +01:00
width: 16em;
position: fixed;
top: 4em;
left: 0;
2017-06-29 21:46:08 +01:00
}
nav .action {
2017-07-04 16:55:36 +01:00
width: 100%;
display: block;
border-radius: 0;
font-size: 1.1em;
padding: .5em;
2017-07-18 14:43:16 +01:00
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
2017-06-29 21:46:08 +01:00
}
2017-07-04 16:55:36 +01:00
nav>div {
border-top: 1px solid rgba(0, 0, 0, 0.05);
2017-06-29 21:46:08 +01:00
}
nav .action>* {
2017-07-04 16:55:36 +01:00
vertical-align: middle;
2017-06-29 21:46:08 +01:00
}
main {
2017-07-04 16:55:36 +01:00
min-height: 1em;
2017-07-06 12:23:18 +01:00
margin: 0 1em 1em auto;
2017-07-04 16:55:36 +01:00
width: calc(100% - 19em);
2017-06-29 21:46:08 +01:00
}
2017-07-10 10:30:51 +01:00
2017-07-10 14:02:21 +01:00
#breadcrumbs {
height: 3em;
border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
2017-07-10 10:30:51 +01:00
#breadcrumbs span,
#breadcrumbs {
display: flex;
align-items: center;
color: #6f6f6f;
}
#breadcrumbs a {
2017-07-28 11:22:44 +01:00
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;
2017-07-10 10:30:51 +01:00
}
2017-08-15 11:08:58 +01:00
#progress {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 3px;
z-index: 9999999999;
}
#progress div {
height: 100%;
background-color: #40c4ff;
width: 0;
transition: .2s ease width;
}