mirror of
https://github.com/sequentialread/pow-captcha.git
synced 2025-03-30 15:08:29 +00:00
179 lines
3.4 KiB
CSS
179 lines
3.4 KiB
CSS
.pow-botdeterrent {
|
|
background-color: #ddd;
|
|
border: 1px solid #9359fa;
|
|
border-radius: 1em;
|
|
font-size: 1.2em;
|
|
padding: 1em;
|
|
padding-top: 0.5em;
|
|
border-bottom: 2px solid #452775;
|
|
margin-bottom: 2em;
|
|
min-width: 37em;
|
|
}
|
|
|
|
.pow-botdeterrent-link {
|
|
color: #452775;
|
|
font-weight: bold;
|
|
text-decoration: underline;
|
|
font-size: 1.4em;
|
|
font-family: monospace;
|
|
}
|
|
|
|
@media screen and (max-width: 410px) {
|
|
.pow-botdeterrent {
|
|
min-width: 25em;
|
|
}
|
|
.pow-botdeterrent-icon {
|
|
height: 3em;
|
|
}
|
|
}
|
|
|
|
@media screen and (max-width: 380px) {
|
|
.pow-botdeterrent-link span {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
.pow-botdeterrent-link:hover,
|
|
.pow-botdeterrent-link:active,
|
|
.pow-botdeterrent-link:visited {
|
|
color: #452775;
|
|
}
|
|
|
|
|
|
.pow-botdeterrent-row {
|
|
display: inline-flex;
|
|
flex-direction: row;
|
|
align-content: center;
|
|
width: 100%;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.pow-botdeterrent-icon-container {
|
|
margin-left: 1.5em;
|
|
margin-top: 0.2em;
|
|
margin-bottom: -2em;
|
|
margin-right: 0.2em;
|
|
}
|
|
|
|
.pow-botdeterrent-best-hash {
|
|
font-family: monospace;
|
|
background: #585a29;
|
|
color: #f6ff72;
|
|
transition: background 0.5s ease-in-out, color 0.5s ease-in-out;
|
|
padding: 0.2em 0.8em;
|
|
padding-bottom: 0.3em;
|
|
margin-left: -0.5em;
|
|
border-radius: 0.5em;
|
|
font-size: 0.8em;
|
|
font-weight: bolder;
|
|
display: block;
|
|
float: right;
|
|
}
|
|
|
|
.pow-botdeterrent-best-hash-done {
|
|
background: #3b6262;
|
|
color: #53f65d;
|
|
}
|
|
|
|
.pow-botdeterrent-description {
|
|
margin-top: 1em;
|
|
font-size: 1em;
|
|
}
|
|
|
|
.pow-botdeterrent-progress-bar-container {
|
|
border-radius: 1em;
|
|
background: #444;
|
|
height: 1em;
|
|
margin-top: 1em;
|
|
border: 1px solid #727630;
|
|
box-sizing: content-box;
|
|
|
|
}
|
|
|
|
.pow-botdeterrent-progress-bar {
|
|
background: #f6ff72;
|
|
height: 1em;
|
|
width: 0;
|
|
border-radius: 1em;
|
|
transition: width 0.5s ease-in-out;
|
|
}
|
|
|
|
.pow-botdeterrent-icon {
|
|
height: 4em;
|
|
}
|
|
|
|
.pow-botdeterrent-hidden {
|
|
display: none;
|
|
}
|
|
|
|
.pow-checkmark-icon-checkmark {
|
|
fill:none;
|
|
stroke: #31bd82;
|
|
stroke-width: 6em;
|
|
stroke-dasharray: 60em;
|
|
stroke-dashoffset: 74em;
|
|
stroke-linecap: round;
|
|
stroke-linejoin: round;
|
|
animation: 0.8s normal forwards ease-in-out pow-draw-checkmark;
|
|
animation-play-state: inherit;
|
|
}
|
|
|
|
.pow-checkmark-icon-border {
|
|
fill:none;
|
|
stroke: #aaa;
|
|
stroke-width: 3em;
|
|
stroke-dasharray: 110em;
|
|
stroke-dashoffset: 110em;
|
|
stroke-linecap: round;
|
|
stroke-linejoin: round;
|
|
animation: 0.8s normal forwards ease-in-out pow-draw-checkmark-border;
|
|
animation-play-state: inherit;
|
|
}
|
|
|
|
.pow-gears-icon-gear-large {
|
|
fill: #9359fa;
|
|
animation: 4s linear infinite pow-spinning-gears-large;
|
|
animation-play-state: running;
|
|
}
|
|
.pow-gears-icon-gear-small {
|
|
fill: #9359fa;
|
|
animation: 4s linear infinite pow-spinning-gears-small;
|
|
animation-play-state: running;
|
|
}
|
|
|
|
|
|
@keyframes pow-draw-checkmark-border {
|
|
0% {
|
|
stroke-dashoffset: 110em;
|
|
}
|
|
100% {
|
|
stroke-dashoffset: 10em;
|
|
}
|
|
}
|
|
|
|
@keyframes pow-draw-checkmark {
|
|
0% {
|
|
stroke-dashoffset: 74em;
|
|
}
|
|
100% {
|
|
stroke-dashoffset: 120em;
|
|
}
|
|
}
|
|
|
|
@keyframes pow-spinning-gears-small {
|
|
0% {
|
|
transform: translate(161px, 161px) rotate(0deg) translate(-161px,-161px);
|
|
}
|
|
100% {
|
|
transform: translate(161px, 161px) rotate(360deg) translate(-161px,-161px);
|
|
}
|
|
}
|
|
|
|
@keyframes pow-spinning-gears-large {
|
|
0% {
|
|
transform: translate(73px, 73px) rotate(360deg) translate(-73px,-73px);
|
|
}
|
|
100% {
|
|
transform: translate(73px, 73px) rotate(0deg) translate(-73px,-73px);
|
|
}
|
|
} |