start editor

Former-commit-id: 7e783c70c379de0ae358ef3d887f0ebeb7926f57 [formerly abd06579471497ba043468705153bbb3eddc0a2d] [formerly 25b070c4daaa985ff8ce4a088f0bd61e56e98df8 [formerly 289171c092]]
Former-commit-id: ad79c60db1adb2008c47f66bf6ca9633243352e1 [formerly b121cb669150710898110d5a726ff7b6e3319d37]
Former-commit-id: b0f3fb734f550b7e6a6f46a40548ea40ecff614d
This commit is contained in:
Henrique Dias committed 2017-06-29 21:46:08 +01:00
1 parent 0bfd6cee55
commit effa906f7c
7 files changed
+183 -200

No files matched your search

+126
View File
@@ -0,0 +1,126 @@
body {
font-family: 'Roboto', sans-serif;
padding-top: 4em;
background-color: #f8f8f8;
}
* {
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;
}
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;
}
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);
border-bottom: 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);
}
main {
width: 100%;
margin: 0;
padding: 0 1em;
}
}
+10 -12
View File
@@ -165,9 +165,9 @@
display: flex !important;
background: #f8f8f8;
position: fixed;
width: 78%;
width: calc(100% - 19em);
top: 4em;
left: 20%;
right: 1em;
z-index: 999;
padding: .85em;
border: 0;
@@ -182,16 +182,6 @@
margin-right: 3em;
}
#listing.list .header {
display: flex;
background: #fafafa;
position: fixed;
width: 100%;
top: 7.8em;
left: 0;
z-index: 999;
}
#listing.list .header a {
color: inherit;
}
@@ -249,3 +239,11 @@
#listing #multiple-selection i {
color: #fff;
}
@media (max-width: 1024px) {
#listing.list .item.header {
width: calc(100% - 2em);
right: 1em;
left: 1em;
}
}
+18 -148
View File
@@ -1,90 +1,10 @@
@import "./fonts.css";
@import "./normalize.css";
@import "./base.css";
@import "./header.css";
@import "./prompts.css";
@import "./listing.css";
body {
font-family: 'Roboto', sans-serif;
padding-top: 4em;
background-color: #f8f8f8;
}
* {
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;
}
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;
}
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;
}
/* * * * * * * * * * * * * * * *
* EDITOR *
@@ -261,6 +181,7 @@ fieldset h3,
box-shadow: 0 0 0 0;
vertical-align: middle;
text-align: left;
position: relative;
}
.action.disabled {
@@ -301,45 +222,6 @@ fieldset h3,
}
/* * * * * * * * * * * * * * * *
* NEW FILE/DIR *
* * * * * * * * * * * * * * * */
.floating {
position: fixed;
bottom: 1em;
right: 1em;
}
.floating .action {
background-color: #2196f3 !important;
color: #fff;
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;
width: 22em;
border-radius: .2em;
}
#newdir.enabled {
opacity: 1;
}
#logout {
border-radius: 0;
margin-left: auto;
padding: .15em;
}
#click-overlay {
display: none;
@@ -355,37 +237,25 @@ fieldset h3,
display: block;
}
.action .counter {
display: block;
position: absolute;
bottom: 0;
right: 0;
background: #2196f3;
color: #fff;
border-radius: 50%;
font-size: .75em;
width: 1.5em;
height: 1.5em;
text-align: center;
line-height: 1.25em;
border: 2px solid white;
}
/* SIDEBAR */
#sidebar {
position: fixed;
left: 0;
width: 20%;
}
#sidebar .action {
width: 100%;
display: block;
border-radius: 0;
font-size: 1.1em;
padding: .5em;
}
#sidebar > div {
border-top: 1px solid rgba(0, 0, 0, 0.05);
border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
#sidebar .action>* {
vertical-align: middle;
}
main {
width: 78%;
margin-left: 20%;
min-height: 1em;
}
/* * * * * * * * * * * * * * * *