filebrowser/assets/src/css/main.css

378 lines
5.1 KiB
CSS
Raw Normal View History

2016-01-31 22:14:17 +00:00
body {
font-family: 'Roboto', sans-serif;
color: #212121;
height: 100%;
width: 100%;
}
code {
border-radius: .2em;
}
img {
max-width: 100%;
}
#content {
padding-top: 3em;
}
h2 {
margin: .83em 0;
}
header {
color: #fff;
background-color: #37474f;
padding: .67em 0;
}
header h1 {
margin: 0;
}
.container {
margin: 0 auto;
width: 95%;
max-width: 800px;
}
.hidden {
display: none;
}
.left {
text-align: left;
}
.right {
text-align: right;
}
/* NAVIGATION */
body > nav {
position: fixed;
top: 0;
left: 0;
height: 3em;
width: 100%;
background-color: #2196F3;
padding: 0 1em;
box-sizing: border-box;
z-index: 999;
color: #eee;
}
body > nav ul {
margin: 0;
padding: 0;
display: -webkit-box;
display: -moz-box;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
}
body > nav ul li {
list-style-type: none;
display: inline-block;
vertical-align: middle;
}
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;
transition: .5s ease background-color;
}
body > nav ul li a:hover {
background-color: rgba(255, 255, 255, 0.57);
}
2016-02-01 22:30:29 +00:00
/* FOOTER */
body > footer {
background-color: #CFD8DC;
text-align: center;
padding: 1em 0;
}
body > footer p {
width: 95%;
max-width: 1000px;
margin: 0 auto;
color: #78909C;
font-size: .9em
}
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;
}
/* EDITOR */
2016-02-01 22:30:29 +00:00
button, input[type="submit"] {
border-radius: 0.2em;
border: 0;
padding: .5em 1em;
color: #fff;
font-weight: normal;
background-color: #ddd;
}
2016-01-31 22:14:17 +00:00
.editor h1 textarea {
width: 100%;
border: 0;
font-size: 2em;
font-weight: 400;
resize: none;
overflow: hidden;
line-height: 1em;
height: 1em;
}
2016-02-01 22:30:29 +00:00
button.add, button.delete, button.rename {
padding: 0.063em 0.375em;
2016-01-31 22:14:17 +00:00
}
button.add {
background-color: #8BC34A;
}
2016-02-01 22:30:29 +00:00
.frontmatter > .actions {
margin-top: 0;
text-align: right;
}
.frontmatter > .actions button.add {
padding: .5em 1em;
}
2016-01-31 22:14:17 +00:00
button.delete {
background-color: #F44336;
}
button.rename {
background-color: #1565C0;
}
.block > .actions,
fieldset > .actions {
position: absolute;
top: 0.5em;
right: 0.5em;
}
.blocks {
2016-02-01 18:56:22 +00:00
-moz-column-count: 2;
-webkit-column-count: 2;
column-count: 2;
-moz-column-gap: 1em;
-webkit-column-gap: 1em;
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-01-31 22:14:17 +00:00
background-color: #EAEAEA;
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%;
resize: vertical;
background-color: inherit;
border: 0;
}
.block input,
fieldset input {
border: 0;
outline: 0;
background-color: transparent;
width: 100%;
}
fieldset input {
width: calc(100% - 1.57em);
margin: 0.5em 0;
}
.editor.complete .block[data-content="title"] {
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;
}
.ace_editor {
margin: 0;
}
.ace_gutter {
background-color: #f7f7f7 !important;
}
/* BROWSE */
.browse a {
color: inherit;
text-decoration: none;
}
.browse table {
width: 100%;
}
.browse .actions {
background-color: #455a64;
color: #fff;
padding: 1.5em 0;
}
.browse .actions .container {
margin: 0 auto;
display: flex;
}
.browse .actions .fa {
vertical-align: middle;
}
.browse .actions .go-right {
margin-left: auto;
position: relative;
}
.browse tr {
line-height: 2em;
border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}
.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%;
}