Skip to content

Commit 553442a

Browse files
authored
Merge branch 'dev' into navBar
2 parents ab5e517 + 3070acc commit 553442a

37 files changed

+1183
-539
lines changed

src-electron/icons/icon.icns

43.1 KB
Binary file not shown.

src-electron/icons/icon.ico

-109 KB
Binary file not shown.

src-electron/icons/icon.png

8.39 KB
Loading

src/assets/OverVue_navLogo.png

2.4 KB
Loading

src/components/ComponentDisplay.vue

Lines changed: 29 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -39,23 +39,23 @@ Description:
3939
<q-menu context-menu>
4040
<q-list color="black" class="menu">
4141
<q-item clickable v-ripple v-close-popup @click="handleExportComponent">
42-
<q-item-section style="color: white"
42+
<q-item-section style="color: menutext"
4343
>Export Component</q-item-section
4444
>
4545
<q-item-section avatar>
4646
<q-icon color="primary" name="upload" />
4747
</q-item-section>
4848
</q-item>
4949
<q-item clickable v-ripple v-close-popup @click="handleAddChild">
50-
<q-item-section style="color: white"
50+
<q-item-section style="color: menutext"
5151
>Update Children</q-item-section
5252
>
5353
<q-item-section avatar>
5454
<q-icon color="primary" name="add" />
5555
</q-item-section>
5656
</q-item>
5757
<q-item clickable v-ripple v-close-popup>
58-
<q-item-section class="layer" style="color: white"
58+
<q-item-section class="layer" style="color: menutext"
5959
>Layer</q-item-section
6060
>
6161
<q-btn
@@ -65,7 +65,7 @@ Description:
6565
label="-"
6666
@click="(e) => handleLayer(e)"
6767
/>
68-
<p id="counter" style="color: white">{{ componentData.z }}</p>
68+
<p id="counter" style="color: menutext">{{ componentData.z }}</p>
6969
<q-btn
7070
class="btn"
7171
color="transparent"
@@ -208,7 +208,8 @@ export default {
208208
mockBg() {
209209
return this.imagePath[this.activeRoute]
210210
? {
211-
background: `url("${this.userImage}") center/contain no-repeat rgba(223, 218, 218, 0.886)`,
211+
background: `url("${this.userImage}") no-repeat rgba(223, 218, 218, 0.886) top left`,
212+
"background-size": "contain"
212213
}
213214
: {};
214215
},
@@ -396,14 +397,14 @@ export default {
396397
};
397398
</script>
398399

399-
<style scoped>
400+
<style scoped lang="scss">
400401
.component-title {
401402
position: relative;
402403
font-size: 16px;
403404
top: -18px;
404405
left: 2px;
405406
color: black;
406-
-webkit-text-stroke: 0.4px white;
407+
-webkit-text-stroke: 0.4px $menutext;
407408
font-weight: 800;
408409
line-height: 1.2;
409410
z-index: -1;
@@ -422,50 +423,54 @@ export default {
422423
list-style: none;
423424
}
424425
.component-display {
425-
height: 95.4vh;
426+
top: 0px;
427+
left: 0px;
426428
width: 100%;
427-
position: relative;
429+
height: 100%;
430+
min-width: 1600px;
431+
min-height: 900px;
432+
position: absolute;
428433
}
429434
.grid-bg {
430435
background-color: rgba(223, 218, 218, 0.886);
431436
background-size: 100px 100px, 100px 100px, 20px 20px, 20px 20px;
432437
background-position: -2px -2px, -2px -2px, -1px -1px, -1px -1px;
433-
background-image: -webkit-linear-gradient(white 2px, transparent 2px),
434-
-webkit-linear-gradient(0, white 2px, transparent 2px),
438+
background-image: -webkit-linear-gradient(rgba(255, 255, 255, 0.8) 1px, transparent 1px),
439+
-webkit-linear-gradient(0, rgba(255, 255, 255, 0.8) 1px, transparent 1px),
435440
-webkit-linear-gradient(rgba(255, 255, 255, 0.3) 1px, transparent 1px),
436441
-webkit-linear-gradient(0, rgba(255, 255, 255, 0.3) 1px, transparent 1px);
437-
background-image: -moz-linear-gradient(white 2px, transparent 2px),
438-
-moz-linear-gradient(0, white 2px, transparent 2px),
442+
background-image: -moz-linear-gradient(rgba(255, 255, 255, 0.8) 1px, transparent 1px),
443+
-moz-linear-gradient(0, rgba(255, 255, 255, 0.8) 1px, transparent 1px),
439444
-moz-linear-gradient(rgba(255, 255, 255, 0.3) 1px, transparent 1px),
440445
-moz-linear-gradient(0, rgba(255, 255, 255, 0.3) 1px, transparent 1px);
441-
background-image: linear-gradient(white 2px, transparent 2px),
442-
linear-gradient(90deg, white 2px, transparent 2px),
446+
background-image: linear-gradient(rgba(255, 255, 255, 0.8) 1px, transparent 1px),
447+
linear-gradient(90deg, rgba(255, 255, 255, 0.8) 1px, transparent 1px),
443448
linear-gradient(rgba(255, 255, 255, 0.3) 1px, transparent 1px),
444449
linear-gradient(90deg, rgba(255, 255, 255, 0.3) 1px, transparent 1px);
445-
-pie-background: linear-gradient(white 2px, transparent 2px) -2px -2px / 100px,
446-
linear-gradient(90deg, white 2px, transparent 2px) -2px -2px / 100px,
450+
-pie-background: linear-gradient(rgba(255, 255, 255, 0.8) 1px, transparent 1px) -2px -2px / 100px,
451+
linear-gradient(90deg, rgba(255, 255, 255, 0.8) 1px, transparent 1px) -2px -2px / 100px,
447452
linear-gradient(rgba(255, 255, 255, 0.3) 1px, transparent 1px) -1px -1px /
448453
20px,
449454
linear-gradient(90deg, rgba(255, 255, 255, 0.3) 1px, transparent 1px) -1px -1px /
450455
20px,
451-
#269;
456+
$secondary;
452457
behavior: url(/pie/PIE.htc);
453458
}
454459
.menu {
455460
margin-bottom: 0px !important;
456461
}
457462
.component-box {
458-
color: white;
459-
border: 1.2px dashed rgb(231, 203, 75);
460-
background-color: rgba(172, 83, 83, 0.42);
463+
color: $menutext;
464+
border: 1.2px dashed $darktext;
465+
background-color: rgba($darktext, .42);
461466
-webkit-transition: background-color 200ms linear;
462467
-ms-transition: background-color 200ms linear;
463468
transition: background-color 200ms linear;
464469
position: absolute;
465470
}
466471
.active {
467-
background-color: rgba(105, 179, 190, 0.514);
468-
border: 1px dashed rgb(227, 203, 71);
472+
background-color: $accent;
473+
border: 1px dashed $accent;
469474
}
470475
.btn {
471476
font-size: 25px;
@@ -477,7 +482,7 @@ export default {
477482
.btn:hover,
478483
.btn:focus,
479484
.btn:active {
480-
color: white;
485+
color: $menutext;
481486
background-color: transparent;
482487
}
483488
#counter {

src/components/dashboard_items/Dashboard.vue

Lines changed: 21 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ Description:
66
-->
77

88
<template>
9-
<q-card id="dashboard-cards" class="bord">
9+
<span v-if="showTutorial === false">
10+
<q-card id="dashboard-cards" >
1011
<q-tabs
1112
v-model="tab"
1213
class="bg-subaccent text-white"
@@ -16,21 +17,14 @@ Description:
1617
dense
1718
breakpoint="1050"
1819
>
19-
<q-tab
20-
name="detail"
21-
label="Component Details"
22-
id="label-text"
23-
style="border-right: 3px solid black"
24-
><i class="fas fa-code"></i
25-
></q-tab>
20+
<q-tab name="detail" label="Component Details" id="label-text"
21+
></q-tab>
2622
<q-tab name="tree" label="Project Tree" id="label-text"
27-
><i class="fas fa-code-branch fa-flip-vertical"
28-
/></q-tab>
23+
></q-tab>
2924
<q-tab name="routes" label="Routes" id="label-text"
30-
><i class="fas fa-project-diagram"></i
31-
></q-tab>
25+
></q-tab>
3226
</q-tabs>
33-
<q-tab-panels v-model="tab" animated class="html-bg text-white">
27+
<q-tab-panels v-model="tab" animated>
3428
<q-tab-panel name="detail">
3529
<ComponentDetails />
3630
</q-tab-panel>
@@ -43,26 +37,33 @@ Description:
4337
</q-tab-panel>
4438
</q-tab-panels>
4539
</q-card>
40+
</span>
41+
<span v-else>
42+
<GetStarted />
43+
</span>
4644
</template>
4745

4846
<script>
4947
import { mapState, mapActions } from "vuex";
5048
import Tree from "./Tree.vue";
5149
import ComponentDetails from "./ComponentDetails.vue";
5250
import RouteDisplay from "./RouteDisplay.vue";
51+
import GetStarted from "./GetStarted.vue";
5352
5453
export default {
5554
components: {
5655
Tree,
5756
ComponentDetails,
5857
RouteDisplay,
58+
GetStarted,
5959
},
6060
computed: {
6161
...mapState([
6262
"activeComponent",
6363
"componentNameInputValue",
6464
"selectedElementList",
6565
"activeHTML",
66+
"showTutorial",
6667
]),
6768
},
6869
data() {
@@ -119,15 +120,11 @@ export default {
119120
</script>
120121

121122
<style lang="scss" scoped>
122-
i {
123-
font-size: 11px;
124-
}
125123
126124
.home-sidebar {
127-
margin: 1rem;
125+
padding: 1rem;
128126
justify-content: center;
129127
border-radius: 5px;
130-
padding: 0px;
131128
background: $subsecondary;
132129
}
133130
@@ -142,57 +139,41 @@ i {
142139
padding: 5px;
143140
}
144141
145-
/* this class selector does not change anything */
146-
.q-tab__label {
147-
/* // font-size not changing */
148-
font-size: 10px !important;
149-
line-height: 1.718em;
150-
font-weight: 500;
151-
}
152-
153142
/* // changes the tab label styling */
154143
#label-text {
155144
font-size: 4px !important;
156-
text-transform: capitalize;
145+
text-transform: uppercase;
157146
}
158147
159148
.q-tab-panel {
160-
/* // matchs the code editor bg */
149+
/* // matches the code editor bg */
161150
background: $subprimary;
162151
}
163152
164153
// changes the length of the tab panels
165154
.q-tab-panels {
166155
padding: 0px !important;
167-
border-top: 3px solid black;
156+
background: $subprimary;
168157
}
169158
170159
.q-tabs {
171-
background: #11120f;
160+
background: $subprimary;
172161
}
173162
174163
.toolbar-background {
175-
background: black;
164+
background: $subprimary;
176165
}
177166
178167
#dashboard-cards {
179168
display: flex;
180169
flex-direction: column;
181170
height: 100%;
182171
border-radius: 0px;
183-
background: #737578;
184-
}
185-
.html-bg {
186-
/* // give html background color of grey */
187-
background-color: #202122;
172+
background: $subprimary;
188173
}
189174
190175
.inner-div {
191176
height: 100%;
192177
}
193178
194-
.bord {
195-
border-left: 3px solid black;
196-
border-right: 3px solid black;
197-
}
198179
</style>

0 commit comments

Comments
 (0)