Skip to content
Snippets Groups Projects
Commit 522869d7 authored by Claas Kazzer's avatar Claas Kazzer 💬 Committed by Robert Lange
Browse files

refs #22929 [finc] adds variable for bottom border of fixed headers

parent d908d933
No related merge requests found
......@@ -663,6 +663,9 @@ $navbar-bg-color-xs: $navbar-default-toggle-hover-bg !default;
$navbar-xs-openend-margin-bottom: 1rem !default;
$navbar-fixed-bg-color: $header-bg-color !default;
// Bootstrap theme gives '.navbar-fixed-top' and '.navbar-fixed-bottom' a top or bottom border of 1px:
// set this variable in your theme according to your preferences
$navbar-fixed-top-border-bottom-width: 0 !default;
// Header, navbar and breadcrumbs default margin for centered design - change here for full width
$header-navbar-breadcrumbs-margin: 0 auto !default;
......
......@@ -54,6 +54,9 @@ header,
// Keep navbar on left, when off-canvas is active, and give it the same appearance as ever
// the '.active' class is set on body when the user hits the button to display the sidebar
.navbar-fixed-top {
border-bottom: $navbar-fixed-top-border-bottom-width;
.offcanvas.active & {
margin-top: -$navbar-height-xs;
position: relative;
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment