Skip to content
Snippets Groups Projects
Commit 4d74ed03 authored by Paul Kaplan's avatar Paul Kaplan
Browse files

Better rendering for green flag overlay

parent 43b1ae85
No related branches found
No related tags found
No related merge requests found
......@@ -141,16 +141,36 @@ to adjust for the border using a different method */
animation-fill-mode: forwards; /* Leave at 0 opacity after animation */
}
.green-flag-overlay {
width: 100%;
height: 100%;
.green-flag-overlay-wrapper {
display: flex;
justify-content: center;
align-items: center;
background: rgba(0,0,0,0.25);
border-radius: 0.5rem;
}
.green-flag-overlay {
padding: 1rem;
border-radius: 100%;
background: rgba(255,255,255,0.75);
border: 3px solid $ui-white;
pointer-events: all;
cursor: pointer;
display: flex;
justify-content: center;
align-items: center;
box-sizing: border-box;
width: 5rem;
height: 5rem;
}
.green-flag-overlay > img {
width: 100%;
object-fit: contain;
}
@keyframes flash {
0% { opacity: 1; }
100% { opacity: 0; }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment