From ca06acf9da4d2e968f8980e2a5bbd940bb360629 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?aron=20bergur=20j=C3=B3hannsson?= Date: Wed, 1 Mar 2023 23:02:56 +0000 Subject: [PATCH] Change border and color of active markdown tab --- netbox/project-static/dist/netbox-dark.css | Bin 374883 -> 375170 bytes netbox/project-static/dist/netbox-light.css | Bin 232430 -> 232615 bytes netbox/project-static/dist/netbox-print.css | Bin 726343 -> 726960 bytes netbox/project-static/styles/netbox.scss | 29 +++++++++++++++----- 4 files changed, 22 insertions(+), 7 deletions(-) diff --git a/netbox/project-static/dist/netbox-dark.css b/netbox/project-static/dist/netbox-dark.css index 8b6b37a4cc545892c5ab1d46c60ebe75f8bc5a40..51bea53766516ea59105e0dfcc154f50e64742f6 100644 GIT binary patch delta 137 zcmaF-L9FSsSVIeA3sVbo3(FQ(?X60Bxrs&DDf#7jx&=k4Wtpkv3VL~oWx6?;dD+!T z`9&$IMbib`m~;iul}&%`$fP`d!x~mDj->pQO5LP%&FO|=%=-Lj#(~tSuv#PsMoFng L+ZT5-douw5I8HUb delta 21 dcmZ2JlkeShzJ?aY7N#xCOFFm5b}@S~0RUuJ2tEJ+ diff --git a/netbox/project-static/dist/netbox-print.css b/netbox/project-static/dist/netbox-print.css index f0220c0500b66f04fbdffb8e04f83bc86900c527..faf8a0438934adc386d8fbe499cfd237154929b2 100644 GIT binary patch delta 309 zcmX@UN@v4*orV_17N!>F7M2#)7Pc1l7LFFq7OpMa|9J)VaubWPQ}WC6bPI}7%Q92T zr+-||r6+(PI?<9v-w|C@K`$?{OgASpFS|M^zbGZONH;0Jq$EGr%Ahu*BsWI^({ROd z7QN{LiM(X9o_m|}g{evba*L0m4P7X!I%-n+fqLReC5-M7t!e)_Zl$2^T O`J;x&_W!)x9_#?R{ckn^ delta 37 tcmdn6Ug!8KorV_17N!>F7M2#)7Pc1l7LFFq7OpMa|9Q7(2ylC_0{{e*3|s&J diff --git a/netbox/project-static/styles/netbox.scss b/netbox/project-static/styles/netbox.scss index e486bc7db..17d8f9713 100644 --- a/netbox/project-static/styles/netbox.scss +++ b/netbox/project-static/styles/netbox.scss @@ -236,12 +236,12 @@ table { } th.asc > a::after { - content: "\f0140"; + content: '\f0140'; font-family: 'Material Design Icons'; } th.desc > a::after { - content: "\f0143"; + content: '\f0143'; font-family: 'Material Design Icons'; } @@ -416,18 +416,18 @@ 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 .quicksearch { - input[type="search"] { - border-radius: $border-radius !important; + input[type='search'] { + border-radius: $border-radius !important; } button { margin-left: -32px !important; z-index: 100 !important; outline: none !important; - border-radius: $border-radius !important; + border-radius: $border-radius !important; transition: visibility 0s, opacity 0.2s linear; } @@ -998,9 +998,24 @@ div.card-overlay { 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 td pre { - margin-bottom: 0 + margin-bottom: 0; } pre.block { padding: $spacer;