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,12 +8,11 @@
|
|
8
8
|
*
|
9
9
|
*/
|
10
10
|
|
11
|
-
|
12
11
|
/*******************************
|
13
12
|
Theme
|
14
13
|
*******************************/
|
15
14
|
|
16
|
-
@type
|
15
|
+
@type : 'module';
|
17
16
|
@element : 'search';
|
18
17
|
|
19
18
|
@import (multiple) '../../theme.config';
|
@@ -23,367 +22,363 @@
|
|
23
22
|
*******************************/
|
24
23
|
|
25
24
|
.ui.search {
|
26
|
-
|
25
|
+
position: relative;
|
27
26
|
}
|
28
27
|
|
29
28
|
.ui.search > .prompt {
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
29
|
+
margin: 0;
|
30
|
+
outline: none;
|
31
|
+
-webkit-appearance: none;
|
32
|
+
-webkit-tap-highlight-color: rgba(255, 255, 255, 0);
|
34
33
|
|
35
|
-
|
36
|
-
|
37
|
-
|
34
|
+
text-shadow: none;
|
35
|
+
font-style: normal;
|
36
|
+
font-weight: @normal;
|
38
37
|
|
39
|
-
|
40
|
-
|
41
|
-
|
38
|
+
line-height: @promptLineHeight;
|
39
|
+
padding: @promptPadding;
|
40
|
+
font-size: @promptFontSize;
|
42
41
|
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
42
|
+
background: @promptBackground;
|
43
|
+
border: @promptBorder;
|
44
|
+
color: @promptColor;
|
45
|
+
box-shadow: @promptBoxShadow;
|
46
|
+
transition: @promptTransition;
|
48
47
|
}
|
49
48
|
|
50
49
|
.ui.search .prompt {
|
51
|
-
|
50
|
+
border-radius: @promptBorderRadius;
|
52
51
|
}
|
53
52
|
|
54
|
-
|
55
|
-
/*--------------
|
53
|
+
/* --------------
|
56
54
|
Icon
|
57
|
-
|
55
|
+
--------------- */
|
58
56
|
|
59
57
|
.ui.search .prompt ~ .search.icon {
|
60
|
-
|
58
|
+
cursor: pointer;
|
61
59
|
}
|
62
60
|
|
63
|
-
|
61
|
+
/* --------------
|
64
62
|
Results
|
65
|
-
|
63
|
+
--------------- */
|
66
64
|
|
67
65
|
.ui.search > .results {
|
68
|
-
|
66
|
+
display: none;
|
69
67
|
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
68
|
+
position: absolute;
|
69
|
+
top: 100%;
|
70
|
+
left: 0;
|
71
|
+
transform-origin: center top;
|
72
|
+
white-space: normal;
|
73
|
+
text-align: left;
|
74
|
+
text-transform: none;
|
77
75
|
|
78
|
-
|
76
|
+
background: @resultsBackground;
|
79
77
|
|
80
|
-
|
81
|
-
|
78
|
+
margin-top: @resultsDistance;
|
79
|
+
width: @resultsWidth;
|
82
80
|
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
81
|
+
border-radius: @resultsBorderRadius;
|
82
|
+
box-shadow: @resultsBoxShadow;
|
83
|
+
border: @resultsBorder;
|
84
|
+
z-index: @resultsZIndex;
|
87
85
|
}
|
88
86
|
.ui.search > .results > :first-child {
|
89
|
-
|
87
|
+
border-radius: @resultsBorderRadius @resultsBorderRadius 0 0;
|
90
88
|
}
|
91
89
|
.ui.search > .results > :last-child {
|
92
|
-
|
90
|
+
border-radius: 0 0 @resultsBorderRadius @resultsBorderRadius;
|
93
91
|
}
|
94
92
|
|
95
|
-
|
93
|
+
/* --------------
|
96
94
|
Result
|
97
|
-
|
95
|
+
--------------- */
|
98
96
|
|
99
97
|
.ui.search > .results .result {
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
98
|
+
cursor: pointer;
|
99
|
+
display: block;
|
100
|
+
overflow: hidden;
|
101
|
+
font-size: @resultFontSize;
|
102
|
+
padding: @resultPadding;
|
103
|
+
color: @resultTextColor;
|
104
|
+
line-height: @resultLineHeight;
|
105
|
+
border-bottom: @resultDivider;
|
108
106
|
}
|
109
107
|
.ui.search > .results .result:last-child {
|
110
|
-
|
108
|
+
border-bottom: @resultLastDivider !important;
|
111
109
|
}
|
112
110
|
|
113
111
|
/* Image */
|
114
112
|
.ui.search > .results .result .image {
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
113
|
+
float: @resultImageFloat;
|
114
|
+
overflow: hidden;
|
115
|
+
background: @resultImageBackground;
|
116
|
+
width: @resultImageWidth;
|
117
|
+
height: @resultImageHeight;
|
118
|
+
border-radius: @resultImageBorderRadius;
|
121
119
|
}
|
122
120
|
.ui.search > .results .result .image img {
|
123
|
-
|
124
|
-
|
125
|
-
|
121
|
+
display: block;
|
122
|
+
width: auto;
|
123
|
+
height: 100%;
|
126
124
|
}
|
127
125
|
|
128
|
-
|
126
|
+
/* --------------
|
129
127
|
Info
|
130
|
-
|
128
|
+
--------------- */
|
131
129
|
|
132
130
|
.ui.search > .results .result .image + .content {
|
133
|
-
|
131
|
+
margin: @resultImageMargin;
|
134
132
|
}
|
135
133
|
|
136
134
|
.ui.search > .results .result .title {
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
135
|
+
margin: @resultTitleMargin;
|
136
|
+
font-family: @resultTitleFont;
|
137
|
+
font-weight: @resultTitleFontWeight;
|
138
|
+
font-size: @resultTitleFontSize;
|
139
|
+
color: @resultTitleColor;
|
142
140
|
}
|
143
141
|
.ui.search > .results .result .description {
|
144
|
-
|
145
|
-
|
146
|
-
|
142
|
+
margin-top: @resultDescriptionDistance;
|
143
|
+
font-size: @resultDescriptionFontSize;
|
144
|
+
color: @resultDescriptionColor;
|
147
145
|
}
|
148
146
|
.ui.search > .results .result .price {
|
149
|
-
|
150
|
-
|
147
|
+
float: @resultPriceFloat;
|
148
|
+
color: @resultPriceColor;
|
151
149
|
}
|
152
150
|
|
153
|
-
|
151
|
+
/* --------------
|
154
152
|
Message
|
155
|
-
|
153
|
+
--------------- */
|
156
154
|
|
157
155
|
.ui.search > .results > .message {
|
158
|
-
|
156
|
+
padding: @messageVerticalPadding @messageHorizontalPadding;
|
159
157
|
}
|
160
158
|
.ui.search > .results > .message .header {
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
159
|
+
font-family: @headerFont;
|
160
|
+
font-size: @messageHeaderFontSize;
|
161
|
+
font-weight: @messageHeaderFontWeight;
|
162
|
+
color: @messageHeaderColor;
|
165
163
|
}
|
166
164
|
.ui.search > .results > .message .description {
|
167
|
-
|
168
|
-
|
169
|
-
|
165
|
+
margin-top: @messageDescriptionDistance;
|
166
|
+
font-size: @messageDescriptionFontSize;
|
167
|
+
color: @messageDescriptionColor;
|
170
168
|
}
|
171
169
|
|
172
170
|
/* View All Results */
|
173
171
|
.ui.search > .results > .action {
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
172
|
+
display: block;
|
173
|
+
border-top: @actionBorder;
|
174
|
+
background: @actionBackground;
|
175
|
+
padding: @actionPadding;
|
176
|
+
color: @actionColor;
|
177
|
+
font-weight: @actionFontWeight;
|
178
|
+
text-align: @actionAlign;
|
181
179
|
}
|
182
180
|
|
183
|
-
|
184
181
|
/*******************************
|
185
182
|
States
|
186
183
|
*******************************/
|
187
184
|
|
188
|
-
|
185
|
+
/* --------------------
|
189
186
|
Focus
|
190
|
-
|
187
|
+
--------------------- */
|
191
188
|
|
192
189
|
.ui.search > .prompt:focus {
|
193
|
-
|
194
|
-
|
195
|
-
|
190
|
+
border-color: @promptFocusBorderColor;
|
191
|
+
background: @promptFocusBackground;
|
192
|
+
color: @promptFocusColor;
|
196
193
|
}
|
197
194
|
|
198
195
|
& when (@variationSearchLoading) {
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
196
|
+
/* --------------------
|
197
|
+
Loading
|
198
|
+
--------------------- */
|
199
|
+
|
200
|
+
.ui.loading.search .input > i.icon::before {
|
201
|
+
position: absolute;
|
202
|
+
content: '';
|
203
|
+
top: 50%;
|
204
|
+
left: 50%;
|
205
|
+
|
206
|
+
margin: @loaderMargin;
|
207
|
+
width: @loaderSize;
|
208
|
+
height: @loaderSize;
|
209
|
+
|
210
|
+
border-radius: @circularRadius;
|
211
|
+
border: @loaderLineWidth solid @loaderFillColor;
|
212
|
+
}
|
213
|
+
.ui.loading.search .input > i.icon::after {
|
214
|
+
position: absolute;
|
215
|
+
content: '';
|
216
|
+
top: 50%;
|
217
|
+
left: 50%;
|
221
218
|
|
222
|
-
|
223
|
-
|
224
|
-
|
219
|
+
margin: @loaderMargin;
|
220
|
+
width: @loaderSize;
|
221
|
+
height: @loaderSize;
|
225
222
|
|
226
|
-
|
227
|
-
|
228
|
-
|
223
|
+
animation: loader @loaderSpeed infinite linear;
|
224
|
+
border: @loaderLineWidth solid @loaderLineColor;
|
225
|
+
border-radius: @circularRadius;
|
229
226
|
|
230
|
-
|
231
|
-
|
227
|
+
box-shadow: 0 0 0 1px transparent;
|
228
|
+
}
|
232
229
|
}
|
233
230
|
|
234
|
-
|
235
|
-
/*--------------
|
231
|
+
/* --------------
|
236
232
|
Hover
|
237
|
-
|
233
|
+
--------------- */
|
238
234
|
|
239
235
|
.ui.search > .results .result:hover,
|
240
236
|
.ui.category.search > .results .category .result:hover {
|
241
|
-
|
237
|
+
background: @resultHoverBackground;
|
242
238
|
}
|
243
239
|
.ui.search .action:hover:not(div) {
|
244
|
-
|
240
|
+
background: @actionHoverBackground;
|
245
241
|
}
|
246
242
|
|
247
|
-
|
243
|
+
/* --------------
|
248
244
|
Active
|
249
|
-
|
245
|
+
--------------- */
|
250
246
|
& when (@variationSearchCategory) {
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
|
255
|
-
|
256
|
-
|
247
|
+
.ui.category.search > .results .category.active {
|
248
|
+
background: @categoryActiveBackground;
|
249
|
+
}
|
250
|
+
.ui.category.search > .results .category.active > .name {
|
251
|
+
color: @categoryNameActiveColor;
|
252
|
+
}
|
257
253
|
}
|
258
254
|
|
259
255
|
.ui.search > .results .result.active,
|
260
256
|
.ui.category.search > .results .category .result.active {
|
261
|
-
|
262
|
-
|
263
|
-
|
264
|
-
|
257
|
+
position: relative;
|
258
|
+
border-left-color: @resultActiveBorderLeft;
|
259
|
+
background: @resultActiveBackground;
|
260
|
+
box-shadow: @resultActiveBoxShadow;
|
265
261
|
}
|
266
262
|
.ui.search > .results .result.active .title {
|
267
|
-
|
263
|
+
color: @resultActiveTitleColor;
|
268
264
|
}
|
269
265
|
.ui.search > .results .result.active .description {
|
270
|
-
|
266
|
+
color: @resultActiveDescriptionColor;
|
271
267
|
}
|
272
268
|
|
273
269
|
& when (@variationSearchDisabled) {
|
274
|
-
|
275
|
-
|
276
|
-
|
277
|
-
|
278
|
-
|
279
|
-
|
280
|
-
|
281
|
-
|
282
|
-
|
283
|
-
|
270
|
+
/* --------------------
|
271
|
+
Disabled
|
272
|
+
---------------------- */
|
273
|
+
|
274
|
+
/* Disabled */
|
275
|
+
.ui.disabled.search {
|
276
|
+
cursor: default;
|
277
|
+
pointer-events: none;
|
278
|
+
opacity: @disabledOpacity;
|
279
|
+
}
|
284
280
|
}
|
285
281
|
|
286
|
-
|
287
282
|
/*******************************
|
288
283
|
Types
|
289
284
|
*******************************/
|
290
285
|
|
291
286
|
& when (@variationSearchSelection) {
|
292
|
-
|
293
|
-
|
294
|
-
|
287
|
+
/* --------------
|
288
|
+
Selection
|
289
|
+
--------------- */
|
295
290
|
|
296
|
-
|
297
|
-
|
298
|
-
|
291
|
+
.ui.search.selection .prompt {
|
292
|
+
border-radius: @selectionPromptBorderRadius;
|
293
|
+
}
|
299
294
|
|
300
|
-
|
301
|
-
|
302
|
-
|
303
|
-
|
304
|
-
|
305
|
-
|
306
|
-
|
307
|
-
|
308
|
-
|
309
|
-
|
310
|
-
|
311
|
-
|
312
|
-
|
313
|
-
|
314
|
-
|
315
|
-
|
316
|
-
|
317
|
-
|
318
|
-
|
319
|
-
|
320
|
-
|
321
|
-
|
322
|
-
|
295
|
+
/* Remove input */
|
296
|
+
.ui.search.selection > .icon.input > .remove.icon {
|
297
|
+
pointer-events: none;
|
298
|
+
position: absolute;
|
299
|
+
left: auto;
|
300
|
+
opacity: 0;
|
301
|
+
color: @selectionCloseIconColor;
|
302
|
+
top: @selectionCloseTop;
|
303
|
+
right: @selectionCloseRight;
|
304
|
+
transition: @selectionCloseTransition;
|
305
|
+
}
|
306
|
+
.ui.search.selection > .icon.input > .active.remove.icon {
|
307
|
+
cursor: pointer;
|
308
|
+
opacity: @selectionCloseIconOpacity;
|
309
|
+
pointer-events: auto;
|
310
|
+
}
|
311
|
+
.ui.search.selection > .icon.input:not([class*="left icon"]) > .icon ~ .remove.icon {
|
312
|
+
right: @selectionCloseIconInputRight;
|
313
|
+
}
|
314
|
+
.ui.search.selection > .icon.input > .remove.icon:hover {
|
315
|
+
opacity: @selectionCloseIconHoverOpacity;
|
316
|
+
color: @selectionCloseIconHoverColor;
|
317
|
+
}
|
323
318
|
}
|
324
319
|
|
325
320
|
& when (@variationSearchCategory) {
|
326
|
-
|
327
|
-
|
328
|
-
|
329
|
-
|
330
|
-
|
331
|
-
|
332
|
-
|
333
|
-
|
334
|
-
|
335
|
-
|
336
|
-
|
337
|
-
|
338
|
-
|
339
|
-
|
340
|
-
|
341
|
-
|
342
|
-
|
343
|
-
|
344
|
-
|
345
|
-
|
346
|
-
|
347
|
-
|
348
|
-
|
349
|
-
|
350
|
-
|
351
|
-
|
352
|
-
|
353
|
-
|
354
|
-
|
355
|
-
|
356
|
-
|
357
|
-
|
358
|
-
|
359
|
-
|
360
|
-
|
361
|
-
|
362
|
-
|
363
|
-
|
364
|
-
|
365
|
-
|
366
|
-
|
367
|
-
|
368
|
-
|
369
|
-
|
370
|
-
|
371
|
-
|
372
|
-
|
373
|
-
|
374
|
-
|
375
|
-
|
376
|
-
|
377
|
-
|
378
|
-
|
379
|
-
|
380
|
-
|
381
|
-
|
382
|
-
|
383
|
-
|
384
|
-
|
385
|
-
|
386
|
-
|
321
|
+
/* --------------
|
322
|
+
Category
|
323
|
+
--------------- */
|
324
|
+
|
325
|
+
.ui.category.search .results {
|
326
|
+
width: @categoryResultsWidth;
|
327
|
+
}
|
328
|
+
|
329
|
+
.ui.category.search .results.animating,
|
330
|
+
.ui.category.search .results.visible {
|
331
|
+
display: table;
|
332
|
+
}
|
333
|
+
|
334
|
+
/* Category */
|
335
|
+
.ui.category.search > .results .category {
|
336
|
+
display: table-row;
|
337
|
+
background: @categoryBackground;
|
338
|
+
box-shadow: @categoryBoxShadow;
|
339
|
+
transition: @categoryTransition;
|
340
|
+
}
|
341
|
+
|
342
|
+
/* Last Category */
|
343
|
+
.ui.category.search > .results .category:last-child {
|
344
|
+
border-bottom: none;
|
345
|
+
}
|
346
|
+
|
347
|
+
/* First / Last */
|
348
|
+
.ui.category.search > .results .category:first-child .name + .result {
|
349
|
+
border-radius: 0 @resultsBorderRadius 0 0;
|
350
|
+
}
|
351
|
+
.ui.category.search > .results .category:last-child .result:last-child {
|
352
|
+
border-radius: 0 0 @resultsBorderRadius 0;
|
353
|
+
}
|
354
|
+
|
355
|
+
/* Category Result Name */
|
356
|
+
.ui.category.search > .results .category > .name {
|
357
|
+
display: table-cell;
|
358
|
+
text-overflow: ellipsis;
|
359
|
+
width: @categoryNameWidth;
|
360
|
+
white-space: @categoryNameWhitespace;
|
361
|
+
background: @categoryNameBackground;
|
362
|
+
font-family: @categoryNameFont;
|
363
|
+
font-size: @categoryNameFontSize;
|
364
|
+
padding: @categoryNamePadding;
|
365
|
+
font-weight: @categoryNameFontWeight;
|
366
|
+
color: @categoryNameColor;
|
367
|
+
border-bottom: @categoryDivider;
|
368
|
+
}
|
369
|
+
|
370
|
+
/* Category Result */
|
371
|
+
.ui.category.search > .results .category .results {
|
372
|
+
display: table-cell;
|
373
|
+
background: @categoryResultBackground;
|
374
|
+
border-left: @categoryResultLeftBorder;
|
375
|
+
border-bottom: @categoryDivider;
|
376
|
+
}
|
377
|
+
.ui.category.search > .results .category .result {
|
378
|
+
border-bottom: @categoryResultDivider;
|
379
|
+
transition: @categoryResultTransition;
|
380
|
+
padding: @categoryResultPadding;
|
381
|
+
}
|
387
382
|
}
|
388
383
|
|
389
384
|
/*******************************
|
@@ -391,187 +386,184 @@
|
|
391
386
|
*******************************/
|
392
387
|
|
393
388
|
& when (@variationSearchScrolling),
|
394
|
-
|
395
|
-
|
389
|
+
(@variationSearchShort),
|
390
|
+
(@variationSearchLong) {
|
391
|
+
/* -------------------
|
392
|
+
Scrolling
|
393
|
+
-------------------- */
|
396
394
|
|
397
|
-
|
398
|
-
Scrolling
|
399
|
-
--------------------*/
|
400
|
-
|
401
|
-
.ui.scrolling.search > .results,
|
395
|
+
.ui.scrolling.search > .results,
|
402
396
|
.ui.search.long > .results,
|
403
|
-
|
404
|
-
|
405
|
-
|
406
|
-
|
407
|
-
|
408
|
-
|
409
|
-
|
397
|
+
.ui.search.short > .results {
|
398
|
+
overflow-x: hidden;
|
399
|
+
overflow-y: auto;
|
400
|
+
overscroll-behavior: @overscrollBehavior;
|
401
|
+
backface-visibility: hidden;
|
402
|
+
-webkit-overflow-scrolling: touch;
|
403
|
+
}
|
410
404
|
}
|
411
405
|
|
412
|
-
|
413
406
|
& when (@variationSearchScrolling) {
|
414
|
-
|
415
|
-
|
416
|
-
|
407
|
+
@media only screen and (max-width: @largestMobileScreen) {
|
408
|
+
.ui.scrolling.search > .results {
|
409
|
+
max-height: @scrollingMobileMaxResultsHeight;
|
410
|
+
}
|
417
411
|
}
|
418
|
-
|
419
|
-
|
420
|
-
|
421
|
-
|
412
|
+
@media only screen and (min-width: @tabletBreakpoint) {
|
413
|
+
.ui.scrolling.search > .results {
|
414
|
+
max-height: @scrollingTabletMaxResultsHeight;
|
415
|
+
}
|
422
416
|
}
|
423
|
-
|
424
|
-
|
425
|
-
|
426
|
-
|
417
|
+
@media only screen and (min-width: @computerBreakpoint) {
|
418
|
+
.ui.scrolling.search > .results {
|
419
|
+
max-height: @scrollingComputerMaxResultsHeight;
|
420
|
+
}
|
427
421
|
}
|
428
|
-
|
429
|
-
|
430
|
-
|
431
|
-
|
422
|
+
@media only screen and (min-width: @widescreenMonitorBreakpoint) {
|
423
|
+
.ui.scrolling.search > .results {
|
424
|
+
max-height: @scrollingWidescreenMaxResultsHeight;
|
425
|
+
}
|
432
426
|
}
|
433
|
-
}
|
434
427
|
}
|
435
428
|
|
436
|
-
@media only screen and (max-width
|
437
|
-
|
438
|
-
|
439
|
-
|
440
|
-
|
441
|
-
|
442
|
-
|
443
|
-
|
444
|
-
|
445
|
-
|
446
|
-
}
|
447
|
-
& when (@variationSearchLong) {
|
448
|
-
.ui.search.long > .results {
|
449
|
-
max-height: @scrollingMobileMaxResultsHeight * 2;
|
429
|
+
@media only screen and (max-width: @largestMobileScreen) {
|
430
|
+
& when (@variationSearchShort) {
|
431
|
+
.ui.search.short > .results {
|
432
|
+
max-height: @scrollingMobileMaxResultsHeight;
|
433
|
+
}
|
434
|
+
& when (@variationSearchVeryShort) {
|
435
|
+
.ui.search[class*="very short"] > .results {
|
436
|
+
max-height: @scrollingMobileMaxResultsHeight * 0.75;
|
437
|
+
}
|
438
|
+
}
|
450
439
|
}
|
451
|
-
& when (@
|
452
|
-
|
453
|
-
|
454
|
-
|
440
|
+
& when (@variationSearchLong) {
|
441
|
+
.ui.search.long > .results {
|
442
|
+
max-height: @scrollingMobileMaxResultsHeight * 2;
|
443
|
+
}
|
444
|
+
& when (@variationSearchVeryLong) {
|
445
|
+
.ui.search[class*="very long"] > .results {
|
446
|
+
max-height: @scrollingMobileMaxResultsHeight * 3;
|
447
|
+
}
|
448
|
+
}
|
455
449
|
}
|
456
|
-
}
|
457
450
|
}
|
458
451
|
@media only screen and (min-width: @tabletBreakpoint) {
|
459
|
-
|
460
|
-
|
461
|
-
|
462
|
-
|
463
|
-
|
464
|
-
|
465
|
-
|
466
|
-
|
452
|
+
& when (@variationSearchShort) {
|
453
|
+
.ui.search.short > .results {
|
454
|
+
max-height: @scrollingTabletMaxResultsHeight;
|
455
|
+
}
|
456
|
+
& when (@variationSearchVeryShort) {
|
457
|
+
.ui.search[class*="very short"] > .results {
|
458
|
+
max-height: @scrollingTabletMaxResultsHeight * 0.75;
|
459
|
+
}
|
460
|
+
}
|
467
461
|
}
|
468
|
-
|
469
|
-
|
470
|
-
|
471
|
-
|
462
|
+
& when (@variationSearchLong) {
|
463
|
+
.ui.search.long > .results {
|
464
|
+
max-height: @scrollingTabletMaxResultsHeight * 2;
|
465
|
+
}
|
466
|
+
& when (@variationSearchVeryLong) {
|
467
|
+
.ui.search[class*="very long"] > .results {
|
468
|
+
max-height: @scrollingTabletMaxResultsHeight * 3;
|
469
|
+
}
|
470
|
+
}
|
472
471
|
}
|
473
|
-
& when (@variationSearchVeryLong) {
|
474
|
-
.ui.search[class*="very long"] > .results {
|
475
|
-
max-height: @scrollingTabletMaxResultsHeight * 3;
|
476
|
-
}
|
477
|
-
}
|
478
|
-
}
|
479
472
|
}
|
480
473
|
@media only screen and (min-width: @computerBreakpoint) {
|
481
|
-
|
482
|
-
|
483
|
-
|
474
|
+
& when (@variationSearchShort) {
|
475
|
+
.ui.search.short > .results {
|
476
|
+
max-height: @scrollingComputerMaxResultsHeight;
|
477
|
+
}
|
478
|
+
& when (@variationSearchVeryShort) {
|
479
|
+
.ui.search[class*="very short"] > .results {
|
480
|
+
max-height: @scrollingComputerMaxResultsHeight * 0.75;
|
481
|
+
}
|
482
|
+
}
|
484
483
|
}
|
485
|
-
& when (@
|
486
|
-
|
487
|
-
|
488
|
-
|
484
|
+
& when (@variationSearchLong) {
|
485
|
+
.ui.search.long > .results {
|
486
|
+
max-height: @scrollingComputerMaxResultsHeight * 2;
|
487
|
+
}
|
488
|
+
& when (@variationSearchVeryLong) {
|
489
|
+
.ui.search[class*="very long"] > .results {
|
490
|
+
max-height: @scrollingComputerMaxResultsHeight * 3;
|
491
|
+
}
|
492
|
+
}
|
489
493
|
}
|
490
|
-
}
|
491
|
-
& when (@variationSearchLong) {
|
492
|
-
.ui.search.long > .results {
|
493
|
-
max-height: @scrollingComputerMaxResultsHeight * 2;
|
494
|
-
}
|
495
|
-
& when (@variationSearchVeryLong) {
|
496
|
-
.ui.search[class*="very long"] > .results {
|
497
|
-
max-height: @scrollingComputerMaxResultsHeight * 3;
|
498
|
-
}
|
499
|
-
}
|
500
|
-
}
|
501
494
|
}
|
502
495
|
@media only screen and (min-width: @widescreenMonitorBreakpoint) {
|
503
|
-
|
504
|
-
|
505
|
-
|
506
|
-
|
507
|
-
|
508
|
-
|
509
|
-
|
510
|
-
|
496
|
+
& when (@variationSearchShort) {
|
497
|
+
.ui.search.short > .results {
|
498
|
+
max-height: @scrollingWidescreenMaxResultsHeight;
|
499
|
+
}
|
500
|
+
& when (@variationSearchVeryShort) {
|
501
|
+
.ui.search[class*="very short"] > .results {
|
502
|
+
max-height: @scrollingWidescreenMaxResultsHeight * 0.75;
|
503
|
+
}
|
504
|
+
}
|
511
505
|
}
|
512
|
-
|
513
|
-
|
514
|
-
|
515
|
-
|
506
|
+
& when (@variationSearchLong) {
|
507
|
+
.ui.search.long > .results {
|
508
|
+
max-height: @scrollingWidescreenMaxResultsHeight * 2;
|
509
|
+
}
|
510
|
+
& when (@variationSearchVeryLong) {
|
511
|
+
.ui.search[class*="very long"] > .results {
|
512
|
+
max-height: @scrollingWidescreenMaxResultsHeight * 3;
|
513
|
+
}
|
514
|
+
}
|
516
515
|
}
|
517
|
-
& when (@variationSearchVeryLong) {
|
518
|
-
.ui.search[class*="very long"] > .results {
|
519
|
-
max-height: @scrollingWidescreenMaxResultsHeight * 3;
|
520
|
-
}
|
521
|
-
}
|
522
|
-
}
|
523
516
|
}
|
524
517
|
|
525
518
|
& when (@variationSearchAligned) {
|
526
|
-
|
527
|
-
|
528
|
-
|
519
|
+
/* -------------------
|
520
|
+
Left / Right
|
521
|
+
-------------------- */
|
529
522
|
|
530
|
-
|
531
|
-
|
532
|
-
|
533
|
-
|
534
|
-
|
535
|
-
|
536
|
-
|
537
|
-
|
523
|
+
.ui[class*="left aligned"].search > .results {
|
524
|
+
right: auto;
|
525
|
+
left: 0;
|
526
|
+
}
|
527
|
+
.ui[class*="right aligned"].search > .results {
|
528
|
+
right: 0;
|
529
|
+
left: auto;
|
530
|
+
}
|
538
531
|
}
|
539
532
|
|
540
|
-
|
533
|
+
/* --------------
|
541
534
|
Fluid
|
542
|
-
|
535
|
+
--------------- */
|
543
536
|
|
544
537
|
& when (@variationSearchFluid) {
|
545
|
-
|
546
|
-
|
547
|
-
|
538
|
+
.ui.fluid.search .results {
|
539
|
+
width: 100%;
|
540
|
+
}
|
548
541
|
}
|
549
542
|
|
550
|
-
|
551
|
-
/*--------------
|
543
|
+
/* --------------
|
552
544
|
Sizes
|
553
|
-
|
545
|
+
--------------- */
|
554
546
|
|
555
547
|
.ui.search {
|
556
|
-
|
548
|
+
font-size: @relativeMedium;
|
557
549
|
}
|
558
550
|
& when not (@variationFeedSizes = false) {
|
559
|
-
|
560
|
-
|
561
|
-
|
562
|
-
|
563
|
-
|
564
|
-
|
551
|
+
each(@variationFeedSizes, {
|
552
|
+
@s: @{value}SearchSize;
|
553
|
+
.ui.@{value}.search {
|
554
|
+
font-size: @@s;
|
555
|
+
}
|
556
|
+
})
|
565
557
|
}
|
566
558
|
|
567
|
-
|
559
|
+
/* --------------
|
568
560
|
Mobile
|
569
|
-
|
561
|
+
--------------- */
|
570
562
|
|
571
563
|
@media only screen and (max-width: @largestMobileScreen) {
|
572
|
-
|
573
|
-
|
574
|
-
|
564
|
+
.ui.search .results {
|
565
|
+
max-width: @mobileMaxWidth;
|
566
|
+
}
|
575
567
|
}
|
576
568
|
|
577
569
|
.loadUIOverrides();
|