@@ -13,6 +13,12 @@ Description:
1313 <!-- the top header of OverVue -->
1414 <q-header elevated class =" gradient text-white" >
1515 <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> -->
1622 <q-toolbar-title ><img alt =" OverVue" src =" ../assets/OverVue_navLogo.png" id =" nav-logo" ><div id =" undo-redo" >
1723 <q-btn >
1824 <i
@@ -38,8 +44,28 @@ Description:
3844 <i v-else class =" fa fa-redo" id =" unavailable" aria-hidden =" true" ></i >
3945 </q-btn >
4046 </div ></q-toolbar-title >
47+ <!-- <SlackLoginWindow /> -->
4148 <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+
4369 <SaveProjectComponent />
4470 <OpenProjectComponent />
4571 <ExportProjectComponent />
@@ -54,15 +80,41 @@ Description:
5480 color =" secondary"
5581 label =" Getting Started"
5682 no-caps
57- @click = " this.toggleTutorial"
5883 />
5984
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" >
64116 <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 >
66118 <span class =" switch-handle" ></span >
67119 </label >
68120 </div >
@@ -84,7 +136,7 @@ Description:
84136 style =" height : 100% ; max-width : 100% ;"
85137 bar-style =" { left: '10px' }"
86138 >
87- <q-card >
139+ <q-card class = " no-shadow " >
88140 <!-- QTabs setup, not sure what class to set yet -->
89141 <q-tabs
90142 v-model =" tab"
@@ -151,7 +203,7 @@ import OpenProjectComponent from "../components/file_system_interface/OpenProjec
151203import SlackLoginWindow from " ../components/slack_login/SlackLoginWindow.vue" ;
152204import ComponentTab from " ../components/home_sidebar_items/ComponentTab/ComponentTab.vue" ;
153205import StoreTab from " ../components/home_sidebar_items/StoreTab/StoreTab.vue" ;
154- import { mapState , mapActions } from " vuex" ;
206+ import { mapState } from " vuex" ;
155207
156208export default {
157209 // Passed down from App.vue
@@ -161,7 +213,7 @@ export default {
161213 tab: " component" ,
162214 left: true ,
163215 right: true ,
164- dashWidth: 650 ,
216+ dashWidth: 950 ,
165217 originalWidth: 400 ,
166218 originalLeft: 400 ,
167219 timer: null ,
@@ -177,10 +229,9 @@ export default {
177229 StoreTab,
178230 },
179231 computed: {
180- ... mapState ([" exportAsTypescript" ]),
232+ ... mapState ([" exportAsTypescript" , " toggleTutorial " ]),
181233 },
182234 methods: {
183- ... mapActions ([" toggleTutorial" ]),
184235 hideRight () {
185236 this .right = ! this .right ;
186237 if (this .$refs .resizeBox .style .display === " none" ) {
@@ -431,7 +482,7 @@ background: #5c5e61;
431482 position : relative ;
432483 display : block ;
433484 vertical-align : top ;
434- width : 100 % ;
485+ width : 100 px ;
435486 height : 30px ;
436487 padding : 3px ;
437488 margin : 0 10px 10px 0 ;
@@ -453,7 +504,7 @@ background: #5c5e61;
453504 position : relative ;
454505 display : block ;
455506 height : inherit ;
456- font-size : 0.8 rem ;
507+ font-size : 10 px ;
457508 text-transform : uppercase ;
458509 background : #eceeef ;
459510 border-radius : inherit ;
@@ -485,7 +536,7 @@ background: #5c5e61;
485536 opacity : 0 ;
486537}
487538.switch-input :checked ~ .switch-label {
488- background : #42B883 ;
539+ background : #289ead ;
489540 box-shadow : inset 0 1px 2px rgba (0 , 0 , 0 , 0.15 ), inset 0 0 3px rgba (0 , 0 , 0 , 0.2 );
490541}
491542.switch-input :checked ~ .switch-label :before {
@@ -512,14 +563,14 @@ background: #5c5e61;
512563 left : 50% ;
513564 margin : -6px 0 0 -6px ;
514565 width : 12px ;
515- height : 12px ;
566+ height : 12px ;
516567 background : linear-gradient (to bottom , #eeeeee , #FFFFFF );
517568 background-image : -webkit-linear-gradient (top , #eeeeee , #FFFFFF );
518569 border-radius : 6px ;
519570 box-shadow : inset 0 1px rgba (0 , 0 , 0 , 0.02 );
520571}
521572.switch-input :checked ~ .switch-handle {
522- left : 56 % ;
573+ left : 74 px ;
523574 box-shadow : -1px 1px 5px rgba (0 , 0 , 0 , 0.2 );
524575}
525576
@@ -531,11 +582,4 @@ background: #5c5e61;
531582 -moz-transition : All 0.3s ease ;
532583 -o-transition : All 0.3s ease ;
533584}
534- .typescript {
535- display : flex ;
536- justify-content : space-around ;
537- align-items : flex-end ;
538- width : 90% ;
539- flex-direction : row ;
540- }
541585 </style >
0 commit comments