fomantic-ui 2.9.0-beta.314 → 2.9.0-beta.316
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.
- package/dist/components/accordion.css +1 -1
- package/dist/components/accordion.js +1 -1
- package/dist/components/accordion.min.css +1 -1
- package/dist/components/accordion.min.js +1 -1
- package/dist/components/ad.css +1 -1
- package/dist/components/ad.min.css +1 -1
- package/dist/components/api.js +1 -1
- package/dist/components/api.min.js +1 -1
- package/dist/components/breadcrumb.css +1 -1
- package/dist/components/breadcrumb.min.css +1 -1
- package/dist/components/button.css +1 -1
- package/dist/components/button.min.css +1 -1
- package/dist/components/calendar.css +1 -1
- package/dist/components/calendar.js +1 -1
- package/dist/components/calendar.min.css +1 -1
- package/dist/components/calendar.min.js +1 -1
- package/dist/components/card.css +1 -1
- package/dist/components/card.min.css +1 -1
- package/dist/components/checkbox.css +1 -1
- package/dist/components/checkbox.js +1 -1
- package/dist/components/checkbox.min.css +1 -1
- package/dist/components/checkbox.min.js +1 -1
- package/dist/components/comment.css +1 -1
- package/dist/components/comment.min.css +1 -1
- package/dist/components/container.css +1 -1
- package/dist/components/container.min.css +1 -1
- package/dist/components/dimmer.css +1 -1
- package/dist/components/dimmer.js +1 -1
- package/dist/components/dimmer.min.css +1 -1
- package/dist/components/dimmer.min.js +1 -1
- package/dist/components/divider.css +1 -1
- package/dist/components/divider.min.css +1 -1
- package/dist/components/dropdown.css +1 -1
- package/dist/components/dropdown.js +1 -1
- package/dist/components/dropdown.min.css +1 -1
- package/dist/components/dropdown.min.js +1 -1
- package/dist/components/embed.css +1 -1
- package/dist/components/embed.js +1 -1
- package/dist/components/embed.min.css +1 -1
- package/dist/components/embed.min.js +1 -1
- package/dist/components/feed.css +1 -1
- package/dist/components/feed.min.css +1 -1
- package/dist/components/flag.css +1 -1
- package/dist/components/flag.min.css +1 -1
- package/dist/components/flyout.css +558 -0
- package/dist/components/flyout.js +1346 -0
- package/dist/components/flyout.min.css +9 -0
- package/dist/components/flyout.min.js +11 -0
- package/dist/components/form.css +1 -1
- package/dist/components/form.js +1 -1
- package/dist/components/form.min.css +1 -1
- package/dist/components/form.min.js +1 -1
- package/dist/components/grid.css +1 -1
- package/dist/components/grid.min.css +1 -1
- package/dist/components/header.css +1 -1
- package/dist/components/header.min.css +1 -1
- package/dist/components/icon.css +1 -1
- package/dist/components/icon.min.css +1 -1
- package/dist/components/image.css +1 -1
- package/dist/components/image.min.css +1 -1
- package/dist/components/input.css +1 -1
- package/dist/components/input.min.css +1 -1
- package/dist/components/item.css +1 -1
- package/dist/components/item.min.css +1 -1
- package/dist/components/label.css +1 -1
- package/dist/components/label.min.css +1 -1
- package/dist/components/list.css +1 -1
- package/dist/components/list.min.css +1 -1
- package/dist/components/loader.css +1 -1
- package/dist/components/loader.min.css +1 -1
- package/dist/components/message.css +1 -1
- package/dist/components/message.min.css +1 -1
- package/dist/components/modal.css +1 -1
- package/dist/components/modal.js +1 -1
- package/dist/components/modal.min.css +1 -1
- package/dist/components/modal.min.js +1 -1
- package/dist/components/nag.css +1 -1
- package/dist/components/nag.js +1 -1
- package/dist/components/nag.min.css +1 -1
- package/dist/components/nag.min.js +1 -1
- package/dist/components/placeholder.css +1 -1
- package/dist/components/placeholder.min.css +1 -1
- package/dist/components/popup.css +1 -1
- package/dist/components/popup.js +1 -1
- package/dist/components/popup.min.css +1 -1
- package/dist/components/popup.min.js +1 -1
- package/dist/components/progress.css +1 -1
- package/dist/components/progress.js +1 -1
- package/dist/components/progress.min.css +1 -1
- package/dist/components/progress.min.js +1 -1
- package/dist/components/rail.css +1 -1
- package/dist/components/rail.min.css +1 -1
- package/dist/components/rating.css +1 -1
- package/dist/components/rating.js +1 -1
- package/dist/components/rating.min.css +1 -1
- package/dist/components/rating.min.js +1 -1
- package/dist/components/reset.css +1 -1
- package/dist/components/reset.min.css +1 -1
- package/dist/components/reveal.css +1 -1
- package/dist/components/reveal.min.css +1 -1
- package/dist/components/search.css +1 -1
- package/dist/components/search.js +1 -1
- package/dist/components/search.min.css +1 -1
- package/dist/components/search.min.js +1 -1
- package/dist/components/segment.css +1 -1
- package/dist/components/segment.min.css +1 -1
- package/dist/components/shape.css +1 -1
- package/dist/components/shape.js +1 -1
- package/dist/components/shape.min.css +1 -1
- package/dist/components/shape.min.js +1 -1
- package/dist/components/sidebar.css +1 -1
- package/dist/components/sidebar.js +1 -3
- package/dist/components/sidebar.min.css +1 -1
- package/dist/components/sidebar.min.js +2 -2
- package/dist/components/site.css +1 -1
- package/dist/components/site.js +1 -1
- package/dist/components/site.min.css +1 -1
- package/dist/components/site.min.js +1 -1
- package/dist/components/slider.js +1 -1
- package/dist/components/slider.min.js +1 -1
- package/dist/components/state.js +1 -1
- package/dist/components/state.min.js +1 -1
- package/dist/components/statistic.css +1 -1
- package/dist/components/statistic.min.css +1 -1
- package/dist/components/step.css +1 -1
- package/dist/components/step.min.css +1 -1
- package/dist/components/sticky.css +1 -1
- package/dist/components/sticky.js +1 -1
- package/dist/components/sticky.min.css +1 -1
- package/dist/components/sticky.min.js +1 -1
- package/dist/components/tab.css +1 -1
- package/dist/components/tab.js +1 -1
- package/dist/components/tab.min.css +1 -1
- package/dist/components/tab.min.js +1 -1
- package/dist/components/table.css +1 -1
- package/dist/components/table.min.css +1 -1
- package/dist/components/text.css +1 -1
- package/dist/components/text.min.css +1 -1
- package/dist/components/toast.css +2 -1
- package/dist/components/toast.js +1 -1
- package/dist/components/toast.min.css +2 -2
- package/dist/components/toast.min.js +1 -1
- package/dist/components/transition.css +1 -1
- package/dist/components/transition.js +1 -1
- package/dist/components/transition.min.css +1 -1
- package/dist/components/transition.min.js +1 -1
- package/dist/components/visibility.js +1 -1
- package/dist/components/visibility.min.js +1 -1
- package/dist/semantic.css +658 -49
- package/dist/semantic.js +1372 -27
- package/dist/semantic.min.css +2 -2
- package/dist/semantic.min.js +2 -2
- package/package.json +1 -1
- package/src/definitions/modules/flyout.js +1346 -0
- package/src/definitions/modules/flyout.less +604 -0
- package/src/definitions/modules/sidebar.js +0 -2
- package/src/definitions/modules/toast.less +1 -0
- package/src/semantic.less +1 -0
- package/src/theme.config.example +1 -0
- package/src/themes/default/globals/variation.variables +10 -0
- package/src/themes/default/modules/flyout.overrides +3 -0
- package/src/themes/default/modules/flyout.variables +45 -0
- package/tasks/config/admin/release.js +1 -0
- package/tasks/config/defaults.js +1 -0
- package/tasks/config/project/install.js +1 -0
@@ -0,0 +1,604 @@
|
|
1
|
+
/*!
|
2
|
+
* # Fomantic-UI - Flyout
|
3
|
+
* http://github.com/fomantic/Fomantic-UI/
|
4
|
+
*
|
5
|
+
*
|
6
|
+
* Released under the MIT license
|
7
|
+
* http://opensource.org/licenses/MIT
|
8
|
+
*
|
9
|
+
*/
|
10
|
+
|
11
|
+
|
12
|
+
|
13
|
+
/*******************************
|
14
|
+
Theme
|
15
|
+
*******************************/
|
16
|
+
|
17
|
+
@type : 'module';
|
18
|
+
@element : 'flyout';
|
19
|
+
|
20
|
+
@import (multiple) '../../theme.config';
|
21
|
+
|
22
|
+
/*******************************
|
23
|
+
Flyout
|
24
|
+
*******************************/
|
25
|
+
|
26
|
+
/* Flyout Menu */
|
27
|
+
.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;
|
38
|
+
|
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;
|
46
|
+
|
47
|
+
background: #FFFFFF;
|
48
|
+
}
|
49
|
+
|
50
|
+
/* GPU Layers for Child Elements */
|
51
|
+
.ui.flyout > * {
|
52
|
+
backface-visibility: hidden;
|
53
|
+
}
|
54
|
+
|
55
|
+
/*--------------
|
56
|
+
Close
|
57
|
+
---------------*/
|
58
|
+
.ui.flyout > .close {
|
59
|
+
cursor: pointer;
|
60
|
+
position: absolute;
|
61
|
+
top: 1.25rem;
|
62
|
+
right: 1.5rem;
|
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;
|
71
|
+
text-align: right;
|
72
|
+
}
|
73
|
+
|
74
|
+
.ui.flyout > .close:hover {
|
75
|
+
opacity: 1;
|
76
|
+
}
|
77
|
+
|
78
|
+
/*--------------
|
79
|
+
Header
|
80
|
+
---------------*/
|
81
|
+
.ui.flyout > .header {
|
82
|
+
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);
|
90
|
+
}
|
91
|
+
|
92
|
+
/*--------------
|
93
|
+
Content
|
94
|
+
---------------*/
|
95
|
+
.ui.flyout > .content {
|
96
|
+
display: block;
|
97
|
+
width: 100%;
|
98
|
+
font-size: 1em;
|
99
|
+
line-height: 1.4;
|
100
|
+
padding: 1.5rem;
|
101
|
+
background: #FFFFFF;
|
102
|
+
}
|
103
|
+
.ui.flyout.left > .content,
|
104
|
+
.ui.flyout.right > .content {
|
105
|
+
min-height: calc(100vh - 9.1rem);
|
106
|
+
}
|
107
|
+
|
108
|
+
.ui.flyout.left > .scrolling.content,
|
109
|
+
.ui.flyout.right > .scrolling.content{
|
110
|
+
max-height: calc(100vh - 9.1rem);
|
111
|
+
overflow: auto;
|
112
|
+
}
|
113
|
+
|
114
|
+
.ui.flyout.top > .scrolling.content,
|
115
|
+
.ui.flyout.bottom > .scrolling.content{
|
116
|
+
max-height: calc(80vh - 9.1rem);
|
117
|
+
overflow: auto;
|
118
|
+
}
|
119
|
+
|
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;
|
127
|
+
}
|
128
|
+
.ui.flyout .actions > .button:not(.fluid) {
|
129
|
+
margin-left: 0.75em;
|
130
|
+
}
|
131
|
+
|
132
|
+
/*--------------
|
133
|
+
Direction
|
134
|
+
---------------*/
|
135
|
+
& when (@variationFlyoutLeft) {
|
136
|
+
.ui.left.flyout {
|
137
|
+
right: auto;
|
138
|
+
left: 0;
|
139
|
+
transform: translate3d(-100%, 0, 0);
|
140
|
+
}
|
141
|
+
}
|
142
|
+
& when (@variationFlyoutRight) {
|
143
|
+
.ui.right.flyout {
|
144
|
+
right: 0;
|
145
|
+
left: auto;
|
146
|
+
transform: translate3d(100%, 0, 0);
|
147
|
+
}
|
148
|
+
}
|
149
|
+
|
150
|
+
& when (@variationFlyoutTop) or (@variationFlyoutBottom) {
|
151
|
+
.ui.top.flyout,
|
152
|
+
.ui.bottom.flyout {
|
153
|
+
width: 100%;
|
154
|
+
height: auto;
|
155
|
+
}
|
156
|
+
& when (@variationFlyoutTop) {
|
157
|
+
.ui.top.flyout {
|
158
|
+
top: 0;
|
159
|
+
bottom: auto;
|
160
|
+
transform: translate3d(0, -100%, 0);
|
161
|
+
}
|
162
|
+
}
|
163
|
+
& when (@variationFlyoutBottom) {
|
164
|
+
.ui.bottom.flyout {
|
165
|
+
top: auto;
|
166
|
+
bottom: 0;
|
167
|
+
transform: translate3d(0, 100%, 0);
|
168
|
+
}
|
169
|
+
}
|
170
|
+
}
|
171
|
+
|
172
|
+
|
173
|
+
/*--------------
|
174
|
+
Pushable
|
175
|
+
---------------*/
|
176
|
+
|
177
|
+
.pushable.pushable.pushable {
|
178
|
+
height: 100%;
|
179
|
+
overflow-x: hidden;
|
180
|
+
padding: 0;
|
181
|
+
&.locked {
|
182
|
+
overflow-y: hidden;
|
183
|
+
background: inherit;
|
184
|
+
}
|
185
|
+
}
|
186
|
+
|
187
|
+
/* Whole Page */
|
188
|
+
body.pushable {
|
189
|
+
background: @canvasBackground;
|
190
|
+
&.dimmed {
|
191
|
+
background: inherit;
|
192
|
+
}
|
193
|
+
}
|
194
|
+
|
195
|
+
/* Page Context */
|
196
|
+
.pushable:not(body) {
|
197
|
+
transform: translate3d(0, 0, 0);
|
198
|
+
overflow-y: hidden;
|
199
|
+
}
|
200
|
+
.pushable:not(body) > .ui.flyout,
|
201
|
+
.pushable:not(body) > .fixed,
|
202
|
+
.pushable:not(body) > .pusher:after {
|
203
|
+
position: absolute;
|
204
|
+
}
|
205
|
+
|
206
|
+
|
207
|
+
/*--------------
|
208
|
+
Fixed
|
209
|
+
---------------*/
|
210
|
+
|
211
|
+
.pushable > .fixed {
|
212
|
+
position: fixed;
|
213
|
+
backface-visibility: hidden;
|
214
|
+
|
215
|
+
transition: transform @duration @easing;
|
216
|
+
will-change: transform;
|
217
|
+
z-index: @fixedLayer;
|
218
|
+
}
|
219
|
+
|
220
|
+
/*--------------
|
221
|
+
Page
|
222
|
+
---------------*/
|
223
|
+
|
224
|
+
.pushable > .pusher {
|
225
|
+
position: relative;
|
226
|
+
backface-visibility: hidden;
|
227
|
+
overflow: hidden;
|
228
|
+
min-height: 100%;
|
229
|
+
transition: transform @duration @easing;
|
230
|
+
z-index: @middleLayer;
|
231
|
+
|
232
|
+
/* Pusher should inherit background from context */
|
233
|
+
background: inherit;
|
234
|
+
}
|
235
|
+
|
236
|
+
body.pushable > .pusher {
|
237
|
+
background: @pageBackground;
|
238
|
+
}
|
239
|
+
|
240
|
+
/*--------------
|
241
|
+
Dimmer
|
242
|
+
---------------*/
|
243
|
+
|
244
|
+
.pushable > .pusher:after {
|
245
|
+
position: fixed;
|
246
|
+
top: 0;
|
247
|
+
right: 0;
|
248
|
+
content: '';
|
249
|
+
background: @dimmerColor;
|
250
|
+
overflow: hidden;
|
251
|
+
opacity: 0;
|
252
|
+
transition: @dimmerTransition;
|
253
|
+
will-change: opacity;
|
254
|
+
z-index: @dimmerLayer;
|
255
|
+
}
|
256
|
+
|
257
|
+
/*--------------
|
258
|
+
Coupling
|
259
|
+
---------------*/
|
260
|
+
|
261
|
+
.ui.flyout.menu .item {
|
262
|
+
border-radius: 0 !important;
|
263
|
+
}
|
264
|
+
|
265
|
+
/*******************************
|
266
|
+
States
|
267
|
+
*******************************/
|
268
|
+
|
269
|
+
/*--------------
|
270
|
+
Dimmed
|
271
|
+
---------------*/
|
272
|
+
|
273
|
+
.pushable > .pusher.dimmed:after {
|
274
|
+
width: 100% !important;
|
275
|
+
height: 100% !important;
|
276
|
+
opacity: 1 !important;
|
277
|
+
}
|
278
|
+
|
279
|
+
/*--------------
|
280
|
+
Animating
|
281
|
+
---------------*/
|
282
|
+
|
283
|
+
.ui.animating.flyout {
|
284
|
+
visibility: visible;
|
285
|
+
}
|
286
|
+
|
287
|
+
/*--------------
|
288
|
+
Visible
|
289
|
+
---------------*/
|
290
|
+
|
291
|
+
.ui.visible.flyout {
|
292
|
+
visibility: visible;
|
293
|
+
transform: translate3d(0, 0, 0);
|
294
|
+
}
|
295
|
+
|
296
|
+
/* Shadow Direction */
|
297
|
+
& when (@variationFlyoutLeft) or (@variationFlyoutRight) {
|
298
|
+
.ui.left.visible.flyout,
|
299
|
+
.ui.right.visible.flyout {
|
300
|
+
box-shadow: @horizontalBoxShadow;
|
301
|
+
}
|
302
|
+
}
|
303
|
+
& when (@variationFlyoutTop) or (@variationFlyoutBottom) {
|
304
|
+
.ui.top.visible.flyout,
|
305
|
+
.ui.bottom.visible.flyout {
|
306
|
+
box-shadow: @verticalBoxShadow;
|
307
|
+
}
|
308
|
+
}
|
309
|
+
|
310
|
+
/* Visible On Load */
|
311
|
+
& when (@variationFlyoutLeft) {
|
312
|
+
.ui.visible.left.flyout ~ .fixed,
|
313
|
+
.ui.visible.left.flyout ~ .pusher {
|
314
|
+
transform: translate3d(@width, 0, 0);
|
315
|
+
}
|
316
|
+
}
|
317
|
+
& when (@variationFlyoutRight) {
|
318
|
+
.ui.visible.right.flyout ~ .fixed,
|
319
|
+
.ui.visible.right.flyout ~ .pusher {
|
320
|
+
transform: translate3d(-@width, 0, 0);
|
321
|
+
}
|
322
|
+
}
|
323
|
+
& when (@variationFlyoutTop) {
|
324
|
+
.ui.visible.top.flyout ~ .fixed,
|
325
|
+
.ui.visible.top.flyout ~ .pusher {
|
326
|
+
transform: translate3d(0, @height, 0);
|
327
|
+
}
|
328
|
+
}
|
329
|
+
& when (@variationFlyoutBottom) {
|
330
|
+
.ui.visible.bottom.flyout ~ .fixed,
|
331
|
+
.ui.visible.bottom.flyout ~ .pusher {
|
332
|
+
transform: translate3d(0, -@height, 0);
|
333
|
+
}
|
334
|
+
}
|
335
|
+
|
336
|
+
& when (@variationFlyoutLeft) or (@variationFlyoutRight) {
|
337
|
+
/* opposite sides visible forces content overlay */
|
338
|
+
.ui.visible.left.flyout ~ .ui.visible.right.flyout ~ .fixed,
|
339
|
+
.ui.visible.left.flyout ~ .ui.visible.right.flyout ~ .pusher,
|
340
|
+
.ui.visible.right.flyout ~ .ui.visible.left.flyout ~ .fixed,
|
341
|
+
.ui.visible.right.flyout ~ .ui.visible.left.flyout ~ .pusher {
|
342
|
+
transform: translate3d(0, 0, 0);
|
343
|
+
}
|
344
|
+
}
|
345
|
+
|
346
|
+
/*--------------
|
347
|
+
iOS
|
348
|
+
---------------*/
|
349
|
+
|
350
|
+
/*--------------
|
351
|
+
Inverted
|
352
|
+
---------------*/
|
353
|
+
.ui.flyout.inverted {
|
354
|
+
background: rgba(0, 0, 0, 0.9);
|
355
|
+
}
|
356
|
+
|
357
|
+
.ui.flyout.inverted > .close {
|
358
|
+
color: #FFFFFF;
|
359
|
+
}
|
360
|
+
|
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;
|
370
|
+
}
|
371
|
+
|
372
|
+
/*******************************
|
373
|
+
Variations
|
374
|
+
*******************************/
|
375
|
+
|
376
|
+
/*--------------
|
377
|
+
Width
|
378
|
+
---------------*/
|
379
|
+
|
380
|
+
/* Left / Right */
|
381
|
+
& when (@variationFlyoutLeft) or (@variationFlyoutRight) {
|
382
|
+
& when (@variationFlyoutThin) {
|
383
|
+
.ui.thin.left.flyout,
|
384
|
+
.ui.thin.right.flyout {
|
385
|
+
width: @thinWidth;
|
386
|
+
}
|
387
|
+
|
388
|
+
.ui[class*="very thin"].left.flyout,
|
389
|
+
.ui[class*="very thin"].right.flyout {
|
390
|
+
width: @veryThinWidth;
|
391
|
+
}
|
392
|
+
}
|
393
|
+
|
394
|
+
.ui.left.flyout,
|
395
|
+
.ui.right.flyout {
|
396
|
+
width: @width;
|
397
|
+
}
|
398
|
+
|
399
|
+
& when (@variationFlyoutWide) {
|
400
|
+
.ui.wide.left.flyout,
|
401
|
+
.ui.wide.right.flyout {
|
402
|
+
width: @wideWidth;
|
403
|
+
}
|
404
|
+
|
405
|
+
.ui[class*="very wide"].left.flyout,
|
406
|
+
.ui[class*="very wide"].right.flyout {
|
407
|
+
width: @veryWideWidth;
|
408
|
+
}
|
409
|
+
}
|
410
|
+
|
411
|
+
/* Left Visible */
|
412
|
+
& when (@variationFlyoutLeft) {
|
413
|
+
& when (@variationFlyoutThin) {
|
414
|
+
.ui.visible.thin.left.flyout ~ .fixed,
|
415
|
+
.ui.visible.thin.left.flyout ~ .pusher {
|
416
|
+
transform: translate3d(@thinWidth, 0, 0);
|
417
|
+
}
|
418
|
+
|
419
|
+
.ui.visible[class*="very thin"].left.flyout ~ .fixed,
|
420
|
+
.ui.visible[class*="very thin"].left.flyout ~ .pusher {
|
421
|
+
transform: translate3d(@veryThinWidth, 0, 0);
|
422
|
+
}
|
423
|
+
}
|
424
|
+
|
425
|
+
& when (@variationFlyoutWide) {
|
426
|
+
.ui.visible.wide.left.flyout ~ .fixed,
|
427
|
+
.ui.visible.wide.left.flyout ~ .pusher {
|
428
|
+
transform: translate3d(@wideWidth, 0, 0);
|
429
|
+
}
|
430
|
+
|
431
|
+
.ui.visible[class*="very wide"].left.flyout ~ .fixed,
|
432
|
+
.ui.visible[class*="very wide"].left.flyout ~ .pusher {
|
433
|
+
transform: translate3d(@veryWideWidth, 0, 0);
|
434
|
+
}
|
435
|
+
}
|
436
|
+
}
|
437
|
+
|
438
|
+
/* Right Visible */
|
439
|
+
& when (@variationFlyoutRight) {
|
440
|
+
& when (@variationFlyoutThin) {
|
441
|
+
.ui.visible.thin.right.flyout ~ .fixed,
|
442
|
+
.ui.visible.thin.right.flyout ~ .pusher {
|
443
|
+
transform: translate3d(-@thinWidth, 0, 0);
|
444
|
+
}
|
445
|
+
|
446
|
+
.ui.visible[class*="very thin"].right.flyout ~ .fixed,
|
447
|
+
.ui.visible[class*="very thin"].right.flyout ~ .pusher {
|
448
|
+
transform: translate3d(-@veryThinWidth, 0, 0);
|
449
|
+
}
|
450
|
+
}
|
451
|
+
|
452
|
+
& when (@variationFlyoutWide) {
|
453
|
+
.ui.visible.wide.right.flyout ~ .fixed,
|
454
|
+
.ui.visible.wide.right.flyout ~ .pusher {
|
455
|
+
transform: translate3d(-@wideWidth, 0, 0);
|
456
|
+
}
|
457
|
+
|
458
|
+
.ui.visible[class*="very wide"].right.flyout ~ .fixed,
|
459
|
+
.ui.visible[class*="very wide"].right.flyout ~ .pusher {
|
460
|
+
transform: translate3d(-@veryWideWidth, 0, 0);
|
461
|
+
}
|
462
|
+
}
|
463
|
+
}
|
464
|
+
|
465
|
+
/* Fullscreen */
|
466
|
+
|
467
|
+
.ui.fullscreen.flyout {
|
468
|
+
width: 100%;
|
469
|
+
}
|
470
|
+
|
471
|
+
|
472
|
+
/*-------------------
|
473
|
+
Column Width
|
474
|
+
--------------------*/
|
475
|
+
|
476
|
+
& when (@variationFlyoutColumnWidth) {
|
477
|
+
|
478
|
+
/* Sizing Combinations */
|
479
|
+
|
480
|
+
.ui[class*="one wide"].flyout:not(.fullscreen) {
|
481
|
+
width: @oneWide;
|
482
|
+
}
|
483
|
+
|
484
|
+
.ui[class*="two wide"].flyout:not(.fullscreen) {
|
485
|
+
width: @twoWide;
|
486
|
+
}
|
487
|
+
|
488
|
+
.ui[class*="three wide"].flyout:not(.fullscreen) {
|
489
|
+
width: @threeWide;
|
490
|
+
}
|
491
|
+
|
492
|
+
.ui[class*="four wide"].flyout:not(.fullscreen) {
|
493
|
+
width: @fourWide;
|
494
|
+
}
|
495
|
+
|
496
|
+
.ui[class*="five wide"].flyout:not(.fullscreen) {
|
497
|
+
width: @fiveWide;
|
498
|
+
}
|
499
|
+
|
500
|
+
.ui[class*="six wide"].flyout:not(.fullscreen) {
|
501
|
+
width: @sixWide;
|
502
|
+
}
|
503
|
+
|
504
|
+
.ui[class*="seven wide"].flyout:not(.fullscreen) {
|
505
|
+
width: @sevenWide;
|
506
|
+
}
|
507
|
+
|
508
|
+
.ui[class*="eight wide"].flyout:not(.fullscreen) {
|
509
|
+
width: @eightWide;
|
510
|
+
}
|
511
|
+
|
512
|
+
.ui[class*="nine wide"].flyout:not(.fullscreen) {
|
513
|
+
width: @nineWide;
|
514
|
+
}
|
515
|
+
|
516
|
+
.ui[class*="ten wide"].flyout:not(.fullscreen) {
|
517
|
+
width: @tenWide;
|
518
|
+
}
|
519
|
+
|
520
|
+
.ui[class*="eleven wide"].flyout:not(.fullscreen) {
|
521
|
+
width: @elevenWide;
|
522
|
+
}
|
523
|
+
|
524
|
+
.ui[class*="twelve wide"].flyout:not(.fullscreen) {
|
525
|
+
width: @twelveWide;
|
526
|
+
}
|
527
|
+
|
528
|
+
.ui[class*="thirteen wide"].flyout:not(.fullscreen) {
|
529
|
+
width: @thirteenWide;
|
530
|
+
}
|
531
|
+
|
532
|
+
.ui[class*="fourteen wide"].flyout:not(.fullscreen) {
|
533
|
+
width: @fourteenWide;
|
534
|
+
}
|
535
|
+
|
536
|
+
.ui[class*="fifteen wide"].flyout:not(.fullscreen) {
|
537
|
+
width: @fifteenWide;
|
538
|
+
}
|
539
|
+
|
540
|
+
.ui[class*="sixteen wide"].flyout:not(.fullscreen) {
|
541
|
+
width: @sixteenWide;
|
542
|
+
}
|
543
|
+
}
|
544
|
+
}
|
545
|
+
|
546
|
+
|
547
|
+
|
548
|
+
/*******************************
|
549
|
+
Animations
|
550
|
+
*******************************/
|
551
|
+
|
552
|
+
& when (@variationFlyoutOverlay) {
|
553
|
+
/*--------------
|
554
|
+
Overlay
|
555
|
+
---------------*/
|
556
|
+
|
557
|
+
/* Set-up */
|
558
|
+
.ui.overlay.flyout {
|
559
|
+
z-index: @topLayer;
|
560
|
+
}
|
561
|
+
|
562
|
+
/* Initial */
|
563
|
+
& when (@variationFlyoutLeft) {
|
564
|
+
.ui.left.overlay.flyout {
|
565
|
+
transform: translate3d(-100%, 0, 0);
|
566
|
+
}
|
567
|
+
}
|
568
|
+
& when (@variationFlyoutRight) {
|
569
|
+
.ui.right.overlay.flyout {
|
570
|
+
transform: translate3d(100%, 0, 0);
|
571
|
+
}
|
572
|
+
}
|
573
|
+
& when (@variationFlyoutTop) {
|
574
|
+
.ui.top.overlay.flyout {
|
575
|
+
transform: translate3d(0%, -100%, 0);
|
576
|
+
}
|
577
|
+
}
|
578
|
+
& when (@variationFlyoutBottom) {
|
579
|
+
.ui.bottom.overlay.flyout {
|
580
|
+
transform: translate3d(0%, 100%, 0);
|
581
|
+
}
|
582
|
+
}
|
583
|
+
|
584
|
+
/* Animation */
|
585
|
+
.animating.ui.overlay.flyout,
|
586
|
+
.ui.visible.overlay.flyout {
|
587
|
+
transition: transform @duration @easing;
|
588
|
+
}
|
589
|
+
|
590
|
+
/* End - flyout */
|
591
|
+
.ui.visible.overlay.flyout {
|
592
|
+
transform: translate3d(0%, 0, 0);
|
593
|
+
}
|
594
|
+
|
595
|
+
/* End - Pusher */
|
596
|
+
.ui.visible.overlay.flyout ~ .fixed,
|
597
|
+
.ui.visible.overlay.flyout ~ .pusher {
|
598
|
+
transform: none !important;
|
599
|
+
}
|
600
|
+
}
|
601
|
+
|
602
|
+
|
603
|
+
|
604
|
+
.loadUIOverrides();
|
package/src/semantic.less
CHANGED
@@ -57,6 +57,7 @@
|
|
57
57
|
& { @import "definitions/modules/dimmer"; }
|
58
58
|
& { @import "definitions/modules/dropdown"; }
|
59
59
|
& { @import "definitions/modules/embed"; }
|
60
|
+
& { @import "definitions/modules/flyout"; }
|
60
61
|
& { @import "definitions/modules/modal"; }
|
61
62
|
& { @import "definitions/modules/nag"; }
|
62
63
|
& { @import "definitions/modules/popup"; }
|
package/src/theme.config.example
CHANGED
@@ -550,6 +550,16 @@
|
|
550
550
|
/* Embed */
|
551
551
|
@variationEmbedRatio: true;
|
552
552
|
|
553
|
+
/* Flyout */
|
554
|
+
@variationFlyoutColumnWidth: true;
|
555
|
+
@variationFlyoutThin: true;
|
556
|
+
@variationFlyoutWide: true;
|
557
|
+
@variationFlyoutTop: true;
|
558
|
+
@variationFlyoutBottom: true;
|
559
|
+
@variationFlyoutLeft: true;
|
560
|
+
@variationFlyoutRight: true;
|
561
|
+
@variationFlyoutOverlay: true;
|
562
|
+
|
553
563
|
/* Modal */
|
554
564
|
@variationModalInverted: true;
|
555
565
|
@variationModalBasic: true;
|
@@ -0,0 +1,45 @@
|
|
1
|
+
/*******************************
|
2
|
+
Flyout
|
3
|
+
*******************************/
|
4
|
+
|
5
|
+
/*-------------------
|
6
|
+
Content
|
7
|
+
--------------------*/
|
8
|
+
|
9
|
+
/* Animation */
|
10
|
+
@perspective: 1500px;
|
11
|
+
@duration: 500ms;
|
12
|
+
@easing: @defaultEasing;
|
13
|
+
|
14
|
+
/* Dimmer */
|
15
|
+
@dimmerColor: rgba(0, 0, 0, 0.4);
|
16
|
+
@dimmerTransition: opacity @duration;
|
17
|
+
|
18
|
+
/* Color below page */
|
19
|
+
@canvasBackground: @lightBlack;
|
20
|
+
|
21
|
+
/* Shadow */
|
22
|
+
@boxShadow: 0 0 20px @borderColor;
|
23
|
+
@horizontalBoxShadow: @boxShadow;
|
24
|
+
@verticalBoxShadow: @boxShadow;
|
25
|
+
|
26
|
+
/* Layering */
|
27
|
+
@bottomLayer: 1;
|
28
|
+
@middleLayer: 2;
|
29
|
+
@fixedLayer: 101;
|
30
|
+
@topLayer: 102;
|
31
|
+
@dimmerLayer: 1000;
|
32
|
+
|
33
|
+
/*-------------------
|
34
|
+
Variations
|
35
|
+
--------------------*/
|
36
|
+
|
37
|
+
/* Width */
|
38
|
+
@veryThinWidth: 120px;
|
39
|
+
@thinWidth: 200px;
|
40
|
+
@width: 400px;
|
41
|
+
@wideWidth: 600px;
|
42
|
+
@veryWideWidth: 800px;
|
43
|
+
|
44
|
+
/* Height */
|
45
|
+
@height: 36px;
|