diff options
Diffstat (limited to 'client/src/sass/application.scss')
-rw-r--r-- | client/src/sass/application.scss | 38 |
1 files changed, 36 insertions, 2 deletions
diff --git a/client/src/sass/application.scss b/client/src/sass/application.scss index ab0bf0a08..f54fecda8 100644 --- a/client/src/sass/application.scss +++ b/client/src/sass/application.scss | |||
@@ -267,7 +267,7 @@ table { | |||
267 | top: #{-($header-height + 20px)}; | 267 | top: #{-($header-height + 20px)}; |
268 | } | 268 | } |
269 | 269 | ||
270 | @media screen and (max-width: #{map-get($grid-breakpoints, xxl)}) { | 270 | @media screen and (max-width: #{breakpoint(xxl)}) { |
271 | .main-col { | 271 | .main-col { |
272 | &.expanded { | 272 | &.expanded { |
273 | .margin-content { | 273 | .margin-content { |
@@ -278,7 +278,7 @@ table { | |||
278 | } | 278 | } |
279 | } | 279 | } |
280 | 280 | ||
281 | @media screen and (max-width: #{map-get($grid-breakpoints, lg)}) { | 281 | @media screen and (max-width: #{breakpoint(lg)}) { |
282 | /* the following applies from 500px to 900px and is partially overriden from 500px to 800px by changes below to $small-view */ | 282 | /* the following applies from 500px to 900px and is partially overriden from 500px to 800px by changes below to $small-view */ |
283 | .main-col { | 283 | .main-col { |
284 | &, &.expanded { | 284 | &, &.expanded { |
@@ -343,6 +343,40 @@ table { | |||
343 | } | 343 | } |
344 | } | 344 | } |
345 | 345 | ||
346 | // overflow-databale responsive rules | ||
347 | @media screen and (max-width: #{breakpoint(xxl)}) { | ||
348 | .main-col { | ||
349 | &.expanded { | ||
350 | @include overflow-datatable(breakpoint(lg), $expanded-horizontal-margins/2); | ||
351 | } | ||
352 | |||
353 | &:not(.expanded) { | ||
354 | @include overflow-datatable(breakpoint(lg), $not-expanded-horizontal-margins + $menu-width/2); | ||
355 | } | ||
356 | } | ||
357 | } | ||
358 | |||
359 | @media screen and (max-width: #{breakpoint(lg)}) { | ||
360 | .main-col { | ||
361 | &.expanded { | ||
362 | @include overflow-datatable(breakpoint(lg), $expanded-horizontal-margins/3); | ||
363 | } | ||
364 | |||
365 | &:not(.expanded) { | ||
366 | @include overflow-datatable(breakpoint(lg), $not-expanded-horizontal-margins + $menu-width/2); | ||
367 | } | ||
368 | } | ||
369 | } | ||
370 | |||
371 | @media screen and (max-width: $small-view) { | ||
372 | .main-col { | ||
373 | &:not(.expanded), | ||
374 | &.expanded { | ||
375 | @include overflow-datatable(breakpoint(lg), 15px); | ||
376 | } | ||
377 | } | ||
378 | } | ||
379 | |||
346 | @media screen and (min-width: $small-view) and (max-width: #{$small-view + $menu-width}) { | 380 | @media screen and (min-width: $small-view) and (max-width: #{$small-view + $menu-width}) { |
347 | .main-col { | 381 | .main-col { |
348 | &:not(.expanded) { | 382 | &:not(.expanded) { |