Browse Source

Added login page (no functionality)

Kris Blassingame 6 years ago
parent
commit
a566193201
2 changed files with 61 additions and 11 deletions
  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 View File

2
   <div class="head" text-center>
2
   <div class="head" text-center>
3
     <h1>Happy Trails</h1>
3
     <h1>Happy Trails</h1>
4
   </div>
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
 </ion-content>
23
 </ion-content>

+ 43
- 11
frontEnd/src/pages/home/home.scss View File

1
-@import url('https://fonts.googleapis.com/css?family=PermanentMarker');
1
+@import url('https://fonts.googleapis.com/css?family=Permanent+Marker');
2
 page-home {
2
 page-home {
3
     .bg-image {
3
     .bg-image {
4
         background-image: url('../assets/imgs/autumn-daylight-environment-218820.jpg');
4
         background-image: url('../assets/imgs/autumn-daylight-environment-218820.jpg');
8
     }
8
     }
9
     .head {
9
     .head {
10
         position: absolute;
10
         position: absolute;
11
-        display: block; //color: rgb(255, 124, 1);
11
+        display: block;
12
         top: 22%;
12
         top: 22%;
13
         left: 50%;
13
         left: 50%;
14
         transform: translate(-50%, -50%);
14
         transform: translate(-50%, -50%);
19
         color: transparent;
19
         color: transparent;
20
     }
20
     }
21
     .head h1 {
21
     .head h1 {
22
-        font-size: 8vh !important;
22
+        font-size: 7vh !important;
23
         font-weight: lighter !important;
23
         font-weight: lighter !important;
24
         font-family: 'Permanent Marker', cursive;
24
         font-family: 'Permanent Marker', cursive;
25
     }
25
     }
34
         opacity: 0.6;
34
         opacity: 0.6;
35
     }
35
     }
36
     ion-item {
36
     ion-item {
37
-        background: transparent!important;
38
-        border: 1px solid #fff!important;
37
+        // background: transparent !important;
38
+        border: 1px solid black !important;
39
         ion-input {
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
         .item-inner {
45
         .item-inner {
46
-            border: 0!important;
46
+            border: 0 !important;
47
         }
47
         }
48
     }
48
     }
49
     button {
49
     button {
50
         position: absolute;
50
         position: absolute;
51
         display: block;
51
         display: block;
52
         top: 50%;
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
+}