2
0

_grid.legacy.scss 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. .wrapper {
  2. @include clearfix();
  3. @apply w-transition-sidebar;
  4. height: 100vh;
  5. @include media-breakpoint-up(sm) {
  6. transform: none;
  7. padding-inline-start: $menu-width;
  8. .sidebar-collapsed & {
  9. padding-inline-start: $menu-width-slim;
  10. }
  11. }
  12. }
  13. .content-wrapper {
  14. box-sizing: border-box;
  15. width: 100%;
  16. height: 100%; // this has no effect on desktop, but on mobile it helps aesthetics of menu popout action
  17. float: left;
  18. position: relative;
  19. background-color: $color-grey-4;
  20. border-bottom: 1px solid $color-grey-3;
  21. }
  22. .content {
  23. @include row();
  24. background: $color-white;
  25. border-top: 0 solid $color-grey-5; // this top border provides space for the floating logo to toggle the menu
  26. min-height: 100%;
  27. position: relative; // yuk. necessary for positions for jquery ui widgets
  28. @include media-breakpoint-up(sm) {
  29. padding-bottom: 4em;
  30. }
  31. }
  32. @include media-breakpoint-up(sm) {
  33. .content {
  34. border-top: 0;
  35. background-color: none;
  36. padding-top: 0;
  37. }
  38. }
  39. .row {
  40. @include clearfix();
  41. }
  42. @include media-breakpoint-up(sm) {
  43. .col1 {
  44. @include column(1);
  45. }
  46. .col2 {
  47. @include column(2);
  48. }
  49. .col3 {
  50. @include column(3);
  51. }
  52. .col4 {
  53. @include column(4);
  54. }
  55. .col5 {
  56. @include column(5);
  57. }
  58. .col6 {
  59. @include column(6);
  60. }
  61. .col7 {
  62. @include column(7);
  63. }
  64. .col8 {
  65. @include column(8);
  66. }
  67. .col9 {
  68. @include column(9);
  69. }
  70. .col10 {
  71. @include column(10);
  72. }
  73. .col11 {
  74. @include column(11);
  75. }
  76. .col12 {
  77. @include column(12);
  78. }
  79. .row {
  80. @include row();
  81. }
  82. .row-flush {
  83. @include row-flush();
  84. }
  85. }