-
-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4400 from dodona-edu/valentine-overlay
Valentine status overlay
- Loading branch information
Showing
5 changed files
with
87 additions
and
10 deletions.
There are no files selected for viewing
42 changes: 42 additions & 0 deletions
42
app/assets/images/seasonal/series_status_overlays/heart-rainbow.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
.series-icon.valentine { | ||
.overlay { | ||
overflow: visible; | ||
} | ||
|
||
.overlay div { | ||
content: ""; | ||
position: absolute; | ||
width: 50px; | ||
height: 50px; | ||
margin-left: -5px; | ||
background-size: contain; | ||
background-repeat: no-repeat; | ||
top: -5px; | ||
} | ||
|
||
&.completed:not(.deadline-missed) { | ||
.icon-base { | ||
visibility: hidden; | ||
} | ||
|
||
.overlay div { | ||
content: url("seasonal/series_status_overlays/heart-rainbow.svg"); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters