Skip to content

armgit / dashy

Public Imported from GitHub
0

πŸš€ A self-hostable personal dashboard built for you. Includes status-checking, widgets, themes, icon packs, a UI editor and tons more!

:lipstick: Minor style improvments

Alicia Sykesbe7369f2060f
diff --git a/src/components/Configuration/CustomCss.vue b/src/components/Configuration/CustomCss.vue
index 8ffa02c9..c9f6fe5e 100644
--- a/src/components/Configuration/CustomCss.vue
+++ b/src/components/Configuration/CustomCss.vue
@@ -75,6 +75,10 @@ div.css-editor-outer {
display: flex;
flex-direction: column;
+ div.css-wrapper {
+ display: flex;
+ flex-direction: column;
+ }
h2.css-input-title {
margin: 0.5rem 0 0.2rem;
}
diff --git a/src/components/Workspace/SideBar.vue b/src/components/Workspace/SideBar.vue
index c85c6f9c..eb4e0779 100644
--- a/src/components/Workspace/SideBar.vue
+++ b/src/components/Workspace/SideBar.vue
@@ -1,6 +1,6 @@
<template>
<nav class="side-bar">
- <div v-for="(section, index) in sections" :key="index">
+ <div v-for="(section, index) in sections" :key="index" class="side-bar-section">
<div @click="openSection(index)" class="side-bar-item-container">
<SideBarItem
class="item"
diff --git a/src/styles/color-themes.scss b/src/styles/color-themes.scss
index 9171b192..690eab84 100644
--- a/src/styles/color-themes.scss
+++ b/src/styles/color-themes.scss
@@ -915,12 +915,57 @@ html[data-theme="dashy-docs"] {
@include make-colors(#dcff5a, #ceb73f);
}
+ nav.side-bar {
+ div div.side-bar-item-container div {
+ padding: 0.15rem 0;
+ color: var(--background);
+ }
+
+ div.side-bar-section:nth-child(1n) {
+ div.side-bar-item-container div.side-bar-item {
+ @include make-colors(#db78fc, #b83ddd);
+ }
+ .sub-side-bar { background: #b83ddd80; }
+ }
+ div.side-bar-section:nth-child(2n) {
+ div.side-bar-item-container div.side-bar-item {
+ @include make-colors(#5c85f7, #3d48dd);
+ }
+ .sub-side-bar { background: #3d48dd80; }
+ }
+ div.side-bar-section:nth-child(3n) {
+ div.side-bar-item-container div.side-bar-item {
+ @include make-colors(#41ef90, #1e9554);
+ }
+ .sub-side-bar { background: #1e955480; }
+ }
+ div.side-bar-section:nth-child(4n) {
+ div.side-bar-item-container div.side-bar-item {
+ @include make-colors(#dcff5a, #ceb73f);
+ }
+ .sub-side-bar { background: #ceb73f80; }
+ }
+ }
+
// Section items
div.collapsable:nth-child(1n) { .item-wrapper:hover { .item {box-shadow: 0 2px 3px #db78fc; .tile-title { color: #db78fc; } } } }
div.collapsable:nth-child(2n) { .item-wrapper:hover { .item { box-shadow: 0 2px 3px #5c85f7; .tile-title { color: #5c85f7; } } } }
div.collapsable:nth-child(3n) { .item-wrapper:hover { .item { box-shadow: 0 2px 3px #41ef90; .tile-title { color: #41ef90; } } } }
div.collapsable:nth-child(4n) { .item-wrapper:hover { .item { box-shadow: 0 2px 3px #dcff5a; .tile-title { color: #dcff5a; } } } }
+
+ div.config-buttons {
+ .config-button {
+ border: none;
+ color: var(--background);
+ font-weight: bold;
+ svg path { fill: var(--background); }
+ &:nth-child(1n) { @include make-colors(#db78fc, #b83ddd); }
+ &:nth-child(2n) { @include make-colors(#41ef90, #1e9554); }
+ &:nth-child(3n) { @include make-colors(#5c85f7, #3d48dd); }
+ &:nth-child(4n) { @include make-colors(#dcff5a, #ceb73f); }
+ }
+ }
a.nav-item, a.nav-item:hover, a.nav-item.router-link-active {
border: none;