em -> rem

This commit is contained in:
pat-s 2024-12-16 13:50:42 +01:00
parent 2dbcc2423f
commit 31db4f6d64
No known key found for this signature in database
GPG key ID: 3C6318841EF78925
6 changed files with 45 additions and 45 deletions

View file

@ -1,2 +1,2 @@
<!-- https://raw.githubusercontent.com/Templarian/MaterialDesign/master/LICENSE -->
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" class="iconify iconify--mdi" width="1.5em" height="1.5em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 24 24"><path d="M21.81 10.25c-.06-.04-.56-.43-1.64-.43c-.28 0-.56.03-.84.08c-.21-1.4-1.38-2.11-1.43-2.14l-.29-.17l-.18.27c-.24.36-.43.77-.51 1.19c-.2.8-.08 1.56.33 2.21c-.49.28-1.29.35-1.46.35H2.62c-.34 0-.62.28-.62.63c0 1.15.18 2.3.58 3.38c.45 1.19 1.13 2.07 2 2.61c.98.6 2.59.94 4.42.94c.79 0 1.61-.07 2.42-.22c1.12-.2 2.2-.59 3.19-1.16A8.3 8.3 0 0 0 16.78 16c1.05-1.17 1.67-2.5 2.12-3.65h.19c1.14 0 1.85-.46 2.24-.85c.26-.24.45-.53.59-.87l.08-.24l-.19-.14m-17.96.99h1.76c.08 0 .16-.07.16-.16V9.5c0-.08-.07-.16-.16-.16H3.85c-.09 0-.16.07-.16.16v1.58c.01.09.07.16.16.16m2.43 0h1.76c.08 0 .16-.07.16-.16V9.5c0-.08-.07-.16-.16-.16H6.28c-.09 0-.16.07-.16.16v1.58c.01.09.07.16.16.16m2.47 0h1.75c.1 0 .17-.07.17-.16V9.5c0-.08-.06-.16-.17-.16H8.75c-.08 0-.15.07-.15.16v1.58c0 .09.06.16.15.16m2.44 0h1.77c.08 0 .15-.07.15-.16V9.5c0-.08-.06-.16-.15-.16h-1.77c-.08 0-.15.07-.15.16v1.58c0 .09.07.16.15.16M6.28 9h1.76c.08 0 .16-.09.16-.18V7.25c0-.09-.07-.16-.16-.16H6.28c-.09 0-.16.06-.16.16v1.57c.01.09.07.18.16.18m2.47 0h1.75c.1 0 .17-.09.17-.18V7.25c0-.09-.06-.16-.17-.16H8.75c-.08 0-.15.06-.15.16v1.57c0 .09.06.18.15.18m2.44 0h1.77c.08 0 .15-.09.15-.18V7.25c0-.09-.07-.16-.15-.16h-1.77c-.08 0-.15.06-.15.16v1.57c0 .09.07.18.15.18m0-2.28h1.77c.08 0 .15-.07.15-.16V5c0-.1-.07-.17-.15-.17h-1.77c-.08 0-.15.06-.15.17v1.56c0 .08.07.16.15.16m2.46 4.52h1.76c.09 0 .16-.07.16-.16V9.5c0-.08-.07-.16-.16-.16h-1.76c-.08 0-.15.07-.15.16v1.58c0 .09.07.16.15.16" fill="currentColor"></path></svg>
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" class="iconify iconify--mdi" width="1.5rem" height="1.5rem" preserveAspectRatio="xMidYMid meet" viewBox="0 0 24 24"><path d="M21.81 10.25c-.06-.04-.56-.43-1.64-.43c-.28 0-.56.03-.84.08c-.21-1.4-1.38-2.11-1.43-2.14l-.29-.17l-.18.27c-.24.36-.43.77-.51 1.19c-.2.8-.08 1.56.33 2.21c-.49.28-1.29.35-1.46.35H2.62c-.34 0-.62.28-.62.63c0 1.15.18 2.3.58 3.38c.45 1.19 1.13 2.07 2 2.61c.98.6 2.59.94 4.42.94c.79 0 1.61-.07 2.42-.22c1.12-.2 2.2-.59 3.19-1.16A8.3 8.3 0 0 0 16.78 16c1.05-1.17 1.67-2.5 2.12-3.65h.19c1.14 0 1.85-.46 2.24-.85c.26-.24.45-.53.59-.87l.08-.24l-.19-.14m-17.96.99h1.76c.08 0 .16-.07.16-.16V9.5c0-.08-.07-.16-.16-.16H3.85c-.09 0-.16.07-.16.16v1.58c.01.09.07.16.16.16m2.43 0h1.76c.08 0 .16-.07.16-.16V9.5c0-.08-.07-.16-.16-.16H6.28c-.09 0-.16.07-.16.16v1.58c.01.09.07.16.16.16m2.47 0h1.75c.1 0 .17-.07.17-.16V9.5c0-.08-.06-.16-.17-.16H8.75c-.08 0-.15.07-.15.16v1.58c0 .09.06.16.15.16m2.44 0h1.77c.08 0 .15-.07.15-.16V9.5c0-.08-.06-.16-.15-.16h-1.77c-.08 0-.15.07-.15.16v1.58c0 .09.07.16.15.16M6.28 9h1.76c.08 0 .16-.09.16-.18V7.25c0-.09-.07-.16-.16-.16H6.28c-.09 0-.16.06-.16.16v1.57c.01.09.07.18.16.18m2.47 0h1.75c.1 0 .17-.09.17-.18V7.25c0-.09-.06-.16-.17-.16H8.75c-.08 0-.15.06-.15.16v1.57c0 .09.06.18.15.18m2.44 0h1.77c.08 0 .15-.09.15-.18V7.25c0-.09-.07-.16-.15-.16h-1.77c-.08 0-.15.06-.15.16v1.57c0 .09.07.18.15.18m0-2.28h1.77c.08 0 .15-.07.15-.16V5c0-.1-.07-.17-.15-.17h-1.77c-.08 0-.15.06-.15.17v1.56c0 .08.07.16.15.16m2.46 4.52h1.76c.09 0 .16-.07.16-.16V9.5c0-.08-.07-.16-.16-.16h-1.76c-.08 0-.15.07-.15.16v1.58c0 .09.07.16.15.16" fill="currentColor"></path></svg>

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 1.7 KiB

