2
0
Эх сурвалжийг харах

Updates. read description

1. Added footer to login screen
2. Fixed some login screen scrolling issues

I am working on:
1. Making the CSS work for phone
2. Bubble bug
3. Other style issues
Johand 9 жил өмнө
parent
commit
ef807d329d

+ 14 - 1
app/app.css

@@ -35,6 +35,19 @@ body :-ms-input-placeholder {
 ul {
     list-style: none;
 }
+.loginlanding {
+  background: #50a3a2;
+  background: -webkit-linear-gradient(top left, #50a3a2 0%, #53e3a6 100%);
+  background: linear-gradient(to bottom right, #50a3a2 0%, #53e3a6 100%);
+  position: absolute;
+  /*top: 20%;*/
+  left: 0;
+  width: 100%;
+  height: 100%; /*400px*/
+  /*margin-top: -200px;*/
+  overflow-x: hidden;
+  overflow-y: hidden;
+}
 .landing {
   background: #50a3a2;
   background: -webkit-linear-gradient(top left, #50a3a2 0%, #53e3a6 100%);
@@ -429,4 +442,4 @@ footer a:hover{
 
 #player {
     visibility: hidden;
-}
+}

+ 0 - 1
app/templates/dashboard.html

@@ -41,5 +41,4 @@
             <li></li>
         </ul>
     </div>
-    {{> footer}}
 </template>

+ 4 - 1
app/templates/home.html

@@ -2,14 +2,17 @@
     {{#if currentUser}}
     <div id="dashboard">
         {{> dashboard}}
+        {{> footer}}
     </div>
     {{else}}
-    <div class="landing">
+    <div class="loginlanding">
         <div id="login-view">
             {{> login}}
+            {{> footer}}
         </div>
         <div id="register-view" style="display:none">
             {{> register}}
+            {{> footer}}
         </div>
 
         <ul class="bg-bubbles">