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,494 +8,486 @@
|
|
8
8
|
*
|
9
9
|
*/
|
10
10
|
|
11
|
-
|
12
11
|
/*******************************
|
13
12
|
Theme
|
14
13
|
*******************************/
|
15
14
|
|
16
|
-
@type
|
15
|
+
@type : 'element';
|
17
16
|
@element : 'header';
|
18
17
|
|
19
18
|
@import (multiple) '../../theme.config';
|
20
19
|
|
21
|
-
|
22
20
|
/*******************************
|
23
21
|
Header
|
24
22
|
*******************************/
|
25
23
|
|
26
24
|
/* Standard */
|
27
25
|
.ui.header {
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
26
|
+
border: none;
|
27
|
+
margin: @margin;
|
28
|
+
padding: @verticalPadding @horizontalPadding;
|
29
|
+
font-family: @fontFamily;
|
30
|
+
font-weight: @fontWeight;
|
31
|
+
line-height: @lineHeight;
|
32
|
+
text-transform: @textTransform;
|
33
|
+
color: @textColor;
|
36
34
|
}
|
37
35
|
|
38
36
|
.ui.header:first-child {
|
39
|
-
|
37
|
+
margin-top: @firstMargin;
|
40
38
|
}
|
41
39
|
.ui.header:last-child {
|
42
|
-
|
40
|
+
margin-bottom: @lastMargin;
|
43
41
|
}
|
44
42
|
|
45
43
|
& when (@variationHeaderSub) {
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
44
|
+
/* --------------
|
45
|
+
Sub Header
|
46
|
+
--------------- */
|
47
|
+
|
48
|
+
.ui.header .sub.header {
|
49
|
+
display: block;
|
50
|
+
font-weight: @normal;
|
51
|
+
padding: 0;
|
52
|
+
margin: @subHeaderMargin;
|
53
|
+
font-size: @subHeaderFontSize;
|
54
|
+
line-height: @subHeaderLineHeight;
|
55
|
+
color: @subHeaderColor;
|
56
|
+
}
|
59
57
|
}
|
60
58
|
|
61
|
-
|
59
|
+
/* --------------
|
62
60
|
Icon
|
63
|
-
|
61
|
+
--------------- */
|
64
62
|
|
65
63
|
.ui.header > .icons,
|
66
64
|
.ui.header > i.icon {
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
65
|
+
display: table-cell;
|
66
|
+
opacity: @iconOpacity;
|
67
|
+
font-size: @iconSize;
|
68
|
+
padding-top: @iconOffset;
|
69
|
+
vertical-align: @iconAlignment;
|
72
70
|
}
|
73
71
|
|
74
72
|
/* With Text Node */
|
75
73
|
.ui.header:not(.icon) > .icons:only-child,
|
76
74
|
.ui.header:not(.icon) > i.icon:only-child {
|
77
|
-
|
78
|
-
|
79
|
-
|
75
|
+
display: inline-block;
|
76
|
+
padding: 0;
|
77
|
+
margin-right: @iconMargin;
|
80
78
|
}
|
81
79
|
|
82
|
-
|
80
|
+
/* -------------------
|
83
81
|
Image
|
84
|
-
|
82
|
+
-------------------- */
|
85
83
|
|
86
84
|
.ui.header > .image:not(.icon),
|
87
85
|
.ui.header > img {
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
86
|
+
display: inline-block;
|
87
|
+
margin-top: @imageOffset;
|
88
|
+
width: @imageWidth;
|
89
|
+
height: @imageHeight;
|
90
|
+
vertical-align: @imageAlignment;
|
93
91
|
}
|
94
92
|
.ui.header > .image:not(.icon):only-child,
|
95
93
|
.ui.header > img:only-child {
|
96
|
-
|
94
|
+
margin-right: @imageMargin;
|
97
95
|
}
|
98
96
|
|
99
|
-
|
97
|
+
/* --------------
|
100
98
|
Content
|
101
|
-
|
99
|
+
--------------- */
|
102
100
|
|
103
101
|
.ui.header .content {
|
104
|
-
|
105
|
-
|
102
|
+
display: inline-block;
|
103
|
+
vertical-align: @contentAlignment;
|
106
104
|
}
|
107
105
|
|
108
106
|
/* After Image */
|
109
107
|
.ui.header > img + .content,
|
110
108
|
.ui.header > .image + .content {
|
111
|
-
|
112
|
-
|
109
|
+
padding-left: @imageMargin;
|
110
|
+
vertical-align: @contentImageAlignment;
|
113
111
|
}
|
114
112
|
|
115
113
|
/* After Icon */
|
116
114
|
.ui.header:not(.icon):not(.centered):not(.aligned) > .icons + .content,
|
117
115
|
.ui.header:not(.icon):not(.centered):not(.aligned) > i.icon + .content {
|
118
|
-
|
119
|
-
|
120
|
-
|
116
|
+
padding-left: @iconMargin;
|
117
|
+
display: table-cell;
|
118
|
+
vertical-align: @contentIconAlignment;
|
121
119
|
}
|
122
120
|
|
123
|
-
|
124
|
-
/*--------------
|
121
|
+
/* --------------
|
125
122
|
Loose Coupling
|
126
|
-
|
123
|
+
--------------- */
|
127
124
|
|
128
125
|
.ui.header .ui.label {
|
129
|
-
|
130
|
-
|
131
|
-
|
126
|
+
font-size: @labelSize;
|
127
|
+
margin-left: @labelDistance;
|
128
|
+
vertical-align: @labelVerticalAlign;
|
132
129
|
}
|
133
130
|
|
134
131
|
/* Positioning */
|
135
132
|
.ui.header + p {
|
136
|
-
|
133
|
+
margin-top: @nextParagraphDistance;
|
137
134
|
}
|
138
135
|
|
139
|
-
|
140
|
-
|
141
136
|
/*******************************
|
142
137
|
Types
|
143
138
|
*******************************/
|
144
139
|
|
145
|
-
|
146
|
-
/*--------------
|
140
|
+
/* --------------
|
147
141
|
Page
|
148
|
-
|
142
|
+
--------------- */
|
149
143
|
& when not (@variationHeaderTags = false) {
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
144
|
+
each(@variationHeaderTags, {
|
145
|
+
@sf: @{value}SubHeaderFontSize;
|
146
|
+
@s: @@value;
|
147
|
+
@{value}.ui.header {
|
148
|
+
font-size: @s;
|
149
|
+
}
|
150
|
+
& when (@variationHeaderSub) {
|
151
|
+
@{value}.ui.header .sub.header {
|
152
|
+
font-size: @@sf;
|
153
|
+
}
|
154
|
+
}
|
155
|
+
})
|
162
156
|
}
|
163
157
|
|
164
|
-
|
158
|
+
/* --------------
|
165
159
|
Content Heading
|
166
|
-
|
160
|
+
--------------- */
|
167
161
|
|
168
162
|
& when not (@variationHeaderSizes = false) {
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
163
|
+
each(@variationHeaderSizes, {
|
164
|
+
@sf: @{value}SubHeaderFontSize;
|
165
|
+
@shf: @{value}SubHeadingSize;
|
166
|
+
@s: @{value}FontSize;;
|
167
|
+
.ui.@{value}.header {
|
168
|
+
font-size: @@s;
|
169
|
+
& when (@@s >= 2) {
|
170
|
+
min-height: 1em;
|
171
|
+
}
|
172
|
+
}
|
173
|
+
& when (@variationHeaderSub) {
|
174
|
+
.ui.@{value}.header .sub.header {
|
175
|
+
font-size: @@sf;
|
176
|
+
}
|
177
|
+
.ui.@{value}.sub.header {
|
178
|
+
font-size: @@shf;
|
179
|
+
}
|
180
|
+
}
|
181
|
+
})
|
188
182
|
}
|
189
183
|
|
190
184
|
& when (@variationHeaderSub) {
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
185
|
+
/* --------------
|
186
|
+
Sub Heading
|
187
|
+
--------------- */
|
188
|
+
|
189
|
+
.ui.sub.header {
|
190
|
+
padding: 0;
|
191
|
+
margin-bottom: @subHeadingDistance;
|
192
|
+
font-weight: @subHeadingFontWeight;
|
193
|
+
font-size: @subHeadingFontSize;
|
194
|
+
text-transform: @subHeadingTextTransform;
|
195
|
+
color: @subHeadingColor;
|
196
|
+
}
|
203
197
|
}
|
204
198
|
|
205
199
|
& when (@variationHeaderIcon) {
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
|
200
|
+
/* -------------------
|
201
|
+
Icon
|
202
|
+
-------------------- */
|
203
|
+
|
204
|
+
.ui.icon.header {
|
205
|
+
display: inline-block;
|
206
|
+
text-align: center;
|
207
|
+
margin: @iconHeaderTopMargin 0 @iconHeaderBottomMargin;
|
208
|
+
}
|
209
|
+
.ui.icon.header::after {
|
210
|
+
content: '';
|
211
|
+
display: block;
|
212
|
+
height: 0;
|
213
|
+
clear: both;
|
214
|
+
visibility: hidden;
|
215
|
+
}
|
222
216
|
|
223
|
-
|
224
|
-
|
225
|
-
}
|
226
|
-
.ui.icon.header > .image.icon,
|
227
|
-
.ui.icon.header > .icons,
|
228
|
-
.ui.icon.header > i.icon {
|
229
|
-
float: none;
|
230
|
-
display: block;
|
231
|
-
width: auto;
|
232
|
-
height: auto;
|
233
|
-
line-height: 1;
|
234
|
-
padding: 0;
|
235
|
-
font-size: @iconHeaderSize;
|
236
|
-
margin: 0 auto @iconHeaderMargin;
|
237
|
-
opacity: @iconHeaderOpacity;
|
238
|
-
}
|
239
|
-
.ui.icon.header .corner.icon {
|
240
|
-
font-size: @cornerIconHeaderSize;
|
241
|
-
}
|
242
|
-
.ui.icon.header .content {
|
243
|
-
display: block;
|
244
|
-
padding: 0;
|
245
|
-
}
|
246
|
-
.ui.icon.header > i.circular {
|
247
|
-
font-size: @circularHeaderIconSize;
|
248
|
-
}
|
249
|
-
.ui.icon.header > i.square {
|
250
|
-
font-size: @squareHeaderIconSize;
|
251
|
-
}
|
252
|
-
& when (@variationHeaderBlock) {
|
253
|
-
.ui.block.icon.header > .image.icon,
|
254
|
-
.ui.block.icon.header > .icons,
|
255
|
-
.ui.block.icon.header > i.icon {
|
256
|
-
margin-bottom: 0;
|
217
|
+
.ui.icon.header:first-child {
|
218
|
+
margin-top: @iconHeaderFirstMargin;
|
257
219
|
}
|
258
|
-
|
259
|
-
|
260
|
-
.ui.icon.header.
|
261
|
-
|
262
|
-
|
263
|
-
|
220
|
+
.ui.icon.header > .image.icon,
|
221
|
+
.ui.icon.header > .icons,
|
222
|
+
.ui.icon.header > i.icon {
|
223
|
+
float: none;
|
224
|
+
display: block;
|
225
|
+
width: auto;
|
226
|
+
height: auto;
|
227
|
+
line-height: 1;
|
228
|
+
padding: 0;
|
229
|
+
font-size: @iconHeaderSize;
|
230
|
+
margin: 0 auto @iconHeaderMargin;
|
231
|
+
opacity: @iconHeaderOpacity;
|
232
|
+
}
|
233
|
+
.ui.icon.header .corner.icon {
|
234
|
+
font-size: @cornerIconHeaderSize;
|
235
|
+
}
|
236
|
+
.ui.icon.header .content {
|
237
|
+
display: block;
|
238
|
+
padding: 0;
|
239
|
+
}
|
240
|
+
.ui.icon.header > i.circular {
|
241
|
+
font-size: @circularHeaderIconSize;
|
242
|
+
}
|
243
|
+
.ui.icon.header > i.square {
|
244
|
+
font-size: @squareHeaderIconSize;
|
245
|
+
}
|
246
|
+
& when (@variationHeaderBlock) {
|
247
|
+
.ui.block.icon.header > .image.icon,
|
248
|
+
.ui.block.icon.header > .icons,
|
249
|
+
.ui.block.icon.header > i.icon {
|
250
|
+
margin-bottom: 0;
|
251
|
+
}
|
252
|
+
}
|
253
|
+
& when (@variationHeaderAligned) {
|
254
|
+
.ui.icon.header.aligned {
|
255
|
+
margin-left: auto;
|
256
|
+
margin-right: auto;
|
257
|
+
display: block;
|
258
|
+
}
|
264
259
|
}
|
265
|
-
}
|
266
260
|
}
|
267
261
|
|
268
262
|
/*******************************
|
269
263
|
States
|
270
264
|
*******************************/
|
271
265
|
& when (@variationHeaderDisabled) {
|
272
|
-
|
273
|
-
|
274
|
-
|
266
|
+
.ui.disabled.header {
|
267
|
+
opacity: @disabledOpacity;
|
268
|
+
}
|
275
269
|
}
|
276
270
|
|
277
|
-
|
278
271
|
/*******************************
|
279
272
|
Variations
|
280
273
|
*******************************/
|
281
274
|
|
282
275
|
& when (@variationHeaderInverted) {
|
283
|
-
|
284
|
-
|
285
|
-
|
276
|
+
/* -------------------
|
277
|
+
Inverted
|
278
|
+
-------------------- */
|
286
279
|
|
287
|
-
|
288
|
-
|
289
|
-
}
|
290
|
-
.ui.inverted.header .sub.header {
|
291
|
-
color: @invertedSubHeaderColor;
|
292
|
-
}
|
293
|
-
& when (@variationHeaderAttached) {
|
294
|
-
.ui.inverted.attached.header {
|
295
|
-
background: @invertedAttachedBackground;
|
296
|
-
box-shadow: none;
|
297
|
-
border-color: transparent;
|
280
|
+
.ui.inverted.header {
|
281
|
+
color: @invertedColor;
|
298
282
|
}
|
299
|
-
|
300
|
-
|
301
|
-
|
302
|
-
|
303
|
-
|
304
|
-
|
283
|
+
.ui.inverted.header .sub.header {
|
284
|
+
color: @invertedSubHeaderColor;
|
285
|
+
}
|
286
|
+
& when (@variationHeaderAttached) {
|
287
|
+
.ui.inverted.attached.header {
|
288
|
+
background: @invertedAttachedBackground;
|
289
|
+
box-shadow: none;
|
290
|
+
border-color: transparent;
|
291
|
+
}
|
292
|
+
}
|
293
|
+
& when (@variationHeaderBlock) {
|
294
|
+
.ui.inverted.block.header {
|
295
|
+
background: @invertedBlockBackground;
|
296
|
+
box-shadow: none;
|
297
|
+
border-bottom: none;
|
298
|
+
}
|
305
299
|
}
|
306
|
-
}
|
307
300
|
}
|
308
301
|
|
309
|
-
|
310
|
-
/*-------------------
|
302
|
+
/* -------------------
|
311
303
|
Colors
|
312
|
-
|
304
|
+
-------------------- */
|
313
305
|
& when not (@variationHeaderColors = false) {
|
314
|
-
|
315
|
-
|
316
|
-
|
317
|
-
|
318
|
-
|
319
|
-
|
320
|
-
|
321
|
-
|
322
|
-
|
323
|
-
|
324
|
-
|
325
|
-
|
326
|
-
|
327
|
-
|
328
|
-
|
329
|
-
|
330
|
-
|
331
|
-
|
332
|
-
|
333
|
-
|
334
|
-
|
335
|
-
|
336
|
-
|
337
|
-
|
338
|
-
|
339
|
-
|
340
|
-
|
341
|
-
|
342
|
-
|
343
|
-
|
306
|
+
each(@variationHeaderColors, {
|
307
|
+
@color: @value;
|
308
|
+
@c: @colors[@@color][color];
|
309
|
+
@l: @colors[@@color][light];
|
310
|
+
@h: @colors[@@color][hover];
|
311
|
+
@lh: @colors[@@color][lightHover];
|
312
|
+
|
313
|
+
.ui.@{color}.header {
|
314
|
+
color: @c;
|
315
|
+
}
|
316
|
+
a.ui.@{color}.header:hover {
|
317
|
+
color: @h;
|
318
|
+
}
|
319
|
+
& when (@variationHeaderDividing) {
|
320
|
+
.ui.@{color}.dividing.header {
|
321
|
+
border-bottom: @dividedColoredBorderWidth solid @c;
|
322
|
+
}
|
323
|
+
}
|
324
|
+
& when (@variationHeaderInverted) {
|
325
|
+
.ui.inverted.@{color}.header.header.header {
|
326
|
+
color: @l;
|
327
|
+
}
|
328
|
+
a.ui.inverted.@{color}.header.header.header:hover {
|
329
|
+
color: @lh;
|
330
|
+
}
|
331
|
+
.ui.inverted.@{color}.dividing.header {
|
332
|
+
border-bottom: @dividedColoredBorderWidth solid @l;
|
333
|
+
}
|
334
|
+
}
|
335
|
+
})
|
344
336
|
}
|
345
337
|
|
346
338
|
& when (@variationHeaderAligned) {
|
347
|
-
|
348
|
-
|
349
|
-
|
339
|
+
/* -------------------
|
340
|
+
Aligned
|
341
|
+
-------------------- */
|
350
342
|
|
351
|
-
|
352
|
-
|
353
|
-
|
354
|
-
|
355
|
-
|
356
|
-
|
357
|
-
|
358
|
-
|
359
|
-
|
360
|
-
|
343
|
+
.ui.left.aligned.header {
|
344
|
+
text-align: left;
|
345
|
+
}
|
346
|
+
.ui.right.aligned.header {
|
347
|
+
text-align: right;
|
348
|
+
}
|
349
|
+
.ui.centered.header,
|
350
|
+
.ui.center.aligned.header {
|
351
|
+
text-align: center;
|
352
|
+
}
|
361
353
|
}
|
362
354
|
|
363
355
|
& when (@variationHeaderJustified) {
|
364
|
-
|
365
|
-
|
366
|
-
|
367
|
-
|
368
|
-
|
369
|
-
|
370
|
-
|
371
|
-
|
356
|
+
.ui.justified.header {
|
357
|
+
text-align: justify;
|
358
|
+
}
|
359
|
+
.ui.justified.header::after {
|
360
|
+
display: inline-block;
|
361
|
+
content: '';
|
362
|
+
width: 100%;
|
363
|
+
}
|
372
364
|
}
|
373
365
|
|
374
366
|
& when (@variationHeaderFloated) {
|
375
|
-
|
376
|
-
|
377
|
-
|
378
|
-
|
379
|
-
|
380
|
-
|
381
|
-
|
382
|
-
|
383
|
-
|
384
|
-
|
385
|
-
|
386
|
-
|
387
|
-
|
388
|
-
|
389
|
-
|
367
|
+
/* -------------------
|
368
|
+
Floated
|
369
|
+
-------------------- */
|
370
|
+
|
371
|
+
.ui.floated.header,
|
372
|
+
.ui[class*="left floated"].header {
|
373
|
+
float: left;
|
374
|
+
margin-top: 0;
|
375
|
+
margin-right: @floatedMargin;
|
376
|
+
}
|
377
|
+
.ui[class*="right floated"].header {
|
378
|
+
float: right;
|
379
|
+
margin-top: 0;
|
380
|
+
margin-left: @floatedMargin;
|
381
|
+
}
|
390
382
|
}
|
391
383
|
|
392
384
|
& when (@variationHeaderFitted) {
|
393
|
-
|
394
|
-
|
395
|
-
|
385
|
+
/* -------------------
|
386
|
+
Fitted
|
387
|
+
-------------------- */
|
396
388
|
|
397
|
-
|
398
|
-
|
399
|
-
|
389
|
+
.ui.fitted.header {
|
390
|
+
padding: 0;
|
391
|
+
}
|
400
392
|
}
|
401
393
|
|
402
394
|
& when (@variationHeaderDividing) {
|
403
|
-
|
404
|
-
|
405
|
-
|
395
|
+
/* -------------------
|
396
|
+
Dividing
|
397
|
+
-------------------- */
|
406
398
|
|
407
|
-
|
408
|
-
|
409
|
-
|
410
|
-
}
|
411
|
-
& when (@variationHeaderSub) {
|
412
|
-
.ui.dividing.header .sub.header {
|
413
|
-
padding-bottom: @dividedSubHeaderPadding;
|
399
|
+
.ui.dividing.header {
|
400
|
+
padding-bottom: @dividedBorderPadding;
|
401
|
+
border-bottom: @dividedBorder;
|
414
402
|
}
|
415
|
-
|
416
|
-
|
417
|
-
|
418
|
-
|
419
|
-
|
420
|
-
.ui.
|
421
|
-
|
403
|
+
& when (@variationHeaderSub) {
|
404
|
+
.ui.dividing.header .sub.header {
|
405
|
+
padding-bottom: @dividedSubHeaderPadding;
|
406
|
+
}
|
407
|
+
}
|
408
|
+
.ui.dividing.header i.icon {
|
409
|
+
margin-bottom: @dividedIconPadding;
|
410
|
+
}
|
411
|
+
& when (@variationHeaderInverted) {
|
412
|
+
.ui.inverted.dividing.header {
|
413
|
+
border-bottom-color: @invertedDividedBorderColor;
|
414
|
+
}
|
422
415
|
}
|
423
|
-
}
|
424
416
|
}
|
425
417
|
|
426
418
|
& when (@variationHeaderBlock) {
|
427
|
-
|
428
|
-
|
429
|
-
|
430
|
-
|
431
|
-
|
432
|
-
|
433
|
-
|
434
|
-
|
435
|
-
|
436
|
-
|
437
|
-
|
438
|
-
|
439
|
-
|
440
|
-
|
441
|
-
|
442
|
-
|
443
|
-
|
444
|
-
|
445
|
-
|
446
|
-
|
447
|
-
|
419
|
+
/* -------------------
|
420
|
+
Block
|
421
|
+
-------------------- */
|
422
|
+
|
423
|
+
.ui.block.header {
|
424
|
+
background: @blockBackground;
|
425
|
+
padding: @blockVerticalPadding @blockHorizontalPadding;
|
426
|
+
box-shadow: @blockBoxShadow;
|
427
|
+
border: @blockBorder;
|
428
|
+
border-radius: @blockBorderRadius;
|
429
|
+
}
|
430
|
+
.ui.block.header:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6) {
|
431
|
+
font-size: @mediumBlock;
|
432
|
+
}
|
433
|
+
& when not (@variationHeaderSizes = false) {
|
434
|
+
each(@variationHeaderSizes, {
|
435
|
+
@s: @{value}Block;
|
436
|
+
.ui.@{value}.block.header {
|
437
|
+
font-size: @@s;
|
438
|
+
}
|
439
|
+
})
|
448
440
|
}
|
449
441
|
}
|
450
442
|
|
451
443
|
& when (@variationHeaderAttached) {
|
452
|
-
|
453
|
-
|
454
|
-
|
455
|
-
|
456
|
-
|
457
|
-
|
458
|
-
|
459
|
-
|
460
|
-
|
461
|
-
|
462
|
-
|
463
|
-
|
464
|
-
|
465
|
-
|
466
|
-
|
444
|
+
/* -------------------
|
445
|
+
Attached
|
446
|
+
-------------------- */
|
447
|
+
|
448
|
+
.ui.attached.header {
|
449
|
+
background: @attachedBackground;
|
450
|
+
padding: @attachedVerticalPadding @attachedHorizontalPadding;
|
451
|
+
margin: 0 @attachedOffset 0 @attachedOffset;
|
452
|
+
box-shadow: @attachedBoxShadow;
|
453
|
+
border: @attachedBorder;
|
454
|
+
border-radius: 0;
|
455
|
+
}
|
456
|
+
& when (@variationHeaderBlock) {
|
457
|
+
.ui.attached.block.header {
|
458
|
+
background: @blockBackground;
|
459
|
+
}
|
460
|
+
}
|
461
|
+
.ui.attached:not(.top).header {
|
462
|
+
border-top: none;
|
463
|
+
}
|
464
|
+
.ui.top.attached.header {
|
465
|
+
border-radius: @attachedBorderRadius @attachedBorderRadius 0 0;
|
466
|
+
}
|
467
|
+
.ui.bottom.attached.header {
|
468
|
+
border-radius: 0 0 @attachedBorderRadius @attachedBorderRadius;
|
467
469
|
}
|
468
|
-
}
|
469
|
-
.ui.attached:not(.top).header {
|
470
|
-
border-top: none;
|
471
|
-
}
|
472
|
-
.ui.top.attached.header {
|
473
|
-
border-radius: @attachedBorderRadius @attachedBorderRadius 0 0;
|
474
|
-
}
|
475
|
-
.ui.bottom.attached.header {
|
476
|
-
border-radius: 0 0 @attachedBorderRadius @attachedBorderRadius;
|
477
|
-
}
|
478
470
|
|
479
|
-
|
480
|
-
|
481
|
-
|
482
|
-
|
483
|
-
|
484
|
-
|
485
|
-
|
486
|
-
|
487
|
-
|
488
|
-
|
489
|
-
|
471
|
+
/* Attached Sizes */
|
472
|
+
.ui.attached.header:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6) {
|
473
|
+
font-size: @mediumAttachedSize;
|
474
|
+
}
|
475
|
+
& when not (@variationHeaderSizes = false) {
|
476
|
+
each(@variationHeaderSizes, {
|
477
|
+
@s: @{value}AttachedSize;
|
478
|
+
.ui.@{value}.attached.header {
|
479
|
+
font-size: @@s;
|
480
|
+
}
|
481
|
+
})
|
490
482
|
}
|
491
483
|
}
|
492
484
|
|
493
|
-
|
485
|
+
/* -------------------
|
494
486
|
Sizing
|
495
|
-
|
487
|
+
-------------------- */
|
496
488
|
|
497
489
|
.ui.header:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6) {
|
498
|
-
|
490
|
+
font-size: @mediumFontSize;
|
499
491
|
}
|
500
492
|
|
501
493
|
.loadUIOverrides();
|