mirror of
https://github.com/kemko/nomad.git
synced 2026-01-03 17:05:43 +03:00
Hide the gutter menu at low width resolutions
This commit is contained in:
@@ -31,10 +31,27 @@
|
||||
bottom: 0;
|
||||
top: $header-height;
|
||||
z-index: $z-gutter;
|
||||
background: $white;
|
||||
}
|
||||
|
||||
&.is-right {
|
||||
margin-left: $gutter-width;
|
||||
overflow-x: auto;
|
||||
}
|
||||
|
||||
@media #{$mq-hidden-gutter} {
|
||||
&.is-left {
|
||||
top: 0;
|
||||
left: -$gutter-width;
|
||||
|
||||
&.is-open {
|
||||
left: 0;
|
||||
}
|
||||
}
|
||||
|
||||
&.is-right {
|
||||
margin-left: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -79,6 +79,10 @@
|
||||
|
||||
&.is-gutter {
|
||||
width: $gutter-width;
|
||||
|
||||
@media #{$mq-hidden-gutter} {
|
||||
width: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -42,5 +42,9 @@
|
||||
+ * {
|
||||
margin-top: 5em;
|
||||
}
|
||||
|
||||
@media #{$mq-hidden-gutter} {
|
||||
left: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -39,3 +39,5 @@ $breadcrumb-item-color: $white;
|
||||
$breadcrumb-item-hover-color: $white;
|
||||
$breadcrumb-item-active-color: $white;
|
||||
$breadcrumb-item-separator-color: $primary;
|
||||
|
||||
$mq-hidden-gutter: 'only screen and (max-width : 960px)';
|
||||
|
||||
Reference in New Issue
Block a user