You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

89 lines
1.6 KiB

3 years ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. //
  2. // Layout
  3. // --------------------------------------------------
  4. // Main Structure
  5. #page-container {
  6. display: flex;
  7. flex-direction: column;
  8. margin: 0 auto;
  9. width: 100%;
  10. min-width: 320px;
  11. min-height: 100vh;
  12. }
  13. #page-overlay {
  14. position: fixed;
  15. top: 0;
  16. right: 0;
  17. bottom: 0;
  18. left: 0;
  19. content: "";
  20. background-color: rgba($black, .4);
  21. z-index: $zindex-page-overlay;
  22. opacity: 0;
  23. transition: opacity .25s ease-out;
  24. transform: translateY(-100%);
  25. @include media-breakpoint-up(lg) {
  26. .side-overlay-o.enable-page-overlay & {
  27. transform: translateY(0);
  28. opacity: 1;
  29. }
  30. }
  31. }
  32. #main-container {
  33. display: flex;
  34. flex-direction: column;
  35. flex: 1 0 auto;
  36. max-width: 100%;
  37. }
  38. #page-footer {
  39. display: flex;
  40. align-items: center;
  41. width: 100%;
  42. min-height: $footer-height;
  43. &.footer-static {
  44. display: block;
  45. min-height: auto;
  46. }
  47. }
  48. // Main Content
  49. .content {
  50. @include content-layout($space-mobile, $space-mobile);
  51. @include media-breakpoint-up(md) {
  52. @include content-layout($space-base, $space-base);
  53. }
  54. @include media-breakpoint-up(xl) {
  55. &.content-narrow { width: $space-narrow !important; }
  56. }
  57. &.content-boxed { max-width: $space-boxed !important; }
  58. &.content-top {
  59. padding-top: $header-height + $space-mobile;
  60. @include media-breakpoint-up(lg) {
  61. padding-top: $header-height + $space-base;
  62. }
  63. }
  64. }
  65. .content-section-top {
  66. padding-top: $header-height;
  67. }
  68. .content-max-width {
  69. max-width: $space-main-max-width;
  70. }
  71. // Side Content
  72. .content-side {
  73. @include content-layout($space-side, $space-side, hidden);
  74. }