Skip to content

Commit b5153d2

Browse files
committed
added global styles for delete actions and abandoned actions
1 parent cf4fa48 commit b5153d2

File tree

4 files changed

+16
-11
lines changed

4 files changed

+16
-11
lines changed

src/components/ComponentDisplay.vue

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@
139139
/>
140140
<q-btn
141141
id="note-btn-close"
142-
class="sidebar-btn"
142+
class="sidebar-btn abandonAction"
143143
label="Close"
144144
@click="this.openNoteModal"
145145
/>
@@ -684,9 +684,6 @@ li:hover{
684684
}
685685
686686
#note-btn-close {
687-
background-color: $subprimary;
688-
color: $menutext;
689-
border: 1px solid $menutext;
690687
width: 100%;
691688
margin-top: 10px;
692689
margin-bottom: 10px;

src/components/home_sidebar_items/ComponentTab/EditDeleteComponents.vue

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ Description:
113113
/>
114114
<q-btn
115115
id="deleteButton"
116-
class="sidebar-btn"
116+
class="sidebar-btn deleteAction"
117117
@click="deleteSelectedComp(activeComponentData)"
118118
label="Delete currently selected"
119119
/>
@@ -310,7 +310,7 @@ export default {
310310
}
311311
312312
.menu-link:hover{
313-
color: $accent;
313+
color: $primary;
314314
}
315315
316316
.q-field {
@@ -388,9 +388,6 @@ p {
388388
}
389389
390390
#deleteButton {
391-
background-color: rgba($negative, .2);
392-
border: 1px solid $negative;
393-
color: $negative;
394391
width: 100%;
395392
margin-top: 30px;
396393
margin-bottom: 30px;

src/components/home_sidebar_items/ComponentTab/UploadImage.vue

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,7 @@ Description:
2525
<q-btn
2626
v-else
2727
disable
28-
class="upload-btn"
29-
color="secondary"
28+
class="upload-btn deleteAction"
3029
label="Clear Image"
3130
/>
3231
</div>

src/css/app.scss

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,18 @@ main {
3737
min-height: 42px !important;
3838
}
3939

40+
.deleteAction {
41+
background-color: rgba($negative, .2);
42+
color: $negative;
43+
border: 1px solid $negative;
44+
}
45+
46+
.abandonAction {
47+
background-color: $subprimary;
48+
color: $menutext;
49+
border: 1px solid $menutext;
50+
}
51+
4052
.q-item {
4153
background: $subsecondary;
4254
}

0 commit comments

Comments
 (0)