forked from ukrbublik/react-awesome-query-builder
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcompact_styles.scss
107 lines (91 loc) · 1.57 KB
/
compact_styles.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
@mixin force_nomargin {
margin: 0px !important;
}
%force_nomargin {
@include force_nomargin;
}
.group, .rule {
}
.rule {
padding: 5px;
}
.group {
padding-left: 0px;
}
.rule_group {
padding-left: 5px;
}
.group--children {
@extend %force_nomargin;
padding-left: 10px !important;
& > .group-or-rule-container > .group-or-rule {
&::before, &::after {
left: -7px;
width: 7px;
}
}
& > .group-or-rule-container:first-child > .group-or-rule {
&::before {
top: -7px;
}
}
}
.group--conjunctions {
@extend %force_nomargin;
margin-left: 4px !important;
}
.group-or-rule-container {
margin-top: 5px;
margin-bottom: 5px;
padding-right: 5px;
}
.group--children {
margin-top: 5px !important;
margin-bottom: 5px !important;
}
.group--header,
.group--footer {
margin: {
top: 5px !important;
bottom: 5px !important;
}
}
.rule--operator, .widget--widget, .widget--valuesrc, .widget--sep {
margin-left: 5px;
}
.rule_group {
.group--actions {
margin-left: 5px;
}
.rule_group--children {
padding-left: 10px !important;
&.one--child {
padding-left: 5px !important;
}
& > .group-or-rule-container > .group-or-rule {
&::before, &::after {
left: -7px;
width: 7px;
}
}
}
}
.widget--valuesrc {
margin-right: -3px;
}
.operator--options--sep {
margin-right: 5px;
}
.group--header {
padding: {
left: 0;
right: 5px;
}
margin: 0;
}
.group--drag-handler {
margin-left: 5px;
}
.rule--func--arg-value > .rule--widget {
margin-left: -5px;
}