View file

@ -1,2 +1,2 @@
<!-- http://elusiveicons.com/license/ -->
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" class="iconify iconify--el" width="1.5em" height="1.5em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 1200 1200"><path d="M600.073 17.426C268.728 17.426 0 286.008 0 617.353c0 260.49 166.117 482.172 398.146 565.076L546.04 791.313c-74.269-23.013-128.273-92.136-128.273-173.96c0-100.646 81.661-182.307 182.308-182.307c100.646 0 182.16 81.66 182.16 182.307c0 81.888-53.952 151.147-128.273 174.106l147.896 391.115C1033.938 1099.72 1200 877.909 1200 617.353c0-331.345-268.581-599.927-599.927-599.927z" fill="currentColor"></path></svg>
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" class="iconify iconify--el" width="1.5rem" height="1.5rem" preserveAspectRatio="xMidYMid meet" viewBox="0 0 1200 1200"><path d="M600.073 17.426C268.728 17.426 0 286.008 0 617.353c0 260.49 166.117 482.172 398.146 565.076L546.04 791.313c-74.269-23.013-128.273-92.136-128.273-173.96c0-100.646 81.661-182.307 182.308-182.307c100.646 0 182.16 81.66 182.16 182.307c0 81.888-53.952 151.147-128.273 174.106l147.896 391.115C1033.938 1099.72 1200 877.909 1200 617.353c0-331.345-268.581-599.927-599.927-599.927z" fill="currentColor"></path></svg>

Before

Width:  |  Height:  |  Size: 689 B

After

Width:  |  Height:  |  Size: 691 B

View file

