@pageboard/html 0.14.19 → 0.14.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/elements/accordion.js +1 -1
- package/elements/fieldsets.js +1 -1
- package/elements/form.js +2 -2
- package/elements/grid.js +1 -1
- package/elements/image.js +1 -1
- package/elements/input-file.js +2 -2
- package/elements/input-property.js +1 -1
- package/elements/inputs.js +5 -5
- package/elements/layout.js +1 -1
- package/elements/link.js +2 -2
- package/elements/menu.js +2 -2
- package/elements/navigation.js +1 -1
- package/elements/page.js +1 -1
- package/elements/paragraph.js +2 -2
- package/elements/query-tags.js +1 -1
- package/elements/tab.js +1 -1
- package/elements/table.js +1 -1
- package/elements/template.js +1 -1
- package/package.json +3 -8
- package/ui/card.css +3 -3
- package/ui/components/accordion.css +241 -0
- package/ui/components/accordion.js +613 -0
- package/ui/components/ad.css +275 -0
- package/ui/components/api.js +1167 -0
- package/ui/components/breadcrumb.css +122 -0
- package/ui/components/button.css +3525 -0
- package/ui/components/card.css +939 -0
- package/ui/components/checkbox.css +604 -0
- package/ui/components/checkbox.js +831 -0
- package/ui/components/colorize.js +274 -0
- package/ui/components/comment.css +268 -0
- package/ui/components/container.css +149 -0
- package/ui/components/dimmer.css +224 -0
- package/ui/components/dimmer.js +733 -0
- package/ui/components/divider.css +253 -0
- package/ui/components/dropdown.css +1448 -0
- package/ui/components/dropdown.js +3955 -0
- package/ui/components/embed.css +160 -0
- package/ui/components/embed.js +706 -0
- package/ui/components/feed.css +281 -0
- package/ui/components/flag.css +1035 -0
- package/ui/components/form.css +1011 -0
- package/ui/components/form.js +1706 -0
- package/ui/components/grid.css +1941 -0
- package/ui/components/header.css +719 -0
- package/ui/components/icon.css +4777 -0
- package/ui/components/image.css +310 -0
- package/ui/components/input.css +469 -0
- package/ui/components/item.css +464 -0
- package/ui/components/label.css +1281 -0
- package/ui/components/list.css +943 -0
- package/ui/components/loader.css +339 -0
- package/ui/components/menu.css +1940 -0
- package/ui/components/message.css +468 -0
- package/ui/components/modal.css +617 -0
- package/ui/components/modal.js +1034 -0
- package/ui/components/nag.css +145 -0
- package/ui/components/nag.js +507 -0
- package/ui/components/placeholder.css +229 -0
- package/ui/components/popup.css +640 -0
- package/ui/components/popup.js +1532 -0
- package/ui/components/progress.css +502 -0
- package/ui/components/progress.js +931 -0
- package/ui/components/rail.css +152 -0
- package/ui/components/rating.css +257 -0
- package/ui/components/rating.js +508 -0
- package/ui/components/reset.css +476 -0
- package/ui/components/reveal.css +260 -0
- package/ui/components/search.css +431 -0
- package/ui/components/search.js +1505 -0
- package/ui/components/segment.css +824 -0
- package/ui/components/shape.css +143 -0
- package/ui/components/shape.js +921 -0
- package/ui/components/sidebar.css +537 -0
- package/ui/components/sidebar.js +1033 -0
- package/ui/components/site.css +184 -0
- package/ui/components/site.js +487 -0
- package/ui/components/state.js +708 -0
- package/ui/components/statistic.css +534 -0
- package/ui/components/step.css +566 -0
- package/ui/components/sticky.css +73 -0
- package/ui/components/sticky.js +959 -0
- package/ui/components/tab.css +89 -0
- package/ui/components/tab.js +952 -0
- package/ui/components/table.css +1108 -0
- package/ui/components/transition.css +1792 -0
- package/ui/components/transition.js +1095 -0
- package/ui/components/video.css +121 -0
- package/ui/components/video.js +532 -0
- package/ui/components/visibility.js +1311 -0
- package/ui/components/visit.js +517 -0
- package/ui/item.css +2 -2
- package/ui/themes/default/assets/fonts/brand-icons.eot +0 -0
- package/ui/themes/default/assets/fonts/brand-icons.svg +1008 -0
- package/ui/themes/default/assets/fonts/brand-icons.ttf +0 -0
- package/ui/themes/default/assets/fonts/brand-icons.woff +0 -0
- package/ui/themes/default/assets/fonts/brand-icons.woff2 +0 -0
- package/ui/themes/default/assets/fonts/icons.eot +0 -0
- package/ui/themes/default/assets/fonts/icons.otf +0 -0
- package/ui/themes/default/assets/fonts/icons.svg +1518 -0
- package/ui/themes/default/assets/fonts/icons.ttf +0 -0
- package/ui/themes/default/assets/fonts/icons.woff +0 -0
- package/ui/themes/default/assets/fonts/icons.woff2 +0 -0
- package/ui/themes/default/assets/fonts/outline-icons.eot +0 -0
- package/ui/themes/default/assets/fonts/outline-icons.svg +366 -0
- package/ui/themes/default/assets/fonts/outline-icons.ttf +0 -0
- package/ui/themes/default/assets/fonts/outline-icons.woff +0 -0
- package/ui/themes/default/assets/fonts/outline-icons.woff2 +0 -0
- package/ui/themes/default/assets/images/flags.png +0 -0
|
@@ -0,0 +1,274 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* # Semantic UI 2.0.0 - Colorize
|
|
3
|
+
* http://github.com/semantic-org/semantic-ui/
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
* Copyright 2015 Contributors
|
|
7
|
+
* Released under the MIT license
|
|
8
|
+
* http://opensource.org/licenses/MIT
|
|
9
|
+
*
|
|
10
|
+
*/
|
|
11
|
+
|
|
12
|
+
;(function ( $, window, document, undefined ) {
|
|
13
|
+
|
|
14
|
+
"use strict";
|
|
15
|
+
|
|
16
|
+
$.fn.colorize = function(parameters) {
|
|
17
|
+
var
|
|
18
|
+
settings = ( $.isPlainObject(parameters) )
|
|
19
|
+
? $.extend(true, {}, $.fn.colorize.settings, parameters)
|
|
20
|
+
: $.extend({}, $.fn.colorize.settings),
|
|
21
|
+
// hoist arguments
|
|
22
|
+
moduleArguments = arguments || false
|
|
23
|
+
;
|
|
24
|
+
$(this)
|
|
25
|
+
.each(function(instanceIndex) {
|
|
26
|
+
|
|
27
|
+
var
|
|
28
|
+
$module = $(this),
|
|
29
|
+
|
|
30
|
+
mainCanvas = $('<canvas />')[0],
|
|
31
|
+
imageCanvas = $('<canvas />')[0],
|
|
32
|
+
overlayCanvas = $('<canvas />')[0],
|
|
33
|
+
|
|
34
|
+
backgroundImage = new Image(),
|
|
35
|
+
|
|
36
|
+
// defs
|
|
37
|
+
mainContext,
|
|
38
|
+
imageContext,
|
|
39
|
+
overlayContext,
|
|
40
|
+
|
|
41
|
+
image,
|
|
42
|
+
imageName,
|
|
43
|
+
|
|
44
|
+
width,
|
|
45
|
+
height,
|
|
46
|
+
|
|
47
|
+
// shortcuts
|
|
48
|
+
colors = settings.colors,
|
|
49
|
+
paths = settings.paths,
|
|
50
|
+
namespace = settings.namespace,
|
|
51
|
+
error = settings.error,
|
|
52
|
+
|
|
53
|
+
// boilerplate
|
|
54
|
+
instance = $module.data('module-' + namespace),
|
|
55
|
+
module
|
|
56
|
+
;
|
|
57
|
+
|
|
58
|
+
module = {
|
|
59
|
+
|
|
60
|
+
checkPreconditions: function() {
|
|
61
|
+
module.debug('Checking pre-conditions');
|
|
62
|
+
|
|
63
|
+
if( !$.isPlainObject(colors) || $.isEmptyObject(colors) ) {
|
|
64
|
+
module.error(error.undefinedColors);
|
|
65
|
+
return false;
|
|
66
|
+
}
|
|
67
|
+
return true;
|
|
68
|
+
},
|
|
69
|
+
|
|
70
|
+
async: function(callback) {
|
|
71
|
+
if(settings.async) {
|
|
72
|
+
setTimeout(callback, 0);
|
|
73
|
+
}
|
|
74
|
+
else {
|
|
75
|
+
callback();
|
|
76
|
+
}
|
|
77
|
+
},
|
|
78
|
+
|
|
79
|
+
getMetadata: function() {
|
|
80
|
+
module.debug('Grabbing metadata');
|
|
81
|
+
image = $module.data('image') || settings.image || undefined;
|
|
82
|
+
imageName = $module.data('name') || settings.name || instanceIndex;
|
|
83
|
+
width = settings.width || $module.width();
|
|
84
|
+
height = settings.height || $module.height();
|
|
85
|
+
if(width === 0 || height === 0) {
|
|
86
|
+
module.error(error.undefinedSize);
|
|
87
|
+
}
|
|
88
|
+
},
|
|
89
|
+
|
|
90
|
+
initialize: function() {
|
|
91
|
+
module.debug('Initializing with colors', colors);
|
|
92
|
+
if( module.checkPreconditions() ) {
|
|
93
|
+
|
|
94
|
+
module.async(function() {
|
|
95
|
+
module.getMetadata();
|
|
96
|
+
module.canvas.create();
|
|
97
|
+
|
|
98
|
+
module.draw.image(function() {
|
|
99
|
+
module.draw.colors();
|
|
100
|
+
module.canvas.merge();
|
|
101
|
+
});
|
|
102
|
+
$module
|
|
103
|
+
.data('module-' + namespace, module)
|
|
104
|
+
;
|
|
105
|
+
});
|
|
106
|
+
}
|
|
107
|
+
},
|
|
108
|
+
|
|
109
|
+
redraw: function() {
|
|
110
|
+
module.debug('Redrawing image');
|
|
111
|
+
module.async(function() {
|
|
112
|
+
module.canvas.clear();
|
|
113
|
+
module.draw.colors();
|
|
114
|
+
module.canvas.merge();
|
|
115
|
+
});
|
|
116
|
+
},
|
|
117
|
+
|
|
118
|
+
change: {
|
|
119
|
+
color: function(colorName, color) {
|
|
120
|
+
module.debug('Changing color', colorName);
|
|
121
|
+
if(colors[colorName] === undefined) {
|
|
122
|
+
module.error(error.missingColor);
|
|
123
|
+
return false;
|
|
124
|
+
}
|
|
125
|
+
colors[colorName] = color;
|
|
126
|
+
module.redraw();
|
|
127
|
+
}
|
|
128
|
+
},
|
|
129
|
+
|
|
130
|
+
canvas: {
|
|
131
|
+
create: function() {
|
|
132
|
+
module.debug('Creating canvases');
|
|
133
|
+
|
|
134
|
+
mainCanvas.width = width;
|
|
135
|
+
mainCanvas.height = height;
|
|
136
|
+
imageCanvas.width = width;
|
|
137
|
+
imageCanvas.height = height;
|
|
138
|
+
overlayCanvas.width = width;
|
|
139
|
+
overlayCanvas.height = height;
|
|
140
|
+
|
|
141
|
+
mainContext = mainCanvas.getContext('2d');
|
|
142
|
+
imageContext = imageCanvas.getContext('2d');
|
|
143
|
+
overlayContext = overlayCanvas.getContext('2d');
|
|
144
|
+
|
|
145
|
+
$module
|
|
146
|
+
.append( mainCanvas )
|
|
147
|
+
;
|
|
148
|
+
mainContext = $module.children('canvas')[0].getContext('2d');
|
|
149
|
+
},
|
|
150
|
+
clear: function(context) {
|
|
151
|
+
module.debug('Clearing canvas');
|
|
152
|
+
overlayContext.fillStyle = '#FFFFFF';
|
|
153
|
+
overlayContext.fillRect(0, 0, width, height);
|
|
154
|
+
},
|
|
155
|
+
merge: function() {
|
|
156
|
+
if( !$.isFunction(mainContext.blendOnto) ) {
|
|
157
|
+
module.error(error.missingPlugin);
|
|
158
|
+
return;
|
|
159
|
+
}
|
|
160
|
+
mainContext.putImageData( imageContext.getImageData(0, 0, width, height), 0, 0);
|
|
161
|
+
overlayContext.blendOnto(mainContext, 'multiply');
|
|
162
|
+
}
|
|
163
|
+
},
|
|
164
|
+
|
|
165
|
+
draw: {
|
|
166
|
+
|
|
167
|
+
image: function(callback) {
|
|
168
|
+
module.debug('Drawing image');
|
|
169
|
+
callback = callback || function(){};
|
|
170
|
+
if(image) {
|
|
171
|
+
backgroundImage.src = image;
|
|
172
|
+
backgroundImage.onload = function() {
|
|
173
|
+
imageContext.drawImage(backgroundImage, 0, 0);
|
|
174
|
+
callback();
|
|
175
|
+
};
|
|
176
|
+
}
|
|
177
|
+
else {
|
|
178
|
+
module.error(error.noImage);
|
|
179
|
+
callback();
|
|
180
|
+
}
|
|
181
|
+
},
|
|
182
|
+
|
|
183
|
+
colors: function() {
|
|
184
|
+
module.debug('Drawing color overlays', colors);
|
|
185
|
+
$.each(colors, function(colorName, color) {
|
|
186
|
+
settings.onDraw(overlayContext, imageName, colorName, color);
|
|
187
|
+
});
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
},
|
|
191
|
+
|
|
192
|
+
debug: function(message, variableName) {
|
|
193
|
+
if(settings.debug) {
|
|
194
|
+
if(variableName !== undefined) {
|
|
195
|
+
console.info(settings.name + ': ' + message, variableName);
|
|
196
|
+
}
|
|
197
|
+
else {
|
|
198
|
+
console.info(settings.name + ': ' + message);
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
},
|
|
202
|
+
error: function(errorMessage) {
|
|
203
|
+
console.warn(settings.name + ': ' + errorMessage);
|
|
204
|
+
},
|
|
205
|
+
invoke: function(methodName, context, methodArguments) {
|
|
206
|
+
var
|
|
207
|
+
method
|
|
208
|
+
;
|
|
209
|
+
methodArguments = methodArguments || Array.prototype.slice.call( arguments, 2 );
|
|
210
|
+
|
|
211
|
+
if(typeof methodName == 'string' && instance !== undefined) {
|
|
212
|
+
methodName = methodName.split('.');
|
|
213
|
+
$.each(methodName, function(index, name) {
|
|
214
|
+
if( $.isPlainObject( instance[name] ) ) {
|
|
215
|
+
instance = instance[name];
|
|
216
|
+
return true;
|
|
217
|
+
}
|
|
218
|
+
else if( $.isFunction( instance[name] ) ) {
|
|
219
|
+
method = instance[name];
|
|
220
|
+
return true;
|
|
221
|
+
}
|
|
222
|
+
module.error(settings.error.method);
|
|
223
|
+
return false;
|
|
224
|
+
});
|
|
225
|
+
}
|
|
226
|
+
return ( $.isFunction( method ) )
|
|
227
|
+
? method.apply(context, methodArguments)
|
|
228
|
+
: false
|
|
229
|
+
;
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
};
|
|
233
|
+
if(instance !== undefined && moduleArguments) {
|
|
234
|
+
// simpler than invoke realizing to invoke itself (and losing scope due prototype.call()
|
|
235
|
+
if(moduleArguments[0] == 'invoke') {
|
|
236
|
+
moduleArguments = Array.prototype.slice.call( moduleArguments, 1 );
|
|
237
|
+
}
|
|
238
|
+
return module.invoke(moduleArguments[0], this, Array.prototype.slice.call( moduleArguments, 1 ) );
|
|
239
|
+
}
|
|
240
|
+
// initializing
|
|
241
|
+
module.initialize();
|
|
242
|
+
})
|
|
243
|
+
;
|
|
244
|
+
return this;
|
|
245
|
+
};
|
|
246
|
+
|
|
247
|
+
$.fn.colorize.settings = {
|
|
248
|
+
name : 'Image Colorizer',
|
|
249
|
+
debug : true,
|
|
250
|
+
namespace : 'colorize',
|
|
251
|
+
|
|
252
|
+
onDraw : function(overlayContext, imageName, colorName, color) {},
|
|
253
|
+
|
|
254
|
+
// whether to block execution while updating canvas
|
|
255
|
+
async : true,
|
|
256
|
+
// object containing names and default values of color regions
|
|
257
|
+
colors : {},
|
|
258
|
+
|
|
259
|
+
metadata: {
|
|
260
|
+
image : 'image',
|
|
261
|
+
name : 'name'
|
|
262
|
+
},
|
|
263
|
+
|
|
264
|
+
error: {
|
|
265
|
+
noImage : 'No tracing image specified',
|
|
266
|
+
undefinedColors : 'No default colors specified.',
|
|
267
|
+
missingColor : 'Attempted to change color that does not exist',
|
|
268
|
+
missingPlugin : 'Blend onto plug-in must be included',
|
|
269
|
+
undefinedHeight : 'The width or height of image canvas could not be automatically determined. Please specify a height.'
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
};
|
|
273
|
+
|
|
274
|
+
})( jQuery, window , document );
|
|
@@ -0,0 +1,268 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* # Semantic UI 2.4.1 - Comment
|
|
3
|
+
* http://github.com/semantic-org/semantic-ui/
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
* Released under the MIT license
|
|
7
|
+
* http://opensource.org/licenses/MIT
|
|
8
|
+
*
|
|
9
|
+
*/
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
/*******************************
|
|
13
|
+
Standard
|
|
14
|
+
*******************************/
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
/*--------------
|
|
18
|
+
Comments
|
|
19
|
+
---------------*/
|
|
20
|
+
|
|
21
|
+
.ui.comments {
|
|
22
|
+
margin: 1.5em 0em;
|
|
23
|
+
max-width: 650px;
|
|
24
|
+
}
|
|
25
|
+
.ui.comments:first-child {
|
|
26
|
+
margin-top: 0em;
|
|
27
|
+
}
|
|
28
|
+
.ui.comments:last-child {
|
|
29
|
+
margin-bottom: 0em;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
/*--------------
|
|
33
|
+
Comment
|
|
34
|
+
---------------*/
|
|
35
|
+
|
|
36
|
+
.ui.comments .comment {
|
|
37
|
+
position: relative;
|
|
38
|
+
background: none;
|
|
39
|
+
margin: 0.5em 0em 0em;
|
|
40
|
+
padding: 0.5em 0em 0em;
|
|
41
|
+
border: none;
|
|
42
|
+
border-top: none;
|
|
43
|
+
line-height: 1.2;
|
|
44
|
+
}
|
|
45
|
+
.ui.comments .comment:first-child {
|
|
46
|
+
margin-top: 0em;
|
|
47
|
+
padding-top: 0em;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
/*--------------------
|
|
51
|
+
Nested Comments
|
|
52
|
+
---------------------*/
|
|
53
|
+
|
|
54
|
+
.ui.comments .comment .comments {
|
|
55
|
+
margin: 0em 0em 0.5em 0.5em;
|
|
56
|
+
padding: 1em 0em 1em 1em;
|
|
57
|
+
}
|
|
58
|
+
.ui.comments .comment .comments::before {
|
|
59
|
+
position: absolute;
|
|
60
|
+
top: 0px;
|
|
61
|
+
left: 0px;
|
|
62
|
+
}
|
|
63
|
+
.ui.comments .comment .comments .comment {
|
|
64
|
+
border: none;
|
|
65
|
+
border-top: none;
|
|
66
|
+
background: none;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
/*--------------
|
|
70
|
+
Avatar
|
|
71
|
+
---------------*/
|
|
72
|
+
|
|
73
|
+
.ui.comments .comment .avatar {
|
|
74
|
+
display: block;
|
|
75
|
+
width: 2.5em;
|
|
76
|
+
height: auto;
|
|
77
|
+
float: left;
|
|
78
|
+
margin: 0.2em 0em 0em;
|
|
79
|
+
}
|
|
80
|
+
.ui.comments .comment img.avatar,
|
|
81
|
+
.ui.comments .comment .avatar img {
|
|
82
|
+
display: block;
|
|
83
|
+
margin: 0em auto;
|
|
84
|
+
width: 100%;
|
|
85
|
+
height: 100%;
|
|
86
|
+
border-radius: 0.25rem;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
/*--------------
|
|
90
|
+
Content
|
|
91
|
+
---------------*/
|
|
92
|
+
|
|
93
|
+
.ui.comments .comment > .content {
|
|
94
|
+
display: block;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
/* If there is an avatar move content over */
|
|
98
|
+
.ui.comments .comment > .avatar ~ .content {
|
|
99
|
+
margin-left: 3.5em;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
/*--------------
|
|
103
|
+
Author
|
|
104
|
+
---------------*/
|
|
105
|
+
|
|
106
|
+
.ui.comments .comment .author {
|
|
107
|
+
font-size: 1em;
|
|
108
|
+
color: rgb(0 0 0 / 87%);
|
|
109
|
+
font-weight: bold;
|
|
110
|
+
}
|
|
111
|
+
.ui.comments .comment a.author {
|
|
112
|
+
cursor: pointer;
|
|
113
|
+
}
|
|
114
|
+
.ui.comments .comment a.author:hover {
|
|
115
|
+
color: #1e70bf;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
/*--------------
|
|
119
|
+
Metadata
|
|
120
|
+
---------------*/
|
|
121
|
+
|
|
122
|
+
.ui.comments .comment .metadata {
|
|
123
|
+
display: inline-block;
|
|
124
|
+
margin-left: 0.5em;
|
|
125
|
+
color: rgb(0 0 0 / 40%);
|
|
126
|
+
font-size: 0.875em;
|
|
127
|
+
}
|
|
128
|
+
.ui.comments .comment .metadata > * {
|
|
129
|
+
display: inline-block;
|
|
130
|
+
margin: 0em 0.5em 0em 0em;
|
|
131
|
+
}
|
|
132
|
+
.ui.comments .comment .metadata > :last-child {
|
|
133
|
+
margin-right: 0em;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
/*--------------------
|
|
137
|
+
Comment Text
|
|
138
|
+
---------------------*/
|
|
139
|
+
|
|
140
|
+
.ui.comments .comment .text {
|
|
141
|
+
margin: 0.25em 0em 0.5em;
|
|
142
|
+
font-size: 1em;
|
|
143
|
+
word-wrap: break-word;
|
|
144
|
+
color: rgb(0 0 0 / 87%);
|
|
145
|
+
line-height: 1.3;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
/*--------------------
|
|
149
|
+
User Actions
|
|
150
|
+
---------------------*/
|
|
151
|
+
|
|
152
|
+
.ui.comments .comment .actions {
|
|
153
|
+
font-size: 0.875em;
|
|
154
|
+
}
|
|
155
|
+
.ui.comments .comment .actions a {
|
|
156
|
+
cursor: pointer;
|
|
157
|
+
display: inline-block;
|
|
158
|
+
margin: 0em 0.75em 0em 0em;
|
|
159
|
+
color: rgb(0 0 0 / 40%);
|
|
160
|
+
}
|
|
161
|
+
.ui.comments .comment .actions a:last-child {
|
|
162
|
+
margin-right: 0em;
|
|
163
|
+
}
|
|
164
|
+
.ui.comments .comment .actions a.active,
|
|
165
|
+
.ui.comments .comment .actions a:hover {
|
|
166
|
+
color: rgb(0 0 0 / 80%);
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
/*--------------------
|
|
170
|
+
Reply Form
|
|
171
|
+
---------------------*/
|
|
172
|
+
|
|
173
|
+
.ui.comments > .reply.form {
|
|
174
|
+
margin-top: 1em;
|
|
175
|
+
}
|
|
176
|
+
.ui.comments .comment .reply.form {
|
|
177
|
+
width: 100%;
|
|
178
|
+
margin-top: 1em;
|
|
179
|
+
}
|
|
180
|
+
.ui.comments .reply.form textarea {
|
|
181
|
+
font-size: 1em;
|
|
182
|
+
height: 12em;
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
|
|
186
|
+
/*******************************
|
|
187
|
+
State
|
|
188
|
+
*******************************/
|
|
189
|
+
|
|
190
|
+
.ui.collapsed.comments,
|
|
191
|
+
.ui.comments .collapsed.comments,
|
|
192
|
+
.ui.comments .collapsed.comment {
|
|
193
|
+
display: none;
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
|
|
197
|
+
/*******************************
|
|
198
|
+
Variations
|
|
199
|
+
*******************************/
|
|
200
|
+
|
|
201
|
+
|
|
202
|
+
/*--------------------
|
|
203
|
+
Threaded
|
|
204
|
+
---------------------*/
|
|
205
|
+
|
|
206
|
+
.ui.threaded.comments .comment .comments {
|
|
207
|
+
margin: -1.5em 0 -1em 1.25em;
|
|
208
|
+
padding: 3em 0em 2em 2.25em;
|
|
209
|
+
box-shadow: -1px 0px 0px rgb(34 36 38 / 15%);
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
/*--------------------
|
|
213
|
+
Minimal
|
|
214
|
+
---------------------*/
|
|
215
|
+
|
|
216
|
+
.ui.minimal.comments .comment .actions {
|
|
217
|
+
opacity: 0;
|
|
218
|
+
position: absolute;
|
|
219
|
+
top: 0px;
|
|
220
|
+
right: 0px;
|
|
221
|
+
left: auto;
|
|
222
|
+
transition: opacity 0.2s ease;
|
|
223
|
+
transition-delay: 0.1s;
|
|
224
|
+
}
|
|
225
|
+
.ui.minimal.comments .comment > .content:hover > .actions {
|
|
226
|
+
opacity: 1;
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
/*-------------------
|
|
230
|
+
Sizes
|
|
231
|
+
--------------------*/
|
|
232
|
+
|
|
233
|
+
.ui.mini.comments {
|
|
234
|
+
font-size: 0.7857rem;
|
|
235
|
+
}
|
|
236
|
+
.ui.tiny.comments {
|
|
237
|
+
font-size: 0.8571rem;
|
|
238
|
+
}
|
|
239
|
+
.ui.small.comments {
|
|
240
|
+
font-size: 0.9285rem;
|
|
241
|
+
}
|
|
242
|
+
.ui.comments {
|
|
243
|
+
font-size: 1rem;
|
|
244
|
+
}
|
|
245
|
+
.ui.large.comments {
|
|
246
|
+
font-size: 1.1428rem;
|
|
247
|
+
}
|
|
248
|
+
.ui.big.comments {
|
|
249
|
+
font-size: 1.2857rem;
|
|
250
|
+
}
|
|
251
|
+
.ui.huge.comments {
|
|
252
|
+
font-size: 1.4285rem;
|
|
253
|
+
}
|
|
254
|
+
.ui.massive.comments {
|
|
255
|
+
font-size: 1.7142rem;
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
|
|
259
|
+
/*******************************
|
|
260
|
+
Theme Overrides
|
|
261
|
+
*******************************/
|
|
262
|
+
|
|
263
|
+
|
|
264
|
+
|
|
265
|
+
/*******************************
|
|
266
|
+
User Variable Overrides
|
|
267
|
+
*******************************/
|
|
268
|
+
|
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* # Semantic UI 2.4.1 - Container
|
|
3
|
+
* http://github.com/semantic-org/semantic-ui/
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
* Released under the MIT license
|
|
7
|
+
* http://opensource.org/licenses/MIT
|
|
8
|
+
*
|
|
9
|
+
*/
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
/*******************************
|
|
13
|
+
Container
|
|
14
|
+
*******************************/
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
/* All Sizes */
|
|
18
|
+
.ui.container {
|
|
19
|
+
display: block;
|
|
20
|
+
max-width: 100% !important;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
/* Mobile */
|
|
24
|
+
|
|
25
|
+
@media (width <= 767px) {
|
|
26
|
+
.ui.container {
|
|
27
|
+
width: auto !important;
|
|
28
|
+
margin-left: 1em !important;
|
|
29
|
+
margin-right: 1em !important;
|
|
30
|
+
}
|
|
31
|
+
.ui.grid.container {
|
|
32
|
+
width: auto !important;
|
|
33
|
+
}
|
|
34
|
+
.ui.relaxed.grid.container {
|
|
35
|
+
width: auto !important;
|
|
36
|
+
}
|
|
37
|
+
.ui.very.relaxed.grid.container {
|
|
38
|
+
width: auto !important;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
/* Tablet */
|
|
43
|
+
|
|
44
|
+
@media (width >= 768px) and (width <= 991px) {
|
|
45
|
+
.ui.container {
|
|
46
|
+
width: 723px;
|
|
47
|
+
margin-left: auto !important;
|
|
48
|
+
margin-right: auto !important;
|
|
49
|
+
}
|
|
50
|
+
.ui.grid.container {
|
|
51
|
+
width: calc( 723px + 2rem ) !important;
|
|
52
|
+
}
|
|
53
|
+
.ui.relaxed.grid.container {
|
|
54
|
+
width: calc( 723px + 3rem ) !important;
|
|
55
|
+
}
|
|
56
|
+
.ui.very.relaxed.grid.container {
|
|
57
|
+
width: calc( 723px + 5rem ) !important;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
/* Small Monitor */
|
|
62
|
+
|
|
63
|
+
@media (width >= 992px) and (width <= 1199px) {
|
|
64
|
+
.ui.container {
|
|
65
|
+
width: 933px;
|
|
66
|
+
margin-left: auto !important;
|
|
67
|
+
margin-right: auto !important;
|
|
68
|
+
}
|
|
69
|
+
.ui.grid.container {
|
|
70
|
+
width: calc( 933px + 2rem ) !important;
|
|
71
|
+
}
|
|
72
|
+
.ui.relaxed.grid.container {
|
|
73
|
+
width: calc( 933px + 3rem ) !important;
|
|
74
|
+
}
|
|
75
|
+
.ui.very.relaxed.grid.container {
|
|
76
|
+
width: calc( 933px + 5rem ) !important;
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
/* Large Monitor */
|
|
81
|
+
|
|
82
|
+
@media (width >= 1200px) {
|
|
83
|
+
.ui.container {
|
|
84
|
+
width: 1127px;
|
|
85
|
+
margin-left: auto !important;
|
|
86
|
+
margin-right: auto !important;
|
|
87
|
+
}
|
|
88
|
+
.ui.grid.container {
|
|
89
|
+
width: calc( 1127px + 2rem ) !important;
|
|
90
|
+
}
|
|
91
|
+
.ui.relaxed.grid.container {
|
|
92
|
+
width: calc( 1127px + 3rem ) !important;
|
|
93
|
+
}
|
|
94
|
+
.ui.very.relaxed.grid.container {
|
|
95
|
+
width: calc( 1127px + 5rem ) !important;
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
/*******************************
|
|
101
|
+
Types
|
|
102
|
+
*******************************/
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
/* Text Container */
|
|
106
|
+
.ui.text.container {
|
|
107
|
+
font-family: Lato, 'Helvetica Neue', Arial, Helvetica, sans-serif;
|
|
108
|
+
max-width: 700px !important;
|
|
109
|
+
line-height: 1.5;
|
|
110
|
+
}
|
|
111
|
+
.ui.text.container {
|
|
112
|
+
font-size: 1.1428rem;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
/* Fluid */
|
|
116
|
+
.ui.fluid.container {
|
|
117
|
+
width: 100%;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
/*******************************
|
|
122
|
+
Variations
|
|
123
|
+
*******************************/
|
|
124
|
+
|
|
125
|
+
.ui[class*="left aligned"].container {
|
|
126
|
+
text-align: left;
|
|
127
|
+
}
|
|
128
|
+
.ui[class*="center aligned"].container {
|
|
129
|
+
text-align: center;
|
|
130
|
+
}
|
|
131
|
+
.ui[class*="right aligned"].container {
|
|
132
|
+
text-align: right;
|
|
133
|
+
}
|
|
134
|
+
.ui.justified.container {
|
|
135
|
+
text-align: justify;
|
|
136
|
+
hyphens: auto;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
|
|
140
|
+
/*******************************
|
|
141
|
+
Theme Overrides
|
|
142
|
+
*******************************/
|
|
143
|
+
|
|
144
|
+
|
|
145
|
+
|
|
146
|
+
/*******************************
|
|
147
|
+
Site Overrides
|
|
148
|
+
*******************************/
|
|
149
|
+
|