fomantic-ui 2.9.0-beta.8 → 2.9.0-beta.80
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/.all-contributorsrc +188 -3
- package/CONTRIBUTING.md +1 -1
- package/CONTRIBUTORS.md +71 -37
- package/README.md +1 -1
- package/dist/components/accordion.css +50 -6
- package/dist/components/accordion.js +1 -1
- package/dist/components/accordion.min.css +2 -2
- package/dist/components/accordion.min.js +1 -1
- package/dist/components/ad.css +1 -1
- package/dist/components/ad.min.css +1 -1
- package/dist/components/api.js +26 -24
- package/dist/components/api.min.js +2 -2
- package/dist/components/breadcrumb.css +1 -1
- package/dist/components/breadcrumb.min.css +1 -1
- package/dist/components/button.css +6 -6
- package/dist/components/button.min.css +2 -2
- package/dist/components/calendar.css +1 -1
- package/dist/components/calendar.js +106 -10
- package/dist/components/calendar.min.css +1 -1
- package/dist/components/calendar.min.js +2 -2
- package/dist/components/card.css +26 -19
- package/dist/components/card.min.css +2 -2
- package/dist/components/checkbox.css +2 -1
- package/dist/components/checkbox.js +2 -4
- package/dist/components/checkbox.min.css +2 -2
- package/dist/components/checkbox.min.js +2 -2
- package/dist/components/comment.css +11 -11
- package/dist/components/comment.min.css +1 -1
- package/dist/components/container.css +1 -1
- package/dist/components/container.min.css +1 -1
- package/dist/components/dimmer.css +28 -14
- package/dist/components/dimmer.js +1 -1
- package/dist/components/dimmer.min.css +2 -2
- package/dist/components/dimmer.min.js +1 -1
- package/dist/components/divider.css +1 -1
- package/dist/components/divider.min.css +1 -1
- package/dist/components/dropdown.css +28 -5
- package/dist/components/dropdown.js +15 -19
- package/dist/components/dropdown.min.css +2 -2
- package/dist/components/dropdown.min.js +2 -2
- package/dist/components/embed.css +1 -1
- package/dist/components/embed.js +1 -1
- package/dist/components/embed.min.css +1 -1
- package/dist/components/embed.min.js +1 -1
- package/dist/components/emoji.css +2 -2
- package/dist/components/feed.css +28 -28
- package/dist/components/feed.min.css +2 -2
- package/dist/components/flag.css +731 -625
- package/dist/components/flag.min.css +2 -2
- package/dist/components/form.css +103 -54
- package/dist/components/form.js +24 -22
- package/dist/components/form.min.css +2 -2
- package/dist/components/form.min.js +2 -2
- package/dist/components/grid.css +11 -8
- package/dist/components/grid.min.css +2 -2
- package/dist/components/header.css +1 -1
- package/dist/components/header.min.css +1 -1
- package/dist/components/icon.css +6 -1
- package/dist/components/icon.min.css +2 -2
- package/dist/components/image.css +1 -1
- package/dist/components/image.min.css +1 -1
- package/dist/components/input.css +17 -2
- package/dist/components/input.min.css +2 -2
- package/dist/components/item.css +13 -13
- package/dist/components/item.min.css +1 -1
- package/dist/components/label.css +1 -1
- package/dist/components/label.min.css +1 -1
- package/dist/components/list.css +1 -1
- package/dist/components/list.min.css +1 -1
- package/dist/components/loader.css +1 -1
- package/dist/components/loader.min.css +1 -1
- package/dist/components/menu.css +31 -7
- package/dist/components/menu.min.css +1 -1
- package/dist/components/message.css +1 -1
- package/dist/components/message.min.css +1 -1
- package/dist/components/modal.css +3 -1
- package/dist/components/modal.js +94 -30
- package/dist/components/modal.min.css +2 -2
- package/dist/components/modal.min.js +2 -2
- package/dist/components/nag.css +1 -1
- package/dist/components/nag.js +1 -1
- package/dist/components/nag.min.css +1 -1
- package/dist/components/nag.min.js +1 -1
- package/dist/components/placeholder.css +1 -1
- package/dist/components/placeholder.min.css +1 -1
- package/dist/components/popup.css +5 -3
- package/dist/components/popup.js +1 -1
- package/dist/components/popup.min.css +2 -2
- package/dist/components/popup.min.js +1 -1
- package/dist/components/progress.css +1 -1
- package/dist/components/progress.js +3 -3
- package/dist/components/progress.min.css +1 -1
- package/dist/components/progress.min.js +2 -2
- package/dist/components/rail.css +1 -1
- package/dist/components/rail.min.css +1 -1
- package/dist/components/rating.css +7 -46
- package/dist/components/rating.js +1 -1
- package/dist/components/rating.min.css +2 -2
- package/dist/components/rating.min.js +1 -1
- package/dist/components/reset.css +1 -1
- package/dist/components/reset.min.css +1 -1
- package/dist/components/reveal.css +1 -1
- package/dist/components/reveal.min.css +1 -1
- package/dist/components/search.css +1 -1
- package/dist/components/search.js +1 -1
- package/dist/components/search.min.css +1 -1
- package/dist/components/search.min.js +1 -1
- package/dist/components/segment.css +12 -6
- package/dist/components/segment.min.css +2 -2
- package/dist/components/shape.css +1 -1
- package/dist/components/shape.js +1 -1
- package/dist/components/shape.min.css +1 -1
- package/dist/components/shape.min.js +1 -1
- package/dist/components/sidebar.css +1 -1
- package/dist/components/sidebar.js +1 -1
- package/dist/components/sidebar.min.css +1 -1
- package/dist/components/sidebar.min.js +1 -1
- package/dist/components/site.css +61 -39
- package/dist/components/site.js +1 -1
- package/dist/components/site.min.css +2 -2
- package/dist/components/site.min.js +1 -1
- package/dist/components/slider.js +1 -1
- package/dist/components/slider.min.js +1 -1
- package/dist/components/state.js +1 -1
- package/dist/components/state.min.js +1 -1
- package/dist/components/statistic.css +1 -1
- package/dist/components/statistic.min.css +1 -1
- package/dist/components/step.css +4 -4
- package/dist/components/step.min.css +2 -2
- package/dist/components/sticky.css +1 -1
- package/dist/components/sticky.js +2 -2
- package/dist/components/sticky.min.css +1 -1
- package/dist/components/sticky.min.js +2 -2
- package/dist/components/tab.css +1 -1
- package/dist/components/tab.js +1 -1
- package/dist/components/tab.min.css +1 -1
- package/dist/components/tab.min.js +1 -1
- package/dist/components/table.css +5 -3
- package/dist/components/table.min.css +2 -2
- package/dist/components/text.css +1 -1
- package/dist/components/text.min.css +1 -1
- package/dist/components/toast.css +7 -1
- package/dist/components/toast.js +3 -3
- package/dist/components/toast.min.css +2 -2
- package/dist/components/toast.min.js +2 -2
- package/dist/components/transition.css +1 -1
- package/dist/components/transition.js +2 -2
- package/dist/components/transition.min.css +1 -1
- package/dist/components/transition.min.js +2 -2
- package/dist/components/visibility.js +2 -2
- package/dist/components/visibility.min.js +1 -1
- package/dist/semantic.css +1323 -981
- package/dist/semantic.js +293 -135
- package/dist/semantic.min.css +2 -2
- package/dist/semantic.min.js +2 -2
- package/examples/assets/library/iframe-content.js +8 -8
- package/examples/assets/library/iframe.js +3 -3
- package/package.json +2 -2
- package/src/definitions/behaviors/api.js +25 -23
- package/src/definitions/behaviors/form.js +23 -21
- package/src/definitions/behaviors/visibility.js +1 -1
- package/src/definitions/collections/form.less +184 -133
- package/src/definitions/collections/grid.less +704 -669
- package/src/definitions/collections/menu.less +128 -85
- package/src/definitions/collections/message.less +8 -7
- package/src/definitions/collections/table.less +186 -174
- package/src/definitions/elements/button.less +130 -119
- package/src/definitions/elements/container.less +16 -8
- package/src/definitions/elements/emoji.less +15 -9
- package/src/definitions/elements/flag.less +7 -17
- package/src/definitions/elements/header.less +14 -8
- package/src/definitions/elements/icon.less +16 -10
- package/src/definitions/elements/input.less +17 -1
- package/src/definitions/elements/list.less +55 -45
- package/src/definitions/elements/segment.less +15 -8
- package/src/definitions/elements/step.less +52 -48
- package/src/definitions/globals/site.less +23 -2
- package/src/definitions/modules/accordion.less +55 -5
- package/src/definitions/modules/calendar.js +105 -9
- package/src/definitions/modules/checkbox.js +1 -3
- package/src/definitions/modules/checkbox.less +1 -146
- package/src/definitions/modules/dimmer.less +21 -8
- package/src/definitions/modules/dropdown.js +14 -18
- package/src/definitions/modules/dropdown.less +96 -64
- package/src/definitions/modules/modal.js +93 -29
- package/src/definitions/modules/modal.less +2 -0
- package/src/definitions/modules/popup.less +5 -1
- package/src/definitions/modules/progress.js +2 -2
- package/src/definitions/modules/rating.less +18 -12
- package/src/definitions/modules/search.less +32 -16
- package/src/definitions/modules/sidebar.less +30 -18
- package/src/definitions/modules/sticky.js +1 -1
- package/src/definitions/modules/toast.js +2 -2
- package/src/definitions/modules/toast.less +5 -0
- package/src/definitions/modules/transition.js +1 -1
- package/src/definitions/views/card.less +373 -333
- package/src/definitions/views/comment.less +92 -81
- package/src/definitions/views/feed.less +164 -144
- package/src/definitions/views/item.less +249 -196
- package/src/definitions/views/statistic.less +71 -70
- package/src/themes/default/collections/menu.variables +6 -0
- package/src/themes/default/elements/button.variables +2 -1
- package/src/themes/default/elements/flag.overrides +1635 -986
- package/src/themes/default/elements/flag.variables +7 -5
- package/src/themes/default/elements/icon.overrides +35 -28
- package/src/themes/default/elements/icon.variables +1 -0
- package/src/themes/default/elements/step.overrides +1 -1
- package/src/themes/default/globals/site.variables +6 -0
- package/src/themes/default/globals/variation.variables +74 -1
- package/src/themes/default/modules/accordion.variables +15 -0
- package/src/themes/default/modules/dimmer.variables +1 -1
- package/src/themes/default/modules/dropdown.variables +1 -1
- package/src/themes/famfamfam/elements/flag.overrides +1026 -0
- package/src/themes/famfamfam/elements/flag.variables +13 -0
- package/tasks/admin/components/init.js +2 -2
- package/tasks/admin/distributions/init.js +2 -2
- package/test/helpers/sinon.js +1 -1
@@ -76,25 +76,26 @@
|
|
76
76
|
border-top: @nestedCommentDivider;
|
77
77
|
background: @nestedCommentBackground;
|
78
78
|
}
|
79
|
-
|
80
|
-
/*--------------
|
81
|
-
|
82
|
-
---------------*/
|
83
|
-
|
84
|
-
.ui.comments .comment .avatar {
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
}
|
91
|
-
.ui.comments .comment img.avatar,
|
92
|
-
.ui.comments .comment .avatar img {
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
79
|
+
& when (@variationCommentAvatar) {
|
80
|
+
/*--------------
|
81
|
+
Avatar
|
82
|
+
---------------*/
|
83
|
+
|
84
|
+
.ui.comments .comment .avatar {
|
85
|
+
display: @avatarDisplay;
|
86
|
+
width: @avatarWidth;
|
87
|
+
height: @avatarHeight;
|
88
|
+
float: @avatarFloat;
|
89
|
+
margin: @avatarMargin;
|
90
|
+
}
|
91
|
+
.ui.comments .comment img.avatar,
|
92
|
+
.ui.comments .comment .avatar img {
|
93
|
+
display: block;
|
94
|
+
margin: 0 auto;
|
95
|
+
width: 100%;
|
96
|
+
height: 100%;
|
97
|
+
border-radius: @avatarBorderRadius;
|
98
|
+
}
|
98
99
|
}
|
99
100
|
|
100
101
|
/*--------------
|
@@ -104,43 +105,49 @@
|
|
104
105
|
.ui.comments .comment > .content {
|
105
106
|
display: block;
|
106
107
|
}
|
107
|
-
|
108
|
-
|
109
|
-
|
108
|
+
& when (@variationCommentAvatar) {
|
109
|
+
/* If there is an avatar move content over */
|
110
|
+
.ui.comments .comment > .avatar ~ .content {
|
111
|
+
margin-left: @contentMargin;
|
112
|
+
}
|
110
113
|
}
|
111
114
|
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
+
& when (@variationCommentAuthor) {
|
116
|
+
/*--------------
|
117
|
+
Author
|
118
|
+
---------------*/
|
115
119
|
|
116
|
-
.ui.comments .comment .author {
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
}
|
121
|
-
.ui.comments .comment a.author {
|
122
|
-
|
123
|
-
}
|
124
|
-
.ui.comments .comment a.author:hover {
|
125
|
-
|
120
|
+
.ui.comments .comment .author {
|
121
|
+
font-size: @authorFontSize;
|
122
|
+
color: @authorColor;
|
123
|
+
font-weight: @authorFontWeight;
|
124
|
+
}
|
125
|
+
.ui.comments .comment a.author {
|
126
|
+
cursor: pointer;
|
127
|
+
}
|
128
|
+
.ui.comments .comment a.author:hover {
|
129
|
+
color: @authorHoverColor;
|
130
|
+
}
|
126
131
|
}
|
127
132
|
|
128
|
-
|
129
|
-
|
130
|
-
|
133
|
+
& when (@variationCommentMeta) {
|
134
|
+
/*--------------
|
135
|
+
Metadata
|
136
|
+
---------------*/
|
131
137
|
|
132
|
-
.ui.comments .comment .metadata {
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
}
|
138
|
-
.ui.comments .comment .metadata > * {
|
139
|
-
|
140
|
-
|
141
|
-
}
|
142
|
-
.ui.comments .comment .metadata > :last-child {
|
143
|
-
|
138
|
+
.ui.comments .comment .metadata {
|
139
|
+
display: @metadataDisplay;
|
140
|
+
margin-left: @metadataSpacing;
|
141
|
+
color: @metadataColor;
|
142
|
+
font-size: @metadataFontSize;
|
143
|
+
}
|
144
|
+
.ui.comments .comment .metadata > * {
|
145
|
+
display: inline-block;
|
146
|
+
margin: 0 @metadataContentSpacing 0 0;
|
147
|
+
}
|
148
|
+
.ui.comments .comment .metadata > :last-child {
|
149
|
+
margin-right: 0;
|
150
|
+
}
|
144
151
|
}
|
145
152
|
|
146
153
|
/*--------------------
|
@@ -156,41 +163,45 @@
|
|
156
163
|
}
|
157
164
|
|
158
165
|
|
159
|
-
|
160
|
-
|
161
|
-
|
166
|
+
& when (@variationCommentActions) {
|
167
|
+
/*--------------------
|
168
|
+
User Actions
|
169
|
+
---------------------*/
|
162
170
|
|
163
|
-
.ui.comments .comment .actions {
|
164
|
-
|
165
|
-
}
|
166
|
-
.ui.comments .comment .actions a {
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
}
|
172
|
-
.ui.comments .comment .actions a:last-child {
|
173
|
-
|
174
|
-
}
|
175
|
-
.ui.comments .comment .actions a.active,
|
176
|
-
.ui.comments .comment .actions a:hover {
|
177
|
-
|
171
|
+
.ui.comments .comment .actions {
|
172
|
+
font-size: @actionFontSize;
|
173
|
+
}
|
174
|
+
.ui.comments .comment .actions a {
|
175
|
+
cursor: pointer;
|
176
|
+
display: inline-block;
|
177
|
+
margin: 0 @actionContentDistance 0 0;
|
178
|
+
color: @actionLinkColor;
|
179
|
+
}
|
180
|
+
.ui.comments .comment .actions a:last-child {
|
181
|
+
margin-right: 0;
|
182
|
+
}
|
183
|
+
.ui.comments .comment .actions a.active,
|
184
|
+
.ui.comments .comment .actions a:hover {
|
185
|
+
color: @actionLinkHoverColor;
|
186
|
+
}
|
178
187
|
}
|
179
188
|
|
180
|
-
|
181
|
-
|
182
|
-
|
189
|
+
& when (@variationCommentReply) {
|
190
|
+
/*--------------------
|
191
|
+
Reply Form
|
192
|
+
---------------------*/
|
183
193
|
|
184
|
-
.ui.comments > .reply.form {
|
185
|
-
|
186
|
-
}
|
187
|
-
.ui.comments .comment .reply.form {
|
188
|
-
|
189
|
-
|
190
|
-
}
|
191
|
-
.ui.comments .reply.form textarea {
|
192
|
-
|
193
|
-
|
194
|
+
.ui.comments > .reply.form {
|
195
|
+
margin-top: @replyDistance;
|
196
|
+
}
|
197
|
+
.ui.comments .comment .reply.form {
|
198
|
+
width: 100%;
|
199
|
+
margin-top: @commentReplyDistance;
|
200
|
+
}
|
201
|
+
.ui.comments .reply.form textarea {
|
202
|
+
font-size: @replyFontSize;
|
203
|
+
height: @replyHeight;
|
204
|
+
}
|
194
205
|
}
|
195
206
|
|
196
207
|
/*******************************
|
@@ -103,159 +103,173 @@
|
|
103
103
|
cursor: pointer;
|
104
104
|
}
|
105
105
|
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
106
|
+
& when (@variationFeedDate) {
|
107
|
+
/*--------------
|
108
|
+
Date
|
109
|
+
---------------*/
|
110
|
+
|
111
|
+
.ui.feed > .event > .content .date {
|
112
|
+
margin: @dateMargin;
|
113
|
+
padding: @datePadding;
|
114
|
+
color: @dateColor;
|
115
|
+
font-weight: @dateFontWeight;
|
116
|
+
font-size: @dateFontSize;
|
117
|
+
font-style: @dateFontStyle;
|
118
|
+
}
|
117
119
|
}
|
118
120
|
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
.ui.feed > .event > .content .summary {
|
124
|
-
margin: @summaryMargin;
|
125
|
-
font-size: @summaryFontSize;
|
126
|
-
font-weight: @summaryFontWeight;
|
127
|
-
color: @summaryColor;
|
128
|
-
}
|
121
|
+
& when (@variationFeedSummary) {
|
122
|
+
/*--------------
|
123
|
+
Summary
|
124
|
+
---------------*/
|
129
125
|
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
border-radius: @summaryImageBorderRadius;
|
137
|
-
vertical-align: @summaryImageVerticalAlign;
|
138
|
-
}
|
139
|
-
/*--------------
|
140
|
-
User
|
141
|
-
---------------*/
|
126
|
+
.ui.feed > .event > .content .summary {
|
127
|
+
margin: @summaryMargin;
|
128
|
+
font-size: @summaryFontSize;
|
129
|
+
font-weight: @summaryFontWeight;
|
130
|
+
color: @summaryColor;
|
131
|
+
}
|
142
132
|
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
133
|
+
/* Summary Image */
|
134
|
+
.ui.feed > .event > .content .summary img {
|
135
|
+
display: inline-block;
|
136
|
+
width: @summaryImageWidth;
|
137
|
+
height: @summaryImageHeight;
|
138
|
+
margin: @summaryImageMargin;
|
139
|
+
border-radius: @summaryImageBorderRadius;
|
140
|
+
vertical-align: @summaryImageVerticalAlign;
|
141
|
+
}
|
142
|
+
& when (@variationFeedDate) {
|
143
|
+
/*--------------
|
144
|
+
Inline Date
|
145
|
+
---------------*/
|
146
|
+
|
147
|
+
/* Date inside Summary */
|
148
|
+
.ui.feed > .event > .content .summary > .date {
|
149
|
+
display: @summaryDateDisplay;
|
150
|
+
float: @summaryDateFloat;
|
151
|
+
font-weight: @summaryDateFontWeight;
|
152
|
+
font-size: @summaryDateFontSize;
|
153
|
+
font-style: @summaryDateFontStyle;
|
154
|
+
margin: @summaryDateMargin;
|
155
|
+
padding: @summaryDatePadding;
|
156
|
+
color: @summaryDateColor;
|
157
|
+
}
|
158
|
+
}
|
154
159
|
}
|
155
|
-
|
156
|
-
|
157
|
-
|
160
|
+
& when (@variationFeedUser) {
|
161
|
+
/*--------------
|
162
|
+
User
|
163
|
+
---------------*/
|
158
164
|
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
165
|
+
.ui.feed > .event > .content .user {
|
166
|
+
display: inline-block;
|
167
|
+
font-weight: @userFontWeight;
|
168
|
+
margin-right: @userDistance;
|
169
|
+
vertical-align: baseline;
|
170
|
+
}
|
171
|
+
.ui.feed > .event > .content .user img {
|
172
|
+
margin: @userImageMargin;
|
173
|
+
width: @userImageWidth;
|
174
|
+
height: @userImageHeight;
|
175
|
+
vertical-align: @userImageVerticalAlign;
|
176
|
+
}
|
169
177
|
}
|
170
178
|
|
171
|
-
|
172
|
-
|
173
|
-
|
179
|
+
& when (@variationFeedExtra) {
|
180
|
+
/*--------------
|
181
|
+
Extra Summary
|
182
|
+
---------------*/
|
174
183
|
|
175
|
-
.ui.feed > .event > .content .extra {
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
}
|
184
|
+
.ui.feed > .event > .content .extra {
|
185
|
+
margin: @extraMargin;
|
186
|
+
background: @extraBackground;
|
187
|
+
padding: @extraPadding;
|
188
|
+
color: @extraColor;
|
189
|
+
}
|
181
190
|
|
182
|
-
/* Images */
|
183
|
-
.ui.feed > .event > .content .extra.images img {
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
}
|
191
|
+
/* Images */
|
192
|
+
.ui.feed > .event > .content .extra.images img {
|
193
|
+
display: inline-block;
|
194
|
+
margin: @extraImageMargin;
|
195
|
+
width: @extraImageWidth;
|
196
|
+
}
|
188
197
|
|
189
|
-
/* Text */
|
190
|
-
.ui.feed > .event > .content .extra.text {
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
198
|
+
/* Text */
|
199
|
+
.ui.feed > .event > .content .extra.text {
|
200
|
+
padding: @extraTextPadding;
|
201
|
+
border-left: @extraTextPointer;
|
202
|
+
font-size: @extraTextFontSize;
|
203
|
+
max-width: @extraTextMaxWidth;
|
204
|
+
line-height: @extraTextLineHeight;
|
205
|
+
}
|
196
206
|
}
|
197
207
|
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
208
|
+
& when (@variationFeedMeta) {
|
209
|
+
/*--------------
|
210
|
+
Meta
|
211
|
+
---------------*/
|
212
|
+
|
213
|
+
.ui.feed > .event > .content .meta {
|
214
|
+
display: @metadataDisplay;
|
215
|
+
font-size: @metadataFontSize;
|
216
|
+
margin: @metadataMargin;
|
217
|
+
background: @metadataBackground;
|
218
|
+
border: @metadataBorder;
|
219
|
+
border-radius: @metadataBorderRadius;
|
220
|
+
box-shadow: @metadataBoxShadow;
|
221
|
+
padding: @metadataPadding;
|
222
|
+
color: @metadataColor;
|
223
|
+
}
|
213
224
|
|
214
|
-
.ui.feed > .event > .content .meta > * {
|
215
|
-
|
216
|
-
|
217
|
-
}
|
218
|
-
.ui.feed > .event > .content .meta > *:after {
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
}
|
225
|
+
.ui.feed > .event > .content .meta > * {
|
226
|
+
position: relative;
|
227
|
+
margin-left: @metadataElementSpacing;
|
228
|
+
}
|
229
|
+
.ui.feed > .event > .content .meta > *:after {
|
230
|
+
content: @metadataDivider;
|
231
|
+
color: @metadataDividerColor;
|
232
|
+
top: 0;
|
233
|
+
left: @metadataDividerOffset;
|
234
|
+
opacity: 1;
|
235
|
+
position: absolute;
|
236
|
+
vertical-align: top;
|
237
|
+
}
|
227
238
|
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
239
|
+
& when (@variationFeedLike) {
|
240
|
+
.ui.feed > .event > .content .meta .like {
|
241
|
+
color: @likeColor;
|
242
|
+
transition: @likeTransition;
|
243
|
+
}
|
244
|
+
.ui.feed > .event > .content .meta .like:hover i.icon {
|
245
|
+
color: @likeHoverColor;
|
246
|
+
}
|
247
|
+
.ui.feed > .event > .content .meta .active.like i.icon {
|
248
|
+
color: @likeActiveColor;
|
249
|
+
}
|
250
|
+
}
|
238
251
|
|
239
|
-
/* First element */
|
240
|
-
.ui.feed > .event > .content .meta > :first-child {
|
241
|
-
|
242
|
-
}
|
243
|
-
.ui.feed > .event > .content .meta > :first-child::after {
|
244
|
-
|
245
|
-
}
|
252
|
+
/* First element */
|
253
|
+
.ui.feed > .event > .content .meta > :first-child {
|
254
|
+
margin-left: 0;
|
255
|
+
}
|
256
|
+
.ui.feed > .event > .content .meta > :first-child::after {
|
257
|
+
display: none;
|
258
|
+
}
|
246
259
|
|
247
|
-
/* Action */
|
248
|
-
.ui.feed > .event > .content .meta a,
|
249
|
-
.ui.feed > .event > .content .meta > i.icon {
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
}
|
255
|
-
.ui.feed > .event > .content .meta a:hover,
|
256
|
-
.ui.feed > .event > .content .meta a:hover i.icon,
|
257
|
-
.ui.feed > .event > .content .meta > i.icon:hover {
|
258
|
-
|
260
|
+
/* Action */
|
261
|
+
.ui.feed > .event > .content .meta a,
|
262
|
+
.ui.feed > .event > .content .meta > i.icon {
|
263
|
+
cursor: @metadataActionCursor;
|
264
|
+
opacity: @metadataActionOpacity;
|
265
|
+
color: @metadataActionColor;
|
266
|
+
transition: @metadataActionTransition;
|
267
|
+
}
|
268
|
+
.ui.feed > .event > .content .meta a:hover,
|
269
|
+
.ui.feed > .event > .content .meta a:hover i.icon,
|
270
|
+
.ui.feed > .event > .content .meta > i.icon:hover {
|
271
|
+
color: @metadataActionHoverColor;
|
272
|
+
}
|
259
273
|
}
|
260
274
|
|
261
275
|
|
@@ -285,18 +299,24 @@
|
|
285
299
|
background: @black;
|
286
300
|
}
|
287
301
|
|
288
|
-
|
289
|
-
|
290
|
-
|
302
|
+
& when (@variationFeedDate) or (@variationFeedLike) {
|
303
|
+
.ui.inverted.feed > .event > .content .date,
|
304
|
+
.ui.inverted.feed > .event > .content .meta .like {
|
305
|
+
color: @invertedLightTextColor;
|
306
|
+
}
|
291
307
|
}
|
292
308
|
|
293
|
-
|
294
|
-
|
295
|
-
|
309
|
+
& when (@variationFeedSummary) or (@variationFeedExtra) {
|
310
|
+
.ui.inverted.feed > .event > .content .summary,
|
311
|
+
.ui.inverted.feed > .event > .content .extra.text {
|
312
|
+
color: @invertedTextColor;
|
313
|
+
}
|
296
314
|
}
|
297
315
|
|
298
|
-
|
299
|
-
|
316
|
+
& when (@variationFeedLike) {
|
317
|
+
.ui.inverted.feed > .event > .content .meta .like:hover {
|
318
|
+
color: @invertedSelectedTextColor;
|
319
|
+
}
|
300
320
|
}
|
301
321
|
}
|
302
322
|
|