Jared Norris 8 лет назад
Родитель
Сommit
e8acc839b8
3 измененных файлов: 9 добавлений и 19 удалений
  1. 1
    1
      VueApp/src/App.vue
  2. 4
    2
      VueApp/src/components/ElevationGraph.vue
  3. 4
    16
      VueApp/src/components/Main.vue

+ 1
- 1
VueApp/src/App.vue Просмотреть файл

@@ -61,7 +61,7 @@ export default {
61 61
 <style>
62 62
 @import '../node_modules/bootstrap/dist/css/bootstrap.css';
63 63
   .navbar {
64
-    background-color: #A1A6B4
64
+    background-color: #D0CFCF
65 65
   }
66 66
   .btn-margin {
67 67
     margin-top: 8px

+ 4
- 2
VueApp/src/components/ElevationGraph.vue Просмотреть файл

@@ -30,7 +30,10 @@
30 30
           vAxis: {
31 31
             title: 'Feet'
32 32
           },
33
-          legend: 'none'
33
+          legend: 'none',
34
+          chartArea: {
35
+            backgroundColor: '#D0CFCF'
36
+          }
34 37
         }
35 38
       }
36 39
     },
@@ -66,5 +69,4 @@
66 69
 </script>
67 70
 
68 71
 <style scoped>
69
-
70 72
 </style>

+ 4
- 16
VueApp/src/components/Main.vue Просмотреть файл

@@ -1,11 +1,5 @@
1 1
 <template>
2 2
   <div v-if="authenticated" class="main-container">
3
-    <div class="appHeader">
4
-      <h4>
5
-        Click the map in two places to begin.
6
-        You may drag either the markers or the route itself to adjust the path.
7
-      </h4>
8
-    </div>
9 3
     <div class="mainMap">
10 4
       <GoogleMap v-on:updateRoute="updateElevation"/>
11 5
     </div>
@@ -44,21 +38,15 @@
44 38
 <style scoped>
45 39
   body {
46 40
     display: grid;
47
-    grid-template-rows: 100px 3fr 2fr;
48
-    grid-template-columns: 1fr 3fr 3fr 1fr;
41
+    grid-template-rows: 3fr 1fr;
42
+    grid-template-columns: 1fr 2fr 2fr 1fr;
49 43
     grid-template-areas:
50
-      "header header header header"
51
-      "......  map    map  ......."
52
-      "info   info    info    info";
44
+      "map     map    map     map "
45
+      "....   info    info    ....";
53 46
     justify-items: center;
54 47
     align-items: center;
55 48
   }
56 49
 
57
-  .appHeader {
58
-    grid-area: header;
59
-    justify-self: center;
60
-  }
61
-
62 50
   .mainMap {
63 51
     grid-area: map;
64 52
   }