builder.css
4.38 KB
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
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
.layouts #nf-main-content {
/*max-width: 100%;*/ }
.layouts.few #nf-main-content {
max-width: 900px; }
.layouts.several #nf-main-content {
max-width: 1200px; }
.layouts.many #nf-main-content {
max-width: 100%; }
.layouts-row {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-ms-flex-line-pack: stretch;
align-content: stretch;
/*border: 2px dashed darkblue;*/ }
.layouts-row .gutter {
border: 0;
cursor: ew-resize; }
.layouts-row:hover .gutter.nf-fields-sortable-placeholder, .layouts-row.dragging .gutter.nf-fields-sortable-placeholder {
margin: 0;
background: #84CC1E !important; }
.layouts-row:hover .gutter, .layouts-row.hovered .gutter {
background: #ccc; }
.layouts-row:hover .gutter:first-child, .layouts-row:hover .gutter:last-child {
background: #fff; }
.layouts-row:hover .gutter:first-child {
border: 1px solid #ccc;
background: #fff;
cursor: ns-resize !important;
position: relative; }
.layouts-row:hover .gutter:first-child::after {
content: "";
border: 1px solid #ddd;
position: absolute;
right: 3px;
top: 5px;
bottom: 5px; }
.layouts-row.dragging .gutter {
background: #1EA9EA !important; }
.layouts-row::after {
clear: both;
content: "";
display: block; }
.layouts-cell {
float: left;
overflow: hidden;
padding-left: 4px;
padding-right: 4px;
/*border: 1px solid orange;*/
margin: 10px 0; }
.layouts-cell .nf-fields-sortable-placeholder {
margin: 0; }
.layouts-cell .nf-fields-sortable-placeholder + .nf-field-wrap {
margin-top: 12px; }
.layouts-cell .nf-field-wrap + .nf-fields-sortable-placeholder {
margin-top: -6px; }
.layouts-cell .nf-field-wrap + .nf-fields-sortable-placeholder + .nf-field-wrap {
margin-top: 12px; }
/*.layouts-cell .nf-field-wrap {
margin: 12px 0;
}*/
.nf-field-wrap:last-child {
margin-bottom: 0; }
.layouts-cell .nf-field-wrap:last-child {
margin-bottom: 0; }
.layouts-dragging .layouts-cell {
margin: 0; }
.layouts-handle {
background: green;
-ms-flex-item-align: stretch;
-ms-grid-row-align: stretch;
align-self: stretch;
float: left;
width: 10px; }
.no-fields {
color: #888;
margin: 10px 0;
padding: 15px 10px;
text-align: center; }
.no-fields .nf-button {
padding: 4px 6px;
text-align: center; }
.layouts-row-collection > .nf-fields-sortable-placeholder {
margin-bottom: -8px;
margin-top: 0; }
.layouts-row-collection > .nf-fields-sortable-placeholder + .layout-row {
margin: 6px; }
.layouts-row-collection .layouts-row + .nf-fields-sortable-placeholder {
margin-top: -8px; }
.layouts-dragging .layouts-row {
padding: 6px;
margin: 8px 0; }
.layouts-dragging .layouts-cell .nf-field-wrap {
/*margin: 30px 0;*/ }
.layouts-dragging .gutter {
width: 20px !important;
-webkit-transition: width 0.5s ease;
transition: width 0.5s ease; }
.layouts-row.multi-cell .nf-field-wrap {
margin: 20px 0; }
.layouts-row.multi-cell .nf-fields-sortable-placeholder {
margin: 6px 0; }
.layouts-row.multi-cell .gutter.nf-fields-sortable-placeholder {
margin: 0; }
.layouts-row.multi-cell .nf-fields-sortable-placeholder + .nf-field-wrap {
margin-top: 0; }
.layouts-row.multi-cell .nf-field-wrap + .nf-fields-sortable-placeholder {
margin-top: -14px; }
.layouts-row.multi-cell .nf-field-wrap + .nf-fields-sortable-placeholder + .nf-field-wrap {
margin-top: 6px; }
.gutter {
position: relative; }
.gutter span {
color: #aaa;
font-size: 12px;
position: absolute;
top: -5px; }
.gutter .percent-left {
right: 20px; }
.gutter .percent-right {
left: 20px; }
@media only screen and (max-width: 1285px) {
.layouts.many.nf-drawer-opened .layouts-row,
.layouts.several.nf-drawer-opened .layouts-row {
/*border-bottom: 2px solid #424242;*/
display: block !important; }
.layouts.many.nf-drawer-opened .layouts-cell,
.layouts.several.nf-drawer-opened .layouts-cell {
width: 100% !important; }
.layouts.many.nf-drawer-opened .multi-cell .layouts-cell,
.layouts.several.nf-drawer-opened .multi-cell .layouts-cell {
border-bottom: 1px solid red;
padding-bottom: 20px; }
.layouts.many.nf-drawer-opened.layouts-dragging .multi-cell .layouts-cell,
.layouts.several.nf-drawer-opened.layouts-dragging .multi-cell .layouts-cell {
padding-bottom: 0; }
.layouts.many.nf-drawer-opened .gutter,
.layouts.several.nf-drawer-opened .gutter {
display: none; } }
/*# sourceMappingURL=builder.css.map */