mirror of
https://github.com/Spythere/stacjownik.git
synced 2026-05-03 13:28:11 +00:00
chore(app): improved update card appearance
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
<template>
|
<template>
|
||||||
<Card :is-open="isUpdateCardOpen" @toggle-card="toggleCard(false)">
|
<Card :is-open="isUpdateCardOpen" @toggle-card="toggleCard(false)">
|
||||||
<div class="content" tabindex="0" ref="content">
|
<div class="content" tabindex="0" ref="content">
|
||||||
<h1 style="margin-bottom: 0.5em">🚀 {{ $t('update.title') }}</h1>
|
<h1 class="content-title"><i class="fa-solid fa-wand-sparkles"></i> {{ $t('update.title') }}</h1>
|
||||||
|
|
||||||
<div class="features-body" v-if="htmlChangelog != ''" v-html="htmlChangelog"></div>
|
<div class="features-body" v-if="htmlChangelog != ''" v-html="htmlChangelog"></div>
|
||||||
<div class="no-features" v-else>{{ $t('update.no-data') }}</div>
|
<div class="no-features" v-else>{{ $t('update.no-data') }}</div>
|
||||||
@@ -16,7 +16,7 @@
|
|||||||
|
|
||||||
<i18n-t keypath="update.info-2">
|
<i18n-t keypath="update.info-2">
|
||||||
<template v-slot:link>
|
<template v-slot:link>
|
||||||
<a href="https://github.com/Spythere/stacjownik" target="_blank">{{
|
<a href="https://github.com/Spythere/stacjownik/releases" target="_blank">{{
|
||||||
$t('update.info-2-link-text')
|
$t('update.info-2-link-text')
|
||||||
}}</a>
|
}}</a>
|
||||||
</template>
|
</template>
|
||||||
@@ -86,18 +86,13 @@ export default defineComponent({
|
|||||||
}
|
}
|
||||||
|
|
||||||
::v-deep(h2) {
|
::v-deep(h2) {
|
||||||
margin-top: 1em;
|
|
||||||
padding: 0.5em 0;
|
padding: 0.5em 0;
|
||||||
border-bottom: 1px solid #aaa;
|
border-bottom: 1px solid #aaa;
|
||||||
}
|
}
|
||||||
|
|
||||||
::v-deep(h3) {
|
|
||||||
padding: 0.5em 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
::v-deep(ul) {
|
::v-deep(ul) {
|
||||||
list-style: disc;
|
list-style: disc;
|
||||||
padding: 0 1.5em;
|
padding: 0.5em 1.5em;
|
||||||
line-height: 1.5em;
|
line-height: 1.5em;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -112,6 +107,19 @@ export default defineComponent({
|
|||||||
max-width: 700px;
|
max-width: 700px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.content-title {
|
||||||
|
color: var(--clr-primary);
|
||||||
|
color: transparent;
|
||||||
|
|
||||||
|
background: var(--clr-primary);
|
||||||
|
background: linear-gradient(90deg, var(--clr-primary) 30%, #ffffff 90%);
|
||||||
|
background-clip: text;
|
||||||
|
-webkit-background-clip: text;
|
||||||
|
-webkit-text-fill-color: transparent;
|
||||||
|
|
||||||
|
text-shadow: var(--clr-primary) 0 0 10px;
|
||||||
|
}
|
||||||
|
|
||||||
.no-features {
|
.no-features {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-1
@@ -65,7 +65,7 @@
|
|||||||
"refresh": "REFRESH"
|
"refresh": "REFRESH"
|
||||||
},
|
},
|
||||||
"update": {
|
"update": {
|
||||||
"title": "Stacjownik update!",
|
"title": "Stacjownik has been updated!",
|
||||||
"confirm": "ROGER THAT!",
|
"confirm": "ROGER THAT!",
|
||||||
"no-data": "No data about the latest app update has been found",
|
"no-data": "No data about the latest app update has been found",
|
||||||
"info-1": "This changelog will be available to see once again after clicking the version number in the footer",
|
"info-1": "This changelog will be available to see once again after clicking the version number in the footer",
|
||||||
|
|||||||
+1
-1
@@ -64,7 +64,7 @@
|
|||||||
"refresh": "ODŚWIEŻ"
|
"refresh": "ODŚWIEŻ"
|
||||||
},
|
},
|
||||||
"update": {
|
"update": {
|
||||||
"title": "Aktualizacja Stacjownika!",
|
"title": "Stacjownik został zaktualizowany!",
|
||||||
"confirm": "PRZYJĄŁEM!",
|
"confirm": "PRZYJĄŁEM!",
|
||||||
"no-data": "Nie znaleziono informacji o ostatnich zmianach w aplikacji",
|
"no-data": "Nie znaleziono informacji o ostatnich zmianach w aplikacji",
|
||||||
"info-1": "Ten changelog będzie zawsze dostępny po kliknięciu numeru wersji w stopce strony",
|
"info-1": "Ten changelog będzie zawsze dostępny po kliknięciu numeru wersji w stopce strony",
|
||||||
|
|||||||
Reference in New Issue
Block a user