Skip to content

Commit a202fdb

Browse files
committed
fixed the side bar shadow nonesense, fixed code snippet margin issue, increased height of footer from 35 to 40vh
1 parent 12f2e1b commit a202fdb

File tree

8 files changed

+21
-14
lines changed

8 files changed

+21
-14
lines changed

src/components/CodeSnippet.vue

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<template>
2-
<div>
2+
<div class="codesnippet-container">
33
<!-- <input type="checkbox" v-model="lineNumbers"> Linenumbers -->
4-
<p v-if="activeComponent === ''">Select a component</p>
5-
<p v-else >{{ `${activeComponent}.vue` }}</p>
4+
<div class="top-p" v-if="activeComponent === ''" >Select a component</div>
5+
<div v-else >{{ `${activeComponent}.vue` }}</div>
66
<prism-editor
77
v-model="code"
88
language="js"
@@ -121,7 +121,11 @@ export default {
121121
.code-editor {
122122
font-size: 12px;
123123
}
124+
.codesnippet-container {
125+
margin-bottom: 1rem;
126+
}
124127
::-webkit-scrollbar {
125128
display: none;
126129
}
130+
127131
</style>

src/components/ComponentDisplay.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -218,13 +218,13 @@ export default {
218218
.component-box {
219219
color: white;
220220
border: 1px dashed rgb(227, 203, 71);
221-
background-color: rgba(186, 99, 99, 0.529);
221+
background-color: rgba(186, 99, 99, 0.420);
222222
-webkit-transition: background-color 200ms linear;
223223
-ms-transition: background-color 200ms linear;
224224
transition: background-color 200ms linear;
225225
}
226226
.active {
227-
background-color: rgba(57, 63, 84, 0.5);
227+
background-color: rgba(39, 78, 223, 0.3);
228228
border: 1px dashed rgb(227, 203, 71);
229229
}
230230
</style>

src/components/ExportProject.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<!-- electron build
33
<q-btn class="glossy" color="secondary" label="Export Project" @click="exportProject"/>
44
-->
5-
<q-btn class="glossy export-btn" color="secondary" label="Export Project"/>
5+
<q-btn class=" export-btn" color="secondary" label="Export Project"/>
66
</template>
77

88
<script>

src/components/Footer.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ export default {
5858
return {
5959
tab: 'code',
6060
open: true,
61-
height: 35,
61+
height: 40,
6262
up: 'fas fa-chevron-up',
6363
down: 'fas fa-chevron-down'
6464
}
@@ -68,7 +68,7 @@ export default {
6868
// 15in mb pro - 1027 px 3.75
6969
// big ass screens 2.5
7070
let minHeight = (window.outerHeight < 900) ? 4.5 : (window.outerHeight < 1035) ? 3.75 : 2.5
71-
this.height === 35 ? (this.height = minHeight) : (this.height = 35)
71+
this.height === 40 ? (this.height = minHeight) : (this.height = 40)
7272
this.open === true ? this.open = false : this.open = true
7373
}
7474
}

src/components/OpenProjectComponent.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<template>
2-
<q-btn class="glossy export-btn" color="secondary" label="Open Project"/>
2+
<q-btn class=" export-btn" color="secondary" label="Open Project"/>
33
<!--<q-btn class="glossy mr-sm" color="secondary" label="Open Project" @click="openProjectJSON"/>-->
44
</template>
55

src/components/SaveProjectComponent.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<template>
2-
<q-btn class="glossy export-btn" color="secondary" label="Save"/>
2+
<q-btn class=" export-btn" color="secondary" label="Save"/>
33
<!--<q-btn class="glossy mr-sm" color="secondary" label="Save" @click="saveProjectJSON"/> Uncomment and delete line above for electron build-->
44
</template>
55

src/css/quasar.variables.styl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
// Tip: Use the "Theme Builder" on Quasar's documentation website.
1111

1212
$primary = #737578
13-
$secondary = #2D95CD
13+
$secondary = teal
1414
$accent = #9C27B0
1515
$subaccent = #454d66
1616
$subaccentbtn = #2c384d

src/layouts/MyLayout.vue

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
<q-drawer v-model="left" side="left" behavior="desktop" bordered>
1717
<!-- drawer content -->
18-
<q-list>
18+
<q-list class="q-list-drawer">
1919
<!-- <UploadImage /> -->
2020
<HomeSideDropDown />
2121
<CreateComponent />
@@ -74,12 +74,15 @@ export default {
7474
// background: #27282268;
7575
}
7676
// css styling for the drawer list (not entire bg)
77-
.q-list {
77+
.q-list-drawer {
7878
// background: gray;
79+
height: 100vh;
80+
border-radius: 5px;
81+
box-shadow: none;
7982
}
8083
// styling between input and elements in q-list drawer
8184
.q-field--with-bottom {
82-
padding-bottom: 5px;
85+
// pading-bottom:
8386
}
8487
// css styling for entire drawer
8588
.q-drawer {

0 commit comments

Comments
 (0)