- {{ $t("forecast.modalTitle") }} -
-nothing to see here
-diff --git a/assets/css/app.css b/assets/css/app.css index 1507ccb13..142a5ab4a 100644 --- a/assets/css/app.css +++ b/assets/css/app.css @@ -91,6 +91,9 @@ --safe-area-inset-bottom: env(safe-area-inset-bottom, 0px); --safe-area-inset-left: env(safe-area-inset-left, 0px); --safe-area-inset-right: env(safe-area-inset-right, 0px); + + --tab-bar-height: 3rem; + --tab-bar-background: var(--evcc-background); } :root.dark { @@ -108,6 +111,7 @@ --bs-border-color-translucent: rgba(255, 255, 255, 0.175); --bs-code-color: var(--evcc-dark-green); --evcc-backdrop: #000000aa; /* black + transparent */ + --tab-bar-background: var(--evcc-box); color-scheme: dark; } @@ -362,7 +366,7 @@ a:hover { background-color: var(--bs-gray-dark) !important; } -@media screen and (min-width: 400px) and (max-width: 574px) { +@media screen and (--xs-to-sm) { .d-xs-none { display: none !important; } @@ -478,6 +482,13 @@ small { filter: invert(1); } +.circle-badge { + display: inline-block; + width: 12px; + height: 12px; + border-radius: 50%; +} + .dropdown-menu { border: none; border-radius: 10px; diff --git a/assets/css/breakpoints.css b/assets/css/breakpoints.css index 5081a9385..80ba53869 100644 --- a/assets/css/breakpoints.css +++ b/assets/css/breakpoints.css @@ -1,9 +1,16 @@ /* Bootstrap Breakpoints as Custom Media Queries */ +@custom-media --xs-and-up (min-width: 400px); @custom-media --sm-and-up (min-width: 576px); @custom-media --md-and-up (min-width: 768px); @custom-media --lg-and-up (min-width: 992px); @custom-media --xl-and-up (min-width: 1200px); @custom-media --xxl-and-up (min-width: 1400px); +/* Range Breakpoints */ +@custom-media --xs-to-sm (min-width: 400px) and (max-width: 575.98px); +@custom-media --sm-to-md (min-width: 576px) and (max-width: 767.98px); +@custom-media --sm-to-lg (min-width: 576px) and (max-width: 991.98px); +@custom-media --md-to-lg (min-width: 768px) and (max-width: 991.98px); + @custom-media --light-mode (prefers-color-scheme: light); @custom-media --dark-mode (prefers-color-scheme: dark); diff --git a/assets/js/components/AboutModal.stories.ts b/assets/js/components/AboutModal.stories.ts new file mode 100644 index 000000000..3a9eac6ee --- /dev/null +++ b/assets/js/components/AboutModal.stories.ts @@ -0,0 +1,106 @@ +import AboutModal from "./AboutModal.vue"; +import type { Meta, StoryFn } from "@storybook/vue3"; + +const releaseNotes = ` +
this.updatePlanPreviewDebounced is null{{ $t("footer.version.modalUpdateStarted") }}
+{{ updateStatus }} {{ uploadMessage }}
+| {{ $t("footer.version.labelVersion") }} | +--- | +
+
+
+
+ v{{ installed }}
+
+
+ ({{
+ shortCommit
+ }})
+
+
+ {{ $t("footer.version.latestVersion") }}
+ {{
+ $t("footer.version.availableLong")
+ }}
+
+ |
+
|---|---|---|
| {{ $t("footer.version.labelRelease") }} | +{{ releaseName }} | +|
| {{ $t("footer.version.labelWebsite") }} | ++ + {{ websiteDomain }} + + | +
+ {{ $t("footer.version.modalNoReleaseNotes") }} + GitHub. +
+ + + + + + + + +
+
- {{ $t("batterySettings.batteryLevel") }}: - {{ fmtSoc(batterySoc) }} - - {{ line }} - -
-
-
-
-
+ {{ $t("batterySettings.batteryLevel") }}: + {{ fmtSoc(batterySoc) }} + + {{ line }} + +
+
+
+
+