From d42c8b528eb595101954f478e0024e3f079f6fbf Mon Sep 17 00:00:00 2001 From: schneefux Date: Wed, 22 Mar 2017 19:19:26 +0100 Subject: first implementation of fun stats site --- .../bootstrap-material-design/scss/_navbar.scss | 31 ++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 templates/assets/bootstrap-material-design/scss/_navbar.scss (limited to 'templates/assets/bootstrap-material-design/scss/_navbar.scss') diff --git a/templates/assets/bootstrap-material-design/scss/_navbar.scss b/templates/assets/bootstrap-material-design/scss/_navbar.scss new file mode 100644 index 0000000..dfb01bc --- /dev/null +++ b/templates/assets/bootstrap-material-design/scss/_navbar.scss @@ -0,0 +1,31 @@ +.navbar { + z-index: 1; // required to make the shadow overlap the below content (need is visible in mobile drawer overlay) + border: 0; + border-radius: 0; + @include box-shadow($bmd-shadow-2dp); + + // give correct size to ripple container + .navbar-brand { + position: relative; + } + + // #853 start - https://github.com/twbs/bootstrap/pull/18976/files + @if $enable-flex { + display: flex; + flex-flow: row nowrap; + flex-shrink: 0; + align-items: center; + align-self: stretch; + + > * { + flex-shrink: 0; + } + } @else { + @include clearfix; + } + // #853 end - https://github.com/twbs/bootstrap/pull/18976/files + + > .container { + flex: 1; + } +} -- cgit v1.3.1