fomantic-ui 2.9.0-beta.317 → 2.9.0-beta.319

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (162) hide show
  1. package/dist/components/accordion.css +1 -1
  2. package/dist/components/accordion.js +1 -1
  3. package/dist/components/accordion.min.css +1 -1
  4. package/dist/components/accordion.min.js +1 -1
  5. package/dist/components/ad.css +1 -1
  6. package/dist/components/ad.min.css +1 -1
  7. package/dist/components/api.js +1 -1
  8. package/dist/components/api.min.js +1 -1
  9. package/dist/components/breadcrumb.css +1 -1
  10. package/dist/components/breadcrumb.min.css +1 -1
  11. package/dist/components/button.css +1 -1
  12. package/dist/components/button.min.css +1 -1
  13. package/dist/components/calendar.css +1 -1
  14. package/dist/components/calendar.js +1 -1
  15. package/dist/components/calendar.min.css +1 -1
  16. package/dist/components/calendar.min.js +1 -1
  17. package/dist/components/card.css +1 -1
  18. package/dist/components/card.min.css +1 -1
  19. package/dist/components/checkbox.css +1 -1
  20. package/dist/components/checkbox.js +1 -1
  21. package/dist/components/checkbox.min.css +1 -1
  22. package/dist/components/checkbox.min.js +1 -1
  23. package/dist/components/comment.css +1 -1
  24. package/dist/components/comment.min.css +1 -1
  25. package/dist/components/container.css +1 -1
  26. package/dist/components/container.min.css +1 -1
  27. package/dist/components/dimmer.css +1 -1
  28. package/dist/components/dimmer.js +1 -1
  29. package/dist/components/dimmer.min.css +1 -1
  30. package/dist/components/dimmer.min.js +1 -1
  31. package/dist/components/divider.css +1 -1
  32. package/dist/components/divider.min.css +1 -1
  33. package/dist/components/dropdown.css +1 -1
  34. package/dist/components/dropdown.js +1 -1
  35. package/dist/components/dropdown.min.css +1 -1
  36. package/dist/components/dropdown.min.js +1 -1
  37. package/dist/components/embed.css +1 -1
  38. package/dist/components/embed.js +1 -1
  39. package/dist/components/embed.min.css +1 -1
  40. package/dist/components/embed.min.js +1 -1
  41. package/dist/components/feed.css +1 -1
  42. package/dist/components/feed.min.css +1 -1
  43. package/dist/components/flag.css +1 -1
  44. package/dist/components/flag.min.css +1 -1
  45. package/dist/components/flyout.css +57 -23
  46. package/dist/components/flyout.js +223 -40
  47. package/dist/components/flyout.min.css +2 -2
  48. package/dist/components/flyout.min.js +2 -2
  49. package/dist/components/form.css +1 -1
  50. package/dist/components/form.js +1 -1
  51. package/dist/components/form.min.css +1 -1
  52. package/dist/components/form.min.js +1 -1
  53. package/dist/components/grid.css +1 -1
  54. package/dist/components/grid.min.css +1 -1
  55. package/dist/components/header.css +1 -1
  56. package/dist/components/header.min.css +1 -1
  57. package/dist/components/icon.css +1 -1
  58. package/dist/components/icon.min.css +1 -1
  59. package/dist/components/image.css +1 -1
  60. package/dist/components/image.min.css +1 -1
  61. package/dist/components/input.css +1 -1
  62. package/dist/components/input.min.css +1 -1
  63. package/dist/components/item.css +1 -1
  64. package/dist/components/item.min.css +1 -1
  65. package/dist/components/label.css +1 -1
  66. package/dist/components/label.min.css +1 -1
  67. package/dist/components/list.css +1 -1
  68. package/dist/components/list.min.css +1 -1
  69. package/dist/components/loader.css +1 -1
  70. package/dist/components/loader.min.css +1 -1
  71. package/dist/components/message.css +1 -1
  72. package/dist/components/message.min.css +1 -1
  73. package/dist/components/modal.css +6 -6
  74. package/dist/components/modal.js +1 -1
  75. package/dist/components/modal.min.css +2 -2
  76. package/dist/components/modal.min.js +1 -1
  77. package/dist/components/nag.css +1 -1
  78. package/dist/components/nag.js +1 -1
  79. package/dist/components/nag.min.css +1 -1
  80. package/dist/components/nag.min.js +1 -1
  81. package/dist/components/placeholder.css +1 -1
  82. package/dist/components/placeholder.min.css +1 -1
  83. package/dist/components/popup.css +1 -1
  84. package/dist/components/popup.js +1 -1
  85. package/dist/components/popup.min.css +1 -1
  86. package/dist/components/popup.min.js +1 -1
  87. package/dist/components/progress.css +1 -1
  88. package/dist/components/progress.js +1 -1
  89. package/dist/components/progress.min.css +1 -1
  90. package/dist/components/progress.min.js +1 -1
  91. package/dist/components/rail.css +1 -1
  92. package/dist/components/rail.min.css +1 -1
  93. package/dist/components/rating.css +1 -1
  94. package/dist/components/rating.js +1 -1
  95. package/dist/components/rating.min.css +1 -1
  96. package/dist/components/rating.min.js +1 -1
  97. package/dist/components/reset.css +1 -1
  98. package/dist/components/reset.min.css +1 -1
  99. package/dist/components/reveal.css +1 -1
  100. package/dist/components/reveal.min.css +1 -1
  101. package/dist/components/search.css +1 -1
  102. package/dist/components/search.js +1 -1
  103. package/dist/components/search.min.css +1 -1
  104. package/dist/components/search.min.js +1 -1
  105. package/dist/components/segment.css +1 -1
  106. package/dist/components/segment.min.css +1 -1
  107. package/dist/components/shape.css +1 -1
  108. package/dist/components/shape.js +1 -1
  109. package/dist/components/shape.min.css +1 -1
  110. package/dist/components/shape.min.js +1 -1
  111. package/dist/components/sidebar.css +11 -3
  112. package/dist/components/sidebar.js +27 -7
  113. package/dist/components/sidebar.min.css +2 -2
  114. package/dist/components/sidebar.min.js +2 -2
  115. package/dist/components/site.css +1 -1
  116. package/dist/components/site.js +1 -1
  117. package/dist/components/site.min.css +1 -1
  118. package/dist/components/site.min.js +1 -1
  119. package/dist/components/slider.js +1 -1
  120. package/dist/components/slider.min.js +1 -1
  121. package/dist/components/state.js +1 -1
  122. package/dist/components/state.min.js +1 -1
  123. package/dist/components/statistic.css +1 -1
  124. package/dist/components/statistic.min.css +1 -1
  125. package/dist/components/step.css +1 -1
  126. package/dist/components/step.min.css +1 -1
  127. package/dist/components/sticky.css +1 -1
  128. package/dist/components/sticky.js +1 -1
  129. package/dist/components/sticky.min.css +1 -1
  130. package/dist/components/sticky.min.js +1 -1
  131. package/dist/components/tab.css +1 -1
  132. package/dist/components/tab.js +1 -1
  133. package/dist/components/tab.min.css +1 -1
  134. package/dist/components/tab.min.js +1 -1
  135. package/dist/components/table.css +1 -1
  136. package/dist/components/table.min.css +1 -1
  137. package/dist/components/text.css +1 -1
  138. package/dist/components/text.min.css +1 -1
  139. package/dist/components/toast.css +1 -1
  140. package/dist/components/toast.js +1 -1
  141. package/dist/components/toast.min.css +1 -1
  142. package/dist/components/toast.min.js +1 -1
  143. package/dist/components/transition.css +1 -1
  144. package/dist/components/transition.js +1 -1
  145. package/dist/components/transition.min.css +1 -1
  146. package/dist/components/transition.min.js +1 -1
  147. package/dist/components/visibility.js +1 -1
  148. package/dist/components/visibility.min.js +1 -1
  149. package/dist/semantic.css +133 -78
  150. package/dist/semantic.js +274 -71
  151. package/dist/semantic.min.css +2 -2
  152. package/dist/semantic.min.js +2 -2
  153. package/package.json +1 -1
  154. package/src/definitions/modules/flyout.js +222 -39
  155. package/src/definitions/modules/flyout.less +114 -68
  156. package/src/definitions/modules/modal.less +3 -3
  157. package/src/definitions/modules/sidebar.js +26 -6
  158. package/src/definitions/modules/sidebar.less +11 -0
  159. package/src/themes/default/globals/variation.variables +8 -0
  160. package/src/themes/default/modules/flyout.variables +56 -1
  161. package/src/themes/default/modules/modal.variables +2 -2
  162. package/src/themes/default/modules/sidebar.variables +4 -1
