fomantic-ui 2.9.1-beta.19 → 2.9.1-beta.20

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 (212) hide show
  1. package/.eslintrc.js +1 -0
  2. package/.stylelintrc.js +46 -0
  3. package/dist/components/accordion.css +19 -26
  4. package/dist/components/accordion.js +1 -1
  5. package/dist/components/accordion.min.css +1 -1
  6. package/dist/components/accordion.min.js +1 -1
  7. package/dist/components/ad.css +31 -41
  8. package/dist/components/ad.min.css +1 -1
  9. package/dist/components/api.js +1 -1
  10. package/dist/components/api.min.js +1 -1
  11. package/dist/components/breadcrumb.css +1 -1
  12. package/dist/components/breadcrumb.min.css +1 -1
  13. package/dist/components/button.css +71 -96
  14. package/dist/components/button.min.css +1 -1
  15. package/dist/components/calendar.css +6 -8
  16. package/dist/components/calendar.js +1 -1
  17. package/dist/components/calendar.min.css +1 -1
  18. package/dist/components/calendar.min.js +1 -1
  19. package/dist/components/card.css +83 -115
  20. package/dist/components/card.min.css +1 -1
  21. package/dist/components/checkbox.css +47 -64
  22. package/dist/components/checkbox.js +1 -1
  23. package/dist/components/checkbox.min.css +1 -1
  24. package/dist/components/checkbox.min.js +1 -1
  25. package/dist/components/comment.css +37 -51
  26. package/dist/components/comment.min.css +1 -1
  27. package/dist/components/container.css +4 -5
  28. package/dist/components/container.min.css +1 -1
  29. package/dist/components/dimmer.css +31 -41
  30. package/dist/components/dimmer.js +1 -1
  31. package/dist/components/dimmer.min.css +1 -1
  32. package/dist/components/dimmer.min.js +1 -1
  33. package/dist/components/divider.css +32 -44
  34. package/dist/components/divider.min.css +1 -1
  35. package/dist/components/dropdown.css +109 -152
  36. package/dist/components/dropdown.js +1 -1
  37. package/dist/components/dropdown.min.css +1 -1
  38. package/dist/components/dropdown.min.js +1 -1
  39. package/dist/components/embed.css +13 -19
  40. package/dist/components/embed.js +1 -1
  41. package/dist/components/embed.min.css +1 -1
  42. package/dist/components/embed.min.js +1 -1
  43. package/dist/components/emoji.css +7 -6
  44. package/dist/components/feed.css +24 -32
  45. package/dist/components/feed.min.css +1 -1
  46. package/dist/components/flag.css +5 -3
  47. package/dist/components/flag.min.css +1 -1
  48. package/dist/components/flyout.css +39 -56
  49. package/dist/components/flyout.js +1 -1
  50. package/dist/components/flyout.min.css +1 -1
  51. package/dist/components/flyout.min.js +1 -1
  52. package/dist/components/form.css +85 -111
  53. package/dist/components/form.js +1 -1
  54. package/dist/components/form.min.css +1 -1
  55. package/dist/components/form.min.js +1 -1
  56. package/dist/components/grid.css +70 -96
  57. package/dist/components/grid.min.css +1 -1
  58. package/dist/components/header.css +47 -65
  59. package/dist/components/header.min.css +1 -1
  60. package/dist/components/icon.css +42 -53
  61. package/dist/components/icon.min.css +1 -1
  62. package/dist/components/image.css +32 -42
  63. package/dist/components/image.min.css +1 -1
  64. package/dist/components/input.css +45 -58
  65. package/dist/components/input.min.css +1 -1
  66. package/dist/components/item.css +55 -77
  67. package/dist/components/item.min.css +1 -1
  68. package/dist/components/label.css +61 -90
  69. package/dist/components/label.min.css +1 -1
  70. package/dist/components/list.css +44 -59
  71. package/dist/components/list.min.css +1 -1
  72. package/dist/components/loader.css +16 -22
  73. package/dist/components/loader.min.css +1 -1
  74. package/dist/components/menu.css +126 -186
  75. package/dist/components/message.css +25 -35
  76. package/dist/components/message.min.css +1 -1
  77. package/dist/components/modal.css +33 -40
  78. package/dist/components/modal.js +1 -1
  79. package/dist/components/modal.min.css +1 -1
  80. package/dist/components/modal.min.js +1 -1
  81. package/dist/components/nag.css +19 -25
  82. package/dist/components/nag.js +1 -1
  83. package/dist/components/nag.min.css +1 -1
  84. package/dist/components/nag.min.js +1 -1
  85. package/dist/components/placeholder.css +10 -12
  86. package/dist/components/placeholder.min.css +1 -1
  87. package/dist/components/popup.css +49 -59
  88. package/dist/components/popup.js +1 -1
  89. package/dist/components/popup.min.css +1 -1
  90. package/dist/components/popup.min.js +1 -1
  91. package/dist/components/progress.css +29 -39
  92. package/dist/components/progress.js +1 -1
  93. package/dist/components/progress.min.css +1 -1
  94. package/dist/components/progress.min.js +1 -1
  95. package/dist/components/rail.css +15 -20
  96. package/dist/components/rail.min.css +1 -1
  97. package/dist/components/rating.css +9 -13
  98. package/dist/components/rating.js +1 -1
  99. package/dist/components/rating.min.css +1 -1
  100. package/dist/components/rating.min.js +1 -1
  101. package/dist/components/reset.css +1 -1
  102. package/dist/components/reset.min.css +1 -1
  103. package/dist/components/reveal.css +19 -26
  104. package/dist/components/reveal.min.css +1 -1
  105. package/dist/components/search.css +41 -58
  106. package/dist/components/search.js +1 -1
  107. package/dist/components/search.min.css +1 -1
  108. package/dist/components/search.min.js +1 -1
  109. package/dist/components/segment.css +62 -83
  110. package/dist/components/segment.min.css +1 -1
  111. package/dist/components/shape.css +10 -14
  112. package/dist/components/shape.js +1 -1
  113. package/dist/components/shape.min.css +1 -1
  114. package/dist/components/shape.min.js +1 -1
  115. package/dist/components/sidebar.css +41 -58
  116. package/dist/components/sidebar.js +1 -1
  117. package/dist/components/sidebar.min.css +1 -1
  118. package/dist/components/sidebar.min.js +1 -1
  119. package/dist/components/site.css +5 -5
  120. package/dist/components/site.js +1 -1
  121. package/dist/components/site.min.css +1 -1
  122. package/dist/components/site.min.js +1 -1
  123. package/dist/components/slider.css +27 -37
  124. package/dist/components/slider.js +1 -1
  125. package/dist/components/slider.min.js +1 -1
  126. package/dist/components/state.js +1 -1
  127. package/dist/components/state.min.js +1 -1
  128. package/dist/components/statistic.css +29 -41
  129. package/dist/components/statistic.min.css +1 -1
  130. package/dist/components/step.css +26 -35
  131. package/dist/components/step.min.css +1 -1
  132. package/dist/components/sticky.css +1 -1
  133. package/dist/components/sticky.js +1 -1
  134. package/dist/components/sticky.min.css +1 -1
  135. package/dist/components/sticky.min.js +1 -1
  136. package/dist/components/tab.css +6 -8
  137. package/dist/components/tab.js +1 -1
  138. package/dist/components/tab.min.css +1 -1
  139. package/dist/components/tab.min.js +1 -1
  140. package/dist/components/table.css +87 -117
  141. package/dist/components/table.min.css +1 -1
  142. package/dist/components/text.css +1 -1
  143. package/dist/components/text.min.css +1 -1
  144. package/dist/components/toast.css +4 -6
  145. package/dist/components/toast.js +1 -1
  146. package/dist/components/toast.min.css +1 -1
  147. package/dist/components/toast.min.js +1 -1
  148. package/dist/components/transition.css +4 -3
  149. package/dist/components/transition.js +1 -1
  150. package/dist/components/transition.min.css +1 -1
  151. package/dist/components/transition.min.js +1 -1
  152. package/dist/components/visibility.js +1 -1
  153. package/dist/components/visibility.min.js +1 -1
  154. package/dist/semantic.css +1719 -1719
  155. package/dist/semantic.js +26 -26
  156. package/dist/semantic.min.css +1 -1
  157. package/dist/semantic.min.js +1 -1
  158. package/package.json +8 -4
  159. package/src/definitions/collections/breadcrumb.less +41 -44
  160. package/src/definitions/collections/form.less +869 -879
  161. package/src/definitions/collections/grid.less +1690 -1695
  162. package/src/definitions/collections/menu.less +1493 -1503
  163. package/src/definitions/collections/message.less +292 -295
  164. package/src/definitions/collections/table.less +1616 -1622
  165. package/src/definitions/elements/button.less +1723 -1737
  166. package/src/definitions/elements/container.less +209 -210
  167. package/src/definitions/elements/divider.less +205 -206
  168. package/src/definitions/elements/emoji.less +38 -44
  169. package/src/definitions/elements/flag.less +44 -46
  170. package/src/definitions/elements/header.less +337 -345
  171. package/src/definitions/elements/icon.less +511 -512
  172. package/src/definitions/elements/image.less +221 -225
  173. package/src/definitions/elements/input.less +661 -667
  174. package/src/definitions/elements/label.less +800 -799
  175. package/src/definitions/elements/list.less +809 -809
  176. package/src/definitions/elements/loader.less +272 -266
  177. package/src/definitions/elements/placeholder.less +171 -168
  178. package/src/definitions/elements/rail.less +91 -91
  179. package/src/definitions/elements/reveal.less +192 -196
  180. package/src/definitions/elements/segment.less +743 -747
  181. package/src/definitions/elements/step.less +425 -433
  182. package/src/definitions/elements/text.less +32 -34
  183. package/src/definitions/globals/reset.less +9 -6
  184. package/src/definitions/globals/site.less +106 -108
  185. package/src/definitions/modules/accordion.less +242 -246
  186. package/src/definitions/modules/calendar.less +91 -92
  187. package/src/definitions/modules/checkbox.less +536 -542
  188. package/src/definitions/modules/dimmer.less +300 -297
  189. package/src/definitions/modules/dropdown.less +1577 -1591
  190. package/src/definitions/modules/embed.less +81 -82
  191. package/src/definitions/modules/flyout.less +443 -452
  192. package/src/definitions/modules/modal.less +459 -462
  193. package/src/definitions/modules/nag.less +134 -137
  194. package/src/definitions/modules/popup.less +738 -739
  195. package/src/definitions/modules/progress.less +521 -494
  196. package/src/definitions/modules/rating.less +94 -101
  197. package/src/definitions/modules/search.less +375 -383
  198. package/src/definitions/modules/shape.less +71 -76
  199. package/src/definitions/modules/sidebar.less +464 -474
  200. package/src/definitions/modules/slider.less +307 -308
  201. package/src/definitions/modules/sticky.less +21 -23
  202. package/src/definitions/modules/tab.less +51 -52
  203. package/src/definitions/modules/toast.less +584 -586
  204. package/src/definitions/modules/transition.less +55 -56
  205. package/src/definitions/views/ad.less +206 -206
  206. package/src/definitions/views/card.less +968 -970
  207. package/src/definitions/views/comment.less +190 -198
  208. package/src/definitions/views/feed.less +220 -224
  209. package/src/definitions/views/item.less +436 -446
  210. package/src/definitions/views/statistic.less +269 -280
  211. package/src/theme.less +29 -32
  212. package/src/themes/default/globals/colors.less +589 -589
