From 01c59b3b88431baf7d5a1d4b5b6c021992e405de Mon Sep 17 00:00:00 2001 From: Sebastian Castro Date: Tue, 28 Apr 2020 16:31:18 +0200 Subject: [PATCH] colibris: apply skin variants to set_title_on_pad --- src/static/skins/colibris/pad.css | 1 + src/static/skins/colibris/src/pad-variants.css | 8 ++++---- .../skins/colibris/src/plugins/set_title_on_pad.css | 7 +++++++ 3 files changed, 12 insertions(+), 4 deletions(-) create mode 100644 src/static/skins/colibris/src/plugins/set_title_on_pad.css diff --git a/src/static/skins/colibris/pad.css b/src/static/skins/colibris/pad.css index c1cec179c..68e8db1a8 100644 --- a/src/static/skins/colibris/pad.css +++ b/src/static/skins/colibris/pad.css @@ -18,6 +18,7 @@ @import url("src/plugins/brightcolorpicker.css"); @import url("src/plugins/font_color.css"); @import url("src/plugins/tables2.css"); +@import url("src/plugins/set_title_on_pad.css"); @import url("src/plugins/author_hover.css"); @import url("src/plugins/comments.css"); diff --git a/src/static/skins/colibris/src/pad-variants.css b/src/static/skins/colibris/src/pad-variants.css index 212acdfcf..bd63604c9 100644 --- a/src/static/skins/colibris/src/pad-variants.css +++ b/src/static/skins/colibris/src/pad-variants.css @@ -1,7 +1,7 @@ /* =========================== */ /* === Super Light Toolbar === */ /* =========================== */ -.super-light-toolbar .toolbar, .super-light-toolbar .popup-content { +.super-light-toolbar .toolbar, .super-light-toolbar .popup-content, #pad_title { --text-color: var(--super-dark-color); --text-soft-color: var(--dark-color); --border-color: #e4e6e9; @@ -11,7 +11,7 @@ /* ===================== */ /* === Light Toolbar === */ /* ===================== */ -.light-toolbar .toolbar, .light-toolbar .popup-content { +.light-toolbar .toolbar, .light-toolbar .popup-content, #pad_title { --text-color: var(--super-dark-color); --text-soft-color: var(--dark-color); --border-color: var(--middle-color); @@ -21,7 +21,7 @@ /* ========================== */ /* === Super Dark Toolbar === */ /* ========================== */ -.super-dark-toolbar .toolbar, .super-dark-toolbar .popup-content { +.super-dark-toolbar .toolbar, .super-dark-toolbar .popup-content, #pad_title { --text-color: var(--super-light-color); --text-soft-color: var(--light-color); --border-color: var(--dark-color); @@ -35,7 +35,7 @@ /* ==================== */ /* === Dark Toolbar === */ /* ==================== */ -.dark-toolbar .toolbar, .dark-toolbar .popup-content { +.dark-toolbar .toolbar, .dark-toolbar .popup-content, #pad_title { --text-color: var(--super-light-color); --text-soft-color: var(--light-color); --border-color: var(--super-dark-color); diff --git a/src/static/skins/colibris/src/plugins/set_title_on_pad.css b/src/static/skins/colibris/src/plugins/set_title_on_pad.css new file mode 100644 index 000000000..9ab1e2a12 --- /dev/null +++ b/src/static/skins/colibris/src/plugins/set_title_on_pad.css @@ -0,0 +1,7 @@ +#pad_title { + border-bottom: 1px solid var(--border-color) !important; + background-color: var(--bg-color) !important; +} +#edit_title { + color: var(--text-soft-color); +} \ No newline at end of file