magic_stylez 0.0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (120) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +11 -0
  3. data/Gemfile +14 -0
  4. data/MIT-LICENSE +20 -0
  5. data/README.md +33 -0
  6. data/Rakefile +32 -0
  7. data/lib/magic_stylez/engine.rb +10 -0
  8. data/lib/magic_stylez/version.rb +3 -0
  9. data/lib/magic_stylez.rb +53 -0
  10. data/lib/tasks/magic_stylez_tasks.rake +4 -0
  11. data/magic_stylez.gemspec +38 -0
  12. data/test/dummy/README.rdoc +28 -0
  13. data/test/dummy/Rakefile +6 -0
  14. data/test/dummy/app/assets/images/.keep +0 -0
  15. data/test/dummy/app/assets/javascripts/application.js +15 -0
  16. data/test/dummy/app/assets/javascripts/views/app/start.jst.eco +71 -0
  17. data/test/dummy/app/assets/javascripts/views/effects/reflections.jst.eco +70 -0
  18. data/test/dummy/app/assets/javascripts/views/effects/shadows.jst.eco +1528 -0
  19. data/test/dummy/app/assets/javascripts/views/elements/arrow_infos.jst.eco +46 -0
  20. data/test/dummy/app/assets/javascripts/views/layout/corset.jst.eco +27 -0
  21. data/test/dummy/app/assets/javascripts/views/layout/fullpage_table.jst.eco +76 -0
  22. data/test/dummy/app/assets/javascripts/views/layout/section.jst.eco +109 -0
  23. data/test/dummy/app/assets/javascripts/views/layout/slide_boxes.jst.eco +33 -0
  24. data/test/dummy/app/assets/stylesheets/application.css.scss +180 -0
  25. data/test/dummy/app/controllers/application_controller.rb +6 -0
  26. data/test/dummy/app/controllers/concerns/.keep +0 -0
  27. data/test/dummy/app/controllers/front_controller.rb +7 -0
  28. data/test/dummy/app/helpers/application_helper.rb +2 -0
  29. data/test/dummy/app/mailers/.keep +0 -0
  30. data/test/dummy/app/models/.keep +0 -0
  31. data/test/dummy/app/models/concerns/.keep +0 -0
  32. data/test/dummy/app/views/front/_aside.html.erb +36 -0
  33. data/test/dummy/app/views/front/start.html.erb +77 -0
  34. data/test/dummy/app/views/layouts/application.html.erb +24 -0
  35. data/test/dummy/bin/bundle +3 -0
  36. data/test/dummy/bin/rails +4 -0
  37. data/test/dummy/bin/rake +4 -0
  38. data/test/dummy/config/application.rb +32 -0
  39. data/test/dummy/config/boot.rb +5 -0
  40. data/test/dummy/config/database.yml +25 -0
  41. data/test/dummy/config/environment.rb +5 -0
  42. data/test/dummy/config/environments/development.rb +49 -0
  43. data/test/dummy/config/environments/production.rb +88 -0
  44. data/test/dummy/config/environments/test.rb +39 -0
  45. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
  46. data/test/dummy/config/initializers/cookies_serializer.rb +3 -0
  47. data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  48. data/test/dummy/config/initializers/inflections.rb +16 -0
  49. data/test/dummy/config/initializers/mime_types.rb +4 -0
  50. data/test/dummy/config/initializers/session_store.rb +3 -0
  51. data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
  52. data/test/dummy/config/locales/en.yml +23 -0
  53. data/test/dummy/config/routes.rb +61 -0
  54. data/test/dummy/config/secrets.yml +20 -0
  55. data/test/dummy/config.ru +4 -0
  56. data/test/dummy/lib/assets/.keep +0 -0
  57. data/test/dummy/log/.keep +0 -0
  58. data/test/dummy/public/404.html +67 -0
  59. data/test/dummy/public/422.html +67 -0
  60. data/test/dummy/public/500.html +66 -0
  61. data/test/dummy/public/favicon.ico +0 -0
  62. data/test/dummy/public/xindex.html +135 -0
  63. data/test/magic_stylez_test.rb +7 -0
  64. data/test/test_helper.rb +21 -0
  65. data/vendor/assets/filter/magic/filter.svg +10 -0
  66. data/vendor/assets/filter/magic/noise.svg +70 -0
  67. data/vendor/assets/fonts/magic/magicons-regular-webfont.eot +0 -0
  68. data/vendor/assets/fonts/magic/magicons-regular-webfont.svg +461 -0
  69. data/vendor/assets/fonts/magic/magicons-regular-webfont.ttf +0 -0
  70. data/vendor/assets/fonts/magic/magicons-regular-webfont.woff +0 -0
  71. data/vendor/assets/fonts/magic/orderlifticons-webfont.eot +0 -0
  72. data/vendor/assets/fonts/magic/orderlifticons-webfont.svg +172 -0
  73. data/vendor/assets/fonts/magic/orderlifticons-webfont.ttf +0 -0
  74. data/vendor/assets/fonts/magic/orderlifticons-webfont.woff +0 -0
  75. data/vendor/assets/images/magic/arrows/arrow-round1-a.png +0 -0
  76. data/vendor/assets/images/magic/arrows/arrow-round1-b.png +0 -0
  77. data/vendor/assets/images/magic/arrows/arrow-round2-a.png +0 -0
  78. data/vendor/assets/images/magic/arrows/arrow-round2-b.png +0 -0
  79. data/vendor/assets/images/magic/arrows/arrow1-a.png +0 -0
  80. data/vendor/assets/images/magic/arrows/arrow1-b.png +0 -0
  81. data/vendor/assets/images/magic/arrows/arrow1.png +0 -0
  82. data/vendor/assets/images/magic/arrows/arrow2-1.png +0 -0
  83. data/vendor/assets/images/magic/arrows/arrow2-2.png +0 -0
  84. data/vendor/assets/images/magic/arrows/arrow2-a.png +0 -0
  85. data/vendor/assets/images/magic/arrows/arrow2-b.png +0 -0
  86. data/vendor/assets/images/magic/arrows/arrow3-a.png +0 -0
  87. data/vendor/assets/images/magic/arrows/arrow3-b.png +0 -0
  88. data/vendor/assets/images/magic/arrows/arrow4-a.png +0 -0
  89. data/vendor/assets/images/magic/arrows/arrow4-b.png +0 -0
  90. data/vendor/assets/images/magic/arrows/arrow5-a.png +0 -0
  91. data/vendor/assets/images/magic/arrows/arrow5-b.png +0 -0
  92. data/vendor/assets/images/magic/arrows/arrow6-a.png +0 -0
  93. data/vendor/assets/images/magic/arrows/arrow6-b.png +0 -0
  94. data/vendor/assets/images/magic/bgs/hdr_landsberger.jpg +0 -0
  95. data/vendor/assets/images/magic/bgs/rain-flower.jpg +0 -0
  96. data/vendor/assets/images/magic/bgs/seucide.jpg +0 -0
  97. data/vendor/assets/javascripts/magic/render_eco.js.coffee +9 -0
  98. data/vendor/assets/javascripts/magic-stylez.js.coffee +49 -0
  99. data/vendor/assets/stylesheets/magic/_animation.scss +3 -0
  100. data/vendor/assets/stylesheets/magic/_forms.scss +42 -0
  101. data/vendor/assets/stylesheets/magic/_text.scss +41 -0
  102. data/vendor/assets/stylesheets/magic/content/_banner.scss +77 -0
  103. data/vendor/assets/stylesheets/magic/corporate/_colors.scss +244 -0
  104. data/vendor/assets/stylesheets/magic/corporate/_fonts.scss +152 -0
  105. data/vendor/assets/stylesheets/magic/corporate/_typo.scss +57 -0
  106. data/vendor/assets/stylesheets/magic/corporate/_variables.scss +636 -0
  107. data/vendor/assets/stylesheets/magic/effects/_reflections.scss +52 -0
  108. data/vendor/assets/stylesheets/magic/effects/_shadows.scss +255 -0
  109. data/vendor/assets/stylesheets/magic/icons/magicons.scss +706 -0
  110. data/vendor/assets/stylesheets/magic/icons/orderlifticons.scss +258 -0
  111. data/vendor/assets/stylesheets/magic/layout/_corset.scss +60 -0
  112. data/vendor/assets/stylesheets/magic/layout/_fullpage_table.scss +176 -0
  113. data/vendor/assets/stylesheets/magic/layout/_section.scss +126 -0
  114. data/vendor/assets/stylesheets/magic/layout/_tables.scss +513 -0
  115. data/vendor/assets/stylesheets/magic/lib/_cross_browser.scss +51 -0
  116. data/vendor/assets/stylesheets/magic/lib/_media_querries.scss +59 -0
  117. data/vendor/assets/stylesheets/magic/lib/_twbs.scss +55 -0
  118. data/vendor/assets/stylesheets/magic/lists/_nav.scss +207 -0
  119. data/vendor/assets/stylesheets/magic-stylez.scss +140 -0
  120. metadata +397 -0
