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,891 +8,890 @@
|
|
8
8
|
*
|
9
9
|
*/
|
10
10
|
|
11
|
-
|
12
11
|
/*******************************
|
13
12
|
Theme
|
14
13
|
*******************************/
|
15
14
|
|
16
|
-
@type
|
15
|
+
@type : 'module';
|
17
16
|
@element : 'popup';
|
18
17
|
|
19
18
|
@import (multiple) '../../theme.config';
|
20
19
|
|
21
|
-
|
22
20
|
/*******************************
|
23
21
|
Popup
|
24
22
|
*******************************/
|
25
23
|
|
26
24
|
.ui.popup {
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
25
|
+
display: none;
|
26
|
+
position: absolute;
|
27
|
+
top: 0;
|
28
|
+
right: 0;
|
29
|
+
|
30
|
+
/* Fixes content being squished when inline (moz only) */
|
31
|
+
min-width: min-content;
|
32
|
+
z-index: @zIndex;
|
33
|
+
|
34
|
+
border: @border;
|
35
|
+
line-height: @lineHeight;
|
36
|
+
max-width: @maxWidth;
|
37
|
+
background: @background;
|
38
|
+
|
39
|
+
padding: @verticalPadding @horizontalPadding;
|
40
|
+
font-weight: @fontWeight;
|
41
|
+
font-style: @fontStyle;
|
42
|
+
color: @color;
|
43
|
+
|
44
|
+
border-radius: @borderRadius;
|
45
|
+
box-shadow: @boxShadow;
|
48
46
|
}
|
49
47
|
.ui.popup > .header {
|
50
|
-
|
48
|
+
padding: 0;
|
51
49
|
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
50
|
+
font-family: @headerFont;
|
51
|
+
font-size: @headerFontSize;
|
52
|
+
line-height: @headerLineHeight;
|
53
|
+
font-weight: @headerFontWeight;
|
56
54
|
}
|
57
55
|
.ui.popup > .header + .content {
|
58
|
-
|
56
|
+
padding-top: @headerDistance;
|
59
57
|
}
|
60
58
|
|
61
59
|
.ui.popup::before {
|
62
|
-
position: absolute;
|
63
|
-
content: '';
|
64
|
-
width: @arrowSize;
|
65
|
-
height: @arrowSize;
|
66
|
-
|
67
|
-
background: @arrowBackground;
|
68
|
-
transform: rotate(45deg);
|
69
|
-
|
70
|
-
z-index: @arrowZIndex;
|
71
|
-
box-shadow: @arrowBoxShadow;
|
72
|
-
}
|
73
|
-
|
74
|
-
/*******************************
|
75
|
-
Types
|
76
|
-
*******************************/
|
77
|
-
|
78
|
-
& when (@variationPopupTooltip) {
|
79
|
-
/*--------------
|
80
|
-
Tooltip
|
81
|
-
---------------*/
|
82
|
-
|
83
|
-
/* Content */
|
84
|
-
[data-tooltip] {
|
85
|
-
position: relative;
|
86
|
-
}
|
87
|
-
|
88
|
-
/* Arrow */
|
89
|
-
[data-tooltip]::before {
|
90
|
-
pointer-events: none;
|
91
60
|
position: absolute;
|
92
61
|
content: '';
|
93
|
-
font-size: @medium;
|
94
62
|
width: @arrowSize;
|
95
63
|
height: @arrowSize;
|
96
64
|
|
97
|
-
background: @
|
65
|
+
background: @arrowBackground;
|
98
66
|
transform: rotate(45deg);
|
99
67
|
|
100
68
|
z-index: @arrowZIndex;
|
101
|
-
box-shadow: @
|
102
|
-
|
69
|
+
box-shadow: @arrowBoxShadow;
|
70
|
+
}
|
103
71
|
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
content: attr(data-tooltip);
|
108
|
-
position: absolute;
|
109
|
-
text-transform: none;
|
110
|
-
text-align: left;
|
111
|
-
text-shadow: none;
|
112
|
-
white-space: nowrap;
|
113
|
-
|
114
|
-
font-size: @tooltipFontSize;
|
115
|
-
|
116
|
-
border: @tooltipBorder;
|
117
|
-
line-height: @tooltipLineHeight;
|
118
|
-
max-width: @tooltipMaxWidth;
|
119
|
-
background: @tooltipBackground;
|
120
|
-
|
121
|
-
padding: @tooltipPadding;
|
122
|
-
font-weight: @tooltipFontWeight;
|
123
|
-
font-style: @tooltipFontStyle;
|
124
|
-
color: @tooltipColor;
|
125
|
-
|
126
|
-
border-radius: @tooltipBorderRadius;
|
127
|
-
box-shadow: @tooltipBoxShadow;
|
128
|
-
z-index: @tooltipZIndex;
|
129
|
-
}
|
130
|
-
|
131
|
-
/* Default Position (Top Center) */
|
132
|
-
[data-tooltip]:not([data-position])::before {
|
133
|
-
top: auto;
|
134
|
-
right: auto;
|
135
|
-
bottom: 100%;
|
136
|
-
left: 50%;
|
137
|
-
background: @tooltipArrowBottomBackground;
|
138
|
-
margin-left: @tooltipArrowHorizontalOffset;
|
139
|
-
margin-bottom: -@tooltipArrowVerticalOffset;
|
140
|
-
}
|
141
|
-
[data-tooltip]:not([data-position])::after {
|
142
|
-
left: 50%;
|
143
|
-
transform: translateX(-50%);
|
144
|
-
bottom: 100%;
|
145
|
-
margin-bottom: @tooltipDistanceAway;
|
146
|
-
}
|
147
|
-
|
148
|
-
/* Animation */
|
149
|
-
[data-tooltip]::before,
|
150
|
-
[data-tooltip]::after {
|
151
|
-
pointer-events: none;
|
152
|
-
visibility: hidden;
|
153
|
-
opacity: 0;
|
154
|
-
transition:
|
155
|
-
transform @tooltipDuration @tooltipEasing,
|
156
|
-
opacity @tooltipDuration @tooltipEasing
|
157
|
-
;
|
158
|
-
}
|
159
|
-
[data-tooltip]::before {
|
160
|
-
transform: rotate(45deg) scale(0) !important;
|
161
|
-
transform-origin: center top;
|
162
|
-
}
|
163
|
-
[data-tooltip]::after {
|
164
|
-
transform-origin: center bottom;
|
165
|
-
}
|
166
|
-
[data-tooltip]:hover::before,
|
167
|
-
[data-tooltip]:hover::after {
|
168
|
-
visibility: visible;
|
169
|
-
pointer-events: auto;
|
170
|
-
opacity: 1;
|
171
|
-
}
|
172
|
-
[data-tooltip]:hover::before {
|
173
|
-
transform: rotate(45deg) scale(1) !important;
|
174
|
-
}
|
175
|
-
|
176
|
-
/* Animation Position */
|
177
|
-
[data-tooltip]::after,
|
178
|
-
[data-tooltip][data-position="top center"]::after,
|
179
|
-
[data-tooltip][data-position="bottom center"]::after {
|
180
|
-
transform: translateX(-50%) scale(0) !important;
|
181
|
-
}
|
182
|
-
[data-tooltip]:hover::after,
|
183
|
-
[data-tooltip][data-position="bottom center"]:hover::after {
|
184
|
-
transform: translateX(-50%) scale(1) !important;
|
185
|
-
}
|
186
|
-
[data-tooltip][data-position="left center"]::after,
|
187
|
-
[data-tooltip][data-position="right center"]::after {
|
188
|
-
transform: translateY(-50%) scale(0) !important;
|
189
|
-
}
|
190
|
-
[data-tooltip][data-position="left center"]:hover::after,
|
191
|
-
[data-tooltip][data-position="right center"]:hover::after {
|
192
|
-
transform: translateY(-50%) scale(1) !important;
|
193
|
-
-moz-transform: translateY(-50%) scale(1.0001) !important;
|
194
|
-
}
|
195
|
-
[data-tooltip][data-position="top left"]::after,
|
196
|
-
[data-tooltip][data-position="top right"]::after,
|
197
|
-
[data-tooltip][data-position="bottom left"]::after,
|
198
|
-
[data-tooltip][data-position="bottom right"]::after {
|
199
|
-
transform: scale(0) !important;
|
200
|
-
}
|
201
|
-
[data-tooltip][data-position="top left"]:hover::after,
|
202
|
-
[data-tooltip][data-position="top right"]:hover::after,
|
203
|
-
[data-tooltip][data-position="bottom left"]:hover::after,
|
204
|
-
[data-tooltip][data-position="bottom right"]:hover::after {
|
205
|
-
transform: scale(1) !important;
|
206
|
-
}
|
207
|
-
& when (@variationPopupFixed) {
|
208
|
-
[data-tooltip][data-variation~="fixed"]::after {
|
209
|
-
white-space: normal;
|
210
|
-
width: @maxWidth;
|
211
|
-
}
|
212
|
-
[data-tooltip][data-variation*="wide fixed"]::after {
|
213
|
-
width: @wideWidth;
|
214
|
-
}
|
215
|
-
[data-tooltip][data-variation*="very wide fixed"]::after {
|
216
|
-
width: @veryWideWidth;
|
217
|
-
}
|
218
|
-
@media only screen and (max-width: @largestMobileScreen) {
|
219
|
-
[data-tooltip][data-variation~="fixed"]::after {
|
220
|
-
width: @maxWidth;
|
221
|
-
}
|
222
|
-
}
|
223
|
-
}
|
224
|
-
& when (@variationPopupInverted) {
|
225
|
-
/*--------------
|
226
|
-
Inverted
|
227
|
-
---------------*/
|
72
|
+
/*******************************
|
73
|
+
Types
|
74
|
+
*******************************/
|
228
75
|
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
76
|
+
& when (@variationPopupTooltip) {
|
77
|
+
/* --------------
|
78
|
+
Tooltip
|
79
|
+
--------------- */
|
233
80
|
|
234
|
-
/*
|
235
|
-
[data-tooltip]
|
236
|
-
|
81
|
+
/* Content */
|
82
|
+
[data-tooltip] {
|
83
|
+
position: relative;
|
237
84
|
}
|
238
85
|
|
239
|
-
/*
|
240
|
-
[data-tooltip]
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
86
|
+
/* Arrow */
|
87
|
+
[data-tooltip]::before {
|
88
|
+
pointer-events: none;
|
89
|
+
position: absolute;
|
90
|
+
content: '';
|
91
|
+
font-size: @medium;
|
92
|
+
width: @arrowSize;
|
93
|
+
height: @arrowSize;
|
94
|
+
|
95
|
+
background: @tooltipArrowBackground;
|
96
|
+
transform: rotate(45deg);
|
97
|
+
|
98
|
+
z-index: @arrowZIndex;
|
99
|
+
box-shadow: @tooltipArrowBoxShadow;
|
100
|
+
}
|
101
|
+
|
102
|
+
/* Popup */
|
103
|
+
[data-tooltip]::after {
|
104
|
+
pointer-events: none;
|
105
|
+
content: attr(data-tooltip);
|
106
|
+
position: absolute;
|
107
|
+
text-transform: none;
|
108
|
+
text-align: left;
|
109
|
+
text-shadow: none;
|
110
|
+
white-space: nowrap;
|
111
|
+
|
112
|
+
font-size: @tooltipFontSize;
|
113
|
+
|
114
|
+
border: @tooltipBorder;
|
115
|
+
line-height: @tooltipLineHeight;
|
116
|
+
max-width: @tooltipMaxWidth;
|
117
|
+
background: @tooltipBackground;
|
118
|
+
|
119
|
+
padding: @tooltipPadding;
|
120
|
+
font-weight: @tooltipFontWeight;
|
121
|
+
font-style: @tooltipFontStyle;
|
122
|
+
color: @tooltipColor;
|
123
|
+
|
124
|
+
border-radius: @tooltipBorderRadius;
|
125
|
+
box-shadow: @tooltipBoxShadow;
|
126
|
+
z-index: @tooltipZIndex;
|
127
|
+
}
|
128
|
+
|
129
|
+
/* Default Position (Top Center) */
|
130
|
+
[data-tooltip]:not([data-position])::before {
|
131
|
+
top: auto;
|
132
|
+
right: auto;
|
133
|
+
bottom: 100%;
|
134
|
+
left: 50%;
|
135
|
+
background: @tooltipArrowBottomBackground;
|
136
|
+
margin-left: @tooltipArrowHorizontalOffset;
|
137
|
+
margin-bottom: -@tooltipArrowVerticalOffset;
|
138
|
+
}
|
139
|
+
[data-tooltip]:not([data-position])::after {
|
140
|
+
left: 50%;
|
141
|
+
transform: translateX(-50%);
|
142
|
+
bottom: 100%;
|
143
|
+
margin-bottom: @tooltipDistanceAway;
|
144
|
+
}
|
145
|
+
|
146
|
+
/* Animation */
|
147
|
+
[data-tooltip]::before,
|
148
|
+
[data-tooltip]::after {
|
149
|
+
pointer-events: none;
|
150
|
+
visibility: hidden;
|
151
|
+
opacity: 0;
|
152
|
+
transition:
|
153
|
+
transform @tooltipDuration @tooltipEasing,
|
154
|
+
opacity @tooltipDuration @tooltipEasing;
|
245
155
|
}
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
/*--------------
|
250
|
-
Position
|
251
|
-
---------------*/
|
252
|
-
& when (@variationPopupTop) {
|
253
|
-
[data-position~="top"][data-tooltip]::before {
|
254
|
-
background: @arrowBottomBackground;
|
255
|
-
}
|
256
|
-
& when (@variationPopupCenter) {
|
257
|
-
/* Top Center */
|
258
|
-
[data-position="top center"][data-tooltip]::after {
|
259
|
-
top: auto;
|
260
|
-
right: auto;
|
261
|
-
left: 50%;
|
262
|
-
bottom: 100%;
|
263
|
-
transform: translateX(-50%);
|
264
|
-
margin-bottom: @tooltipDistanceAway;
|
265
|
-
}
|
266
|
-
[data-position="top center"][data-tooltip]::before {
|
267
|
-
top: auto;
|
268
|
-
right: auto;
|
269
|
-
bottom: 100%;
|
270
|
-
left: 50%;
|
271
|
-
background: @tooltipArrowTopBackground;
|
272
|
-
margin-left: @tooltipArrowHorizontalOffset;
|
273
|
-
margin-bottom: -@tooltipArrowVerticalOffset;
|
274
|
-
}
|
275
|
-
}
|
276
|
-
& when (@variationPopupLeft) {
|
277
|
-
/* Top Left */
|
278
|
-
[data-position="top left"][data-tooltip]::after {
|
279
|
-
top: auto;
|
280
|
-
right: auto;
|
281
|
-
left: 0;
|
282
|
-
bottom: 100%;
|
283
|
-
margin-bottom: @tooltipDistanceAway;
|
284
|
-
}
|
285
|
-
[data-position="top left"][data-tooltip]::before {
|
286
|
-
top: auto;
|
287
|
-
right: auto;
|
288
|
-
bottom: 100%;
|
289
|
-
left: @arrowDistanceFromEdge;
|
290
|
-
margin-left: @tooltipArrowHorizontalOffset;
|
291
|
-
margin-bottom: -@tooltipArrowVerticalOffset;
|
292
|
-
}
|
293
|
-
}
|
294
|
-
& when (@variationPopupRight) {
|
295
|
-
/* Top Right */
|
296
|
-
[data-position="top right"][data-tooltip]::after {
|
297
|
-
top: auto;
|
298
|
-
left: auto;
|
299
|
-
right: 0;
|
300
|
-
bottom: 100%;
|
301
|
-
margin-bottom: @tooltipDistanceAway;
|
302
|
-
}
|
303
|
-
[data-position="top right"][data-tooltip]::before {
|
304
|
-
top: auto;
|
305
|
-
left: auto;
|
306
|
-
bottom: 100%;
|
307
|
-
right: @arrowDistanceFromEdge;
|
308
|
-
margin-left: @tooltipArrowHorizontalOffset;
|
309
|
-
margin-bottom: -@tooltipArrowVerticalOffset;
|
310
|
-
}
|
311
|
-
}
|
156
|
+
[data-tooltip]::before {
|
157
|
+
transform: rotate(45deg) scale(0) !important;
|
158
|
+
transform-origin: center top;
|
312
159
|
}
|
313
|
-
|
314
|
-
|
315
|
-
[data-position~="bottom"][data-tooltip]::before {
|
316
|
-
background: @arrowTopBackground;
|
317
|
-
box-shadow: @bottomArrowBoxShadow;
|
318
|
-
}
|
319
|
-
& when (@variationPopupCenter) {
|
320
|
-
/* Bottom Center */
|
321
|
-
[data-position="bottom center"][data-tooltip]::after {
|
322
|
-
bottom: auto;
|
323
|
-
right: auto;
|
324
|
-
left: 50%;
|
325
|
-
top: 100%;
|
326
|
-
transform: translateX(-50%);
|
327
|
-
margin-top: @tooltipDistanceAway;
|
328
|
-
}
|
329
|
-
[data-position="bottom center"][data-tooltip]::before {
|
330
|
-
bottom: auto;
|
331
|
-
right: auto;
|
332
|
-
top: 100%;
|
333
|
-
left: 50%;
|
334
|
-
margin-left: @tooltipArrowHorizontalOffset;
|
335
|
-
margin-top: -@arrowOffset;
|
336
|
-
}
|
337
|
-
}
|
338
|
-
& when (@variationPopupLeft) {
|
339
|
-
/* Bottom Left */
|
340
|
-
[data-position="bottom left"][data-tooltip]::after {
|
341
|
-
left: 0;
|
342
|
-
top: 100%;
|
343
|
-
margin-top: @tooltipDistanceAway;
|
344
|
-
}
|
345
|
-
[data-position="bottom left"][data-tooltip]::before {
|
346
|
-
bottom: auto;
|
347
|
-
right: auto;
|
348
|
-
top: 100%;
|
349
|
-
left: @arrowDistanceFromEdge;
|
350
|
-
margin-left: @tooltipArrowHorizontalOffset;
|
351
|
-
margin-top: -@tooltipArrowVerticalOffset;
|
352
|
-
}
|
353
|
-
}
|
354
|
-
& when (@variationPopupRight) {
|
355
|
-
/* Bottom Right */
|
356
|
-
[data-position="bottom right"][data-tooltip]::after {
|
357
|
-
right: 0;
|
358
|
-
top: 100%;
|
359
|
-
margin-top: @tooltipDistanceAway;
|
360
|
-
}
|
361
|
-
[data-position="bottom right"][data-tooltip]::before {
|
362
|
-
bottom: auto;
|
363
|
-
left: auto;
|
364
|
-
top: 100%;
|
365
|
-
right: @arrowDistanceFromEdge;
|
366
|
-
margin-left: @tooltipArrowVerticalOffset;
|
367
|
-
margin-top: -@tooltipArrowHorizontalOffset;
|
368
|
-
}
|
369
|
-
}
|
160
|
+
[data-tooltip]::after {
|
161
|
+
transform-origin: center bottom;
|
370
162
|
}
|
371
|
-
|
372
|
-
|
373
|
-
|
374
|
-
|
375
|
-
|
376
|
-
|
377
|
-
|
378
|
-
|
379
|
-
|
380
|
-
|
381
|
-
|
382
|
-
|
383
|
-
|
384
|
-
|
385
|
-
|
386
|
-
|
387
|
-
|
388
|
-
|
389
|
-
|
390
|
-
|
391
|
-
|
392
|
-
|
393
|
-
|
394
|
-
|
395
|
-
|
396
|
-
|
397
|
-
|
398
|
-
|
399
|
-
|
400
|
-
|
401
|
-
|
402
|
-
|
403
|
-
|
404
|
-
|
405
|
-
|
163
|
+
[data-tooltip]:hover::before,
|
164
|
+
[data-tooltip]:hover::after {
|
165
|
+
visibility: visible;
|
166
|
+
pointer-events: auto;
|
167
|
+
opacity: 1;
|
168
|
+
}
|
169
|
+
[data-tooltip]:hover::before {
|
170
|
+
transform: rotate(45deg) scale(1) !important;
|
171
|
+
}
|
172
|
+
|
173
|
+
/* Animation Position */
|
174
|
+
[data-tooltip]::after,
|
175
|
+
[data-tooltip][data-position="top center"]::after,
|
176
|
+
[data-tooltip][data-position="bottom center"]::after {
|
177
|
+
transform: translateX(-50%) scale(0) !important;
|
178
|
+
}
|
179
|
+
[data-tooltip]:hover::after,
|
180
|
+
[data-tooltip][data-position="bottom center"]:hover::after {
|
181
|
+
transform: translateX(-50%) scale(1) !important;
|
182
|
+
}
|
183
|
+
[data-tooltip][data-position="left center"]::after,
|
184
|
+
[data-tooltip][data-position="right center"]::after {
|
185
|
+
transform: translateY(-50%) scale(0) !important;
|
186
|
+
}
|
187
|
+
[data-tooltip][data-position="left center"]:hover::after,
|
188
|
+
[data-tooltip][data-position="right center"]:hover::after {
|
189
|
+
transform: translateY(-50%) scale(1) !important;
|
190
|
+
-moz-transform: translateY(-50%) scale(1.0001) !important;
|
191
|
+
}
|
192
|
+
[data-tooltip][data-position="top left"]::after,
|
193
|
+
[data-tooltip][data-position="top right"]::after,
|
194
|
+
[data-tooltip][data-position="bottom left"]::after,
|
195
|
+
[data-tooltip][data-position="bottom right"]::after {
|
196
|
+
transform: scale(0) !important;
|
197
|
+
}
|
198
|
+
[data-tooltip][data-position="top left"]:hover::after,
|
199
|
+
[data-tooltip][data-position="top right"]:hover::after,
|
200
|
+
[data-tooltip][data-position="bottom left"]:hover::after,
|
201
|
+
[data-tooltip][data-position="bottom right"]:hover::after {
|
202
|
+
transform: scale(1) !important;
|
203
|
+
}
|
204
|
+
& when (@variationPopupFixed) {
|
205
|
+
[data-tooltip][data-variation~="fixed"]::after {
|
206
|
+
white-space: normal;
|
207
|
+
width: @maxWidth;
|
208
|
+
}
|
209
|
+
[data-tooltip][data-variation*="wide fixed"]::after {
|
210
|
+
width: @wideWidth;
|
211
|
+
}
|
212
|
+
[data-tooltip][data-variation*="very wide fixed"]::after {
|
213
|
+
width: @veryWideWidth;
|
214
|
+
}
|
215
|
+
@media only screen and (max-width: @largestMobileScreen) {
|
216
|
+
[data-tooltip][data-variation~="fixed"]::after {
|
217
|
+
width: @maxWidth;
|
218
|
+
}
|
219
|
+
}
|
406
220
|
}
|
407
|
-
|
408
221
|
& when (@variationPopupInverted) {
|
409
|
-
|
410
|
-
|
411
|
-
|
412
|
-
|
413
|
-
|
414
|
-
|
415
|
-
|
416
|
-
& when (@variationPopupCenter) {
|
417
|
-
& when (@variationPopupLeft) {
|
418
|
-
[data-inverted][data-position="left center"][data-tooltip]::before {
|
419
|
-
background: @invertedArrowCenterBackground;
|
420
|
-
box-shadow: @leftArrowBoxShadow;
|
421
|
-
}
|
222
|
+
/* --------------
|
223
|
+
Inverted
|
224
|
+
--------------- */
|
225
|
+
|
226
|
+
/* Arrow */
|
227
|
+
[data-tooltip][data-inverted]::before {
|
228
|
+
box-shadow: none !important;
|
422
229
|
}
|
423
|
-
|
424
|
-
|
425
|
-
|
426
|
-
|
427
|
-
}
|
230
|
+
|
231
|
+
/* Arrow Position */
|
232
|
+
[data-tooltip][data-inverted]::before {
|
233
|
+
background: @invertedArrowBottomBackground;
|
428
234
|
}
|
429
|
-
|
430
|
-
|
431
|
-
[data-
|
432
|
-
|
235
|
+
|
236
|
+
/* Popup */
|
237
|
+
[data-tooltip][data-inverted]::after {
|
238
|
+
background: @tooltipInvertedBackground;
|
239
|
+
color: @tooltipInvertedColor;
|
240
|
+
border: @tooltipInvertedBorder;
|
241
|
+
box-shadow: @tooltipInvertedBoxShadow;
|
433
242
|
}
|
434
|
-
}
|
435
243
|
}
|
436
244
|
|
437
|
-
& when (@
|
438
|
-
|
439
|
-
|
440
|
-
|
441
|
-
|
442
|
-
|
443
|
-
|
444
|
-
|
445
|
-
|
446
|
-
|
447
|
-
|
448
|
-
|
245
|
+
& when (@variationPopupPosition) {
|
246
|
+
/* --------------
|
247
|
+
Position
|
248
|
+
--------------- */
|
249
|
+
& when (@variationPopupTop) {
|
250
|
+
[data-position~="top"][data-tooltip]::before {
|
251
|
+
background: @arrowBottomBackground;
|
252
|
+
}
|
253
|
+
& when (@variationPopupCenter) {
|
254
|
+
/* Top Center */
|
255
|
+
[data-position="top center"][data-tooltip]::after {
|
256
|
+
top: auto;
|
257
|
+
right: auto;
|
258
|
+
left: 50%;
|
259
|
+
bottom: 100%;
|
260
|
+
transform: translateX(-50%);
|
261
|
+
margin-bottom: @tooltipDistanceAway;
|
262
|
+
}
|
263
|
+
[data-position="top center"][data-tooltip]::before {
|
264
|
+
top: auto;
|
265
|
+
right: auto;
|
266
|
+
bottom: 100%;
|
267
|
+
left: 50%;
|
268
|
+
background: @tooltipArrowTopBackground;
|
269
|
+
margin-left: @tooltipArrowHorizontalOffset;
|
270
|
+
margin-bottom: -@tooltipArrowVerticalOffset;
|
271
|
+
}
|
272
|
+
}
|
273
|
+
& when (@variationPopupLeft) {
|
274
|
+
/* Top Left */
|
275
|
+
[data-position="top left"][data-tooltip]::after {
|
276
|
+
top: auto;
|
277
|
+
right: auto;
|
278
|
+
left: 0;
|
279
|
+
bottom: 100%;
|
280
|
+
margin-bottom: @tooltipDistanceAway;
|
281
|
+
}
|
282
|
+
[data-position="top left"][data-tooltip]::before {
|
283
|
+
top: auto;
|
284
|
+
right: auto;
|
285
|
+
bottom: 100%;
|
286
|
+
left: @arrowDistanceFromEdge;
|
287
|
+
margin-left: @tooltipArrowHorizontalOffset;
|
288
|
+
margin-bottom: -@tooltipArrowVerticalOffset;
|
289
|
+
}
|
290
|
+
}
|
291
|
+
& when (@variationPopupRight) {
|
292
|
+
/* Top Right */
|
293
|
+
[data-position="top right"][data-tooltip]::after {
|
294
|
+
top: auto;
|
295
|
+
left: auto;
|
296
|
+
right: 0;
|
297
|
+
bottom: 100%;
|
298
|
+
margin-bottom: @tooltipDistanceAway;
|
299
|
+
}
|
300
|
+
[data-position="top right"][data-tooltip]::before {
|
301
|
+
top: auto;
|
302
|
+
left: auto;
|
303
|
+
bottom: 100%;
|
304
|
+
right: @arrowDistanceFromEdge;
|
305
|
+
margin-left: @tooltipArrowHorizontalOffset;
|
306
|
+
margin-bottom: -@tooltipArrowVerticalOffset;
|
307
|
+
}
|
308
|
+
}
|
309
|
+
}
|
310
|
+
|
311
|
+
& when (@variationPopupBottom) {
|
312
|
+
[data-position~="bottom"][data-tooltip]::before {
|
313
|
+
background: @arrowTopBackground;
|
314
|
+
box-shadow: @bottomArrowBoxShadow;
|
315
|
+
}
|
316
|
+
& when (@variationPopupCenter) {
|
317
|
+
/* Bottom Center */
|
318
|
+
[data-position="bottom center"][data-tooltip]::after {
|
319
|
+
bottom: auto;
|
320
|
+
right: auto;
|
321
|
+
left: 50%;
|
322
|
+
top: 100%;
|
323
|
+
transform: translateX(-50%);
|
324
|
+
margin-top: @tooltipDistanceAway;
|
325
|
+
}
|
326
|
+
[data-position="bottom center"][data-tooltip]::before {
|
327
|
+
bottom: auto;
|
328
|
+
right: auto;
|
329
|
+
top: 100%;
|
330
|
+
left: 50%;
|
331
|
+
margin-left: @tooltipArrowHorizontalOffset;
|
332
|
+
margin-top: -@arrowOffset;
|
333
|
+
}
|
334
|
+
}
|
335
|
+
& when (@variationPopupLeft) {
|
336
|
+
/* Bottom Left */
|
337
|
+
[data-position="bottom left"][data-tooltip]::after {
|
338
|
+
left: 0;
|
339
|
+
top: 100%;
|
340
|
+
margin-top: @tooltipDistanceAway;
|
341
|
+
}
|
342
|
+
[data-position="bottom left"][data-tooltip]::before {
|
343
|
+
bottom: auto;
|
344
|
+
right: auto;
|
345
|
+
top: 100%;
|
346
|
+
left: @arrowDistanceFromEdge;
|
347
|
+
margin-left: @tooltipArrowHorizontalOffset;
|
348
|
+
margin-top: -@tooltipArrowVerticalOffset;
|
349
|
+
}
|
350
|
+
}
|
351
|
+
& when (@variationPopupRight) {
|
352
|
+
/* Bottom Right */
|
353
|
+
[data-position="bottom right"][data-tooltip]::after {
|
354
|
+
right: 0;
|
355
|
+
top: 100%;
|
356
|
+
margin-top: @tooltipDistanceAway;
|
357
|
+
}
|
358
|
+
[data-position="bottom right"][data-tooltip]::before {
|
359
|
+
bottom: auto;
|
360
|
+
left: auto;
|
361
|
+
top: 100%;
|
362
|
+
right: @arrowDistanceFromEdge;
|
363
|
+
margin-left: @tooltipArrowVerticalOffset;
|
364
|
+
margin-top: -@tooltipArrowHorizontalOffset;
|
365
|
+
}
|
366
|
+
}
|
449
367
|
}
|
450
|
-
|
451
|
-
|
452
|
-
|
453
|
-
|
368
|
+
& when (@variationPopupCenter) {
|
369
|
+
& when (@variationPopupLeft) {
|
370
|
+
/* Left Center */
|
371
|
+
[data-position="left center"][data-tooltip]::after {
|
372
|
+
right: 100%;
|
373
|
+
top: 50%;
|
374
|
+
margin-right: @tooltipDistanceAway;
|
375
|
+
transform: translateY(-50%);
|
376
|
+
}
|
377
|
+
[data-position="left center"][data-tooltip]::before {
|
378
|
+
right: 100%;
|
379
|
+
top: 50%;
|
380
|
+
margin-top: @tooltipArrowVerticalOffset;
|
381
|
+
margin-right: @tooltipArrowHorizontalOffset;
|
382
|
+
background: @arrowCenterBackground;
|
383
|
+
box-shadow: @leftArrowBoxShadow;
|
384
|
+
}
|
385
|
+
}
|
386
|
+
& when (@variationPopupRight) {
|
387
|
+
/* Right Center */
|
388
|
+
[data-position="right center"][data-tooltip]::after {
|
389
|
+
left: 100%;
|
390
|
+
top: 50%;
|
391
|
+
margin-left: @tooltipDistanceAway;
|
392
|
+
transform: translateY(-50%);
|
393
|
+
}
|
394
|
+
[data-position="right center"][data-tooltip]::before {
|
395
|
+
left: 100%;
|
396
|
+
top: 50%;
|
397
|
+
margin-top: @tooltipArrowHorizontalOffset;
|
398
|
+
margin-left: -@tooltipArrowVerticalOffset;
|
399
|
+
background: @arrowCenterBackground;
|
400
|
+
box-shadow: @rightArrowBoxShadow;
|
401
|
+
}
|
402
|
+
}
|
454
403
|
}
|
455
|
-
|
456
|
-
|
404
|
+
|
405
|
+
& when (@variationPopupInverted) {
|
406
|
+
/* Inverted Arrow Color */
|
407
|
+
& when (@variationPopupBottom) {
|
408
|
+
[data-inverted][data-position~="bottom"][data-tooltip]::before {
|
409
|
+
background: @invertedArrowTopBackground;
|
410
|
+
box-shadow: @bottomArrowBoxShadow;
|
411
|
+
}
|
412
|
+
}
|
413
|
+
& when (@variationPopupCenter) {
|
414
|
+
& when (@variationPopupLeft) {
|
415
|
+
[data-inverted][data-position="left center"][data-tooltip]::before {
|
416
|
+
background: @invertedArrowCenterBackground;
|
417
|
+
box-shadow: @leftArrowBoxShadow;
|
418
|
+
}
|
419
|
+
}
|
420
|
+
& when (@variationPopupRight) {
|
421
|
+
[data-inverted][data-position="right center"][data-tooltip]::before {
|
422
|
+
background: @invertedArrowCenterBackground;
|
423
|
+
box-shadow: @rightArrowBoxShadow;
|
424
|
+
}
|
425
|
+
}
|
426
|
+
}
|
427
|
+
& when (@variationPopupTop) {
|
428
|
+
[data-inverted][data-position~="top"][data-tooltip]::before {
|
429
|
+
background: @invertedArrowBottomBackground;
|
430
|
+
}
|
431
|
+
}
|
457
432
|
}
|
458
|
-
|
459
|
-
|
460
|
-
|
461
|
-
|
433
|
+
|
434
|
+
& when (@variationPopupBottom) {
|
435
|
+
[data-position~="bottom"][data-tooltip]::before {
|
436
|
+
transform-origin: center bottom;
|
437
|
+
}
|
438
|
+
[data-position~="bottom"][data-tooltip]::after {
|
439
|
+
transform-origin: center top;
|
440
|
+
}
|
462
441
|
}
|
463
|
-
|
464
|
-
|
442
|
+
& when (@variationPopupCenter) {
|
443
|
+
& when (@variationPopupBottom) {
|
444
|
+
[data-position="bottom center"][data-tooltip]::before {
|
445
|
+
transform-origin: center top;
|
446
|
+
}
|
447
|
+
}
|
448
|
+
& when (@variationPopupLeft) {
|
449
|
+
[data-position="left center"][data-tooltip]::before {
|
450
|
+
transform-origin: top center;
|
451
|
+
}
|
452
|
+
[data-position="left center"][data-tooltip]::after {
|
453
|
+
transform-origin: right center;
|
454
|
+
}
|
455
|
+
}
|
456
|
+
& when (@variationPopupRight) {
|
457
|
+
[data-position="right center"][data-tooltip]::before {
|
458
|
+
transform-origin: right center;
|
459
|
+
}
|
460
|
+
[data-position="right center"][data-tooltip]::after {
|
461
|
+
transform-origin: left center;
|
462
|
+
}
|
463
|
+
}
|
465
464
|
}
|
466
|
-
}
|
467
465
|
}
|
468
|
-
}
|
469
466
|
|
470
|
-
|
471
|
-
|
472
|
-
|
473
|
-
|
474
|
-
|
475
|
-
|
467
|
+
& when (@variationPopupBasic) {
|
468
|
+
/* --------------
|
469
|
+
Basic
|
470
|
+
--------------- */
|
471
|
+
[data-tooltip][data-variation~="basic"]::before {
|
472
|
+
display: none;
|
473
|
+
}
|
476
474
|
}
|
477
|
-
}
|
478
475
|
|
479
|
-
|
480
|
-
|
481
|
-
|
476
|
+
& when (@variationPopupMultiline) {
|
477
|
+
[data-tooltip][data-variation~="multiline"]::after {
|
478
|
+
white-space: @multilineWhiteSpace;
|
479
|
+
}
|
482
480
|
}
|
483
|
-
}
|
484
481
|
}
|
485
482
|
|
486
|
-
|
483
|
+
/* --------------
|
487
484
|
Spacing
|
488
|
-
|
485
|
+
--------------- */
|
489
486
|
|
490
487
|
.ui.popup {
|
491
|
-
|
488
|
+
margin: 0;
|
492
489
|
}
|
493
490
|
|
494
491
|
& when (@variationPopupTop) {
|
495
|
-
|
496
|
-
|
497
|
-
|
498
|
-
|
499
|
-
|
500
|
-
|
501
|
-
|
502
|
-
|
503
|
-
|
504
|
-
|
505
|
-
|
506
|
-
|
507
|
-
|
508
|
-
|
509
|
-
|
510
|
-
|
511
|
-
|
512
|
-
|
513
|
-
|
492
|
+
/* Extending from Top */
|
493
|
+
.ui.top.popup {
|
494
|
+
margin: 0 0 @popupDistanceAway;
|
495
|
+
}
|
496
|
+
& when (@variationPopupLeft) {
|
497
|
+
.ui.top.left.popup {
|
498
|
+
transform-origin: left bottom;
|
499
|
+
}
|
500
|
+
}
|
501
|
+
& when (@variationPopupCenter) {
|
502
|
+
.ui.top.center.popup {
|
503
|
+
transform-origin: center bottom;
|
504
|
+
}
|
505
|
+
}
|
506
|
+
& when (@variationPopupRight) {
|
507
|
+
.ui.top.right.popup {
|
508
|
+
transform-origin: right bottom;
|
509
|
+
}
|
510
|
+
}
|
514
511
|
}
|
515
512
|
|
516
513
|
& when (@variationPopupCenter) {
|
517
|
-
|
518
|
-
|
519
|
-
|
520
|
-
|
521
|
-
|
522
|
-
|
523
|
-
|
524
|
-
|
525
|
-
|
526
|
-
|
527
|
-
|
528
|
-
|
529
|
-
|
514
|
+
/* Extending from Vertical Center */
|
515
|
+
& when (@variationPopupLeft) {
|
516
|
+
.ui.left.center.popup {
|
517
|
+
margin: 0 @popupDistanceAway 0 0;
|
518
|
+
transform-origin: right 50%;
|
519
|
+
}
|
520
|
+
}
|
521
|
+
& when (@variationPopupRight) {
|
522
|
+
.ui.right.center.popup {
|
523
|
+
margin: 0 0 0 @popupDistanceAway;
|
524
|
+
transform-origin: left 50%;
|
525
|
+
}
|
526
|
+
}
|
530
527
|
}
|
531
528
|
|
532
529
|
& when (@variationPopupBottom) {
|
533
|
-
|
534
|
-
|
535
|
-
|
536
|
-
|
537
|
-
|
530
|
+
/* Extending from Bottom */
|
531
|
+
.ui.bottom.popup {
|
532
|
+
margin: @popupDistanceAway 0 0;
|
533
|
+
}
|
534
|
+
& when (@variationPopupLeft) {
|
535
|
+
.ui.bottom.left.popup {
|
536
|
+
transform-origin: left top;
|
537
|
+
}
|
538
|
+
}
|
539
|
+
& when (@variationPopupCenter) {
|
540
|
+
.ui.bottom.center.popup {
|
541
|
+
transform-origin: center top;
|
542
|
+
}
|
543
|
+
}
|
544
|
+
& when (@variationPopupRight) {
|
545
|
+
.ui.bottom.right.popup {
|
546
|
+
transform-origin: right top;
|
547
|
+
}
|
548
|
+
}
|
549
|
+
|
550
|
+
/* --------------
|
551
|
+
Pointer
|
552
|
+
--------------- */
|
553
|
+
|
554
|
+
/* --- Below --- */
|
555
|
+
.ui.bottom.center.popup::before {
|
556
|
+
margin-left: @arrowOffset;
|
557
|
+
top: @arrowOffset;
|
558
|
+
left: 50%;
|
559
|
+
right: auto;
|
560
|
+
bottom: auto;
|
561
|
+
box-shadow: @bottomArrowBoxShadow;
|
562
|
+
}
|
563
|
+
|
538
564
|
.ui.bottom.left.popup {
|
539
|
-
|
565
|
+
margin-left: @boxArrowOffset;
|
540
566
|
}
|
541
|
-
|
542
|
-
|
543
|
-
.ui.bottom.
|
544
|
-
|
567
|
+
|
568
|
+
/* rtl:rename */
|
569
|
+
.ui.bottom.left.popup::before {
|
570
|
+
top: @arrowOffset;
|
571
|
+
left: @arrowDistanceFromEdge;
|
572
|
+
right: auto;
|
573
|
+
bottom: auto;
|
574
|
+
margin-left: 0;
|
575
|
+
box-shadow: @bottomArrowBoxShadow;
|
545
576
|
}
|
546
|
-
|
547
|
-
& when (@variationPopupRight) {
|
577
|
+
|
548
578
|
.ui.bottom.right.popup {
|
549
|
-
|
550
|
-
}
|
551
|
-
|
552
|
-
|
553
|
-
|
554
|
-
|
555
|
-
|
556
|
-
|
557
|
-
|
558
|
-
|
559
|
-
|
560
|
-
|
561
|
-
left: 50%;
|
562
|
-
right: auto;
|
563
|
-
bottom: auto;
|
564
|
-
box-shadow: @bottomArrowBoxShadow;
|
565
|
-
}
|
566
|
-
|
567
|
-
.ui.bottom.left.popup {
|
568
|
-
margin-left: @boxArrowOffset;
|
569
|
-
}
|
570
|
-
/*rtl:rename*/
|
571
|
-
.ui.bottom.left.popup::before {
|
572
|
-
top: @arrowOffset;
|
573
|
-
left: @arrowDistanceFromEdge;
|
574
|
-
right: auto;
|
575
|
-
bottom: auto;
|
576
|
-
margin-left: 0;
|
577
|
-
box-shadow: @bottomArrowBoxShadow;
|
578
|
-
}
|
579
|
-
|
580
|
-
.ui.bottom.right.popup {
|
581
|
-
margin-right: @boxArrowOffset;
|
582
|
-
}
|
583
|
-
/*rtl:rename*/
|
584
|
-
.ui.bottom.right.popup::before {
|
585
|
-
top: @arrowOffset;
|
586
|
-
right: @arrowDistanceFromEdge;
|
587
|
-
bottom: auto;
|
588
|
-
left: auto;
|
589
|
-
margin-left: 0;
|
590
|
-
box-shadow: @bottomArrowBoxShadow;
|
591
|
-
}
|
579
|
+
margin-right: @boxArrowOffset;
|
580
|
+
}
|
581
|
+
|
582
|
+
/* rtl:rename */
|
583
|
+
.ui.bottom.right.popup::before {
|
584
|
+
top: @arrowOffset;
|
585
|
+
right: @arrowDistanceFromEdge;
|
586
|
+
bottom: auto;
|
587
|
+
left: auto;
|
588
|
+
margin-left: 0;
|
589
|
+
box-shadow: @bottomArrowBoxShadow;
|
590
|
+
}
|
592
591
|
}
|
593
592
|
|
594
593
|
& when (@variationPopupTop) {
|
595
|
-
|
596
|
-
|
597
|
-
|
598
|
-
|
599
|
-
|
600
|
-
|
601
|
-
|
602
|
-
|
603
|
-
|
604
|
-
|
605
|
-
|
606
|
-
|
607
|
-
|
608
|
-
|
609
|
-
|
610
|
-
|
611
|
-
|
612
|
-
|
613
|
-
|
614
|
-
|
615
|
-
|
616
|
-
|
617
|
-
|
618
|
-
|
619
|
-
|
620
|
-
|
621
|
-
|
622
|
-
|
623
|
-
|
624
|
-
|
625
|
-
|
626
|
-
|
627
|
-
|
628
|
-
|
629
|
-
|
630
|
-
|
594
|
+
/* --- Above --- */
|
595
|
+
& when (@variationPopupCenter) {
|
596
|
+
.ui.top.center.popup::before {
|
597
|
+
top: auto;
|
598
|
+
right: auto;
|
599
|
+
bottom: @arrowOffset;
|
600
|
+
left: 50%;
|
601
|
+
margin-left: @arrowOffset;
|
602
|
+
}
|
603
|
+
}
|
604
|
+
& when (@variationPopupLeft) {
|
605
|
+
.ui.top.left.popup {
|
606
|
+
margin-left: @boxArrowOffset;
|
607
|
+
}
|
608
|
+
|
609
|
+
/* rtl:rename */
|
610
|
+
.ui.top.left.popup::before {
|
611
|
+
bottom: @arrowOffset;
|
612
|
+
left: @arrowDistanceFromEdge;
|
613
|
+
top: auto;
|
614
|
+
right: auto;
|
615
|
+
margin-left: 0;
|
616
|
+
}
|
617
|
+
}
|
618
|
+
& when (@variationPopupRight) {
|
619
|
+
.ui.top.right.popup {
|
620
|
+
margin-right: @boxArrowOffset;
|
621
|
+
}
|
622
|
+
|
623
|
+
/* rtl:rename */
|
624
|
+
.ui.top.right.popup::before {
|
625
|
+
bottom: @arrowOffset;
|
626
|
+
right: @arrowDistanceFromEdge;
|
627
|
+
top: auto;
|
628
|
+
left: auto;
|
629
|
+
margin-left: 0;
|
630
|
+
}
|
631
|
+
}
|
631
632
|
}
|
632
633
|
|
633
634
|
& when (@variationPopupCenter) {
|
634
|
-
|
635
|
-
|
636
|
-
|
637
|
-
|
638
|
-
|
639
|
-
|
640
|
-
|
641
|
-
|
642
|
-
|
643
|
-
|
644
|
-
|
645
|
-
|
646
|
-
|
647
|
-
|
648
|
-
|
649
|
-
|
650
|
-
|
651
|
-
|
652
|
-
|
653
|
-
|
654
|
-
|
655
|
-
|
656
|
-
|
657
|
-
|
658
|
-
|
659
|
-
|
660
|
-
|
661
|
-
|
662
|
-
|
663
|
-
|
635
|
+
/* --- Left Center --- */
|
636
|
+
|
637
|
+
/* rtl:rename */
|
638
|
+
& when (@variationPopupLeft) {
|
639
|
+
.ui.left.center.popup::before {
|
640
|
+
top: 50%;
|
641
|
+
right: @arrowOffset;
|
642
|
+
bottom: auto;
|
643
|
+
left: auto;
|
644
|
+
margin-top: @arrowOffset;
|
645
|
+
box-shadow: @leftArrowBoxShadow;
|
646
|
+
}
|
647
|
+
}
|
648
|
+
& when (@variationPopupRight) {
|
649
|
+
/* --- Right Center --- */
|
650
|
+
|
651
|
+
/* rtl:rename */
|
652
|
+
.ui.right.center.popup::before {
|
653
|
+
top: 50%;
|
654
|
+
left: @arrowOffset;
|
655
|
+
bottom: auto;
|
656
|
+
right: auto;
|
657
|
+
margin-top: @arrowOffset;
|
658
|
+
box-shadow: @rightArrowBoxShadow;
|
659
|
+
}
|
660
|
+
}
|
661
|
+
& when (@variationPopupLeft) or (@variationPopupRight) {
|
662
|
+
.ui.right.center.popup::before,
|
663
|
+
.ui.left.center.popup::before {
|
664
|
+
background: @arrowCenterBackground;
|
665
|
+
}
|
666
|
+
}
|
664
667
|
}
|
665
668
|
|
666
669
|
& when (@variationPopupBottom) {
|
667
|
-
|
668
|
-
|
669
|
-
|
670
|
-
|
670
|
+
/* Arrow Color By Location */
|
671
|
+
.ui.bottom.popup::before {
|
672
|
+
background: @arrowTopBackground;
|
673
|
+
}
|
671
674
|
}
|
672
675
|
|
673
676
|
& when (@variationPopupTop) {
|
674
|
-
|
675
|
-
|
676
|
-
|
677
|
+
.ui.top.popup::before {
|
678
|
+
background: @arrowBottomBackground;
|
679
|
+
}
|
677
680
|
}
|
678
681
|
|
679
682
|
& when (@variationPopupInverted) {
|
680
|
-
|
681
|
-
|
682
|
-
|
683
|
-
|
684
|
-
|
685
|
-
|
686
|
-
|
687
|
-
|
688
|
-
|
689
|
-
|
690
|
-
|
691
|
-
|
692
|
-
|
693
|
-
|
694
|
-
|
695
|
-
|
696
|
-
|
683
|
+
& when (@variationPopupBottom) {
|
684
|
+
/* Inverted Arrow Color */
|
685
|
+
.ui.inverted.bottom.popup::before {
|
686
|
+
background: @invertedArrowTopBackground;
|
687
|
+
}
|
688
|
+
}
|
689
|
+
& when (@variationPopupCenter) {
|
690
|
+
.ui.inverted.right.center.popup::before,
|
691
|
+
.ui.inverted.left.center.popup::before {
|
692
|
+
background: @invertedArrowCenterBackground;
|
693
|
+
}
|
694
|
+
}
|
695
|
+
& when (@variationPopupTop) {
|
696
|
+
.ui.inverted.top.popup::before {
|
697
|
+
background: @invertedArrowBottomBackground;
|
698
|
+
}
|
699
|
+
}
|
697
700
|
}
|
698
701
|
|
699
|
-
|
700
702
|
/*******************************
|
701
703
|
Coupling
|
702
704
|
*******************************/
|
703
705
|
|
704
706
|
/* Immediate Nested Grid */
|
705
707
|
.ui.popup > .ui.grid:not(.padded) {
|
706
|
-
|
707
|
-
|
708
|
+
width: @nestedGridWidth;
|
709
|
+
margin: @nestedGridMargin;
|
708
710
|
}
|
709
711
|
|
710
712
|
/*******************************
|
711
713
|
States
|
712
714
|
*******************************/
|
713
715
|
& when (@variationPopupLoading) {
|
714
|
-
|
715
|
-
|
716
|
-
|
717
|
-
|
718
|
-
|
716
|
+
.ui.loading.popup {
|
717
|
+
display: block;
|
718
|
+
visibility: hidden;
|
719
|
+
z-index: @loadingZIndex;
|
720
|
+
}
|
719
721
|
}
|
720
722
|
|
721
723
|
.ui.animating.popup,
|
722
724
|
.ui.visible.popup {
|
723
|
-
|
725
|
+
display: block;
|
724
726
|
}
|
725
727
|
|
726
728
|
.ui.visible.popup {
|
727
|
-
|
728
|
-
|
729
|
+
transform: translateZ(0);
|
730
|
+
backface-visibility: hidden;
|
729
731
|
}
|
730
732
|
|
731
|
-
|
732
733
|
/*******************************
|
733
734
|
Variations
|
734
735
|
*******************************/
|
735
736
|
|
736
737
|
& when (@variationPopupBasic) {
|
737
|
-
|
738
|
-
|
739
|
-
|
738
|
+
/* --------------
|
739
|
+
Basic
|
740
|
+
--------------- */
|
740
741
|
|
741
|
-
|
742
|
-
|
743
|
-
|
742
|
+
.ui.basic.popup::before {
|
743
|
+
display: none;
|
744
|
+
}
|
744
745
|
}
|
745
746
|
|
746
747
|
& when (@variationPopupFixed) {
|
747
|
-
|
748
|
-
|
749
|
-
|
748
|
+
.ui.fixed.popup {
|
749
|
+
width: @maxWidth;
|
750
|
+
}
|
750
751
|
}
|
751
752
|
|
752
753
|
& when (@variationPopupWide) {
|
753
|
-
|
754
|
-
|
755
|
-
|
756
|
-
|
757
|
-
|
758
|
-
|
759
|
-
|
760
|
-
|
754
|
+
/* --------------
|
755
|
+
Wide
|
756
|
+
--------------- */
|
757
|
+
|
758
|
+
.ui.wide.popup {
|
759
|
+
max-width: @wideWidth;
|
760
|
+
&.fixed when (@variationPopupFixed) {
|
761
|
+
width: @wideWidth;
|
762
|
+
}
|
761
763
|
}
|
762
|
-
|
763
|
-
|
764
|
-
|
765
|
-
|
766
|
-
|
764
|
+
.ui[class*="very wide"].popup {
|
765
|
+
max-width: @veryWideWidth;
|
766
|
+
&.fixed when (@variationPopupFixed) {
|
767
|
+
width: @veryWideWidth;
|
768
|
+
}
|
767
769
|
}
|
768
|
-
}
|
769
770
|
|
770
|
-
|
771
|
-
|
772
|
-
|
773
|
-
|
774
|
-
|
775
|
-
|
776
|
-
|
771
|
+
@media only screen and (max-width: @largestMobileScreen) {
|
772
|
+
.ui.wide.popup,
|
773
|
+
.ui[class*="very wide"].popup {
|
774
|
+
max-width: @maxWidth;
|
775
|
+
&.fixed when (@variationPopupFixed) {
|
776
|
+
width: @maxWidth;
|
777
|
+
}
|
778
|
+
}
|
777
779
|
}
|
778
|
-
}
|
779
780
|
}
|
780
781
|
|
781
782
|
& when (@variationPopupFluid) {
|
782
|
-
|
783
|
-
|
784
|
-
|
785
|
-
|
786
|
-
|
787
|
-
|
788
|
-
|
789
|
-
|
783
|
+
/* --------------
|
784
|
+
Fluid
|
785
|
+
--------------- */
|
786
|
+
|
787
|
+
.ui.fluid.popup {
|
788
|
+
width: 100%;
|
789
|
+
max-width: none;
|
790
|
+
}
|
790
791
|
}
|
791
792
|
|
792
793
|
& when (@variationPopupInverted) {
|
793
|
-
|
794
|
-
|
795
|
-
|
796
|
-
|
797
|
-
|
798
|
-
|
799
|
-
|
800
|
-
|
801
|
-
|
802
|
-
|
803
|
-
|
804
|
-
|
805
|
-
|
806
|
-
|
807
|
-
|
808
|
-
|
809
|
-
|
810
|
-
|
811
|
-
|
794
|
+
/* --------------
|
795
|
+
Colors
|
796
|
+
--------------- */
|
797
|
+
|
798
|
+
/* Inverted colors */
|
799
|
+
.ui.inverted.popup {
|
800
|
+
background: @invertedBackground;
|
801
|
+
color: @invertedColor;
|
802
|
+
border: @invertedBorder;
|
803
|
+
box-shadow: @invertedBoxShadow;
|
804
|
+
}
|
805
|
+
.ui.inverted.popup .header {
|
806
|
+
background-color: @invertedHeaderBackground;
|
807
|
+
color: @invertedHeaderColor;
|
808
|
+
}
|
809
|
+
.ui.inverted.popup::before {
|
810
|
+
background-color: @invertedArrowColor;
|
811
|
+
box-shadow: none !important;
|
812
|
+
}
|
812
813
|
}
|
813
814
|
|
814
815
|
& when not (@variationPopupColors = false) {
|
815
|
-
|
816
|
-
|
817
|
-
|
818
|
-
|
819
|
-
|
820
|
-
|
821
|
-
|
822
|
-
|
823
|
-
|
824
|
-
|
825
|
-
|
826
|
-
|
827
|
-
|
828
|
-
|
829
|
-
|
830
|
-
|
831
|
-
|
832
|
-
|
833
|
-
|
834
|
-
|
835
|
-
|
836
|
-
|
837
|
-
|
838
|
-
|
839
|
-
|
840
|
-
|
841
|
-
|
842
|
-
|
843
|
-
|
844
|
-
|
845
|
-
|
846
|
-
|
847
|
-
|
848
|
-
|
849
|
-
|
850
|
-
|
851
|
-
|
852
|
-
|
853
|
-
|
854
|
-
|
855
|
-
|
856
|
-
|
857
|
-
|
858
|
-
|
859
|
-
|
860
|
-
|
861
|
-
|
816
|
+
each(@variationPopupColors, {
|
817
|
+
@color: @value;
|
818
|
+
@c: @colors[@@color][color];
|
819
|
+
@l: @colors[@@color][light];
|
820
|
+
|
821
|
+
& when not (@variationPopupTooltip) {
|
822
|
+
.ui.ui.ui.@{color}.popup::before,
|
823
|
+
.ui.@{color}.popup {
|
824
|
+
background: @c;
|
825
|
+
color: @white;
|
826
|
+
border: none;
|
827
|
+
}
|
828
|
+
.ui.ui.ui.@{color}.popup::before {
|
829
|
+
box-shadow: none;
|
830
|
+
}
|
831
|
+
& when (@variationPopupInverted) {
|
832
|
+
.ui.inverted.@{color}.popup::before,
|
833
|
+
.ui.inverted.@{color}.popup {
|
834
|
+
background: @l;
|
835
|
+
color: @black;
|
836
|
+
}
|
837
|
+
}
|
838
|
+
}
|
839
|
+
& when (@variationPopupTooltip) {
|
840
|
+
.ui.ui.ui.@{color}.popup::before,
|
841
|
+
.ui.@{color}.popup,
|
842
|
+
[data-tooltip][data-variation~="@{color}"]::after,
|
843
|
+
[data-tooltip][data-variation~="@{color}"]::before {
|
844
|
+
background: @c;
|
845
|
+
color: @white;
|
846
|
+
border: none;
|
847
|
+
}
|
848
|
+
.ui.ui.ui.@{color}.popup::before,
|
849
|
+
[data-tooltip][data-variation~="@{color}"]::before {
|
850
|
+
box-shadow: none;
|
851
|
+
}
|
852
|
+
& when (@variationPopupInverted) {
|
853
|
+
.ui.ui.ui.inverted.@{color}.popup::before,
|
854
|
+
.ui.inverted.@{color}.popup,
|
855
|
+
[data-tooltip][data-inverted][data-variation~="@{color}"]::after,
|
856
|
+
[data-tooltip][data-inverted][data-variation~="@{color}"]::before {
|
857
|
+
background: @l;
|
858
|
+
color: @black;
|
859
|
+
}
|
860
|
+
}
|
861
|
+
}
|
862
|
+
})
|
862
863
|
}
|
863
864
|
|
864
865
|
& when (@variationPopupFlowing) {
|
865
|
-
|
866
|
-
|
867
|
-
|
866
|
+
/* --------------
|
867
|
+
Flowing
|
868
|
+
--------------- */
|
868
869
|
|
869
|
-
|
870
|
-
|
871
|
-
|
870
|
+
.ui.flowing.popup {
|
871
|
+
max-width: none;
|
872
|
+
}
|
872
873
|
}
|
873
874
|
|
874
|
-
|
875
|
-
/*--------------
|
875
|
+
/* --------------
|
876
876
|
Sizes
|
877
|
-
|
877
|
+
--------------- */
|
878
878
|
|
879
879
|
.ui.popup {
|
880
|
-
|
880
|
+
font-size: @medium;
|
881
881
|
}
|
882
882
|
& when not (@variationPopupSizes = false) {
|
883
|
-
|
884
|
-
|
885
|
-
|
886
|
-
|
887
|
-
|
888
|
-
|
889
|
-
|
890
|
-
|
891
|
-
|
892
|
-
|
893
|
-
|
894
|
-
|
883
|
+
each(@variationPopupSizes, {
|
884
|
+
@s: @@value;
|
885
|
+
.ui.@{value}.popup {
|
886
|
+
font-size: @s;
|
887
|
+
}
|
888
|
+
& when (@variationPopupTooltip) {
|
889
|
+
[data-tooltip][data-variation~="@{value}"]::before,
|
890
|
+
[data-tooltip][data-variation~="@{value}"]::after {
|
891
|
+
font-size: @s;
|
892
|
+
}
|
893
|
+
}
|
894
|
+
})
|
895
895
|
}
|
896
896
|
|
897
|
-
|
898
897
|
.loadUIOverrides();
|