_grid.legacy.scss 1.7 KB

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