@@ -0,0 +1,513 @@
1
+ $lyt_border_color: $gray-light;
2
+ $lyt_border_radius: 5px;
3
+
4
+ table.layout {
5
+ width: 100%;
6
+ border: solid 1px $lyt_border_color;
7
+ background: #fff;
8
+ @include border-radius(5px);
9
+ border-collapse: separate;
10
+ // overflow:hidden;
11
+ @include box-sizing(border-box);
12
+
13
+ td.tbox {
14
+
15
+ &.filterbar { background: #f6f6f6; }
16
+
17
+
18
+ }
19
+ tr {
20
+ td.tbox {
21
+ padding: 0;
22
+ border: solid 1px $lyt_border_color;
23
+ border-top: none;
24
+ overflow:hidden;
25
+ &.side-bar {
26
+ width: 240px;
27
+ border: none;
28
+ &.small { width: 180px; }
29
+ .vcard {
30
+ float: none;
31
+ width: auto;
32
+ }
33
+ }
34
+ &:first-child {
35
+ border-left: none;
36
+ }
37
+ &:last-child {
38
+ border-right: none;
39
+ }
40
+ border-bottom: solid 1px $lyt_border_color;
41
+
42
+
43
+
44
+ }
45
+ &:first-child {
46
+ td.tbox {
47
+ &:first-child {
48
+ border-top-left-radius: $lyt_border_radius;
49
+ }
50
+ &:last-child {
51
+ border-top-right-radius: $lyt_border_radius;
52
+ }
53
+ }
54
+ }
55
+ &:last-child {
56
+ td.tbox {
57
+ border-bottom: none;
58
+ &:first-child {
59
+ border-bottom-left-radius: $lyt_border_radius;
60
+ }
61
+ &:last-child {
62
+ border-bottom-right-radius: $lyt_border_radius;
63
+ }
64
+ }
65
+ }
66
+ }
67
+
68
+ // Fancy-Style Layout
69
+ &.fancy {
70
+
71
+ margin-bottom: 170px;
72
+ td.tbox {
73
+ overflow: visible;
74
+ position: relative;
75
+ .fancy_box {
76
+ display: block; position: absolute;
77
+ @include border-radius( 5px );
78
+ top: -3px;
79
+ right: -3px;
80
+ bottom: -3px;
81
+ left: -3px;
82
+ margin: 0; padding: 0;
83
+ background: $gray-soft;
84
+ border: solid 1px #888;
85
+ z-index: 1;
86
+ }
87
+ .in_box {
88
+ display: block; position: relative;
89
+ z-index: 3;
90
+ }
91
+ &.center {
92
+
93
+ .fancy_box {
94
+ z-index: 10;
95
+ top: -15px;
96
+ bottom: -20px;
97
+ right: -5px;
98
+ left: -5px;
99
+ background: #fff;
100
+ }
101
+ .in_box { z-index: 11; }
102
+ .banderole {
103
+ margin: 20px -16px;
104
+ padding: 10px 17px;
105
+ }
106
+ }
107
+
108
+ }
109
+
110
+ }
111
+
112
+ &.blank {
113
+ background: transparent;
114
+ border: none;
115
+ @include border-radius( 0 );
116
+ tr td.tbox {
117
+ background: transparent;
118
+ border: none;
119
+ @include border-radius( 0 );
120
+ }
121
+ }
122
+
123
+ }
124
+
125
+ .fancy_box {
126
+ display: block; position: absolute;
127
+ @include border-radius( 5px );
128
+ top: -3px;
129
+ right: -3px;
130
+ bottom: -3px;
131
+ left: -3px;
132
+ margin: 0; padding: 0;
133
+ background: $gray-soft;
134
+ border: solid 1px #888;
135
+ z-index: 1;
136
+ &.center {
137
+ z-index: 15;
138
+ top: -15px;
139
+ bottom: -20px;
140
+ right: -5px;
141
+ left: -5px;
142
+ background: #fff;
143
+ }
144
+ }
145
+
146
+ .topit { display: block; position: relative; z-index: 13; }
147
+ .center .topit, .center.topit { z-index: 23; }
148
+
149
+ .layout-table, .layout-slider {
150
+ @include raised_shadow( rgba(0, 0, 0, 0.5), 1 );
151
+ display: table; position: relative;
152
+ margin: 0 0 10px; padding: 0;
153
+ border: solid 1px #ccc;
154
+ background: #fff;
155
+ @include border-radius(5px);
156
+ &.fixed { table-layout: fixed; }
157
+ width: auto;
158
+ width: 100%;
159
+ & > * { vertical-align: top; }
160
+ & > .cell, & > .box {
161
+ @include raised_shadow( rgba(0, 0, 0, 0.00), 1 );
162
+ display: table-cell; position: relative;
163
+ // width: 50%;
164
+ // table-layout:fixed;
165
+ width: auto;
166
+ margin: 0; padding: 0;
167
+ border-collapse: separate;
168
+ border-spacing: 0;
169
+ border: none;
170
+ border-right: solid 1px #ccc;
171
+ background: #fff;
172
+ &.aside { width: 220px; }
173
+ &.small { width: 180px; }
174
+ &.tiny { width: 122px; }
175
+ & > * { vertical-align: top; }
176
+ @include border-radius( 0 );
177
+ &:first-child { border-top-left-radius: 3px; border-bottom-left-radius: 3px; }
178
+ &:last-child { border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-right: none; }
179
+ }
180
+ &.fancy {
181
+ margin-bottom: 170px;
182
+ & > .cell, & > .box { padding: 0; }
183
+ }
184
+ .layout-slider-oppener {
185
+ display: none; margin-right: 10px;
186
+ // padding: 4px 6px;
187
+ .closer { display: none; }
188
+ .opener { display: block; }
189
+ &.open {
190
+ .closer { display: block; }
191
+ .opener { display: none; }
192
+ }
193
+ }
194
+ &.blank {
195
+ margin: 0;
196
+ border: none;
197
+ background: transparent;
198
+ @include border-radius(0);
199
+ & > .cell, & > .box {
200
+ margin: 0;
201
+ border: none;
202
+ background: transparent;
203
+ @include border-radius(0);
204
+ }
205
+ }
206
+ }
207
+
208
+
209
+ .inline_table {
210
+ display: table; position: relative;
211
+ margin: 0; padding: 0;
212
+ &.fixed { table-layout: fixed; }
213
+ width: auto;
214
+ width: 100%;
215
+ & > .cell, & > .box {
216
+ display: table-cell; position: relative;
217
+ // width: 50%;
218
+ // table-layout:fixed;
219
+ width: auto;
220
+ margin: 0; padding: 0;
221
+ border-collapse: separate;
222
+ border-spacing: 0;
223
+ border: none;
224
+ vertical-align: top;
225
+ &.actions { width: 1%; min-width: 70px; }
226
+ & > * { vertical-align: top; }
227
+ & > .btn, & > input {
228
+ display: block; position: relative;
229
+ margin: 0;
230
+ @include border-radius( 0 );
231
+ @include box-sizing(border-box);
232
+ height: 30px;
233
+ line-height: 20px;
234
+ padding: 4px 10px;
235
+ width: 100%;
236
+ border: solid 1px $gray-light;
237
+ border-right: none;
238
+ }
239
+ &:first-child > .btn, &:first-child > input {
240
+ border-top-left-radius: 3px;
241
+ border-bottom-left-radius: 3px;
242
+ }
243
+ &:last-child > .btn, &:last-child > input {
244
+ border-top-right-radius: 3px;
245
+ border-bottom-right-radius: 3px;
246
+ border-right: solid 1px $gray-light;
247
+ }
248
+ }
249
+ }
250
+
251
+ .layout-box {
252
+ @include raised_shadow( rgba(0, 0, 0, 0.5), 1 );
253
+ display: table; position: relative;
254
+ margin: 0 0 10px; padding: 0;
255
+ background: #fff;
256
+ border: solid 1px #ccc;
257
+ @include border-radius(5px);
258
+ width: 100%;
259
+ @include transition (all 0.3s ease-in-out);
260
+ & > .cell, & > .box {
261
+ @include transition (all 0.3s ease-in-out);
262
+ display: table-cell; position: relative;
263
+ vertical-align: top;
264
+ // width: 50%;
265
+ // table-layout:fixed;
266
+ width: auto;
267
+ margin: 0; padding: 0;
268
+ border-collapse: separate;
269
+ border-spacing: 0;
270
+ border: none;
271
+ &.aside { width: 220px; }
272
+ border-left: solid 1px #ccc;
273
+ &:first-child { border-left: none; }
274
+ &.filterbar { background: #f6f6f6; }
275
+ }
276
+ &.fixed { table-layout:fixed; }
277
+ &:first-child {
278
+ .cell:first-child, .box:first-child { border-top-left-radius: 3px; }
279
+ .cell:last-child, .box:last-child { border-top-right-radius: 3px; }
280
+ }
281
+ &:last-child {
282
+ .cell:first-child, .box:first-child { border-bottom-left-radius: 3px; }
283
+ .cell:last-child, .box:last-child { border-bottom-right-radius: 3px; }
284
+ }
285
+
286
+ .layout-box-oppener {
287
+ display: none; margin-right: 10px;
288
+ padding: 4px 6px;
289
+ i { height: 20px; width: 20px; vertical-align: center; font-size: 20px; }
290
+ .closer { display: none; }
291
+ .opener { display: block; }
292
+ &.open {
293
+ .closer { display: block; }
294
+ .opener { display: none; }
295
+ }
296
+ }
297
+
298
+ &.multi{
299
+
300
+ display: block;
301
+ background: #fff;
302
+ border: solid 1px #ccc;
303
+ @include border-radius(5px);
304
+ .line {
305
+ display: table; position: relative;
306
+ margin: 0; padding: 0;
307
+ width: 100%;
308
+ @include transition (all 0.3s ease-in-out);
309
+ border-top: solid 1px #ccc;
310
+ &:first-child { border: none; }
311
+ & > .cell, & > .box {
312
+ @include transition (all 0.3s ease-in-out 0.3s);
313
+ display: table-cell; position: relative;
314
+ vertical-align: top;
315
+ // width: 50%;
316
+ // table-layout:fixed;
317
+ width: auto;
318
+ margin: 0; padding: 0;
319
+ border-collapse: separate;
320
+ border-spacing: 0;
321
+ border: none;
322
+ border-left: solid 1px #ccc;
323
+ &:first-child { border-left: none; }
324
+ &.aside { width: 220px; }
325
+ }
326
+ &.fixed { table-layout:fixed; }
327
+ &:first-child {
328
+ .cell:first-child, .box:first-child { border-top-left-radius: 3px; }
329
+ .cell:last-child, .box:last-child { border-top-right-radius: 3px; }
330
+ }
331
+ &:last-child {
332
+ .cell:first-child, .box:first-child { border-bottom-left-radius: 3px; }
333
+ .cell:last-child, .box:last-child { border-bottom-right-radius: 3px; }
334
+ }
335
+ }
336
+ }
337
+ }
338
+
339
+ .box-nav {
340
+ background: $blue-light;
341
+ // border-top: solid 1px #ccc;
342
+ border-bottom: solid 1px $gray-light;
343
+ }
344
+
345
+
346
+
347
+
348
+
349
+ .fixed-table {
350
+ display: table; position: relative;
351
+ margin: 0; padding: 0;
352
+ width: 100%;
353
+ table-layout:fixed;
354
+ & > .cell {
355
+ display: table-cell; position: relative;
356
+ padding: 0; margin: 0;
357
+ vertical-align: top;
358
+ border-collapse: separate;
359
+ border-spacing: 10px;
360
+ }
361
+ }
362
+
363
+
364
+
365
+ @media (max-width: 820px) {
366
+ .layout-table {
367
+ @include raised_shadow( rgba(0, 0, 0, 0.01), 1 );
368
+ display: block;
369
+ border: none; background: transparent;
370
+ & > .cell, & > .box {
371
+ @include raised_shadow( rgba(0, 0, 0, 0.5), 1 );
372
+ display: block;
373
+ background: #fff;
374
+ @include border-radius(5px);
375
+ border: solid 1px #ccc;
376
+ width: auto;
377
+ margin: 0 0 10px;
378
+ &.aside, &.small, &.tiny { width: auto; }
379
+ }
380
+ & > .cell, & > .box, & > .cell + .cell, & > .box + .box {
381
+ &:first-child { @include border-radius(5px); }
382
+ &:last-child { @include border-radius(5px); border: solid 1px #ccc; }
383
+ }
384
+ }
385
+ .layout-slider {
386
+ display: block;
387
+ position: relative;
388
+ z-index: 1;
389
+ overflow: hidden;
390
+ .layout-slider-oppener { display: inline-block; }
391
+ & > .cell, & > .box {
392
+ // min-height: 500px;
393
+ display: block; position: relative;
394
+ width: 100%;
395
+ margin: 0;
396
+ // z-index: 5;
397
+ @include transition (all 0.3s ease-in-out);
398
+ &.aside {
399
+ position: absolute !important;
400
+ top: 0; bottom: 0;
401
+ left: 0; right: auto;
402
+ margin: 0 !important;
403
+ width: 222px;
404
+ z-index: -3;
405
+ &.small { width: 182px; }
406
+ // z-index: 1;
407
+ &.right { left: auto; right: 0; }
408
+ }
409
+ }
410
+ &.open-aside {
411
+ z-index: 5;
412
+ &.right > .cell, &.right > .box {
413
+ margin-right: 220px;
414
+ margin-left: -220px;
415
+ z-index: -3;
416
+ &.main { @include single_curve( rgba(0, 0, 0, 0.5), 2, "right" ); z-index: auto; border-right: solid 1px #ccc;}
417
+ }
418
+ &.left > .cell, &.left > .box {
419
+ margin-left: 220px;
420
+ z-index: -3;
421
+ &.main { @include single_curve( rgba(0, 0, 0, 0.5), 2 ); z-index: auto; border-left: solid 1px #ccc;}
422
+ }
423
+ }
424
+ }
425
+
426
+ .layout-box {
427
+ display: block; position: relative;
428
+ // margin: 0;
429
+ padding: 0;
430
+ & > .cell, & > .box {
431
+ background: #fff;
432
+ display: block; position: relative;
433
+ width: auto;
434
+ &.aside { width: auto; }
435
+ border-left: solid 1px #ccc;
436
+ @include border-radius( 0 );
437
+ }
438
+ & > .cell:first-child, & > .box:first-child {
439
+ border-top-left-radius: 3px;
440
+ border-bottom-left-radius: 3px;
441
+ }
442
+ & > .cell:last-child, & > .box:last-child {
443
+ border-top-right-radius: 3px;
444
+ border-bottom-right-radius: 3px;
445
+ }
446
+ .cell:last-child, .box:last-child { border-top-left-radius: 0; border-top-right-radius: 0; }
447
+ .layout-box-oppener { display: inline-block; }
448
+ &.multi {
449
+ overflow: hidden;
450
+ .line {
451
+ display: block; position: relative;
452
+ margin: 0; padding: 0;
453
+ }
454
+ .line, & {
455
+ & > .cell, & > .box {
456
+ background: #fff;
457
+ display: block; position: relative;
458
+ width: auto;
459
+ &.aside { width: auto; }
460
+ &.aside.slide {
461
+ position: absolute !important;
462
+ top: 0; bottom: 0;
463
+ left: 0; right: auto;
464
+ margin: 0 !important;
465
+ width: 222px;
466
+ z-index: -3;
467
+ &.small { width: 182px; }
468
+ // z-index: 1;
469
+ &.right { left: auto; right: 0; }
470
+ }
471
+ border-left: solid 1px #ccc;
472
+ }
473
+ &:first-child {
474
+ .cell:last-child, .box:last-child { border-top-left-radius: 0; border-top-right-radius: 0; }
475
+ .cell:first-child, .box:first-child { border-top-left-radius: 3px; border-top-right-radius: 3px; }
476
+ & > .cell, & > .box { border-left: none; }
477
+ }
478
+ &:last-child {
479
+ .cell:first-child, .box:first-child { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
480
+ .cell:last-child, .box:last-child { border-bottom-left-radius: 3px; }
481
+ }
482
+
483
+ &.open-aside {
484
+ z-index: 5;
485
+ // & > .cell, & > .box {min-height: 700px;}
486
+ &.right > .cell, &.right > .box {
487
+ // margin-right: 220px;
488
+ // margin-left: -220px;
489
+ left: -220px;
490
+ z-index: -3;
491
+ &.main { @include single_curve( rgba(0, 0, 0, 0.5), 2, "right" ); z-index: auto; border-right: solid 1px #ccc;}
492
+ }
493
+ &.left > .cell, &.left > .box {
494
+ margin-left: 220px;
495
+ z-index: -3;
496
+ &.main { @include single_curve( rgba(0, 0, 0, 0.5), 2 ); z-index: auto; border-left: solid 1px #ccc;}
497
+ }
498
+ }
499
+
500
+ }
501
+ }
502
+ }
503
+
504
+ .reflection {
505
+ display: none;
506
+ }
507
+
508
+ .time_line_wrapper {
509
+ height: auto !important;
510
+ .nano, .content, .nano .content { display: block; position: relative; top: auto; right: auto; bottom: auto; left: auto; height: auto; width: auto; }
511
+ }
512
+ }
513
+
@@ -0,0 +1,51 @@
1
+ @function compact($var-1, $var-2: false,
2
+ $var-3: false, $var-4: false,
3
+ $var-5: false, $var-6: false,
4
+ $var-7: false, $var-8: false,
5
+ $var-9: false, $var-10: false) {
6
+ $full: $var-1;
7
+ $vars: $var-2, $var-3, $var-4, $var-5,
8
+ $var-6, $var-7, $var-8, $var-9, $var-10;
9
+
10
+ @each $var in $vars {
11
+ @if $var {
12
+ $full: $full, $var;
13
+ }
14
+ }
15
+ @return $full;
16
+ }
17
+
18
+ // readd some outdated bourbon functionality (still needed some times)
19
+ @mixin magic_prefixer ($property, $value) {
20
+ -webkit-#{$property}: $value;
21
+ -moz-#{$property}: $value;
22
+ -ms-#{$property}: $value;
23
+ -o-#{$property}: $value;
24
+ #{$property}: $value;
25
+ }
26
+
27
+ // was outdated since bourbon 3.0
28
+ @mixin box-shadow ( $shadow-1, $shadow-2: false, $shadow-3: false, $shadow-4: false, $shadow-5: false, $shadow-6: false, $shadow-7: false, $shadow-8: false, $shadow-9: false) {
29
+ $full: compact($shadow-1, $shadow-2, $shadow-3, $shadow-4, $shadow-5, $shadow-6, $shadow-7, $shadow-8, $shadow-9);
30
+ @include magic_prefixer(box-shadow, $full);
31
+ }
32
+
33
+ @mixin border-radius ($radius) {
34
+ @include magic_prefixer(border-radius, $radius);
35
+ }
36
+
37
+ @mixin corner_border_radius($radius,$corner) {
38
+ @include magic_prefixer(border-#{$corner}-radius, $radius);
39
+ }
40
+
41
+ @mixin spezial_radius($borders...) {
42
+ @include magic_prefixer(border-radius, $borders);
43
+ }
44
+
45
+ @mixin elipse( $first, $second ) {
46
+ @include spezial_radius( #{ $first }px / #{ $second }px );
47
+ }
48
+ @mixin elipsis( $first, $second ) {
49
+ @include spezial_radius( #{percentage($first)} / #{percentage($second)} );
50
+ }
51
+
@@ -0,0 +1,59 @@
1
+ // before sm
2
+ @mixin responsiveStep-xs {
3
+ @media only screen and (min-width: 490px) {
4
+ @content;
5
+ }
6
+ }
7
+ @mixin responsiveStep-sm {
8
+ @media only screen and (min-width: 768px) {
9
+ @content;
10
+ }
11
+ }
12
+ @mixin responsiveStep-md {
13
+ @media only screen and (min-width: 992px) {
14
+ @content;
15
+ }
16
+ }
17
+ @mixin responsiveStep-lg {
18
+ @media only screen and (min-width: 1200px) {
19
+ @content;
20
+ }
21
+ }
22
+ @mixin responsiveStep-xl {
23
+ @media only screen and (min-width: 1600px) {
24
+ @content;
25
+ }
26
+ }
27
+ @mixin responsiveStep-xxl {
28
+ @media only screen and (min-width: 2000px) {
29
+ @content;
30
+ }
31
+ }
32
+
33
+
34
+
35
+ @mixin responsiveStep-xs-only {
36
+ @media only screen and (max-width: 767px) {
37
+ @content;
38
+ }
39
+ }
40
+ @mixin responsiveStep-sm-only {
41
+ @media only screen and (min-width: 768px) and (max-width: 991px) {
42
+ @content;
43
+ }
44
+ }
45
+ @mixin responsiveStep-md-only {
46
+ @media only screen and (min-width: 992px) and (max-width: 1199px) {
47
+ @content;
48
+ }
49
+ }
50
+ @mixin responsiveStep-lg-only {
51
+ @media only screen and (min-width: 1200px) and (max-width: 1599px) {
52
+ @content;
53
+ }
54
+ }
55
+ @mixin responsiveStep-xl-only {
56
+ @media only screen and (min-width: 1600px) and (max-width: 1999px) {
57
+ @content;
58
+ }
59
+ }
@@ -0,0 +1,55 @@
1
+ // Core variables and mixins
2
+ // @import "bootstrap/variables";
3
+ @import "magic/corporate/colors";
4
+ @import "magic/corporate/fonts";
5
+ @import "magic/corporate/typo";
6
+ @import "magic/corporate/variables";
7
+
8
+ @import "bootstrap/mixins";
9
+
10
+ // Reset and dependencies
11
+ @import "bootstrap/normalize";
12
+ @import "bootstrap/print";
13
+ @import "bootstrap/glyphicons";
14
+
15
+ // Core CSS
16
+ @import "bootstrap/scaffolding";
17
+ @import "bootstrap/type";
18
+ @import "bootstrap/code";
19
+ @import "bootstrap/grid";
20
+ @import "bootstrap/tables";
21
+ @import "bootstrap/forms";
22
+ @import "bootstrap/buttons";
23
+
24
+ // Components
25
+ @import "bootstrap/component-animations";
26
+ @import "bootstrap/dropdowns";
27
+ @import "bootstrap/button-groups";
28
+ @import "bootstrap/input-groups";
29
+ @import "bootstrap/navs";
30
+ @import "bootstrap/navbar";
31
+ @import "bootstrap/breadcrumbs";
32
+ @import "bootstrap/pagination";
33
+ @import "bootstrap/pager";
34
+ @import "bootstrap/labels";
35
+ @import "bootstrap/badges";
36
+ @import "bootstrap/jumbotron";
37
+ @import "bootstrap/thumbnails";
38
+ @import "bootstrap/alerts";
39
+ @import "bootstrap/progress-bars";
40
+ @import "bootstrap/media";
41
+ @import "bootstrap/list-group";
42
+ @import "bootstrap/panels";
43
+ @import "bootstrap/responsive-embed";
44
+ @import "bootstrap/wells";
45
+ @import "bootstrap/close";
46
+
47
+ // Components w/ JavaScript
48
+ @import "bootstrap/modals";
49
+ @import "bootstrap/tooltip";
50
+ @import "bootstrap/popovers";
51
+ @import "bootstrap/carousel";
52
+
53
+ // Utility classes
54
+ @import "bootstrap/utilities";
55
+ @import "bootstrap/responsive-utilities";