π A self-hostable personal dashboard built for you. Includes status-checking, widgets, themes, icon packs, a UI editor and tons more!
Vue awesomedashboarddockerhomelabhomepagemitnodejsorganizationproductivitypwaself-hostedstartpagevue
Re: #39 - Adds specifc styles to fix status indicator tooltip
Alicia Sykesa3a84e5b493a
diff --git a/src/components/LinkItems/Item.vue b/src/components/LinkItems/Item.vueindex 53cb47fc..37c0733a 100644--- a/src/components/LinkItems/Item.vue+++ b/src/components/LinkItems/Item.vue@@ -101,6 +101,7 @@ export default {html: false,placement: this.statusResponse ? 'left' : 'auto',delay: { show: 600, hide: 200 },+ classes: 'item-description-tooltip',};},/* Used by certain themes, which display an icon with animated CSS */diff --git a/src/components/LinkItems/StatusIndicator.vue b/src/components/LinkItems/StatusIndicator.vueindex 6b1864dd..7775fa62 100644--- a/src/components/LinkItems/StatusIndicator.vue+++ b/src/components/LinkItems/StatusIndicator.vue@@ -112,7 +112,8 @@ export default {<style lang="scss">.status-tooltip {- background: var(--background-darker) !important;+ background: var(--status-check-tooltip-background) !important;+ color: var(--status-check-tooltip-color) !important;font-size: 1rem;z-index: 10;&.tip-green { border: 1px solid var(--success); }diff --git a/src/styles/color-themes.scss b/src/styles/color-themes.scssindex 5ba00582..990c296e 100644--- a/src/styles/color-themes.scss+++ b/src/styles/color-themes.scss@@ -175,6 +175,8 @@ html[data-theme='material-original'] {--config-settings-background: #01579b;--config-settings-color: #fff;--heading-text-color: #fff;+ --status-check-tooltip-background: #f2f2f2;+ --status-check-tooltip-color: #01579b;}html[data-theme='material-dark-original'] {@@ -208,6 +210,8 @@ html[data-theme='material-dark-original'] {--config-settings-color: #41e2ed;--scroll-bar-color: #08B0BB;--scroll-bar-background: #131a1f;+ --status-check-tooltip-background: #131a1f;+ --status-check-tooltip-color: #08B0BB;&::-webkit-scrollbar-thumb {border-left: 1px solid #131a1f;}@@ -331,7 +335,7 @@ html[data-theme='material'], html[data-theme='material-dark'] {}}}- .tooltip {+ .tooltip.item-description-tooltip {display: none !important;}.orientation-horizontal {@@ -498,6 +502,8 @@ html[data-theme='material-dark'] {--config-settings-color: #41e2ed;--scroll-bar-color: #08B0BB;--scroll-bar-background: #131a1f;+ --status-check-tooltip-color: #131a1f;+&::-webkit-scrollbar-thumb {border-left: 1px solid #131a1f;}@@ -527,6 +533,8 @@ html[data-theme='minimal-light'] {--search-container-background: #fff;--curve-factor: 4px;--curve-factor-navbar: 8px;+ --status-check-tooltip-background: #f2f2f2;+ --status-check-tooltip-color: #000;section.filter-container {background: #fff;