Skip to content

Commit ae08ee1

Browse files
committed
Code styles and minor themes design corrections
1 parent 3d359e8 commit ae08ee1

File tree

4 files changed

+20
-20
lines changed

4 files changed

+20
-20
lines changed

examples/quiz/Example.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<header>
66
<div class="f-container">
77
<!-- Add custom logo here -->
8-
<svg xmlns="http://www.w3.org/2000/svg" width='150' height='32' fill='white' viewBox="0 0 361.3 69.57">
8+
<svg xmlns="http://www.w3.org/2000/svg" width='150' height='30' fill='white' viewBox="0 0 361.3 69.57">
99
<g data-name="Layer 2">
1010
<g data-name="Layer 1">
1111
<path d="M35.05 12.34h-22v9.88h20.24v10H13.08V54.7H0V2.36h35.05zM79 35q0 9.74-5.32 15.35t-15.07 5.6q-9.68 0-15-5.6T38.25 35q0-9.84 5.36-15.42t15-5.57q9.7 0 15 5.61T79 35zm-12.62.07a24.64 24.64 0 00-.58-5.85 10.88 10.88 0 00-1.6-3.75 6 6 0 00-2.46-2.05 7.91 7.91 0 00-3.13-.58 8.34 8.34 0 00-3 .51 5.82 5.82 0 00-2.46 2A10.8 10.8 0 0051.5 29a24.06 24.06 0 00-.63 6 23.19 23.19 0 00.6 5.85A11 11 0 0053 44.47a5.77 5.77 0 002.46 2 8.22 8.22 0 003.27.63 7.84 7.84 0 003-.63 5.68 5.68 0 002.45-1.9 11.19 11.19 0 001.65-3.64 24.4 24.4 0 00.58-5.88zM112.08 26.86h-1a9.16 9.16 0 00-2-.37c-.89-.08-1.88-.12-3-.12a16 16 0 00-4.06.56 36.9 36.9 0 00-4.13 1.34V54.7H85.57V15.22h12.31v5.66c.56-.51 1.34-1.16 2.33-1.95a23.8 23.8 0 012.73-1.88 15.17 15.17 0 013.11-1.39 11 11 0 013.36-.58h1.33c.49 0 .94.06 1.34.1zM164 54.7V35c0-1.94 0-3.59-.11-4.92a10 10 0 00-.63-3.27 3.59 3.59 0 00-1.63-1.85 6.93 6.93 0 00-3.12-.58 6.71 6.71 0 00-2.77.62 18.65 18.65 0 00-3 1.74v28h-12.4V35c0-1.92 0-3.56-.12-4.9a10.27 10.27 0 00-.65-3.29 3.59 3.59 0 00-1.63-1.85 6.84 6.84 0 00-3.08-.58 6.63 6.63 0 00-3 .71 21.81 21.81 0 00-2.82 1.65v28h-12.3V15.22h12.3v4.36a34.59 34.59 0 015.7-4 12.45 12.45 0 016-1.44 11.68 11.68 0 016.36 1.73 10.78 10.78 0 014.25 5.13 36.16 36.16 0 016.65-5.09 12.93 12.93 0 016.39-1.78 13.23 13.23 0 014.92.88 9.57 9.57 0 013.69 2.64 12.47 12.47 0 012.48 4.52 23.27 23.27 0 01.82 6.83v25.7zM254.85 68.55a32.87 32.87 0 01-4.24.78 65.92 65.92 0 01-6.66.24 21.07 21.07 0 01-7-1 12.93 12.93 0 01-4.83-2.94 11.81 11.81 0 01-2.9-4.43 17.71 17.71 0 01-1.11-5.52q-11.12-.49-17.49-7.7t-6.38-19.4q0-12.63 6.75-20t18.6-7.33q11.81 0 18.59 7.29t6.79 20a31.14 31.14 0 01-3.85 15.87 21.31 21.31 0 01-10.88 9.4c0 2.56.61 4.32 1.7 5.3s3 1.45 5.75 1.45a12.87 12.87 0 003.31-.46 13 13 0 002.55-.9h1.3zm-17-26.75a17.08 17.08 0 002.6-5.33 28.31 28.31 0 00.92-8 28.3 28.3 0 00-1-8 16.55 16.55 0 00-2.58-5.4 10 10 0 00-3.79-2.99 10.92 10.92 0 00-4.41-.94 10.72 10.72 0 00-4.39.87 10.51 10.51 0 00-3.8 3.07 16 16 0 00-2.62 5.42 28.41 28.41 0 00-1 8.05 28.14 28.14 0 001 8 16.17 16.17 0 002.6 5.33 9.8 9.8 0 003.76 3.12 11 11 0 004.43.93 10.61 10.61 0 004.5-1 9.77 9.77 0 003.76-3.13zM298.65 54.7h-12.3v-4.36a33.11 33.11 0 01-5.87 4.06 13.61 13.61 0 01-6.37 1.39q-5.87 0-9.15-3.71t-3.29-11.16v-25.7H274V34.8c0 2 .06 3.71.16 5a10.09 10.09 0 00.76 3.27 3.84 3.84 0 001.74 1.86 7 7 0 003.28.63 9.42 9.42 0 003.08-.63 13.4 13.4 0 003.29-1.72v-28h12.3zM320.73 9.6h-13V0h13zm-.35 45.1h-12.31V15.22h12.31zM361.3 54.7h-34.52v-8.12l18.84-22.11h-18v-9.25h33.29v8L342 45.28h19.3z"/>

