magic_stylez 0.0.0.22 → 0.0.0.23
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/magic_stylez/version.rb +1 -1
- data/vendor/assets/stylesheets/magic/layout/{_tables.scss → _tables_v1.scss} +0 -0
- data/vendor/assets/stylesheets/magic/layout/_tables_v2.scss +458 -0
- data/vendor/assets/stylesheets/magic/layout/_tables_v3.scss +254 -0
- data/vendor/assets/stylesheets/magic-stylez.scss +1 -1
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f0b925d01680692f374949429519a30937124fc1
|
4
|
+
data.tar.gz: fb7add816103fc4483954ce28b59a2c4e95750de
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0a1f33410062c9f7646dc1ec7a743efa6c7cf4d83c1a99b6e7bbfd87bd9e04993ffb1d38184d8366c697740d0293688a8ba53f8c6ae4083f1b8022e6f655a53c
|
7
|
+
data.tar.gz: 15bfbe1101b3de6f7c25d4e55796a65a6d57a010c00de578bd348be388e3fc094ed2bd1e0c27d086bc498e54de373e0079fd3b9483ac7de48c3b9add2e90d15a
|
data/lib/magic_stylez/version.rb
CHANGED
File without changes
|
@@ -0,0 +1,458 @@
|
|
1
|
+
$lyt_border_color: $main-border-color;
|
2
|
+
$lyt_border_radius: 5px;
|
3
|
+
|
4
|
+
.fancy_box, .topit,
|
5
|
+
.layout-table, .layout-slider,
|
6
|
+
.cell, .box,
|
7
|
+
.inline_table,
|
8
|
+
.layout-box,
|
9
|
+
.fixed-table {
|
10
|
+
display: block; position: relative;
|
11
|
+
margin: 0; padding: 0;
|
12
|
+
}
|
13
|
+
|
14
|
+
|
15
|
+
|
16
|
+
|
17
|
+
|
18
|
+
.fancy_box {
|
19
|
+
position: absolute;
|
20
|
+
@include border-radius( 5px );
|
21
|
+
top: -3px;
|
22
|
+
right: -3px;
|
23
|
+
bottom: -3px;
|
24
|
+
left: -3px;
|
25
|
+
background: $gray-soft;
|
26
|
+
border: solid 1px $main-border-color;
|
27
|
+
z-index: 1;
|
28
|
+
&.center {
|
29
|
+
z-index: 15;
|
30
|
+
top: -15px;
|
31
|
+
bottom: -20px;
|
32
|
+
right: -5px;
|
33
|
+
left: -5px;
|
34
|
+
background: #fff;
|
35
|
+
}
|
36
|
+
}
|
37
|
+
|
38
|
+
.topit { display: block; position: relative; z-index: 13; }
|
39
|
+
.center .topit, .center.topit { z-index: 23; }
|
40
|
+
|
41
|
+
.layout-table, .layout-slider {
|
42
|
+
@include raised_shadow( rgba(0, 0, 0, 0.5), 1 );
|
43
|
+
display: table;
|
44
|
+
margin: 0 0 10px;
|
45
|
+
border: solid 1px $main-border-color;
|
46
|
+
background: #fff;
|
47
|
+
@include border-radius(5px);
|
48
|
+
&.fixed { table-layout: fixed; }
|
49
|
+
width: auto;
|
50
|
+
width: 100%;
|
51
|
+
& > * { vertical-align: top; }
|
52
|
+
& > .cell, & > .box {
|
53
|
+
@include raised_shadow( rgba(0, 0, 0, 0.00), 1 );
|
54
|
+
display: table-cell;
|
55
|
+
// width: 50%;
|
56
|
+
// table-layout:fixed;
|
57
|
+
width: auto;
|
58
|
+
border-collapse: separate;
|
59
|
+
border-spacing: 0;
|
60
|
+
border: none;
|
61
|
+
border-right: solid 1px $main-border-color;
|
62
|
+
background: #fff;
|
63
|
+
&.aside { width: 220px; }
|
64
|
+
&.small { width: 180px; }
|
65
|
+
&.tiny { width: 122px; }
|
66
|
+
& > * { vertical-align: top; }
|
67
|
+
@include border-radius( 0 );
|
68
|
+
&:first-child { @include border-top-left-radius( 3px ); @include border-bottom-left-radius( 3px ); }
|
69
|
+
&:last-child { @include border-top-right-radius( 3px ); @include border-bottom-right-radius( 3px ); border-right: none; }
|
70
|
+
}
|
71
|
+
&.fancy {
|
72
|
+
margin-bottom: 170px;
|
73
|
+
& > .cell, & > .box { padding: 0; }
|
74
|
+
}
|
75
|
+
.layout-slider-oppener {
|
76
|
+
display: none; margin-right: 10px;
|
77
|
+
// padding: 4px 6px;
|
78
|
+
.closer { display: none; }
|
79
|
+
.opener { display: block; }
|
80
|
+
&.open {
|
81
|
+
.closer { display: block; }
|
82
|
+
.opener { display: none; }
|
83
|
+
}
|
84
|
+
}
|
85
|
+
&.blank {
|
86
|
+
@include raised_shadow( rgba(0, 0, 0, 0.00), 1 );
|
87
|
+
margin: 0;
|
88
|
+
border: none;
|
89
|
+
background: transparent;
|
90
|
+
@include border-radius(0);
|
91
|
+
& > .cell, & > .box, & > .cell:last-child, & > .box:last-child {
|
92
|
+
margin: 0;
|
93
|
+
border: none;
|
94
|
+
background: transparent;
|
95
|
+
@include border-radius(0);
|
96
|
+
padding: 0 10px;
|
97
|
+
}
|
98
|
+
& > .cell, & > .box {
|
99
|
+
&:first-child { padding-left: 0; }
|
100
|
+
&:last-child { padding-right: 0; }
|
101
|
+
}
|
102
|
+
}
|
103
|
+
}
|
104
|
+
|
105
|
+
|
106
|
+
.inline_table {
|
107
|
+
display: table;
|
108
|
+
&.fixed { table-layout: fixed; }
|
109
|
+
width: auto;
|
110
|
+
width: 100%;
|
111
|
+
& > .cell, & > .box {
|
112
|
+
display: table-cell;
|
113
|
+
// width: 50%;
|
114
|
+
// table-layout:fixed;
|
115
|
+
width: auto;
|
116
|
+
border-collapse: separate;
|
117
|
+
border-spacing: 0;
|
118
|
+
border: none;
|
119
|
+
vertical-align: top;
|
120
|
+
&.icon { width: 60px; }
|
121
|
+
&.actions { width: 1%; min-width: 70px; }
|
122
|
+
& > * { vertical-align: top; }
|
123
|
+
& > .btn, & > input {
|
124
|
+
display: block; position: relative;
|
125
|
+
margin: 0;
|
126
|
+
@include border-radius( 0 );
|
127
|
+
@include box-sizing(border-box);
|
128
|
+
// height: 32px;
|
129
|
+
width: 100%;
|
130
|
+
// border: solid 1px $gray-light;
|
131
|
+
border-right: none;
|
132
|
+
}
|
133
|
+
&:first-child > .btn,
|
134
|
+
&:first-child > input {
|
135
|
+
@include border-top-left-radius( 3px );
|
136
|
+
@include border-bottom-left-radius( 3px );
|
137
|
+
}
|
138
|
+
&:last-child > .btn,
|
139
|
+
&:last-child > input {
|
140
|
+
@include border-top-right-radius( 3px );
|
141
|
+
@include border-bottom-right-radius( 3px );
|
142
|
+
border-right: solid 1px $main-border-color;
|
143
|
+
}
|
144
|
+
}
|
145
|
+
&.fielded {
|
146
|
+
border: solid 1px $main-border-color;
|
147
|
+
@include border-radius(3px);
|
148
|
+
background: #fff;
|
149
|
+
margin: 0 0 10px;
|
150
|
+
padding: 5px;
|
151
|
+
@include box-sizing(border-box);
|
152
|
+
text-align: left;
|
153
|
+
& > .cell, & > .box {
|
154
|
+
padding: 0 5px;
|
155
|
+
@include no_wrap;
|
156
|
+
overflow: visible;
|
157
|
+
input {
|
158
|
+
border: none;
|
159
|
+
@include box-shadow(none);
|
160
|
+
background: transparent;
|
161
|
+
padding: 0; margin: 0; line-height: 20px; height: 20px;
|
162
|
+
}
|
163
|
+
.field_dropdown {
|
164
|
+
margin: 0 -5px 0 0;
|
165
|
+
.btn {
|
166
|
+
padding: 0 3px 0 5px;
|
167
|
+
border: solid 1px $main-border-color;
|
168
|
+
@include border-radius(3px);
|
169
|
+
margin: -1px -3px -1px 0;
|
170
|
+
}
|
171
|
+
}
|
172
|
+
color: $gray
|
173
|
+
}
|
174
|
+
&.focus {
|
175
|
+
@include box-shadow( 0 0 5px 1px $blue-light )
|
176
|
+
}
|
177
|
+
}
|
178
|
+
|
179
|
+
&.middled {
|
180
|
+
& > .cell, & > .box {
|
181
|
+
vertical-align: middle;
|
182
|
+
& > * { vertical-align: middle; }
|
183
|
+
&.top {
|
184
|
+
vertical-align: top;
|
185
|
+
& > * { vertical-align: top; }
|
186
|
+
}
|
187
|
+
&.bottom {
|
188
|
+
vertical-align: bottom;
|
189
|
+
& > * { vertical-align: bottom; }
|
190
|
+
}
|
191
|
+
}
|
192
|
+
}
|
193
|
+
|
194
|
+
}
|
195
|
+
|
196
|
+
.layout-box {
|
197
|
+
@include raised_shadow( rgba(0, 0, 0, 0.5), 1 );
|
198
|
+
display: table;
|
199
|
+
margin: 0 0 10px;
|
200
|
+
background: #fff;
|
201
|
+
border: solid 1px $main-border-color;
|
202
|
+
@include border-radius(5px);
|
203
|
+
width: 100%;
|
204
|
+
@include transition (all 0.3s ease-in-out);
|
205
|
+
& > .cell, & > .box {
|
206
|
+
@include transition (all 0.3s ease-in-out);
|
207
|
+
display: table-cell;
|
208
|
+
vertical-align: top;
|
209
|
+
// width: 50%;
|
210
|
+
// table-layout:fixed;
|
211
|
+
width: auto;
|
212
|
+
border-collapse: separate;
|
213
|
+
border-spacing: 0;
|
214
|
+
border: none;
|
215
|
+
&.aside { width: 220px; }
|
216
|
+
border-left: solid 1px $main-border-color;
|
217
|
+
&:first-child { border-left: none; }
|
218
|
+
&.filterbar { background: #f6f6f6; }
|
219
|
+
}
|
220
|
+
&.fixed { table-layout:fixed; }
|
221
|
+
&:first-child {
|
222
|
+
.cell:first-child, .box:first-child { @include border-top-left-radius( 3px ); }
|
223
|
+
.cell:last-child, .box:last-child { @include border-top-right-radius( 3px ); }
|
224
|
+
}
|
225
|
+
&:last-child {
|
226
|
+
.cell:first-child, .box:first-child { @include border-bottom-left-radius( 3px ); }
|
227
|
+
.cell:last-child, .box:last-child { @include border-bottom-right-radius( 3px ); }
|
228
|
+
}
|
229
|
+
|
230
|
+
.layout-box-oppener {
|
231
|
+
display: none; margin-right: 10px;
|
232
|
+
padding: 4px 6px;
|
233
|
+
i { height: 20px; width: 20px; vertical-align: center; font-size: 20px; }
|
234
|
+
.closer { display: none; }
|
235
|
+
.opener { display: block; }
|
236
|
+
&.open {
|
237
|
+
.closer { display: block; }
|
238
|
+
.opener { display: none; }
|
239
|
+
}
|
240
|
+
}
|
241
|
+
|
242
|
+
&.multi{
|
243
|
+
|
244
|
+
display: block;
|
245
|
+
background: #fff;
|
246
|
+
border: solid 1px $main-border-color;
|
247
|
+
@include border-radius(5px);
|
248
|
+
.line {
|
249
|
+
display: table; position: relative;
|
250
|
+
margin: 0; padding: 0;
|
251
|
+
width: 100%;
|
252
|
+
@include transition (all 0.3s ease-in-out);
|
253
|
+
border-top: solid 1px $main-border-color;
|
254
|
+
&:first-child { border: none; }
|
255
|
+
& > .cell, & > .box {
|
256
|
+
@include transition (all 0.3s ease-in-out 0.3s);
|
257
|
+
display: table-cell; position: relative;
|
258
|
+
vertical-align: top;
|
259
|
+
// width: 50%;
|
260
|
+
// table-layout:fixed;
|
261
|
+
width: auto;
|
262
|
+
margin: 0; padding: 0;
|
263
|
+
border-collapse: separate;
|
264
|
+
border-spacing: 0;
|
265
|
+
border: none;
|
266
|
+
border-left: solid 1px $main-border-color;
|
267
|
+
&:first-child { border-left: none; }
|
268
|
+
&.aside { width: 220px; }
|
269
|
+
}
|
270
|
+
&.fixed { table-layout:fixed; }
|
271
|
+
&:first-child {
|
272
|
+
.cell:first-child, .box:first-child { @include border-top-left-radius( 3px ); }
|
273
|
+
.cell:last-child, .box:last-child { @include border-top-right-radius( 3px ); }
|
274
|
+
}
|
275
|
+
&:last-child {
|
276
|
+
.cell:first-child, .box:first-child { @include border-bottom-left-radius( 3px ); }
|
277
|
+
.cell:last-child, .box:last-child { @include border-bottom-right-radius( 3px ); }
|
278
|
+
}
|
279
|
+
}
|
280
|
+
}
|
281
|
+
}
|
282
|
+
|
283
|
+
.box-nav {
|
284
|
+
background: $blue-lighter;
|
285
|
+
// border-top: solid 1px #ccc;
|
286
|
+
border-bottom: solid 1px $main-border-color;
|
287
|
+
}
|
288
|
+
|
289
|
+
|
290
|
+
|
291
|
+
|
292
|
+
|
293
|
+
.fixed-table {
|
294
|
+
display: table;
|
295
|
+
width: 100%;
|
296
|
+
table-layout:fixed;
|
297
|
+
& > .cell {
|
298
|
+
display: table-cell; position: relative;
|
299
|
+
padding: 0; margin: 0;
|
300
|
+
vertical-align: top;
|
301
|
+
border-collapse: separate;
|
302
|
+
border-spacing: 10px;
|
303
|
+
}
|
304
|
+
}
|
305
|
+
|
306
|
+
|
307
|
+
|
308
|
+
@media (max-width: 820px) {
|
309
|
+
.layout-table {
|
310
|
+
@include raised_shadow( rgba(0, 0, 0, 0.01), 1 );
|
311
|
+
display: block;
|
312
|
+
border: none; background: transparent;
|
313
|
+
& > .cell, & > .box {
|
314
|
+
@include raised_shadow( rgba(0, 0, 0, 0.5), 1 );
|
315
|
+
display: block;
|
316
|
+
background: #fff;
|
317
|
+
@include border-radius(5px);
|
318
|
+
border: solid 1px $main-border-color;
|
319
|
+
width: auto;
|
320
|
+
margin: 0 0 10px;
|
321
|
+
&.aside, &.small, &.tiny { width: auto; }
|
322
|
+
}
|
323
|
+
& > .cell, & > .box, & > .cell + .cell, & > .box + .box {
|
324
|
+
&:first-child { @include border-radius(5px); }
|
325
|
+
&:last-child { @include border-radius(5px); border: solid 1px $main-border-color; }
|
326
|
+
}
|
327
|
+
}
|
328
|
+
|
329
|
+
|
330
|
+
.layout-slider {
|
331
|
+
display: block;
|
332
|
+
position: relative;
|
333
|
+
z-index: 1;
|
334
|
+
overflow: hidden;
|
335
|
+
.layout-slider-oppener { display: inline-block; }
|
336
|
+
& > .cell, & > .box {
|
337
|
+
// min-height: 500px;
|
338
|
+
display: block; position: relative;
|
339
|
+
width: 100%;
|
340
|
+
margin: 0;
|
341
|
+
// z-index: 5;
|
342
|
+
@include transition (all 0.3s ease-in-out);
|
343
|
+
&.aside {
|
344
|
+
position: absolute !important;
|
345
|
+
top: 0; bottom: 0;
|
346
|
+
left: 0; right: auto;
|
347
|
+
margin: 0 !important;
|
348
|
+
width: 222px;
|
349
|
+
z-index: -3;
|
350
|
+
&.small { width: 182px; }
|
351
|
+
// z-index: 1;
|
352
|
+
&.right { left: auto; right: 0; }
|
353
|
+
}
|
354
|
+
}
|
355
|
+
&.open-aside {
|
356
|
+
z-index: 5;
|
357
|
+
&.right > .cell, &.right > .box {
|
358
|
+
margin-right: 220px;
|
359
|
+
margin-left: -220px;
|
360
|
+
z-index: -3;
|
361
|
+
&.main { @include single_curve( rgba(0, 0, 0, 0.5), 2, "right" ); z-index: auto; border-right: solid 1px $main-border-color;}
|
362
|
+
}
|
363
|
+
&.left > .cell, &.left > .box {
|
364
|
+
margin-left: 220px;
|
365
|
+
z-index: -3;
|
366
|
+
&.main { @include single_curve( rgba(0, 0, 0, 0.5), 2 ); z-index: auto; border-left: solid 1px $main-border-color;}
|
367
|
+
}
|
368
|
+
}
|
369
|
+
}
|
370
|
+
|
371
|
+
.layout-box {
|
372
|
+
display: block; position: relative;
|
373
|
+
// margin: 0;
|
374
|
+
padding: 0;
|
375
|
+
& > .cell, & > .box {
|
376
|
+
background: #fff;
|
377
|
+
display: block; position: relative;
|
378
|
+
width: auto;
|
379
|
+
&.aside { width: auto; }
|
380
|
+
border-left: solid 1px $main-border-color;
|
381
|
+
@include border-radius( 0 );
|
382
|
+
}
|
383
|
+
& > .cell:first-child, & > .box:first-child {
|
384
|
+
@include border-top-left-radius( 3px );
|
385
|
+
@include border-bottom-left-radius( 3px );
|
386
|
+
}
|
387
|
+
& > .cell:last-child, & > .box:last-child {
|
388
|
+
@include border-top-right-radius( 3px );
|
389
|
+
@include border-bottom-right-radius( 3px );
|
390
|
+
}
|
391
|
+
.cell:last-child, .box:last-child { @include border-top-left-radius( 0 ); @include border-top-right-radius( 0 ); }
|
392
|
+
.layout-box-oppener { display: inline-block; }
|
393
|
+
&.multi {
|
394
|
+
overflow: hidden;
|
395
|
+
.line {
|
396
|
+
display: block; position: relative;
|
397
|
+
margin: 0; padding: 0;
|
398
|
+
}
|
399
|
+
.line, & {
|
400
|
+
& > .cell, & > .box {
|
401
|
+
background: #fff;
|
402
|
+
display: block; position: relative;
|
403
|
+
width: auto;
|
404
|
+
&.aside { width: auto; }
|
405
|
+
&.aside.slide {
|
406
|
+
position: absolute !important;
|
407
|
+
top: 0; bottom: 0;
|
408
|
+
left: 0; right: auto;
|
409
|
+
margin: 0 !important;
|
410
|
+
width: 222px;
|
411
|
+
z-index: -3;
|
412
|
+
&.small { width: 182px; }
|
413
|
+
// z-index: 1;
|
414
|
+
&.right { left: auto; right: 0; }
|
415
|
+
}
|
416
|
+
border-left: solid 1px $main-border-color;
|
417
|
+
}
|
418
|
+
&:first-child {
|
419
|
+
.cell:last-child, .box:last-child { @include border-top-left-radius( 0 ); @include border-top-right-radius( 0 ); }
|
420
|
+
.cell:first-child, .box:first-child { @include border-top-left-radius( 3px ); @include border-top-right-radius( 3px ); }
|
421
|
+
& > .cell, & > .box { border-left: none; }
|
422
|
+
}
|
423
|
+
&:last-child {
|
424
|
+
.cell:first-child, .box:first-child { @include border-bottom-left-radius( 0 ); @include border-bottom-right-radius( 0 ); }
|
425
|
+
.cell:last-child, .box:last-child { @include border-bottom-left-radius( 3px ); }
|
426
|
+
}
|
427
|
+
|
428
|
+
&.open-aside {
|
429
|
+
z-index: 5;
|
430
|
+
// & > .cell, & > .box {min-height: 700px;}
|
431
|
+
&.right > .cell, &.right > .box {
|
432
|
+
// margin-right: 220px;
|
433
|
+
// margin-left: -220px;
|
434
|
+
left: -220px;
|
435
|
+
z-index: -3;
|
436
|
+
&.main { @include single_curve( rgba(0, 0, 0, 0.5), 2, "right" ); z-index: auto; border-right: solid 1px $main-border-color;}
|
437
|
+
}
|
438
|
+
&.left > .cell, &.left > .box {
|
439
|
+
margin-left: 220px;
|
440
|
+
z-index: -3;
|
441
|
+
&.main { @include single_curve( rgba(0, 0, 0, 0.5), 2 ); z-index: auto; border-left: solid 1px $main-border-color;}
|
442
|
+
}
|
443
|
+
}
|
444
|
+
|
445
|
+
}
|
446
|
+
}
|
447
|
+
}
|
448
|
+
|
449
|
+
.reflection {
|
450
|
+
display: none;
|
451
|
+
}
|
452
|
+
|
453
|
+
.time_line_wrapper {
|
454
|
+
height: auto !important;
|
455
|
+
.nano, .content, .nano .content { display: block; position: relative; top: auto; right: auto; bottom: auto; left: auto; height: auto; width: auto; }
|
456
|
+
}
|
457
|
+
}
|
458
|
+
|
@@ -0,0 +1,254 @@
|
|
1
|
+
$lyt_border_color: $main-border-color;
|
2
|
+
$lyt_background_color: #fff;
|
3
|
+
$lyt_border_radius: 5px;
|
4
|
+
|
5
|
+
.fancy_box, .topit, .layout-table, .layout-slider, .cell, .box, .inline_table, .layout-box, .fixed-table, .line {
|
6
|
+
display: block; position: relative;
|
7
|
+
margin: 0; padding: 0;
|
8
|
+
width: auto;
|
9
|
+
|
10
|
+
}
|
11
|
+
|
12
|
+
|
13
|
+
|
14
|
+
.layout-table {
|
15
|
+
// @include raised_shadow( rgba(0, 0, 0, 0.01), 1 );
|
16
|
+
border: none;
|
17
|
+
background: transparent;
|
18
|
+
& > .cell, & > .box {
|
19
|
+
@include raised_shadow( rgba(0, 0, 0, 0.5), 1 );
|
20
|
+
background: #fff;
|
21
|
+
@include border-radius($lyt_border_radius);
|
22
|
+
border: solid 1px $lyt_border_color;
|
23
|
+
margin: 0 0 10px;
|
24
|
+
&.aside, &.small, &.tiny { width: auto; }
|
25
|
+
&:first-child { @include border-radius($lyt_border_radius); }
|
26
|
+
&:last-child { @include border-radius($lyt_border_radius); /*border: solid 1px $lyt_border_color;*/ }
|
27
|
+
}
|
28
|
+
&.blank {
|
29
|
+
& > .cell, & > .box {
|
30
|
+
background: transparent;
|
31
|
+
@include border-radius( 0 );
|
32
|
+
border: none;
|
33
|
+
}
|
34
|
+
}
|
35
|
+
}
|
36
|
+
|
37
|
+
.layout-slider {
|
38
|
+
z-index: 1;
|
39
|
+
overflow: hidden;
|
40
|
+
.layout-slider-oppener { display: inline-block; }
|
41
|
+
& > .cell, & > .box {
|
42
|
+
@include transition (all 0.3s ease-in-out);
|
43
|
+
&.aside {
|
44
|
+
position: absolute;
|
45
|
+
top: 0; bottom: 0;
|
46
|
+
left: 0; right: auto;
|
47
|
+
width: 222px;
|
48
|
+
z-index: -3;
|
49
|
+
&.small { width: 182px; }
|
50
|
+
// z-index: 1;
|
51
|
+
&.right { left: auto; right: 0; }
|
52
|
+
}
|
53
|
+
}
|
54
|
+
&.open-aside {
|
55
|
+
z-index: 5;
|
56
|
+
&.right > .cell, &.right > .box {
|
57
|
+
margin-right: 220px;
|
58
|
+
margin-left: -220px;
|
59
|
+
z-index: -3;
|
60
|
+
&.main { @include single_curve( rgba(0, 0, 0, 0.5), 2, "right" ); z-index: auto; border-right: solid 1px $main-border-color;}
|
61
|
+
}
|
62
|
+
&.left > .cell, &.left > .box {
|
63
|
+
margin-left: 220px;
|
64
|
+
z-index: -3;
|
65
|
+
&.main { @include single_curve( rgba(0, 0, 0, 0.5), 2 ); z-index: auto; border-left: solid 1px $main-border-color;}
|
66
|
+
}
|
67
|
+
}
|
68
|
+
}
|
69
|
+
|
70
|
+
|
71
|
+
.layout-box {
|
72
|
+
&.multi, &.multi .line, & {
|
73
|
+
& > .cell, & > .box {
|
74
|
+
background: #fff;
|
75
|
+
&.aside { width: auto; }
|
76
|
+
border-left: solid 1px $main-border-color;
|
77
|
+
@include border-radius( 0 );
|
78
|
+
&.aside.slide {
|
79
|
+
position: absolute;
|
80
|
+
top: 0; bottom: 0;
|
81
|
+
left: 0; right: auto;
|
82
|
+
margin: 0 !important;
|
83
|
+
width: 222px;
|
84
|
+
z-index: -3;
|
85
|
+
&.small { width: 182px; }
|
86
|
+
// z-index: 1;
|
87
|
+
&.right { left: auto; right: 0; }
|
88
|
+
}
|
89
|
+
}
|
90
|
+
&:first-child {
|
91
|
+
& > .cell:last-child, & > .box:last-child { @include border-top-right-radius( 3px ); }
|
92
|
+
& > .cell:first-child, & > .box:first-child { @include border-top-left-radius( 3px ); }
|
93
|
+
}
|
94
|
+
&:last-child {
|
95
|
+
& > .cell:last-child, & > .box:last-child { @include border-bottom-right-radius( 3px ); }
|
96
|
+
& > .cell:first-child, & > .box:first-child { @include border-bottom-left-radius( 3px ); }
|
97
|
+
}
|
98
|
+
&.open-aside {
|
99
|
+
z-index: 5;
|
100
|
+
&.right > .cell, &.right > .box {
|
101
|
+
left: -220px;
|
102
|
+
z-index: -3;
|
103
|
+
&.main { @include single_curve( rgba(0, 0, 0, 0.5), 2, "right" ); z-index: auto; border-right: solid 1px $main-border-color;}
|
104
|
+
}
|
105
|
+
&.left > .cell, &.left > .box {
|
106
|
+
margin-left: 220px;
|
107
|
+
z-index: -3;
|
108
|
+
&.main { @include single_curve( rgba(0, 0, 0, 0.5), 2 ); z-index: auto; border-left: solid 1px $main-border-color;}
|
109
|
+
}
|
110
|
+
}
|
111
|
+
}
|
112
|
+
.layout-box-oppener { display: inline-block; }
|
113
|
+
&.multi { overflow: hidden; }
|
114
|
+
}
|
115
|
+
|
116
|
+
|
117
|
+
@media only screen and (min-width: 760px) {
|
118
|
+
// Tablet (iPad .. etc.)
|
119
|
+
.layout-table, .layout-slider, .inline_table, .layout-box, .fixed-table {
|
120
|
+
display: table;
|
121
|
+
width: 100%;
|
122
|
+
&.fixed { table-layout: fixed; }
|
123
|
+
& > * { vertical-align: top; }
|
124
|
+
& > .cell, & > .box {
|
125
|
+
display: table-cell;
|
126
|
+
border-collapse: separate;
|
127
|
+
border-spacing: 0;
|
128
|
+
border: none;
|
129
|
+
&.aside { width: 220px; }
|
130
|
+
&.small { width: 180px; }
|
131
|
+
&.tiny { width: 122px; }
|
132
|
+
& > * { vertical-align: top; }
|
133
|
+
}
|
134
|
+
}
|
135
|
+
|
136
|
+
|
137
|
+
.layout-table, .layout-slider {
|
138
|
+
@include raised_shadow( rgba(0, 0, 0, 0.5), 1 );
|
139
|
+
margin: 0 0 10px;
|
140
|
+
border: solid 1px $lyt_border_color;
|
141
|
+
background: $lyt_background_color;
|
142
|
+
@include border-radius($lyt_border_radius);
|
143
|
+
& > .cell, & > .box {
|
144
|
+
@include raised_shadow( rgba(0, 0, 0, 0.00), 1 );
|
145
|
+
@include border-radius( 0 );
|
146
|
+
border: solid 1px $lyt_border_color;
|
147
|
+
background: $lyt_background_color;
|
148
|
+
&.aside.slide { top: auto; right: auto; bottom: auto; left: auto; }
|
149
|
+
&:first-child { @include border-top-left-radius( 3px ); @include border-bottom-left-radius( 3px ); }
|
150
|
+
&:last-child { @include border-top-right-radius( 3px ); @include border-bottom-right-radius( 3px ); border-right: none; }
|
151
|
+
}
|
152
|
+
&.fancy { margin-bottom: 170px; }
|
153
|
+
.layout-slider-oppener {
|
154
|
+
display: none; margin-right: 10px;
|
155
|
+
.closer { display: none; }
|
156
|
+
.opener { display: block; }
|
157
|
+
&.open {
|
158
|
+
.closer { display: block; }
|
159
|
+
.opener { display: none; }
|
160
|
+
}
|
161
|
+
}
|
162
|
+
&.blank {
|
163
|
+
@include raised_shadow( rgba(0, 0, 0, 0.00), 1 );
|
164
|
+
margin: 0 -20px;
|
165
|
+
border-collapse: separate;
|
166
|
+
border-spacing: 20px;
|
167
|
+
border: none;
|
168
|
+
background: transparent;
|
169
|
+
@include border-radius(0);
|
170
|
+
& > .cell, & > .box, & > .cell:last-child, & > .box:last-child {
|
171
|
+
margin: 0;
|
172
|
+
border: none;
|
173
|
+
background: transparent;
|
174
|
+
@include border-radius(0);
|
175
|
+
}
|
176
|
+
}
|
177
|
+
}
|
178
|
+
|
179
|
+
|
180
|
+
|
181
|
+
|
182
|
+
.layout-box {
|
183
|
+
@include raised_shadow( rgba(0, 0, 0, 0.5), 1 );
|
184
|
+
margin: 0 0 10px;
|
185
|
+
background: #fff;
|
186
|
+
border: solid 1px $main-border-color;
|
187
|
+
@include border-radius(5px);
|
188
|
+
@include transition (all 0.3s ease-in-out);
|
189
|
+
& > .cell, & > .box {
|
190
|
+
@include transition (all 0.3s ease-in-out);
|
191
|
+
vertical-align: top;
|
192
|
+
width: auto;
|
193
|
+
border-left: solid 1px $main-border-color;
|
194
|
+
&:first-child { border-left: none; }
|
195
|
+
&.filterbar { background: #f6f6f6; }
|
196
|
+
}
|
197
|
+
&.fixed { table-layout:fixed; }
|
198
|
+
&:first-child {
|
199
|
+
.cell:first-child, .box:first-child { @include border-top-left-radius( 3px ); }
|
200
|
+
.cell:last-child, .box:last-child { @include border-top-right-radius( 3px ); }
|
201
|
+
}
|
202
|
+
&:last-child {
|
203
|
+
.cell:first-child, .box:first-child { @include border-bottom-left-radius( 3px ); }
|
204
|
+
.cell:last-child, .box:last-child { @include border-bottom-right-radius( 3px ); }
|
205
|
+
}
|
206
|
+
.layout-box-oppener {
|
207
|
+
display: none; margin-right: 10px;
|
208
|
+
padding: 4px 6px;
|
209
|
+
i { height: 20px; width: 20px; vertical-align: center; font-size: 20px; }
|
210
|
+
.closer { display: none; }
|
211
|
+
.opener { display: block; }
|
212
|
+
&.open {
|
213
|
+
.closer { display: block; }
|
214
|
+
.opener { display: none; }
|
215
|
+
}
|
216
|
+
}
|
217
|
+
&.multi{
|
218
|
+
display: block;
|
219
|
+
background: #fff;
|
220
|
+
border: solid 1px $main-border-color;
|
221
|
+
@include border-radius(5px);
|
222
|
+
.line {
|
223
|
+
display: table;
|
224
|
+
width: 100%;
|
225
|
+
@include transition (all 0.3s ease-in-out);
|
226
|
+
border-top: solid 1px $main-border-color;
|
227
|
+
&:first-child { border: none; }
|
228
|
+
& > .cell, & > .box {
|
229
|
+
@include transition (all 0.3s ease-in-out 0.3s);
|
230
|
+
display: table-cell;
|
231
|
+
vertical-align: top;
|
232
|
+
width: auto;
|
233
|
+
border-left: solid 1px $main-border-color;
|
234
|
+
&:first-child { border-left: none; }
|
235
|
+
}
|
236
|
+
&.fixed { table-layout:fixed; }
|
237
|
+
&:first-child {
|
238
|
+
.cell:first-child, .box:first-child { @include border-top-left-radius( 3px ); }
|
239
|
+
.cell:last-child, .box:last-child { @include border-top-right-radius( 3px ); }
|
240
|
+
}
|
241
|
+
&:last-child {
|
242
|
+
.cell:first-child, .box:first-child { @include border-bottom-left-radius( 3px ); }
|
243
|
+
.cell:last-child, .box:last-child { @include border-bottom-right-radius( 3px ); }
|
244
|
+
}
|
245
|
+
}
|
246
|
+
}
|
247
|
+
}
|
248
|
+
|
249
|
+
|
250
|
+
|
251
|
+
|
252
|
+
}
|
253
|
+
|
254
|
+
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: magic_stylez
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.0.
|
4
|
+
version: 0.0.0.23
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Torsten Wetzel
|
@@ -365,7 +365,9 @@ files:
|
|
365
365
|
- vendor/assets/stylesheets/magic/layout/_corset.scss
|
366
366
|
- vendor/assets/stylesheets/magic/layout/_fullpage_table.scss
|
367
367
|
- vendor/assets/stylesheets/magic/layout/_section.scss
|
368
|
-
- vendor/assets/stylesheets/magic/layout/
|
368
|
+
- vendor/assets/stylesheets/magic/layout/_tables_v1.scss
|
369
|
+
- vendor/assets/stylesheets/magic/layout/_tables_v2.scss
|
370
|
+
- vendor/assets/stylesheets/magic/layout/_tables_v3.scss
|
369
371
|
- vendor/assets/stylesheets/magic/lib/_animation.scss
|
370
372
|
- vendor/assets/stylesheets/magic/lib/_cross_browser.scss
|
371
373
|
- vendor/assets/stylesheets/magic/lib/_filter.scss
|