@@ -58,21 +58,23 @@
58
58
  .ui.flyout > .close {
59
59
  cursor: pointer;
60
60
  position: absolute;
61
- top: 1.25rem;
62
- right: 1.5rem;
61
+ top: @closeTop;
62
+ right: @closeRight;
63
63
  z-index: 1;
64
- opacity: 0.8;
65
- font-size: 1.25em;
66
- color: rgba(0, 0, 0, 0.85);
67
- width: 2.25rem;
68
- height: 2.25rem;
69
- padding: 0;
70
- margin: 0 0 0 0.25rem;
64
+ opacity: @closeOpacity;
65
+ font-size: @closeSize;
66
+ color: @closeColor;
67
+ width: @closeHitbox;
68
+ height: @closeHitbox;
69
+ padding: @closePadding;
70
+ margin: @closeMargin;
71
71
  text-align: right;
72
72
  }
73
73
 
74
+ .ui.flyout > .close:focus,
74
75
  .ui.flyout > .close:hover {
75
76
  opacity: 1;
77
+ outline: none;
76
78
  }
77
79
 
78
80
  /*--------------
@@ -80,13 +82,12 @@
80
82
  ---------------*/
81
83
  .ui.flyout > .header {
82
84
  display: block;
83
- background: #FFFFFF;
84
- margin: 0;
85
- padding: 1.25rem 1.5rem;
86
- -webkit-box-shadow: none;
87
- box-shadow: none;
88
- color: rgba(0, 0, 0, 0.85);
89
- border-bottom: 1px solid rgba(34, 36, 38, 0.15);
85
+ background: @headerBackground;
86
+ margin: @headerMargin;
87
+ padding: @headerPadding;
88
+ box-shadow: @headerBoxShadow;
89
+ color: @headerColor;
90
+ border-bottom: @headerBorder;
90
91
  }
