Skip to content

Commit 307e903

Browse files
committed
code maintenance
1 parent 76aeb52 commit 307e903

File tree

1 file changed

+15
-14
lines changed

1 file changed

+15
-14
lines changed

src/formGenerator.vue

+15-14
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ div
1717

1818
<script>
1919
import Vue from "vue";
20-
//import Joi from "joi";
2120
import {each, isFunction, isNil, isArray, isString} from "lodash";
2221
2322
// Load all fields from '../fields' folder
@@ -161,7 +160,7 @@ div
161160

162161
<style lang="sass">
163162
164-
$errorColor: lighten(#F00, 0%);
163+
$errorColor: #F00;
165164
166165
fieldset.vue-form-generator {
167166
@@ -183,7 +182,8 @@ div
183182
border-radius: 4px;
184183
box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
185184
transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
186-
}
185+
186+
} // .form-control
187187
188188
span.help {
189189
margin-left: 0.3em;
@@ -196,7 +196,8 @@ div
196196
background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QA/wD/AP+gvaeTAAAA+UlEQVQ4ja3TS0oDQRAG4C8+lq7ceICICoLGK7iXuNBbeAMJuPVOIm7cqmDiIncIggg+cMZFaqCnZyYKWtB0df31V1VXdfNH6S2wD9CP8xT3KH8T9BiTcE7XBMOfyBcogvCFO9ziLWwFRosyV+QxthNsA9dJkEYlvazsQdi3sBv6Ol6TBLX+HWT3fcQZ3vGM5fBLk+ynAU41m1biCXvhs4OPBDuBpa6GxF0P8YAj3GA1d1qJfdoS4DOIcIm1DK9x8iaWeDF/SP3QU6zRROpjLDFLsFlibx1jJaMkSIGrWKntvItcyTBKzCcybsvc9ZmYz3kz9Ooz/b98A8yvW13B3ch6AAAAAElFTkSuQmCC');
197197
background-repeat: no-repeat;
198198
background-position: center center;
199-
}
199+
200+
} // .icon
200201
201202
.helpText {
202203
background-color: #444;
@@ -219,8 +220,9 @@ div
219220
a {
220221
font-weight: bold;
221222
text-decoration: underline;
222-
}
223-
}
223+
} // a
224+
225+
} // .helpText
224226
225227
/* This bridges the gap so you can mouse into the tooltip without it disappearing */
226228
.helpText:before {
@@ -237,7 +239,8 @@ div
237239
opacity: 1;
238240
pointer-events: auto;
239241
transform: translateY(0px);
240-
}
242+
}
243+
241244
} // span.help
242245
243246
.field-wrap {
@@ -284,14 +287,16 @@ div
284287
outline: 0;
285288
box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
286289
}
287-
}
288-
}
290+
291+
} // button, input[submit]
292+
293+
} // .field-wrap
289294
290295
.hint {
291296
font-style: italic;
292297
font-size: 0.8em;
293-
}
294298
299+
} // .hint
295300
296301
.form-group {
297302
display: inline-block;
@@ -330,10 +335,6 @@ div
330335
331336
&.error {
332337
333-
label {
334-
//color: $errorColor;
335-
}
336-
337338
input:not([type="checkbox"]), textarea, select {
338339
border: 1px solid $errorColor;
339340
background-color: rgba($errorColor, 0.15);

0 commit comments

Comments
 (0)