_grid.legacy.scss 1.6 KB

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