Skip to content

Commit 914402a

Browse files
committed
styling updates for tutorial tabs
1 parent 9ceb605 commit 914402a

File tree

3 files changed

+77
-23
lines changed

3 files changed

+77
-23
lines changed
Lines changed: 27 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,15 @@
11
<template>
22
<!--Typescript option, mock image?, nested HTML elements, import component/limitations -->
3-
<p>Advanced Functions Here!</p>
4-
<q-btn
5-
id="tut-btn"
6-
color="secondary"
7-
label="Get Started with OverVue"
8-
@click="toggleTutorial"
9-
/>
3+
<section id="advancedFunctions">
4+
<h6 class="tutorialHeading">Advanced Functions Here!</h6>
5+
<p class="tutorialContent">Some fancier functionality here</p>
6+
<q-btn
7+
class="tut-btn"
8+
color="secondary"
9+
label="Get Started with OverVue"
10+
@click="toggleTutorial"
11+
/>
12+
</section>
1013
</template>
1114

1215
<script>
@@ -20,9 +23,23 @@ export default {
2023
</script>
2124

2225
<style scoped>
23-
#tut-btn {
24-
height: 15px;
25-
margin: 0 0.75rem;
26+
#advancedFunctions{
27+
display: flex;
28+
flex-direction: column;
29+
justify-content: center;
30+
align-items: center;
31+
}
32+
33+
.tutorialHeading {
34+
margin: .75rem;
35+
}
36+
37+
.tutorialContent {
38+
margin: .75rem;
39+
}
40+
41+
.tut-btn {
42+
margin: 0.75rem;
2643
width: 50%;
2744
}
2845
</style>

src/components/dashboard_items/tutorial/BasicFunctions.vue

Lines changed: 22 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,15 @@
11
<template>
22
<!--Basic functionality here, add component, copy/paste, undo/redo, add html, saving, loading, exporting-->
3-
Basic Functions Here!
3+
<section id="basicFunctions">
4+
<h6 class="tutorialHeading">Basic Functions Here!</h6>
5+
<p class="tutorialContent">Explain some basic functionality here</p>
46
<q-btn
5-
id="tut-btn"
7+
class="tut-btn"
68
color="secondary"
79
label="Advanced Functionality"
810
@click="nextTab"
911
/>
12+
</section>
1013
</template>
1114

1215
<script>
@@ -24,9 +27,23 @@ export default {
2427
</script>
2528

2629
<style scoped>
27-
#tut-btn {
28-
height: 15px;
29-
margin: 0 0.75rem;
30+
#basicFunctions{
31+
display: flex;
32+
flex-direction: column;
33+
justify-content: center;
34+
align-items: center;
35+
}
36+
37+
.tutorialHeading {
38+
margin: .75rem;
39+
}
40+
41+
.tutorialContent {
42+
margin: .75rem;
43+
}
44+
45+
.tut-btn {
46+
margin: 0.75rem;
3047
width: 50%;
3148
}
3249
</style>
Lines changed: 28 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,20 @@
11
<template>
22
<!--Landing page-->
3-
Welcome to OverVue!
3+
<section id="welcomeTab">
4+
<h6 class="tutorialHeading">Welcome to OverVue!</h6>
45
<q-btn
5-
id="tut-btn"
6+
class="tut-btn"
67
color="secondary"
78
label="Learn More"
89
@click="nextTab"
910
/>
1011
<q-btn
11-
id="tut-btn"
12-
color="secondary"
12+
class="tut-btn"
13+
id="closeTutorialButton"
1314
label="Close Tutorial"
1415
@click="toggleTutorial"
1516
/>
17+
</section>
1618
</template>
1719

1820
<script>
@@ -28,12 +30,30 @@ export default {
2830
}
2931
</script>
3032

31-
<style scoped>
33+
<style lang="scss" scoped>
34+
#welcomeTab{
35+
display: flex;
36+
flex-direction: column;
37+
justify-content: center;
38+
align-items: center;
39+
}
40+
.tutorialHeading {
41+
margin: .75rem;
42+
}
3243
33-
#tut-btn {
34-
height: 15px;
35-
margin: 0 0.75rem;
44+
.tutorialContent {
45+
margin: .75rem;
46+
}
47+
48+
.tut-btn {
49+
margin: 0.75rem;
3650
width: 50%;
3751
}
3852
53+
#closeTutorialButton {
54+
background-color: $subprimary;
55+
color: $menutext;
56+
border: 1px solid $menutext;
57+
}
58+
3959
</style>

0 commit comments

Comments
 (0)