Skip to content

Commit

Permalink
Update: Moodle dark mode
Browse files Browse the repository at this point in the history
  • Loading branch information
Hayao0819 committed Oct 31, 2023
1 parent 37cbfdc commit 1b87a03
Showing 1 changed file with 57 additions and 1 deletion.
58 changes: 57 additions & 1 deletion src/styles/moodle.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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%);
}
}

Expand Down

0 comments on commit 1b87a03

Please sign in to comment.