Skip to content

Commit

Permalink
Fix opacity for student when activity is restricted #10.
Browse files Browse the repository at this point in the history
  • Loading branch information
gjb2048 committed Aug 30, 2024
1 parent 09a2ee5 commit b77b659
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
8 changes: 5 additions & 3 deletions scss/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -356,9 +356,11 @@
width: 90px;
}

.format-vsf .activity .conditionalhidden.vsfactivity .vsf-icon img.modpic.original,
.format-vsf .activity .conditionalhidden.vsfactivity .vsf-icon img.modpic.custom {
opacity: 0.5;
.format-vsf .activity .vsfavmod.vsfactivity .vsf-icon img.modpic {
&.original,
&.custom {
opacity: 0.5;
}
}

.format-vsf .vsf-activity-wrapper {
Expand Down
4 changes: 2 additions & 2 deletions styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -387,8 +387,8 @@
width: 90px;
}

.format-vsf .activity .conditionalhidden.vsfactivity .vsf-icon img.modpic.original,
.format-vsf .activity .conditionalhidden.vsfactivity .vsf-icon img.modpic.custom {
.format-vsf .activity .vsfavmod.vsfactivity .vsf-icon img.modpic.original,
.format-vsf .activity .vsfavmod.vsfactivity .vsf-icon img.modpic.custom {
opacity: 0.5;
}

Expand Down

0 comments on commit b77b659

Please sign in to comment.