Skip to content

Commit f7473bd

Browse files
authored
Merge pull request #20 from drewngyen/master
changed component list styling and added more funs style classes
2 parents 122e3a4 + 677ae8a commit f7473bd

File tree

6 files changed

+34
-14
lines changed

6 files changed

+34
-14
lines changed

src/components/CreateComponent.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<template>
2-
<div class="home-sidebar">
2+
<div class="home-sidebar drawer-menu">
33
<!-- <p class="panel-heading">Create a component</p> -->
44
<br />
55
<form v-on:submit.prevent="handleClick">

src/components/Footer.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,8 @@ i {
8282
// height: 35vh;
8383
transition-timing-function: ease-in;
8484
transition: 0.2s;
85-
background: #313131;
85+
// background: #313131;
86+
background: black;
8687
}
8788
// changes the footer toolbar height
8889
.q-toolbar {

src/components/HomeSideDropDown.vue

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<template>
22
<div class="q-pa-md" style="max-width: 350px">
3-
<q-list padding bordered class="rounded-borders">
3+
<q-list padding bordered class="rounded-borders drawer-menu">
44
<q-expansion-item dense dense-toggle expand-separator label="Components">
5-
<q-card>
5+
<q-card >
66
<q-card-section>
77
<div class="input-container">
88
<ComponentList />
@@ -47,11 +47,16 @@ export default {
4747
}
4848
</script>
4949

50-
<style lang="stylus" scoped>
50+
<style lang="stylus">
5151
.input-add {
5252
margin: 0em 1em 0em 1em;
5353
}
5454
.input-container {
5555
margin-top: 1rem;
56+
// background: $primary;
57+
}
58+
.red {
59+
background: red;
5660
}
61+
5762
</style>

src/components/HomeSideDropDownItems/ComponentList.vue

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,12 @@
1010
<q-item-section>
1111
<div class="component-container">
1212
<div class="component-info">
13-
<q-item-label overline class="component">{{componentData.componentName}}</q-item-label>
14-
<q-item-label>Child Components Here</q-item-label>
15-
<!-- {{componentData.componentName}} -->
13+
<!-- <q-item-label overline class="component">Parent</q-item-label> -->
14+
<!-- <q-item-label>Child Components Here</q-item-label> -->
15+
{{componentData.componentName}}
16+
<!-- <br> -->
1617
</div>
17-
<q-btn round flat icon="delete_forever" />
18+
<q-btn round flat icon="highlight_off" />
1819
</div>
1920
</q-item-section>
2021
</q-item>
@@ -56,8 +57,8 @@ export default {
5657
<style>
5758
/* modifies entire container */
5859
.home-sidebar {
59-
margin: 1rem;
60-
padding-bottom: 1rem;
60+
/* margin: 1rem; */
61+
padding: 0.5rem;
6162
border-radius: 5px;
6263
}
6364
/* modifies top label */
@@ -69,6 +70,9 @@ export default {
6970
margin-bottom: 0.5rem;
7071
border-radius: 5px;
7172
}
73+
.component-info {
74+
margin: auto 0;
75+
}
7276
/* modifies content in list element */
7377
.component-container {
7478
display: flex;

src/css/app.styl

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ main {
33
background: #f2f6f5;
44
}
55
.gradient {
6-
background: rgb(22,108,105);
7-
background: linear-gradient(36deg, rgba(22,108,105,1) 0%, rgba(20,32,23,1) 100%);
6+
background: black;
7+
// background: rgb(22,108,105);
8+
// background: linear-gradient(36deg, rgba(22,108,105,1) 0%, rgba(20,32,23,1) 100%);
89
}

src/layouts/MyLayout.vue

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,5 +49,14 @@ export default {
4949
</script>
5050

5151
<style lang="stylus">
52-
52+
.drawer-menu {
53+
background: white;
54+
}
55+
.q-list {
56+
// background: gray;
57+
}
58+
.q-drawer {
59+
background: white;
60+
// background: #313131;
61+
}
5362
</style>

0 commit comments

Comments
 (0)