mirror of https://github.com/Lissy93/dashy.git
Merge pull request #40 from Lissy93/bug-fix_39-statuscheck-visibility
[BUG-FIX] Status check tooltip visibility, Re: #39
This commit is contained in:
commit
3d37ec6444
|
@ -116,6 +116,8 @@ You can target specific elements on the UI with these variables. All are optiona
|
||||||
- `--welcome-popup-text-color` - Text color for the welcome pop-up. Defaults to `--primary`
|
- `--welcome-popup-text-color` - Text color for the welcome pop-up. Defaults to `--primary`
|
||||||
- `--side-bar-background` - Background color of the sidebar used in the workspace view. Defaults to `--background-darker`
|
- `--side-bar-background` - Background color of the sidebar used in the workspace view. Defaults to `--background-darker`
|
||||||
- `--side-bar-color` - Color of icons and text within the sidebar. Defaults to `--primary`
|
- `--side-bar-color` - Color of icons and text within the sidebar. Defaults to `--primary`
|
||||||
|
- `--status-check-tooltip-background` - Background color for status check tooltips. Defaults to `--background-darker`
|
||||||
|
- `--status-check-tooltip-color` - Text color for the status check tooltips. Defaults to `--primary`
|
||||||
|
|
||||||
#### Non-Color Variables
|
#### Non-Color Variables
|
||||||
- `--outline-color` - Used to outline focused or selected elements
|
- `--outline-color` - Used to outline focused or selected elements
|
||||||
|
|
|
@ -101,6 +101,7 @@ export default {
|
||||||
html: false,
|
html: false,
|
||||||
placement: this.statusResponse ? 'left' : 'auto',
|
placement: this.statusResponse ? 'left' : 'auto',
|
||||||
delay: { show: 600, hide: 200 },
|
delay: { show: 600, hide: 200 },
|
||||||
|
classes: 'item-description-tooltip',
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
/* Used by certain themes, which display an icon with animated CSS */
|
/* Used by certain themes, which display an icon with animated CSS */
|
||||||
|
|
|
@ -112,7 +112,8 @@ export default {
|
||||||
|
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
.status-tooltip {
|
.status-tooltip {
|
||||||
background: var(--background-darker) !important;
|
background: var(--status-check-tooltip-background) !important;
|
||||||
|
color: var(--status-check-tooltip-color) !important;
|
||||||
font-size: 1rem;
|
font-size: 1rem;
|
||||||
z-index: 10;
|
z-index: 10;
|
||||||
&.tip-green { border: 1px solid var(--success); }
|
&.tip-green { border: 1px solid var(--success); }
|
||||||
|
|
|
@ -74,4 +74,6 @@
|
||||||
--side-bar-background: var(--background-darker);
|
--side-bar-background: var(--background-darker);
|
||||||
--side-bar-background-lighter: var(--background);
|
--side-bar-background-lighter: var(--background);
|
||||||
--side-bar-color: var(--primary);
|
--side-bar-color: var(--primary);
|
||||||
|
--status-check-tooltip-background: var(--background-darker);
|
||||||
|
--status-check-tooltip-color: var(--primary);
|
||||||
}
|
}
|
||||||
|
|
|
@ -175,6 +175,8 @@ html[data-theme='material-original'] {
|
||||||
--config-settings-background: #01579b;
|
--config-settings-background: #01579b;
|
||||||
--config-settings-color: #fff;
|
--config-settings-color: #fff;
|
||||||
--heading-text-color: #fff;
|
--heading-text-color: #fff;
|
||||||
|
--status-check-tooltip-background: #f2f2f2;
|
||||||
|
--status-check-tooltip-color: #01579b;
|
||||||
}
|
}
|
||||||
|
|
||||||
html[data-theme='material-dark-original'] {
|
html[data-theme='material-dark-original'] {
|
||||||
|
@ -208,6 +210,8 @@ html[data-theme='material-dark-original'] {
|
||||||
--config-settings-color: #41e2ed;
|
--config-settings-color: #41e2ed;
|
||||||
--scroll-bar-color: #08B0BB;
|
--scroll-bar-color: #08B0BB;
|
||||||
--scroll-bar-background: #131a1f;
|
--scroll-bar-background: #131a1f;
|
||||||
|
--status-check-tooltip-background: #131a1f;
|
||||||
|
--status-check-tooltip-color: #08B0BB;
|
||||||
&::-webkit-scrollbar-thumb {
|
&::-webkit-scrollbar-thumb {
|
||||||
border-left: 1px solid #131a1f;
|
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;
|
display: none !important;
|
||||||
}
|
}
|
||||||
.orientation-horizontal {
|
.orientation-horizontal {
|
||||||
|
@ -498,6 +502,8 @@ html[data-theme='material-dark'] {
|
||||||
--config-settings-color: #41e2ed;
|
--config-settings-color: #41e2ed;
|
||||||
--scroll-bar-color: #08B0BB;
|
--scroll-bar-color: #08B0BB;
|
||||||
--scroll-bar-background: #131a1f;
|
--scroll-bar-background: #131a1f;
|
||||||
|
--status-check-tooltip-color: #131a1f;
|
||||||
|
|
||||||
&::-webkit-scrollbar-thumb {
|
&::-webkit-scrollbar-thumb {
|
||||||
border-left: 1px solid #131a1f;
|
border-left: 1px solid #131a1f;
|
||||||
}
|
}
|
||||||
|
@ -527,6 +533,8 @@ html[data-theme='minimal-light'] {
|
||||||
--search-container-background: #fff;
|
--search-container-background: #fff;
|
||||||
--curve-factor: 4px;
|
--curve-factor: 4px;
|
||||||
--curve-factor-navbar: 8px;
|
--curve-factor-navbar: 8px;
|
||||||
|
--status-check-tooltip-background: #f2f2f2;
|
||||||
|
--status-check-tooltip-color: #000;
|
||||||
|
|
||||||
section.filter-container {
|
section.filter-container {
|
||||||
background: #fff;
|
background: #fff;
|
||||||
|
|
Loading…
Reference in New Issue