Skip to content

Commit 7823f0d

Browse files
committed
Fix code style
1 parent fefbfd0 commit 7823f0d

File tree

4 files changed

+73
-93
lines changed

4 files changed

+73
-93
lines changed

src/assets/css/common.css

+49-64
Original file line numberDiff line numberDiff line change
@@ -19,29 +19,25 @@
1919
.vff-footer {
2020
font-size: 15px;
2121
}
22-
2322
}
2423

2524
@media screen and (min-width:1366px) {
2625
.vff,
2726
.vff-footer {
2827
font-size: 18px;
2928
}
30-
3129
}
3230

3331
@media screen and (min-width:1920px) {
3432
.vff {
3533
font-size: 22px;
3634
}
37-
3835
}
3936

4037
@media screen and (min-width:2560px) {
4138
.vff {
4239
font-size: 25px;
4340
}
44-
4541
}
4642

4743
/*
@@ -278,24 +274,23 @@ header.vff-header svg.f-logo {
278274
border-radius: 0;
279275
margin: 0 .2em;
280276
padding: .1em 0 .15em;
281-
font-size: .72em;
277+
font-size: .5em;
282278
line-height: normal;
283279
font-weight: 900;
284280
}
285281

286-
.vff input[type=file]:focus {
282+
.vff input[type="file"]:focus {
287283
outline: 1px dotted #000;
288284
outline-offset: 4px;
289285
}
290286

291287
@media (prefers-color-scheme: dark) {
292-
.vff input[type=file]:focus{
288+
.vff input[type="file"]:focus{
293289
outline-color: #fff;
294290
}
295-
296291
}
297292

298-
.vff input[type=file]::-webkit-file-upload-button {
293+
.vff input[type="file"]::-webkit-file-upload-button {
299294
appearance: none;
300295
-moz-appearance: none;
301296
-webkit-appearance: none;
@@ -316,11 +311,11 @@ header.vff-header svg.f-logo {
316311
background-color: #efefef;
317312
}
318313

319-
.vff input[type=file]::-webkit-file-upload-button:active {
314+
.vff input[type="file"]::-webkit-file-upload-button:active {
320315
color: #000;
321316
}
322317

323-
.vff input[type=file]::file-selector-button {
318+
.vff input[type="file"]::file-selector-button {
324319
min-height: 44px;
325320
display: inline-block;
326321
white-space: pre-wrap;
@@ -405,13 +400,13 @@ header.vff-header svg.f-logo {
405400
z-index: 1;
406401
}
407402

408-
.vff input[type=text],
409-
.vff input[type=number],
410-
.vff input[type=tel],
411-
.vff input[type=email],
412-
.vff input[type=url],
413-
.vff input[type=password],
414-
.vff input[type=date],
403+
.vff input[type="text"],
404+
.vff input[type="number"],
405+
.vff input[type="tel"],
406+
.vff input[type="email"],
407+
.vff input[type="url"],
408+
.vff input[type="password"],
409+
.vff input[type="date"],
415410
.vff textarea {
416411
-webkit-appearance: none;
417412
-moz-appearance: none;
@@ -439,14 +434,14 @@ header.vff-header svg.f-logo {
439434
resize: vertical;
440435
}
441436

442-
.vff .f-full-width input[type=text],
443-
.vff .f-full-width input[type=number],
444-
.vff .f-full-width input[type=tel],
445-
.vff .f-full-width input[type=email],
446-
.vff .f-full-width input[type=url],
447-
.vff .f-full-width input[type=password],
448-
.vff .f-full-width input[type=date],
449-
.vff .f-full-width input[type=file],
437+
.vff .f-full-width input[type="text"],
438+
.vff .f-full-width input[type="number"],
439+
.vff .f-full-width input[type="tel"],
440+
.vff .f-full-width input[type="email"],
441+
.vff .f-full-width input[type="url"],
442+
.vff .f-full-width input[type="password"],
443+
.vff .f-full-width input[type="date"],
444+
.vff .f-full-width input[type="file"],
450445
.vff .f-full-width textarea,
451446
.vff .f-full-width span.faux-form {
452447
width: 100%;
@@ -515,7 +510,7 @@ header.vff-header svg.f-logo {
515510
padding: 0.12em .2em;
516511
}
517512

518-
.vff.vff-is-ios input[type=date] {
513+
.vff.vff-is-ios input[type="date"] {
519514
height: 32px;
520515
display: block;
521516
}
@@ -535,8 +530,8 @@ header.vff-header svg.f-logo {
535530
.vff a.f-link:active,
536531
.vff .field-submit .f-section-wrap a:hover,
537532
.vff .field-submit .f-section-wrap a:active {
538-
color: inherit;
539-
border-bottom: none;
533+
color: inherit;
534+
border-bottom: none;
540535
}
541536

542537
/*
@@ -657,7 +652,7 @@ header.vff-header svg.f-logo {
657652
overflow: hidden;
658653
}
659654

660-
.vff ul.f-radios li.f-other input[type=text] {
655+
.vff ul.f-radios li.f-other input[type="text"] {
661656
border-bottom: none;
662657
width: 100%;
663658
padding: 0;
@@ -673,7 +668,7 @@ header.vff-header svg.f-logo {
673668

674669
.vff .f-radios-desc,
675670
.vff ul.f-radios li,
676-
.vff ul.f-radios li input[type=text] {
671+
.vff ul.f-radios li input[type="text"] {
677672
font-size: .4em;
678673
}
679674

@@ -986,8 +981,7 @@ header.vff-header svg.f-logo {
986981

987982
100% {
988983
opacity: 1;
989-
}
990-
984+
}
991985
}
992986

993987
.vff .f-fade-in-down {
@@ -1004,7 +998,6 @@ header.vff-header svg.f-logo {
1004998
opacity: 1;
1005999
transform: none;
10061000
}
1007-
10081001
}
10091002

10101003
.vff .f-fade-in-up {
@@ -1021,7 +1014,6 @@ header.vff-header svg.f-logo {
10211014
opacity: 1;
10221015
transform: none;
10231016
}
1024-
10251017
}
10261018

10271019
/*
@@ -1038,15 +1030,13 @@ header.vff-header svg.f-logo {
10381030
.vff .fh2 {
10391031
padding-right: 2.2em;
10401032
}
1041-
10421033
}
10431034

10441035
@media only screen and (min-width: 1920px) {
10451036
.vff .field-sectionbreak,
10461037
.vff .field-submit {
10471038
max-width: 1160px;
10481039
}
1049-
10501040
}
10511041

10521042
@media screen and (max-width: 1366px) {
@@ -1055,7 +1045,6 @@ header.vff-header svg.f-logo {
10551045
padding-right: 5%;
10561046
padding-left: 5%;
10571047
}
1058-
10591048
}
10601049

10611050
@media only screen and (max-width: 1023px) {
@@ -1068,7 +1057,6 @@ header.vff-header svg.f-logo {
10681057
padding-left: 0;
10691058
padding-right: 0;
10701059
}
1071-
10721060
}
10731061

10741062
@media only screen and (max-width: 767px) {
@@ -1078,20 +1066,20 @@ header.vff-header svg.f-logo {
10781066
padding-right: 0;
10791067
}
10801068

1081-
.vff input[type=text],
1082-
.vff input[type=number],
1083-
.vff input[type=tel],
1084-
.vff input[type=email],
1085-
.vff input[type=url],
1086-
.vff input[type=password],
1087-
.vff input[type=date],
1088-
.vff input[type=file],
1069+
.vff input[type="text"],
1070+
.vff input[type="number"],
1071+
.vff input[type="tel"],
1072+
.vff input[type="email"],
1073+
.vff input[type="url"],
1074+
.vff input[type="password"],
1075+
.vff input[type="date"],
1076+
.vff input[type="file"],
10891077
.vff textarea {
10901078
font-size: .78em;
10911079
}
10921080

1093-
.vff input[type=file] {
1094-
font-size: .64em;
1081+
.vff input[type="file"] {
1082+
font-size: .4em;
10951083
}
10961084

10971085
.vff .fh2 span.f-sub,
@@ -1120,7 +1108,6 @@ header.vff-header svg.f-logo {
11201108
.vff .field-multiplepicturechoice ul.f-radios li span.f-image {
11211109
height: 90px;
11221110
}
1123-
11241111
}
11251112

11261113
@media screen and (max-width:479px) {
@@ -1137,20 +1124,20 @@ header.vff-header svg.f-logo {
11371124
margin-top: 0;
11381125
}
11391126

1140-
.vff input[type=text],
1141-
.vff input[type=number],
1142-
.vff input[type=tel],
1143-
.vff input[type=email],
1144-
.vff input[type=url],
1145-
.vff input[type=password],
1146-
.vff input[type=date],
1147-
.vff input[type=file],
1127+
.vff input[type="text"],
1128+
.vff input[type="number"],
1129+
.vff input[type="tel"],
1130+
.vff input[type="email"],
1131+
.vff input[type="url"],
1132+
.vff input[type="password"],
1133+
.vff input[type="date"],
1134+
.vff input[type="file"],
11481135
.vff textarea {
11491136
line-height: 1.4;
11501137
padding: .16em .2em;
11511138
}
11521139

1153-
.vff input[type=file] {
1140+
.vff input[type="file"] {
11541141
font-size: .6em;
11551142
}
11561143

@@ -1187,7 +1174,7 @@ header.vff-header svg.f-logo {
11871174
}
11881175

11891176
.vff ul.f-radios li,
1190-
.vff ul.f-radios li input[type=text] {
1177+
.vff ul.f-radios li input[type="text"] {
11911178
font-size: .62em;
11921179
}
11931180

@@ -1207,7 +1194,6 @@ header.vff-header svg.f-logo {
12071194
-ms-flex: 0 0 calc(50% - 8px);
12081195
flex: 0 0 calc(50% - 8px);
12091196
}
1210-
12111197
}
12121198

12131199
@media screen and (max-height:400px) {
@@ -1231,7 +1217,7 @@ header.vff-header svg.f-logo {
12311217

12321218
.vff .f-radios-desc,
12331219
.vff ul.f-radios li,
1234-
.vff ul.f-radios li input[type=text] {
1220+
.vff ul.f-radios li input[type="text"] {
12351221
font-size: 14px;
12361222
}
12371223

@@ -1248,5 +1234,4 @@ header.vff-header svg.f-logo {
12481234
.vff .field-multiplepicturechoice ul.f-radios li span.f-image {
12491235
height: 90px;
12501236
}
1251-
1252-
}
1237+
}

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

+8-9
Original file line numberDiff line numberDiff line change
@@ -63,13 +63,13 @@ header.vff-header svg.f-logo {
6363
color: var(--vff-main-accent-color);
6464
}
6565

66-
.vff input[type=text],
67-
.vff input[type=number],
68-
.vff input[type=tel],
69-
.vff input[type=email],
70-
.vff input[type=url],
71-
.vff input[type=password],
72-
.vff input[type=date],
66+
.vff input[type="text"],
67+
.vff input[type="number"],
68+
.vff input[type="tel"],
69+
.vff input[type="email"],
70+
.vff input[type="url"],
71+
.vff input[type="password"],
72+
.vff input[type="date"],
7373
.vff textarea,
7474
.vff span.faux-form {
7575
border-bottom-color: var(--vff-secondary-text-color);
@@ -334,5 +334,4 @@ header.vff-header svg.f-logo {
334334
color: var(--vff-main-accent-color);
335335
font-weight: 300;
336336
}
337-
338-
}
337+
}

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

+8-10
Original file line numberDiff line numberDiff line change
@@ -51,13 +51,13 @@ header.vff-header svg.f-logo {
5151
fill: rgba(0,0,0,0.9);
5252
}
5353

54-
.vff input[type=text],
55-
.vff input[type=number],
56-
.vff input[type=tel],
57-
.vff input[type=email],
58-
.vff input[type=url],
59-
.vff input[type=password],
60-
.vff input[type=date],
54+
.vff input[type="text"],
55+
.vff input[type="number"],
56+
.vff input[type="tel"],
57+
.vff input[type="email"],
58+
.vff input[type="url"],
59+
.vff input[type="password"],
60+
.vff input[type="date"],
6161
.vff textarea,
6262
.vff span.faux-form {
6363
border-bottom-color: var(--vff-secondary-text-color);
@@ -209,7 +209,6 @@ header.vff-header svg.f-logo {
209209
.vff-footer .footer-inner-wrap{
210210
background-color: rgba(240,240,240,0.75);
211211
}
212-
213212
}
214213

215214
.vff-footer .f-prev svg,
@@ -347,5 +346,4 @@ header.vff-header svg.f-logo {
347346
.vff .f-matrix-wrap::-webkit-scrollbar-thumb {
348347
background-color: var(--vff-main-accent-color);
349348
}
350-
351-
}
349+
}

0 commit comments

Comments
 (0)