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-05-08 18:46:33 +0300
committerJulius Härtl <jus@bitgrid.net>2019-05-08 18:46:33 +0300
commit6b5cb314c748d5725f32fbca5e5b15be67749569 (patch)
treee1206fcf5136e1e5815471619f2bd90ff2b0e4e4 /css
parentca5c912de08221c1e1087190a24f4d630f0ccb98 (diff)
Add collision handling frontend and rework fetching
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'css')
-rw-r--r--css/style.scss15
1 files changed, 13 insertions, 2 deletions
diff --git a/css/style.scss b/css/style.scss
index c27227535..ca43c5ded 100644
--- a/css/style.scss
+++ b/css/style.scss
@@ -75,7 +75,7 @@ li.ProseMirror-selectednode:after {
}
.ProseMirror-menuseparator {
- border-right: 1px solid var(--color-text-maxcontrast);
+ border: 0;
margin-right: 3px;
}
@@ -176,14 +176,22 @@ li.ProseMirror-selectednode:after {
color: var(--color-text-light);
padding: 1px 6px;
top: 0; left: 0; right: 0;
- background: transparent;
+ background: var(--color-main-background-translucent);
z-index: 10;
-moz-box-sizing: border-box;
box-sizing: border-box;
overflow: visible;
}
+.has-conflicts,
+#editor-wrapper.icon-loading {
+ .ProseMirror-menubar {
+ display: none;
+ }
+}
+
.ProseMirror {
+ margin-top: 44px;
overflow: scroll;
height: 100%;
position: relative;
@@ -282,6 +290,7 @@ li.ProseMirror-selectednode:after {
.ProseMirror-example-setup-style img {
cursor: default;
max-height: 50vh;
+ max-width: 100%;
}
.ProseMirror-prompt {
@@ -345,6 +354,8 @@ div[contenteditable=false] {
border: none !important;
width: 100%;
background-color: transparent;
+ color: var(--color-main-text);
+ opacity: 1;
}
.ProseMirror p:first-child,