@@ -8,13 +8,11 @@
8
8
  *
9
9
  */
10
10
 
11
-
12
-
13
11
  /*******************************
14
12
  Theme
15
13
  *******************************/
16
14
 
17
- @type : 'module';
15
+ @type : 'module';
18
16
  @element : 'flyout';
19
17
 
20
18
  @import (multiple) '../../theme.config';
@@ -25,629 +23,622 @@
25
23
 
26
24
  /* Flyout Menu */
27
25
  .ui.flyout {
28
- position: fixed;
29
- top: 0;
30
- left: 0;
31
-
32
- backface-visibility: hidden;
33
- transition: none;
34
- will-change: transform;
35
- transform: translate3d(0, 0, 0);
36
- visibility: hidden;
37
- -webkit-overflow-scrolling: touch;
26
+ position: fixed;
27
+ top: 0;
28
+ left: 0;
38
29
 
39
- height: 100%;
40
- max-height: 100%;
41
- max-width: 100%;
42
- border-radius: 0;
43
- margin: 0;
44
- overflow-y: hidden;
45
- z-index: @topLayer;
30
+ backface-visibility: hidden;
31
+ transition: none;
32
+ will-change: transform;
33
+ transform: translate3d(0, 0, 0);
34
+ visibility: hidden;
35
+ -webkit-overflow-scrolling: touch;
36
+
37
+ height: 100%;
38
+ max-height: 100%;
39
+ max-width: 100%;
40
+ border-radius: 0;
41
+ margin: 0;
42
+ overflow-y: hidden;
43
+ z-index: @topLayer;
46
44
 
47
- background: #FFFFFF;
45
+ background: #FFFFFF;
48
46
  }
