filebrowser/assets/public_src/css/main.css

590 lines
8.8 KiB
CSS
Raw Normal View History

2016-01-31 22:14:17 +00:00
body {
font-family: 'Roboto', sans-serif;
color: #212121;
2016-02-03 22:33:03 +00:00
background-color: #f5f5f5;
2016-01-31 22:14:17 +00:00
height: 100%;
width: 100%;
2016-02-03 22:33:03 +00:00
padding-top: 3em;
}
2016-02-07 19:37:01 +00:00
* {
box-sizing: border-box;
}
2016-02-03 22:33:03 +00:00
a {
text-decoration: none;
color: #1976D2;
2016-01-31 22:14:17 +00:00
}
code {
border-radius: .2em;
}
img {
max-width: 100%;
}
h2 {
margin: .83em 0;
}
.container {
margin: 0 auto;
width: 95%;
2016-02-03 22:33:03 +00:00
max-width: 1000px;
2016-01-31 22:14:17 +00:00
}
.hidden {
display: none;
}
.left {
text-align: left;
}
.right {
text-align: right;
}
2016-02-06 16:33:54 +00:00
#content > header {
2016-02-07 15:57:43 +00:00
background-color: #00BCD4;
2016-02-06 16:33:54 +00:00
padding: 1px 0;
}
2016-01-31 22:14:17 +00:00
/* NAVIGATION */
body > nav {
position: fixed;
top: 0;
left: 0;
height: 3em;
width: 100%;
2016-02-07 15:57:43 +00:00
background-color: #0097A7;
2016-01-31 22:14:17 +00:00
padding: 0 1em;
box-sizing: border-box;
z-index: 999;
color: #eee;
2016-02-06 17:39:47 +00:00
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
2016-01-31 22:14:17 +00:00
}
body > nav ul {
margin: 0;
padding: 0;
display: -webkit-box;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
}
body > nav ul li {
list-style-type: none;
display: inline-block;
vertical-align: middle;
}
2016-02-07 15:57:43 +00:00
body > nav ul li:first-child a {
margin-left: -0.5em;
}
body > nav ul li:last-child a {
margin-right: -0.5em;
}
2016-01-31 22:14:17 +00:00
body > nav ul li:last-child {
margin-left: auto;
}
body > nav img {
height: 2em;
}
body > nav ul li a {
padding: .5em;
line-height: 2em;
display: block;
text-decoration: none;
color: inherit;
2016-02-03 22:33:03 +00:00
-webkit-transition: .5s ease background-color;
2016-01-31 22:14:17 +00:00
transition: .5s ease background-color;
}
body > nav ul li a:hover {
2016-02-07 17:16:09 +00:00
background-color: rgba(0, 0, 0, 0.1);
2016-01-31 22:14:17 +00:00
}
2016-02-03 22:33:03 +00:00
2016-02-01 22:30:29 +00:00
/* FOOTER */
body > footer {
2016-02-03 22:33:03 +00:00
background-color: #ddd;
2016-02-01 22:30:29 +00:00
text-align: center;
padding: 1em 0;
2016-02-03 22:33:03 +00:00
margin-top: 1em;
2016-02-01 22:30:29 +00:00
}
body > footer p {
width: 95%;
max-width: 1000px;
margin: 0 auto;
color: #78909C;
font-size: .9em
}
2016-02-08 20:15:55 +00:00
body > footer a {
color: #aaa;
}
2016-01-31 22:14:17 +00:00
/* NOFICATIONS */
#noty_topRight_layout_container {
font-family: sans-serif;
top: 4em !important;
right: 1em !important;
position: fixed !important;
width: 310px;
height: auto;
margin: 0;
padding: 0;
list-style-type: none;
z-index: 10000000;
}
#noty_topRight_layout_container li {
overflow: hidden;
margin: 0 0 .25em;
}
.noty_bar {
color: #fff;
background-color: #cfd8dc;
border-radius: .3em;
}
.noty_message {
font-size: .75em;
font-weight: bold;
line-height: 1.2em;
text-align: left;
padding: 1em;
width: auto;
position: relative;
}
.noty_text {
display: block;
box-sizing: border-box;
margin-left: 3em;
top: 1em;
}
.noty_icon {
position: absolute;
left: 0;
top: 0;
box-sizing: border-box;
height: 100%;
padding: 1em;
background-color: rgba(0, 0, 0, .1);
border-top-left-radius: .3em;
border-bottom-left-radius: .3em;
text-align: center;
}
.noty_icon .fa {
width: 1em !important;
}
.noty_type_success {
background-color: #00c853;
}
.noty_type_error {
background-color: #ff5252;
}
.noty_type_warning {
background-color: #ffd600;
}
.noty_type_information {
background-color: #448aff;
}
2016-02-03 22:33:03 +00:00
/* EDITOR : BUTTONS */
2016-01-31 22:14:17 +00:00
2016-02-03 22:33:03 +00:00
button,
input[type="submit"] {
2016-02-01 22:30:29 +00:00
border-radius: 0.2em;
border: 0;
padding: .5em 1em;
2016-02-07 15:57:43 +00:00
color: #000;
2016-02-01 22:30:29 +00:00
font-weight: normal;
2016-02-07 15:57:43 +00:00
background-color: #FFEB3B;
2016-02-06 17:39:47 +00:00
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.12);
2016-02-08 20:44:44 +00:00
-webkit-transition: .5s ease background-color;
2016-02-07 15:57:43 +00:00
transition: .5s ease background-color;
}
2016-02-07 21:12:01 +00:00
button.darker {
background-color: #F9A825;
}
button.darker:hover {
background-color: #F57F17;
}
2016-02-07 15:57:43 +00:00
button:hover,
input[type="submit"]:hover,
button:active,
input[type="submit"]:active,
button:focus,
input[type="submit"]:focus {
outline: 0;
background-color: #FDD835;
2016-01-31 22:14:17 +00:00
}
2016-02-03 22:33:03 +00:00
button.add,
button.delete,
button.rename {
2016-02-07 15:57:43 +00:00
color: #fff;
2016-02-01 22:30:29 +00:00
padding: 0.063em 0.375em;
2016-01-31 22:14:17 +00:00
}
button.add {
background-color: #8BC34A;
}
2016-02-08 20:44:44 +00:00
button.add:hover {
background-color: #689F38;
}
2016-02-03 22:33:03 +00:00
button.delete {
background-color: #F44336;
}
2016-02-08 20:44:44 +00:00
button.delete:hover {
background-color: #D32F2F;
}
2016-02-03 22:33:03 +00:00
button.rename {
background-color: #1565C0;
}
2016-02-08 20:44:44 +00:00
button.rename:hover {
background-color: #0D47A1;
}
2016-02-01 22:30:29 +00:00
.frontmatter > .actions {
margin-top: 0;
text-align: right;
}
.frontmatter > .actions button.add {
padding: .5em 1em;
}
2016-02-03 22:33:03 +00:00
.toolbar .right {
float: right;
2016-01-31 22:14:17 +00:00
}
2016-02-07 15:57:43 +00:00
.toolbar input[type="submit"] {
background-color: #00BCD4;
color: #fff;
}
.toolbar input.default {
2016-02-03 22:33:03 +00:00
background-color: #8BC34A;
}
.editor h1 textarea {
width: 100%;
border: 0;
font-size: 2em;
font-weight: 400;
resize: none;
overflow: hidden;
line-height: 1em;
height: 1em;
background-color: transparent;
2016-01-31 22:14:17 +00:00
}
.block > .actions,
fieldset > .actions {
position: absolute;
top: 0.5em;
right: 0.5em;
}
.blocks {
2016-02-03 22:33:03 +00:00
-webkit-column-count: 4;
-moz-column-count: 4;
column-count: 4;
2016-02-01 18:56:22 +00:00
-webkit-column-gap: 1em;
2016-02-03 22:33:03 +00:00
-moz-column-gap: 1em;
2016-02-01 18:56:22 +00:00
column-gap: 1em;
2016-01-31 22:14:17 +00:00
}
.block,
fieldset {
2016-02-01 22:30:29 +00:00
display: inline-block;
2016-02-06 17:39:47 +00:00
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
2016-02-03 22:33:03 +00:00
background-color: #fff;
2016-01-31 22:14:17 +00:00
padding: 0.6em;
box-sizing: border-box;
margin: 0 0 1em;
position: relative;
2016-02-01 18:56:22 +00:00
width: 100%;
2016-01-31 22:14:17 +00:00
border: 0;
}
.block label,
fieldset label,
fieldset h3 {
font-weight: bold;
display: block;
margin-top: 0;
font-size: 1em;
}
.block textarea {
width: 100%;
2016-02-03 22:33:03 +00:00
background-color: transparent;
2016-01-31 22:14:17 +00:00
resize: vertical;
background-color: inherit;
border: 0;
2016-02-03 22:33:03 +00:00
overflow: hidden;
2016-01-31 22:14:17 +00:00
}
2016-02-07 17:49:20 +00:00
input {
2016-01-31 22:14:17 +00:00
border: 0;
outline: 0;
background-color: transparent;
width: 100%;
}
2016-02-07 17:49:20 +00:00
input[type="submit"] {
width: auto;
}
2016-01-31 22:14:17 +00:00
fieldset input {
width: calc(100% - 1.57em);
margin: 0.5em 0;
}
2016-02-07 09:55:16 +00:00
.complete .block[data-content="title"] {
2016-01-31 22:14:17 +00:00
display: none;
}
/* TOGGLER, SOURCE AND PREVIEW */
.editor .content {
border-radius: 0.5em;
border: 1px solid #d8d8d8;
background-color: #f7f7f7;
}
.editor .content nav a {
padding: 1em 1em;
line-height: 3em;
cursor: pointer;
font-size: 1em;
2016-02-08 20:15:55 +00:00
color: inherit;
}
.editor .content nav a.active {
font-weight: bold;
2016-01-31 22:14:17 +00:00
}
2016-02-07 09:34:28 +00:00
#editor-preview {
padding: 4% 13%;
display: block;
background-color: rgb(255, 255, 255);
2016-02-07 09:47:44 +00:00
display: none;
2016-02-07 09:34:28 +00:00
}
2016-01-31 22:14:17 +00:00
.ace_editor {
margin: 0;
border-bottom-left-radius: .5em;
border-bottom-right-radius: 0.5em;
2016-01-31 22:14:17 +00:00
}
.ace_gutter {
background-color: #f7f7f7 !important;
}
/* BROWSE */
.browse a {
color: inherit;
text-decoration: none;
}
.browse .actions {
2016-02-07 15:57:43 +00:00
background-color: #00BCD4;
2016-01-31 22:14:17 +00:00
color: #fff;
padding: 1.5em 0;
}
.browse .actions .container {
margin: 0 auto;
2016-02-03 22:33:03 +00:00
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
2016-01-31 22:14:17 +00:00
display: flex;
}
2016-02-06 16:33:54 +00:00
.browse .actions .container > a,
.browse .actions .container > span {
line-height: 2em;
vertical-align: middle;
}
.browse .actions .container > a {
margin-right: 0.5em;
}
.browse .actions .container > span {
font-weight: bold;
font-size: 1.1em;
}
2016-01-31 22:14:17 +00:00
.browse .actions .fa {
vertical-align: middle;
}
.browse .actions .go-right {
margin-left: auto;
position: relative;
}
2016-02-06 16:33:54 +00:00
.browse .go-right input[type="file"] {
display: none;
}
.browse table {
margin: 1em 0;
width: 100%;
}
2016-01-31 22:14:17 +00:00
.browse tr {
line-height: 2em;
border-bottom: 1px solid rgba(0, 0, 0, 0.03);
2016-02-08 20:44:44 +00:00
transition: .2s ease background-color;
}
.browse tr:hover {
background-color: rgba(0,0,0,0.04);
2016-01-31 22:14:17 +00:00
}
2016-02-06 16:33:54 +00:00
.browse th.buttons {
width: 4em;
}
.browse tr button {
line-height: 1.5em;
border-radius: 50%;
width: 1.5em;
height: 1.5em;
padding: 0;
}
2016-01-31 22:14:17 +00:00
.browse #new-file {
display: none;
position: absolute;
right: 0;
top: 2.5em;
background-color: #263238;
color: rgba(255, 255, 255, .5);
border-radius: .5em;
padding: 1em;
width: 182%;
}
2016-02-06 17:39:47 +00:00
2016-02-07 19:37:01 +00:00
/* POPUS */
2016-02-07 21:12:01 +00:00
#foreground {
2016-02-07 15:57:43 +00:00
z-index: 99999;
position: fixed;
top: 0;
left: 0;
height: 100%;
width: 100%;
2016-02-07 17:16:09 +00:00
background-color: rgba(0, 0, 0, 0.1);
2016-02-07 15:57:43 +00:00
}
2016-02-07 19:37:01 +00:00
.popup {
2016-02-07 17:16:09 +00:00
z-index: 999999;
position: fixed;
2016-02-07 15:57:43 +00:00
margin: 0 auto;
2016-02-07 17:16:09 +00:00
max-width: 25em;
2016-02-07 15:57:43 +00:00
width: 95%;
2016-02-07 17:16:09 +00:00
top: 10%;
left:50%;
2016-02-08 20:44:44 +00:00
-webkit-transform: translateX(-50%);
transform: translateX(-50%);
2016-02-07 17:16:09 +00:00
background-color: #006064;
color: #fff;
padding: 1em 2em;
border-radius: .5em;
box-shadow: 0 1px 3px rgba(0,0,0,.12),0 1px 2px rgba(0,0,0,.24);
}
2016-02-07 19:37:01 +00:00
.popup input[type="text"] {
2016-02-07 17:16:09 +00:00
border-bottom: .15em solid white;
2016-02-07 15:57:43 +00:00
}
2016-02-08 20:44:44 +00:00
@media screen and (max-width: 900px) {
.blocks {
-webkit-column-count: 3;
-moz-column-count: 3;
column-count: 3;
}
}
2016-02-06 17:39:47 +00:00
@media screen and (max-width: 600px) {
2016-02-08 20:44:44 +00:00
.blocks {
-webkit-column-count: 2;
-moz-column-count: 2;
column-count: 2;
}
2016-02-06 17:39:47 +00:00
body > nav span {
display: none;
}
body>nav ul li:last-child {
margin-left: 0;
}
body > nav .container {
2016-02-08 20:44:44 +00:00
-webkit-box-pack: justify;
-webkit-justify-content: space-between;
-ms-flex-pack: justify;
justify-content: space-between;
2016-02-06 17:39:47 +00:00
text-align: center;
}
.hideable {
display: none;
}
}
2016-02-08 20:44:44 +00:00
@media screen and (max-width: 350px) {
.blocks {
-webkit-column-count: 1;
-moz-column-count: 1;
column-count: 1;
}
.browse .actions {
text-align: center;
}
.browse .actions .container {
display: block;
}
.browse .container .go-right {
display: block;
}
}