File tree 3 files changed +13
-48
lines changed
3 files changed +13
-48
lines changed Original file line number Diff line number Diff line change @@ -227,9 +227,9 @@ Files: core/img/appstore.svg
227
227
Copyright: 2024 Apple Inc.
228
228
License: LicenseRef-AppleAppStoreBadge
229
229
230
- Files: apps/weather_status/img/cloud-cloud.svg apps/weather_status/img/cloud-dots.svg apps/weather_status/img/cross.svg apps/weather_status/img/drop.svg apps/weather_status/img/fog.svg apps/weather_status/img/half-sun.svg apps/weather_status/img/heavy-rain.svg apps/weather_status/img/light-rain.svg apps/weather_status/img/moon-cloud-heavy-rain.svg apps/weather_status/img/moon-cloud-light-rain.svg apps/weather_status/img/moon-cloud-rain.svg apps/weather_status/img/moon-cloud.svg apps/weather_status/img/moon-small-cloud.svg apps/weather_status/img/moon.svg apps/weather_status/img/rain.svg apps/weather_status/img/snow.svg apps/weather_status/img/sun-cloud-heavy-rain.svg apps/weather_status/img/sun-cloud-light-rain.svg apps/weather_status/img/sun-cloud-rain.svg apps/weather_status/img/sun-cloud.svg apps/weather_status/img/sun-small-cloud.svg apps/weather_status/img/sun.svg apps/weather_status/img/thunder.svg apps/weather_status/img/umbrella .svg
231
- Copyright: 2024 Designed by Freepik, titusurya <https://www.freepik. com/author/titusurya> at <https://www.freepik.com/free-vector/coloured-weather-icons-collection_895655.htm >
232
- License: LicenseRef-freepikLicense
230
+ Files: apps/weather_status/img/met.no.icons/* .svg
231
+ Copyright: 2015-2017 NRK og Meteorologisk institutt <https://github. com/metno/weathericons >
232
+ License: MIT
233
233
234
234
Files: core/img/f-droid.svg
235
235
Copyright: 2016 Andrew Nayenko <
[email protected] >
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11
11
:menu-name="currentWeatherMessage">
12
12
<template #icon>
13
13
<NcLoadingIcon v-if="loading" />
14
- <img v-else :src="weatherIconUrl" class="weather-image" alt="t('weather_status', 'Weather icon')">
14
+ <img v-else
15
+ :src="weatherIconUrl"
16
+ alt=""
17
+ class="weather-image">
15
18
</template>
16
19
<NcActionText v-if="gotWeather"
17
20
:aria-hidden="true">
18
21
<template #icon>
19
22
<NcLoadingIcon v-if="loading" />
20
23
<div v-else class="weather-action-image-container">
21
- <img :src="futureWeatherIconUrl" class="weather-image" alt="t('weather_status', 'Future weather icon')">
24
+ <img :src="futureWeatherIconUrl"
25
+ alt=""
26
+ class="weather-image">
22
27
</div>
23
28
</template>
24
29
{{ forecastMessage }}
47
52
{{ addRemoveFavoriteText }}
48
53
</NcActionButton>
49
54
<NcActionSeparator v-if="address && !errorMessage" />
50
- <NcActionButton
51
- :close-after-click="true"
55
+ <NcActionButton :close-after-click="true"
52
56
:aria-hidden="true"
53
57
@click="onBrowserLocationClick">
54
58
<template #icon>
76
80
<NcIconSvgWrapper name="Star"
77
81
:svg="starSvg"
78
82
:size="20"
79
- class="favorite-color" />
83
+ : class="{' favorite-color': address === favorite} " />
80
84
</template>
81
85
{{ favorite }}
82
86
</NcActionButton>
@@ -567,7 +571,7 @@ export default {
567
571
justify-content: center;
568
572
}
569
573
.weather-image {
570
- width: 28px ;
574
+ width: calc(var(--default-clickable-area) - 2 * var(--default-grid-baseline)) ;
571
575
}
572
576
573
577
// Set color to primary element for current / active favorite address
You can’t perform that action at this time.
0 commit comments