Преглед изворни кода

change place and added background color

ryuichi-e пре 5 година
родитељ
комит
b069172bc6
1 измењених фајлова са 21 додато и 20 уклоњено
  1. 21 20
      src/client/styles/scss/theme/spring.scss

+ 21 - 20
src/client/styles/scss/theme/spring.scss

@@ -13,26 +13,6 @@
 // $light: #;
 // $light: #;
 // $dark: #;
 // $dark: #;
 
 
-.growi:not(.login-page) {
-  // add background-image
-  #page-wrapper,
-  .page-editor-preview-container {
-    background-image: url('/images/themes/spring/spring02.svg');
-    background-attachment: fixed;
-    background-position: bottom;
-    background-size: cover;
-  }
-}
-
-.growi.login-page {
-  #page-wrapper {
-    background-image: url('/images/themes/spring/spring.svg');
-    background-attachment: fixed;
-    background-position: bottom;
-    background-size: cover;
-  }
-}
-
 $themecolor: #ffb8c6;
 $themecolor: #ffb8c6;
 $themelight: #fff0f5;
 $themelight: #fff0f5;
 $subthemecolor: #67a856;
 $subthemecolor: #67a856;
@@ -118,6 +98,27 @@ html[dark] {
   @import 'apply-colors';
   @import 'apply-colors';
   @import 'apply-colors-light';
   @import 'apply-colors-light';
 
 
+  .growi:not(.login-page) {
+    // add background-image
+    #page-wrapper,
+    .page-editor-preview-container {
+      background-image: url('/images/themes/spring/spring02.svg');
+      background-attachment: fixed;
+      background-position: bottom;
+      background-size: cover;
+    }
+  }
+
+  .growi.login-page {
+    #page-wrapper {
+      background-color: $themelight;
+      background-image: url('/images/themes/spring/spring.svg');
+      background-attachment: fixed;
+      background-position: bottom;
+      background-size: cover;
+    }
+  }
+
   a#login.link-switch,
   a#login.link-switch,
   a#register.link-switch {
   a#register.link-switch {
     color: $color-global;
     color: $color-global;