2014-07-30 13:59:07 +04:00
|
|
|
//
|
|
|
|
// Editor
|
|
|
|
// --------------------------------------------------
|
|
|
|
// Slug: /ghost/editor/
|
|
|
|
// --------------------------------------------------
|
|
|
|
|
|
|
|
// The main post title
|
|
|
|
.entry-container .entry-title {
|
2014-08-07 16:33:56 +04:00
|
|
|
height: 60px;
|
2014-08-07 17:35:58 +04:00
|
|
|
padding: 0 20px;
|
2014-07-30 13:59:07 +04:00
|
|
|
position: relative;
|
|
|
|
|
|
|
|
input {
|
2014-08-07 16:33:56 +04:00
|
|
|
width: 100%;
|
|
|
|
height: 60px;
|
2014-07-30 13:59:07 +04:00
|
|
|
border: 0;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
2014-08-07 16:33:56 +04:00
|
|
|
font-size: 3.6rem;
|
2014-07-30 13:59:07 +04:00
|
|
|
font-weight: bold;
|
|
|
|
letter-spacing: -1px;
|
|
|
|
background: transparent;
|
2014-08-07 16:33:56 +04:00
|
|
|
|
2014-07-30 13:59:07 +04:00
|
|
|
&:focus {
|
|
|
|
outline: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
} // .entry-title
|
|
|
|
|
|
|
|
.editor {
|
|
|
|
|
|
|
|
.notifications {
|
|
|
|
@media (min-width: 401px) {
|
|
|
|
bottom: 40px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.entry-container {
|
|
|
|
position: relative;
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
// The two content panel wrappers, positioned left/right
|
2014-08-07 16:11:01 +04:00
|
|
|
.entry-markdown { left: 0; }
|
|
|
|
.entry-preview { right: 0; border-left: $lightbrown 1px solid; }
|
2014-07-30 13:59:07 +04:00
|
|
|
|
|
|
|
// The visual styles for both panels
|
|
|
|
.entry-markdown,
|
|
|
|
.entry-preview {
|
|
|
|
width: 50%;
|
|
|
|
padding: 15px;
|
|
|
|
position: absolute;
|
|
|
|
bottom: 40px; // height of the publish bar
|
2014-08-07 16:33:56 +04:00
|
|
|
top: 60px; // height of the post title + margin
|
2014-08-07 16:11:01 +04:00
|
|
|
border-top: $lightbrown 1px solid;
|
2014-07-30 13:59:07 +04:00
|
|
|
background: #fff;
|
|
|
|
|
|
|
|
// Convert all content areas to small boxes
|
|
|
|
@media (max-width: 1000px) {
|
2014-08-07 16:33:56 +04:00
|
|
|
top: 100px;
|
2014-07-30 13:59:07 +04:00
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
width: 100%;
|
|
|
|
border: none;
|
|
|
|
z-index: 100;
|
|
|
|
min-height: 380px;
|
|
|
|
.markdown, .entry-preview-content {
|
|
|
|
height: 50px;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.floatingheader {
|
|
|
|
|
|
|
|
// Turn headers into tabs which act as links
|
|
|
|
// both headers set to grey/inactive colour
|
|
|
|
@media (max-width: 1000px) {
|
|
|
|
cursor: pointer;
|
|
|
|
width: 50%;
|
|
|
|
color: #fff;
|
|
|
|
font-weight: normal;
|
|
|
|
background: $brown;
|
|
|
|
position: absolute;
|
|
|
|
top: -40px;
|
|
|
|
left: 0;
|
|
|
|
box-shadow: rgba(0,0,0,0.1) 0 -2px 3px inset;
|
|
|
|
|
|
|
|
a {
|
|
|
|
color: #fff;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
|
|
|
color: $brown;
|
|
|
|
}
|
|
|
|
|
|
|
|
.entry-word-count {
|
|
|
|
float: right;
|
2014-08-01 12:02:11 +04:00
|
|
|
position: relative;
|
|
|
|
top: 2px;
|
2014-07-30 13:59:07 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: 1000px) {
|
|
|
|
&:not(.active) {
|
|
|
|
.markdown-help {
|
|
|
|
&:hover:before {
|
|
|
|
color: #fff;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// Give the tab with the .active class the highest z-index
|
|
|
|
&.active {
|
|
|
|
z-index: 200;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Restore the normal height of the .active tab (inactive tab stays small, hidden behind)
|
|
|
|
&.active .markdown,
|
|
|
|
&.active .entry-preview-content {
|
|
|
|
height: auto;
|
|
|
|
overflow: auto;
|
2014-09-19 17:48:51 +04:00
|
|
|
-webkit-overflow-scrolling: touch;
|
2014-07-30 13:59:07 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
// Restore the white bg of the currently .active tab, remove hand cursor from currently active tab
|
|
|
|
&.active header {
|
|
|
|
@media (max-width: 1000px) {
|
2014-08-07 16:33:56 +04:00
|
|
|
border-top: $lightbrown 1px solid;
|
2014-07-30 13:59:07 +04:00
|
|
|
cursor: auto;
|
|
|
|
color: $brown;
|
|
|
|
background: #fff;
|
|
|
|
box-shadow: none;
|
|
|
|
a {
|
|
|
|
color: $brown;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// Hide markdown icon + wordcount when we hit mobile
|
|
|
|
@media (max-width: 400px) {
|
|
|
|
.markdown-help,
|
|
|
|
.entry-word-count {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
} // .entry-markdown, .entry-preview
|
|
|
|
|
|
|
|
.entry-markdown-content {
|
|
|
|
|
|
|
|
textarea {
|
|
|
|
border: 0;
|
|
|
|
width: 100%;
|
|
|
|
min-height: auto;
|
|
|
|
height: 100%;
|
|
|
|
max-width: 100%;
|
|
|
|
margin: 0;
|
|
|
|
padding: 10px 20px 50px 20px;
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
-webkit-overflow-scrolling: touch;
|
|
|
|
|
|
|
|
@media (max-width: 600px) {
|
|
|
|
padding: 10px;
|
|
|
|
}
|
|
|
|
@media (min-width: 601px) and (max-width: 1000px) {
|
|
|
|
padding: 15px;
|
|
|
|
}
|
|
|
|
@media (min-width: 1001px) {
|
|
|
|
top: 40px;
|
|
|
|
}
|
|
|
|
@media (max-height: 560px) {
|
2014-09-26 15:56:14 +04:00
|
|
|
height: calc(100% - 5px);
|
2014-07-30 13:59:07 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
&:focus {
|
|
|
|
outline: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
} // .entry-markdown-content
|
|
|
|
|
|
|
|
.CodeMirror {
|
|
|
|
height: auto;
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
2014-09-26 22:35:10 +04:00
|
|
|
|
|
|
|
pre {
|
|
|
|
font-size: 1.6rem;
|
|
|
|
line-height: 1.56em;
|
|
|
|
font-family: $font-family-mono;
|
|
|
|
color: lighten($darkgrey, 10%);
|
|
|
|
}
|
2014-07-30 13:59:07 +04:00
|
|
|
|
|
|
|
.CodeMirror-focused,
|
|
|
|
.CodeMirror-selected {
|
|
|
|
color: $darkgrey;
|
|
|
|
background: lighten($blue, 20%);
|
|
|
|
text-shadow: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
::selection {
|
|
|
|
color: $darkgrey;
|
|
|
|
background: lighten($blue, 20%);
|
|
|
|
text-shadow: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.CodeMirror-lines {
|
2014-09-15 03:38:32 +04:00
|
|
|
padding-top: 65px; /* Vertical padding around content */
|
2014-07-30 13:59:07 +04:00
|
|
|
@media (max-width: 1000px) {padding-top: 25px;}
|
|
|
|
@media (max-width: 400px) {padding: 15px 0;}
|
|
|
|
}
|
|
|
|
.CodeMirror pre {
|
|
|
|
padding: 0 40px; /* Horizontal padding of content */
|
|
|
|
@media (max-width: 400px) {padding: 0 15px;}
|
|
|
|
}
|
|
|
|
|
|
|
|
.cm-header {
|
|
|
|
color: #000;
|
|
|
|
font-size: 1.4em;
|
|
|
|
line-height: 1.4em;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
.cm-variable-2,
|
|
|
|
.cm-variable-3,
|
|
|
|
.cm-keyword {
|
|
|
|
color: lighten($darkgrey, 10%);
|
|
|
|
}
|
|
|
|
|
|
|
|
.cm-string,
|
|
|
|
.cm-strong,
|
|
|
|
.cm-link,
|
|
|
|
.cm-comment,
|
|
|
|
.cm-quote,
|
|
|
|
.cm-number,
|
|
|
|
.cm-atom,
|
|
|
|
.cm-tag {
|
|
|
|
color: #000;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
.entry-preview {
|
|
|
|
// Align the tab of entry-preview on the right
|
|
|
|
.floatingheader {
|
|
|
|
@media (max-width: 1000px) {
|
|
|
|
right: 0;
|
|
|
|
left: auto;
|
|
|
|
border-right: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.entry-preview-content {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
padding: 60px 40px 40px 40px;
|
|
|
|
overflow: auto;
|
2014-09-19 17:48:51 +04:00
|
|
|
-webkit-overflow-scrolling: touch;
|
2014-07-30 13:59:07 +04:00
|
|
|
word-break: break-word;
|
|
|
|
hyphens: auto;
|
2014-10-26 20:07:35 +03:00
|
|
|
user-select: none;
|
2014-07-30 13:59:07 +04:00
|
|
|
cursor: default;
|
|
|
|
|
|
|
|
// Tweak padding for smaller screens
|
|
|
|
@media (max-width: 1000px) {
|
|
|
|
padding-top: 20px;
|
|
|
|
}
|
|
|
|
@media (max-width: 400px) {
|
|
|
|
padding: 15px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// Special case, when scrolling, add shadows to content headers.
|
|
|
|
.scrolling {
|
|
|
|
|
|
|
|
.floatingheader {
|
|
|
|
@media (max-width: 1000px) {
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
&::before,
|
|
|
|
&::after {
|
|
|
|
@media (max-width: 1000px) {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.CodeMirror-scroll,
|
|
|
|
.entry-preview-content {
|
|
|
|
@media (max-width: 1000px) {
|
|
|
|
box-shadow: 0 5px 5px rgba(0,0,0,0.05) inset;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
} // .scrolling
|
|
|
|
|
|
|
|
} // .editor
|
|
|
|
|
|
|
|
.markdown-help {
|
|
|
|
position: relative;
|
|
|
|
top: -5px;
|
|
|
|
right: -5px;
|
|
|
|
@include icon($i-question, '', lighten($brown, 15%));
|
|
|
|
float: right;
|
|
|
|
padding: 5px;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
@include icon($i-question, '', $brown);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
//
|
|
|
|
// Post Preview
|
|
|
|
// --------------------------------------------------
|
|
|
|
|
|
|
|
// The styles for the actual content inside the preview
|
|
|
|
// TODO: These should just be defaults, overridden by editor.hbs in theme dir
|
|
|
|
.entry-preview-content,
|
|
|
|
.content-preview-content {
|
2014-09-25 19:33:57 +04:00
|
|
|
font-size: 1.8rem;
|
2014-07-30 13:59:07 +04:00
|
|
|
line-height: 1.5em;
|
2014-09-25 19:33:57 +04:00
|
|
|
font-weight: 200;
|
2014-07-30 13:59:07 +04:00
|
|
|
|
|
|
|
a {
|
|
|
|
color: $blue;
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
2014-08-06 23:46:32 +04:00
|
|
|
|
2014-07-30 13:59:07 +04:00
|
|
|
.btn {
|
|
|
|
text-decoration: none;
|
|
|
|
color: $grey;
|
|
|
|
}
|
|
|
|
.img-placeholder {
|
|
|
|
border: 5px dashed $grey;
|
|
|
|
height: 100px;
|
|
|
|
position: relative;
|
|
|
|
span {
|
|
|
|
display: block;
|
|
|
|
height: 30px;
|
|
|
|
position: absolute;
|
|
|
|
margin-top: -15px;
|
|
|
|
top: 50%;
|
|
|
|
width: 100%;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
a {
|
|
|
|
&.image-edit {
|
|
|
|
width: 16px;
|
|
|
|
height: 16px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
img {
|
|
|
|
max-width: 100%;
|
|
|
|
height: auto;
|
|
|
|
margin: 0 auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2014-07-31 22:01:55 +04:00
|
|
|
// Placeholder objects for <script> & <iframe>
|
|
|
|
.js-embed-placeholder,
|
|
|
|
.iframe-embed-placeholder {
|
|
|
|
background: #f9f9f9;
|
|
|
|
border: none;
|
|
|
|
padding: 100px 20px;
|
|
|
|
font-family: $font-family;
|
|
|
|
font-weight: bold;
|
|
|
|
font-size: 1.6rem;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
2014-07-30 13:59:07 +04:00
|
|
|
|
|
|
|
//
|
|
|
|
// Zen Mode
|
|
|
|
// --------------------------------------------------
|
|
|
|
|
|
|
|
body.zen {
|
|
|
|
background: lighten($lightbrown, 3%);
|
|
|
|
.usermenu {
|
|
|
|
display: none;
|
|
|
|
}
|
2014-08-07 17:35:58 +04:00
|
|
|
.global-nav,
|
|
|
|
.page-header,
|
2014-07-30 13:59:07 +04:00
|
|
|
#publish-bar {
|
|
|
|
opacity: 0;
|
|
|
|
height: 0;
|
|
|
|
overflow: hidden;
|
2014-08-26 14:56:02 +04:00
|
|
|
transition: all 0.5s ease-out;
|
2014-07-30 13:59:07 +04:00
|
|
|
}
|
|
|
|
|
2014-08-07 17:35:58 +04:00
|
|
|
.page-content {
|
|
|
|
top: 0;
|
2014-08-26 14:56:02 +04:00
|
|
|
transition: all 0.5s ease-out;
|
2014-07-30 13:59:07 +04:00
|
|
|
}
|
2014-08-07 17:35:58 +04:00
|
|
|
|
2014-07-30 13:59:07 +04:00
|
|
|
.entry-markdown,
|
|
|
|
.entry-preview {
|
|
|
|
bottom: 0;
|
2014-08-26 14:56:02 +04:00
|
|
|
transition: all 0.5s ease-out;
|
2014-07-30 13:59:07 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
//
|
|
|
|
// Publish Bar
|
|
|
|
// --------------------------------------------------
|
|
|
|
|
|
|
|
#publish-bar {
|
|
|
|
height: 40px;
|
|
|
|
padding: 0;
|
|
|
|
color: $midgrey;
|
|
|
|
background: darken($darkgrey, 4%);
|
2014-09-26 15:56:14 +04:00
|
|
|
position: absolute;
|
2014-07-30 13:59:07 +04:00
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
z-index: 900;
|
|
|
|
box-shadow: 0 -2px 8px rgba(0,0,0,0.2);
|
2014-08-26 14:56:02 +04:00
|
|
|
transform: translateZ(0);
|
2014-07-30 13:59:07 +04:00
|
|
|
|
|
|
|
@media (max-width: 1000px) {
|
|
|
|
font-weight: normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
.post-settings {
|
|
|
|
&:hover,
|
|
|
|
&.active {
|
|
|
|
color: $lightgrey;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.post-settings-menu {
|
|
|
|
position: absolute;
|
2014-08-13 17:25:28 +04:00
|
|
|
bottom: 41px;
|
2014-07-30 13:59:07 +04:00
|
|
|
right: -3px;
|
|
|
|
}
|
|
|
|
|
2014-08-06 03:06:36 +04:00
|
|
|
.splitbtn {
|
|
|
|
.btn {
|
|
|
|
border-top: rgba(255,255,255,0.3) 1px solid;
|
2014-07-30 13:59:07 +04:00
|
|
|
}
|
|
|
|
}
|
2014-08-06 03:06:36 +04:00
|
|
|
|
2014-07-30 13:59:07 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
.extended-tags { // When the tag bar is exapanded
|
|
|
|
position: static;
|
|
|
|
min-height: 100%;
|
|
|
|
|
|
|
|
#entry-tags {
|
|
|
|
&:after {
|
|
|
|
right: 10px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.tags {
|
|
|
|
width: 281px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tag-label,
|
|
|
|
.tag-label.touch {
|
|
|
|
color: #fff;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tag-input {
|
|
|
|
width: 100%;
|
|
|
|
margin-top: 5px;
|
|
|
|
padding-top: 5px;
|
|
|
|
padding-left: 10px;
|
|
|
|
border-top: 1px solid $darkgrey;
|
|
|
|
|
|
|
|
}
|
|
|
|
.right {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#entry-tags {
|
|
|
|
|
|
|
|
input[type="text"].tag-input {
|
|
|
|
display: inline-block;
|
|
|
|
vertical-align: top;
|
|
|
|
color: $lightgrey;
|
|
|
|
font-weight: 300;
|
|
|
|
background: transparent;
|
|
|
|
border: none;
|
|
|
|
|
2014-09-23 20:49:17 +04:00
|
|
|
width: 100%;
|
2014-07-30 13:59:07 +04:00
|
|
|
line-height: 1;
|
|
|
|
padding: 9px;
|
|
|
|
|
|
|
|
&:focus {
|
|
|
|
outline: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.tag {
|
2014-09-25 19:11:56 +04:00
|
|
|
@include icon-after($i-x, 10px, #fff) {
|
|
|
|
margin-left: 1px;
|
2014-07-30 13:59:07 +04:00
|
|
|
vertical-align: 10%;
|
|
|
|
text-shadow: rgba(255,255,255,0.15) 0 1px 0;
|
|
|
|
}
|
|
|
|
display: inline;
|
2014-09-25 19:11:56 +04:00
|
|
|
margin-right: 3px;
|
2014-07-30 13:59:07 +04:00
|
|
|
padding: 0 5px;
|
|
|
|
color: $lightgrey;
|
|
|
|
white-space: nowrap;
|
|
|
|
background: lighten($grey, 15%);
|
2014-10-26 20:07:35 +03:00
|
|
|
border-radius: $border-radius;
|
2014-07-30 13:59:07 +04:00
|
|
|
box-shadow: rgba(255,255,255,0.2) 0 1px 0 inset, #000 0 1px 3px;
|
|
|
|
|
2014-10-26 20:07:35 +03:00
|
|
|
user-select: none;
|
2014-07-30 13:59:07 +04:00
|
|
|
|
|
|
|
&:hover {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.suggestions {
|
2014-09-25 19:11:56 +04:00
|
|
|
|
2014-09-23 20:49:17 +04:00
|
|
|
top: auto;
|
|
|
|
bottom: calc(100% + 15px);
|
2014-07-30 13:59:07 +04:00
|
|
|
|
2014-09-23 20:49:17 +04:00
|
|
|
li.selected {
|
|
|
|
&, a {
|
|
|
|
text-decoration: none;
|
|
|
|
color: #fff;
|
|
|
|
background: $blue;
|
|
|
|
}
|
|
|
|
mark {
|
|
|
|
color: #fff;
|
|
|
|
}
|
2014-07-30 13:59:07 +04:00
|
|
|
}
|
|
|
|
|
2014-09-23 20:49:17 +04:00
|
|
|
mark {
|
2014-07-30 13:59:07 +04:00
|
|
|
background: none;
|
2014-09-23 20:49:17 +04:00
|
|
|
color: #000;
|
2014-07-30 13:59:07 +04:00
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#entry-actions {
|
2014-10-12 22:31:14 +04:00
|
|
|
display: flex;
|
|
|
|
justify-content: flex-end;
|
|
|
|
align-content: center;
|
|
|
|
align-items: center;
|
2014-09-23 11:36:46 +04:00
|
|
|
margin-right: 6px;
|
2014-09-23 20:49:17 +04:00
|
|
|
position: relative;
|
2014-08-13 17:25:28 +04:00
|
|
|
.dropdown {
|
|
|
|
position: absolute;
|
2014-09-23 11:36:46 +04:00
|
|
|
bottom: 49px;
|
2014-09-23 20:49:17 +04:00
|
|
|
right: 0;
|
2014-11-04 15:59:08 +03:00
|
|
|
|
|
|
|
&.fade-in-scale {
|
|
|
|
animation-duration: 0.1s;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.fade-out {
|
|
|
|
animation-duration: 0;
|
|
|
|
}
|
|
|
|
|
2014-08-13 17:25:28 +04:00
|
|
|
.dropdown-menu {
|
|
|
|
top: auto;
|
2014-09-23 20:49:17 +04:00
|
|
|
left: auto;
|
2014-08-13 17:25:28 +04:00
|
|
|
right: 100%;
|
|
|
|
bottom: 100%;
|
|
|
|
}
|
|
|
|
}
|
2014-09-23 12:47:35 +04:00
|
|
|
|
|
|
|
&.unsaved {
|
|
|
|
padding-bottom: 0;
|
|
|
|
|
|
|
|
.delete {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
2014-07-30 13:59:07 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
#entry-actions-menu {
|
|
|
|
position: absolute;
|
|
|
|
bottom: 50px;
|
|
|
|
right: -5px;
|
|
|
|
}
|
|
|
|
|
2014-09-23 20:49:17 +04:00
|
|
|
.tags-wrapper {
|
|
|
|
white-space: nowrap;
|
|
|
|
span {
|
|
|
|
display: inline-block;
|
|
|
|
margin-right: 10px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.tag-label {
|
|
|
|
display: block;
|
|
|
|
width: 40px;
|
|
|
|
height: 40px;
|
|
|
|
position: relative;
|
|
|
|
&:before {
|
|
|
|
position: absolute;
|
|
|
|
top: 50%;
|
|
|
|
left: 50%;
|
|
|
|
transform: translateX(-50%) translateY(-50%);
|
|
|
|
font-size: 1.3rem;
|
|
|
|
color: #7D878A;
|
|
|
|
transition: color 0.15s linear;
|
|
|
|
}
|
|
|
|
&:hover:before {
|
|
|
|
color: #fff;
|
|
|
|
}
|
|
|
|
}//.tag-label
|
2014-10-16 13:34:27 +04:00
|
|
|
#entry-tags.focused {
|
|
|
|
.tag-label:before {
|
|
|
|
color: #fff;
|
|
|
|
}
|
|
|
|
}
|
2014-09-23 20:49:17 +04:00
|
|
|
|
|
|
|
.publish-bar-inner {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
flex-wrap: nowrap;
|
|
|
|
align-content: space-between;
|
|
|
|
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
|
|
|
|
height: 100%;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.publish-bar-tags-icon {
|
|
|
|
flex: 0 1 auto;
|
|
|
|
align-self: auto;
|
|
|
|
min-width: 40px;
|
|
|
|
max-width: 40px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.publish-bar-tags {
|
|
|
|
flex: 0 1 auto;
|
|
|
|
align-self: auto;
|
|
|
|
margin-right: 10px;
|
2014-09-24 18:18:02 +04:00
|
|
|
height: 40px;
|
|
|
|
overflow-y: hidden;
|
2014-09-23 20:49:17 +04:00
|
|
|
|
|
|
|
.tags-wrapper {
|
|
|
|
white-space: nowrap;
|
|
|
|
overflow: auto;
|
|
|
|
-webkit-overflow-scrolling: touch;
|
|
|
|
padding-top: 8px;
|
|
|
|
padding-bottom: 9px;
|
2014-09-24 18:18:02 +04:00
|
|
|
height: 70px;
|
2014-09-23 20:49:17 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
}//.publish-bar-2
|
|
|
|
|
|
|
|
.publish-bar-tags-input {
|
|
|
|
flex: 1 1 auto;
|
|
|
|
align-self: auto;
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
.publish-bar-actions {
|
2014-10-12 22:31:14 +04:00
|
|
|
display: flex;
|
|
|
|
flex: 1 0 auto;
|
2014-09-23 20:49:17 +04:00
|
|
|
align-self: auto;
|
|
|
|
text-align: right;
|
|
|
|
}
|
|
|
|
|
|
|
|
.post-settings {
|
|
|
|
@include icon($i-settings, 14px);
|
|
|
|
display: inline-block;
|
2014-09-26 15:56:14 +04:00
|
|
|
padding: 8px 10px;
|
2014-09-23 20:49:17 +04:00
|
|
|
color: $midgrey;
|
|
|
|
transition: all 0.15s ease-out 0s;
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&.active {
|
|
|
|
color: $darkgrey;
|
2014-07-30 14:24:16 +04:00
|
|
|
}
|
2014-09-23 20:49:17 +04:00
|
|
|
} // .post-settings
|
2014-07-30 14:24:16 +04:00
|
|
|
|
2014-09-23 20:49:17 +04:00
|
|
|
.post-settings-menu {
|
|
|
|
|
|
|
|
.dropdown-menu {
|
|
|
|
top: auto;
|
|
|
|
bottom: 100%;
|
|
|
|
left: auto;
|
|
|
|
right: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
} // .post-settings-menu
|
2014-07-30 14:24:16 +04:00
|
|
|
|
2014-07-30 13:59:07 +04:00
|
|
|
|
2014-10-13 19:23:06 +04:00
|
|
|
//
|
|
|
|
// Post Settings Menu eta Data
|
|
|
|
// --------------------------------------------------
|
|
|
|
|
|
|
|
// These styles are copied from Google.com
|
|
|
|
.seo-preview {
|
|
|
|
font-family: Arial, sans-serif;
|
|
|
|
}
|
|
|
|
|
|
|
|
.seo-preview-title {
|
|
|
|
font-size: 1.8rem;
|
|
|
|
line-height: 2.16rem;
|
|
|
|
color: #1E0FBE;
|
|
|
|
text-overflow: ellipses;
|
|
|
|
-webkit-text-overflow: ellipsis;
|
|
|
|
word-wrap: break-word;
|
|
|
|
}
|
|
|
|
|
|
|
|
.seo-preview-link {
|
|
|
|
margin: 1px 0 2px 0;
|
|
|
|
font-size: 1.3rem;
|
|
|
|
line-height: 1.6rem;
|
|
|
|
color: #006621;
|
|
|
|
word-wrap: break-word;
|
|
|
|
}
|
|
|
|
|
|
|
|
.seo-preview-description {
|
|
|
|
font-size: 1.3rem;
|
|
|
|
line-height: 1.4;
|
|
|
|
color: #545454;
|
|
|
|
word-wrap: break-word;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2014-07-30 13:59:07 +04:00
|
|
|
//
|
|
|
|
// Markdown Help Modal
|
|
|
|
// --------------------------------------------------
|
|
|
|
|
|
|
|
.markdown-help-container{
|
|
|
|
padding-bottom: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.modal-markdown-help-table {
|
2014-09-14 22:46:59 +04:00
|
|
|
margin: 20px 0;
|
|
|
|
width: 100%;
|
|
|
|
|
|
|
|
td, th {
|
|
|
|
padding: 8px;
|
|
|
|
}
|
|
|
|
|
|
|
|
th {
|
|
|
|
text-align: left;
|
|
|
|
}
|
2014-09-23 12:47:35 +04:00
|
|
|
}
|