-
-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathgforms.scss
126 lines (126 loc) · 4.24 KB
/
gforms.scss
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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
.gform_wrapper {
.gform_body {
.gfield {
a {
color: $alert-color;
font-weight: bold;
&:hover {
text-decoration: underline;
}
}
input {
width: 100% !important;
}
&.gfield_html {
blockquote {
padding-bottom: .5rem;
color: darken($dark-gray,15);
border-left: 1px solid $dark-gray;
font-style: italic;
p {
line-height: 1.8rem;
}
}
}
}
.ginput_container {
.chosen-single {
display: flex;
height: 40px;
align-items: center;
span {
color: $black;
}
div {
b {
position: relative;
top: .4rem;
}
}
.chosen-search {
.chosen-search-input {
width: 100% !important;
}
}
}
.gfield_radio {
li {
display: flex;
align-items: flex-start;
label {
width: 100%;
max-width: 100%;
}
input[type=radio] {
position: relative;
width: 23px !important;
height: 23px;
margin-bottom: 0;
margin-right: 1rem;
border-radius: 50%;
background: $white;
border: 1px solid $medium-gray;
-webkit-appearance: none;
-moz-appearance: none;
cursor: pointer;
&:checked {
&:after {
content: "\f159";
position: absolute;
top: 0;
left: .05rem;
font-family: 'Dashicons';
font-size: 1.2rem;
color: $primary-color;
}
}
}
}
}
.gfield_checkbox {
li {
display: flex;
align-items: center;
input[type=checkbox] {
position: relative;
width: 23px !important;
height: 23px;
margin-bottom: 0;
margin-right: 1rem;
background: $white;
border: 1px solid $medium-gray;
-webkit-appearance: none;
-moz-appearance: none;
cursor: pointer;
&:checked {
&:after {
content: "\f147";
position: absolute;
top: 0;
left: 0;
font-family: 'Dashicons';
font-size: 1.2rem;
color: $primary-color;
}
}
}
}
}
.gfield_select {
padding-right: 1.5rem;
}
}
}
.gform_footer {
text-align: center;
.gform_button {
@include button(false,$secondary-color,lighten($secondary-color,5),$white, solid);
}
}
}
.page-body .gform_wrapper .gform_body input:not([type="radio"]):not([type="checkbox"]):not([type="submit"]):not([type="button"]):not([type="image"]):not([type="file"]) {
padding: 5px 4px !important;
/*width: auto !important;*/
font-size: 1rem !important;
border: 1px solid lightgray;
}