mirror of
https://github.com/Lissy93/dashy.git
synced 2025-07-24 22:25:16 +02:00
💄 Minor style improvments
This commit is contained in:
parent
31da34386a
commit
be7369f206
@ -75,6 +75,10 @@ div.css-editor-outer {
|
|||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
|
||||||
|
div.css-wrapper {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
}
|
||||||
h2.css-input-title {
|
h2.css-input-title {
|
||||||
margin: 0.5rem 0 0.2rem;
|
margin: 0.5rem 0 0.2rem;
|
||||||
}
|
}
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<nav class="side-bar">
|
<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">
|
<div @click="openSection(index)" class="side-bar-item-container">
|
||||||
<SideBarItem
|
<SideBarItem
|
||||||
class="item"
|
class="item"
|
||||||
|
@ -915,6 +915,38 @@ html[data-theme="dashy-docs"] {
|
|||||||
@include make-colors(#dcff5a, #ceb73f);
|
@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
|
// 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(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(2n) { .item-wrapper:hover { .item { box-shadow: 0 2px 3px #5c85f7; .tile-title { color: #5c85f7; } } } }
|
||||||
@ -922,6 +954,19 @@ html[data-theme="dashy-docs"] {
|
|||||||
div.collapsable:nth-child(4n) { .item-wrapper:hover { .item { box-shadow: 0 2px 3px #dcff5a; .tile-title { color: #dcff5a; } } } }
|
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 {
|
a.nav-item, a.nav-item:hover, a.nav-item.router-link-active {
|
||||||
border: none;
|
border: none;
|
||||||
color: var(--background);
|
color: var(--background);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user