Skip to content

Commit d92b8a6

Browse files
committed
added ui changes, made the tab-panel full length
1 parent a202fdb commit d92b8a6

File tree

4 files changed

+18
-10
lines changed

4 files changed

+18
-10
lines changed

src/components/ComponentDisplay.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -217,14 +217,14 @@ export default {
217217
}
218218
.component-box {
219219
color: white;
220-
border: 1px dashed rgb(227, 203, 71);
221-
background-color: rgba(186, 99, 99, 0.420);
220+
border: 1.2px dashed rgb(231, 203, 75);
221+
background-color: rgba(172, 83, 83, 0.42);
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(39, 78, 223, 0.3);
227+
background-color: rgba(105, 179, 190, 0.514);
228228
border: 1px dashed rgb(227, 203, 71);
229229
}
230230
</style>

src/components/CreateComponent.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<br />
55
<form v-on:submit.prevent="handleClick" v-on:click="resetActiveComponent">
66
<q-input
7-
standout="secondary text-secondary"
7+
standout="bg-secondary text-white"
88
bottom-slots
99
v-model="componentNameInputValue"
1010
label="Component Name"

src/components/Footer.vue

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<q-btn flat color="subaccent" round @click="openBottomDrawer">
55
<i :class="[open ? down : up]" id="btn" ></i>
66
</q-btn>
7-
<q-toolbar-title>Dashboard</q-toolbar-title>
7+
<q-toolbar-title >Dashboard</q-toolbar-title>
88
</q-toolbar>
99
<q-card>
1010
<q-tabs
@@ -21,7 +21,7 @@
2121
<q-tab name="html" label="HTML Elements" id="label-text"/>
2222
</q-tabs>
2323

24-
<q-tab-panels v-model="tab" animated class="bg-primary text-white">
24+
<q-tab-panels v-model="tab" animated class="bg-primary text-white full-footer">
2525
<q-tab-panel name="code">
2626
<CodeSnippet />
2727
</q-tab-panel>
@@ -80,7 +80,7 @@ i {
8080
font-size: 11px;
8181
}
8282
.q-btn {
83-
background: $secondary;
83+
// background: $secondary;
8484
font-size: 8px;
8585
margin: 5px;
8686
}
@@ -124,9 +124,12 @@ i {
124124
// changes the length of the tab panels
125125
.q-tab-panels {
126126
height: 31vh;
127+
padding: 0px !important;
127128
}
128-
129129
.q-tabs {
130130
background: #11120F;
131131
}
132+
.full-footer {
133+
height: 100vh;
134+
}
132135
</style>

src/layouts/MyLayout.vue

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@
22
<q-layout view="hHh LpR lFf">
33
<q-header elevated class="gradient text-white">
44
<q-toolbar>
5-
<q-btn dense flat round icon="menu" @click="left = !left" />
6-
5+
<q-btn dense flat color="subaccent" round @click="left = !left" >
6+
<i :class="[left ? 'fas fa-chevron-left' : 'fas fa-list-ul']" id="btn" ></i>
7+
</q-btn>
78
<q-toolbar-title>
89
<q-avatar></q-avatar>PreVue 2.0
910
</q-toolbar-title>
@@ -58,6 +59,10 @@ export default {
5859
</script>
5960

6061
<style lang="stylus">
62+
.q-layout {
63+
transition-timing-function: ease-in;
64+
transition: 0.2s;
65+
}
6166
.export-btn {
6267
margin-left: 0.3rem;
6368
}

0 commit comments

Comments
 (0)