src/assets/css/common.css

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,7 @@ svg.logo {
131131
opacity: 1;
132132
}
133133

134+
/**/
134135
.v-form button,
135136
.v-form input {
136137
-webkit-appearance: none;
@@ -144,7 +145,7 @@ svg.logo {
144145
border: none;
145146
outline: 0;
146147
cursor: pointer;
147-
padding: 0.6rem 1.4rem;
148+
padding: .6rem 1.4rem;
148149
text-align: center;
149150
display: inline-block;
150151
min-height: 44px;
@@ -182,10 +183,7 @@ svg.logo {
182183

183184
/*v-form*/
184185
.v-form {
185-
margin-top: 26vh;
186-
margin-left: 10vw;
187-
margin-right: 10vw;
188-
margin-bottom: 90px;
186+
margin: 26vh 10vw 80px;
189187
position: relative;
190188
text-align: left;
191189
}
@@ -412,7 +410,7 @@ span.f-sub span.f-help{
412410
}
413411

414412
span.f-sub span + span.f-help {
415-
margin-top: 8px;
413+
margin-top: 0;
416414
}
417415

418416
span.f-text {
@@ -543,7 +541,7 @@ a.f-disabled {
543541

544542
/**/
545543
.section-wrap {
546-
margin-bottom: 32px;
544+
margin-bottom: 30px;
547545
}
548546

549547
.section-wrap > div {
@@ -555,7 +553,7 @@ a.f-disabled {
555553
max-width: 760px;
556554
}
557555

558-
f.submit {
556+
.f-submit {
559557
margin-bottom: 20px;
560558
}
561559

@@ -642,6 +640,10 @@ f.submit {
642640
padding-bottom: .4rem;
643641
}
644642

643+
.v-form button {
644+
min-height: 42px;
645+
}
646+
645647
.f-arrow-down {
646648
width: 12px;
647649
}

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

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,6 @@ span.f-answered{
118118
}
119119

120120
/*buttons*/
121-
122121
.o-btn-action {
123122
color: var(--bg-color);
124123
background-color: var(--main-text-color);
@@ -137,7 +136,7 @@ span.f-answered{
137136

138137
@media screen and (max-width:479px) {
139138
.f-footer .footer-inner-wrap{
140-
background-color: rgba(180,180,180,0.15);
139+
background-color: rgba(240,240,240,0.75);
141140
}
142141

143142
}
@@ -227,7 +226,7 @@ p.description,
227226

228227
/*footer*/
229228
.f-footer .footer-inner-wrap{
230-
background-color: var(--bg-color);
229+
background-color: rgba(49,54,64,0.75);
231230
}
232231

233232
.f-footer .f-prev svg,
@@ -240,10 +239,6 @@ p.description,
240239
fill: var(--main-text-color);
241240
}
242241

243-
.f-footer .footer-inner-wrap{
244-
background-color: var(--bg-color);
245-
}
246-
247242
.f-prev:hover,
248243
.f-next:hover{
249244
background-color: rgba(0,0,0,0.2);

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

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
--tertiary-text-color: #f1f1f1;
1616
--main-accent-color: #27ae60;
1717
--secondary-accent-color: #2ecc71;
18-
--tertiary-accent-color: #8e44ad;
18+
--tertiary-accent-color: #8e44ad;
1919
--header-color: var(--tertiary-accent-color);
2020
--header-border-color: transparent;
2121
--button-color: var(--main-accent-color);
@@ -153,8 +153,9 @@ span.f-answered{
153153

154154
@media screen and (max-width:479px) {
155155
.f-footer .footer-inner-wrap{
156-
background-color: rgba(0,0,0,0.05);
156+
background-color: rgba(230,230,230,0.75);
157157
}
158+
158159
}
159160

160161
.f-footer .f-prev svg,
@@ -225,7 +226,6 @@ p.description,
225226
}
226227

227228
/*footer*/
228-
229229
.f-footer .f-prev.f-disabled svg,
230230
.f-footer .f-next.f-disabled svg {
231231
fill: var(--main-text-color);
@@ -235,8 +235,11 @@ p.description,
235235
filter: brightness(1);
236236
}
237237

238-
/*field-multiplechoicetype*/
238+
.f-footer .footer-inner-wrap{
239+
background-color: rgba(44,62,80,0.75);
240+
}
239241

242+
/*field-multiplechoicetype*/
240243
.f-key {
241244
font-weight: 400;
242245
}

0 commit comments

Comments
 (0)