@@ -13,6 +13,12 @@ Description:
13
13
<!-- the top header of OverVue -->
14
14
<q-header elevated class =" gradient text-white" >
15
15
<q-toolbar >
16
+ <!-- <q-btn dense flat color="subaccent" round @click="left = !left">
17
+ <i
18
+ :class="[left ? 'fas fa-chevron-left' : 'fas fa-list-ul']"
19
+ id="btn"
20
+ ></i>
21
+ </q-btn> -->
16
22
<q-toolbar-title ><img alt =" OverVue" src =" ../assets/OverVue_navLogo.png" id =" nav-logo" ><div id =" undo-redo" >
17
23
<q-btn >
18
24
<i
@@ -38,8 +44,28 @@ Description:
38
44
<i v-else class =" fa fa-redo" id =" unavailable" aria-hidden =" true" ></i >
39
45
</q-btn >
40
46
</div ></q-toolbar-title >
47
+ <!-- <SlackLoginWindow /> -->
41
48
<div ></div >
42
-
49
+ <!-- <i
50
+ v-if="doneAction.length"
51
+ class="fa fa-backward"
52
+ aria-hidden="true"
53
+ @click="undo"
54
+ ></i>
55
+ <i
56
+ v-else
57
+ class="fa fa-backward"
58
+ id="unavailable"
59
+ aria-hidden="true"
60
+ ></i>
61
+ <i
62
+ v-if="undoneAction.length"
63
+ class="fa fa-forward"
64
+ aria-hidden="true"
65
+ @click="redo"
66
+ ></i>
67
+ <i v-else class="fa fa-forward" id="unavailable" aria-hidden="true"></i> -->
68
+
43
69
<SaveProjectComponent />
44
70
<OpenProjectComponent />
45
71
<ExportProjectComponent />
@@ -54,15 +80,41 @@ Description:
54
80
color =" secondary"
55
81
label =" Getting Started"
56
82
no-caps
57
- @click = " this.toggleTutorial"
58
83
/>
59
84
60
- <SlackLoginWindow />
61
- <div class =" typescript" >
62
- <p > <b >TypeScript: </b > </p >
63
- <label for =" typescript" class =" switch" >
85
+ <q-btn
86
+ class =" menu-btn"
87
+ color =" secondary"
88
+ no-caps
89
+ >
90
+ <svg
91
+ xmlns =" http://www.w3.org/2000/svg"
92
+ style =" height : 20px ; width : 20px ; margin-right : 12px "
93
+ viewBox =" 0 0 122.8 122.8"
94
+ >
95
+ <path
96
+ d =" M25.8 77.6c0 7.1-5.8 12.9-12.9 12.9S0 84.7 0 77.6s5.8-12.9 12.9-12.9h12.9v12.9zm6.5 0c0-7.1 5.8-12.9 12.9-12.9s12.9 5.8 12.9 12.9v32.3c0 7.1-5.8 12.9-12.9 12.9s-12.9-5.8-12.9-12.9V77.6z"
97
+ fill =" #e01e5a"
98
+ ></path >
99
+ <path
100
+ d =" M45.2 25.8c-7.1 0-12.9-5.8-12.9-12.9S38.1 0 45.2 0s12.9 5.8 12.9 12.9v12.9H45.2zm0 6.5c7.1 0 12.9 5.8 12.9 12.9s-5.8 12.9-12.9 12.9H12.9C5.8 58.1 0 52.3 0 45.2s5.8-12.9 12.9-12.9h32.3z"
101
+ fill =" #36c5f0"
102
+ ></path >
103
+ <path
104
+ d =" M97 45.2c0-7.1 5.8-12.9 12.9-12.9s12.9 5.8 12.9 12.9-5.8 12.9-12.9 12.9H97V45.2zm-6.5 0c0 7.1-5.8 12.9-12.9 12.9s-12.9-5.8-12.9-12.9V12.9C64.7 5.8 70.5 0 77.6 0s12.9 5.8 12.9 12.9v32.3z"
105
+ fill =" #2eb67d"
106
+ ></path >
107
+ <path
108
+ d =" M77.6 97c7.1 0 12.9 5.8 12.9 12.9s-5.8 12.9-12.9 12.9-12.9-5.8-12.9-12.9V97h12.9zm0-6.5c-7.1 0-12.9-5.8-12.9-12.9s5.8-12.9 12.9-12.9h32.3c7.1 0 12.9 5.8 12.9 12.9s-5.8 12.9-12.9 12.9H77.6z"
109
+ fill =" #ecb22e"
110
+ ></path >
111
+ </svg >
112
+ Connect to Slack
113
+ </q-btn >
114
+ <div >
115
+ <label for =" typescript" class =" switch" >
64
116
<input class =" switch-input" type =" checkbox" name =" typescript" id =" typescript" :value =" exportAsTypescript" @change =" syncTypescriptFlag" />
65
- <span class =" switch-label" data-on =" On " data-off =" Off " ></span >
117
+ <span class =" switch-label" data-on =" TypeScript " data-off =" JavaScript " ></span >
66
118
<span class =" switch-handle" ></span >
67
119
</label >
68
120
</div >
@@ -84,7 +136,7 @@ Description:
84
136
style =" height : 100% ; max-width : 100% ;"
85
137
bar-style =" { left: '10px' }"
86
138
>
87
- <q-card >
139
+ <q-card class = " no-shadow " >
88
140
<!-- QTabs setup, not sure what class to set yet -->
89
141
<q-tabs
90
142
v-model =" tab"
@@ -151,7 +203,7 @@ import OpenProjectComponent from "../components/file_system_interface/OpenProjec
151
203
import SlackLoginWindow from " ../components/slack_login/SlackLoginWindow.vue" ;
152
204
import ComponentTab from " ../components/home_sidebar_items/ComponentTab/ComponentTab.vue" ;
153
205
import StoreTab from " ../components/home_sidebar_items/StoreTab/StoreTab.vue" ;
154
- import { mapState , mapActions } from " vuex" ;
206
+ import { mapState } from " vuex" ;
155
207
156
208
export default {
157
209
// Passed down from App.vue
@@ -161,7 +213,7 @@ export default {
161
213
tab: " component" ,
162
214
left: true ,
163
215
right: true ,
164
- dashWidth: 650 ,
216
+ dashWidth: 950 ,
165
217
originalWidth: 400 ,
166
218
originalLeft: 400 ,
167
219
timer: null ,
@@ -177,10 +229,9 @@ export default {
177
229
StoreTab,
178
230
},
179
231
computed: {
180
- ... mapState ([" exportAsTypescript" ]),
232
+ ... mapState ([" exportAsTypescript" , " toggleTutorial " ]),
181
233
},
182
234
methods: {
183
- ... mapActions ([" toggleTutorial" ]),
184
235
hideRight () {
185
236
this .right = ! this .right ;
186
237
if (this .$refs .resizeBox .style .display === " none" ) {
@@ -431,7 +482,7 @@ background: #5c5e61;
431
482
position : relative ;
432
483
display : block ;
433
484
vertical-align : top ;
434
- width : 100 % ;
485
+ width : 100 px ;
435
486
height : 30px ;
436
487
padding : 3px ;
437
488
margin : 0 10px 10px 0 ;
@@ -453,7 +504,7 @@ background: #5c5e61;
453
504
position : relative ;
454
505
display : block ;
455
506
height : inherit ;
456
- font-size : 0.8 rem ;
507
+ font-size : 10 px ;
457
508
text-transform : uppercase ;
458
509
background : #eceeef ;
459
510
border-radius : inherit ;
@@ -485,7 +536,7 @@ background: #5c5e61;
485
536
opacity : 0 ;
486
537
}
487
538
.switch-input :checked ~ .switch-label {
488
- background : #42B883 ;
539
+ background : #289ead ;
489
540
box-shadow : inset 0 1px 2px rgba (0 , 0 , 0 , 0.15 ), inset 0 0 3px rgba (0 , 0 , 0 , 0.2 );
490
541
}
491
542
.switch-input :checked ~ .switch-label :before {
@@ -512,14 +563,14 @@ background: #5c5e61;
512
563
left : 50% ;
513
564
margin : -6px 0 0 -6px ;
514
565
width : 12px ;
515
- height : 12px ;
566
+ height : 12px ;
516
567
background : linear-gradient (to bottom , #eeeeee , #FFFFFF );
517
568
background-image : -webkit-linear-gradient (top , #eeeeee , #FFFFFF );
518
569
border-radius : 6px ;
519
570
box-shadow : inset 0 1px rgba (0 , 0 , 0 , 0.02 );
520
571
}
521
572
.switch-input :checked ~ .switch-handle {
522
- left : 56 % ;
573
+ left : 74 px ;
523
574
box-shadow : -1px 1px 5px rgba (0 , 0 , 0 , 0.2 );
524
575
}
525
576
@@ -531,11 +582,4 @@ background: #5c5e61;
531
582
-moz-transition : All 0.3s ease ;
532
583
-o-transition : All 0.3s ease ;
533
584
}
534
- .typescript {
535
- display : flex ;
536
- justify-content : space-around ;
537
- align-items : flex-end ;
538
- width : 90% ;
539
- flex-direction : row ;
540
- }
541
585
</style >
0 commit comments