1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
<template>
<div class="form-group row">
<label class="col-md-4 col-form-label text-md-right" :for="this.id">{{label}}</label>
<input class="col-md-6 form-control " type="text" :id="this.id" :name="this.id">
</div>
</template>
<script>
export default {
props: {
id: { type: String, default: ''},
label: { type: String, default: 'label' }
}
}
</script>
<style>
.form-group {
margin-bottom: 3rem;
}
.row {
display: flex;
flex-wrap: wrap;
}
.col-md-4 {
flex: 0 0 33.3333333333%;
max-width: 33.3333333333%;
}
.text-md-right {
text-align: right !important;
}
.col-form-label {
padding-top: calc(0.375rem + 1px);
padding-bottom: calc(0.375rem + 1px);
margin-bottom: 0;
line-height: 1.6;
font-style: normal;
font-weight: bold;
font-size: 24px;
line-height: 42px;
color: #000000;
}
.col-md-6 {
flex: 0 0 50%;
max-width: 50%;
}
.col-md-4, .col-md-6{
position: relative;
width: 100%;
padding-right: 15px;
padding-left: 15px;
}
.form-control {
display: block;
width: 100%;
padding: 0.375rem 0.75rem;
font-size: 1rem;
font-weight: 400;
line-height: 1.6;
color: #495057;
background-color: #fff;
background-clip: padding-box;
border: 1px solid #ced4da;
border-radius: 0.25rem;
transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
</style>