Explorar o código

add bgimage style for spring

yohei0125 %!s(int64=3) %!d(string=hai) anos
pai
achega
3fe781803f
Modificáronse 1 ficheiros con 13 adicións e 1 borrados
  1. 13 1
      packages/app/src/components/Theme/ThemeSpring.module.scss

+ 13 - 1
packages/app/src/components/Theme/ThemeSpring.module.scss

@@ -25,6 +25,19 @@ $accentcolor: #e08dbc;
   border-bottom: $accentcolor 4px solid;
   border-bottom: $accentcolor 4px solid;
 }
 }
 
 
+.theme :global {
+  .bg-image-wrapper {
+    position: fixed;
+    width: 100%;
+    height: 100%;
+  }
+
+  .bg-image {
+    object-fit: cover;
+    object-position: bottom;
+  }
+}
+
 //== Light Mode
 //== Light Mode
 //
 //
 .theme :global {
 .theme :global {
@@ -107,7 +120,6 @@ $accentcolor: #e08dbc;
 
 
   .growi:not(.login-page) {
   .growi:not(.login-page) {
     // add background-image
     // add background-image
-    #page-wrapper,
     .page-editor-preview-container {
     .page-editor-preview-container {
       background-image: url('/images/themes/spring/spring02.svg');
       background-image: url('/images/themes/spring/spring02.svg');
       background-attachment: fixed;
       background-attachment: fixed;