_menu.scss 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. /**
  2. * Menus
  3. * --------------------------------------------------
  4. * Side panel structure
  5. */
  6. .menu {
  7. position: absolute;
  8. top: 0;
  9. bottom: 0;
  10. z-index: $z-index-menu;
  11. overflow: hidden;
  12. min-height: 100%;
  13. max-height: 100%;
  14. width: $menu-width;
  15. background-color: $menu-bg;
  16. .scroll-content {
  17. z-index: $z-index-menu-scroll-content;
  18. }
  19. .bar-header {
  20. z-index: $z-index-menu-bar-header;
  21. }
  22. }
  23. .menu-content {
  24. @include transform(none);
  25. box-shadow: $menu-side-shadow;
  26. }
  27. .menu-open .menu-content .pane,
  28. .menu-open .menu-content .scroll-content {
  29. pointer-events: none;
  30. }
  31. .menu-open .menu-content .scroll-content .scroll {
  32. pointer-events: none;
  33. }
  34. .menu-open .menu-content .scroll-content:not(.overflow-scroll) {
  35. overflow: hidden;
  36. }
  37. .grade-b .menu-content,
  38. .grade-c .menu-content {
  39. @include box-sizing(content-box);
  40. right: -1px;
  41. left: -1px;
  42. border-right: 1px solid #ccc;
  43. border-left: 1px solid #ccc;
  44. box-shadow: none;
  45. }
  46. .menu-left {
  47. left: 0;
  48. }
  49. .menu-right {
  50. right: 0;
  51. }
  52. .aside-open.aside-resizing .menu-right {
  53. display: none;
  54. }
  55. .menu-animated {
  56. @include transition-transform($menu-animation-speed ease);
  57. }