Skip to content

Commit

Permalink
MDL-79348 courseformat: Fix focus indicator of edit restrictions link
Browse files Browse the repository at this point in the history
  • Loading branch information
roland04 committed Sep 22, 2023
1 parent 9890e67 commit 5a5c6ff
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
{{#editing}}
{{#editurl}}
<div class="editavailability border-top mt-2 py-2">
<a href="{{editurl}}" class="px-2 py-1">{{#pix}} i/edit, core {{/pix}}{{#str}}editsettings, availability{{/str}}</a>
<a href="{{editurl}}" class="btn btn-sm py-0">{{#pix}} i/edit, core {{/pix}}{{#str}}editsettings, availability{{/str}}</a>
</div>
{{/editurl}}
{{/editing}}
4 changes: 1 addition & 3 deletions theme/boost/scss/moodle/course.scss
Original file line number Diff line number Diff line change
Expand Up @@ -1400,9 +1400,7 @@ $activity-add-hover: theme-color-level('primary', -10) !default;
@include border-radius($activity-item-border-radius);
.editavailability {
a {
@include border-radius(0.5rem);
color: $body-color;
text-decoration: none;
@include border-radius();
font-weight: bold;
&:hover {
background-color: $gray-400;
Expand Down
2 changes: 0 additions & 2 deletions theme/boost/style/moodle.css
Original file line number Diff line number Diff line change
Expand Up @@ -29157,8 +29157,6 @@ span.editinstructions .alert-link {
}
.course-section .availabilityinfo .editavailability a {
border-radius: 0.5rem;
color: #1d2125;
text-decoration: none;
font-weight: bold;
}
.course-section .availabilityinfo .editavailability a:hover {
Expand Down
4 changes: 1 addition & 3 deletions theme/classic/style/moodle.css
Original file line number Diff line number Diff line change
Expand Up @@ -29156,9 +29156,7 @@ span.editinstructions .alert-link {
border-radius: 1rem;
}
.course-section .availabilityinfo .editavailability a {
border-radius: 0.5rem;
color: #1d2125;
text-decoration: none;
border-radius: 0.25rem;
font-weight: bold;
}
.course-section .availabilityinfo .editavailability a:hover {
Expand Down

0 comments on commit 5a5c6ff

Please sign in to comment.