Skip to content

Commit

Permalink
style: use data-handler css selector
Browse files Browse the repository at this point in the history
Signed-off-by: Luka Trovic <luka@nextcloud.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
  • Loading branch information
luka-nextcloud authored and nextcloud-command committed Jul 20, 2022
1 parent 8965f8d commit 0b130d0
Show file tree
Hide file tree
Showing 11 changed files with 21 additions and 15 deletions.
6 changes: 6 additions & 0 deletions css/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -73,3 +73,9 @@ li.ProseMirror-selectednode:after {
transform: translate3d(0, 0, 0);
}
}

[data-handler="text"] {
background-color: var(--color-main-background);
border-top: 3px solid var(--color-primary-element);
font-weight: bold;
}
4 changes: 2 additions & 2 deletions js/editor.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/editor.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions js/text-files.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/text-files.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions js/text-public.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/text-public.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions js/text-text.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/text-text.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions js/text-viewer.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/text-viewer.js.map

Large diffs are not rendered by default.

0 comments on commit 0b130d0

Please sign in to comment.