Skip to content

Commit cb9f765

Browse files
committed
restyling edit component menu; added html queue
1 parent fb7e830 commit cb9f765

File tree

13 files changed

+158
-130
lines changed

13 files changed

+158
-130
lines changed

src/components/dashboard_items/HTMLQueue.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ li {
151151
152152
.fa-trash:hover {
153153
cursor: pointer;
154-
color: red;
154+
color: $darktext;
155155
}
156156
157157
.fa-trash {
@@ -169,7 +169,7 @@ li {
169169
170170
.fa-angle-double-down:hover {
171171
cursor: pointer;
172-
color: #41B883;
172+
color: $darktext;
173173
}
174174
175175
.fa-chevron-up {

src/components/dashboard_items/Tree.vue

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -189,17 +189,18 @@ export default {
189189
background-color: $secondary;
190190
text-align: center;
191191
line-height: 28px;
192+
border-radius: 4px;
192193
}
193194
194195
.tree-node-active {
195196
background-color: $accent;
196-
color: #155158;
197-
border: 2px solid rgb(196, 154, 19);
197+
color: $darktext;
198+
border: 2px solid white;
198199
}
199200
200201
.tree-node-activeRoute {
201202
background-color: #155158;
202-
border: 2px solid rgb(196, 154, 19);
203+
border: 2px solid white;
203204
}
204205
205206

src/components/home_sidebar_items/ComponentTab/AddProps.vue

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,24 +2,26 @@
22
<div>
33
<q-input
44
@keyup.enter.native="createNewProp(textProps)"
5-
standout="bg-secondary text-white"
5+
color="white"
6+
dark
7+
outlined
68
bottom-slots
79
v-model="textProps"
8-
label="Create Prop"
10+
label="Create new prop"
911
dense
1012
class="input-add"
1113
v-on:keyup.delete.stop
1214
>
1315
<template v-slot:append>
14-
<q-btn round dense flat icon="add" @click="createNewProp(textProps)" />
16+
<q-btn dense flat icon="add" @click="createNewProp(textProps)" />
1517
</template>
1618
</q-input>
1719

1820
<div id="props-select">
1921
<VueMultiselect
2022
v-model="selectProps"
2123
class="multiselect"
22-
placeholder="Select Props for Component"
24+
placeholder="Select from existing props"
2325
:multiple="true"
2426
:close-on-select="false"
2527
:max-height="180"
@@ -94,3 +96,9 @@ export default {
9496
},
9597
};
9698
</script>
99+
100+
<style lang="scss" scoped>
101+
.q-field {
102+
margin: 30px 0 10px;
103+
}
104+
</style>

src/components/home_sidebar_items/ComponentTab/ComponentActions.vue

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
-->
88

99
<template>
10-
<div>
10+
<div class="selection-container">
1111
<div id="action-select">
1212
<VueMultiselect
1313
v-model="selectAction"
@@ -98,7 +98,7 @@ export default {
9898
]),
9999
// Prevent Delete on changes to searchable multiselect
100100
stopDelete(e) {
101-
if (e.code === "Backspce") e.stopPropogation();
101+
if (e.code === "Backspace") e.stopPropogation();
102102
// console.log(e);
103103
},
104104
// adds an action to the currently selected component
@@ -112,3 +112,9 @@ export default {
112112
},
113113
};
114114
</script>
115+
116+
<style lang="scss" scoped>
117+
.selection-container {
118+
padding: 30px 0;
119+
}
120+
</style>

src/components/home_sidebar_items/ComponentTab/ComponentState.vue

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
-->
88

99
<template>
10-
<div>
10+
<div class="selection-container">
1111
<div id="state-select">
1212
<VueMultiselect
1313
v-model="selectState"
@@ -111,3 +111,9 @@ export default {
111111
},
112112
};
113113
</script>
114+
115+
<style lang="scss" scoped>
116+
.selection-container {
117+
padding: 30px 0;
118+
}
119+
</style>

src/components/home_sidebar_items/ComponentTab/CreateComponent.vue

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Description:
66
<!-- 4.0 adjustment: conditional render to switch between new comp name input and editing active comp name, moved from EditDeleteComponents -->
77

88
<template>
9-
<div class="create-component-div inner-div drawer-menu">
9+
<div class="create-component-div drawer-menu">
1010
<q-expansion-item group="accordion" label="Import Component">
1111
<ImportComponent v-if="activeComponent === ''" @imported="createComponent" />
1212
</q-expansion-item>
@@ -18,7 +18,7 @@ Description:
1818
v-on:keyup.delete.stop
1919
v-model="componentNameInputValue"
2020
label="Set component name *"
21-
color="accent"
21+
color="white"
2222
dark
2323
dense
2424
outlined
@@ -202,13 +202,15 @@ export default {
202202
display: flex;
203203
flex-direction: column;
204204
align-items: center;
205+
resize: vertical;
205206
}
206207
207208
#create-component-btn {
208209
width: 100%;
209210
}
210211
.q-expansion-item {
211212
margin-bottom: 10px;
213+
box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.2), 0 3px 6px 0 rgba(0, 0, 0, 0.13);
212214
}
213215
214216
// .is-primary {

src/components/home_sidebar_items/ComponentTab/CreateComponentHTMLQueue.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ li {
157157
158158
.fa-trash:hover {
159159
cursor: pointer;
160-
color: #155158;
160+
color: $darktext;
161161
}
162162
163163
.fa-trash {

0 commit comments

Comments
 (0)