filebrowser/_embed/public/css/styles.css

1203 lines
18 KiB
CSS
Raw Normal View History

2016-07-01 09:46:09 +00:00
body {
2017-01-03 17:35:13 +00:00
font-family: 'Roboto', sans-serif;
padding-top: 7.8em;
background-color: #f8f8f8;
2016-07-01 09:46:09 +00:00
}
2016-12-30 22:57:14 +00:00
* {
2017-01-03 17:35:13 +00:00
box-sizing: border-box;
2016-07-01 09:46:09 +00:00
}
2016-12-30 22:57:14 +00:00
*,
*:hover,
*:active,
*:focus {
2017-01-03 17:35:13 +00:00
outline: 0
2016-07-01 09:46:09 +00:00
}
a {
2017-01-03 17:35:13 +00:00
text-decoration: none;
2016-07-01 09:46:09 +00:00
}
img {
2017-01-03 17:35:13 +00:00
max-width: 100%;
2016-07-01 09:46:09 +00:00
}
2017-01-02 19:55:21 +00:00
audio,
video {
2017-01-03 17:35:13 +00:00
width: 100%;
2017-01-02 19:55:21 +00:00
}
2016-12-30 22:57:14 +00:00
pre {
2017-01-03 17:35:13 +00: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;
2016-07-01 09:46:09 +00:00
}
2016-12-31 15:29:36 +00:00
button {
2017-01-03 17:35:13 +00:00
border: 0;
padding: .5em 1em;
margin-left: .5em;
border-radius: .1em;
background-color;
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;
2016-12-31 15:29:36 +00:00
}
button:hover {
2017-01-03 17:35:13 +00:00
background-color: #1E88E5;
2016-12-31 15:29:36 +00:00
}
2017-01-01 22:40:12 +00:00
.mobile-only {
2017-01-03 17:35:13 +00:00
display: none !important;
2017-01-01 22:40:12 +00:00
}
2016-12-30 22:57:14 +00:00
.container {
2017-01-03 17:35:13 +00:00
width: 95%;
max-width: 960px;
margin: 1em auto 0;
2016-07-01 09:46:09 +00:00
}
2016-12-30 22:57:14 +00:00
i.spin {
2017-01-03 17:35:13 +00:00
animation: 1s spin linear infinite;
2016-07-01 09:46:09 +00:00
}
2017-01-02 16:01:35 +00:00
/* * * * * * * * * * * * * * * *
* EDITOR *
* * * * * * * * * * * * * * * */
2016-07-01 09:46:09 +00:00
2017-01-02 16:01:35 +00:00
#editor .source {
2017-01-03 17:35:13 +00:00
display: none;
2016-07-01 09:46:09 +00:00
}
2017-01-02 16:01:35 +00:00
#editor .content {
2017-01-03 17:35:13 +00:00
background: #fff;
padding: 1em 0;
2016-07-01 09:46:09 +00:00
}
2017-01-02 16:01:35 +00:00
#editor #ace,
#editor h2,
#editor .frontmatter {
2017-01-03 17:35:13 +00:00
width: 95%;
max-width: 960px;
margin: 1em auto 0;
2016-07-01 09:46:09 +00:00
}
2017-01-02 16:01:35 +00:00
#editor h2 {
2017-01-03 17:35:13 +00:00
margin: 1.5em auto 1em;
color: rgba(0, 0, 0, 0.3);
font-weight: 500;
2016-07-01 09:46:09 +00:00
}
2017-01-02 16:01:35 +00:00
#editor .ace_gutter {
2017-01-03 17:35:13 +00:00
background-color: #fff;
2016-07-01 09:46:09 +00:00
}
2017-01-02 16:01:35 +00:00
/* * * * * * * * * * * * * * * *
* EDITOR - MARKDOWN *
* * * * * * * * * * * * * * * */
2016-07-01 09:46:09 +00:00
2017-01-02 16:01:35 +00:00
.frontmatter {
2017-01-03 17:35:13 +00:00
column-count: 3;
column-gap: 1em;
column-fill: balance;
/* display: flex; */
/* flex-wrap: wrap; */
/* justify-content: space-between; */
/* flex-grow: 1; */
2016-07-01 09:46:09 +00:00
}
2017-01-02 16:01:35 +00:00
.frontmatter label {
2017-01-03 17:35:13 +00:00
display: block;
width: calc(100% - 1em);
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
2016-07-01 09:46:09 +00:00
}
2017-01-02 16:01:35 +00:00
.frontmatter label,
.frontmatter h3 {
2017-01-03 17:35:13 +00:00
font-weight: 500;
margin: 0 0;
color: rgba(0, 0, 0, 0.6);
2017-01-02 18:49:13 +00:00
}
.frontmatter input,
.frontmatter textarea {
2017-01-03 17:35:13 +00:00
display: block;
width: 100%;
border: 0;
margin-top: .5em;
padding: 0;
line-height: 1;
2017-01-02 18:49:13 +00:00
}
.frontmatter .block,
.frontmatter fieldset[data-type="array"],
.button {
2017-01-03 17:35:13 +00:00
position: relative;
background: #fff;
border-radius: .2em;
border: 1px solid rgba(0, 0, 0, 0.075);
padding: .5em;
break-inside: avoid;
margin: 0 0 1em;
width: 100%;
display: inline-block;
2017-01-02 18:49:13 +00:00
}
2017-01-02 18:52:51 +00:00
.frontmatter fieldset[data-type="object"] {
2017-01-03 17:35:13 +00:00
position: relative;
margin: 0;
2017-01-02 18:52:51 +00:00
}
2017-01-02 18:49:13 +00:00
.frontmatter .button {
2017-01-03 17:35:13 +00:00
background-color: #2196f3;
color: #fff;
cursor: pointer;
text-align: center;
2017-01-02 18:49:13 +00:00
}
[data-type="array-item"] {
2017-01-03 17:35:13 +00:00
position: relative;
2017-01-02 18:49:13 +00:00
}
[data-type="array-item"] .action {
2017-01-03 17:35:13 +00:00
top: 0;
right: 0;
2017-01-02 18:49:13 +00:00
}
.frontmatter textarea {
2017-01-03 17:35:13 +00:00
resize: none;
2017-01-02 18:49:13 +00:00
}
[data-type="array-item"] input {
2017-01-03 17:35:13 +00:00
width: calc(100% - 1em);
2017-01-02 18:49:13 +00:00
}
.block .action,
fieldset .action {
2017-01-03 17:35:13 +00:00
position: absolute;
top: .5em;
right: .5em;
2017-01-02 18:49:13 +00:00
}
.block>.action,
fieldset>.action {
2017-01-03 17:35:13 +00:00
opacity: 0;
2017-01-02 18:49:13 +00:00
}
.block:hover>.action,
fieldset:hover>.action {
2017-01-03 17:35:13 +00:00
opacity: 1;
2017-01-02 18:49:13 +00:00
}
.block .action.add,
fieldset .action.add {
2017-01-03 17:35:13 +00:00
right: 1.5em;
2017-01-02 18:49:13 +00:00
}
.frontmatter .action i {
2017-01-03 17:35:13 +00:00
padding: 0;
font-size: 1em;
2016-07-01 09:46:09 +00:00
}
2017-01-02 16:01:35 +00:00
fieldset {
2017-01-03 17:35:13 +00:00
border: 0;
padding: 0;
2016-07-01 09:46:09 +00:00
}
2017-01-02 16:01:35 +00:00
.frontmatter>fieldset h3,
.frontmatter>.group h3 {
2017-01-03 17:35:13 +00:00
font-size: 1.5em;
margin-bottom: .5em;
2016-07-01 09:46:09 +00:00
}
2017-01-02 16:01:35 +00:00
fieldset h3,
.group h3 {
2017-01-03 17:35:13 +00:00
font-size: 0.9em;
2016-07-01 09:46:09 +00:00
}
2016-12-30 22:57:14 +00:00
/* * * * * * * * * * * * * * * *
* ACTION *
* * * * * * * * * * * * * * * */
2016-07-01 09:46:09 +00:00
2016-12-30 22:57:14 +00:00
.action {
2017-01-03 17:35:13 +00:00
display: inline-block;
cursor: pointer;
-webkit-transition: 0.2s ease all;
transition: 0.2s ease all;
border: 0;
margin: 0;
color: #546E7A;
border-radius: 50%;
2016-07-01 09:46:09 +00:00
}
2016-12-30 22:57:14 +00:00
.action.disabled {
2017-01-03 17:35:13 +00:00
opacity: 0.2;
cursor: not-allowed;
2016-07-01 09:46:09 +00:00
}
2016-12-30 22:57:14 +00:00
.action i {
2017-01-03 17:35:13 +00:00
padding: 0.4em;
-webkit-transition: 0.2s ease-in-out all;
transition: 0.2s ease-in-out all;
border-radius: 50%;
2016-07-01 09:46:09 +00:00
}
2016-12-30 22:57:14 +00:00
.action:hover i {
2017-01-03 17:35:13 +00:00
background-color: rgba(0, 0, 0, .1);
2016-07-01 09:46:09 +00:00
}
2016-12-30 22:57:14 +00:00
.action ul {
2017-01-03 17:35:13 +00:00
position: absolute;
top: 0;
color: #7d7d7d;
list-style: none;
margin: 0;
padding: 0;
flex-direction: column;
display: flex;
2016-07-01 09:46:09 +00:00
}
2017-01-01 23:38:11 +00:00
.action ul li {
2017-01-03 17:35:13 +00:00
line-height: 1;
padding: .7em;
transition: .1s ease background-color;
2016-07-01 09:46:09 +00:00
}
2017-01-01 23:38:11 +00:00
.action ul li:hover {
2017-01-03 17:35:13 +00:00
background-color: rgba(0, 0, 0, 0.04);
2016-07-01 09:46:09 +00:00
}
2016-12-30 22:57:14 +00:00
/* * * * * * * * * * * * * * * *
* NEW FILE/DIR *
* * * * * * * * * * * * * * * */
2016-07-01 09:46:09 +00:00
2016-12-30 22:57:14 +00:00
.floating {
2017-01-03 17:35:13 +00:00
position: fixed;
bottom: 1em;
right: 1em;
2016-07-01 09:46:09 +00:00
}
2016-12-30 22:57:14 +00:00
.floating .action {
2017-01-03 17:35:13 +00:00
background-color: #2196f3 !important;
color: #fff;
box-shadow: 0 1px 3px rgba(0, 0, 0, .06), 0 1px 2px rgba(0, 0, 0, .12);
2016-07-05 16:46:45 +00:00
}
2016-12-30 22:57:14 +00:00
#newdir {
2017-01-03 17:35:13 +00:00
position: fixed;
bottom: 1.3em;
right: 5em;
transition: .2s ease all;
opacity: 0;
border: 0;
box-shadow: 0 1px 3px rgba(0, 0, 0, .12), 0 1px 2px rgba(0, 0, 0, .24);
padding: .5em;
width: 22em;
border-radius: .2em;
2016-12-30 22:57:14 +00:00
}
#newdir.enabled {
2017-01-03 17:35:13 +00:00
opacity: 1;
2016-07-01 09:46:09 +00:00
}
2016-12-30 22:57:14 +00:00
/* * * * * * * * * * * * * * * *
* HEADER *
* * * * * * * * * * * * * * * */
2016-07-01 09:46:09 +00:00
header {
2017-01-03 17:35:13 +00:00
z-index: 1000;
background-color: #fff;
border-bottom: 1px solid rgba(0, 0, 0, 0.075);
box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
position: fixed;
top: 0;
left: 0;
width: 100%;
padding: 0;
2016-07-01 09:46:09 +00:00
}
header a,
2016-12-30 22:57:14 +00:00
header a:hover {
2017-01-03 17:35:13 +00:00
color: inherit;
2016-07-01 09:46:09 +00:00
}
header p i {
2017-01-03 17:35:13 +00:00
font-size: 1em !important;
color: rgba(255, 255, 255, .31);
2016-07-01 09:46:09 +00:00
}
2016-12-30 22:57:14 +00:00
header>div {
2017-01-03 17:35:13 +00:00
display: flex;
width: 100%;
padding: 0.5em 0.5em 0.5em 1em;
align-items: center;
2016-12-30 22:57:14 +00:00
}
header p {
2017-01-03 17:35:13 +00:00
display: inline-block;
margin: 0;
vertical-align: middle;
2016-12-30 22:57:14 +00:00
}
header p a,
header p a:hover {
2017-01-03 17:35:13 +00:00
color: inherit;
2016-12-30 22:57:14 +00:00
}
header .action span {
2017-01-03 17:35:13 +00:00
display: none;
2016-12-30 22:57:14 +00:00
}
header>div div {
2017-01-03 17:35:13 +00:00
vertical-align: middle;
position: relative;
2016-12-30 22:57:14 +00:00
}
header .actions {
2017-01-03 17:35:13 +00:00
/* margin-left: auto; */
2016-12-30 22:57:14 +00:00
}
#logout {
2017-01-03 17:35:13 +00:00
border-radius: 0;
margin-left: auto;
padding: .15em;
2016-12-30 22:57:14 +00:00
}
2017-01-01 22:40:12 +00:00
#click-overlay {
2017-01-03 17:35:13 +00:00
display: none;
position: fixed;
cursor: pointer;
top: 0;
left: 0;
height: 100%;
width: 100%;
2017-01-01 22:40:12 +00:00
}
#click-overlay.active {
2017-01-03 17:35:13 +00:00
display: block;
2017-01-01 22:40:12 +00:00
}
2016-12-30 22:57:14 +00:00
/* * * * * * * * * * * * * * * *
* TOP BAR *
* * * * * * * * * * * * * * * */
#top-bar {
2017-01-03 17:35:13 +00:00
height: 4em;
2016-12-30 22:57:14 +00:00
}
#top-bar>div:nth-child(1) {
2017-01-03 17:35:13 +00:00
margin-right: 1em;
font-weight: 500;
font-size: 1.5em;
line-height: 2;
2016-07-01 09:46:09 +00:00
}
2016-12-30 22:57:14 +00:00
/* * * * * * * * * * * * * * * *
* SEARCH BAR *
* * * * * * * * * * * * * * * */
2016-07-01 09:46:09 +00:00
#search {
2017-01-03 17:35:13 +00:00
position: relative;
display: flex;
height: 100%;
padding: 0.75em;
vertical-align: middle;
border-radius: 0.3em;
background-color: #f5f5f5;
transition: .1s ease all;
width: 100%;
max-width: 25em;
2016-07-01 09:46:09 +00:00
}
#search.active {
2017-01-03 17:35:13 +00:00
background-color: #fff;
border-bottom-left-radius: 0;
border-bottom-right-radius: 0;
box-shadow: 0 1px 3px rgba(0, 0, 0, .06), 0 1px 2px rgba(0, 0, 0, .12);
2016-07-01 09:46:09 +00:00
}
#search.active i,
#search.active input {
2017-01-03 17:35:13 +00:00
color: #212121;
2016-07-01 09:46:09 +00:00
}
#search i,
#search input {
2017-01-03 17:35:13 +00:00
vertical-align: middle;
2016-07-01 09:46:09 +00:00
}
#search i {
2017-01-03 17:35:13 +00:00
margin-right: 0.3em;
user-select: none;
2016-07-01 09:46:09 +00:00
}
#search input {
2017-01-03 17:35:13 +00:00
width: 100%;
border: 0;
outline: 0;
background-color: transparent;
2016-07-01 09:46:09 +00:00
}
#search.active div {
2017-01-03 17:35:13 +00:00
visibility: visible;
opacity: 1;
top: 100%;
2016-07-01 09:46:09 +00:00
}
2016-11-01 15:00:36 +00:00
#search ul {
2017-01-03 17:35:13 +00:00
padding: 0;
margin: 0;
list-style: none;
2016-11-01 15:00:36 +00:00
}
#search li {
2017-01-03 17:35:13 +00:00
margin-bottom: .5em;
2016-11-01 15:00:36 +00:00
}
#search>div {
2017-01-03 17:35:13 +00:00
position: absolute;
top: 0;
width: 100%;
left: 0;
z-index: 999999;
background-color: #fff;
text-align: left;
color: #ccc;
box-shadow: 0 2px 3px rgba(0, 0, 0, .06), 0 2px 2px rgba(0, 0, 0, .12);
padding: .5em;
border-bottom-left-radius: .3em;
border-bottom-right-radius: .3em;
transition: .1s ease all;
visibility: hidden;
opacity: 0;
overflow-x: hidden;
overflow-y: auto;
max-height: 50vh;
2016-11-01 15:00:36 +00:00
}
#search>div div {
2017-01-03 17:35:13 +00:00
white-space: pre-wrap;
white-space: -moz-pre-wrap;
white-space: -pre-wrap;
white-space: -o-pre-wrap;
word-wrap: break-word;
2016-07-01 09:46:09 +00:00
}
2016-11-01 15:00:36 +00:00
#search>div p {
2017-01-03 17:35:13 +00:00
width: 100%;
text-align: center;
display: none;
margin: 0;
max-width: none;
2016-11-01 15:00:36 +00:00
}
#search.ongoing p {
2017-01-03 17:35:13 +00:00
display: block;
2016-11-01 15:00:36 +00:00
}
2016-07-01 09:46:09 +00:00
#search.active div i,
#sidebar #search.active div i {
2017-01-03 17:35:13 +00:00
color: #ccc;
text-align: center;
margin: 0 auto;
display: table;
2016-07-01 09:46:09 +00:00
}
#search::-webkit-input-placeholder {
2017-01-03 17:35:13 +00:00
color: rgba(255, 255, 255, .5);
2016-07-01 09:46:09 +00:00
}
#search:-moz-placeholder {
2017-01-03 17:35:13 +00:00
opacity: 1;
color: rgba(255, 255, 255, .5);
2016-07-01 09:46:09 +00:00
}
#search::-moz-placeholder {
2017-01-03 17:35:13 +00:00
opacity: 1;
color: rgba(255, 255, 255, .5);
2016-07-01 09:46:09 +00:00
}
#search:-ms-input-placeholder {
2017-01-03 17:35:13 +00:00
color: rgba(255, 255, 255, .5);
2016-07-01 09:46:09 +00:00
}
2016-12-30 16:22:26 +00:00
2016-12-30 22:57:14 +00:00
/* * * * * * * * * * * * * * * *
* BOTTOM BAR *
* * * * * * * * * * * * * * * */
#bottom-bar {
2017-01-03 17:35:13 +00:00
background-color: #fafafa;
border-top: 1px solid rgba(0, 0, 0, 0.075);
border-bottom: 1px solid rgba(0, 0, 0, 0.075);
height: 3.8em;
2016-12-30 22:57:14 +00:00
}
2016-12-30 16:22:26 +00:00
2017-01-01 22:40:12 +00:00
#bottom-bar>div:first-child>* {
2017-01-03 17:35:13 +00:00
display: inline-block;
vertical-align: middle;
2016-12-30 16:22:26 +00:00
}
2016-12-31 15:29:36 +00:00
#bottom-bar>div:first-child>i {
2017-01-03 17:35:13 +00:00
margin-right: .3em;
2016-12-30 22:57:14 +00:00
}
2017-01-01 22:40:12 +00:00
#bottom-bar>*:first-child {
2017-01-03 17:35:13 +00:00
margin-right: auto;
max-width: calc(100% - 25em);
width: 100%;
2017-01-02 12:20:20 +00:00
}
#bottom-bar p {
2017-01-03 17:35:13 +00:00
text-overflow: ellipsis;
overflow: hidden;
width: calc(100% - 3em);
white-space: nowrap;
2017-01-01 22:40:12 +00:00
}
#more {
2017-01-03 17:35:13 +00:00
display: none;
2017-01-01 22:40:12 +00:00
}
2016-12-30 22:57:14 +00:00
#file-only {
2017-01-03 17:35:13 +00:00
display: inline-block;
border-right: 1px solid rgba(0, 0, 0, 0.075);
padding-right: .3em;
margin-right: .3em;
transition: .2s ease opacity, visibility;
visibility: visible;
2016-12-30 22:57:14 +00:00
}
#file-only.disabled {
2017-01-03 17:35:13 +00:00
opacity: 0;
visibility: hidden;
2016-12-30 16:22:26 +00:00
}
2017-01-01 23:38:11 +00:00
#download ul.active {
2017-01-03 17:35:13 +00:00
top: 0;
right: 0;
2017-01-01 23:38:11 +00:00
}
#more ul.active {
2017-01-03 17:35:13 +00:00
right: .5em;
top: 4.5em;
2017-01-01 23:38:11 +00:00
}
2016-12-30 22:57:14 +00:00
/* * * * * * * * * * * * * * * *
2017-01-01 22:40:12 +00:00
* DROPDOWN *
2016-12-30 22:57:14 +00:00
* * * * * * * * * * * * * * * */
2017-01-01 22:40:12 +00:00
.dropdown {
2017-01-03 17:35:13 +00:00
position: fixed;
top: -100%;
right: -100%;
visibility: hidden;
display: flex;
flex-direction: column;
border-radius: .1em;
border-top-left-radius: 0;
box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
background: #fff;
z-index: 9999999;
2016-12-30 16:22:26 +00:00
}
2017-01-01 22:40:12 +00:00
.dropdown.active {
2017-01-03 17:35:13 +00:00
visibility: visible;
2016-12-30 16:22:26 +00:00
}
2017-01-01 22:40:12 +00:00
.dropdown .action {
2017-01-03 17:35:13 +00:00
padding: .7em;
2017-01-01 22:40:12 +00:00
}
.dropdown i {
2017-01-03 17:35:13 +00:00
padding: 0;
vertical-align: middle;
2017-01-01 22:40:12 +00:00
}
.dropdown span {
2017-01-03 17:35:13 +00:00
display: inline-block;
margin-left: .5em;
font-size: .9em;
2017-01-01 22:40:12 +00:00
}
/* * * * * * * * * * * * * * * *
* BREADCRUMBS *
* * * * * * * * * * * * * * * */
#previous {
2017-01-03 17:35:13 +00:00
margin-left: -.5em;
2017-01-01 22:40:12 +00:00
}
#breadcrumbs {
2017-01-03 17:35:13 +00:00
min-width: 7em;
2016-07-01 09:46:09 +00:00
}
2016-12-30 22:57:14 +00:00
#breadcrumbs.active {
2017-01-03 17:35:13 +00:00
top: 0;
left: 0;
right: auto;
2016-07-01 09:46:09 +00:00
}
2016-12-30 22:57:14 +00:00
/* * * * * * * * * * * * * * * *
* LISTING *
* * * * * * * * * * * * * * * */
2016-07-01 09:46:09 +00:00
#listing {
2017-01-03 17:35:13 +00:00
max-width: calc(100% - 1.2em);
width: 100%;
2016-12-30 16:22:26 +00:00
}
#listing h2 {
2017-01-03 17:35:13 +00:00
margin: 0 0 0 0.5em;
font-size: 1em;
color: rgba(0, 0, 0, 0.2);
font-weight: 500;
2016-12-30 16:22:26 +00:00
}
2016-12-30 22:57:14 +00:00
#listing .item div:last-of-type * {
2017-01-03 17:35:13 +00:00
text-overflow: ellipsis;
overflow: hidden;
2016-12-30 16:22:26 +00:00
}
#listing>div {
2017-01-03 17:35:13 +00:00
display: flex;
padding: 0;
flex-wrap: wrap;
justify-content: flex-start;
position: relative;
2016-07-01 09:46:09 +00:00
}
#listing .item {
2017-01-03 17:35:13 +00:00
background-color: #fff;
position: relative;
display: flex;
flex-wrap: nowrap;
color: #6f6f6f;
transition: .1s ease all;
align-items: center;
cursor: pointer;
2016-12-29 10:17:21 +00:00
}
2016-12-30 22:57:14 +00:00
#listing .item div:last-of-type {
2017-01-03 17:35:13 +00:00
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
2016-07-01 09:46:09 +00:00
}
2016-12-30 22:57:14 +00:00
#listing .item p {
2017-01-03 17:35:13 +00:00
margin: 0;
2016-07-01 09:46:09 +00:00
}
2016-12-30 22:57:14 +00:00
#listing .item .size,
#listing .item .modified {
2017-01-03 17:35:13 +00:00
font-size: 0.9em;
2016-12-30 22:57:14 +00:00
}
#listing .item .name {
2017-01-03 17:35:13 +00:00
font-weight: bold;
2016-07-01 09:46:09 +00:00
}
2016-12-30 22:57:14 +00:00
#listing .item i {
2017-01-03 17:35:13 +00:00
font-size: 4em;
margin-right: 0.1em;
vertical-align: bottom;
2016-07-01 09:46:09 +00:00
}
2017-01-02 19:57:06 +00:00
#listing h2.message,
2017-01-02 19:55:21 +00:00
.message {
2017-01-03 17:35:13 +00:00
text-align: center;
font-size: 3em;
margin: 1em auto;
display: block !important;
width: 95%;
color: rgba(0, 0, 0, 0.2);
font-weight: 500;
2017-01-02 19:55:21 +00:00
}
.message i {
2017-01-03 17:35:13 +00:00
font-size: inherit;
vertical-align: middle;
2017-01-02 12:20:20 +00:00
}
2016-12-30 22:57:14 +00:00
/* * * * * * * * * * * * * * * *
* LISTING - MOSAIC *
* * * * * * * * * * * * * * * */
#listing.mosaic {
2017-01-03 17:35:13 +00:00
margin-top: 1em;
2016-12-30 16:22:26 +00:00
}
2016-12-30 22:57:14 +00:00
#listing.mosaic .item {
2017-01-03 17:35:13 +00:00
width: calc(33% - 1em);
margin: .5em;
padding: 0.5em;
border-radius: 0.2em;
box-shadow: 0 1px 3px rgba(0, 0, 0, .06), 0 1px 2px rgba(0, 0, 0, .12);
2016-12-30 16:22:26 +00:00
}
2016-12-30 22:57:14 +00:00
#listing.mosaic .item:hover {
2017-01-03 17:35:13 +00:00
box-shadow: 0 1px 3px rgba(0, 0, 0, .12), 0 1px 2px rgba(0, 0, 0, .24) !important;
2016-12-30 16:22:26 +00:00
}
2016-12-30 22:57:14 +00:00
#listing.mosaic .header {
2017-01-03 17:35:13 +00:00
display: none;
2016-12-30 16:22:26 +00:00
}
2016-12-30 22:57:14 +00:00
#listing.mosaic .item div:first-of-type {
2017-01-03 17:35:13 +00:00
width: 5em;
2016-12-30 22:57:14 +00:00
}
#listing.mosaic .item div:last-of-type {
2017-01-03 17:35:13 +00:00
width: calc(100% - 5vw);
2016-12-30 22:57:14 +00:00
}
/* * * * * * * * * * * * * * * *
* LISTING - DETAIL *
* * * * * * * * * * * * * * * */
#listing.list {
2017-01-03 17:35:13 +00:00
flex-direction: column;
padding-top: 3.25em;
width: 100%;
max-width: 100%;
margin: 0;
2016-12-30 16:22:26 +00:00
}
#listing.list .item {
2017-01-03 17:35:13 +00:00
width: 100%;
margin: 0;
border: 0;
border-bottom: 1px solid rgba(0, 0, 0, 0.1);
padding: 1em;
2016-12-30 16:22:26 +00:00
}
2016-12-30 22:57:14 +00:00
#listing.list h2 {
2017-01-03 17:35:13 +00:00
display: none;
2016-12-30 16:22:26 +00:00
}
#listing .item[aria-selected=true] {
2017-01-03 17:35:13 +00:00
background: #2196f3 !important;
color: #fff !important;
2016-12-30 16:22:26 +00:00
}
2016-12-29 18:36:53 +00:00
#listing.list .item div:first-of-type {
2017-01-03 17:35:13 +00:00
width: 3em;
2016-12-29 18:36:53 +00:00
}
#listing.list .item div:first-of-type i {
2017-01-03 17:35:13 +00:00
font-size: 2em;
2016-12-29 18:36:53 +00:00
}
#listing.list .item div:last-of-type {
2017-01-03 17:35:13 +00:00
width: calc(100% - 3em);
display: flex;
align-items: center;
2016-12-30 16:22:26 +00:00
}
2016-12-30 22:57:14 +00:00
#listing.list .item .name {
2017-01-03 17:35:13 +00:00
width: 50%;
2016-12-30 16:22:26 +00:00
}
2016-12-30 22:57:14 +00:00
#listing.list .item .size {
2017-01-03 17:35:13 +00:00
width: 25%;
2016-12-29 18:36:53 +00:00
}
2016-12-30 22:57:14 +00:00
#listing .item.header {
2017-01-03 17:35:13 +00:00
display: none !important;
background-color: #ccc;
2016-07-01 09:46:09 +00:00
}
2016-12-30 22:57:14 +00:00
#listing.list .header i {
2017-01-03 17:35:13 +00:00
font-size: 1.5em;
vertical-align: middle;
margin-left: .2em;
2016-07-01 09:46:09 +00:00
}
2016-12-30 22:57:14 +00:00
#listing.list .item.header {
2017-01-03 17:35:13 +00:00
display: flex !important;
background: #fafafa;
position: fixed;
width: 100%;
top: 7.8em;
left: 0;
z-index: 999;
padding: .85em;
2016-07-01 09:46:09 +00:00
}
2016-12-30 22:57:14 +00:00
#listing.list .item.header>div:first-child {
2017-01-03 17:35:13 +00:00
width: 0;
2016-07-01 09:46:09 +00:00
}
2016-12-30 22:57:14 +00:00
#listing.list .item.header .name {
2017-01-03 17:35:13 +00:00
margin-right: 3em;
2016-07-01 09:46:09 +00:00
}
2016-12-30 22:57:14 +00:00
#listing.list .header {
2017-01-03 17:35:13 +00:00
display: flex;
background: #fafafa;
position: fixed;
width: 100%;
top: 7.8em;
left: 0;
z-index: 999;
2016-07-01 09:46:09 +00:00
}
2016-12-30 22:57:14 +00:00
#listing.list .header a {
2017-01-03 17:35:13 +00:00
color: inherit;
2016-07-01 09:46:09 +00:00
}
2016-12-30 22:57:14 +00:00
#listing.list .item.header>div:first-child {
2017-01-03 17:35:13 +00:00
width: 0;
2016-07-01 09:46:09 +00:00
}
2016-12-30 22:57:14 +00:00
#listing.list .name {
2017-01-03 17:35:13 +00:00
font-weight: normal;
2016-07-01 09:46:09 +00:00
}
2016-12-30 22:57:14 +00:00
#listing.list .item.header .name {
2017-01-03 17:35:13 +00:00
margin-right: 3em;
2016-07-01 09:46:09 +00:00
}
2016-12-30 22:57:14 +00:00
#listing.list .header span {
2017-01-03 17:35:13 +00:00
vertical-align: middle;
2016-07-01 09:46:09 +00:00
}
2016-12-30 22:57:14 +00:00
#listing.list .header i {
2017-01-03 17:35:13 +00:00
opacity: 0;
transition: .1s ease all;
2016-07-01 09:46:09 +00:00
}
2016-12-30 22:57:14 +00:00
#listing.list .header p:hover i,
#listing.list .header .active i {
2017-01-03 17:35:13 +00:00
opacity: 1;
2016-07-01 09:46:09 +00:00
}
2016-12-30 22:57:14 +00:00
#listing.list .item.header .active {
2017-01-03 17:35:13 +00:00
font-weight: bold;
2016-07-01 09:46:09 +00:00
}
2017-01-01 22:40:12 +00:00
/* * * * * * * * * * * * * * * *
* MULTIPLE SELECTION DIALOG *
* * * * * * * * * * * * * * * */
#multiple-selection {
2017-01-03 17:35:13 +00:00
position: fixed;
bottom: -4em;
left: 0;
z-index: 99999999;
width: 100%;
background-color: #2196f3;
height: 4em;
display: flex !important;
padding: 0.5em 0.5em 0.5em 1em;
justify-content: space-between;
align-items: center;
transition: .2s ease all;
2017-01-01 22:40:12 +00:00
}
#multiple-selection.active {
2017-01-03 17:35:13 +00:00
bottom: 0;
2017-01-01 22:40:12 +00:00
}
#multiple-selection * {
2017-01-03 17:35:13 +00:00
margin: 0;
2017-01-01 22:40:12 +00:00
}
#multiple-selection p,
#multiple-selection i {
2017-01-03 17:35:13 +00:00
color: #fff;
2017-01-01 22:40:12 +00:00
}
2016-12-31 15:29:36 +00:00
/* * * * * * * * * * * * * * * *
* PROMPT *
* * * * * * * * * * * * * * * */
2016-12-31 18:35:27 +00:00
.overlay,
2016-12-31 21:04:47 +00:00
.prompt,
.help {
2017-01-03 17:35:13 +00:00
opacity: 0;
z-index: -1;
transition: .1s ease opacity, z-index;
2016-12-31 15:29:36 +00:00
}
2016-12-31 18:35:27 +00:00
.overlay.active,
2016-12-31 21:04:47 +00:00
.prompt.active,
.help.active {
2017-01-03 17:35:13 +00:00
z-index: 9999999;
opacity: 1;
2016-12-31 15:29:36 +00:00
}
.overlay {
2017-01-03 17:35:13 +00:00
background-color: rgba(0, 0, 0, 0.5);
position: fixed;
top: 0;
left: 0;
height: 0;
width: 0;
2016-12-31 18:35:27 +00:00
}
.overlay.active {
2017-01-03 17:35:13 +00:00
height: 100%;
width: 100%;
2016-12-31 15:29:36 +00:00
}
2016-12-31 21:04:47 +00:00
.prompt,
.help {
2017-01-03 17:35:13 +00:00
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
z-index: 99999999;
background: #fff;
border: 1px solid rgba(0, 0, 0, 0.075);
box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
padding: 2em;
max-width: 25em;
width: 90%;
2017-01-04 17:58:14 +00:00
max-height: 95%;
2016-12-31 15:29:36 +00:00
}
2016-12-31 21:04:47 +00:00
.prompt h3,
.help h3 {
2017-01-03 17:35:13 +00:00
margin: 0;
font-weight: 500;
font-size: 1.5em;
2016-12-31 15:29:36 +00:00
}
2016-12-31 21:04:47 +00:00
.prompt p,
.help p {
2017-01-03 17:35:13 +00:00
font-size: .9em;
color: rgba(0, 0, 0, 0.8);
margin: .5em 0 1em;
2016-12-31 15:29:36 +00:00
}
.prompt input {
2017-01-03 17:35:13 +00:00
width: 100%;
border: 1px solid #dadada;
line-height: 1;
padding: .3em;
2016-12-31 15:29:36 +00:00
}
2016-12-31 21:04:47 +00:00
.prompt div,
.help div {
2017-01-03 17:35:13 +00:00
margin-top: 1em;
display: flex;
justify-content: flex-start;
flex-direction: row-reverse;
2016-12-31 15:29:36 +00:00
}
.prompt .cancel {
2017-01-03 17:35:13 +00:00
background-color: #ECEFF1;
color: #37474F;
2016-12-31 15:29:36 +00:00
}
.prompt .cancel:hover {
2017-01-03 17:35:13 +00:00
background-color: #e9eaeb;
2016-12-31 15:29:36 +00:00
}
2017-01-03 17:35:13 +00:00
2017-01-02 20:22:54 +00:00
/* * * * * * * * * * * * * * * *
* PROMPT - MOVE *
* * * * * * * * * * * * * * * */
.prompt .file-list {
2017-01-03 17:35:13 +00:00
flex-direction: initial;
2017-01-04 17:58:14 +00:00
max-height: 50vh;
overflow: auto;
2017-01-02 20:22:54 +00:00
}
.prompt .file-list ul {
2017-01-03 17:35:13 +00:00
list-style: none;
margin: 0;
padding: 0;
width: 100%;
2017-01-02 20:22:54 +00:00
}
.prompt .file-list ul li {
2017-01-03 17:35:13 +00:00
width: 100%;
user-select: none;
2017-01-02 20:22:54 +00:00
}
.prompt .file-list ul li[aria-selected=true] {
2017-01-03 17:35:13 +00:00
background: #2196f3 !important;
color: #fff !important;
transition: .1s ease all;
2017-01-02 20:22:54 +00:00
}
.prompt .file-list ul li:hover {
2017-01-03 17:35:13 +00:00
background-color: #e9eaeb;
cursor: pointer;
2017-01-02 20:22:54 +00:00
}
.prompt .file-list ul li:before {
2017-01-03 17:35:13 +00:00
content: "folder";
color: #6f6f6f;
vertical-align: middle;
padding: 0 .25em;
line-height: 2em;
2017-01-02 20:22:54 +00:00
}
.prompt .file-list ul li[aria-selected=true]:before {
2017-01-03 17:35:13 +00:00
color: white;
2017-01-02 20:22:54 +00:00
}
2016-12-31 15:29:36 +00:00
2016-12-31 21:04:47 +00:00
/* * * * * * * * * * * * * * * *
* HELP *
* * * * * * * * * * * * * * * */
.help {
2017-01-03 17:35:13 +00:00
max-width: 24em;
visibility: hidden;
top: -100%;
left: -100%;
2016-12-31 21:04:47 +00:00
}
.help.active {
2017-01-03 17:35:13 +00:00
visibility: visible;
top: 50%;
left: 50%;
2016-12-31 21:04:47 +00:00
}
2017-01-01 10:59:39 +00:00
.help ul {
2017-01-03 17:35:13 +00:00
padding: 0;
margin: 1em 0;
list-style: none;
2016-12-31 21:04:47 +00:00
}
2016-12-30 22:57:14 +00:00
/* * * * * * * * * * * * * * * *
* FOOTER *
* * * * * * * * * * * * * * * */
2016-07-01 09:46:09 +00:00
2016-12-30 22:57:14 +00:00
footer {
2017-01-03 17:35:13 +00:00
font-size: 0.6em;
margin: 2em 0 2em;
text-align: center;
color: grey;
2016-07-01 09:46:09 +00:00
}
2016-12-30 22:57:14 +00:00
footer a,
footer a:hover {
2017-01-03 17:35:13 +00:00
color: inherit;
2016-07-01 09:46:09 +00:00
}
2017-01-01 10:59:39 +00:00
/* * * * * * * * * * * * * * * *
* MEDIA QUERIES *
* * * * * * * * * * * * * * * */
2017-01-02 18:49:13 +00:00
@media screen and (max-width: 850px) {
2017-01-03 17:35:13 +00:00
.frontmatter {
column-count: 2;
}
2017-01-02 18:49:13 +00:00
}
2017-01-01 10:59:39 +00:00
@media screen and (max-width: 650px) {
2017-01-03 17:35:13 +00:00
body {
transition: .2s ease padding;
}
.mobile-only {
display: inherit !important;
}
#top-bar>div:nth-child(1) {
display: none;
}
#bottom-bar>*:first-child {
2017-01-03 21:04:09 +00:00
max-width: calc(100% - 16em) !important;
2017-01-03 17:35:13 +00:00
}
#main-actions {
position: fixed;
top: -100%;
right: -100%;
visibility: hidden;
display: flex;
flex-direction: column;
border-radius: .1em;
border-top-left-radius: 0;
box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
background: #fff;
z-index: 9999999;
}
#main-actions.active {
right: .5em;
top: 4.5em;
visibility: visible;
}
#main-actions .action {
padding: .7em;
border-radius: 0;
align-items: center;
}
#main-actions .action:hover {
background-color: rgba(0, 0, 0, 0.04);
}
#main-actions i {
padding: 0;
vertical-align: middle;
}
#main-actions .action:hover i {
padding: 0;
background-color: transparent;
}
#main-actions span {
display: inline-block;
margin-left: .5em;
font-size: .9em;
}
#listing.list .item .size,
#listing.list .item .modified {
display: none;
}
#listing.list .item .name {
width: 100%;
}
.frontmatter {
column-count: 1;
}
2017-01-02 12:20:20 +00:00
}
@media screen and (max-width: 450px) {
2017-01-03 17:35:13 +00:00
#bottom-bar p {
display: none !important;
}
2017-01-01 10:59:39 +00:00
}
2016-12-30 22:57:14 +00:00
/* * * * * * * * * * * * * * * *
* ANIMATIONS *
* * * * * * * * * * * * * * * */
2016-07-01 09:46:09 +00:00
2016-12-30 22:57:14 +00:00
@keyframes spin {
2017-01-03 17:35:13 +00:00
100% {
-webkit-transform: rotate(-360deg);
transform: rotate(-360deg);
}
}