_grid.legacy.scss 1.7 KB

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