49
47
 
50
48
  /* GPU Layers for Child Elements */
51
49
  .ui.flyout > * {
52
- backface-visibility: hidden;
50
+ backface-visibility: hidden;
53
51
  }
54
52
 
55
- /*--------------
53
+ /* --------------
56
54
  Close
57
- ---------------*/
55
+ --------------- */
58
56
  .ui.flyout > .close {
59
- cursor: pointer;
60
- position: absolute;
61
- top: @closeTop;
62
- right: @closeRight;
63
- z-index: 1;
64
- opacity: @closeOpacity;
65
- font-size: @closeSize;
66
- color: @closeColor;
67
- width: @closeHitbox;
68
- height: @closeHitbox;
69
- padding: @closePadding;
70
- margin: @closeMargin;
71
- text-align: right;
57
+ cursor: pointer;
58
+ position: absolute;
59
+ top: @closeTop;
60
+ right: @closeRight;
61
+ z-index: 1;
62
+ opacity: @closeOpacity;
63
+ font-size: @closeSize;
64
+ color: @closeColor;
65
+ width: @closeHitbox;
66
+ height: @closeHitbox;
67
+ padding: @closePadding;
68
+ margin: @closeMargin;
69
+ text-align: right;
72
70
  }
73
71
 
74
72
  .ui.flyout > .close:focus,
75
73
  .ui.flyout > .close:hover {
76
- opacity: 1;
77
- outline: none;
74
+ opacity: 1;
75
+ outline: none;
78
76
  }
79
77
 
80
- /*--------------
78
+ /* --------------
81
79
  Header
82
- ---------------*/
80
+ --------------- */
83
81
  .ui.flyout > .header {
84
- display: block;
85
- background: @headerBackground;
86
- margin: @headerMargin;
87
- padding: @headerPadding;
88
- box-shadow: @headerBoxShadow;
89
- color: @headerColor;
90
- border-bottom: @headerBorder;
82
+ display: block;
83
+ background: @headerBackground;
84
+ margin: @headerMargin;
85
+ padding: @headerPadding;
86
+ box-shadow: @headerBoxShadow;
87
+ color: @headerColor;
88
+ border-bottom: @headerBorder;
91
89
  }
92
90
 
93
- /*--------------
91
+ /* --------------
94
92
  Content
95
- ---------------*/
93
+ --------------- */
96
94
  .ui.flyout > .content {
97
- display: block;
98
- width: 100%;
99
- font-size: @contentFontSize;
100
- line-height: @contentLineHeight;
101
- padding: @contentPadding;
102
- background: @contentBackground;
103
- &.scrolling when(@variationFlyoutScrolling) {
104
- overflow: auto;
105
- overscroll-behavior: @overscrollBehavior;
106
- }
95
+ display: block;
96
+ width: 100%;
97
+ font-size: @contentFontSize;
98
+ line-height: @contentLineHeight;
99
+ padding: @contentPadding;
100
+ background: @contentBackground;
101
+ &.scrolling when(@variationFlyoutScrolling) {
102
+ overflow: auto;
103
+ overscroll-behavior: @overscrollBehavior;
104
+ }
107
105
  }
108
106
  .ui.flyout.left > .content,
109
107
  .ui.flyout.right > .content {
110
- min-height: @contentMinHeight;
108
+ min-height: @contentMinHeight;
111
109
  }
112
110
  & when(@variationFlyoutScrolling) {
113
- .ui.flyout.left > .scrolling.content,
114
- .ui.flyout.right > .scrolling.content {
115
- max-height: @scrollingContentMaxHeight;
116
- }
111
+ .ui.flyout.left > .scrolling.content,
112
+ .ui.flyout.right > .scrolling.content {
113
+ max-height: @scrollingContentMaxHeight;
114
+ }
117
115
 
118
- .ui.flyout.top > .scrolling.content,
119
- .ui.flyout.bottom > .scrolling.content {
120
- max-height: @scrollingContentMaxHeightTopBottom;
121
- }
116
+ .ui.flyout.top > .scrolling.content,
117
+ .ui.flyout.bottom > .scrolling.content {
118
+ max-height: @scrollingContentMaxHeightTopBottom;
119
+ }
122
120
  }
123
121
 
