From 1b87a03b59e654c43f1accda3603c5e764ff0e34 Mon Sep 17 00:00:00 2001 From: hayao Date: Tue, 31 Oct 2023 09:27:33 +0900 Subject: [PATCH] Update: Moodle dark mode --- src/styles/moodle.scss | 58 +++++++++++++++++++++++++++++++++++++++++- 1 file changed, 57 insertions(+), 1 deletion(-) diff --git a/src/styles/moodle.scss b/src/styles/moodle.scss index c32d498..b932404 100644 --- a/src/styles/moodle.scss +++ b/src/styles/moodle.scss @@ -48,8 +48,64 @@ /* マイコース */ .course-info-container, - .card.dashboard-card { + .card.dashboard-card, + .card.dashboard-card div { @extend .bg-neutral; + @extend .text-content; + } + .block .block-cards span.categoryname, + .block .block-cards .btn-link { + @extend .text-content; + } + + .dropdown-menu .dropdown-item { + @extend .text-content; + } + + .block .block-cards .btn.btn-link.btn-icon:hover, + .block .block-cards .show .btn.btn-link.btn-icon { + @extend .bg-accent; + } + + /* メッセージ */ + .message-app { + @extend .bg-base; + } + .list-group a { + @extend .text-content; + } + .view-overview-body > div > div { + @extend .bg-base; + } + strong, + p { + @extend .text-content; + } + .message-app .dropdown .btn.btn-link.btn-icon { + @extend .bg-accent; + } + + /* hint icon */ + #page-footer .btn.btn-icon { + @extend .bg-accent; + } + + /* リンク */ + a:hover { + @extend .text-accent; + } + + /* ドロワー */ + .drawer.drawer-left.drawer-primary { + @extend .bg-base; + } + .drawerheader .btn.drawertoggle { + @extend .text-content; + } + + /* ヘッダー */ + .navbar-light .navbar-toggler-icon { + filter: invert(1) grayscale(100%); } }