summaryrefslogtreecommitdiff
path: root/templates/assets/bootstrap-material-design/scss/_navbar.scss
diff options
context:
space:
mode:
authorschneefux <schneefux+commit@schneefux.xyz>2017-03-22 19:19:26 +0100
committerschneefux <schneefux+commit@schneefux.xyz>2017-03-22 19:19:26 +0100
commitd42c8b528eb595101954f478e0024e3f079f6fbf (patch)
tree61a528cf94f1f6941f4683ae8736a4a0135c035e /templates/assets/bootstrap-material-design/scss/_navbar.scss
downloadminionlivesmatter-d42c8b528eb595101954f478e0024e3f079f6fbf.tar.gz
minionlivesmatter-d42c8b528eb595101954f478e0024e3f079f6fbf.zip
first implementation of fun stats site
Diffstat (limited to 'templates/assets/bootstrap-material-design/scss/_navbar.scss')
-rw-r--r--templates/assets/bootstrap-material-design/scss/_navbar.scss31
1 files changed, 31 insertions, 0 deletions
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;
+ }
+}