Skip to content

Commit

Permalink
Fix: moodle darkmode
Browse files Browse the repository at this point in the history
  • Loading branch information
Hayao0819 committed Nov 21, 2023
1 parent f9a890a commit 7350228
Showing 1 changed file with 29 additions and 1 deletion.
30 changes: 29 additions & 1 deletion src/styles/moodle.scss
Original file line number Diff line number Diff line change
Expand Up @@ -56,17 +56,29 @@
/* マイコース */
.course-info-container,
.card.dashboard-card,
.card.dashboard-card div {
.card.dashboard-card div,
.activity-dates {
@extend .bg-neutral;
@extend .text-content;
}
.block .block-cards span.categoryname,
.block .block-cards .btn-link {
@extend .text-content;
}
.activity-item:not(.activityinline) {
border: 1px solid var(--neutral) !important;
}
.course-section {
border-bottom: 1px solid var(--neutral) !important;
}

.dropdown-menu,
.dropdown-menu .dropdown-item {
@extend .text-content;
@extend .bg-base;
}
.dropdown-divider {
border-top: 1px solid var(--neutral) !important;
}

.block .block-cards .btn.btn-link.btn-icon:hover,
Expand Down Expand Up @@ -143,6 +155,10 @@
@extend .text-content;
}

.navbar.fixed-top {
border-bottom: none;
}

/* ユーザーアイコン内のメニュー */
#user-action-menu {
@extend .bg-neutral;
Expand Down Expand Up @@ -196,6 +212,18 @@
@extend .text-accent;
}
}

// collapseアイコン
.btn.btn-icon:hover,
.btn.btn-icon:focus {
background-color: transparent !important;
}

// 受講しているコース
.generaltable th,
.generaltable td {
border-top: 1px solid var(--neutral) !important;
}
}

[data-gaming_gundai_dark="true"]:not([data-gaming_gundai="true"]) {
Expand Down

0 comments on commit 7350228

Please sign in to comment.