diff --git a/src/assets/dateIcon.png b/src/assets/dateIcon.png new file mode 100644 index 0000000..fff7be3 Binary files /dev/null and b/src/assets/dateIcon.png differ diff --git a/src/assets/directionIcon.png b/src/assets/directionIcon.png new file mode 100644 index 0000000..3a94d8b Binary files /dev/null and b/src/assets/directionIcon.png differ diff --git a/src/assets/locationIcon.png b/src/assets/locationIcon.png new file mode 100644 index 0000000..99b301b Binary files /dev/null and b/src/assets/locationIcon.png differ diff --git a/src/assets/publicMessageIcon.png b/src/assets/publicMessageIcon.png new file mode 100644 index 0000000..6611460 Binary files /dev/null and b/src/assets/publicMessageIcon.png differ diff --git a/src/assets/trainTypeIcon.png b/src/assets/trainTypeIcon.png new file mode 100644 index 0000000..50dd8e3 Binary files /dev/null and b/src/assets/trainTypeIcon.png differ diff --git a/src/components/TrainSidebar.vue b/src/components/TrainSidebar.vue index 984f015..d475678 100644 --- a/src/components/TrainSidebar.vue +++ b/src/components/TrainSidebar.vue @@ -1,31 +1,64 @@ +
+
+ +
+

Date:
{{ store.selectedTrain["TrainDate"][0] }}

+
+ +
+
+ +
+
+

Longitude:
{{ store.selectedTrain["TrainLongitude"][0] }}

+

Latitude:
{{ store.selectedTrain["TrainLatitude"][0] }}

+
+
+ +
+
+ +
+

Direction:
{{ store.selectedTrain["Direction"][0] }}

+
+ +
+
+ +
+

Public Message:
Public Message: {{ store.selectedTrain["PublicMessage"][0] }}

+
+ + + + + diff --git a/src/components/pieChart.vue b/src/components/pieChart.vue index 46def1f..4e66361 100644 --- a/src/components/pieChart.vue +++ b/src/components/pieChart.vue @@ -33,16 +33,20 @@ export default { trainData: { labels: ['Trains', 'Darts'], datasets: [{ - backgroundColor: ['#41B883', '#E46651', '#00D8FF'], - data: [store.insights["numTrains"], store.insights["numDarts"]] + backgroundColor: ['#ffdf9e', '#c3eefa', '#00D8FF'], + data: [store.insights["numTrains"], store.insights["numDarts"]], + borderColor: ['#000000', '#000000', '#00D8FF'], + borderWidth: .5 }] }, stationData: { labels: ['Train Stations', 'Dart Stations'], datasets: [{ - backgroundColor: ['#41B883', '#E46651', '#00D8FF'], - data: [store.insights["numTrainStations"], store.insights["numDartStations"]] + backgroundColor: ['#ffdf9e', '#c3eefa', '#00D8FF'], + data: [store.insights["numTrainStations"], store.insights["numDartStations"]], + borderColor: ['#000000', '#000000', '#00D8FF'], + borderWidth: .5 }] }, diff --git a/src/pages/AccountPage.vue b/src/pages/AccountPage.vue index 91174ec..a23b6ff 100644 --- a/src/pages/AccountPage.vue +++ b/src/pages/AccountPage.vue @@ -6,25 +6,27 @@

Your email: {{ this.user.email }}
Send password reset email

Enter your current password to edit the below settings

- +
+ show + +
+ + - - - -

Change email

Change password

- - +
+ show + +
+ + + - - - - @@ -237,7 +239,7 @@ h3 { justify-content: center; } -#accountDiv div { +#mainDiv{ position: inherit; padding: 15px; background-color: rgb(255, 255, 255); @@ -246,12 +248,11 @@ h3 { top: 14%; text-align: left; box-shadow: 0 0 4px 4px #b6b6b6; - } #emailUpdate, #passUpdate { position: relative; - left:10px; + left:40px; width: 26%; } @@ -272,5 +273,86 @@ input { position: absolute; bottom: 10px; left:160px; +} + +#imgDiv1{ + position: absolute; + width: 40px; + height: 40px; + top:180px; + left: 195px; +} + +#imgDiv2{ + position: absolute; + width: 40px; + height: 40px; + bottom:165px; + left: 195px; +} + +#imgDiv1:hover, #imgDiv2:hover{ + transform: scale(1.1); +} + +#eyeImg{ + width: 100%; +} + +@media screen and (max-width: 786px) { + + #mainDiv{ + position: inherit; + padding: 15px; + background-color: rgb(255, 255, 255); + width: 90%; + height: 80%; + top: 14%; + text-align: left; + box-shadow: 0 0 4px 4px #b6b6b6; + } + + #delAcc { + position: absolute; + bottom: 10px; + left:10px; + height: 10%; + } + + #delPref { + width: 50%; + left: 150px; + right: 10px; + height: 10%; + } + + button{ + font-size: 12px; + } + + #imgDiv1{ + position: absolute; + width: 60px; + height: 40px; + top:175px; + left: 195px; + } + + #imgDiv2{ + position: absolute; + width: 60px; + height: 40px; + bottom:194px; + left: 195px; + } + + #eyeImg{ + width:60%; + } +} + +@media screen and (max-width: 786px) { + + } diff --git a/src/pages/MapPage.vue b/src/pages/MapPage.vue index b034ad7..e93041e 100644 --- a/src/pages/MapPage.vue +++ b/src/pages/MapPage.vue @@ -71,6 +71,22 @@ + +
@@ -547,24 +563,28 @@ export default { #searchContainer{ position: absolute; top: 11%; - background-color: #ffffff; + background-color: #6e757d; width: 190px; height: 40px; z-index: 3; display: flex; justify-content: center; align-items: center; - color: black; - box-shadow: 0 0 5px 2px #6e757dbe; + box-shadow: 0 0 5px 2px #6e757d; border-radius: 6%; } +::placeholder{ + color: white; +} #searchBar{ text-align: center; - font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif; + color: white; + background-color: #6e757d; border: none; - border-bottom: 1px solid black; + border-bottom: 1px solid rgb(255, 255, 255); z-index: 3; + outline: none; } @@ -575,6 +595,13 @@ export default { top: 11%; } +#legendDropdown { + position: absolute; + z-index: 2; + right: 1%; + top: 18%; +} + #prefHeader { font-size: 18px; font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif; @@ -585,7 +612,7 @@ export default { #sidebar { position: absolute; height: 80%; - width: 20%; + width: 30%; left: 2%; top: 14%; z-index: 2; @@ -605,8 +632,8 @@ export default { position: relative; } .slideLeft-enter-active, .slideLeft-leave-active { - transition: opacity .5s; - transition: all 0.8s; + transition: opacity .8s; + transition: all 1.2s; } .slideLeft-enter-from, .slideLeft-leave-to { @@ -635,7 +662,8 @@ export default { color: black; font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif; text-align: bottom; - font-size: 16px; + font-size: 18px; + height: 4.2vh; } /* Phone Screen CSS */ @@ -653,26 +681,26 @@ export default { display: flex; justify-content: left; z-index: 3; -} + } #searchBar{ width: 100px; + color: white; } #searchContainer{ - position: absolute; - top: 11%; left: 10px; - background-color: #ffffff; width: 120px; height: 40px; - z-index: 3; display: flex; justify-content: center; align-items: center; - color: black; - box-shadow: 0 0 5px 2px #6e757dbe; - border-radius: 6%; -} + + } + + .slideLeft-enter-from, .slideLeft-leave-to { + opacity: 0; + transform: translateX(-750px); + } }