124
122
  & when (@variationFlyoutActions) {
125
- /*--------------
126
- Actions
127
- ---------------*/
128
- .ui.flyout > .actions {
129
- background: @actionBackground;
130
- padding: @actionPadding;
131
- border-top: @actionBorder;
132
- text-align: @actionAlign;
133
- }
134
- .ui.flyout .actions > .button:not(.fluid) {
135
- margin-left: @buttonDistance;
136
- }
137
- & when (@variationFlyoutBasic) {
138
- .ui.ui.flyout > .basic.actions {
139
- border-top: none;
123
+ /* --------------
124
+ Actions
125
+ --------------- */
126
+ .ui.flyout > .actions {
127
+ background: @actionBackground;
128
+ padding: @actionPadding;
129
+ border-top: @actionBorder;
130
+ text-align: @actionAlign;
131
+ }
132
+ .ui.flyout .actions > .button:not(.fluid) {
133
+ margin-left: @buttonDistance;
134
+ }
135
+ & when (@variationFlyoutBasic) {
136
+ .ui.ui.flyout > .basic.actions {
137
+ border-top: none;
138
+ }
139
+ }
140
+ & when (@variationFlyoutLeftActions) {
141
+ .ui.flyout > .left.actions {
142
+ text-align: left;
143
+ & > .button:not(.fluid) {
144
+ margin-left: @buttonLeftDistance;
145
+ margin-right: @buttonLeftDistance;
146
+ }
147
+ }
140
148
  }
141
- }
142
- & when (@variationFlyoutLeftActions) {
143
- .ui.flyout > .left.actions {
144
- text-align: left;
145
- & > .button:not(.fluid) {
146
- margin-left: @buttonLeftDistance;
147
- margin-right: @buttonLeftDistance;
148
- }
149
- }
150
- }
151
149
  }
152
150
  & when (@variationFlyoutCentered) {
153
- .ui.flyout > .centered,
154
- .ui.flyout > .center.aligned {
155
- text-align: center;
156
- &.actions > .button:not(.fluid) when (@variationFlyoutActions){
157
- margin-left: @buttonCenteredDistance;
158
- margin-right: @buttonCenteredDistance;
151
+ .ui.flyout > .centered,
152
+ .ui.flyout > .center.aligned {
153
+ text-align: center;
154
+ &.actions > .button:not(.fluid) when (@variationFlyoutActions) {
155
+ margin-left: @buttonCenteredDistance;
156
+ margin-right: @buttonCenteredDistance;
157
+ }
159
158
  }
160
- }
161
159
  }
162
160
  & when (@variationFlyoutBasic) {
163
- .ui.ui.flyout > .basic.header,
164
- .ui.ui.flyout > .basic.actions {
165
- background-color: transparent;
166
- }
167
- .ui.flyout > .basic.header {
168
- border-bottom: none;
169
- }
161
+ .ui.ui.flyout > .basic.header,
162
+ .ui.ui.flyout > .basic.actions {
163
+ background-color: transparent;
164
+ }
165
+ .ui.flyout > .basic.header {
166
+ border-bottom: none;
167
+ }
170
168
  }
171
169
 
172
- /*--------------
170
+ /* --------------
173
171
  Direction
174
- ---------------*/
172
+ --------------- */
175
173
  & when (@variationFlyoutLeft) {
176
- .ui.left.flyout {
177
- right: auto;
178
- left: 0;
179
- transform: translate3d(-100%, 0, 0);
180
- }
174
+ .ui.left.flyout {
175
+ right: auto;
176
+ left: 0;
177
+ transform: translate3d(-100%, 0, 0);
178
+ }
181
179
  }
182
180
  & when (@variationFlyoutRight) {
183
- .ui.right.flyout {
184
- right: 0;
185
- left: auto;
186
- transform: translate3d(100%, 0, 0);
187
- }
181
+ .ui.right.flyout {
182
+ right: 0;
183
+ left: auto;
184
+ transform: translate3d(100%, 0, 0);
185
+ }
188
186
  }
189
187
 
190
188
  & when (@variationFlyoutTop) or (@variationFlyoutBottom) {
191
- .ui.top.flyout,
192
- .ui.bottom.flyout {
193
- width: 100%;
194
- height: auto;
195
- }
196
- & when (@variationFlyoutTop) {
197
- .ui.top.flyout {
198
- top: 0;
199
- bottom: auto;
200
- transform: translate3d(0, -100%, 0);
201
- }
202
- }
203
- & when (@variationFlyoutBottom) {
189
+ .ui.top.flyout,
204
190
  .ui.bottom.flyout {
205
- top: auto;
206
- bottom: 0;
207
- transform: translate3d(0, 100%, 0);
191
+ width: 100%;
192
+ height: auto;
193
+ }
194
+ & when (@variationFlyoutTop) {
195
+ .ui.top.flyout {
196
+ top: 0;
197
+ bottom: auto;
198
+ transform: translate3d(0, -100%, 0);
199
+ }
200
+ }
201
+ & when (@variationFlyoutBottom) {
202
+ .ui.bottom.flyout {
203
+ top: auto;
204
+ bottom: 0;
205
+ transform: translate3d(0, 100%, 0);
206
+ }
208
207
  }
209
- }
210
208
  }
211
209
 
212
-
213
- /*--------------
210
+ /* --------------
214
211
  Pushable
215
- ---------------*/
212
+ --------------- */
216
213
 
217
214
  .pushable.pushable.pushable {
218
- height: 100%;
219
- overflow-x: hidden;
220
- padding: 0;
221
- &.locked {
222
- overflow-y: hidden;
223
- background: inherit;
224
- }
215
+ height: 100%;
216
+ overflow-x: hidden;
217
+ padding: 0;
218
+ &.locked {
219
+ overflow-y: hidden;
220
+ background: inherit;
221
+ }
225
222
  }
226
223
 
227
224
  /* Whole Page */
228
225
  body.pushable {
229
- background: @canvasBackground;
230
- &.dimmed {
231
- background: inherit;
232
- }
226
+ background: @canvasBackground;
227
+ &.dimmed {
228
+ background: inherit;
229
+ }
233
230
  }
234
231
 
235
232
  /* Page Context */
236
233
  .pushable:not(body) {
237
- transform: translate3d(0, 0, 0);
238
- overflow-y: hidden;
234
+ transform: translate3d(0, 0, 0);
235
+ overflow-y: hidden;
239
236
  }
240
237
  .pushable:not(body) > .ui.flyout,
241
238
  .pushable:not(body) > .fixed,
242
239
  .pushable:not(body) > .pusher::after {
243
- position: absolute;
240
+ position: absolute;
244
241
  }
245
242
 
246
-
247
- /*--------------
243
+ /* --------------
248
244
  Fixed
249
- ---------------*/
245
+ --------------- */
250
246
 
251
247
  .pushable > .fixed {
252
- position: fixed;
253
- backface-visibility: hidden;
248
+ position: fixed;
249
+ backface-visibility: hidden;
254
250
 
255
- transition: transform @duration @easing;
256
- will-change: transform;
257
- z-index: @fixedLayer;
251
+ transition: transform @duration @easing;
252
+ will-change: transform;
253
+ z-index: @fixedLayer;
258
254
  }
259
255
 
260
- /*--------------
256
+ /* --------------
261
257
  Page
262
- ---------------*/
258
+ --------------- */
263
259
 
264
260
  .pushable > .pusher {
265
- position: relative;
266
- backface-visibility: hidden;
267
- min-height: 100%;
268
- transition: transform @duration @easing;
269
- z-index: @middleLayer;
270
-
271
- /* Pusher should inherit background from context */
272
- background: inherit;
273
- &:not(.overflowing) {
274
- overflow: hidden;
275
- }
261
+ position: relative;
262
+ backface-visibility: hidden;
263
+ min-height: 100%;
264
+ transition: transform @duration @easing;
265
+ z-index: @middleLayer;
266
+
267
+ /* Pusher should inherit background from context */
268
+ background: inherit;
269
+ &:not(.overflowing) {
270
+ overflow: hidden;
271
+ }
276
272
  }
277
273
 
278
274
  body.pushable > .pusher {
279
- background: @pageBackground;
275
+ background: @pageBackground;
280
276
  }
281
277
 
282
- /*--------------
278
+ /* --------------
283
279
  Dimmer
284
- ---------------*/
280
+ --------------- */
285
281
 
286
282
  .pushable > .pusher::after {
287
- position: fixed;
288
- top: 0;
289
- right: 0;
290
- content: '';
291
- background: @dimmerColor;
292
- overflow: hidden;
293
- opacity: 0;
294
- transition: @dimmerTransition;
295
- will-change: opacity;
296
- z-index: @dimmerLayer;
297
- }
298
-
299
- /*--------------
283
+ position: fixed;
284
+ top: 0;
285
+ right: 0;
286
+ content: '';
287
+ background: @dimmerColor;
288
+ overflow: hidden;
289
+ opacity: 0;
290
+ transition: @dimmerTransition;
291
+ will-change: opacity;
292
+ z-index: @dimmerLayer;
293
+ }
294
+
295
+ /* --------------
300
296
  Coupling
301
- ---------------*/
297
+ --------------- */
302
298
 
303
299
  .ui.flyout.menu .item {
304
- border-radius: 0 !important;
300
+ border-radius: 0 !important;
305
301
  }
306
302
 
307
303
  /*******************************
308
304
  States
309
305
  *******************************/
310
306
 
311
- /*--------------
307
+ /* --------------
312
308
  Dimmed
313
- ---------------*/
309
+ --------------- */
314
310
 
315
311
  .pushable > .pusher.dimmed::after {
316
- width: 100% !important;
317
- height: 100% !important;
318
- opacity: 1 !important;
312
+ width: 100% !important;
313
+ height: 100% !important;
314
+ opacity: 1 !important;
319
315
  }
320
316
  & when (@variationFlyoutBlurring) {
321
- .pushable > .pusher.dimmed.blurring:not(.closing)::after {
322
- background: @blurredBackgroundColor;
323
- -webkit-backdrop-filter: @blurredEndFilter;
324
- backdrop-filter: @blurredEndFilter;
325
- }
317
+ .pushable > .pusher.dimmed.blurring:not(.closing)::after {
318
+ background: @blurredBackgroundColor;
319
+ -webkit-backdrop-filter: @blurredEndFilter;
320
+ backdrop-filter: @blurredEndFilter;
321
+ }
326
322
  }
327
323
  .pushable > .pusher.closing.dimmed::after {
328
- opacity: 0 !important;
324
+ opacity: 0 !important;
329
325
  }
330
- /*--------------
326
+
327
+ /* --------------
331
328
  Animating
332
- ---------------*/
329
+ --------------- */
333
330
 
334
331
  .ui.animating.flyout {
335
- visibility: visible;
332
+ visibility: visible;
336
333
  }
337
334
 
338
- /*--------------
335
+ /* --------------
339
336
  Visible
340
- ---------------*/
337
+ --------------- */
341
338
 
342
339
  .ui.visible.flyout {
343
- visibility: visible;
344
- transform: translate3d(0, 0, 0);
340
+ visibility: visible;
341
+ transform: translate3d(0, 0, 0);
345
342
  }
346
343
 
347
344
  /* Shadow Direction */
348
345
  & when (@variationFlyoutLeft) or (@variationFlyoutRight) {
349
- .ui.left.visible.flyout,
350
- .ui.right.visible.flyout {
351
- box-shadow: @horizontalBoxShadow;
352
- }
346
+ .ui.left.visible.flyout,
347
+ .ui.right.visible.flyout {
348
+ box-shadow: @horizontalBoxShadow;
349
+ }
353
350
  }
354
351
  & when (@variationFlyoutTop) or (@variationFlyoutBottom) {
355
- .ui.top.visible.flyout,
356
- .ui.bottom.visible.flyout {
357
- box-shadow: @verticalBoxShadow;
358
- }
352
+ .ui.top.visible.flyout,
353
+ .ui.bottom.visible.flyout {
354
+ box-shadow: @verticalBoxShadow;
355
+ }
359
356
  }
360
357
 
361
358
  /* Visible On Load */
362
359
  & when (@variationFlyoutLeft) {
363
- .ui.visible.left.flyout ~ .fixed,
364
- .ui.visible.left.flyout ~ .pusher {
365
- transform: translate3d(@width, 0, 0);
366
- }
360
+ .ui.visible.left.flyout ~ .fixed,
361
+ .ui.visible.left.flyout ~ .pusher {
362
+ transform: translate3d(@width, 0, 0);
363
+ }
367
364
  }
368
365
  & when (@variationFlyoutRight) {
369
- .ui.visible.right.flyout ~ .fixed,
370
- .ui.visible.right.flyout ~ .pusher {
371
- transform: translate3d(-@width, 0, 0);
372
- }
366
+ .ui.visible.right.flyout ~ .fixed,
367
+ .ui.visible.right.flyout ~ .pusher {
368
+ transform: translate3d(-@width, 0, 0);
369
+ }
373
370
  }
374
371
  & when (@variationFlyoutTop) {
375
- .ui.visible.top.flyout ~ .fixed,
376
- .ui.visible.top.flyout ~ .pusher {
377
- transform: translate3d(0, @height, 0);
378
- }
372
+ .ui.visible.top.flyout ~ .fixed,
373
+ .ui.visible.top.flyout ~ .pusher {
374
+ transform: translate3d(0, @height, 0);
375
+ }
379
376
  }
380
377
  & when (@variationFlyoutBottom) {
381
- .ui.visible.bottom.flyout ~ .fixed,
382
- .ui.visible.bottom.flyout ~ .pusher {
383
- transform: translate3d(0, -@height, 0);
384
- }
378
+ .ui.visible.bottom.flyout ~ .fixed,
379
+ .ui.visible.bottom.flyout ~ .pusher {
380
+ transform: translate3d(0, -@height, 0);
381
+ }
385
382
  }
386
383
 
387
384
  & when (@variationFlyoutLeft) or (@variationFlyoutRight) {
388
- /* opposite sides visible forces content overlay */
389
- .ui.visible.left.flyout ~ .ui.visible.right.flyout ~ .fixed,
390
- .ui.visible.left.flyout ~ .ui.visible.right.flyout ~ .pusher,
391
- .ui.visible.right.flyout ~ .ui.visible.left.flyout ~ .fixed,
392
- .ui.visible.right.flyout ~ .ui.visible.left.flyout ~ .pusher {
393
- transform: translate3d(0, 0, 0);
394
- }
385
+ /* opposite sides visible forces content overlay */
386
+ .ui.visible.left.flyout ~ .ui.visible.right.flyout ~ .fixed,
387
+ .ui.visible.left.flyout ~ .ui.visible.right.flyout ~ .pusher,
388
+ .ui.visible.right.flyout ~ .ui.visible.left.flyout ~ .fixed,
389
+ .ui.visible.right.flyout ~ .ui.visible.left.flyout ~ .pusher {
390
+ transform: translate3d(0, 0, 0);
391
+ }
395
392
  }
396
393
 
397
394
  & when (@variationFlyoutInverted) {
398
- /*--------------
399
- Inverted
400
- ---------------*/
401
- .ui.flyout.inverted {
402
- background: @invertedBackground;
403
- }
404
-
405
- .ui.flyout.inverted > .close {
406
- color: @invertedCloseColor;
407
- }
408
-
409
- .ui.flyout.inverted > .header,
410
- .ui.flyout.inverted > .content {
411
- background: @invertedBackground;
412
- color: @invertedHeaderColor;
413
- }
414
- .ui.flyout.inverted > .actions {
415
- background: @invertedActionBackground;
416
- border-top: @invertedActionBorder;
417
- color: @invertedActionColor;
418
- }
395
+ /* --------------
396
+ Inverted
397
+ --------------- */
398
+ .ui.flyout.inverted {
399
+ background: @invertedBackground;
400
+ }
401
+
402
+ .ui.flyout.inverted > .close {
403
+ color: @invertedCloseColor;
404
+ }
405
+
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
+ }
419
416
  }
420
417
 
421
418
  /*******************************
422
419
  Variations
423
420
  *******************************/
424
421
 
425
- /*--------------
422
+ /* --------------
426
423
  Width
427
- ---------------*/
424
+ --------------- */
428
425
 
429
426
  /* Left / Right */
430
427
  & when (@variationFlyoutLeft) or (@variationFlyoutRight) {
431
- .ui.left.flyout,
432
- .ui.right.flyout {
433
- width: @width;
434
- }
435
- & when (@variationFlyoutThin) {
436
- .ui.thin.left.flyout,
437
- .ui.thin.right.flyout {
438
- width: @thinWidth;
439
- }
440
-
441
- .ui[class*="very thin"].left.flyout,
442
- .ui[class*="very thin"].right.flyout {
443
- width: @veryThinWidth;
444
- }
445
- }
446
-
447
- & when (@variationFlyoutWide) {
448
- .ui.wide.left.flyout,
449
- .ui.wide.right.flyout {
450
- width: @wideWidth;
451
- }
452
-
453
- .ui[class*="very wide"].left.flyout,
454
- .ui[class*="very wide"].right.flyout {
455
- width: @veryWideWidth;
456
- }
457
- }
458
-
459
- /* Left Visible */
460
- & when (@variationFlyoutLeft) {
461
- & when (@variationFlyoutThin) {
462
- .ui.visible.thin.left.flyout ~ .fixed,
463
- .ui.visible.thin.left.flyout ~ .pusher {
464
- transform: translate3d(@thinWidth, 0, 0);
465
- }
466
-
467
- .ui.visible[class*="very thin"].left.flyout ~ .fixed,
468
- .ui.visible[class*="very thin"].left.flyout ~ .pusher {
469
- transform: translate3d(@veryThinWidth, 0, 0);
470
- }
471
- }
472
-
473
- & when (@variationFlyoutWide) {
474
- .ui.visible.wide.left.flyout ~ .fixed,
475
- .ui.visible.wide.left.flyout ~ .pusher {
476
- transform: translate3d(@wideWidth, 0, 0);
477
- }
478
-
479
- .ui.visible[class*="very wide"].left.flyout ~ .fixed,
480
- .ui.visible[class*="very wide"].left.flyout ~ .pusher {
481
- transform: translate3d(@veryWideWidth, 0, 0);
482
- }
428
+ .ui.left.flyout,
429
+ .ui.right.flyout {
430
+ width: @width;
483
431
  }
484
- }
485
-
486
- /* Right Visible */
487
- & when (@variationFlyoutRight) {
488
432
  & when (@variationFlyoutThin) {
489
- .ui.visible.thin.right.flyout ~ .fixed,
490
- .ui.visible.thin.right.flyout ~ .pusher {
491
- transform: translate3d(-@thinWidth, 0, 0);
492
- }
433
+ .ui.thin.left.flyout,
434
+ .ui.thin.right.flyout {
435
+ width: @thinWidth;
436
+ }
493
437
 
494
- .ui.visible[class*="very thin"].right.flyout ~ .fixed,
495
- .ui.visible[class*="very thin"].right.flyout ~ .pusher {
496
- transform: translate3d(-@veryThinWidth, 0, 0);
497
- }
438
+ .ui[class*="very thin"].left.flyout,
439
+ .ui[class*="very thin"].right.flyout {
440
+ width: @veryThinWidth;
441
+ }
498
442
  }
499
443
 
500
444
  & when (@variationFlyoutWide) {
501
- .ui.visible.wide.right.flyout ~ .fixed,
502
- .ui.visible.wide.right.flyout ~ .pusher {
503
- transform: translate3d(-@wideWidth, 0, 0);
504
- }
505
-
506
- .ui.visible[class*="very wide"].right.flyout ~ .fixed,
507
- .ui.visible[class*="very wide"].right.flyout ~ .pusher {
508
- transform: translate3d(-@veryWideWidth, 0, 0);
509
- }
510
- }
511
- }
512
-
513
- & when (@variationFlyoutFullscreen) {
514
- /* Fullscreen */
515
- .ui.fullscreen.flyout {
516
- width: 100%;
517
- }
518
- }
519
-
520
-
521
- /*-------------------
522
- Column Width
523
- --------------------*/
524
-
525
- & when (@variationFlyoutColumnWidth) {
526
-
527
- /* Sizing Combinations */
528
-
529
- .ui[class*="one wide"].flyout:not(.fullscreen) {
530
- width: @oneWide;
531
- }
532
-
533
- .ui[class*="two wide"].flyout:not(.fullscreen) {
534
- width: @twoWide;
535
- }
536
-
537
- .ui[class*="three wide"].flyout:not(.fullscreen) {
538
- width: @threeWide;
539
- }
540
-
541
- .ui[class*="four wide"].flyout:not(.fullscreen) {
542
- width: @fourWide;
543
- }
544
-
545
- .ui[class*="five wide"].flyout:not(.fullscreen) {
546
- width: @fiveWide;
547
- }
445
+ .ui.wide.left.flyout,
446
+ .ui.wide.right.flyout {
447
+ width: @wideWidth;
448
+ }
449
+
450
+ .ui[class*="very wide"].left.flyout,
451
+ .ui[class*="very wide"].right.flyout {
452
+ width: @veryWideWidth;
453
+ }
454
+ }
455
+
456
+ /* Left Visible */
457
+ & when (@variationFlyoutLeft) {
458
+ & when (@variationFlyoutThin) {
459
+ .ui.visible.thin.left.flyout ~ .fixed,
460
+ .ui.visible.thin.left.flyout ~ .pusher {
461
+ transform: translate3d(@thinWidth, 0, 0);
462
+ }
463
+
464
+ .ui.visible[class*="very thin"].left.flyout ~ .fixed,
465
+ .ui.visible[class*="very thin"].left.flyout ~ .pusher {
466
+ transform: translate3d(@veryThinWidth, 0, 0);
467
+ }
468
+ }
469
+
470
+ & when (@variationFlyoutWide) {
471
+ .ui.visible.wide.left.flyout ~ .fixed,
472
+ .ui.visible.wide.left.flyout ~ .pusher {
473
+ transform: translate3d(@wideWidth, 0, 0);
474
+ }
475
+
476
+ .ui.visible[class*="very wide"].left.flyout ~ .fixed,
477
+ .ui.visible[class*="very wide"].left.flyout ~ .pusher {
478
+ transform: translate3d(@veryWideWidth, 0, 0);
479
+ }
480
+ }
481
+ }
482
+
483
+ /* Right Visible */
484
+ & when (@variationFlyoutRight) {
485
+ & when (@variationFlyoutThin) {
486
+ .ui.visible.thin.right.flyout ~ .fixed,
487
+ .ui.visible.thin.right.flyout ~ .pusher {
488
+ transform: translate3d(-@thinWidth, 0, 0);
489
+ }
490
+
491
+ .ui.visible[class*="very thin"].right.flyout ~ .fixed,
492
+ .ui.visible[class*="very thin"].right.flyout ~ .pusher {
493
+ transform: translate3d(-@veryThinWidth, 0, 0);
494
+ }
495
+ }
496
+
497
+ & when (@variationFlyoutWide) {
498
+ .ui.visible.wide.right.flyout ~ .fixed,
499
+ .ui.visible.wide.right.flyout ~ .pusher {
500
+ transform: translate3d(-@wideWidth, 0, 0);
501
+ }
502
+
503
+ .ui.visible[class*="very wide"].right.flyout ~ .fixed,
504
+ .ui.visible[class*="very wide"].right.flyout ~ .pusher {
505
+ transform: translate3d(-@veryWideWidth, 0, 0);
506
+ }
507
+ }
508
+ }
509
+
510
+ & when (@variationFlyoutFullscreen) {
511
+ /* Fullscreen */
512
+ .ui.fullscreen.flyout {
513
+ width: 100%;
514
+ }
515
+ }
516
+
517
+ /* -------------------
518
+ Column Width
519
+ -------------------- */
520
+
521
+ & when (@variationFlyoutColumnWidth) {
522
+ /* Sizing Combinations */
523
+
524
+ .ui[class*="one wide"].flyout:not(.fullscreen) {
525
+ width: @oneWide;
526
+ }
527
+
528
+ .ui[class*="two wide"].flyout:not(.fullscreen) {
529
+ width: @twoWide;
530
+ }
531
+
532
+ .ui[class*="three wide"].flyout:not(.fullscreen) {
533
+ width: @threeWide;
534
+ }
535
+
536
+ .ui[class*="four wide"].flyout:not(.fullscreen) {
537
+ width: @fourWide;
538
+ }
539
+
540
+ .ui[class*="five wide"].flyout:not(.fullscreen) {
541
+ width: @fiveWide;
542
+ }
543
+
544
+ .ui[class*="six wide"].flyout:not(.fullscreen) {
545
+ width: @sixWide;
546
+ }
548
547
 
549
- .ui[class*="six wide"].flyout:not(.fullscreen) {
550
- width: @sixWide;
551
- }
548
+ .ui[class*="seven wide"].flyout:not(.fullscreen) {
549
+ width: @sevenWide;
550
+ }
552
551
 
553
- .ui[class*="seven wide"].flyout:not(.fullscreen) {
554
- width: @sevenWide;
555
- }
552
+ .ui[class*="eight wide"].flyout:not(.fullscreen) {
553
+ width: @eightWide;
554
+ }
556
555
 
557
- .ui[class*="eight wide"].flyout:not(.fullscreen) {
558
- width: @eightWide;
559
- }
556
+ .ui[class*="nine wide"].flyout:not(.fullscreen) {
557
+ width: @nineWide;
558
+ }
560
559
 
561
- .ui[class*="nine wide"].flyout:not(.fullscreen) {
562
- width: @nineWide;
563
- }
560
+ .ui[class*="ten wide"].flyout:not(.fullscreen) {
561
+ width: @tenWide;
562
+ }
564
563
 
565
- .ui[class*="ten wide"].flyout:not(.fullscreen) {
566
- width: @tenWide;
567
- }
568
-
569
- .ui[class*="eleven wide"].flyout:not(.fullscreen) {
570
- width: @elevenWide;
571
- }
564
+ .ui[class*="eleven wide"].flyout:not(.fullscreen) {
565
+ width: @elevenWide;
566
+ }
572
567
 
573
- .ui[class*="twelve wide"].flyout:not(.fullscreen) {
574
- width: @twelveWide;
575
- }
568
+ .ui[class*="twelve wide"].flyout:not(.fullscreen) {
569
+ width: @twelveWide;
570
+ }
576
571
 
577
- .ui[class*="thirteen wide"].flyout:not(.fullscreen) {
578
- width: @thirteenWide;
579
- }
572
+ .ui[class*="thirteen wide"].flyout:not(.fullscreen) {
573
+ width: @thirteenWide;
574
+ }
580
575
 
581
- .ui[class*="fourteen wide"].flyout:not(.fullscreen) {
582
- width: @fourteenWide;
583
- }
576
+ .ui[class*="fourteen wide"].flyout:not(.fullscreen) {
577
+ width: @fourteenWide;
578
+ }
584
579
 
585
- .ui[class*="fifteen wide"].flyout:not(.fullscreen) {
586
- width: @fifteenWide;
587
- }
580
+ .ui[class*="fifteen wide"].flyout:not(.fullscreen) {
581
+ width: @fifteenWide;
582
+ }
588
583
 
589
- .ui[class*="sixteen wide"].flyout:not(.fullscreen) {
590
- width: @sixteenWide;
584
+ .ui[class*="sixteen wide"].flyout:not(.fullscreen) {
585
+ width: @sixteenWide;
586
+ }
591
587
  }
592
- }
593
588
  }
594
589
 
595
-
596
-
597
590
  /*******************************
598
591
  Animations
599
592
  *******************************/
600
593
 
601
594
  & when (@variationFlyoutOverlay) {
602
- /*--------------
603
- Overlay
604
- ---------------*/
595
+ /* --------------
596
+ Overlay
597
+ --------------- */
605
598
 
606
- /* Set-up */
607
- .ui.overlay.flyout {
608
- z-index: @topLayer;
609
- }
599
+ /* Set-up */
600
+ .ui.overlay.flyout {
601
+ z-index: @topLayer;
602
+ }
610
603
 
611
- /* Initial */
612
- & when (@variationFlyoutLeft) {
613
- .ui.left.overlay.flyout {
614
- transform: translate3d(-100%, 0, 0);
604
+ /* Initial */
605
+ & when (@variationFlyoutLeft) {
606
+ .ui.left.overlay.flyout {
607
+ transform: translate3d(-100%, 0, 0);
608
+ }
615
609
  }
616
- }
617
- & when (@variationFlyoutRight) {
618
- .ui.right.overlay.flyout {
619
- transform: translate3d(100%, 0, 0);
610
+ & when (@variationFlyoutRight) {
611
+ .ui.right.overlay.flyout {
612
+ transform: translate3d(100%, 0, 0);
613
+ }
620
614
  }
621
- }
622
- & when (@variationFlyoutTop) {
623
- .ui.top.overlay.flyout {
624
- transform: translate3d(0%, -100%, 0);
615
+ & when (@variationFlyoutTop) {
616
+ .ui.top.overlay.flyout {
617
+ transform: translate3d(0%, -100%, 0);
618
+ }
625
619
  }
626
- }
627
- & when (@variationFlyoutBottom) {
628
- .ui.bottom.overlay.flyout {
629
- transform: translate3d(0%, 100%, 0);
620
+ & when (@variationFlyoutBottom) {
621
+ .ui.bottom.overlay.flyout {
622
+ transform: translate3d(0%, 100%, 0);
623
+ }
630
624
  }
631
- }
632
625
 
633
- /* Animation */
634
- .animating.ui.overlay.flyout,
635
- .ui.visible.overlay.flyout {
636
- transition: transform @duration @easing;
637
- }
626
+ /* Animation */
627
+ .animating.ui.overlay.flyout,
628
+ .ui.visible.overlay.flyout {
629
+ transition: transform @duration @easing;
630
+ }
638
631
 
639
- /* End - flyout */
640
- .ui.visible.overlay.flyout {
641
- transform: translate3d(0%, 0, 0);
642
- }
632
+ /* End - flyout */
633
+ .ui.visible.overlay.flyout {
634
+ transform: translate3d(0%, 0, 0);
635
+ }
643
636
 
644
- /* End - Pusher */
645
- .ui.visible.overlay.flyout ~ .fixed,
646
- .ui.visible.overlay.flyout ~ .pusher {
647
- transform: none !important;
648
- }
637
+ /* End - Pusher */
638
+ .ui.visible.overlay.flyout ~ .fixed,
639
+ .ui.visible.overlay.flyout ~ .pusher {
640
+ transform: none !important;
641
+ }
649
642
  }
650
643
 
651
-
652
-
653
644
  .loadUIOverrides();