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 1be7cba commit df23f95
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 @@ -353,9 +353,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 @@ -384,8 +384,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 df23f95

Please sign in to comment.