diff options
Diffstat (limited to 'client/src/sass/application.scss')
-rw-r--r-- | client/src/sass/application.scss | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/client/src/sass/application.scss b/client/src/sass/application.scss index c35574568..4964ec85e 100644 --- a/client/src/sass/application.scss +++ b/client/src/sass/application.scss | |||
@@ -58,6 +58,7 @@ body { | |||
58 | --activatedActionButtonColor: #{$activated-action-button-color}; | 58 | --activatedActionButtonColor: #{$activated-action-button-color}; |
59 | 59 | ||
60 | --horizontalMarginContent: #{$not-expanded-horizontal-margins}; | 60 | --horizontalMarginContent: #{$not-expanded-horizontal-margins}; |
61 | --videosHorizontalMarginContent: 6vw; | ||
61 | --mainColWidth: calc(100vw - #{$menu-width}); | 62 | --mainColWidth: calc(100vw - #{$menu-width}); |
62 | 63 | ||
63 | font-family: $main-fonts; | 64 | font-family: $main-fonts; |
@@ -332,8 +333,16 @@ ngx-loading-bar { | |||
332 | } | 333 | } |
333 | 334 | ||
334 | @media screen and (max-width: #{breakpoint(xxl)}) { | 335 | @media screen and (max-width: #{breakpoint(xxl)}) { |
335 | .main-col.expanded { | 336 | .main-col { |
336 | --horizontalMarginContent: #{$expanded-horizontal-margins/2}; | 337 | & { |
338 | --horizontalMarginContent: #{$not-expanded-horizontal-margins / 2}; | ||
339 | } | ||
340 | |||
341 | &.expanded { | ||
342 | --horizontalMarginContent: #{$expanded-horizontal-margins / 2}; | ||
343 | } | ||
344 | |||
345 | --videosHorizontalMarginContent: #{pvar(--horizontalMarginContent)}; | ||
337 | } | 346 | } |
338 | } | 347 | } |
339 | 348 | ||
@@ -341,7 +350,7 @@ ngx-loading-bar { | |||
341 | /* the following applies from 500px to 900px and is partially overriden from 500px to 800px by changes below to $small-view */ | 350 | /* the following applies from 500px to 900px and is partially overriden from 500px to 800px by changes below to $small-view */ |
342 | .main-col, | 351 | .main-col, |
343 | .main-col.expanded { | 352 | .main-col.expanded { |
344 | --horizontalMarginContent: #{$expanded-horizontal-margins/3}; | 353 | --horizontalMarginContent: #{$expanded-horizontal-margins / 3}; |
345 | 354 | ||
346 | .sub-menu { | 355 | .sub-menu { |
347 | padding-left: 50px; | 356 | padding-left: 50px; |