Skip to content

Commit

Permalink
MDL-75669 courseformat: Fix bulk action styles for BS5
Browse files Browse the repository at this point in the history
  • Loading branch information
roland04 committed Feb 14, 2025
1 parent 5cb498a commit 482e2a7
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 0 deletions.
9 changes: 9 additions & 0 deletions theme/boost/scss/moodle/course.scss
Original file line number Diff line number Diff line change
Expand Up @@ -656,6 +656,15 @@ $divider-hover-color: $primary !default;
margin-left: 2rem;
}
}
.sticky-footer-content.bulkactions {
.btn {
--bs-btn-disabled-border-color: transparent;
&:focus {
outline: 0;
box-shadow: $input-btn-focus-box-shadow;
}
}
}
}

// Custom styles for bulk actions sticky footer in small devices.
Expand Down
7 changes: 7 additions & 0 deletions theme/boost/style/moodle.css
Original file line number Diff line number Diff line change
Expand Up @@ -31266,6 +31266,13 @@ table.calendartable caption {
margin-left: 2rem;
}
}
.bulkenabled .sticky-footer-content.bulkactions .btn {
--bs-btn-disabled-border-color: transparent;
}
.bulkenabled .sticky-footer-content.bulkactions .btn:focus {
outline: 0;
box-shadow: 0 0 0 0.25rem rgba(15, 108, 191, 0.75);
}

@media (max-width: 767.98px) {
.sticky-footer-content.bulkactions {
Expand Down
7 changes: 7 additions & 0 deletions theme/classic/style/moodle.css
Original file line number Diff line number Diff line change
Expand Up @@ -31272,6 +31272,13 @@ table.calendartable caption {
margin-left: 2rem;
}
}
.bulkenabled .sticky-footer-content.bulkactions .btn {
--bs-btn-disabled-border-color: transparent;
}
.bulkenabled .sticky-footer-content.bulkactions .btn:focus {
outline: 0;
box-shadow: 0 0 0 0.25rem rgba(15, 108, 191, 0.75);
}

@media (max-width: 767.98px) {
.sticky-footer-content.bulkactions {
Expand Down

0 comments on commit 482e2a7

Please sign in to comment.