Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/text.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/css
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2019-10-28 14:22:03 +0300
committerJulius Härtl <jus@bitgrid.net>2019-11-04 21:36:50 +0300
commit4438f21b60b85502885fd7ad6d4b39aa9a0f26b9 (patch)
tree8174e74ad64907cf661c1bc6aa280a6dedb221e7 /css
parentbb27d1f9dda35eebcff3101fb14b38acf8e0736b (diff)
Autohide only for rich workspaces
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'css')
-rw-r--r--css/prosemirror.scss60
1 files changed, 0 insertions, 60 deletions
diff --git a/css/prosemirror.scss b/css/prosemirror.scss
index 3c17e4ee4..8b2dd9def 100644
--- a/css/prosemirror.scss
+++ b/css/prosemirror.scss
@@ -145,66 +145,6 @@ div.ProseMirror {
.ProseMirror-focused .ProseMirror-gapcursor {
display: block;
}
-&:not(.richEditor) .ProseMirror {
- pre {
- background-color: var(--color-main-background);
-
- &::before {
- content: attr(data-language);
- text-transform: uppercase;
- display: block;
- text-align: right;
- font-weight: bold;
- font-size: 0.6rem;
- }
- code {
- .hljs-comment,
- .hljs-quote {
- color: #999999;
- }
- .hljs-variable,
- .hljs-template-variable,
- .hljs-attribute,
- .hljs-tag,
- .hljs-name,
- .hljs-regexp,
- .hljs-link,
- .hljs-name,
- .hljs-selector-id,
- .hljs-selector-class {
- color: #f2777a;
- }
- .hljs-number,
- .hljs-meta,
- .hljs-built_in,
- .hljs-builtin-name,
- .hljs-literal,
- .hljs-type,
- .hljs-params {
- color: #f99157;
- }
- .hljs-string,
- .hljs-symbol,
- .hljs-bullet {
- color: #99cc99;
- }
- .hljs-title,
- .hljs-section {
- color: #ffcc66;
- }
- .hljs-keyword,
- .hljs-selector-tag {
- color: #6699cc;
- }
- .hljs-emphasis {
- font-style: italic;
- }
- .hljs-strong {
- font-weight: 700;
- }
- }
- }
-}
.editor__content p.is-empty:first-child::before {
content: attr(data-empty-text);