@ -1,2 +1,2 @@
<!--Font Awesome Free 5.15.4 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)-->
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" class="iconify iconify--fa-solid" width="1.5em" height="1.5em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 512 512"><path d="M12.41 148.02l232.94 105.67c6.8 3.09 14.49 3.09 21.29 0l232.94-105.67c16.55-7.51 16.55-32.52 0-40.03L266.65 2.31a25.607 25.607 0 0 0-21.29 0L12.41 107.98c-16.55 7.51-16.55 32.53 0 40.04zm487.18 88.28l-58.09-26.33l-161.64 73.27c-7.56 3.43-15.59 5.17-23.86 5.17s-16.29-1.74-23.86-5.17L70.51 209.97l-58.1 26.33c-16.55 7.5-16.55 32.5 0 40l232.94 105.59c6.8 3.08 14.49 3.08 21.29 0L499.59 276.3c16.55-7.5 16.55-32.5 0-40zm0 127.8l-57.87-26.23l-161.86 73.37c-7.56 3.43-15.59 5.17-23.86 5.17s-16.29-1.74-23.86-5.17L70.29 337.87L12.41 364.1c-16.55 7.5-16.55 32.5 0 40l232.94 105.59c6.8 3.08 14.49 3.08 21.29 0L499.59 404.1c16.55-7.5 16.55-32.5 0-40z" fill="currentColor"></path></svg>
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" class="iconify iconify--fa-solid" width="1.5rem" height="1.5rem" preserveAspectRatio="xMidYMid meet" viewBox="0 0 512 512"><path d="M12.41 148.02l232.94 105.67c6.8 3.09 14.49 3.09 21.29 0l232.94-105.67c16.55-7.51 16.55-32.52 0-40.03L266.65 2.31a25.607 25.607 0 0 0-21.29 0L12.41 107.98c-16.55 7.51-16.55 32.53 0 40.04zm487.18 88.28l-58.09-26.33l-161.64 73.27c-7.56 3.43-15.59 5.17-23.86 5.17s-16.29-1.74-23.86-5.17L70.51 209.97l-58.1 26.33c-16.55 7.5-16.55 32.5 0 40l232.94 105.59c6.8 3.08 14.49 3.08 21.29 0L499.59 276.3c16.55-7.5 16.55-32.5 0-40zm0 127.8l-57.87-26.23l-161.86 73.37c-7.56 3.43-15.59 5.17-23.86 5.17s-16.29-1.74-23.86-5.17L70.29 337.87L12.41 364.1c-16.55 7.5-16.55 32.5 0 40l232.94 105.59c6.8 3.08 14.49 3.08 21.29 0L499.59 404.1c16.55-7.5 16.55-32.5 0-40z" fill="currentColor"></path></svg>

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

View file

