diff --git a/lib/gencontent.php b/lib/gencontent.php index 9119fcd..daf2bdc 100644 --- a/lib/gencontent.php +++ b/lib/gencontent.php @@ -105,6 +105,13 @@ $pagesize = $database->get("page_sizes", ["sizewidth (width)", "sizeheight (heig height: ; } + .note-dropdown-menu.dropdown-style { + background: var(--background) !important; + } + .note-dropdown-menu.dropdown-style .note-dropdown-item:hover { + background: rgba(255,255,255,.25) !important; + } + @media (max-width: 900px) { diff --git a/static/css/app.css b/static/css/app.css index d259f5d..120eea8 100644 --- a/static/css/app.css +++ b/static/css/app.css @@ -47,4 +47,22 @@ body { .no-underline, .no-underline:hover { text-decoration: none; +} + +.pub-content .note-editable { + background-color: transparent !important; +} + +.pub-content .note-statusbar { + background-color: rgba(255,255,255,0.75) !important; + border-radius: 4px; +} + +.pub-content .note-toolbar { + background-color: rgba(255,255,255,0.75) !important; + border-radius: 4px; +} + +.pub-content .note-editor { + border: 0px transparent !important; } \ No newline at end of file diff --git a/static/js/content.js b/static/js/content.js index 3fd4ce4..1548486 100644 --- a/static/js/content.js +++ b/static/js/content.js @@ -7,11 +7,12 @@ $(".edit-btn").click(function () { $("#tile-" + tileid + "-content .tile-html").summernote({ focus: true, toolbar: [ + ['start', ['fullscreen', 'style']], ['style', ['bold', 'italic', 'underline', 'clear']], ['font', ['strikethrough', 'superscript', 'subscript']], ['insert', ['picture', 'link', 'video', 'table']], ['fontsize', ['fontsize']], - ['para', ['ul', 'ol', 'paragraph']], + ['para', ['ul', 'ol', 'paragraph']] ] }); });