From 5dfd7388489771486f00f3b1881bc88366b6530e Mon Sep 17 00:00:00 2001 From: Jones Date: Thu, 17 Jul 2025 20:16:53 +0930 Subject: [PATCH] restyle motd --- src/css/injected.scss | 35 +++++++++++++++++++++++++++++++---- 1 file changed, 31 insertions(+), 4 deletions(-) diff --git a/src/css/injected.scss b/src/css/injected.scss index 5ba2229f..d68de294 100644 --- a/src/css/injected.scss +++ b/src/css/injected.scss @@ -250,6 +250,10 @@ html { grid-template-columns: repeat(autofit, minmax(200px, 400px)) !important; background: unset; +section.message { + display: none !important; +} + // TODO: Make this only opacity 0 when the animation will be played to stop a flash of the original > section { border-radius: 16px !important; @@ -2102,10 +2106,33 @@ div.bar.flat { background: var(--background-secondary) !important; } - .dashlet-motd { - .message { - font-size: 24px !important; - } +.dashlet-motd { + padding: 7px !important; + .message { + font-size: 24px !important; + border-radius: 12px !important; + border: none !important; + box-shadow: none !important; + color: #fff !important; + padding: 16px !important; + margin: 0 !important; + height: 100% !important; + max-height: none !important; + display: flex !important; + align-items: flex-start !important; + overflow: hidden !important; + } +} + + + .cke_toolbox > .cke_toolbar > .cke_toolgroup > .cke_button { + background: var(--background-secondary) !important; + color: var(--text-primary) !important; + } + + .cke_toolbox > .cke_toolbar > .cke_combo > .cke_combo_button { + background: var(--background-secondary) !important; + color: var(--text-primary) !important; } }