91
92
 
92
93
  /*--------------
@@ -95,38 +96,74 @@
95
96
  .ui.flyout > .content {
96
97
  display: block;
97
98
  width: 100%;
98
- font-size: 1em;
99
- line-height: 1.4;
100
- padding: 1.5rem;
101
- background: #FFFFFF;
99
+ font-size: @contentFontSize;
100
+ line-height: @contentLineHeight;
101
+ padding: @contentPadding;
102
+ background: @contentBackground;
102
103
  }
103
104
  .ui.flyout.left > .content,
104
105
  .ui.flyout.right > .content {
105
- min-height: calc(100vh - 9.1rem);
106
+ min-height: @contentMinHeight;
106
107
  }
107
108
 
108
109
  .ui.flyout.left > .scrolling.content,
109
110
  .ui.flyout.right > .scrolling.content{
110
- max-height: calc(100vh - 9.1rem);
111
+ max-height: @scrollingContentMaxHeight;
111
112
  overflow: auto;
112
113
  }
113
114
 
114
115
  .ui.flyout.top > .scrolling.content,
115
116
  .ui.flyout.bottom > .scrolling.content{
116
- max-height: calc(80vh - 9.1rem);
117
+ max-height: @scrollingContentMaxHeightTopBottom;
117
118
  overflow: auto;
118
119
  }
119
120
 
120
- /*--------------
121
- Actions
122
- ---------------*/
123
- .ui.flyout > .actions {
124
- padding: 1rem 1rem;
125
- border-top: 1px solid rgba(34, 36, 38, 0.15);
126
- text-align: right;
121
+ & when (@variationFlyoutActions) {
122
+ /*--------------
123
+ Actions
124
+ ---------------*/
125
+ .ui.flyout > .actions {
126
+ background: @actionBackground;
127
+ padding: @actionPadding;
128
+ border-top: @actionBorder;
129
+ text-align: @actionAlign;
130
+ }
131
+ .ui.flyout .actions > .button:not(.fluid) {
132
+ margin-left: @buttonDistance;
133
+ }
134
+ & when (@variationFlyoutBasic) {
135
+ .ui.ui.flyout > .basic.actions {
136
+ border-top: none;
137
+ }
138
+ }
139
+ & when (@variationFlyoutLeftActions) {
140
+ .ui.flyout > .left.actions {
141
+ text-align: left;
142
+ & > .button:not(.fluid) {
143
+ margin-left: @buttonLeftDistance;
144
+ margin-right: @buttonLeftDistance;
145
+ }
146
+ }
147
+ }
127
148
  }
128
- .ui.flyout .actions > .button:not(.fluid) {
129
- margin-left: 0.75em;
149
+ & when (@variationFlyoutCentered) {
150
+ .ui.flyout > .centered,
151
+ .ui.flyout > .center.aligned {
152
+ text-align: center;
153
+ &.actions > .button:not(.fluid) when (@variationFlyoutActions){
154
+ margin-left: @buttonCenteredDistance;
155
+ margin-right: @buttonCenteredDistance;
156
+ }
157
+ }
158
+ }
159
+ & when (@variationFlyoutBasic) {
160
+ .ui.ui.flyout > .basic.header,
161
+ .ui.ui.flyout > .basic.actions {
162
+ background-color: transparent;
163
+ }
164
+ .ui.flyout > .basic.header {
165
+ border-bottom: none;
166
+ }
130
167
  }
131
168
 
132
169
  /*--------------
@@ -199,7 +236,7 @@ body.pushable {
199
236
  }
200
237
  .pushable:not(body) > .ui.flyout,
201
238
  .pushable:not(body) > .fixed,
202
- .pushable:not(body) > .pusher:after {
239
+ .pushable:not(body) > .pusher::after {
203
240
  position: absolute;
204
241
  }
205
242
 
@@ -224,13 +261,15 @@ body.pushable {
224
261
  .pushable > .pusher {
225
262
  position: relative;
226
263
  backface-visibility: hidden;
227
- overflow: hidden;
228
264
  min-height: 100%;
229
265
  transition: transform @duration @easing;
230
266
  z-index: @middleLayer;
231
267
 
232
268
  /* Pusher should inherit background from context */
233
269
  background: inherit;
270
+ &:not(.overflowing) {
271
+ overflow: hidden;
272
+ }
234
273
  }
235
274
 
236
275
  body.pushable > .pusher {
@@ -241,7 +280,7 @@ body.pushable > .pusher {
241
280
  Dimmer
242
281
  ---------------*/
243
282
 
244
- .pushable > .pusher:after {
283
+ .pushable > .pusher::after {
245
284
  position: fixed;
246
285
  top: 0;
247
286
  right: 0;
@@ -270,12 +309,21 @@ body.pushable > .pusher {
270
309
  Dimmed
271
310
  ---------------*/
272
311
 
273
- .pushable > .pusher.dimmed:after {
312
+ .pushable > .pusher.dimmed::after {
274
313
  width: 100% !important;
275
314
  height: 100% !important;
276
315
  opacity: 1 !important;
277
316
  }
278
-
317
+ & when (@variationFlyoutBlurring) {
318
+ .pushable > .pusher.dimmed.blurring:not(.closing)::after {
319
+ background: @blurredBackgroundColor;
320
+ -webkit-backdrop-filter: @blurredEndFilter;
321
+ backdrop-filter: @blurredEndFilter;
322
+ }
323
+ }
324
+ .pushable > .pusher.closing.dimmed::after {
325
+ opacity: 0 !important;
326
+ }
279
327
  /*--------------
280
328
  Animating
281
329
  ---------------*/
@@ -343,30 +391,28 @@ body.pushable > .pusher {
343
391
  }
344
392
  }
345
393
 
346
- /*--------------
347
- iOS
348
- ---------------*/
349
-
350
- /*--------------
351
- Inverted
352
- ---------------*/
353
- .ui.flyout.inverted {
354
- background: rgba(0, 0, 0, 0.9);
355
- }
394
+ & when (@variationFlyoutInverted) {
395
+ /*--------------
396
+ Inverted
397
+ ---------------*/
398
+ .ui.flyout.inverted {
399
+ background: @invertedBackground;
400
+ }
356
401
 
357
- .ui.flyout.inverted > .close {
358
- color: #FFFFFF;
359
- }
402
+ .ui.flyout.inverted > .close {
403
+ color: @invertedCloseColor;
404
+ }
360
405
 
361
- .ui.flyout.inverted > .header,
362
- .ui.flyout.inverted > .content {
363
- background: rgba(0, 0, 0, 0.9);
364
- color: #FFFFFF;
365
- }
366
- .ui.flyout.inverted > .actions {
367
- background: #191A1B;
368
- border-top: 1px solid rgba(34, 36, 38, 0.85);
369
- color: #FFFFFF;
406
+ .ui.flyout.inverted > .header,
407
+ .ui.flyout.inverted > .content {
408
+ background: @invertedBackground;
409
+ color: @invertedHeaderColor;
410
+ }
411
+ .ui.flyout.inverted > .actions {
412
+ background: @invertedActionBackground;
413
+ border-top: @invertedActionBorder;
414
+ color: @invertedActionColor;
415
+ }
370
416
  }
371
417
 
372
418
  /*******************************
@@ -379,6 +425,10 @@ body.pushable > .pusher {
379
425
 
380
426
  /* Left / Right */
381
427
  & when (@variationFlyoutLeft) or (@variationFlyoutRight) {
428
+ .ui.left.flyout,
429
+ .ui.right.flyout {
430
+ width: @width;
431
+ }
382
432
  & when (@variationFlyoutThin) {
383
433
  .ui.thin.left.flyout,
384
434
  .ui.thin.right.flyout {
@@ -391,11 +441,6 @@ body.pushable > .pusher {
391
441
  }
392
442
  }
393
443
 
394
- .ui.left.flyout,
395
- .ui.right.flyout {
396
- width: @width;
397
- }
398
-
399
444
  & when (@variationFlyoutWide) {
400
445
  .ui.wide.left.flyout,
401
446
  .ui.wide.right.flyout {
@@ -462,10 +507,11 @@ body.pushable > .pusher {
462
507
  }
463
508
  }
464
509
 
465
- /* Fullscreen */
466
-
467
- .ui.fullscreen.flyout {
468
- width: 100%;
510
+ & when (@variationFlyoutFullscreen) {
511
+ /* Fullscreen */
512
+ .ui.fullscreen.flyout {
513
+ width: 100%;
514
+ }
469
515
  }
470
516
 
471
517
 
@@ -181,7 +181,7 @@
181
181
  .ui.modal .actions > .button:not(.fluid) {
182
182
  margin-left: @buttonDistance;
183
183
  }
184
- .ui.modal > .basic.actions,
184
+ .ui.ui.modal > .basic.actions,
185
185
  .ui.basic.modal > .actions {
186
186
  border-top: none;
187
187
  }
@@ -344,8 +344,8 @@
344
344
  box-shadow: none !important;
345
345
  color: @basicModalColor;
346
346
  }
347
- .ui.modal > .basic.header,
348
- .ui.modal > .basic.actions,
347
+ .ui.ui.modal > .basic.header,
348
+ .ui.ui.modal > .basic.actions,
349
349
  .ui.basic.modal > .header,
350
350
  .ui.basic.modal > .content,
351
351
  .ui.basic.modal > .actions {
@@ -67,7 +67,7 @@ $.fn.sidebar = function(parameters) {
67
67
  moduleNamespace = 'module-' + namespace,
68
68
 
69
69
  $module = $(this),
70
- $context = [window,document].indexOf(settings.context) < 0 ? $(document).find(settings.context) : $body,
70
+ $context = [window,document].indexOf(settings.context) < 0 ? $document.find(settings.context) : $body,
71
71
  isBody = $context[0] === $body[0],
72
72
 
73
73
  $sidebars = $module.children(selector.sidebar),
@@ -305,8 +305,8 @@ $.fn.sidebar = function(parameters) {
305
305
 
306
306
  refresh: function() {
307
307
  module.verbose('Refreshing selector cache');
308
- $context = [window,document].indexOf(settings.context) < 0 ? $(document).find(settings.context) : $(settings.context);
309
- $sidebars = $context.children(selector.sidebar);
308
+ $context = [window,document].indexOf(settings.context) < 0 ? $document.find(settings.context) : $body;
309
+ module.refreshSidebars();
310
310
  $pusher = $context.children(selector.pusher);
311
311
  $fixed = $context.children(selector.fixed);
312
312
  module.clear.cache();
@@ -401,7 +401,6 @@ $.fn.sidebar = function(parameters) {
401
401
  module.verbose('Show callback returned false cancelling show');
402
402
  return;
403
403
  }
404
- module.refreshSidebars();
405
404
  if(settings.overlay) {
406
405
  module.error(error.overlay);
407
406
  settings.transition = 'overlay';
@@ -423,6 +422,7 @@ $.fn.sidebar = function(parameters) {
423
422
  settings.transition = 'overlay';
424
423
  }
425
424
  }
425
+ module.set.dimmerStyles();
426
426
  module.pushPage(function() {
427
427
  callback.call(element);
428
428
  settings.onVisible.call(element);
@@ -555,20 +555,24 @@ $.fn.sidebar = function(parameters) {
555
555
  animate = function() {
556
556
  module.set.transition(transition);
557
557
  module.set.animating();
558
- module.remove.visible();
559
558
  if(settings.dimPage && !module.othersVisible()) {
560
- $pusher.removeClass(className.dimmed);
559
+ module.set.closing();
561
560
  }
561
+ module.remove.visible();
562
562
  };
563
563
  transitionEnd = function(event) {
564
564
  if( event.target == $transition[0] ) {
565
565
  $transition.off(transitionEvent + elementNamespace, transitionEnd);
566
566
  module.remove.animating();
567
+ module.remove.closing();
567
568
  module.remove.transition();
568
569
  module.remove.inlineCSS();
569
570
  if(transition === 'scale down' || settings.returnScroll) {
570
571
  module.scrollBack();
571
572
  }
573
+ if(settings.dimPage && !module.othersVisible()) {
574
+ $pusher.removeClass(className.dimmed);
575
+ }
572
576
  callback.call(element);
573
577
  }
574
578
  };
@@ -606,6 +610,14 @@ $.fn.sidebar = function(parameters) {
606
610
  el.css(attribute, 'calc(' + el.css(attribute) + ' + ' + tempBodyMargin + 'px)');
607
611
  });
608
612
  },
613
+ dimmerStyles: function() {
614
+ if(settings.blurring) {
615
+ $pusher.addClass(className.blurring);
616
+ }
617
+ else {
618
+ $pusher.removeClass(className.blurring);
619
+ }
620
+ },
609
621
  // ios only (scroll on html not document). This prevent auto-resize canvas/scroll in ios
610
622
  // (This is no longer necessary in latest iOS)
611
623
  ios: function() {
@@ -632,6 +644,9 @@ $.fn.sidebar = function(parameters) {
632
644
  animating: function() {
633
645
  $module.addClass(className.animating);
634
646
  },
647
+ closing: function() {
648
+ $pusher.addClass(className.closing);
649
+ },
635
650
  transition: function(transition) {
636
651
  transition = transition || module.get.transition();
637
652
  $module.addClass(transition);
@@ -676,6 +691,9 @@ $.fn.sidebar = function(parameters) {
676
691
  animating: function() {
677
692
  $module.removeClass(className.animating);
678
693
  },
694
+ closing: function() {
695
+ $pusher.removeClass(className.closing);
696
+ },
679
697
  transition: function(transition) {
680
698
  transition = transition || module.get.transition();
681
699
  $module.removeClass(transition);
@@ -1073,6 +1091,8 @@ $.fn.sidebar.settings = {
1073
1091
  className : {
1074
1092
  active : 'active',
1075
1093
  animating : 'animating',
1094
+ blurring : 'blurring',
1095
+ closing : 'closing',
1076
1096
  dimmed : 'dimmed',
1077
1097
  ios : 'ios',
1078
1098
  locked : 'locked',
@@ -198,6 +198,17 @@ body.pushable > .pusher {
198
198
  height: 100% !important;
199
199
  opacity: 1 !important;
200
200
  }
201
+ & when (@variationSidebarBlurring) {
202
+ .pushable > .pusher.dimmed.blurring:not(.closing)::after {
203
+ background: @blurredBackgroundColor;
204
+ -webkit-backdrop-filter: @blurredEndFilter;
205
+ backdrop-filter: @blurredEndFilter;
206
+
207
+ }
208
+ }
209
+ .pushable > .pusher.closing.dimmed::after {
210
+ opacity: 0 !important;
211
+ }
201
212
 
202
213
  /*--------------
203
214
  Animating
@@ -551,6 +551,13 @@
551
551
  @variationEmbedRatio: true;
552
552
 
553
553
  /* Flyout */
554
+ @variationFlyoutInverted: true;
555
+ @variationFlyoutBasic: true;
556
+ @variationFlyoutFullscreen: true;
557
+ @variationFlyoutCentered: true;
558
+ @variationFlyoutActions: true;
559
+ @variationFlyoutLeftActions: true;
560
+ @variationFlyoutBlurring: true;
554
561
  @variationFlyoutColumnWidth: true;
555
562
  @variationFlyoutThin: true;
556
563
  @variationFlyoutWide: true;
@@ -660,6 +667,7 @@
660
667
  @variationSidebarScale: true;
661
668
  @variationSidebarPush: true;
662
669
  @variationSidebarUncover: true;
670
+ @variationSidebarBlurring: true;
663
671
 
664
672
  /* Slider */
665
673
  @variationSliderInverted: true;
@@ -13,7 +13,10 @@
13
13
 
14
14
  /* Dimmer */
15
15
  @dimmerColor: rgba(0, 0, 0, 0.4);
16
- @dimmerTransition: opacity @duration;
16
+ @dimmerTransition: all @duration;
17
+
18
+ @blurredBackgroundColor: rgba(0, 0, 0, 0.6);
19
+ @blurredEndFilter: e("blur(5px) grayscale(0.7)");
17
20
 
18
21
  /* Color below page */
19
22
  @canvasBackground: @lightBlack;
@@ -30,6 +33,48 @@
30
33
  @topLayer: 102;
31
34
  @dimmerLayer: 1000;
32
35
 
36
+ /* Actions */
37
+ @actionBorder: 1px solid @borderColor;
38
+ @actionBackground: @offWhite;
39
+ @actionPadding: 1rem 1rem;
40
+ @actionAlign: right;
41
+
42
+ @buttonDistance: 0.75em;
43
+ @buttonCenteredDistance: 0.5em;
44
+ @buttonLeftDistance: @buttonCenteredDistance;
45
+
46
+ /* Scrolling Content */
47
+ @contentMinHeight: calc(100vh - 9.1rem);
48
+ @scrollingContentMaxHeight: @contentMinHeight;
49
+ @scrollingContentMaxHeightTopBottom: calc(80vh - 9.1rem);
50
+
51
+ /* Close Icon */
52
+ @closeOpacity: 0.8;
53
+ @closeSize: 1.25em;
54
+ @closeColor: @darkTextColor;
55
+
56
+ @closeHitbox: 2.25rem;
57
+ @closePadding: 0;
58
+ @closeMargin: 0 0 0 0.25rem;
59
+ @closeTop: 1.25rem;
60
+ @closeRight: 1.5rem;
61
+
62
+ /* Header */
63
+ @headerMargin: 0;
64
+ @headerVerticalPadding: 1.25rem;
65
+ @headerHorizontalPadding: 1.5rem;
66
+ @headerPadding: @headerVerticalPadding @headerHorizontalPadding;
67
+ @headerBackground: @white;
68
+ @headerColor: @darkTextColor;
69
+ @headerBoxShadow: none;
70
+ @headerBorder: 1px solid @borderColor;
71
+
72
+ /* Content */
73
+ @contentFontSize: 1em;
74
+ @contentPadding: 1.5rem;
75
+ @contentLineHeight: 1.4;
76
+ @contentBackground: @white;
77
+
33
78
  /*-------------------
34
79
  Variations
35
80
  --------------------*/
@@ -43,3 +88,13 @@
43
88
 
44
89
  /* Height */
45
90
  @height: 36px;
91
+
92
+ /*-------------------
93
+ Inverted
94
+ --------------------*/
95
+ @invertedBackground: @fullBlack;
96
+ @invertedCloseColor: @white;
97
+ @invertedHeaderColor: @white;
98
+ @invertedActionBackground: #191A1B;
99
+ @invertedActionBorder: 1px solid rgba(34, 36, 38, 0.85);
100
+ @invertedActionColor: @white;
@@ -48,7 +48,7 @@
48
48
  @contentFontSize: 1em;
49
49
  @contentPadding: 1.5rem;
50
50
  @contentLineHeight: 1.4;
51
- @contentBackground: #FFFFFF;
51
+ @contentBackground: @white;
52
52
 
53
53
  /* Image / Description */
54
54
  @imageWidth: '';
@@ -249,7 +249,7 @@
249
249
  /*-------------------
250
250
  Inverted
251
251
  --------------------*/
252
- @invertedBackground: rgba(0,0,0,.9);
252
+ @invertedBackground: @fullBlack;
253
253
  @invertedCloseColor: @white;
254
254
  @invertedHeaderColor: @white;
255
255
  @invertedHeaderBackgroundColor: @darkTextColor;
@@ -13,7 +13,10 @@
13
13
 
14
14
  /* Dimmer */
15
15
  @dimmerColor: rgba(0, 0, 0, 0.4);
16
- @dimmerTransition: opacity @duration;
16
+ @dimmerTransition: all @duration;
17
+
18
+ @blurredBackgroundColor: rgba(0, 0, 0, 0.6);
19
+ @blurredEndFilter: e("blur(5px) grayscale(0.7)");
17
20
 
18
21
  /* Color below page */
19
22
  @canvasBackground: @lightBlack;