-
Notifications
You must be signed in to change notification settings - Fork 0
/
ninja-forms.less
92 lines (89 loc) · 2.46 KB
/
ninja-forms.less
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
.ninja-forms-form-wrap{
.make-row();
h2{
.make-xs-column(12);
.make-sm-column(12);
.make-md-column(12);
.make-lg-column(12);
}
}
.ninja-forms-required-items{
.make-xs-column(12);
.make-sm-column(12);
.make-md-column(12);
.make-lg-column(12);
}
.ninja-forms-response-msg{
&.ninja-forms-error-msg{
.make-xs-column(12);
.make-sm-column(12);
.make-md-column(12);
.make-lg-column(12);
}
}
.field-wrap, #ninja_forms_required_items {
// xs
&.col-xs-1-wrap{.make-xs-column(1);}
&.col-xs-2-wrap{.make-xs-column(2);}
&.col-xs-3-wrap{.make-xs-column(3);}
&.col-xs-4-wrap{.make-xs-column(4);}
&.col-xs-5-wrap{.make-xs-column(5);}
&.col-xs-6-wrap{.make-xs-column(6);}
&.col-xs-7-wrap{.make-xs-column(7);}
&.col-xs-8-wrap{.make-xs-column(8);}
&.col-xs-9-wrap{.make-xs-column(9);}
&.col-xs-10-wrap{.make-xs-column(10);}
&.col-xs-11-wrap{.make-xs-column(11);}
&.col-xs-12-wrap{.make-xs-column(12);}
// sm
&.col-sm-1-wrap{.make-sm-column(1);}
&.col-sm-2-wrap{.make-sm-column(2);}
&.col-sm-3-wrap{.make-sm-column(3);}
&.col-sm-4-wrap{.make-sm-column(4);}
&.col-sm-5-wrap{.make-sm-column(5);}
&.col-sm-6-wrap{.make-sm-column(6);}
&.col-sm-7-wrap{.make-sm-column(7);}
&.col-sm-8-wrap{.make-sm-column(8);}
&.col-sm-9-wrap{.make-sm-column(9);}
&.col-sm-10-wrap{.make-sm-column(10);}
&.col-sm-11-wrap{.make-sm-column(11);}
&.col-sm-12-wrap{.make-sm-column(12);}
// md
&.col-md-1-wrap{.make-md-column(1);}
&.col-md-2-wrap{.make-md-column(2);}
&.col-md-3-wrap{.make-md-column(3);}
&.col-md-4-wrap{.make-md-column(4);}
&.col-md-5-wrap{.make-md-column(5);}
&.col-md-6-wrap{.make-md-column(6);}
&.col-md-7-wrap{.make-md-column(7);}
&.col-md-8-wrap{.make-md-column(8);}
&.col-md-9-wrap{.make-md-column(9);}
&.col-md-10-wrap{.make-md-column(10);}
&.col-md-11-wrap{.make-md-column(11);}
&.col-md-12-wrap{.make-md-column(12);}
// lg
&.col-lg-1-wrap{.make-lg-column(1);}
&.col-lg-2-wrap{.make-lg-column(2);}
&.col-lg-3-wrap{.make-lg-column(3);}
&.col-lg-4-wrap{.make-lg-column(4);}
&.col-lg-5-wrap{.make-lg-column(5);}
&.col-lg-6-wrap{.make-lg-column(6);}
&.col-lg-7-wrap{.make-lg-column(7);}
&.col-lg-8-wrap{.make-lg-column(8);}
&.col-lg-9-wrap{.make-lg-column(9);}
&.col-lg-10-wrap{.make-lg-column(10);}
&.col-lg-11-wrap{.make-lg-column(11);}
&.col-lg-12-wrap{.make-lg-column(12);}
}
// buttons
.field-wrap.submit-wrap {
.ninja-forms-field {
&.btn{
margin-left: 0px
}
}
.make-xs-column(12);
.make-sm-column(12);
.make-md-column(12);
.make-lg-column(12);
}