2015-05-14 16:45:37 +03:00
|
|
|
/* Editor /ghost/editor/
|
|
|
|
/* ---------------------------------------------------------- */
|
|
|
|
|
2015-08-13 10:09:07 +03:00
|
|
|
.editor-options .dropdown-menu {
|
|
|
|
top: 35px;
|
|
|
|
right: 0;
|
|
|
|
left: auto;
|
|
|
|
}
|
|
|
|
|
2015-05-14 16:45:37 +03:00
|
|
|
|
2015-08-10 16:22:37 +03:00
|
|
|
/* Tags input CSS (TODO: needs some revision)
|
|
|
|
/* ------------------------------------------------------ */
|
|
|
|
.tags-input-list {
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
list-style-type: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tags-input-list li {
|
|
|
|
flex: 1 0 auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.label-tag {
|
|
|
|
margin-right: 0.3em;
|
|
|
|
padding: 0.2em 0.6em 0.3em;
|
|
|
|
color: var(--lightgrey);
|
|
|
|
font-weight: 300;
|
2017-08-03 14:45:14 +03:00
|
|
|
text-align: center;
|
|
|
|
background-color: var(--darkgrey);
|
|
|
|
border-radius: 0.25em;
|
2015-08-10 16:22:37 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.label-tag.highlight {
|
|
|
|
color: #fff;
|
2017-08-03 14:45:14 +03:00
|
|
|
background: var(--midgrey);
|
2015-08-10 16:22:37 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.tag-input {
|
|
|
|
margin-top: 5px;
|
|
|
|
border: none;
|
|
|
|
font-weight: 300;
|
|
|
|
cursor: default;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tag-input:focus {
|
|
|
|
outline: 0;
|
|
|
|
}
|
|
|
|
|
2015-05-14 16:45:37 +03:00
|
|
|
.publish-bar-actions {
|
|
|
|
flex: 1 0 auto;
|
|
|
|
align-self: auto;
|
2015-05-16 14:43:12 +03:00
|
|
|
display: flex;
|
2015-05-14 16:45:37 +03:00
|
|
|
text-align: right;
|
|
|
|
}
|
|
|
|
|
2018-02-07 12:42:46 +03:00
|
|
|
.contributor-save-button {
|
|
|
|
position: relative;
|
|
|
|
z-index: 1000;
|
2022-02-01 20:59:20 +03:00
|
|
|
margin-right: 6px;
|
2018-02-07 12:42:46 +03:00
|
|
|
}
|
|
|
|
|
2015-05-14 16:45:37 +03:00
|
|
|
.post-settings {
|
2015-05-16 14:43:12 +03:00
|
|
|
position: relative;
|
2017-08-03 14:45:14 +03:00
|
|
|
z-index: 1000;
|
2015-05-14 16:45:37 +03:00
|
|
|
display: inline-block;
|
|
|
|
color: var(--midgrey);
|
2017-04-19 16:20:42 +03:00
|
|
|
line-height: 0;
|
2017-08-03 14:45:14 +03:00
|
|
|
transition: all 0.15s ease-out 0s;
|
2015-05-14 16:45:37 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.post-settings:hover,
|
|
|
|
.post-settings.active {
|
|
|
|
color: var(--darkgrey);
|
|
|
|
}
|
|
|
|
|
2017-04-07 18:23:45 +03:00
|
|
|
.post-settings svg {
|
|
|
|
width: 16px;
|
|
|
|
height: 16px;
|
2019-02-22 12:43:35 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.post-settings svg {
|
2017-04-07 18:23:45 +03:00
|
|
|
fill: var(--midgrey);
|
|
|
|
}
|
|
|
|
|
2019-02-22 12:43:35 +03:00
|
|
|
.post-settings:hover svg {
|
2017-04-07 18:23:45 +03:00
|
|
|
fill: var(--darkgrey);
|
|
|
|
}
|
|
|
|
|
2015-05-14 16:45:37 +03:00
|
|
|
.post-settings-menu .dropdown-menu {
|
|
|
|
top: auto;
|
2015-05-16 14:43:12 +03:00
|
|
|
right: 100%;
|
2015-05-14 16:45:37 +03:00
|
|
|
bottom: 100%;
|
|
|
|
left: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.post-view-link {
|
|
|
|
position: absolute;
|
2021-02-16 14:23:34 +03:00
|
|
|
top: -1px;
|
2015-05-14 16:45:37 +03:00
|
|
|
right: 0;
|
|
|
|
font-size: 1.3rem;
|
2021-06-22 21:51:26 +03:00
|
|
|
color: var(--midgrey);
|
|
|
|
}
|
|
|
|
|
|
|
|
.post-view-link:hover {
|
|
|
|
color: var(--darkgrey);
|
2015-05-14 16:45:37 +03:00
|
|
|
}
|
|
|
|
|
2017-04-07 18:23:45 +03:00
|
|
|
.post-view-link svg {
|
2016-02-19 07:48:20 +03:00
|
|
|
display: inline;
|
2021-02-16 14:23:34 +03:00
|
|
|
width: 12px;
|
|
|
|
height: 12px;
|
|
|
|
vertical-align: middle;
|
|
|
|
margin-bottom: 2px;
|
2021-06-22 21:51:26 +03:00
|
|
|
fill: var(--midgrey);
|
|
|
|
}
|
|
|
|
|
|
|
|
.post-view-link:hover svg {
|
|
|
|
fill: var(--darkgrey);
|
2015-05-14 16:45:37 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* Post settings meta
|
|
|
|
/* ---------------------------------------------------------- */
|
|
|
|
|
2017-08-03 14:45:14 +03:00
|
|
|
/* Google SERP Preview */
|
2015-05-14 16:45:37 +03:00
|
|
|
.seo-preview {
|
|
|
|
font-family: Arial, sans-serif;
|
2019-06-21 15:18:55 +03:00
|
|
|
background: #fff;
|
2019-06-18 13:47:21 +03:00
|
|
|
border: 1px solid var(--whitegrey);
|
2017-08-03 14:45:14 +03:00
|
|
|
padding: 10px 12px;
|
2015-05-14 16:45:37 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.seo-preview-title {
|
2015-05-16 00:28:30 +03:00
|
|
|
color: #1e0fbe;
|
2015-05-16 14:43:12 +03:00
|
|
|
font-size: 1.8rem;
|
|
|
|
line-height: 2.16rem;
|
2020-10-27 17:48:39 +03:00
|
|
|
text-overflow: ellipsis;
|
2017-08-03 14:45:14 +03:00
|
|
|
word-wrap: break-word;
|
2015-05-16 14:43:12 +03:00
|
|
|
|
|
|
|
-webkit-text-overflow: ellipsis;
|
2015-05-14 16:45:37 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.seo-preview-link {
|
|
|
|
margin: 1px 0 2px 0;
|
|
|
|
color: #006621;
|
2015-05-16 14:43:12 +03:00
|
|
|
font-size: 1.3rem;
|
|
|
|
line-height: 1.6rem;
|
2017-08-03 14:45:14 +03:00
|
|
|
word-wrap: break-word;
|
2015-05-14 16:45:37 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.seo-preview-description {
|
|
|
|
color: #545454;
|
2015-05-16 14:43:12 +03:00
|
|
|
font-size: 1.3rem;
|
|
|
|
line-height: 1.4;
|
2017-08-03 14:45:14 +03:00
|
|
|
word-wrap: break-word;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Facebook Card Preview */
|
|
|
|
.gh-og-preview {
|
|
|
|
background: #fff;
|
|
|
|
box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1) inset,
|
|
|
|
0 -1px 0 0 rgba(0, 0, 0, 0.06) inset,
|
|
|
|
0 1px 4px rgba(0, 0, 0, 0.1);
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-og-preview-image {
|
|
|
|
width: 100%;
|
|
|
|
height: 160px;
|
|
|
|
background-size: cover;
|
|
|
|
background-position: center center;
|
2015-05-14 16:45:37 +03:00
|
|
|
}
|
|
|
|
|
2017-08-03 14:45:14 +03:00
|
|
|
.gh-og-preview-content {
|
|
|
|
padding: 10px 12px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-og-preview-title {
|
2017-08-26 00:43:25 +03:00
|
|
|
color: #1d2129;
|
2017-08-03 14:45:14 +03:00
|
|
|
max-height: 110px;
|
|
|
|
overflow: hidden;
|
|
|
|
margin-bottom: 5px;
|
|
|
|
font-family: Georgia, serif;
|
|
|
|
font-size: 18px;
|
|
|
|
line-height: 22px;
|
|
|
|
font-weight: 500;
|
|
|
|
word-wrap: break-word;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-og-preview-description {
|
2017-08-26 00:43:25 +03:00
|
|
|
color: #4b4f56;
|
2017-08-03 14:45:14 +03:00
|
|
|
max-height: 80px;
|
|
|
|
overflow: hidden;
|
|
|
|
font-size: 12px;
|
|
|
|
line-height: 16px;
|
|
|
|
letter-spacing: -0.1px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-og-preview-footer {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-og-preview-footer-left {
|
|
|
|
overflow: hidden;
|
|
|
|
padding-top: 18px;
|
|
|
|
color: #90949c;
|
|
|
|
font-size: 11px;
|
|
|
|
line-height: 11px;
|
|
|
|
letter-spacing: -0.1px;
|
|
|
|
text-transform: uppercase;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-og-preview-footer-left-divider {
|
|
|
|
padding: 0 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-og-preview-footer-author {
|
|
|
|
color: #3b5998;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Twitter Card Preview */
|
|
|
|
.gh-twitter-preview {
|
|
|
|
overflow: hidden;
|
|
|
|
border-width: 1px;
|
|
|
|
border-style: solid;
|
|
|
|
border-color: #e1e8ed;
|
|
|
|
color: #292f33;
|
|
|
|
font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
|
|
|
|
font-size: 1.4rem;
|
|
|
|
line-height: 1.3em;
|
|
|
|
background: #fff;
|
|
|
|
border-radius: 0.42857em;
|
|
|
|
|
|
|
|
-webkit-font-smoothing: antialiased;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-twitter-preview-image {
|
|
|
|
width: 100%;
|
|
|
|
height: 160px;
|
|
|
|
background-size: cover;
|
|
|
|
background-position: center center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-twitter-preview-content {
|
|
|
|
padding: 12px 14px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-twitter-preview-title {
|
|
|
|
max-height: 1.3em;
|
|
|
|
overflow: hidden;
|
|
|
|
margin: 0 0 0.15em;
|
|
|
|
font-weight: bold;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-twitter-preview-description {
|
|
|
|
overflow: hidden;
|
|
|
|
margin-top: 0.32333em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-twitter-preview-footer {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
align-items: center;
|
|
|
|
margin-top: 0.35em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-twitter-preview-footer-left {
|
|
|
|
max-height: 1.3em;
|
|
|
|
overflow: hidden;
|
|
|
|
color: #8899a6;
|
|
|
|
text-transform: lowercase;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2016-10-24 13:55:55 +03:00
|
|
|
/* NEW editor
|
|
|
|
/* ---------------------------------------------------------- */
|
|
|
|
|
2017-05-08 21:15:56 +03:00
|
|
|
.gh-main > section.gh-editor-fullscreen {
|
|
|
|
position: fixed;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
2017-08-03 14:45:14 +03:00
|
|
|
z-index: 1000;
|
2017-05-08 21:15:56 +03:00
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
background-color: white;
|
|
|
|
}
|
|
|
|
|
2021-06-23 15:54:23 +03:00
|
|
|
.gh-editor {
|
|
|
|
max-width: calc(100vw - var(--editor-sidebar-width))
|
|
|
|
}
|
|
|
|
|
2021-07-01 11:30:16 +03:00
|
|
|
@media (max-width: 1024px) {
|
|
|
|
.gh-editor {
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-10-24 13:55:55 +03:00
|
|
|
.gh-editor-header {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
|
|
|
left: 0;
|
|
|
|
display: flex;
|
2018-05-15 15:47:50 +03:00
|
|
|
flex-wrap: wrap;
|
2016-10-24 13:55:55 +03:00
|
|
|
justify-content: space-between;
|
2022-05-12 16:03:16 +03:00
|
|
|
height: 34px;
|
2018-05-15 15:47:50 +03:00
|
|
|
padding: 0;
|
2021-02-10 16:17:01 +03:00
|
|
|
margin: 30px;
|
2018-05-15 15:47:50 +03:00
|
|
|
z-index: 799;
|
2017-02-27 13:02:10 +03:00
|
|
|
}
|
2018-05-15 15:47:50 +03:00
|
|
|
|
2021-07-02 21:03:52 +03:00
|
|
|
@media (max-width: 1024px) {
|
|
|
|
.gh-editor-header {
|
|
|
|
z-index: 100;
|
|
|
|
height: 64px;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
padding-left: 15px;
|
|
|
|
background-color: var(--white);
|
|
|
|
border-radius: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-09-20 18:36:43 +03:00
|
|
|
@media (max-width: 500px) {
|
|
|
|
.gh-editor-header .mobile {
|
|
|
|
margin-left: 5px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-02-10 17:54:30 +03:00
|
|
|
.gh-btn-editor {
|
|
|
|
background: var(--white) !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-btn-editor span {
|
|
|
|
color: var(--darkgrey);
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-btn-editor:hover {
|
|
|
|
background: var(--whitegrey) !important;
|
|
|
|
}
|
|
|
|
|
2022-05-12 16:03:16 +03:00
|
|
|
.gh-btn-editor.active {
|
|
|
|
background: var(--whitegrey) !important;
|
|
|
|
}
|
|
|
|
|
2021-02-10 17:54:30 +03:00
|
|
|
.gh-btn-editor.green span {
|
|
|
|
color: var(--green);
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-editor-wordcount-container {
|
|
|
|
position: absolute;
|
|
|
|
right: 30px;
|
|
|
|
bottom: 30px;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
border-radius: 3px;
|
2021-07-05 13:17:35 +03:00
|
|
|
background: var(--white);
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-editor-wordcount-container svg {
|
|
|
|
width: 1.6rem;
|
|
|
|
height: 1.6rem;
|
|
|
|
margin: 9px 12px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-editor-wordcount-container svg path {
|
|
|
|
stroke: var(--midgrey-l2);
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-editor-wordcount {
|
|
|
|
padding: 0 4px 0 14px;
|
|
|
|
color: var(--midgrey-l2);
|
|
|
|
font-size: 1.3rem;
|
|
|
|
font-weight: 400;
|
2021-02-10 17:54:30 +03:00
|
|
|
}
|
|
|
|
|
2016-11-14 12:55:08 +03:00
|
|
|
.gh-editor-status {
|
|
|
|
color: var(--midgrey);
|
2017-05-22 19:43:54 +03:00
|
|
|
font-size: 1.3rem;
|
2019-06-18 13:47:21 +03:00
|
|
|
font-weight: 400;
|
2016-11-14 12:55:08 +03:00
|
|
|
}
|
|
|
|
|
2016-10-24 13:55:55 +03:00
|
|
|
.gh-editor-container {
|
2017-03-20 15:33:06 +03:00
|
|
|
position: absolute;
|
2017-08-03 14:45:14 +03:00
|
|
|
z-index: 0;
|
2016-10-24 13:55:55 +03:00
|
|
|
width: 100%;
|
2017-02-04 01:51:18 +03:00
|
|
|
height: 100%;
|
2017-08-03 14:45:14 +03:00
|
|
|
overflow-y: auto;
|
|
|
|
padding: 10vw 4vw;
|
2016-10-24 13:55:55 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.gh-editor-inner {
|
2017-02-04 01:51:18 +03:00
|
|
|
height: 100%;
|
2019-06-18 13:47:21 +03:00
|
|
|
max-width: 740px;
|
2017-08-03 14:45:14 +03:00
|
|
|
margin: 0 auto;
|
2016-10-24 13:55:55 +03:00
|
|
|
}
|
2017-04-19 16:20:42 +03:00
|
|
|
|
2021-06-22 14:12:35 +03:00
|
|
|
.gh-editor-feature-image-container {
|
2021-06-16 19:56:25 +03:00
|
|
|
position: relative;
|
2021-06-10 22:42:32 +03:00
|
|
|
display: block;
|
|
|
|
width: 100%;
|
|
|
|
max-width: 740px;
|
|
|
|
min-height: auto;
|
2021-06-30 13:42:42 +03:00
|
|
|
margin: -56px auto 0;
|
2021-06-21 13:03:35 +03:00
|
|
|
padding-bottom: 3.6rem;
|
|
|
|
}
|
|
|
|
|
2021-07-01 14:04:59 +03:00
|
|
|
@media (max-width: 1400px) {
|
|
|
|
.gh-editor-feature-image-container {
|
|
|
|
margin: 0 auto;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-06-30 13:42:42 +03:00
|
|
|
.gh-editor-feature-image-container .gh-progress-container-progress {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
2021-07-14 11:34:09 +03:00
|
|
|
|
|
|
|
@media (max-width: 500px) {
|
|
|
|
.gh-editor-feature-image-container {
|
|
|
|
padding-bottom: 2rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-editor-feature-image-container .invisible {
|
|
|
|
visibility: visible;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-07-16 17:00:48 +03:00
|
|
|
.gh-editor-feature-image-dropzone {
|
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
height: 175px;
|
|
|
|
top: -50px;
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
body[data-user-is-dragging] .gh-editor-feature-image-dropzone {
|
|
|
|
pointer-events: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-editor-feature-image-drop-indicator {
|
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
top: 40px;
|
|
|
|
height: 4px;
|
|
|
|
}
|
|
|
|
|
2021-06-30 13:42:42 +03:00
|
|
|
.gh-editor-feature-image .image-delete {
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-editor-feature-image:hover .image-delete {
|
|
|
|
opacity: 1;
|
2021-06-16 19:56:25 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.gh-editor-feature-image-add-button {
|
2021-06-21 17:27:09 +03:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2021-07-14 11:50:59 +03:00
|
|
|
color: var(--midgrey-l2);
|
|
|
|
font-size: 1.35rem;
|
2021-06-21 17:27:09 +03:00
|
|
|
font-weight: 400;
|
2021-06-21 13:03:35 +03:00
|
|
|
letter-spacing: .2px;
|
2021-06-16 19:56:25 +03:00
|
|
|
}
|
|
|
|
|
2021-06-21 13:03:35 +03:00
|
|
|
.gh-editor-feature-image-add-button:hover {
|
2021-07-14 11:50:59 +03:00
|
|
|
color: var(--midgrey-d2);
|
2021-06-21 17:27:09 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.gh-editor-feature-image-add-button svg {
|
|
|
|
width: 12px;
|
|
|
|
height: auto;
|
|
|
|
margin-right: 6px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-editor-feature-image-add-button svg path {
|
2021-07-14 11:50:59 +03:00
|
|
|
stroke: var(--midgrey-l2);
|
2021-06-21 17:27:09 +03:00
|
|
|
stroke-width: 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-editor-feature-image-add-button:hover svg path {
|
2021-07-14 11:50:59 +03:00
|
|
|
stroke: var(--midgrey-d2);
|
2021-06-16 19:56:25 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.gh-editor-feature-image-unsplash {
|
|
|
|
width: 1em;
|
|
|
|
height: 1em;
|
2021-06-21 13:03:35 +03:00
|
|
|
margin-left: 24px;
|
|
|
|
line-height: 1.2;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-editor-feature-image-unsplash svg {
|
|
|
|
fill: var(--lightgrey-d2);
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-editor-feature-image-unsplash:hover svg {
|
|
|
|
fill: var(--black);
|
2021-06-10 22:42:32 +03:00
|
|
|
}
|
|
|
|
|
2021-06-22 14:12:35 +03:00
|
|
|
.gh-editor-feature-image-indicator {
|
|
|
|
position: absolute;
|
2021-06-22 14:45:45 +03:00
|
|
|
top: -1px;
|
2021-06-22 14:12:35 +03:00
|
|
|
height: 2.4rem;
|
|
|
|
margin-left: -6rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-editor-feature-image-indicator svg {
|
|
|
|
height: 2.4rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-editor-feature-image-indicator svg path {
|
|
|
|
stroke: var(--midgrey-l2);
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-editor-feature-image-alttext,
|
|
|
|
.gh-editor-feature-image-caption {
|
2021-06-21 17:00:41 +03:00
|
|
|
width: 100%;
|
2021-08-03 19:21:54 +03:00
|
|
|
margin: 0 0 1.7em 0;
|
2021-06-22 14:12:35 +03:00
|
|
|
outline: none;
|
2021-06-23 15:54:23 +03:00
|
|
|
border-width: 0;
|
2021-06-21 17:00:41 +03:00
|
|
|
border-style: none;
|
|
|
|
font-size: 1.4rem;
|
2021-06-23 15:54:23 +03:00
|
|
|
line-height: 1.65;
|
|
|
|
letter-spacing: .04rem;
|
2021-06-22 14:12:35 +03:00
|
|
|
background-color: transparent !important;
|
|
|
|
transition: border-color .15s linear;
|
|
|
|
-webkit-appearance: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-editor-feature-image-alttext::placeholder,
|
|
|
|
.gh-editor-feature-image-caption p::placeholder {
|
|
|
|
color: var(--midlightgrey);
|
|
|
|
opacity: 1 !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-editor-feature-image-caption p {
|
|
|
|
margin: 0;
|
2021-06-21 17:00:41 +03:00
|
|
|
}
|
|
|
|
|
2017-05-08 13:35:42 +03:00
|
|
|
.gh-editor-title {
|
2017-05-22 19:43:54 +03:00
|
|
|
display: block;
|
2017-05-08 13:35:42 +03:00
|
|
|
width: 100%;
|
2017-05-22 19:43:54 +03:00
|
|
|
min-height: auto;
|
2019-11-27 15:06:12 +03:00
|
|
|
margin-bottom: 1.6rem;
|
2017-05-08 13:35:42 +03:00
|
|
|
border: none;
|
2021-02-10 16:17:01 +03:00
|
|
|
color: var(--black);
|
2019-10-31 16:21:18 +03:00
|
|
|
font-size: 4.8rem;
|
2022-03-28 18:09:08 +03:00
|
|
|
letter-spacing: -0.017em;
|
|
|
|
line-height: 1.1em;
|
2021-06-21 13:03:35 +03:00
|
|
|
font-weight: 700;
|
2017-08-10 13:52:59 +03:00
|
|
|
overflow: hidden;
|
2019-06-18 13:47:21 +03:00
|
|
|
box-shadow: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-editor-title:focus {
|
|
|
|
box-shadow: none !important;
|
|
|
|
border: none !important;
|
2017-04-19 16:20:42 +03:00
|
|
|
}
|
2017-04-25 14:32:27 +03:00
|
|
|
|
2021-02-08 12:13:26 +03:00
|
|
|
.gh-editor-back-button {
|
2022-05-12 16:03:16 +03:00
|
|
|
height: 34px;
|
2021-02-08 12:13:26 +03:00
|
|
|
margin-right: 8px;
|
2022-05-12 16:03:16 +03:00
|
|
|
padding: 0 12px;
|
2021-02-08 12:13:26 +03:00
|
|
|
outline: none;
|
|
|
|
border: none;
|
|
|
|
color: var(--darkgrey);
|
|
|
|
font-size: 1.35rem;
|
|
|
|
font-weight: 500;
|
|
|
|
letter-spacing: 0.2px;
|
2022-05-12 16:03:16 +03:00
|
|
|
line-height: 34px;
|
2021-02-08 12:13:26 +03:00
|
|
|
white-space: nowrap;
|
|
|
|
background: var(--white);
|
|
|
|
border-radius: 3px;
|
|
|
|
transition: all 0.25s ease;
|
2021-07-05 14:52:02 +03:00
|
|
|
transition-property: color, border-color, background, width, height, box-shadow;
|
2021-02-08 12:13:26 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.gh-editor-back-button:hover {
|
|
|
|
color: var(--darkgrey);
|
|
|
|
cursor: pointer;
|
|
|
|
background: var(--whitegrey);
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-editor-back-button span {
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-editor-back-button svg {
|
|
|
|
width: .8em;
|
|
|
|
height: .8em;
|
|
|
|
margin-right: .5em;
|
|
|
|
padding-top: 2px;
|
|
|
|
fill: var(--darkgrey);
|
|
|
|
}
|
|
|
|
|
2021-09-20 18:36:43 +03:00
|
|
|
@media (max-width: 500px) {
|
|
|
|
.gh-editor-back-button {
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-02-08 12:13:26 +03:00
|
|
|
.gh-editor-post-status {
|
2022-05-12 16:03:16 +03:00
|
|
|
height: 34px;
|
2021-02-08 12:13:26 +03:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2022-02-01 20:59:20 +03:00
|
|
|
padding: 0 12px;
|
2021-02-08 12:13:26 +03:00
|
|
|
font-size: 1.35rem;
|
|
|
|
font-weight: 400;
|
|
|
|
color: var(--midgrey-l2);
|
|
|
|
letter-spacing: .2px;
|
2022-05-12 16:03:16 +03:00
|
|
|
line-height: 34px;
|
2021-03-09 16:57:13 +03:00
|
|
|
background: var(--white);
|
|
|
|
border-radius: 3px;
|
2021-02-08 12:13:26 +03:00
|
|
|
}
|
|
|
|
|
2021-02-08 14:50:40 +03:00
|
|
|
.gh-editor-preview-trigger {
|
|
|
|
background: var(--white);
|
|
|
|
font-size: 1.35rem;
|
|
|
|
font-weight: 500;
|
|
|
|
margin-right: 8px;
|
|
|
|
outline: none;
|
|
|
|
border: none;
|
|
|
|
white-space: nowrap;
|
|
|
|
transition: all 0.25s ease;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-editor-preview-trigger:hover {
|
|
|
|
cursor: pointer;
|
|
|
|
background: var(--whitegrey);
|
|
|
|
}
|
|
|
|
|
2022-05-12 16:27:01 +03:00
|
|
|
.gh-editor-preview-trigger.active {
|
|
|
|
background: var(--whitegrey);
|
|
|
|
}
|
|
|
|
|
2021-07-01 14:04:59 +03:00
|
|
|
@media (max-width: 500px) {
|
|
|
|
.gh-editor-preview-trigger {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-10-31 16:21:18 +03:00
|
|
|
@media (max-width: 500px) {
|
|
|
|
.gh-editor-title {
|
|
|
|
font-size: 3.4rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-05-08 13:35:42 +03:00
|
|
|
/* SimpleMDE editor
|
|
|
|
/* ---------------------------------------------------------- */
|
|
|
|
|
2019-01-21 19:06:25 +03:00
|
|
|
/* ensure there's no flash of unstyled textarea while initializing */
|
|
|
|
.gh-markdown-editor textarea {
|
2019-01-22 14:34:24 +03:00
|
|
|
opacity: 0;
|
2019-01-21 19:06:25 +03:00
|
|
|
}
|
|
|
|
|
2017-05-08 21:15:56 +03:00
|
|
|
.gh-editor-title {
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
2017-06-01 17:56:06 +03:00
|
|
|
.gh-editor-title::placeholder {
|
2021-06-21 13:03:35 +03:00
|
|
|
color: var(--lightgrey-d1);
|
2021-06-21 17:00:41 +03:00
|
|
|
font-weight: 700;
|
2021-06-21 13:03:35 +03:00
|
|
|
opacity: 1;
|
2017-05-08 21:15:56 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.gh-markdown-editor {
|
2017-05-08 13:35:42 +03:00
|
|
|
position: relative;
|
2017-08-03 14:45:14 +03:00
|
|
|
z-index: 0;
|
2017-05-08 21:15:56 +03:00
|
|
|
width: 100%;
|
2018-01-08 21:32:25 +03:00
|
|
|
overflow-x: hidden;
|
2017-05-08 21:15:56 +03:00
|
|
|
overflow-y: auto;
|
|
|
|
}
|
|
|
|
|
2018-04-19 16:33:51 +03:00
|
|
|
.gh-editor > .gh-markdown-editor {
|
|
|
|
height: 100vh;
|
|
|
|
}
|
|
|
|
|
2017-05-08 21:15:56 +03:00
|
|
|
.gh-markdown-editor-pane,
|
|
|
|
.gh-markdown-editor-preview {
|
|
|
|
padding: 10vw 4vw;
|
|
|
|
}
|
|
|
|
|
2017-11-09 15:28:54 +03:00
|
|
|
@media (max-width: 500px) {
|
|
|
|
.gh-markdown-editor-pane,
|
|
|
|
.gh-markdown-editor-preview {
|
|
|
|
padding: 15vw 4vw;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-05-22 19:43:54 +03:00
|
|
|
.gh-markdown-editor-side-by-side .gh-markdown-editor-pane,
|
|
|
|
.gh-markdown-editor-side-by-side .gh-markdown-editor-preview {
|
|
|
|
padding: 4vw;
|
|
|
|
}
|
|
|
|
|
2017-05-08 21:15:56 +03:00
|
|
|
.gh-markdown-editor-side-by-side {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
overflow-y: hidden;
|
2017-05-22 19:43:54 +03:00
|
|
|
margin-top: 43px;
|
2017-05-08 21:15:56 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.gh-markdown-editor-side-by-side .gh-markdown-editor-pane,
|
|
|
|
.gh-markdown-editor-side-by-side .gh-markdown-editor-preview {
|
|
|
|
width: 50%;
|
|
|
|
height: 100%;
|
|
|
|
overflow-y: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-markdown-editor-preview {
|
2017-05-22 19:43:54 +03:00
|
|
|
border-left: var(--lightgrey) 1px solid;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-markdown-editor-preview a {
|
|
|
|
text-decoration: underline;
|
2017-05-08 13:35:42 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.gh-editor-footer {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
justify-content: space-between;
|
|
|
|
align-items: center;
|
2017-08-03 14:45:14 +03:00
|
|
|
height: 46px;
|
|
|
|
min-height: 46px;
|
2017-05-22 19:43:54 +03:00
|
|
|
border-top: var(--lightgrey) 1px solid;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: 800px) {
|
2017-08-03 14:45:14 +03:00
|
|
|
.gh-editor-footer {
|
|
|
|
display: none;
|
|
|
|
}
|
2017-05-08 13:35:42 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.gh-editor-footer .editor-toolbar {
|
|
|
|
border: none;
|
2017-06-12 18:13:10 +03:00
|
|
|
background: transparent;
|
2017-08-03 14:45:14 +03:00
|
|
|
border-radius: 0;
|
2017-05-08 13:35:42 +03:00
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-editor-footer .editor-toolbar:before,
|
|
|
|
.gh-editor-footer .editor-toolbar:after {
|
|
|
|
content: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-editor-footer .editor-toolbar a:focus {
|
|
|
|
outline: none;
|
|
|
|
}
|
|
|
|
|
2018-02-03 21:20:50 +03:00
|
|
|
.gh-markdown-editor .CodeMirror {
|
2017-05-08 13:35:42 +03:00
|
|
|
overflow: visible;
|
2017-08-03 14:45:14 +03:00
|
|
|
padding: 0;
|
2017-06-12 18:13:10 +03:00
|
|
|
background: transparent;
|
2018-01-08 19:54:29 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Prevent confusing select behaviour, see https://github.com/TryGhost/Ghost/issues/9356 */
|
2018-02-03 21:20:50 +03:00
|
|
|
.gh-markdown-editor .CodeMirror-code:not([contenteditable="true"]) {
|
2018-01-02 17:53:35 +03:00
|
|
|
user-select: none;
|
2017-05-08 13:35:42 +03:00
|
|
|
}
|
|
|
|
|
2018-02-03 21:20:50 +03:00
|
|
|
.gh-markdown-editor .CodeMirror-cursor {
|
2017-06-21 15:04:12 +03:00
|
|
|
border-width: 3px;
|
2017-08-03 14:45:14 +03:00
|
|
|
border-color: var(--blue);
|
2017-06-21 15:04:12 +03:00
|
|
|
}
|
|
|
|
|
2017-05-10 15:36:07 +03:00
|
|
|
/* fix visible scrollbars when OSX is set to show them */
|
2018-02-03 21:20:50 +03:00
|
|
|
.gh-markdown-editor .CodeMirror-scroll {
|
2017-05-10 15:36:07 +03:00
|
|
|
overflow: visible !important;
|
|
|
|
}
|
|
|
|
|
2018-02-03 21:20:50 +03:00
|
|
|
.gh-markdown-editor .CodeMirror-scroll:hover {
|
2017-06-05 17:31:57 +03:00
|
|
|
cursor: text;
|
|
|
|
}
|
|
|
|
|
2017-05-12 11:06:56 +03:00
|
|
|
/* prevent markdown content showing after the preview if the preview is shorter */
|
|
|
|
.gh-editor-preview .CodeMirror-scroll {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2017-05-08 13:35:42 +03:00
|
|
|
.gh-editor .gh-editor-title,
|
2018-02-03 21:20:50 +03:00
|
|
|
.gh-markdown-editor .CodeMirror-wrap {
|
2019-06-18 13:47:21 +03:00
|
|
|
max-width: 740px;
|
2017-05-22 19:43:54 +03:00
|
|
|
margin-right: auto;
|
2017-08-03 14:45:14 +03:00
|
|
|
margin-left: auto;
|
2017-05-08 13:35:42 +03:00
|
|
|
border: none;
|
2017-06-12 18:13:10 +03:00
|
|
|
background: transparent;
|
2017-05-08 13:35:42 +03:00
|
|
|
}
|
|
|
|
|
2018-02-03 21:20:50 +03:00
|
|
|
.gh-markdown-editor .CodeMirror-wrap > div > textarea {
|
2018-01-05 16:37:03 +03:00
|
|
|
top: 0;
|
|
|
|
height: 26px;
|
|
|
|
min-height: 26px;
|
|
|
|
margin-bottom: -26px;
|
2018-01-08 21:32:25 +03:00
|
|
|
min-width: 0;
|
2018-01-05 16:37:03 +03:00
|
|
|
}
|
|
|
|
|
2018-02-03 21:20:50 +03:00
|
|
|
.gh-markdown-editor .CodeMirror pre {
|
2017-05-08 13:35:42 +03:00
|
|
|
padding: 0;
|
2018-04-03 13:52:18 +03:00
|
|
|
color: color-mod(var(--darkgrey) l(+5%));
|
2017-09-28 12:00:56 +03:00
|
|
|
font-family: "Consolas", monaco, monospace;
|
2017-05-22 19:43:54 +03:00
|
|
|
font-size: 1.6rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: 960px) {
|
2018-02-03 21:20:50 +03:00
|
|
|
.gh-markdown-editor .CodeMirror pre {
|
2017-05-22 19:43:54 +03:00
|
|
|
font-size: 1.4rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-02-03 21:20:50 +03:00
|
|
|
.gh-markdown-editor .CodeMirror .cm-strong {
|
2017-05-22 19:43:54 +03:00
|
|
|
color: var(--darkgrey);
|
|
|
|
}
|
|
|
|
|
2018-02-03 21:20:50 +03:00
|
|
|
.gh-markdown-editor .CodeMirror .cm-url {
|
2017-05-22 19:43:54 +03:00
|
|
|
text-decoration: underline;
|
2017-05-08 13:35:42 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.gh-editor .editor-preview {
|
|
|
|
height: auto;
|
|
|
|
margin-top: 4px;
|
|
|
|
padding: 0;
|
2017-07-10 13:19:38 +03:00
|
|
|
background: transparent;
|
2017-05-08 13:35:42 +03:00
|
|
|
}
|
|
|
|
|
2017-05-22 19:43:54 +03:00
|
|
|
.gh-editor .editor-preview,
|
|
|
|
.gh-markdown-editor-preview {
|
2018-04-03 13:52:18 +03:00
|
|
|
color: color-mod(var(--darkgrey) l(+5%));
|
2017-05-22 19:43:54 +03:00
|
|
|
font-family: Georgia, Times, Serif;
|
|
|
|
font-size: 1.9rem;
|
|
|
|
}
|
|
|
|
|
2017-07-10 13:19:38 +03:00
|
|
|
.gh-editor .editor-preview h1,
|
|
|
|
.gh-markdown-editor-preview h1,
|
|
|
|
.gh-editor .editor-preview h2,
|
|
|
|
.gh-markdown-editor-preview h2,
|
|
|
|
.gh-editor .editor-preview h3,
|
|
|
|
.gh-markdown-editor-preview h3,
|
|
|
|
.gh-editor .editor-preview h4,
|
|
|
|
.gh-markdown-editor-preview h4,
|
|
|
|
.gh-editor .editor-preview h5,
|
|
|
|
.gh-markdown-editor-preview h5,
|
|
|
|
.gh-editor .editor-preview h6,
|
|
|
|
.gh-markdown-editor-preview h6 {
|
2018-09-17 12:46:27 +03:00
|
|
|
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, "Open Sans", "Helvetica Neue", sans-serif;
|
2017-07-10 13:19:38 +03:00
|
|
|
}
|
|
|
|
|
2017-05-22 19:43:54 +03:00
|
|
|
.gh-markdown-editor-preview-title {
|
|
|
|
margin-bottom: 2vw;
|
|
|
|
}
|
|
|
|
|
2017-05-08 13:35:42 +03:00
|
|
|
.gh-editor-drop-target,
|
|
|
|
.gh-editor-image-upload {
|
2017-08-03 14:45:14 +03:00
|
|
|
content: "";
|
2017-05-08 13:35:42 +03:00
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
2017-08-03 14:45:14 +03:00
|
|
|
z-index: 9999;
|
2017-05-08 13:35:42 +03:00
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
2017-08-03 14:45:14 +03:00
|
|
|
align-items: center;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
2017-08-03 14:27:59 +03:00
|
|
|
border: 2px solid var(--blue);
|
2017-05-08 13:35:42 +03:00
|
|
|
background-color: rgba(255,255,255,0.6);
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-editor-drop-target .drop-target-message {
|
|
|
|
padding: 1em;
|
|
|
|
background-color: #fff;
|
|
|
|
border-radius: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-editor-image-upload.-error {
|
2017-08-03 14:27:59 +03:00
|
|
|
border: 2px solid var(--red);
|
2017-05-08 13:35:42 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.gh-editor-image-upload-content {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2017-08-03 14:45:14 +03:00
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
max-width: 80%;
|
2017-05-08 13:35:42 +03:00
|
|
|
padding: 1em;
|
|
|
|
background-color: #fff;
|
|
|
|
border-radius: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-editor-image-upload .gh-progress-container-progress {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* TODO: need a way to make stroke + fill global without causing issues with certain icons */
|
|
|
|
.gh-editor-image-upload .gh-btn-grey svg path {
|
2018-04-03 13:52:18 +03:00
|
|
|
stroke: color-mod(var(--darkgrey) l(+15%));
|
2017-05-08 13:35:42 +03:00
|
|
|
}
|
2017-05-10 15:36:07 +03:00
|
|
|
|
2017-06-12 18:13:10 +03:00
|
|
|
.editor-toolbar a {
|
|
|
|
color: var(--darkgrey) !important;
|
|
|
|
}
|
|
|
|
|
2017-05-12 11:06:56 +03:00
|
|
|
.editor-toolbar a.disabled,
|
|
|
|
.gh-editor-preview .editor-toolbar a:not(.no-disable) {
|
2017-06-12 18:13:10 +03:00
|
|
|
color: var(--lightgrey) !important;
|
2017-08-03 14:45:14 +03:00
|
|
|
pointer-events: none;
|
2017-05-10 15:36:07 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.editor-toolbar a.disabled:hover {
|
|
|
|
border: none;
|
|
|
|
}
|
2017-05-18 13:08:50 +03:00
|
|
|
|
|
|
|
.editor-toolbar .fa-check {
|
|
|
|
position: relative;
|
|
|
|
vertical-align: bottom;
|
|
|
|
}
|
|
|
|
.editor-toolbar .fa-check:before {
|
|
|
|
position: absolute;
|
|
|
|
right: 3px;
|
|
|
|
bottom: 4px;
|
2017-08-03 14:45:14 +03:00
|
|
|
font-size: 14px;
|
|
|
|
line-height: 14px;
|
2017-05-18 13:08:50 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.editor-toolbar .fa-check:after {
|
2017-08-03 14:45:14 +03:00
|
|
|
content: "abc";
|
2017-05-18 13:08:50 +03:00
|
|
|
position: absolute;
|
2017-08-03 14:45:14 +03:00
|
|
|
top: 6px;
|
2017-05-18 13:08:50 +03:00
|
|
|
left: 4px;
|
2017-08-03 14:45:14 +03:00
|
|
|
font-family: var(--font-family);
|
2017-05-18 13:08:50 +03:00
|
|
|
font-size: 9px;
|
|
|
|
line-height: 9px;
|
|
|
|
}
|
2017-05-22 19:43:54 +03:00
|
|
|
|
|
|
|
.editor-statusbar .words:before {
|
|
|
|
content: "Words: ";
|
|
|
|
}
|
|
|
|
|
|
|
|
.CodeMirror .CodeMirror-code .cm-link {
|
|
|
|
color: var(--blue);
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.editor-statusbar {
|
|
|
|
padding: 8px 15px;
|
|
|
|
color: var(--midgrey);
|
|
|
|
}
|
|
|
|
|
|
|
|
.editor-toolbar i.separator {
|
|
|
|
border-right: none;
|
2018-04-03 13:52:18 +03:00
|
|
|
border-left: color-mod(var(--lightgrey) l(-3%)) 1px solid;
|
2017-05-22 19:43:54 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.editor-toolbar a.active,
|
|
|
|
.editor-toolbar a:hover {
|
2018-04-03 13:52:18 +03:00
|
|
|
border-color: color-mod(var(--lightgrey) l(-5%));
|
2017-05-22 19:43:54 +03:00
|
|
|
}
|
|
|
|
|
2018-02-03 21:20:50 +03:00
|
|
|
.gh-markdown-editor .CodeMirror .CodeMirror-selectedtext {
|
2017-06-21 17:56:44 +03:00
|
|
|
color: #000 !important;
|
2017-06-21 15:39:35 +03:00
|
|
|
}
|
|
|
|
|
2017-05-22 19:43:54 +03:00
|
|
|
.CodeMirror .CodeMirror-selected {
|
2018-04-03 13:52:18 +03:00
|
|
|
background: color-mod(var(--blue) lightness(+30%));
|
2017-05-22 19:43:54 +03:00
|
|
|
}
|
2019-08-27 17:10:31 +03:00
|
|
|
|
|
|
|
figure {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.koenig-card-click-overlay {
|
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
top: 0;
|
|
|
|
bottom: 0;
|
|
|
|
z-index: 400;
|
2021-11-10 17:42:35 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.kg-settings-link-title {
|
2021-11-16 10:59:28 +03:00
|
|
|
display: block;
|
2021-11-10 17:42:35 +03:00
|
|
|
font-weight: 600;
|
|
|
|
letter-spacing: 0;
|
2021-11-16 19:05:39 +03:00
|
|
|
line-height: 1.3em;
|
2021-11-10 17:42:35 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.kg-settings-link-url {
|
2021-11-16 10:59:28 +03:00
|
|
|
display: block;
|
2021-11-10 17:42:35 +03:00
|
|
|
font-weight: 400;
|
|
|
|
font-size: 1.2rem;
|
|
|
|
color: var(--midgrey);
|
|
|
|
letter-spacing: 0;
|
2021-11-16 19:05:39 +03:00
|
|
|
line-height: 1.3em;
|
2021-11-10 16:46:23 +03:00
|
|
|
}
|