소스 검색

add login page bg-image

itizawa 6 년 전
부모
커밋
0bfaa46d9f
1개의 변경된 파일17개의 추가작업 그리고 6개의 파일을 삭제
  1. 17 6
      src/client/styles/scss/theme/antarctic.scss

+ 17 - 6
src/client/styles/scss/theme/antarctic.scss

@@ -13,12 +13,23 @@
 // $light: #;
 // $dark: #;
 
-// add background-image
-#page-wrapper {
-  background-image: url('/images/themes/antarctic/bg.svg');
-  background-attachment: fixed;
-  background-position: center center;
-  background-size: cover;
+.growi:not(.login-page) {
+  // add background-image
+  #page-wrapper {
+    background-image: url('/images/themes/antarctic/bg.svg');
+    background-attachment: fixed;
+    background-position: center center;
+    background-size: cover;
+  }
+}
+
+.growi.login-page {
+  #page-wrapper {
+    background-image: url('/images/themes/antarctic/topimage.svg');
+    background-attachment: fixed;
+    background-position: center center;
+    background-size: cover;
+  }
 }
 
 $themecolor: #000080;