/**
 * Copyright (c) 2013, Jan-Christoph Borchardt http://jancborchardt.net
 * This file is licensed under the Affero General Public License version 3 or later.
 * See the COPYING file.
 */

#app-navigation {
    padding-bottom: 0; /* no settings bar, so no padding needed */
}

#app-navigation #note-add span {
    display: none;
    font-weight: bold;
    padding-left: 2px;
}

#app-navigation #note-add:hover span,
#app-navigation #note-add:focus span {
    display: inline;
}

#app-navigation .utils button {
    margin: 0;
    background-position: center;
    background-repeat: no-repeat;
    background-color: transparent;
    border: 0;
    box-shadow: none;
    display: none;
    height: 32px;
    width: 32px;
}

/* override snap.js animation causing loading icon to fly into app-content */
#app-content.loading {
    transition: none !important;
    -webkit-transition: none !important;
}

/* only display the delete button when the feed is active */
#app-navigation .utils .delete-button {
    display: none;
}

#app-navigation .active > .utils .icon-delete,
#app-navigation .active > .utils .icon-star {
    display: inline-block;
    opacity: .3;
}
#app-navigation .utils .icon-starred {
    display: inline-block;
    opacity: 1 !important;
}

.tooltip {
    text-shadow: none;
    text-transform: none;
}

#app-content-container {
    height: 100%;
}

/* special styling to make editor subtle and fit the window */
.CodeMirror {
    position: relative;
    min-height: 100%;
<<<<<<< f8bace7f95aa818675fed5c8946933f42972a4e7
    width: 100%;
    max-width: 47em;
    margin: 0 0 -50px;
    padding: 30px 20px 90px 30px;
    font-size: 16px;
    line-height: 170%;
    background: none;
    resize: none;
    box-sizing: border-box;
    font-family: inherit;
=======
    font-size: 16px;
    margin: 0 0 -50px;
    padding: 30px 0 90px;
    border: none;
>>>>>>> switch editor from mdedit to simplemde
}

#app-content .note-meta {
    position: relative;
    padding: 0 45px 30px 45px;
    margin: -10px 0 0;
    opacity: .2;
    -ms-user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    z-index: 5;
}

#app-content .saving {
    background: url('../img/loading.gif') no-repeat right 15px top 15px / 24px !important;
    /* Overrides the snap.js animation making the loading icon to fly in app-content. */
    transition: none !important;
    -webkit-transition: none !important;
}


/* markdown styling */

.CodeMirror .CodeMirror-code .cm-header {
    /* break from core in using semibold, otherwise not emphasized in texts */
	font-weight: 600;
}
.CodeMirror .CodeMirror-code .cm-header-1 {
    font-size: 40px;
    margin: 50px 0 20px;
    line-height: 120%;
}
.CodeMirror .CodeMirror-code .cm-header-2 {
	font-size: 20px;
    margin-top: 12px;
    line-height: 150%;
}
.CodeMirror .CodeMirror-code .cm-header-3,
.CodeMirror .CodeMirror-code .cm-header-4,
.CodeMirror .CodeMirror-code .cm-header-5,
.CodeMirror .CodeMirror-code .cm-header-6 {
	font-size: 16px;
    margin: 0;
    font-weight: 300;
}
.CodeMirror .CodeMirror-code .cm-header-3 {
    font-weight: 600;
}

.CodeMirror .CodeMirror-code .cm-hr {
    position: relative;
    display: inline-block;
    width: 100%;
}

.CodeMirror .CodeMirror-code .cm-hr:before {
    position: absolute;
    content: "";
    top: 50%;
    width: 100%;
    z-index: -1;
    border-top: 5px solid rgba(120, 120, 120, 0.2);
}


/* hanging punctuation */
.CodeMirror .CodeMirror-code .CodeMirror-line {
    padding-left: 45px;
}

.CodeMirror .CodeMirror-code .cm-formatting-header:not(:only-child),
.CodeMirror .CodeMirror-code .cm-formatting-list,
.CodeMirror .CodeMirror-code .cm-formatting-quote {
    position: absolute;
    display: inline-block;
    width: 90px;
    margin-top: 0;
    margin-left: -90px;
    text-align: right;
    white-space: pre;
}


/* larger screen sizes */
@media only screen and (min-width: 769px) {
    /* use slightly more space on the left so all # signs of h3–h6 show */
    .CodeMirror .CodeMirror-code .CodeMirror-line,
    #app-content .note-meta {
        padding-left: 90px;
    }
}
