filebrowser/_embed/public/css/styles.css

1215 lines
21 KiB
CSS
Raw Normal View History

2016-12-27 15:26:36 +00:00
@font-face {
font-family: 'Roboto';
font-style: normal;
font-weight: 400;
src: local('Roboto'), local('Roboto-Regular'), url(roboto/normal-cyrillic-ext.woff2) format('woff2');
unicode-range: U+0460-052F, U+20B4, U+2DE0-2DFF, U+A640-A69F;
}
@font-face {
font-family: 'Roboto';
font-style: normal;
font-weight: 400;
src: local('Roboto'), local('Roboto-Regular'), url(roboto/normal-cyrillic.woff2) format('woff2');
unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
font-family: 'Roboto';
font-style: normal;
font-weight: 400;
src: local('Roboto'), local('Roboto-Regular'), url(roboto/normal-greek-ext.woff2) format('woff2');
unicode-range: U+1F00-1FFF;
}
@font-face {
font-family: 'Roboto';
font-style: normal;
font-weight: 400;
src: local('Roboto'), local('Roboto-Regular'), url(roboto/normal-greek.woff2) format('woff2');
unicode-range: U+0370-03FF;
}
@font-face {
font-family: 'Roboto';
font-style: normal;
font-weight: 400;
src: local('Roboto'), local('Roboto-Regular'), url(roboto/normal-vietnamese.woff2) format('woff2');
unicode-range: U+0102-0103, U+1EA0-1EF9, U+20AB;
}
@font-face {
font-family: 'Roboto';
font-style: normal;
font-weight: 400;
src: local('Roboto'), local('Roboto-Regular'), url(roboto/normal-latin-ext.woff2) format('woff2');
unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
font-family: 'Roboto';
font-style: normal;
font-weight: 400;
src: local('Roboto'), local('Roboto-Regular'), url(roboto/normal-latin.woff2) format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000;
}
@font-face {
font-family: 'Roboto';
font-style: normal;
font-weight: 500;
src: local('Roboto Medium'), local('Roboto-Medium'), url(roboto/medium-cyrillic-ext.woff2) format('woff2');
unicode-range: U+0460-052F, U+20B4, U+2DE0-2DFF, U+A640-A69F;
}
@font-face {
font-family: 'Roboto';
font-style: normal;
font-weight: 500;
src: local('Roboto Medium'), local('Roboto-Medium'), url(roboto/medium-cyrillic.woff2) format('woff2');
unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
font-family: 'Roboto';
font-style: normal;
font-weight: 500;
src: local('Roboto Medium'), local('Roboto-Medium'), url(roboto/medium-greek-ext.woff22) format('woff2');
unicode-range: U+1F00-1FFF;
}
@font-face {
font-family: 'Roboto';
font-style: normal;
font-weight: 500;
src: local('Roboto Medium'), local('Roboto-Medium'), url(roboto/medium-greek.woff2) format('woff2');
unicode-range: U+0370-03FF;
}
@font-face {
font-family: 'Roboto';
font-style: normal;
font-weight: 500;
src: local('Roboto Medium'), local('Roboto-Medium'), url(roboto/medium-vietnamese.woff2) format('woff2');
unicode-range: U+0102-0103, U+1EA0-1EF9, U+20AB;
}
@font-face {
font-family: 'Roboto';
font-style: normal;
font-weight: 500;
src: local('Roboto Medium'), local('Roboto-Medium'), url(roboto/medium-latin-ext.woff2) format('woff2');
unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
font-family: 'Roboto';
font-style: normal;
font-weight: 500;
src: local('Roboto Medium'), local('Roboto-Medium'), url(roboto/medium-latin.woff2) format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000;
}
@font-face {
font-family: 'Material Icons';
font-style: normal;
font-weight: 400;
src: local('Material Icons'), local('MaterialIcons-Regular'), url(material/icons.woff2) format('woff2');
}
.material-icons {
font-family: 'Material Icons';
font-weight: normal;
font-style: normal;
font-size: 24px;
line-height: 1;
letter-spacing: normal;
text-transform: none;
display: inline-block;
white-space: nowrap;
word-wrap: normal;
direction: ltr;
-webkit-font-feature-settings: 'liga';
-webkit-font-smoothing: antialiased;
}
2016-07-01 09:46:09 +00:00
html {
font-family: sans-serif;
-ms-text-size-adjust: 100%;
-webkit-text-size-adjust: 100%
}
body {
margin: 0
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section,
summary {
display: block
}
audio,
canvas,
progress,
video {
display: inline-block
}
2016-10-22 12:46:10 +00:00
video {
max-width: 100%;
}
2016-07-01 09:46:09 +00:00
audio:not([controls]) {
display: none;
height: 0
}
progress {
vertical-align: baseline
}
template,
[hidden] {
display: none
}
a {
background-color: transparent;
-webkit-text-decoration-skip: objects
}
a:active,
a:hover {
outline-width: 0
}
abbr[title] {
border-bottom: none;
text-decoration: underline;
text-decoration: underline dotted
}
b,
strong {
font-weight: inherit
}
b,
strong {
font-weight: bolder
}
dfn {
font-style: italic
}
h1 {
font-size: 2em;
margin: 0.67em 0
}
mark {
background-color: #ff0;
color: #000
}
small {
font-size: 80%
}
sub,
sup {
font-size: 75%;
line-height: 0;
position: relative;
vertical-align: baseline
}
sub {
bottom: -0.25em
}
sup {
top: -0.5em
}
img {
border-style: none;
max-width: 100%;
}
svg:not(:root) {
overflow: hidden
}
code,
kbd,
pre,
samp {
font-family: monospace, monospace;
font-size: 1em
}
figure {
margin: 1em 40px
}
hr {
box-sizing: content-box;
height: 0;
overflow: visible
}
button,
input,
select,
textarea {
font: inherit;
margin: 0
}
optgroup {
font-weight: bold
}
button,
input {
overflow: visible
}
button,
select {
text-transform: none
}
button,
.button,
html [type="button"],
[type="reset"],
[type="submit"] {
/* -webkit-appearance: button; */
text-decoration: none;
color: #fff !important;
background-color: #26a69a;
text-align: center;
letter-spacing: .5px;
-webkit-transition: .2s ease-out;
transition: .2s ease-out;
cursor: pointer;
box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
border: none;
border-radius: 2px;
display: inline-block;
height: 2.25em;
line-height: 2.25em;
outline: 0;
padding: 0 2rem;
text-transform: uppercase;
vertical-align: middle;
-webkit-tap-highlight-color: transparent;
}
button::-moz-focus-inner,
.button::-moz-focus-inner,
. [type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
border-style: none;
padding: 0
}
button:-moz-focusring,
.button:-moz-focusring,
,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
2016-12-27 15:26:36 +00:00
outline: 1px dotted;
2016-07-01 09:46:09 +00:00
}
fieldset {
border: none;
margin: 0;
padding: 0;
-webkit-column-break-inside: avoid;
page-break-inside: avoid;
break-inside: avoid;
}
legend {
box-sizing: border-box;
color: inherit;
display: table;
max-width: 100%;
padding: 0;
white-space: normal
}
textarea {
overflow: auto
}
[type="checkbox"],
[type="radio"] {
box-sizing: border-box;
padding: 0
}
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
height: auto
}
[type="search"] {
-webkit-appearance: textfield;
outline-offset: -2px
}
[type="search"]::-webkit-search-cancel-button,
[type="search"]::-webkit-search-decoration {
-webkit-appearance: none
}
::-webkit-input-placeholder {
color: inherit;
opacity: 0.54
}
::-webkit-file-upload-button {
-webkit-appearance: button;
font: inherit
}
/* TANANANA */
body {
font-family: 'Roboto', sans-serif;
2016-12-29 22:50:36 +00:00
padding-top: 9em;
2016-11-01 12:32:45 +00:00
background-color: #f8f8f8;
2016-07-01 09:46:09 +00:00
text-rendering: optimizespeed;
}
a {
text-decoration: none;
color: #006ed3;
}
a:hover,
h1 a:hover {
color: #319cff;
}
#summary,
header {
padding-right: 7%;
padding-left: 7%;
}
td:first-child,
th:first-child {
padding-left: 1em;
}
td:last-child,
th:last-child {
padding-right: 1em;
}
h1 {
font-size: 1.5em;
font-weight: normal;
overflow-x: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
h1 a {
color: inherit;
}
h1 a:hover {
text-decoration: underline;
}
main {
display: block;
}
.meta-item {
margin-right: 1em;
}
table {
width: 100%;
border-collapse: collapse;
}
tr {
cursor: pointer;
-webkit-transition: 0.1s ease all;
transition: 0.1s ease all;
border-bottom: 1px dashed #dadada;
}
tr.selected {
background-color: #ccc;
}
td,
th {
padding: 1em 0;
text-align: left;
}
th {
font-size: 16px;
padding-top: 15px;
padding-bottom: 15px;
white-space: nowrap;
}
th a {
color: black;
}
th svg {
vertical-align: middle;
}
td {
font-size: 14px;
}
td:first-child {
width: 50%;
}
td:last-child,
th:last-child {
text-align: right;
}
td:first-child svg {
position: absolute;
}
td .goup,
td .name {
margin-left: 1.1em;
vertical-align: middle;
white-space: pre-wrap;
word-break: break-all;
color: #424242;
overflow-wrap: break-word;
}
footer {
font-size: 0.6em;
margin: 3em 0 2em;
text-align: center;
color: grey;
}
footer a,
footer a:hover {
color: inherit;
}
.container {
width: 95%;
max-width: 960px;
margin: 0 auto;
}
pre {
padding: 1em;
border: 1px solid #e6e6e6;
border-radius: 0.5em;
background-color: #f5f5f5;
2016-08-21 19:10:12 +00:00
white-space: pre-wrap;
/* css-3 */
white-space: -moz-pre-wrap;
/* Mozilla, since 1999 */
white-space: -pre-wrap;
/* Opera 4-6 */
white-space: -o-pre-wrap;
/* Opera 7 */
word-wrap: break-word;
/* Internet Explorer 5.5+ */
2016-07-01 09:46:09 +00:00
}
@media (max-width: 600px) {
td:first-child {
width: auto;
}
td:nth-child(2),
th:nth-child(2) {
padding-right: 5%;
text-align: right;
}
}
/* MY STYLES */
* {
box-sizing: border-box;
}
2016-07-05 16:46:45 +00:00
#token {
display: none;
}
2016-07-01 09:46:09 +00:00
/* MATERIAL ICONS */
.material-icons {
font-family: 'Material Icons';
font-size: 1.5em;
font-weight: normal;
font-style: normal;
line-height: 1;
/* Preferred icon size */
display: inline-block;
white-space: nowrap;
letter-spacing: normal;
text-transform: none;
word-wrap: normal;
direction: ltr;
/* Support for all WebKit browsers. */
-webkit-font-smoothing: antialiased;
/* Support for Safari and Chrome. */
text-rendering: optimizeLegibility;
/* Support for Firefox. */
-moz-osx-font-smoothing: grayscale;
/* Support for IE. */
-webkit-font-feature-settings: 'liga';
font-feature-settings: 'liga';
}
/* HEADER */
header {
2016-12-29 22:50:36 +00:00
z-index: 1000;
2016-12-29 18:36:53 +00:00
background-color: #fff;
border-bottom: 1px solid rgba(0, 0, 0, 0.075);
box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
2016-12-29 22:50:36 +00:00
position: fixed;
top: 0;
left: 0;
width: 100%;
padding: 0;
2016-07-01 09:46:09 +00:00
}
header h1 {
font-size: 2em;
margin: 0;
}
header a,
2016-10-25 20:08:26 +00:00
header a:hover,
#toolbar a,
#toolbar a:hover {
2016-07-01 09:46:09 +00:00
color: inherit;
}
2016-12-29 22:50:36 +00:00
header p {}
2016-07-01 09:46:09 +00:00
header p i {
font-size: 1em !important;
color: rgba(255, 255, 255, .31);
}
header #logout {
2016-12-29 22:50:36 +00:00
/* background-color: rgba(0, 0, 0, 0.05); */
2016-07-01 09:46:09 +00:00
border-radius: 0;
2016-12-29 22:50:36 +00:00
margin: 0 0 0 auto;
padding: .2em;
2016-07-01 09:46:09 +00:00
}
#search {
position: relative;
display: inline-block;
height: 100%;
padding: 0.75em;
vertical-align: middle;
border-radius: 0.3em;
2016-12-29 18:36:53 +00:00
background-color: #f5f5f5;
2016-07-01 09:46:09 +00:00
transition: .1s ease all;
}
#search.active {
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);
}
#search.active i,
#search.active input {
color: #212121;
}
#search i,
#search input {
vertical-align: middle;
}
#search i {
margin-right: 0.3em;
2016-12-29 18:36:53 +00:00
/* color: rgba(255, 255, 255, .5); */
2016-12-29 06:17:29 +00:00
user-select: none;
2016-07-01 09:46:09 +00:00
}
#search input {
min-width: 20em;
border: 0;
outline: 0;
2016-12-29 18:36:53 +00:00
/* color: rgba(255, 255, 255, 0.72); */
2016-07-01 09:46:09 +00:00
background-color: transparent;
}
#search.active div {
visibility: visible;
opacity: 1;
top: 100%;
}
2016-11-01 15:00:36 +00:00
#search ul {
padding: 0;
margin: 0;
list-style: none;
}
#search li {
margin-bottom: .5em;
}
#search>div {
2016-07-01 09:46:09 +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 {
white-space: pre-wrap;
white-space: -moz-pre-wrap;
white-space: -pre-wrap;
white-space: -o-pre-wrap;
2016-10-20 21:18:45 +00:00
word-wrap: break-word;
2016-07-01 09:46:09 +00:00
}
2016-11-01 15:00:36 +00:00
#search>div p {
width: 100%;
text-align: center;
display: none;
margin: 0;
max-width: none;
}
#search.ongoing p {
display: block;
}
2016-07-01 09:46:09 +00:00
#search.active div i,
#sidebar #search.active div i {
color: #ccc;
text-align: center;
margin: 0 auto;
display: table;
2016-07-01 09:46:09 +00:00
}
#search::-webkit-input-placeholder {
/* WebKit, Blink, Edge */
color: rgba(255, 255, 255, .5);
}
#search:-moz-placeholder {
opacity: 1;
/* Mozilla Firefox 4 to 18 */
color: rgba(255, 255, 255, .5);
}
#search::-moz-placeholder {
opacity: 1;
/* Mozilla Firefox 19+ */
color: rgba(255, 255, 255, .5);
}
#search:-ms-input-placeholder {
/* Internet Explorer 10-11 */
color: rgba(255, 255, 255, .5);
}
2016-12-29 22:50:36 +00:00
header>div {
2016-07-01 09:46:09 +00:00
display: flex;
width: 100%;
2016-12-29 22:50:36 +00:00
padding: 0.5em 0.5em 0.5em 1em;
}
header>div:first-child>div:nth-child(1) {
margin-right: 2em;
font-weight: 500;
font-size: 1.5em;
line-height: 2;
}
header>div:last-child {
background-color: #fafafa;
border-top: 1px solid rgba(0, 0, 0, 0.075);
border-bottom: 1px solid rgba(0, 0, 0, 0.075);
2016-07-01 09:46:09 +00:00
}
2016-12-29 22:50:36 +00:00
header>div div {
2016-07-01 09:46:09 +00:00
vertical-align: middle;
position: relative;
2016-07-01 09:46:09 +00:00
}
2016-12-29 22:50:36 +00:00
header .actions {
margin-left: auto;
}
header #file-only {
display: inline-block;
border-right: 1px solid rgba(0, 0, 0, 0.075);
padding-right: .3em;
margin-right: .3em;
transition: .2s ease all;
}
#file-only.disabled {
opacity: 0;
}
2016-07-01 09:46:09 +00:00
header p {
display: inline-block;
margin: 0;
vertical-align: middle;
}
header #open-nav {
display: none;
}
header p a,
header p a:hover {
color: inherit;
}
2016-12-29 22:50:36 +00:00
header>div div:nth-child(2) {}
2016-07-01 09:46:09 +00:00
2016-10-25 20:08:26 +00:00
.action:hover ul {
2016-08-26 20:59:06 +00:00
display: flex;
}
#prev {
border-radius: 0;
}
2016-10-25 20:08:26 +00:00
.action ul {
2016-08-26 20:59:06 +00:00
position: absolute;
2016-10-25 20:08:26 +00:00
top: 3.1em;
left: 0;
2016-08-26 20:59:06 +00:00
color: #7d7d7d;
list-style: none;
margin: 0;
padding: 0;
background: #fff;
box-shadow: 0 3px 12px rgba(0, 0, 0, 0.15);
2016-08-26 20:59:06 +00:00
border-radius: .2em;
flex-direction: column-reverse;
display: none;
transition: .2s ease all;
2016-10-25 20:08:26 +00:00
min-width: 3em;
z-index: 99999;
2016-08-26 20:59:06 +00:00
}
2016-10-25 20:08:26 +00:00
.action ul:before {
top: -16px;
left: 1em;
right: auto;
border: 8px solid transparent;
2016-10-25 20:08:26 +00:00
border-bottom-color: #ffffff;
content: '';
position: absolute;
}
2016-10-25 20:08:26 +00:00
.action ul a {
padding: .3em .5em;
2016-08-26 20:59:06 +00:00
border-bottom: 1px solid #f5f5f5;
transition: .2s ease all;
2016-10-25 20:08:26 +00:00
text-align: left;
2016-08-26 20:59:06 +00:00
}
2016-10-25 20:08:26 +00:00
.action ul a:first-child {
2016-08-26 20:59:06 +00:00
border: 0;
border-bottom-right-radius: .2em;
border-bottom-left-radius: .2em;
2016-08-26 20:59:06 +00:00
}
2016-10-25 20:08:26 +00:00
.action ul a:last-child {
border-top-right-radius: .2em;
border-top-left-radius: .2em;
2016-08-26 20:59:06 +00:00
}
2016-10-25 20:08:26 +00:00
.action ul a:hover {
2016-08-26 20:59:06 +00:00
background-color: #f5f5f5;
}
2016-07-01 09:46:09 +00:00
.action {
display: inline-block;
cursor: pointer;
-webkit-transition: 0.2s ease all;
transition: 0.2s ease all;
border: 0;
2016-12-29 22:50:36 +00:00
margin: 0;
color: #546E7A;
2016-07-01 09:46:09 +00:00
border-radius: 50%;
}
.action.disabled {
opacity: 0.2;
cursor: not-allowed;
}
.action i {
2016-12-29 22:50:36 +00:00
padding: 0.4em;
2016-07-01 09:46:09 +00:00
-webkit-transition: 0.2s ease-in-out all;
transition: 0.2s ease-in-out all;
border-radius: 50%;
}
.action:hover i {
background-color: rgba(0, 0, 0, .1);
}
header .action span {
display: none;
}
.floating {
position: fixed;
bottom: 1em;
right: 1em;
}
.floating .action {
background-color: #68EFAD;
color: #306e50;
box-shadow: 0 1px 3px rgba(0, 0, 0, .06), 0 1px 2px rgba(0, 0, 0, .12);
}
#newdir {
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;
2016-10-18 15:42:48 +00:00
width: 22em;
2016-07-01 09:46:09 +00:00
border-radius: .2em;
}
#newdir.enabled {
opacity: 1;
}
*,
*:hover,
*:active,
*:focus {
outline: 0
}
/* LISTING */
#listing {
display: flex;
2016-12-29 10:17:21 +00:00
padding: 0;
2016-07-01 09:46:09 +00:00
flex-wrap: wrap;
2016-12-29 18:36:53 +00:00
justify-content: flex-start;
2016-12-29 10:17:21 +00:00
max-width: calc(100% - 2.2em);
width: 100%;
2016-07-01 09:46:09 +00:00
}
#listing.list {
flex-direction: column;
2016-12-29 18:36:53 +00:00
margin-top: -1em;
width: 100%;
max-width: 100%;
2016-07-01 09:46:09 +00:00
}
2016-12-29 10:17:21 +00:00
#listing.list .item {
width: 100%;
2016-12-29 18:36:53 +00:00
margin: 0;
border: 0;
box-shadow: none;
border-radius: 0;
2016-12-29 22:50:36 +00:00
border-bottom: 1px solid rgba(0, 0, 0, 0.1);
2016-12-29 18:36:53 +00:00
padding: 1em;
2016-12-29 10:17:21 +00:00
}
2016-07-01 09:46:09 +00:00
#listing .item {
2016-12-29 18:01:28 +00:00
margin: .5em;
2016-07-01 09:46:09 +00:00
padding: 0.5em;
2016-12-29 18:01:28 +00:00
transition: 0.2s ease border;
2016-07-01 09:46:09 +00:00
border-radius: 0.2em;
background-color: #fff;
box-shadow: 0 1px 3px rgba(0, 0, 0, .06), 0 1px 2px rgba(0, 0, 0, .12);
position: relative;
2016-12-29 18:01:28 +00:00
width: calc(33% - 1em);
2016-12-29 10:17:21 +00:00
display: flex;
flex-wrap: nowrap;
2016-12-29 18:01:28 +00:00
color: #6f6f6f;
2016-07-01 09:46:09 +00:00
}
.item:hover {
box-shadow: 0 1px 3px rgba(0, 0, 0, .12), 0 1px 2px rgba(0, 0, 0, .24) !important;
}
2016-12-29 18:01:28 +00:00
.item[aria-selected=true] {
background: #2196f3 !important;
color: #fff !important;
2016-12-29 10:17:21 +00:00
}
.item div:first-of-type {
2016-12-29 18:01:28 +00:00
width: 5em;
2016-12-29 10:17:21 +00:00
}
.item div:last-of-type {
width: calc(100% - 5vw);
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
2016-07-01 09:46:09 +00:00
}
.item p {
font-size: 0.9em;
margin: 0;
}
.item span {
font-weight: bold;
}
.item i {
2016-12-29 18:01:28 +00:00
font-size: 4em;
2016-07-01 09:46:09 +00:00
margin-right: 0.1em;
2016-12-29 09:47:55 +00:00
vertical-align: bottom;
2016-07-01 09:46:09 +00:00
}
2016-12-29 18:36:53 +00:00
#listing.list .item div:first-of-type {
width: 3em;
}
#listing.list .item div:first-of-type i {
font-size: 2em;
}
#listing.list .item div:last-of-type {
width: calc(100% - 3em);
}
2016-12-29 22:50:36 +00:00
2016-07-01 09:46:09 +00:00
/* ANIMATIONS */
i.spin {
-webkit-animation: 1s spin linear infinite;
animation: 1s spin linear infinite;
}
@-webkit-keyframes spin {
100% {
-webkit-transform: rotate(-360deg);
transform: rotate(-360deg);
}
}
@keyframes spin {
100% {
-webkit-transform: rotate(-360deg);
transform: rotate(-360deg);
}
}
/* EDITOR */
#editor .frontmatter {
-webkit-column-count: 2;
-moz-column-count: 2;
column-count: 2;
-webkit-column-gap: 1em;
-moz-column-gap: 1em;
column-gap: 1em;
margin-bottom: 1em;
}
#editor .group,
#editor #editor-source {
box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
display: block;
border-radius: .2em;
padding: .5em;
margin-bottom: 1em;
-webkit-column-break-inside: avoid;
page-break-inside: avoid;
break-inside: avoid;
background-color: #fff;
display: inline-block;
width: 100%;
break-inside: avoid-column;
}
#editor .block {
border-bottom: 1px solid #eee;
margin-bottom: .5em;
padding-bottom: .5em;
}
#editor .block:last-child {
border: 0;
margin: 0;
padding: 0;
}
#editor .block label {
display: block;
color: #212121;
font-weight: 500;
}
#editor h3 {
margin: 0 0 .5em;
display: inline-block;
vertical-align: middle;
width: calc(100% - 2.5em);
}
#editor .block input,
#editor .block .actions {
display: inline-block;
}
#editor .block input,
#editor .block textarea,
#editor fieldset input,
#editor fieldset textarea {
border: 0;
background-color: transparent;
overflow: hidden;
color: #9E9E9E;
resize: none;
width: calc(100% - 1.5em);
}
#editor .action {
border: 0;
background-color: transparent;
font-size: .8em;
margin: 0;
}
#editor .delete,
#editor .add {
color: #ddd;
}
#editor i {
padding: 0;
}
#editor .add:hover i {
color: #8BC34A;
}
#editor .delete:hover i {
color: #E53935;
}
#editor .add:hover i,
#editor .delete:hover i {
background-color: transparent;
}
#editor fieldset>.action {
2016-07-01 09:46:09 +00:00
opacity: 0;
}
#editor fieldset:hover>.action {
2016-07-01 09:46:09 +00:00
opacity: 1;
}
#editor textarea[name="content"] {
display: none;
}
#editor fieldset fieldset {
margin-left: 1em;
}
#editor button span {
vertical-align: middle;
transition: 0.2s ease-in-out all;
}
#editor button span i {
vertical-align: sub;
font-size: 1.3rem;
margin-right: .2em;
}
#editor #publish {
background-color: #167169;
}
#editor .group.temp {
background-color: #f5f5f5;
}
#editor .group.temp label {
font-weight: lighter;
font-size: .8em;
margin-bottom: 1em;
color: #7d7d7d;
}
#editor .group.temp input {
color: #212121;
}
#editor .right {
display: inline-block;
text-align: right;
float: right;
2016-12-29 10:17:21 +00:00
}