_grid.legacy.scss 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  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. position: relative; // yuk. necessary for positions for jquery ui widgets
  21. @include media-breakpoint-up(sm) {
  22. padding-bottom: 4em;
  23. }
  24. }
  25. @include media-breakpoint-up(sm) {
  26. .content {
  27. border-top: 0;
  28. background-color: none;
  29. padding-top: 0;
  30. }
  31. }
  32. .row {
  33. @include clearfix();
  34. }
  35. @include media-breakpoint-up(sm) {
  36. .col1 {
  37. @include column(1);
  38. }
  39. .col2 {
  40. @include column(2);
  41. }
  42. .col3 {
  43. @include column(3);
  44. }
  45. .col4 {
  46. @include column(4);
  47. }
  48. .col5 {
  49. @include column(5);
  50. }
  51. .col6 {
  52. @include column(6);
  53. }
  54. .col7 {
  55. @include column(7);
  56. }
  57. .col8 {
  58. @include column(8);
  59. }
  60. .col9 {
  61. @include column(9);
  62. }
  63. .col10 {
  64. @include column(10);
  65. }
  66. .col11 {
  67. @include column(11);
  68. }
  69. .col12 {
  70. @include column(12);
  71. }
  72. .row {
  73. @include row();
  74. }
  75. .row-flush {
  76. @include row-flush();
  77. }
  78. }