File tree Expand file tree Collapse file tree 2 files changed +17
-7
lines changed Expand file tree Collapse file tree 2 files changed +17
-7
lines changed Original file line number Diff line number Diff line change 105
105
106
106
> .plugin_formcreator_section {
107
107
line-height : 32px ;
108
- background : #CCC ;
108
+ background-color : var ( --table-head-bg ) ;
109
109
padding-bottom : 1px ;
110
110
display : flex ;
111
111
flex-wrap : wrap ;
118
118
text-overflow : ellipsis ;
119
119
flex : 1 ;
120
120
margin : 5px 0 0 5px ;
121
+ color : inherit ;
121
122
}
122
123
}
123
124
}
149
150
padding-left : 16px ;
150
151
padding-right : 10px ;
151
152
margin : 0 2px ;
152
- background : #F0F0F0 ;
153
+ background-color : var ( --light-mix ) ;
153
154
display : flex ;
154
155
align-items : center ;
156
+
157
+ > i {
158
+ min-width : 14px ;
159
+ }
155
160
}
156
161
157
162
.grid-stack-item .grid-stack-item-content a [data-field = name ] {
175
180
}
176
181
177
182
.plugin_formcreator_question {
178
- background : #F0F0F0 ;
183
+ background-color : var ( --tabs-active-bg ) ;
179
184
margin : 5px 2px ;
180
185
padding-left : 15px ;
181
186
flex : 1 ;
187
+
188
+ a {
189
+ color : inherit ;
190
+ }
182
191
}
183
192
184
193
/* actions on sections or questions */
@@ -350,7 +359,7 @@ form#plugin_formcreator_form {
350
359
}
351
360
#plugin_formcreator_form .form-group > .help-block {
352
361
font-size : 0.8em ;
353
- color : #333 ;
362
+ color : var ( --text-muted ) ;
354
363
padding : 3px 0 ;
355
364
356
365
p {
@@ -996,7 +1005,8 @@ a.plugin_formcreator_formTile_title {
996
1005
/* Count of conditions in design view */
997
1006
.plugin_formcreator_conditions_count {
998
1007
border-radius : 50% ;
999
- background-color : #FFF ;
1008
+ background-color : var (--contrast-dark );
1009
+ color : var (--contrast-light );
1000
1010
min-width : 18px ;
1001
1011
height : 18px ;
1002
1012
text-align : center ;
Original file line number Diff line number Diff line change @@ -250,13 +250,13 @@ public function getDesignHtml() : string {
250
250
$ html .= "</span> " ;
251
251
252
252
// Toggle mandatory for the question
253
+ $ html .= "<span class='form_control pointer'> " ;
253
254
if ($ fieldType ::canRequire ()) {
254
- $ html .= "<span class='form_control pointer'> " ;
255
255
$ required = ($ this ->fields ['required ' ] == '0 ' ) ? 'far fa-circle ' : 'far fa-check-circle ' ;
256
256
$ html .= '<i class=" ' . $ required .'"
257
257
onclick="plugin_formcreator.toggleRequired(this)"></i> ' ;
258
- $ html .= "</span> " ;
259
258
}
259
+ $ html .= "</span> " ;
260
260
261
261
$ html .= '</div> ' ; // grid stack item content
262
262
You can’t perform that action at this time.
0 commit comments