@ -1,59 +1,59 @@
<!-- cSpell:ignore radiobox timelapse -->
<template>
<SvgIcon v-if="name === 'duration'" :path="mdiTimelapse" size="1em" />
<SvgIcon v-else-if="name === 'since'" :path="mdiClockTimeEightOutline" size="1em" />
<SvgIcon v-else-if="name === 'push'" :path="mdiSourceBranch" size="1em" />
<SvgIcon v-else-if="name === 'pull-request'" :path="mdiSourcePull" size="1em" />
<SvgIcon v-else-if="name === 'pull-request-closed'" :path="mdiSourceMerge" size="1em" />
<SvgIcon v-else-if="name === 'manual-pipeline'" :path="mdiGestureTap" size="1em" />
<SvgIcon v-else-if="name === 'tag'" :path="mdiTagOutline" size="1em" />
<SvgIcon v-else-if="name === 'deployment'" :path="mdiPackageVariant" size="1em" />
<SvgIcon v-else-if="name === 'commit'" :path="mdiSourceCommit" size="1em" />
<SvgIcon v-else-if="name === 'back'" :path="mdiArrowLeft" size="1em" />
<SvgIcon v-if="name === 'duration'" :path="mdiTimelapse" size="1rem" />
<SvgIcon v-else-if="name === 'since'" :path="mdiClockTimeEightOutline" size="1rem" />
<SvgIcon v-else-if="name === 'push'" :path="mdiSourceBranch" size="1rem" />
<SvgIcon v-else-if="name === 'pull-request'" :path="mdiSourcePull" size="1rem" />
<SvgIcon v-else-if="name === 'pull-request-closed'" :path="mdiSourceMerge" size="1rem" />
<SvgIcon v-else-if="name === 'manual-pipeline'" :path="mdiGestureTap" size="1rem" />
<SvgIcon v-else-if="name === 'tag'" :path="mdiTagOutline" size="1rem" />
<SvgIcon v-else-if="name === 'deployment'" :path="mdiPackageVariant" size="1rem" />
<SvgIcon v-else-if="name === 'commit'" :path="mdiSourceCommit" size="1rem" />
<SvgIcon v-else-if="name === 'back'" :path="mdiArrowLeft" size="1rem" />
<SvgIcon v-else-if="name === 'github'" :path="mdiGithub" size="32" />
<SvgIcon v-else-if="name === 'repo'" :path="mdiGit" size="32" />
<SvgIcon v-else-if="name === 'settings'" :path="mdiCog" size="32" />
<SvgIcon v-else-if="name === 'trash'" :path="mdiTrashCanOutline" size="1em" />
<SvgIcon v-else-if="name === 'status-blocked'" :path="mdiPlayCircleOutline" size="1em" />
<SvgIcon v-else-if="name === 'status-declined'" :path="mdiStopCircleOutline" size="1em" />
<SvgIcon v-else-if="name === 'trash'" :path="mdiTrashCanOutline" size="1rem" />
<SvgIcon v-else-if="name === 'status-blocked'" :path="mdiPlayCircleOutline" size="1rem" />
<SvgIcon v-else-if="name === 'status-declined'" :path="mdiStopCircleOutline" size="1rem" />
<SvgIcon
v-else-if="name === 'status-failure' || name === 'status-error' || name === 'status-killed'"
type="mdi"
:path="mdiCloseCircleOutline"
size="1em"
size="1rem"
/>
<SvgIcon v-else-if="name === 'status-pending'" :path="mdiRadioboxBlank" size="1em" />
<SvgIcon v-else-if="name === 'status-pending'" :path="mdiRadioboxBlank" size="1rem" />
<SvgIcon
v-else-if="name === 'status-running' || name === 'status-started'"
type="mdi"
:path="mdiRadioboxIndeterminateVariant"
size="1em"
size="1rem"
/>
<SvgIcon v-else-if="name === 'status-skipped'" :path="mdiMinusCircleOutline" size="1em" />
<SvgIcon v-else-if="name === 'status-success'" :path="mdiCheckCircleOutline" size="1em" />
<SvgIcon v-else-if="name === 'attention'" :path="mdiAlert" size="1em" />
<SvgIcon v-else-if="name === 'warning'" :path="mdiAlertOutline" size="1em" />
<SvgIcon v-else-if="name === 'error'" :path="mdiAlertCircle" size="1em" />
<SvgIcon v-else-if="name === 'status-skipped'" :path="mdiMinusCircleOutline" size="1rem" />
<SvgIcon v-else-if="name === 'status-success'" :path="mdiCheckCircleOutline" size="1rem" />
<SvgIcon v-else-if="name === 'attention'" :path="mdiAlert" size="1rem" />
<SvgIcon v-else-if="name === 'warning'" :path="mdiAlertOutline" size="1rem" />
<SvgIcon v-else-if="name === 'error'" :path="mdiAlertCircle" size="1rem" />
<SvgIcon v-else-if="name === 'gitlab'" :path="mdiGitlab" size="32" />
<SvgIcon v-else-if="name === 'bitbucket' || name === 'bitbucket-dc'" :path="mdiBitbucket" size="32" />
<SvgIcon v-else-if="name === 'question'" :path="mdiHelpCircleOutline" size="1em" />
<SvgIcon v-else-if="name === 'plus'" :path="mdiPlus" size="1em" />
<SvgIcon v-else-if="name === 'list'" :path="mdiFormatListBulleted" size="1em" />
<SvgIcon v-else-if="name === 'heal'" :path="mdiBandage" size="1em" />
<SvgIcon v-else-if="name === 'turn-off'" :path="mdiPower" size="1em" />
<SvgIcon v-else-if="name === 'chevron-right'" :path="mdiChevronRight" size="1em" />
<SvgIcon v-else-if="name === 'close'" :path="mdiCloseCircleOutline" size="1em" />
<SvgIcon v-else-if="name === 'edit'" :path="mdiPencil" size="1em" />
<SvgIcon v-else-if="name === 'download'" :path="mdiDownloadCircle" size="1em" />
<SvgIcon v-else-if="name === 'stopwatch'" :path="mdiAlarm" size="1em" />
<SvgIcon v-else-if="name === 'auto-scroll'" :path="mdiDownload" size="1em" />
<SvgIcon v-else-if="name === 'auto-scroll-off'" :path="mdiDownloadOff" size="1em" />
<SvgIcon v-else-if="name === 'pause'" :path="mdiPause" size="1em" />
<SvgIcon v-else-if="name === 'play'" :path="mdiPlay" size="1em" />
<SvgIcon v-else-if="name === 'remove'" :path="mdiClose" size="1em" />
<SvgIcon v-else-if="name === 'question'" :path="mdiHelpCircleOutline" size="1rem" />
<SvgIcon v-else-if="name === 'plus'" :path="mdiPlus" size="1rem" />
<SvgIcon v-else-if="name === 'list'" :path="mdiFormatListBulleted" size="1rem" />
<SvgIcon v-else-if="name === 'heal'" :path="mdiBandage" size="1rem" />
<SvgIcon v-else-if="name === 'turn-off'" :path="mdiPower" size="1rem" />
<SvgIcon v-else-if="name === 'chevron-right'" :path="mdiChevronRight" size="1rem" />
<SvgIcon v-else-if="name === 'close'" :path="mdiCloseCircleOutline" size="1rem" />
<SvgIcon v-else-if="name === 'edit'" :path="mdiPencil" size="1rem" />
<SvgIcon v-else-if="name === 'download'" :path="mdiDownloadCircle" size="1rem" />
<SvgIcon v-else-if="name === 'stopwatch'" :path="mdiAlarm" size="1rem" />
<SvgIcon v-else-if="name === 'auto-scroll'" :path="mdiDownload" size="1rem" />
<SvgIcon v-else-if="name === 'auto-scroll-off'" :path="mdiDownloadOff" size="1rem" />
<SvgIcon v-else-if="name === 'pause'" :path="mdiPause" size="1rem" />
<SvgIcon v-else-if="name === 'play'" :path="mdiPlay" size="1rem" />
<SvgIcon v-else-if="name === 'remove'" :path="mdiClose" size="1rem" />
<SvgIcon v-else-if="name === 'visibility-private'" :path="mdiLockOutline" size="1em" />
<SvgIcon v-else-if="name === 'visibility-internal'" :path="mdiLockOpenOutline" size="1em" />
<SvgIcon v-else-if="name === 'visibility-private'" :path="mdiLockOutline" size="1rem" />
<SvgIcon v-else-if="name === 'visibility-internal'" :path="mdiLockOpenOutline" size="1rem" />
<SvgIcon v-else-if="name === 'forgejo'" :path="siForgejo.path" size="32" />
<SvgIcon v-else-if="name === 'gitea'" :path="siGitea.path" size="32" />

