uwu/add-service-metadata #29

Merged
lexik merged 32 commits from uwu/add-service-metadata into master 2023-04-10 22:32:23 +02:00
2 changed files with 19 additions and 74 deletions
Showing only changes of commit ed51e8a6e4 - Show all commits

View file

@ -713,10 +713,6 @@ video {
display: block; display: block;
} }
.inline-block {
display: inline-block;
}
.inline { .inline {
display: inline; display: inline;
} }
@ -745,14 +741,6 @@ video {
width: 10rem; width: 10rem;
} }
.w-2 {
width: 0.5rem;
}
.w-4 {
width: 1rem;
}
.w-3 { .w-3 {
width: 0.75rem; width: 0.75rem;
} }
@ -851,16 +839,12 @@ video {
white-space: nowrap; white-space: nowrap;
} }
.rounded-xl {
border-radius: 0.75rem;
}
.rounded { .rounded {
border-radius: 0.25rem; border-radius: 0.25rem;
} }
.rounded-sm { .rounded-xl {
border-radius: 0.125rem; border-radius: 0.75rem;
} }
.border-t { .border-t {
@ -882,40 +866,11 @@ video {
background-color: rgb(244 244 245 / var(--tw-bg-opacity)); background-color: rgb(244 244 245 / var(--tw-bg-opacity));
} }
.bg-red-500 {
--tw-bg-opacity: 1;
background-color: rgb(239 68 68 / var(--tw-bg-opacity));
}
.bg-red-400 {
--tw-bg-opacity: 1;
background-color: rgb(248 113 113 / var(--tw-bg-opacity));
}
.bg-red-600 {
--tw-bg-opacity: 1;
background-color: rgb(220 38 38 / var(--tw-bg-opacity));
}
.bg-red-700 {
--tw-bg-opacity: 1;
background-color: rgb(185 28 28 / var(--tw-bg-opacity));
}
.bg-red-200 {
--tw-bg-opacity: 1;
background-color: rgb(254 202 202 / var(--tw-bg-opacity));
}
.bg-red-100 { .bg-red-100 {
--tw-bg-opacity: 1; --tw-bg-opacity: 1;
background-color: rgb(254 226 226 / var(--tw-bg-opacity)); background-color: rgb(254 226 226 / var(--tw-bg-opacity));
} }
.bg-red-200\/20 {
background-color: rgb(254 202 202 / 0.2);
}
.fill-current { .fill-current {
fill: currentColor; fill: currentColor;
} }
@ -940,14 +895,9 @@ video {
padding-bottom: 1.5rem; padding-bottom: 1.5rem;
} }
.px-1 { .px-1\.5 {
padding-left: 0.25rem; padding-left: 0.375rem;
padding-right: 0.25rem; padding-right: 0.375rem;
}
.py-1 {
padding-top: 0.25rem;
padding-bottom: 0.25rem;
} }
.py-0\.5 { .py-0\.5 {
@ -955,21 +905,16 @@ video {
padding-bottom: 0.125rem; padding-bottom: 0.125rem;
} }
.px-1 {
padding-left: 0.25rem;
padding-right: 0.25rem;
}
.py-0 { .py-0 {
padding-top: 0px; padding-top: 0px;
padding-bottom: 0px; padding-bottom: 0px;
} }
.px-2 {
padding-left: 0.5rem;
padding-right: 0.5rem;
}
.px-1\.5 {
padding-left: 0.375rem;
padding-right: 0.375rem;
}
.pt-6 { .pt-6 {
padding-top: 1.5rem; padding-top: 1.5rem;
} }
@ -1246,17 +1191,12 @@ html:not(.dark) .light\:hidden {
background-color: rgb(39 39 42 / var(--tw-bg-opacity)); background-color: rgb(39 39 42 / var(--tw-bg-opacity));
} }
.dark .dark\:bg-red-700 {
--tw-bg-opacity: 1;
background-color: rgb(185 28 28 / var(--tw-bg-opacity));
}
.dark .dark\:bg-red-500\/50 { .dark .dark\:bg-red-500\/50 {
background-color: rgb(239 68 68 / 0.5); background-color: rgb(239 68 68 / 0.5);
} }
.dark .dark\:bg-red-500\/20 { .dark .dark\:bg-red-500\/30 {
background-color: rgb(239 68 68 / 0.2); background-color: rgb(239 68 68 / 0.3);
} }
.dark .dark\:text-gray-50 { .dark .dark\:text-gray-50 {

View file

@ -14,13 +14,18 @@
</div> </div>
<ul class="flex flex-wrap gap-1 mt-2 empty:hidden"> <ul class="flex flex-wrap gap-1 mt-2 empty:hidden">
{{ if .Params.encrypted }} {{ if .Params.encrypted }}
<li class="inline-flex gap-1 text-xs px-1.5 py-0.5 rounded bg-red-100 dark:bg-red-500/50"> <li class="inline-flex gap-1 text-xs px-1.5 py-0.5 rounded bg-red-100 dark:bg-red-500/30">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" class="w-3"><path d="M19 10H20C20.5523 10 21 10.4477 21 11V21C21 21.5523 20.5523 22 20 22H4C3.44772 22 3 21.5523 3 21V11C3 10.4477 3.44772 10 4 10H5V9C5 5.13401 8.13401 2 12 2C15.866 2 19 5.13401 19 9V10ZM17 10V9C17 6.23858 14.7614 4 12 4C9.23858 4 7 6.23858 7 9V10H17ZM11 14V18H13V14H11Z" fill="currentColor"></path></svg> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" class="w-3"><path d="M19 10H20C20.5523 10 21 10.4477 21 11V21C21 21.5523 20.5523 22 20 22H4C3.44772 22 3 21.5523 3 21V11C3 10.4477 3.44772 10 4 10H5V9C5 5.13401 8.13401 2 12 2C15.866 2 19 5.13401 19 9V10ZM17 10V9C17 6.23858 14.7614 4 12 4C9.23858 4 7 6.23858 7 9V10H17ZM11 14V18H13V14H11Z" fill="currentColor"></path></svg>
<span>šifrováno</span> <span>šifrováno</span>
</li> </li>
{{ else }}
<li class="inline-flex gap-1 text-xs px-1.5 py-0.5 rounded bg-red-100 dark:bg-red-500/30">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" class="w-3"><path d="M7 10H20C20.5523 10 21 10.4477 21 11V21C21 21.5523 20.5523 22 20 22H4C3.44772 22 3 21.5523 3 21V11C3 10.4477 3.44772 10 4 10H5V9C5 5.13401 8.13401 2 12 2C14.7405 2 17.1131 3.5748 18.2624 5.86882L16.4731 6.76344C15.6522 5.12486 13.9575 4 12 4C9.23858 4 7 6.23858 7 9V10ZM5 12V20H19V12H5ZM10 15H14V17H10V15Z" fill="currentColor"></path></svg>
<span>nešifrováno</span>
</li>
{{ end }} {{ end }}
{{ if .Params.onion }} {{ if .Params.onion }}
<li class="inline-flex gap-1 text-xs px-1.5 py-0.5 rounded bg-red-100 dark:bg-red-500/50"> <li class="inline-flex gap-1 text-xs px-1.5 py-0.5 rounded bg-red-100 dark:bg-red-500/30">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 180 180" class="w-3"> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 180 180" class="w-3">
<path d="M90.1846205,163.631147 L90.1846205,152.721073 C124.743583,152.621278 152.726063,124.581416 152.726063,89.9975051 C152.726063,55.4160892 124.743583,27.3762266 90.1846205,27.2764318 L90.1846205,16.366358 C130.768698,16.4686478 163.633642,49.3909741 163.633642,89.9975051 C163.633642,130.606531 130.768698,163.531352 90.1846205,163.631147 Z M90.1846205,125.444642 C109.677053,125.342352 125.454621,109.517381 125.454621,89.9975051 C125.454621,70.4801242 109.677053,54.6551533 90.1846205,54.5528636 L90.1846205,43.6452847 C115.704663,43.7450796 136.364695,64.4550091 136.364695,89.9975051 C136.364695,115.542496 115.704663,136.252426 90.1846205,136.35222 L90.1846205,125.444642 Z M90.1846205,70.9167267 C100.640628,71.0165216 109.090758,79.5165493 109.090758,89.9975051 C109.090758,100.480956 100.640628,108.980984 90.1846205,109.080778 L90.1846205,70.9167267 Z M0,89.9975051 C0,139.705328 40.2921772,180 90,180 C139.705328,180 180,139.705328 180,89.9975051 C180,40.2921772 139.705328,0 90,0 C40.2921772,0 0,40.2921772 0,89.9975051 Z" fill="currentColor"/> <path d="M90.1846205,163.631147 L90.1846205,152.721073 C124.743583,152.621278 152.726063,124.581416 152.726063,89.9975051 C152.726063,55.4160892 124.743583,27.3762266 90.1846205,27.2764318 L90.1846205,16.366358 C130.768698,16.4686478 163.633642,49.3909741 163.633642,89.9975051 C163.633642,130.606531 130.768698,163.531352 90.1846205,163.631147 Z M90.1846205,125.444642 C109.677053,125.342352 125.454621,109.517381 125.454621,89.9975051 C125.454621,70.4801242 109.677053,54.6551533 90.1846205,54.5528636 L90.1846205,43.6452847 C115.704663,43.7450796 136.364695,64.4550091 136.364695,89.9975051 C136.364695,115.542496 115.704663,136.252426 90.1846205,136.35222 L90.1846205,125.444642 Z M90.1846205,70.9167267 C100.640628,71.0165216 109.090758,79.5165493 109.090758,89.9975051 C109.090758,100.480956 100.640628,108.980984 90.1846205,109.080778 L90.1846205,70.9167267 Z M0,89.9975051 C0,139.705328 40.2921772,180 90,180 C139.705328,180 180,139.705328 180,89.9975051 C180,40.2921772 139.705328,0 90,0 C40.2921772,0 0,40.2921772 0,89.9975051 Z" fill="currentColor"/>
</svg> </svg>