mirror of
https://github.com/google/pebble.git
synced 2025-04-01 15:24:04 +00:00
60 lines
No EOL
947 B
SCSS
Executable file
60 lines
No EOL
947 B
SCSS
Executable file
/*
|
|
jQuery.mmenu widescreen extension CSS
|
|
|
|
To use on widescreens only, include it using a mediaquery:
|
|
<link type="text/css" href="mmenu-widescreen.css" media="all and (min-width: 900px)"/>
|
|
*/
|
|
|
|
@import "../inc/variables";
|
|
|
|
$mm_ws_menuWidth: 0.3 !default;
|
|
|
|
|
|
// Positioning and sizing
|
|
html, body
|
|
{
|
|
overflow: auto;
|
|
}
|
|
body
|
|
{
|
|
padding-left: percentage( $mm_ws_menuWidth ) !important;
|
|
position: relative;
|
|
}
|
|
#mm-blocker
|
|
{
|
|
display: none !important;
|
|
}
|
|
.mm-page
|
|
{
|
|
box-shadow: none !important;
|
|
background: inherit;
|
|
|
|
box-sizing: border-box;
|
|
min-height: 100vh;
|
|
height: auto !important;
|
|
margin: 0 !important;
|
|
position: relative !important;
|
|
top: 0 !important;
|
|
z-index: 1;
|
|
}
|
|
.mm-menu
|
|
{
|
|
width: percentage( $mm_ws_menuWidth ) !important;
|
|
z-index: 0;
|
|
|
|
&.mm-top,
|
|
&.mm-right,
|
|
&.mm-bottom
|
|
{
|
|
top: 0 !important;
|
|
right: auto !important;
|
|
bottom: auto !important;
|
|
left: 0 !important;
|
|
}
|
|
|
|
&:first-child,
|
|
&.mm-current
|
|
{
|
|
display: block;
|
|
}
|
|
} |