Advertisement
Guest User

Important CSS

a guest
Jul 22nd, 2021
294
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 1.71 KB | None | 0 0
  1. .settings-menu
  2. {
  3.   display: flex;
  4.   flex-direction: column;
  5.   flex-basis: 0;
  6.   flex-grow: 1;
  7.   white-space: nowrap;
  8.   max-width: calc(100vw - #{$grid-gutter-width} * 2);
  9.  
  10.   padding: $menu-padding;
  11.  
  12.   h2, h3, h4
  13.   {
  14.     width: 100%;
  15.     position: relative;
  16.     margin-bottom: $menu-padding;
  17.   }
  18.  
  19.   @include media-breakpoint-down(sm)
  20.   {
  21.     flex-basis: 100%;
  22.     min-width: 0;
  23.   }
  24.  
  25.   @include media-breakpoint-up(md)
  26.   {
  27.     flex-basis: 50%;
  28.   }
  29.  
  30.   @include media-breakpoint-up(lg)
  31.   {
  32.     flex-basis: 33%;
  33.   }
  34. }
  35.  
  36. .menu-columns
  37. {
  38.   @extend .horizontal-scrollable;
  39.  
  40.   display: flex;
  41.   flex-direction: row;
  42.   flex-grow: 1;
  43.  
  44.   column-gap: $menu-padding * 2;
  45.   row-gap: $menu-padding * 2;
  46.  
  47.   .menu-contents
  48.   {
  49.     display: flex;
  50.     flex-direction: column;
  51.     flex-grow: 1;
  52.  
  53.     row-gap: $grid-gutter-width;
  54.   }
  55. }
  56.  
  57. .entire-controlgroup
  58. {
  59.   display: flex;
  60.   flex-direction: column;
  61.   flex-grow: 1;
  62.   min-width: 0;
  63.   align-items: stretch;
  64.  
  65.   row-gap: $grid-gutter-width;
  66.  
  67.   .controlgroup-wrapper
  68.   {
  69.     display: flex;
  70.     flex-direction: row;
  71.     flex-grow: 1;
  72.  
  73.     column-gap: $grid-gutter-width;
  74.     row-gap: $grid-gutter-width;
  75.  
  76.     .controlgroup-menus
  77.     {
  78.       @extend .horizontal-scrollable;
  79.  
  80.       scroll-behavior: smooth;
  81.       scroll-snap-type: x mandatory;
  82.  
  83.       display: flex;
  84.       flex-direction: row;
  85.       flex-grow: 1;
  86.  
  87.       column-gap: $grid-gutter-width;
  88.       row-gap: $grid-gutter-width;
  89.  
  90.       .settings-menu
  91.       {
  92.         max-width: unset;
  93.  
  94.         .menu-columns .menu-contents
  95.         {
  96.           scroll-snap-align: start;
  97.         }
  98.       }
  99.     }
  100.   }
  101.  
  102.   .settings-menu.controlgroup-complement
  103.   {
  104.     flex-basis: 20%;
  105.   }
  106. }
  107.  
  108.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement