mirror of
https://github.com/speatzle/nfsense.git
synced 2025-05-11 19:08:20 +00:00
Moved some CSS to battle specificity issues
- Fixes sidebar button coloring/hover
This commit is contained in:
parent
bdbbae825a
commit
89933d4986
2 changed files with 11 additions and 12 deletions
|
@ -60,7 +60,12 @@ th svg {
|
||||||
button, .button {
|
button, .button {
|
||||||
background-color: var(--cl-bg-el);
|
background-color: var(--cl-bg-el);
|
||||||
}
|
}
|
||||||
.button:hover, button:hover, svg:hover {
|
/* Button Background Exception for Nav Menu */
|
||||||
|
.nav-body button,
|
||||||
|
.nav-body .button {
|
||||||
|
background-color: var(--cl-bg);
|
||||||
|
}
|
||||||
|
.button:hover, button:hover {
|
||||||
background-color: var(--cl-bg-hl);
|
background-color: var(--cl-bg-hl);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -69,6 +74,10 @@ input {
|
||||||
border: 1px solid var(--cl-fg);
|
border: 1px solid var(--cl-fg);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
table {
|
||||||
|
background-color: var(--cl-bg);
|
||||||
|
}
|
||||||
|
|
||||||
th {
|
th {
|
||||||
background-color: var(--cl-bg-el);
|
background-color: var(--cl-bg-el);
|
||||||
}
|
}
|
||||||
|
@ -76,13 +85,3 @@ th {
|
||||||
tbody tr:hover, th:hover {
|
tbody tr:hover, th:hover {
|
||||||
background-color: var(--cl-bg-hl);
|
background-color: var(--cl-bg-hl);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Button Background Exception for Nav Menu */
|
|
||||||
.nav-body > button, .button {
|
|
||||||
background-color: var(--cl-bg);
|
|
||||||
}
|
|
||||||
|
|
||||||
.nav-body > * > button, .nav-body > * > button > svg {
|
|
||||||
background-color: var(--cl-bg);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
|
@ -33,6 +33,6 @@ onMounted(async() => {
|
||||||
<PageHeader title="Forward Rules">
|
<PageHeader title="Forward Rules">
|
||||||
<button @click="loadRules">Load Rules</button>
|
<button @click="loadRules">Load Rules</button>
|
||||||
</PageHeader>
|
</PageHeader>
|
||||||
<NiceTable class="cl-p-3" :columns="columns" v-model:data="rules"/>
|
<NiceTable class="cl-secondary" :columns="columns" v-model:data="rules"/>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
Loading…
Add table
Reference in a new issue