2022-02-25 11:18:46 -07:00
|
|
|
/*
|
|
|
|
Copyright (C) 2021 Yarmo Mackenbach
|
|
|
|
|
|
|
|
This program is free software: you can redistribute it and/or modify it under
|
|
|
|
the terms of the GNU Affero General Public License as published by the Free
|
|
|
|
Software Foundation, either version 3 of the License, or (at your option)
|
|
|
|
any later version.
|
|
|
|
|
|
|
|
This program is distributed in the hope that it will be useful, but WITHOUT
|
|
|
|
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
|
|
|
|
FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
|
|
|
|
details.
|
|
|
|
|
|
|
|
You should have received a copy of the GNU Affero General Public License along
|
|
|
|
with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
|
|
|
|
|
|
Also add information on how to contact you by electronic and paper mail.
|
|
|
|
|
|
|
|
If your software can interact with users remotely through a computer network,
|
|
|
|
you should also make sure that it provides a way for users to get its source.
|
|
|
|
For example, if your program is a web application, its interface could display
|
|
|
|
a "Source" link that leads users to an archive of the code. There are many
|
|
|
|
ways you could offer source, and different solutions will be better for different
|
|
|
|
programs; see section 13 for the specific requirements.
|
|
|
|
|
|
|
|
You should also get your employer (if you work as a programmer) or school,
|
|
|
|
if any, to sign a "copyright disclaimer" for the program, if necessary. For
|
|
|
|
more information on this, and how to apply and follow the GNU AGPL, see <https://www.gnu.org/licenses/>.
|
|
|
|
*/
|
2023-03-05 04:06:42 -07:00
|
|
|
kx-claim {
|
|
|
|
display: block;
|
|
|
|
margin: 12px 0;
|
2022-02-25 11:18:46 -07:00
|
|
|
}
|
2023-03-05 04:06:42 -07:00
|
|
|
|
|
|
|
/* KX-ITEM */
|
|
|
|
.kx-item details {
|
2022-02-25 11:18:46 -07:00
|
|
|
width: 100%;
|
|
|
|
border-radius: 8px;
|
|
|
|
}
|
2023-03-05 04:06:42 -07:00
|
|
|
.kx-item details p {
|
2022-02-25 11:18:46 -07:00
|
|
|
margin: 0;
|
|
|
|
word-break: break-word;
|
2023-03-05 04:06:42 -07:00
|
|
|
font-size: 1rem;
|
2022-02-25 11:18:46 -07:00
|
|
|
}
|
2023-03-05 04:06:42 -07:00
|
|
|
.kx-item details a {
|
|
|
|
color: var(--link-color);
|
2022-02-25 11:18:46 -07:00
|
|
|
}
|
2023-03-05 04:06:42 -07:00
|
|
|
.kx-item details hr {
|
2022-02-25 11:18:46 -07:00
|
|
|
border: none;
|
2023-03-05 04:06:42 -07:00
|
|
|
border-top: 2px solid var(--claim-background-color);
|
2022-02-25 11:18:46 -07:00
|
|
|
}
|
2023-03-05 04:06:42 -07:00
|
|
|
.kx-item details .content {
|
2022-02-25 11:18:46 -07:00
|
|
|
padding: 12px;
|
2023-03-05 04:06:42 -07:00
|
|
|
border: solid 3px var(--claim-background-color);
|
2022-02-25 11:18:46 -07:00
|
|
|
border-top: 0px;
|
|
|
|
border-radius: 0px 0px 8px 8px;
|
|
|
|
}
|
2023-03-05 04:06:42 -07:00
|
|
|
.kx-item details summary {
|
2022-02-25 11:18:46 -07:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
padding: 8px 12px;
|
2023-03-05 04:06:42 -07:00
|
|
|
background-color: var(--claim-background-color);
|
|
|
|
border: solid 3px var(--claim-background-color);
|
2022-02-25 11:18:46 -07:00
|
|
|
border-radius: 8px;
|
|
|
|
list-style: none;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
2023-03-05 04:06:42 -07:00
|
|
|
.kx-item details summary::-webkit-details-marker {
|
2022-02-25 11:18:46 -07:00
|
|
|
display: none;
|
|
|
|
}
|
2023-03-05 04:06:42 -07:00
|
|
|
.kx-item details summary:hover, summary:focus {
|
|
|
|
border-color: var(--claim-border-accent-color);
|
2022-02-25 11:18:46 -07:00
|
|
|
}
|
|
|
|
details[open] summary {
|
|
|
|
border-radius: 8px 8px 0px 0px;
|
|
|
|
}
|
2023-03-05 04:06:42 -07:00
|
|
|
.kx-item details summary .info {
|
2022-02-25 11:18:46 -07:00
|
|
|
flex: 1;
|
|
|
|
}
|
2023-03-05 04:06:42 -07:00
|
|
|
.kx-item details summary .info .title {
|
2022-02-25 11:18:46 -07:00
|
|
|
font-size: 1.1em;
|
|
|
|
}
|
2023-03-05 04:06:42 -07:00
|
|
|
.kx-item details summary .claim__description p {
|
2022-02-25 11:18:46 -07:00
|
|
|
font-size: 1.4rem;
|
|
|
|
line-height: 2rem;
|
|
|
|
}
|
2023-03-05 04:06:42 -07:00
|
|
|
.kx-item details summary .claim__links p, p.subtle-links {
|
2022-02-25 11:18:46 -07:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
font-size: 1rem;
|
2023-03-05 04:06:42 -07:00
|
|
|
color: var(--link-subtle-color);
|
2022-02-25 11:18:46 -07:00
|
|
|
}
|
2023-03-05 04:06:42 -07:00
|
|
|
.kx-item details summary .claim__links a, summary .claim__links span, p.subtle-links a {
|
2022-02-25 11:18:46 -07:00
|
|
|
font-size: 1rem;
|
|
|
|
margin: 0 10px 0 0;
|
2023-03-05 04:06:42 -07:00
|
|
|
color: var(--link-subtle-color);
|
2022-02-25 11:18:46 -07:00
|
|
|
}
|
2023-03-05 04:06:42 -07:00
|
|
|
.kx-item details summary .subtitle {
|
|
|
|
color: var(--claim-title-text-color);
|
2022-02-25 11:18:46 -07:00
|
|
|
}
|
2023-03-05 04:06:42 -07:00
|
|
|
.kx-item details summary .verificationStatus {
|
2022-02-25 11:18:46 -07:00
|
|
|
position: relative;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
width: 48px;
|
|
|
|
height: 48px;
|
|
|
|
border-radius: 100%;
|
|
|
|
color: #fff;
|
|
|
|
font-size: 2rem;
|
|
|
|
user-select: none;
|
|
|
|
}
|
2023-03-05 04:06:42 -07:00
|
|
|
.kx-item details summary .verificationStatus::after {
|
2022-02-25 11:18:46 -07:00
|
|
|
position: absolute;
|
|
|
|
display: flex;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
}
|
2023-03-05 04:06:42 -07:00
|
|
|
.kx-item details summary .verificationStatus .inProgress {
|
2022-02-25 11:18:46 -07:00
|
|
|
opacity: 0;
|
|
|
|
transition: opacity 0.4s ease;
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
2023-03-05 04:06:42 -07:00
|
|
|
.kx-item details summary .verificationStatus[data-value="success"] {
|
2022-02-25 11:18:46 -07:00
|
|
|
content: "v";
|
2023-03-05 04:06:42 -07:00
|
|
|
background-color: var(--success-color);
|
2022-02-25 11:18:46 -07:00
|
|
|
}
|
2023-03-05 04:06:42 -07:00
|
|
|
.kx-item details summary .verificationStatus[data-value="success"]::after {
|
2022-02-25 11:18:46 -07:00
|
|
|
content: "✔";
|
|
|
|
}
|
2023-03-05 04:06:42 -07:00
|
|
|
.kx-item details summary .verificationStatus[data-value="failed"] {
|
|
|
|
background-color: var(--failure-color);
|
2022-02-25 11:18:46 -07:00
|
|
|
}
|
2023-03-05 04:06:42 -07:00
|
|
|
.kx-item details summary .verificationStatus[data-value="failed"]::after {
|
2022-02-25 11:18:46 -07:00
|
|
|
content: "✕";
|
|
|
|
}
|
2023-03-05 04:06:42 -07:00
|
|
|
.kx-item details summary .verificationStatus[data-value="running"] .inProgress {
|
2022-02-25 11:18:46 -07:00
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
|
2023-03-05 04:06:42 -07:00
|
|
|
.kx-item details .subsection {
|
2022-02-25 11:18:46 -07:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
gap: 16px;
|
|
|
|
}
|
2023-03-05 04:06:42 -07:00
|
|
|
.kx-item details .subsection > img {
|
2022-02-25 11:18:46 -07:00
|
|
|
width: 24px;
|
|
|
|
height: 24px;
|
|
|
|
opacity: 0.4;
|
|
|
|
}
|
2023-03-05 04:06:42 -07:00
|
|
|
@media (prefers-color-scheme: dark) {
|
|
|
|
.kx-item details .subsection > img {
|
|
|
|
filter: invert(1);
|
|
|
|
}
|
|
|
|
}
|
2022-02-25 11:18:46 -07:00
|
|
|
|
2023-03-05 04:06:42 -07:00
|
|
|
.kx-item details .inProgress {
|
2022-02-25 11:18:46 -07:00
|
|
|
font-size: 10px;
|
|
|
|
margin: 50px auto;
|
|
|
|
text-indent: -9999em;
|
|
|
|
width: 48px;
|
|
|
|
height: 48px;
|
|
|
|
border-radius: 50%;
|
2023-03-05 04:06:42 -07:00
|
|
|
background: var(--loader-color);
|
|
|
|
background: -moz-linear-gradient(left, var(--loader-color) 10%, rgba(255, 255, 255, 0) 42%);
|
|
|
|
background: -webkit-linear-gradient(left, var(--loader-color) 10%, rgba(255, 255, 255, 0) 42%);
|
|
|
|
background: -o-linear-gradient(left, var(--loader-color) 10%, rgba(255, 255, 255, 0) 42%);
|
|
|
|
background: -ms-linear-gradient(left, var(--loader-color) 10%, rgba(255, 255, 255, 0) 42%);
|
|
|
|
background: linear-gradient(to right, var(--loader-color) 10%, rgba(255, 255, 255, 0) 42%);
|
2022-02-25 11:18:46 -07:00
|
|
|
position: relative;
|
|
|
|
-webkit-animation: load3 1.4s infinite linear;
|
|
|
|
animation: load3 1.4s infinite linear;
|
|
|
|
-webkit-transform: translateZ(0);
|
|
|
|
-ms-transform: translateZ(0);
|
|
|
|
transform: translateZ(0);
|
|
|
|
}
|
2023-03-05 04:06:42 -07:00
|
|
|
.kx-item details .inProgress:before {
|
2022-02-25 11:18:46 -07:00
|
|
|
width: 50%;
|
|
|
|
height: 50%;
|
2023-03-05 04:06:42 -07:00
|
|
|
background: var(--loader-color);
|
2022-02-25 11:18:46 -07:00
|
|
|
border-radius: 100% 0 0 0;
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
content: '';
|
|
|
|
}
|
2023-03-05 04:06:42 -07:00
|
|
|
.kx-item details .inProgress:after {
|
|
|
|
background: var(--claim-background-color);
|
2022-02-25 11:18:46 -07:00
|
|
|
width: 65%;
|
|
|
|
height: 65%;
|
|
|
|
border-radius: 50%;
|
|
|
|
content: '';
|
|
|
|
margin: auto;
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
bottom: 0;
|
|
|
|
right: 0;
|
|
|
|
}
|
2023-03-05 04:06:42 -07:00
|
|
|
.kx-item details button {
|
2022-02-25 11:18:46 -07:00
|
|
|
padding: 0.4rem 0.8rem;
|
|
|
|
margin-right: 8px;
|
|
|
|
text-decoration: none;
|
|
|
|
text-transform: uppercase;
|
2023-03-05 04:06:42 -07:00
|
|
|
color: var(--button-text-color);
|
|
|
|
background-color: var(--button-background-color);
|
|
|
|
border: solid 2px var(--button-border-color);
|
2022-02-25 11:18:46 -07:00
|
|
|
border-radius: 4px;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
2023-03-05 04:06:42 -07:00
|
|
|
.kx-item details button:hover {
|
|
|
|
background-color: var(--button-hover-background-color);
|
|
|
|
border-color: var(--button-hover-border-color);
|
|
|
|
color: var(--button-hover-text-color);
|
2022-02-25 11:18:46 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
@media screen and (max-width: 640px) {
|
2023-03-05 04:06:42 -07:00
|
|
|
.kx-item details summary .claim__description p {
|
2022-02-25 11:18:46 -07:00
|
|
|
font-size: 1.2rem;
|
|
|
|
}
|
2023-03-05 04:06:42 -07:00
|
|
|
.kx-item details summary .claim__links a, p.subtle-links a {
|
2022-02-25 11:18:46 -07:00
|
|
|
font-size: 0.9rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@media screen and (max-width: 480px) {
|
|
|
|
summary .claim__description p {
|
|
|
|
font-size: 1rem;
|
|
|
|
}
|
2023-03-05 04:06:42 -07:00
|
|
|
.kx-item details summary .verificationStatus {
|
2022-02-25 11:18:46 -07:00
|
|
|
width: 36px;
|
|
|
|
height: 36px;
|
|
|
|
font-size: 1.6rem;
|
|
|
|
}
|
2023-03-05 04:06:42 -07:00
|
|
|
.kx-item details .inProgress {
|
2022-02-25 11:18:46 -07:00
|
|
|
width: 36px;
|
|
|
|
height: 36px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@-webkit-keyframes load3 {
|
|
|
|
0% {
|
|
|
|
-webkit-transform: rotate(0deg);
|
|
|
|
transform: rotate(0deg);
|
|
|
|
}
|
|
|
|
100% {
|
|
|
|
-webkit-transform: rotate(360deg);
|
|
|
|
transform: rotate(360deg);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@keyframes load3 {
|
|
|
|
0% {
|
|
|
|
-webkit-transform: rotate(0deg);
|
|
|
|
transform: rotate(0deg);
|
|
|
|
}
|
|
|
|
100% {
|
|
|
|
-webkit-transform: rotate(360deg);
|
|
|
|
transform: rotate(360deg);
|
|
|
|
}
|
|
|
|
}
|