mirror of
https://github.com/Matewoo/tablet-web-survey.git
synced 2026-11-18 13:52:47 +01:00
add post vote ad
This commit is contained in:
@@ -90,9 +90,98 @@ button.selected {
|
||||
|
||||
#thank-you-message {
|
||||
display: none;
|
||||
margin-top: 0px;
|
||||
font-size: 2rem;
|
||||
color: lime;
|
||||
position: fixed;
|
||||
inset: 0;
|
||||
z-index: 1000;
|
||||
background: #000;
|
||||
}
|
||||
|
||||
#thank-you-message img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: contain;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.on-vote-ad-button {
|
||||
padding: 0;
|
||||
border: 0;
|
||||
border-radius: 0;
|
||||
background: transparent;
|
||||
box-shadow: none;
|
||||
cursor: pointer;
|
||||
animation: ad-press 4s ease-in-out infinite;
|
||||
}
|
||||
|
||||
.on-vote-ad-button img {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.on-vote-ad-button:active {
|
||||
transform: scale(0.95);
|
||||
}
|
||||
|
||||
.ad-attention-circle {
|
||||
position: fixed;
|
||||
left: 50%;
|
||||
bottom: -44px;
|
||||
width: 88px;
|
||||
height: 88px;
|
||||
border-radius: 50%;
|
||||
background: rgba(255, 255, 255, 0.45);
|
||||
pointer-events: none;
|
||||
z-index: 10;
|
||||
animation: ad-circle-flight 4s ease-in-out infinite;
|
||||
}
|
||||
|
||||
@keyframes ad-circle-flight {
|
||||
0%, 12% {
|
||||
transform: translateX(-50%) scale(0.3);
|
||||
opacity: 0;
|
||||
}
|
||||
20% {
|
||||
transform: translateX(-50%) scale(1);
|
||||
opacity: 1;
|
||||
}
|
||||
55% {
|
||||
transform: translate(calc(-50% - 21vw), -210px) scale(1);
|
||||
opacity: 0.8;
|
||||
}
|
||||
75% {
|
||||
transform: translate(calc(-50% - 39vw), -105px) scale(0.3);
|
||||
opacity: 0;
|
||||
}
|
||||
100% {
|
||||
transform: translate(calc(-50% - 39vw), -105px) scale(0.3);
|
||||
opacity: 0;
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes ad-press {
|
||||
0%, 65%, 100% {
|
||||
transform: scale(1);
|
||||
}
|
||||
75% {
|
||||
transform: scale(0.84);
|
||||
}
|
||||
84% {
|
||||
transform: scale(1.04);
|
||||
}
|
||||
}
|
||||
|
||||
.close-ad-button {
|
||||
position: absolute;
|
||||
top: 24px;
|
||||
right: 24px;
|
||||
width: 64px;
|
||||
height: 64px;
|
||||
padding: 0;
|
||||
border-radius: 50%;
|
||||
background: rgba(0, 0, 0, 0.7);
|
||||
color: white;
|
||||
font-size: 3rem;
|
||||
line-height: 1;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
table {
|
||||
@@ -196,4 +285,4 @@ margin-top: 125px; /* Abstand zur Überschrift */
|
||||
font-size: 2rem;
|
||||
font-weight: bold;
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user