View file

@ -5,7 +5,7 @@
>
<Icon
:name="service ? 'settings' : `status-${status}`"
size="1em"
size="1rem"
:class="{
'text-wp-state-error-100': pipelineStatusColors[status] === 'red',
'text-wp-state-neutral-100': pipelineStatusColors[status] === 'gray',

View file

@ -11,7 +11,7 @@
<Container v-if="pipeline!.errors?.some((e) => !e.is_warning)" fill-width class="p-0">
<Panel>
<div class="flex flex-col items-center gap-4 text-center">
<Icon name="status-error" class="w-16 h-16 text-wp-state-error-100" size="1.5em" />
<Icon name="status-error" class="w-16 h-16 text-wp-state-error-100" size="1.5rem" />
<span class="text-xl">{{ $t('repo.pipeline.we_got_some_errors') }}</span>
<Button color="red" :text="$t('repo.pipeline.show_errors')" :to="{ name: 'repo-pipeline-errors' }" />
</div>
@ -21,7 +21,7 @@
<Container v-else-if="pipeline!.status === 'blocked'" fill-width class="p-0">
<Panel>
<div class="flex flex-col items-center gap-4">
<Icon name="status-blocked" size="1.5em" class="w-16 h-16" />
<Icon name="status-blocked" size="1.5rem" class="w-16 h-16" />
<span class="text-xl">{{ $t('repo.pipeline.protected.awaits') }}</span>
<div v-if="repoPermissions!.push" class="flex flex-wrap justify-center items-center gap-2">
<Button
@ -44,7 +44,7 @@
<Container v-else-if="pipeline!.status === 'declined'" fill-width class="p-0">
<Panel>
<div class="flex flex-col items-center gap-4">
<Icon name="status-declined" size="1.5em" class="w-16 h-16 text-wp-state-error-100" />
<Icon name="status-declined" size="1.5rem" class="w-16 h-16 text-wp-state-error-100" />
<p class="text-xl">{{ $t('repo.pipeline.protected.declined') }}</p>
</div>
</Panel>