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.
- package/.eslintrc.js +1 -0
- package/.stylelintrc.js +46 -0
- package/dist/components/accordion.css +19 -26
- 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 +31 -41
- 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 +71 -96
- package/dist/components/button.min.css +1 -1
- package/dist/components/calendar.css +6 -8
- 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 +83 -115
- package/dist/components/card.min.css +1 -1
- package/dist/components/checkbox.css +47 -64
- 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 +37 -51
- package/dist/components/comment.min.css +1 -1
- package/dist/components/container.css +4 -5
- package/dist/components/container.min.css +1 -1
- package/dist/components/dimmer.css +31 -41
- 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 +32 -44
- package/dist/components/divider.min.css +1 -1
- package/dist/components/dropdown.css +109 -152
- 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 +13 -19
- 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/emoji.css +7 -6
- package/dist/components/feed.css +24 -32
- package/dist/components/feed.min.css +1 -1
- package/dist/components/flag.css +5 -3
- package/dist/components/flag.min.css +1 -1
- package/dist/components/flyout.css +39 -56
- package/dist/components/flyout.js +1 -1
- package/dist/components/flyout.min.css +1 -1
- package/dist/components/flyout.min.js +1 -1
- package/dist/components/form.css +85 -111
- 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 +70 -96
- package/dist/components/grid.min.css +1 -1
- package/dist/components/header.css +47 -65
- package/dist/components/header.min.css +1 -1
- package/dist/components/icon.css +42 -53
- package/dist/components/icon.min.css +1 -1
- package/dist/components/image.css +32 -42
- package/dist/components/image.min.css +1 -1
- package/dist/components/input.css +45 -58
- package/dist/components/input.min.css +1 -1
- package/dist/components/item.css +55 -77
- package/dist/components/item.min.css +1 -1
- package/dist/components/label.css +61 -90
- package/dist/components/label.min.css +1 -1
- package/dist/components/list.css +44 -59
- package/dist/components/list.min.css +1 -1
- package/dist/components/loader.css +16 -22
- package/dist/components/loader.min.css +1 -1
- package/dist/components/menu.css +126 -186
- package/dist/components/message.css +25 -35
- package/dist/components/message.min.css +1 -1
- package/dist/components/modal.css +33 -40
- 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 +19 -25
- 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 +10 -12
- package/dist/components/placeholder.min.css +1 -1
- package/dist/components/popup.css +49 -59
- 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 +29 -39
- 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 +15 -20
- package/dist/components/rail.min.css +1 -1
- package/dist/components/rating.css +9 -13
- 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 +19 -26
- package/dist/components/reveal.min.css +1 -1
- package/dist/components/search.css +41 -58
- 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 +62 -83
- package/dist/components/segment.min.css +1 -1
- package/dist/components/shape.css +10 -14
- 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 +41 -58
- package/dist/components/sidebar.js +1 -1
- package/dist/components/sidebar.min.css +1 -1
- package/dist/components/sidebar.min.js +1 -1
- package/dist/components/site.css +5 -5
- 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.css +27 -37
- 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 +29 -41
- package/dist/components/statistic.min.css +1 -1
- package/dist/components/step.css +26 -35
- 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 +6 -8
- 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 +87 -117
- 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 +4 -6
- package/dist/components/toast.js +1 -1
- package/dist/components/toast.min.css +1 -1
- package/dist/components/toast.min.js +1 -1
- package/dist/components/transition.css +4 -3
- 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 +1719 -1719
- package/dist/semantic.js +26 -26
- package/dist/semantic.min.css +1 -1
- package/dist/semantic.min.js +1 -1
- package/package.json +8 -4
- package/src/definitions/collections/breadcrumb.less +41 -44
- package/src/definitions/collections/form.less +869 -879
- package/src/definitions/collections/grid.less +1690 -1695
- package/src/definitions/collections/menu.less +1493 -1503
- package/src/definitions/collections/message.less +292 -295
- package/src/definitions/collections/table.less +1616 -1622
- package/src/definitions/elements/button.less +1723 -1737
- package/src/definitions/elements/container.less +209 -210
- package/src/definitions/elements/divider.less +205 -206
- package/src/definitions/elements/emoji.less +38 -44
- package/src/definitions/elements/flag.less +44 -46
- package/src/definitions/elements/header.less +337 -345
- package/src/definitions/elements/icon.less +511 -512
- package/src/definitions/elements/image.less +221 -225
- package/src/definitions/elements/input.less +661 -667
- package/src/definitions/elements/label.less +800 -799
- package/src/definitions/elements/list.less +809 -809
- package/src/definitions/elements/loader.less +272 -266
- package/src/definitions/elements/placeholder.less +171 -168
- package/src/definitions/elements/rail.less +91 -91
- package/src/definitions/elements/reveal.less +192 -196
- package/src/definitions/elements/segment.less +743 -747
- package/src/definitions/elements/step.less +425 -433
- package/src/definitions/elements/text.less +32 -34
- package/src/definitions/globals/reset.less +9 -6
- package/src/definitions/globals/site.less +106 -108
- package/src/definitions/modules/accordion.less +242 -246
- package/src/definitions/modules/calendar.less +91 -92
- package/src/definitions/modules/checkbox.less +536 -542
- package/src/definitions/modules/dimmer.less +300 -297
- package/src/definitions/modules/dropdown.less +1577 -1591
- package/src/definitions/modules/embed.less +81 -82
- package/src/definitions/modules/flyout.less +443 -452
- package/src/definitions/modules/modal.less +459 -462
- package/src/definitions/modules/nag.less +134 -137
- package/src/definitions/modules/popup.less +738 -739
- package/src/definitions/modules/progress.less +521 -494
- package/src/definitions/modules/rating.less +94 -101
- package/src/definitions/modules/search.less +375 -383
- package/src/definitions/modules/shape.less +71 -76
- package/src/definitions/modules/sidebar.less +464 -474
- package/src/definitions/modules/slider.less +307 -308
- package/src/definitions/modules/sticky.less +21 -23
- package/src/definitions/modules/tab.less +51 -52
- package/src/definitions/modules/toast.less +584 -586
- package/src/definitions/modules/transition.less +55 -56
- package/src/definitions/views/ad.less +206 -206
- package/src/definitions/views/card.less +968 -970
- package/src/definitions/views/comment.less +190 -198
- package/src/definitions/views/feed.less +220 -224
- package/src/definitions/views/item.less +436 -446
- package/src/definitions/views/statistic.less +269 -280
- package/src/theme.less +29 -32
- 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
|
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
|
-
|
29
|
-
|
30
|
-
|
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
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
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
|
-
|
45
|
+
background: #FFFFFF;
|
48
46
|
}
|
49
47
|
|
50
48
|
/* GPU Layers for Child Elements */
|
51
49
|
.ui.flyout > * {
|
52
|
-
|
50
|
+
backface-visibility: hidden;
|
53
51
|
}
|
54
52
|
|
55
|
-
|
53
|
+
/* --------------
|
56
54
|
Close
|
57
|
-
|
55
|
+
--------------- */
|
58
56
|
.ui.flyout > .close {
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
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
|
-
|
77
|
-
|
74
|
+
opacity: 1;
|
75
|
+
outline: none;
|
78
76
|
}
|
79
77
|
|
80
|
-
|
78
|
+
/* --------------
|
81
79
|
Header
|
82
|
-
|
80
|
+
--------------- */
|
83
81
|
.ui.flyout > .header {
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
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
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
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
|
-
|
108
|
+
min-height: @contentMinHeight;
|
111
109
|
}
|
112
110
|
& when(@variationFlyoutScrolling) {
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
111
|
+
.ui.flyout.left > .scrolling.content,
|
112
|
+
.ui.flyout.right > .scrolling.content {
|
113
|
+
max-height: @scrollingContentMaxHeight;
|
114
|
+
}
|
117
115
|
|
118
|
-
|
119
|
-
|
120
|
-
|
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
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
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
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
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
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
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
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
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
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
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
|
-
|
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
|
-
|
206
|
-
|
207
|
-
|
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
|
-
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
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
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
226
|
+
background: @canvasBackground;
|
227
|
+
&.dimmed {
|
228
|
+
background: inherit;
|
229
|
+
}
|
233
230
|
}
|
234
231
|
|
235
232
|
/* Page Context */
|
236
233
|
.pushable:not(body) {
|
237
|
-
|
238
|
-
|
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
|
-
|
240
|
+
position: absolute;
|
244
241
|
}
|
245
242
|
|
246
|
-
|
247
|
-
/*--------------
|
243
|
+
/* --------------
|
248
244
|
Fixed
|
249
|
-
|
245
|
+
--------------- */
|
250
246
|
|
251
247
|
.pushable > .fixed {
|
252
|
-
|
253
|
-
|
248
|
+
position: fixed;
|
249
|
+
backface-visibility: hidden;
|
254
250
|
|
255
|
-
|
256
|
-
|
257
|
-
|
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
|
-
|
266
|
-
|
267
|
-
|
268
|
-
|
269
|
-
|
270
|
-
|
271
|
-
|
272
|
-
|
273
|
-
|
274
|
-
|
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
|
-
|
275
|
+
background: @pageBackground;
|
280
276
|
}
|
281
277
|
|
282
|
-
|
278
|
+
/* --------------
|
283
279
|
Dimmer
|
284
|
-
|
280
|
+
--------------- */
|
285
281
|
|
286
282
|
.pushable > .pusher::after {
|
287
|
-
|
288
|
-
|
289
|
-
|
290
|
-
|
291
|
-
|
292
|
-
|
293
|
-
|
294
|
-
|
295
|
-
|
296
|
-
|
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
|
-
|
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
|
-
|
317
|
-
|
318
|
-
|
312
|
+
width: 100% !important;
|
313
|
+
height: 100% !important;
|
314
|
+
opacity: 1 !important;
|
319
315
|
}
|
320
316
|
& when (@variationFlyoutBlurring) {
|
321
|
-
|
322
|
-
|
323
|
-
|
324
|
-
|
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
|
-
|
324
|
+
opacity: 0 !important;
|
329
325
|
}
|
330
|
-
|
326
|
+
|
327
|
+
/* --------------
|
331
328
|
Animating
|
332
|
-
|
329
|
+
--------------- */
|
333
330
|
|
334
331
|
.ui.animating.flyout {
|
335
|
-
|
332
|
+
visibility: visible;
|
336
333
|
}
|
337
334
|
|
338
|
-
|
335
|
+
/* --------------
|
339
336
|
Visible
|
340
|
-
|
337
|
+
--------------- */
|
341
338
|
|
342
339
|
.ui.visible.flyout {
|
343
|
-
|
344
|
-
|
340
|
+
visibility: visible;
|
341
|
+
transform: translate3d(0, 0, 0);
|
345
342
|
}
|
346
343
|
|
347
344
|
/* Shadow Direction */
|
348
345
|
& when (@variationFlyoutLeft) or (@variationFlyoutRight) {
|
349
|
-
|
350
|
-
|
351
|
-
|
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
|
-
|
356
|
-
|
357
|
-
|
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
|
-
|
364
|
-
|
365
|
-
|
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
|
-
|
370
|
-
|
371
|
-
|
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
|
-
|
376
|
-
|
377
|
-
|
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
|
-
|
382
|
-
|
383
|
-
|
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
|
-
|
389
|
-
|
390
|
-
|
391
|
-
|
392
|
-
|
393
|
-
|
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
|
-
|
400
|
-
|
401
|
-
|
402
|
-
|
403
|
-
|
404
|
-
|
405
|
-
|
406
|
-
|
407
|
-
|
408
|
-
|
409
|
-
|
410
|
-
|
411
|
-
|
412
|
-
|
413
|
-
|
414
|
-
|
415
|
-
|
416
|
-
|
417
|
-
|
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
|
-
|
432
|
-
|
433
|
-
|
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
|
-
|
490
|
-
|
491
|
-
|
492
|
-
|
433
|
+
.ui.thin.left.flyout,
|
434
|
+
.ui.thin.right.flyout {
|
435
|
+
width: @thinWidth;
|
436
|
+
}
|
493
437
|
|
494
|
-
|
495
|
-
|
496
|
-
|
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
|
-
|
502
|
-
|
503
|
-
|
504
|
-
|
505
|
-
|
506
|
-
|
507
|
-
|
508
|
-
|
509
|
-
|
510
|
-
}
|
511
|
-
|
512
|
-
|
513
|
-
|
514
|
-
|
515
|
-
|
516
|
-
|
517
|
-
|
518
|
-
|
519
|
-
|
520
|
-
|
521
|
-
|
522
|
-
|
523
|
-
|
524
|
-
|
525
|
-
|
526
|
-
|
527
|
-
|
528
|
-
|
529
|
-
|
530
|
-
|
531
|
-
|
532
|
-
|
533
|
-
|
534
|
-
|
535
|
-
|
536
|
-
|
537
|
-
|
538
|
-
|
539
|
-
|
540
|
-
|
541
|
-
|
542
|
-
|
543
|
-
|
544
|
-
|
545
|
-
|
546
|
-
|
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
|
-
|
550
|
-
|
551
|
-
|
548
|
+
.ui[class*="seven wide"].flyout:not(.fullscreen) {
|
549
|
+
width: @sevenWide;
|
550
|
+
}
|
552
551
|
|
553
|
-
|
554
|
-
|
555
|
-
|
552
|
+
.ui[class*="eight wide"].flyout:not(.fullscreen) {
|
553
|
+
width: @eightWide;
|
554
|
+
}
|
556
555
|
|
557
|
-
|
558
|
-
|
559
|
-
|
556
|
+
.ui[class*="nine wide"].flyout:not(.fullscreen) {
|
557
|
+
width: @nineWide;
|
558
|
+
}
|
560
559
|
|
561
|
-
|
562
|
-
|
563
|
-
|
560
|
+
.ui[class*="ten wide"].flyout:not(.fullscreen) {
|
561
|
+
width: @tenWide;
|
562
|
+
}
|
564
563
|
|
565
|
-
|
566
|
-
|
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
|
-
|
574
|
-
|
575
|
-
|
568
|
+
.ui[class*="twelve wide"].flyout:not(.fullscreen) {
|
569
|
+
width: @twelveWide;
|
570
|
+
}
|
576
571
|
|
577
|
-
|
578
|
-
|
579
|
-
|
572
|
+
.ui[class*="thirteen wide"].flyout:not(.fullscreen) {
|
573
|
+
width: @thirteenWide;
|
574
|
+
}
|
580
575
|
|
581
|
-
|
582
|
-
|
583
|
-
|
576
|
+
.ui[class*="fourteen wide"].flyout:not(.fullscreen) {
|
577
|
+
width: @fourteenWide;
|
578
|
+
}
|
584
579
|
|
585
|
-
|
586
|
-
|
587
|
-
|
580
|
+
.ui[class*="fifteen wide"].flyout:not(.fullscreen) {
|
581
|
+
width: @fifteenWide;
|
582
|
+
}
|
588
583
|
|
589
|
-
|
590
|
-
|
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
|
-
|
604
|
-
|
595
|
+
/* --------------
|
596
|
+
Overlay
|
597
|
+
--------------- */
|
605
598
|
|
606
|
-
|
607
|
-
|
608
|
-
|
609
|
-
|
599
|
+
/* Set-up */
|
600
|
+
.ui.overlay.flyout {
|
601
|
+
z-index: @topLayer;
|
602
|
+
}
|
610
603
|
|
611
|
-
|
612
|
-
|
613
|
-
|
614
|
-
|
604
|
+
/* Initial */
|
605
|
+
& when (@variationFlyoutLeft) {
|
606
|
+
.ui.left.overlay.flyout {
|
607
|
+
transform: translate3d(-100%, 0, 0);
|
608
|
+
}
|
615
609
|
}
|
616
|
-
|
617
|
-
|
618
|
-
|
619
|
-
|
610
|
+
& when (@variationFlyoutRight) {
|
611
|
+
.ui.right.overlay.flyout {
|
612
|
+
transform: translate3d(100%, 0, 0);
|
613
|
+
}
|
620
614
|
}
|
621
|
-
|
622
|
-
|
623
|
-
|
624
|
-
|
615
|
+
& when (@variationFlyoutTop) {
|
616
|
+
.ui.top.overlay.flyout {
|
617
|
+
transform: translate3d(0%, -100%, 0);
|
618
|
+
}
|
625
619
|
}
|
626
|
-
|
627
|
-
|
628
|
-
|
629
|
-
|
620
|
+
& when (@variationFlyoutBottom) {
|
621
|
+
.ui.bottom.overlay.flyout {
|
622
|
+
transform: translate3d(0%, 100%, 0);
|
623
|
+
}
|
630
624
|
}
|
631
|
-
}
|
632
625
|
|
633
|
-
|
634
|
-
|
635
|
-
|
636
|
-
|
637
|
-
|
626
|
+
/* Animation */
|
627
|
+
.animating.ui.overlay.flyout,
|
628
|
+
.ui.visible.overlay.flyout {
|
629
|
+
transition: transform @duration @easing;
|
630
|
+
}
|
638
631
|
|
639
|
-
|
640
|
-
|
641
|
-
|
642
|
-
|
632
|
+
/* End - flyout */
|
633
|
+
.ui.visible.overlay.flyout {
|
634
|
+
transform: translate3d(0%, 0, 0);
|
635
|
+
}
|
643
636
|
|
644
|
-
|
645
|
-
|
646
|
-
|
647
|
-
|
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();
|