Change border and color of active markdown tab

This commit is contained in:
aron bergur jóhannsson 2023-03-01 23:02:56 +00:00
parent 3f641122d4
commit ca06acf9da
4 changed files with 22 additions and 7 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -236,12 +236,12 @@ table {
} }
th.asc > a::after { th.asc > a::after {
content: "\f0140"; content: '\f0140';
font-family: 'Material Design Icons'; font-family: 'Material Design Icons';
} }
th.desc > a::after { th.desc > a::after {
content: "\f0143"; content: '\f0143';
font-family: 'Material Design Icons'; font-family: 'Material Design Icons';
} }
@ -419,7 +419,7 @@ nav.search {
// Styles for the quicksearch and its clear button; // Styles for the quicksearch and its clear button;
// Overrides input-group styles and adds transition effects // Overrides input-group styles and adds transition effects
.quicksearch { .quicksearch {
input[type="search"] { input[type='search'] {
border-radius: $border-radius !important; border-radius: $border-radius !important;
} }
@ -998,9 +998,24 @@ div.card-overlay {
padding: 8px; padding: 8px;
} }
/* Markdown widget */
.markdown-preview {
.nav-link {
border-bottom: 0;
&.active {
background-color: var(--nbx-body-bg) !important;
}
}
.nav-link.active {
// background-color: var(--nbx-body-bg) !important;
background-color: blueviolet;
}
}
// Preformatted text blocks // Preformatted text blocks
td pre { td pre {
margin-bottom: 0 margin-bottom: 0;
} }
pre.block { pre.block {
padding: $spacer; padding: $spacer;