]> _ Git - fluidbook-toolbox-quiz.git/commitdiff
wip #6348 @0.25
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Thu, 5 Oct 2023 12:10:18 +0000 (14:10 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Thu, 5 Oct 2023 12:10:18 +0000 (14:10 +0200)
style/100-global.sass

index dd5a95698d51a874fe8636df359846f44d076df2..ea8fd94b2cb3a2e4deac9f0d54f8b55c531d969f 100644 (file)
@@ -19,14 +19,8 @@ body
 
     .bg
         background-color: $background-color
-
-        @if ($background-custom)
-            object-fit: $background-desktop-size
-            object-position: $background-desktop-position-x $background-desktop-position-y
-
-            .m &
-                object-fit: $background-mobile-size
-                object-position: $background-mobile-position-x $background-mobile-position-y
+        object-fit: cover
+        object-position: 50% 50%
 
     min-width: 1200px
     max-width: 1200px
@@ -258,9 +252,11 @@ body
 // SimpleBar personalisation
 .simplebar-wrapper
     height: 100%
+
 .simplebar-track
-    +opacity(.08,background-color,$texts-color)
+    +opacity(.08, background-color, $texts-color)
     border-radius: 20px
+
     &.simplebar-vertical
         .simplebar-scrollbar::before
             background-color: #77679f
@@ -270,5 +266,6 @@ body
             bottom: 1px
             left: 1px
             right: 1px
+
     &.simplebar-horizontal
         display: none