make updates

This commit is contained in:
Henrique Dias
2015-09-18 16:49:53 +01:00
parent f7227520ea
commit 0549bd73eb
16 changed files with 412 additions and 334 deletions

View File

@@ -63,7 +63,7 @@ nav ul li a:hover {
background-color: rgba(255, 255, 255, 0.57);
}
#main {
.box {
position: fixed;
top : 3em;
left : 0;
@@ -108,31 +108,29 @@ footer p {
display: none;
}
/* EDITOR STYLE */
/* EDITOR GENERAL STYLES */
.editor .sidebar {
position : fixed;
left : 0;
top : 3em;
overflow-y : auto;
overflow-x : hidden;
height : calc(100% - 3em);
width : 25%;
background-color: #37474f;
color : #ddd;
color : #37474f;
box-sizing : border-box;
padding : 1.5em 1em;
background-color: #ddd;
}
.editor .container {
position : fixed;
top : 3em;
right : 0;
overflow : hidden;
height : calc(100% - 6em);
width : 75%;
width : 100%;
box-sizing: border-box;
}
.editor.full .container {
position: fixed;
top : 3em;
right : 0;
width : 75%;
height : calc(100% - 6em);
}
.editor .sidebar h2 {
margin-top: 0;
}
@@ -178,20 +176,21 @@ footer p {
.editor h3 {
font-size : 1em;
margin : 0 0 .25em;
font-weight: bold;
margin : 0;
}
.action-bar {
position : fixed;
bottom : 0;
right : 0;
width : 75%;
width : 100%;
background-color: #455a64;
height : 3em;
display : flex;
padding : .5em 1em;
box-sizing : border-box;
z-index : 999;
}
.action-bar .left {
@@ -202,6 +201,59 @@ footer p {
margin-left: 1em;
}
/* EDITOR FRONTMATTER ONLY STYLES */
.frontmatter-only .box,
.content-only .box {
height: calc(100% - 6em);
}
.frontmatter-only .sidebar {
width: 100%;
}
.frontmatter-only input {
color: rgba(0, 0, 0, 0.2);
}
.frontmatter-only input:focus {
color: rgba(0, 0, 0, 0.5);
}
.frontmatter-only .action-bar input,
.frontmatter-only .action-bar input:focus {
color: #fff;
}
.frontmatter-only fieldset {
border-top: 1px solid rgba(0,0,0,.1);
}
.frontmatter-only h3 {
font-size: 1.5em;
}
/* EDITOR CONTENT ONLY STYLES */
.content-only #content-area,
.content-only #preview-area {
padding: 0;
}
/* EDITOR FULL STYLES */
.full .sidebar {
position : fixed;
left : 0;
top : 3em;
width : 25%;
padding : 1.5em 1em;
background-color: #37474f;
color : #ddd;
height : calc(100% - 3em);
}
.full .action-bar {
width: 75%;
}
/* FORMS ELEMENTS */
form input {
color : rgba(0, 0, 0, 0.41);