Skip to content

Commit acba0e3

Browse files
authored
Quiz theme renamed and moved, f-title renamed, small CSS fixes (#97)
1 parent ba1b16d commit acba0e3

File tree

6 files changed

+12
-9
lines changed

6 files changed

+12
-9
lines changed

examples/questionnaire/branding.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ header svg.logo{
3737
.v-form input[type=tel],
3838
.v-form input[type=email],
3939
.v-form input[type=url],
40+
.v-form input[type=password],
4041
.v-form textarea,
4142
.v-form span.faux-form {
4243
border-bottom-color: var(--secondary-text-color);
@@ -168,7 +169,7 @@ span.f-answered{
168169
}
169170

170171
/*text-muted*/
171-
span.f-title,
172+
span.f-tagline,
172173
span.f-sub,
173174
p.description,
174175
.text-muted {

examples/quiz/Example.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@
329329
</script>
330330

331331
<style lang="css">
332-
@import './branding.css';
332+
@import '../../src/assets/css/themes/purple-theme.css';
333333
/* If using the npm package, use the following lines instead of the one above */
334334
/* @import '~@ditdot-dev/vue-flow-form/dist/vue-flow-form.css'; */
335335
/* @import '~@ditdot-dev/vue-flow-form/dist/vue-flow-form.theme.css'; */

src/assets/css/common.css

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -367,14 +367,14 @@ h3,
367367
}
368368

369369
/*misc-typography*/
370-
span.f-title,
370+
span.f-tagline,
371371
span.f-sub {
372372
font-weight: 400;
373373
display: block;
374374
font-size: 1.222rem;
375375
}
376376

377-
span.f-title,
377+
span.f-tagline,
378378
span.f-text {
379379
margin-bottom: 8px;
380380
}
@@ -623,12 +623,12 @@ a.f-disabled {
623623
width: 12px;
624624
}
625625

626-
span.f-title,
626+
span.f-tagline,
627627
span.f-sub {
628628
font-size: 1.1rem;
629629
}
630630

631-
span.f-title {
631+
span.f-tagline {
632632
line-height: 1.6;
633633
}
634634

src/assets/css/themes/green-theme.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ header svg.logo {
5454
.v-form input[type=tel],
5555
.v-form input[type=email],
5656
.v-form input[type=url],
57+
.v-form input[type=password],
5758
.v-form textarea,
5859
.v-form span.faux-form {
5960
border-bottom-color: var(--secondary-text-color);
@@ -156,7 +157,7 @@ span.f-answered{
156157
}
157158

158159
/*text-muted*/
159-
span.f-title,
160+
span.f-tagline,
160161
span.f-sub,
161162
p.description,
162163
.text-muted {

examples/quiz/branding.css renamed to src/assets/css/themes/purple-theme.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ header svg.logo{
5757
.v-form input[type=tel],
5858
.v-form input[type=email],
5959
.v-form input[type=url],
60+
.v-form input[type=password],
6061
.v-form textarea,
6162
.v-form span.faux-form {
6263
border-bottom-color: var(--secondary-text-color);
@@ -189,7 +190,7 @@ span.f-answered{
189190
}
190191

191192
/*text-muted*/
192-
span.f-title,
193+
span.f-tagline,
193194
span.f-sub,
194195
p.description,
195196
.text-muted {

src/components/Question.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<div class="q-inner">
66
<div v-bind:class="{'section-wrap': question.type === QuestionType.SectionBreak}">
77
<div v-bind:class="{'fh2': question.type !== QuestionType.SectionBreak}">
8-
<span class="f-title" v-if="question.tagline">{{ question.tagline }}</span>
8+
<span class="f-tagline" v-if="question.tagline">{{ question.tagline }}</span>
99

1010
<template v-if="question.title">
1111
<span class="fh2" v-if="question.type === QuestionType.SectionBreak">{{ question.title }}</span>

0 commit comments

Comments
 (0)