Skip to content

Commit dbdfd4f

Browse files
author
Julia Bakerink
committed
Updated spacing on nav bar buttons and adjusted size
1 parent 41dd44b commit dbdfd4f

File tree

4 files changed

+17
-13
lines changed

4 files changed

+17
-13
lines changed

src/components/file_system_interface/ExportProject.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Description:
1010
-->
1111

1212
<template>
13-
<q-btn class="export-btn" color="secondary" label="Export">
13+
<q-btn class="nav-btn" color="secondary" label="Export">
1414
<q-menu class="dropdown">
1515
<div class="settings-dropdown column items-center">
1616
<p class="center">Export:</p>
@@ -523,13 +523,13 @@ export default {
523523
</script>
524524
525525
<style>
526-
.export-btn {
526+
/* .nav-btn {
527527
min-height: 10px !important;
528528
width: auto;
529529
font-size: 11px;
530530
text-transform: capitalize;
531531
padding: 3px 8px;
532-
}
532+
} */
533533
.center{
534534
display:inline-block;
535535
text-align: center;

src/components/file_system_interface/OpenProjectComponent.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Description:
55
-->
66

77
<template>
8-
<q-btn class="export-btn" color="secondary" label="Import">
8+
<q-btn class="nav-btn" color="secondary" label="Import">
99
<q-menu class="dropdown">
1010
<div class="settings-dropdown column items-center">
1111
<p class="center">Import:</p>

src/components/file_system_interface/SaveProjectComponent.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Description:
77

88
<template>
99
<q-btn
10-
class="export-btn"
10+
class="nav-btn"
1111
color="secondary"
1212
label="Save"
1313
@click="saveProjectJSON"

src/layouts/MyLayout.vue

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ Description:
4444
<OpenProjectComponent />
4545
<ExportProjectComponent />
4646

47-
<q-btn icon="fas fa-cog" size="sm">
47+
<q-btn class="nav-btn" icon="fas fa-cog" size="sm">
4848
<!-- < fas => fontawesome, refers to icon style -->
4949
<q-menu class="dropdown">
5050

@@ -345,11 +345,11 @@ q-btn > i {
345345
background-color: rgba(255, 255, 255, 0.301);
346346
}
347347
348-
.fa-backward:hover,
349-
.fa-forward:hover {
350-
cursor: pointer;
351-
color: $secondary;
352-
}
348+
// .fa-backward:hover,
349+
// .fa-forward:hover {
350+
// cursor: pointer;
351+
// color: $secondary;
352+
// }
353353
354354
#unavailable {
355355
color: grey;
@@ -366,8 +366,9 @@ q-btn > i {
366366
transition-timing-function: ease-in;
367367
}
368368
369-
.export-btn {
370-
margin-left: 0.3rem;
369+
.nav-btn {
370+
margin-left: 0.5rem;
371+
// height: 25px
371372
}
372373
373374
.q-toolbar {
@@ -438,6 +439,9 @@ background: #5c5e61;
438439
width: 15%;
439440
height: auto;
440441
}
442+
/* Typescript toggle
443+
========================== */
444+
441445
.switch {
442446
position: relative;
443447
display: block;

0 commit comments

Comments
 (0)