Browse Source

style splash screen

Felix Niklas 9 years ago
parent
commit
0636963338
2 changed files with 15 additions and 11 deletions
  1. 12 9
      app/assets/stylesheets/zammad.scss
  2. 3 2
      app/views/init/index.html.erb

+ 12 - 9
app/assets/stylesheets/zammad.scss

@@ -2130,18 +2130,21 @@ footer {
   margin-left: 80px;
 }
 
-#splash {
-  background-color: #eee;
+.splash {
   position: absolute;
-  width: 100%;
+  left: 0;
   top: 0;
+  width: 100%;
   height: 100%;
-}
-#splash .logo {
-  margin-left: auto;
-  margin-right: auto;
-  margin-top: 200px;
-  width: 100px;
+  background: hsl(210,17%,98%);
+  display: flex;
+  align-items: center;
+  justify-content: center;
+  font-size: 16px;
+  
+  .icon {
+    margin-right: 10px;
+  }
 }
 
 .navigation {

+ 3 - 2
app/views/init/index.html.erb

@@ -2,6 +2,7 @@
   <%= inline_svg('icons.svg') %>
 </div>
 <div id="app"></div>
-<div id="splash">
-  <div class="logo">booting...</div>
+<div class="splash">
+  <svg class="icon icon-logo"><use xlink:href="#icon-logo"/></svg>
+  <div class="splash-title">Loading...</div>
 </div>