Selaa lähdekoodia

Added login page (no functionality)

Kris Blassingame 6 vuotta sitten
vanhempi
commit
a566193201
2 muutettua tiedostoa jossa 61 lisäystä ja 11 poistoa
  1. 18
    0
      frontEnd/src/pages/home/home.html
  2. 43
    11
      frontEnd/src/pages/home/home.scss

+ 18
- 0
frontEnd/src/pages/home/home.html Näytä tiedosto

@@ -2,4 +2,22 @@
2 2
   <div class="head" text-center>
3 3
     <h1>Happy Trails</h1>
4 4
   </div>
5
+  <div class="inputs">
6
+    <ion-item>
7
+      <ion-input type="text" placeholder="Email"></ion-input>
8
+    </ion-item>
9
+    <ion-item class="password">
10
+      <ion-input type="password" placeholder="Password"></ion-input>
11
+    </ion-item>
12
+    <button ion-button block>
13
+      <b>Login</b>
14
+    </button>
15
+    <p>Forgot Username/Password?
16
+      <b>Tap here!</b>
17
+    </p>
18
+    <div class="google" text-center>
19
+      <ion-icon name="logo-google" text-center></ion-icon>
20
+      Login/Signup with Google
21
+    </div>
22
+  </div>
5 23
 </ion-content>

+ 43
- 11
frontEnd/src/pages/home/home.scss Näytä tiedosto

@@ -1,4 +1,4 @@
1
-@import url('https://fonts.googleapis.com/css?family=PermanentMarker');
1
+@import url('https://fonts.googleapis.com/css?family=Permanent+Marker');
2 2
 page-home {
3 3
     .bg-image {
4 4
         background-image: url('../assets/imgs/autumn-daylight-environment-218820.jpg');
@@ -8,7 +8,7 @@ page-home {
8 8
     }
9 9
     .head {
10 10
         position: absolute;
11
-        display: block; //color: rgb(255, 124, 1);
11
+        display: block;
12 12
         top: 22%;
13 13
         left: 50%;
14 14
         transform: translate(-50%, -50%);
@@ -19,7 +19,7 @@ page-home {
19 19
         color: transparent;
20 20
     }
21 21
     .head h1 {
22
-        font-size: 8vh !important;
22
+        font-size: 7vh !important;
23 23
         font-weight: lighter !important;
24 24
         font-family: 'Permanent Marker', cursive;
25 25
     }
@@ -34,22 +34,54 @@ page-home {
34 34
         opacity: 0.6;
35 35
     }
36 36
     ion-item {
37
-        background: transparent!important;
38
-        border: 1px solid #fff!important;
37
+        // background: transparent !important;
38
+        border: 1px solid black !important;
39 39
         ion-input {
40
-            color: #fff;
40
+            color: black;
41 41
         }
42
-        ion-label{
43
-            color: #fff!important;
42
+        ion-label {
43
+            color: #fff !important;
44 44
         }
45 45
         .item-inner {
46
-            border: 0!important;
46
+            border: 0 !important;
47 47
         }
48 48
     }
49 49
     button {
50 50
         position: absolute;
51 51
         display: block;
52 52
         top: 50%;
53
-        background-color: green!important;
53
+        background-color: green !important;
54
+    } 
55
+    
56
+    // Gets rid of thin line under text boxes
57
+    .item-md.item-input.input-has-focus .item-inner {
58
+        border-bottom-color: transparent !important;
59
+        box-shadow: none !important;
60
+    }
61
+    .list-md .item-input.input-has-focus:last-child {
62
+        border-bottom-color: transparent !important;
63
+        box-shadow: none !important;
64
+    }
65
+    .list-md .item-input.input-has-focus:last-child .item-inner {
66
+        box-shadow: none;
67
+    }
68
+    .item-md.item-input.ng-valid.input-has-value:not(.input-has-focus) .item-inner {
69
+        border-bottom-color: transparent !important;
70
+        box-shadow: none !important;
71
+    }
72
+    .list-md .item-input.ng-valid.input-has-value:not(.input-has-focus):last-child {
73
+        border-bottom-color: transparent !important;
74
+        box-shadow: none !important;
75
+    }
76
+    .list-md .item-input.ng-valid.input-has-value:not(.input-has-focus):last-child .item-inner {
77
+        box-shadow: none;
78
+    }
79
+    .item-md.item-input.ng-invalid.ng-touched:not(.input-has-focus) .item-inner {
80
+        border-bottom-color: transparent !important;
81
+        box-shadow: none !important;
82
+    }
83
+    .list-md .item-input.ng-invalid.ng-touched:not(.input-has-focus):last-child {
84
+        border-bottom-color: transparent !important;
85
+        box-shadow: none !important;
54 86
     }
55
-}
87
+}