From 22e55cdf8e9b2f31a1cc96c1d8aaf29704b3288d Mon Sep 17 00:00:00 2001 From: hayao Date: Tue, 21 Nov 2023 15:50:03 +0900 Subject: [PATCH] Update: Add text editor darkmode --- src/styles/moodle.scss | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/src/styles/moodle.scss b/src/styles/moodle.scss index b5e7871..7bbd622 100644 --- a/src/styles/moodle.scss +++ b/src/styles/moodle.scss @@ -43,9 +43,12 @@ background-color: var(--base) !important; } + // フォーム .list-group-item, - .form-control { + .form-control, + .custom-select { @extend .bg-base; + @extend .text-content; } /* カード */ @@ -224,6 +227,21 @@ .generaltable td { border-top: 1px solid var(--neutral) !important; } + + /* テキストエディタ */ + .editor_atto_toolbar, + .editor_atto_toolbar button, + .editor_atto_toolbar button .icon { + @extend .bg-neutral; + @extend .text-content; + } + .editor_atto_toolbar button, + .editor_atto_toolbar .atto_group { + border: none; + } + .editor_atto_toolbar .menuplaceholder { + display: none; + } } [data-gaming_gundai_dark="true"]:not([data-gaming_gundai="true"]) {