Fix for #183
parent
3163b4dcf9
commit
ec9137d698
@ -1,22 +0,0 @@
|
|||||||
The MIT License (MIT)
|
|
||||||
|
|
||||||
Copyright (c) 2015 Semantic Org
|
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
||||||
of this software and associated documentation files (the "Software"), to deal
|
|
||||||
in the Software without restriction, including without limitation the rights
|
|
||||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
||||||
copies of the Software, and to permit persons to whom the Software is
|
|
||||||
furnished to do so, subject to the following conditions:
|
|
||||||
|
|
||||||
The above copyright notice and this permission notice shall be included in all
|
|
||||||
copies or substantial portions of the Software.
|
|
||||||
|
|
||||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
||||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
||||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
||||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
||||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
||||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
||||||
SOFTWARE.
|
|
||||||
|
|
@ -1,7 +0,0 @@
|
|||||||
# CSS Distribution
|
|
||||||
|
|
||||||
This repository is automatically synced with the main [Semantic UI](https://github.com/Semantic-Org/Semantic-UI) repository to provide lightweight CSS only version of Semantic UI.
|
|
||||||
|
|
||||||
This package **does not support theming** and includes generated CSS files of the default theme only.
|
|
||||||
|
|
||||||
You can view more on Semantic UI at [LearnSemantic.com](http://www.learnsemantic.com) and [Semantic-UI.com](http://www.semantic-ui.com)
|
|
@ -1,274 +0,0 @@
|
|||||||
/*!
|
|
||||||
* # Semantic UI 2.0.0 - Colorize
|
|
||||||
* http://github.com/semantic-org/semantic-ui/
|
|
||||||
*
|
|
||||||
*
|
|
||||||
* Copyright 2015 Contributors
|
|
||||||
* Released under the MIT license
|
|
||||||
* http://opensource.org/licenses/MIT
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
|
|
||||||
;(function ( $, window, document, undefined ) {
|
|
||||||
|
|
||||||
"use strict";
|
|
||||||
|
|
||||||
$.fn.colorize = function(parameters) {
|
|
||||||
var
|
|
||||||
settings = ( $.isPlainObject(parameters) )
|
|
||||||
? $.extend(true, {}, $.fn.colorize.settings, parameters)
|
|
||||||
: $.extend({}, $.fn.colorize.settings),
|
|
||||||
// hoist arguments
|
|
||||||
moduleArguments = arguments || false
|
|
||||||
;
|
|
||||||
$(this)
|
|
||||||
.each(function(instanceIndex) {
|
|
||||||
|
|
||||||
var
|
|
||||||
$module = $(this),
|
|
||||||
|
|
||||||
mainCanvas = $('<canvas />')[0],
|
|
||||||
imageCanvas = $('<canvas />')[0],
|
|
||||||
overlayCanvas = $('<canvas />')[0],
|
|
||||||
|
|
||||||
backgroundImage = new Image(),
|
|
||||||
|
|
||||||
// defs
|
|
||||||
mainContext,
|
|
||||||
imageContext,
|
|
||||||
overlayContext,
|
|
||||||
|
|
||||||
image,
|
|
||||||
imageName,
|
|
||||||
|
|
||||||
width,
|
|
||||||
height,
|
|
||||||
|
|
||||||
// shortcuts
|
|
||||||
colors = settings.colors,
|
|
||||||
paths = settings.paths,
|
|
||||||
namespace = settings.namespace,
|
|
||||||
error = settings.error,
|
|
||||||
|
|
||||||
// boilerplate
|
|
||||||
instance = $module.data('module-' + namespace),
|
|
||||||
module
|
|
||||||
;
|
|
||||||
|
|
||||||
module = {
|
|
||||||
|
|
||||||
checkPreconditions: function() {
|
|
||||||
module.debug('Checking pre-conditions');
|
|
||||||
|
|
||||||
if( !$.isPlainObject(colors) || $.isEmptyObject(colors) ) {
|
|
||||||
module.error(error.undefinedColors);
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
return true;
|
|
||||||
},
|
|
||||||
|
|
||||||
async: function(callback) {
|
|
||||||
if(settings.async) {
|
|
||||||
setTimeout(callback, 0);
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
callback();
|
|
||||||
}
|
|
||||||
},
|
|
||||||
|
|
||||||
getMetadata: function() {
|
|
||||||
module.debug('Grabbing metadata');
|
|
||||||
image = $module.data('image') || settings.image || undefined;
|
|
||||||
imageName = $module.data('name') || settings.name || instanceIndex;
|
|
||||||
width = settings.width || $module.width();
|
|
||||||
height = settings.height || $module.height();
|
|
||||||
if(width === 0 || height === 0) {
|
|
||||||
module.error(error.undefinedSize);
|
|
||||||
}
|
|
||||||
},
|
|
||||||
|
|
||||||
initialize: function() {
|
|
||||||
module.debug('Initializing with colors', colors);
|
|
||||||
if( module.checkPreconditions() ) {
|
|
||||||
|
|
||||||
module.async(function() {
|
|
||||||
module.getMetadata();
|
|
||||||
module.canvas.create();
|
|
||||||
|
|
||||||
module.draw.image(function() {
|
|
||||||
module.draw.colors();
|
|
||||||
module.canvas.merge();
|
|
||||||
});
|
|
||||||
$module
|
|
||||||
.data('module-' + namespace, module)
|
|
||||||
;
|
|
||||||
});
|
|
||||||
}
|
|
||||||
},
|
|
||||||
|
|
||||||
redraw: function() {
|
|
||||||
module.debug('Redrawing image');
|
|
||||||
module.async(function() {
|
|
||||||
module.canvas.clear();
|
|
||||||
module.draw.colors();
|
|
||||||
module.canvas.merge();
|
|
||||||
});
|
|
||||||
},
|
|
||||||
|
|
||||||
change: {
|
|
||||||
color: function(colorName, color) {
|
|
||||||
module.debug('Changing color', colorName);
|
|
||||||
if(colors[colorName] === undefined) {
|
|
||||||
module.error(error.missingColor);
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
colors[colorName] = color;
|
|
||||||
module.redraw();
|
|
||||||
}
|
|
||||||
},
|
|
||||||
|
|
||||||
canvas: {
|
|
||||||
create: function() {
|
|
||||||
module.debug('Creating canvases');
|
|
||||||
|
|
||||||
mainCanvas.width = width;
|
|
||||||
mainCanvas.height = height;
|
|
||||||
imageCanvas.width = width;
|
|
||||||
imageCanvas.height = height;
|
|
||||||
overlayCanvas.width = width;
|
|
||||||
overlayCanvas.height = height;
|
|
||||||
|
|
||||||
mainContext = mainCanvas.getContext('2d');
|
|
||||||
imageContext = imageCanvas.getContext('2d');
|
|
||||||
overlayContext = overlayCanvas.getContext('2d');
|
|
||||||
|
|
||||||
$module
|
|
||||||
.append( mainCanvas )
|
|
||||||
;
|
|
||||||
mainContext = $module.children('canvas')[0].getContext('2d');
|
|
||||||
},
|
|
||||||
clear: function(context) {
|
|
||||||
module.debug('Clearing canvas');
|
|
||||||
overlayContext.fillStyle = '#FFFFFF';
|
|
||||||
overlayContext.fillRect(0, 0, width, height);
|
|
||||||
},
|
|
||||||
merge: function() {
|
|
||||||
if( !$.isFunction(mainContext.blendOnto) ) {
|
|
||||||
module.error(error.missingPlugin);
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
mainContext.putImageData( imageContext.getImageData(0, 0, width, height), 0, 0);
|
|
||||||
overlayContext.blendOnto(mainContext, 'multiply');
|
|
||||||
}
|
|
||||||
},
|
|
||||||
|
|
||||||
draw: {
|
|
||||||
|
|
||||||
image: function(callback) {
|
|
||||||
module.debug('Drawing image');
|
|
||||||
callback = callback || function(){};
|
|
||||||
if(image) {
|
|
||||||
backgroundImage.src = image;
|
|
||||||
backgroundImage.onload = function() {
|
|
||||||
imageContext.drawImage(backgroundImage, 0, 0);
|
|
||||||
callback();
|
|
||||||
};
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
module.error(error.noImage);
|
|
||||||
callback();
|
|
||||||
}
|
|
||||||
},
|
|
||||||
|
|
||||||
colors: function() {
|
|
||||||
module.debug('Drawing color overlays', colors);
|
|
||||||
$.each(colors, function(colorName, color) {
|
|
||||||
settings.onDraw(overlayContext, imageName, colorName, color);
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
},
|
|
||||||
|
|
||||||
debug: function(message, variableName) {
|
|
||||||
if(settings.debug) {
|
|
||||||
if(variableName !== undefined) {
|
|
||||||
console.info(settings.name + ': ' + message, variableName);
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
console.info(settings.name + ': ' + message);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
error: function(errorMessage) {
|
|
||||||
console.warn(settings.name + ': ' + errorMessage);
|
|
||||||
},
|
|
||||||
invoke: function(methodName, context, methodArguments) {
|
|
||||||
var
|
|
||||||
method
|
|
||||||
;
|
|
||||||
methodArguments = methodArguments || Array.prototype.slice.call( arguments, 2 );
|
|
||||||
|
|
||||||
if(typeof methodName == 'string' && instance !== undefined) {
|
|
||||||
methodName = methodName.split('.');
|
|
||||||
$.each(methodName, function(index, name) {
|
|
||||||
if( $.isPlainObject( instance[name] ) ) {
|
|
||||||
instance = instance[name];
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
else if( $.isFunction( instance[name] ) ) {
|
|
||||||
method = instance[name];
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
module.error(settings.error.method);
|
|
||||||
return false;
|
|
||||||
});
|
|
||||||
}
|
|
||||||
return ( $.isFunction( method ) )
|
|
||||||
? method.apply(context, methodArguments)
|
|
||||||
: false
|
|
||||||
;
|
|
||||||
}
|
|
||||||
|
|
||||||
};
|
|
||||||
if(instance !== undefined && moduleArguments) {
|
|
||||||
// simpler than invoke realizing to invoke itself (and losing scope due prototype.call()
|
|
||||||
if(moduleArguments[0] == 'invoke') {
|
|
||||||
moduleArguments = Array.prototype.slice.call( moduleArguments, 1 );
|
|
||||||
}
|
|
||||||
return module.invoke(moduleArguments[0], this, Array.prototype.slice.call( moduleArguments, 1 ) );
|
|
||||||
}
|
|
||||||
// initializing
|
|
||||||
module.initialize();
|
|
||||||
})
|
|
||||||
;
|
|
||||||
return this;
|
|
||||||
};
|
|
||||||
|
|
||||||
$.fn.colorize.settings = {
|
|
||||||
name : 'Image Colorizer',
|
|
||||||
debug : true,
|
|
||||||
namespace : 'colorize',
|
|
||||||
|
|
||||||
onDraw : function(overlayContext, imageName, colorName, color) {},
|
|
||||||
|
|
||||||
// whether to block execution while updating canvas
|
|
||||||
async : true,
|
|
||||||
// object containing names and default values of color regions
|
|
||||||
colors : {},
|
|
||||||
|
|
||||||
metadata: {
|
|
||||||
image : 'image',
|
|
||||||
name : 'name'
|
|
||||||
},
|
|
||||||
|
|
||||||
error: {
|
|
||||||
noImage : 'No tracing image specified',
|
|
||||||
undefinedColors : 'No default colors specified.',
|
|
||||||
missingColor : 'Attempted to change color that does not exist',
|
|
||||||
missingPlugin : 'Blend onto plug-in must be included',
|
|
||||||
undefinedHeight : 'The width or height of image canvas could not be automatically determined. Please specify a height.'
|
|
||||||
}
|
|
||||||
|
|
||||||
};
|
|
||||||
|
|
||||||
})( jQuery, window , document );
|
|
@ -1,11 +0,0 @@
|
|||||||
/*!
|
|
||||||
* # Semantic UI 2.0.0 - Colorize
|
|
||||||
* http://github.com/semantic-org/semantic-ui/
|
|
||||||
*
|
|
||||||
*
|
|
||||||
* Copyright 2015 Contributors
|
|
||||||
* Released under the MIT license
|
|
||||||
* http://opensource.org/licenses/MIT
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
!function(e,n,i,t){"use strict";e.fn.colorize=function(n){var i=e.isPlainObject(n)?e.extend(!0,{},e.fn.colorize.settings,n):e.extend({},e.fn.colorize.settings),o=arguments||!1;return e(this).each(function(n){var a,r,c,s,d,g,u,l,m=e(this),f=e("<canvas />")[0],h=e("<canvas />")[0],p=e("<canvas />")[0],v=new Image,w=i.colors,b=(i.paths,i.namespace),y=i.error,C=m.data("module-"+b);return l={checkPreconditions:function(){return l.debug("Checking pre-conditions"),!e.isPlainObject(w)||e.isEmptyObject(w)?(l.error(y.undefinedColors),!1):!0},async:function(e){i.async?setTimeout(e,0):e()},getMetadata:function(){l.debug("Grabbing metadata"),s=m.data("image")||i.image||t,d=m.data("name")||i.name||n,g=i.width||m.width(),u=i.height||m.height(),(0===g||0===u)&&l.error(y.undefinedSize)},initialize:function(){l.debug("Initializing with colors",w),l.checkPreconditions()&&l.async(function(){l.getMetadata(),l.canvas.create(),l.draw.image(function(){l.draw.colors(),l.canvas.merge()}),m.data("module-"+b,l)})},redraw:function(){l.debug("Redrawing image"),l.async(function(){l.canvas.clear(),l.draw.colors(),l.canvas.merge()})},change:{color:function(e,n){return l.debug("Changing color",e),w[e]===t?(l.error(y.missingColor),!1):(w[e]=n,void l.redraw())}},canvas:{create:function(){l.debug("Creating canvases"),f.width=g,f.height=u,h.width=g,h.height=u,p.width=g,p.height=u,a=f.getContext("2d"),r=h.getContext("2d"),c=p.getContext("2d"),m.append(f),a=m.children("canvas")[0].getContext("2d")},clear:function(e){l.debug("Clearing canvas"),c.fillStyle="#FFFFFF",c.fillRect(0,0,g,u)},merge:function(){return e.isFunction(a.blendOnto)?(a.putImageData(r.getImageData(0,0,g,u),0,0),void c.blendOnto(a,"multiply")):void l.error(y.missingPlugin)}},draw:{image:function(e){l.debug("Drawing image"),e=e||function(){},s?(v.src=s,v.onload=function(){r.drawImage(v,0,0),e()}):(l.error(y.noImage),e())},colors:function(){l.debug("Drawing color overlays",w),e.each(w,function(e,n){i.onDraw(c,d,e,n)})}},debug:function(e,n){i.debug&&(n!==t?console.info(i.name+": "+e,n):console.info(i.name+": "+e))},error:function(e){console.warn(i.name+": "+e)},invoke:function(n,o,a){var r;return a=a||Array.prototype.slice.call(arguments,2),"string"==typeof n&&C!==t&&(n=n.split("."),e.each(n,function(n,t){return e.isPlainObject(C[t])?(C=C[t],!0):e.isFunction(C[t])?(r=C[t],!0):(l.error(i.error.method),!1)})),e.isFunction(r)?r.apply(o,a):!1}},C!==t&&o?("invoke"==o[0]&&(o=Array.prototype.slice.call(o,1)),l.invoke(o[0],this,Array.prototype.slice.call(o,1))):void l.initialize()}),this},e.fn.colorize.settings={name:"Image Colorizer",debug:!0,namespace:"colorize",onDraw:function(e,n,i,t){},async:!0,colors:{},metadata:{image:"image",name:"name"},error:{noImage:"No tracing image specified",undefinedColors:"No default colors specified.",missingColor:"Attempted to change color that does not exist",missingPlugin:"Blend onto plug-in must be included",undefinedHeight:"The width or height of image canvas could not be automatically determined. Please specify a height."}}}(jQuery,window,document);
|
|
@ -1,9 +1,9 @@
|
|||||||
/*!
|
/*!
|
||||||
* # Semantic UI 2.3.3 - Dimmer
|
* # Semantic UI 2.4.0 - Dimmer
|
||||||
* http://github.com/semantic-org/semantic-ui/
|
* http://github.com/semantic-org/semantic-ui/
|
||||||
*
|
*
|
||||||
*
|
*
|
||||||
* Released under the MIT license
|
* Released under the MIT license
|
||||||
* http://opensource.org/licenses/MIT
|
* http://opensource.org/licenses/MIT
|
||||||
*
|
*
|
||||||
*/.dimmable:not(body){position:relative}.ui.dimmer{display:none;position:absolute;top:0!important;left:0!important;width:100%;height:100%;text-align:center;vertical-align:middle;padding:1em;background-color:rgba(0,0,0,.85);opacity:0;line-height:1;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:.5s;animation-duration:.5s;-webkit-transition:background-color .5s linear;transition:background-color .5s linear;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;will-change:opacity;z-index:1000}.ui.dimmer>.content{-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text;color:#fff}.ui.segment>.ui.dimmer{border-radius:inherit!important}.ui.dimmer:not(.inverted)::-webkit-scrollbar-track{background:rgba(255,255,255,.1)}.ui.dimmer:not(.inverted)::-webkit-scrollbar-thumb{background:rgba(255,255,255,.25)}.ui.dimmer:not(.inverted)::-webkit-scrollbar-thumb:window-inactive{background:rgba(255,255,255,.15)}.ui.dimmer:not(.inverted)::-webkit-scrollbar-thumb:hover{background:rgba(255,255,255,.35)}.animating.dimmable:not(body),.dimmed.dimmable:not(body){overflow:hidden}.dimmed.dimmable>.ui.animating.dimmer,.dimmed.dimmable>.ui.visible.dimmer,.ui.active.dimmer{display:-webkit-box;display:-ms-flexbox;display:flex;opacity:1}.ui.disabled.dimmer{width:0!important;height:0!important}.ui[class*="top aligned"].dimmer{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}.ui[class*="bottom aligned"].dimmer{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.ui.page.dimmer{position:fixed;-webkit-transform-style:'';transform-style:'';-webkit-perspective:2000px;perspective:2000px;-webkit-transform-origin:center center;transform-origin:center center}body.animating.in.dimmable,body.dimmed.dimmable{overflow:hidden}body.dimmable>.dimmer{position:fixed}.blurring.dimmable>:not(.dimmer){-webkit-filter:blur(0) grayscale(0);filter:blur(0) grayscale(0);-webkit-transition:.8s -webkit-filter ease;transition:.8s -webkit-filter ease;transition:.8s filter ease;transition:.8s filter ease,.8s -webkit-filter ease}.blurring.dimmed.dimmable>:not(.dimmer){-webkit-filter:blur(5px) grayscale(.7);filter:blur(5px) grayscale(.7)}.blurring.dimmable>.dimmer{background-color:rgba(0,0,0,.6)}.blurring.dimmable>.inverted.dimmer{background-color:rgba(255,255,255,.6)}.ui.dimmer>.top.aligned.content>*{vertical-align:top}.ui.dimmer>.bottom.aligned.content>*{vertical-align:bottom}.ui.inverted.dimmer{background-color:rgba(255,255,255,.85)}.ui.inverted.dimmer>.content>*{color:#fff}.ui.simple.dimmer{display:block;overflow:hidden;opacity:1;width:0%;height:0%;z-index:-100;background-color:rgba(0,0,0,0)}.dimmed.dimmable>.ui.simple.dimmer{overflow:visible;opacity:1;width:100%;height:100%;background-color:rgba(0,0,0,.85);z-index:1}.ui.simple.inverted.dimmer{background-color:rgba(255,255,255,0)}.dimmed.dimmable>.ui.simple.inverted.dimmer{background-color:rgba(255,255,255,.85)}
|
*/.dimmable:not(body){position:relative}.ui.dimmer{display:none;position:absolute;top:0!important;left:0!important;width:100%;height:100%;text-align:center;vertical-align:middle;padding:1em;background-color:rgba(0,0,0,.85);opacity:0;line-height:1;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:.5s;animation-duration:.5s;-webkit-transition:background-color .5s linear;transition:background-color .5s linear;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;will-change:opacity;z-index:1000}.ui.dimmer>.content{-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text;color:#fff}.ui.segment>.ui.dimmer{border-radius:inherit!important}.ui.dimmer:not(.inverted)::-webkit-scrollbar-track{background:rgba(255,255,255,.1)}.ui.dimmer:not(.inverted)::-webkit-scrollbar-thumb{background:rgba(255,255,255,.25)}.ui.dimmer:not(.inverted)::-webkit-scrollbar-thumb:window-inactive{background:rgba(255,255,255,.15)}.ui.dimmer:not(.inverted)::-webkit-scrollbar-thumb:hover{background:rgba(255,255,255,.35)}.animating.dimmable:not(body),.dimmed.dimmable:not(body){overflow:hidden}.dimmed.dimmable>.ui.animating.dimmer,.dimmed.dimmable>.ui.visible.dimmer,.ui.active.dimmer{display:-webkit-box;display:-ms-flexbox;display:flex;opacity:1}.ui.disabled.dimmer{width:0!important;height:0!important}.dimmed.dimmable>.ui.animating.legacy.dimmer,.dimmed.dimmable>.ui.visible.legacy.dimmer,.ui.active.legacy.dimmer{display:block}.ui[class*="top aligned"].dimmer{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}.ui[class*="bottom aligned"].dimmer{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.ui.page.dimmer{position:fixed;-webkit-transform-style:'';transform-style:'';-webkit-perspective:2000px;perspective:2000px;-webkit-transform-origin:center center;transform-origin:center center}body.animating.in.dimmable,body.dimmed.dimmable{overflow:hidden}body.dimmable>.dimmer{position:fixed}.blurring.dimmable>:not(.dimmer){-webkit-filter:blur(0) grayscale(0);filter:blur(0) grayscale(0);-webkit-transition:.8s -webkit-filter ease;transition:.8s -webkit-filter ease;transition:.8s filter ease;transition:.8s filter ease,.8s -webkit-filter ease}.blurring.dimmed.dimmable>:not(.dimmer){-webkit-filter:blur(5px) grayscale(.7);filter:blur(5px) grayscale(.7)}.blurring.dimmable>.dimmer{background-color:rgba(0,0,0,.6)}.blurring.dimmable>.inverted.dimmer{background-color:rgba(255,255,255,.6)}.ui.dimmer>.top.aligned.content>*{vertical-align:top}.ui.dimmer>.bottom.aligned.content>*{vertical-align:bottom}.ui.inverted.dimmer{background-color:rgba(255,255,255,.85)}.ui.inverted.dimmer>.content>*{color:#fff}.ui.simple.dimmer{display:block;overflow:hidden;opacity:1;width:0%;height:0%;z-index:-100;background-color:rgba(0,0,0,0)}.dimmed.dimmable>.ui.simple.dimmer{overflow:visible;opacity:1;width:100%;height:100%;background-color:rgba(0,0,0,.85);z-index:1}.ui.simple.inverted.dimmer{background-color:rgba(255,255,255,0)}.dimmed.dimmable>.ui.simple.inverted.dimmer{background-color:rgba(255,255,255,.85)}
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -0,0 +1,239 @@
|
|||||||
|
/*!
|
||||||
|
* # Semantic UI 2.4.0 - Loader
|
||||||
|
* http://github.com/semantic-org/semantic-ui/
|
||||||
|
*
|
||||||
|
*
|
||||||
|
* Released under the MIT license
|
||||||
|
* http://opensource.org/licenses/MIT
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*-------------------
|
||||||
|
Content
|
||||||
|
--------------------*/
|
||||||
|
|
||||||
|
.ui.placeholder {
|
||||||
|
position: static;
|
||||||
|
overflow: hidden;
|
||||||
|
-webkit-animation: placeholderShimmer 2s linear;
|
||||||
|
animation: placeholderShimmer 2s linear;
|
||||||
|
-webkit-animation-iteration-count: infinite;
|
||||||
|
animation-iteration-count: infinite;
|
||||||
|
background-color: #FFFFFF;
|
||||||
|
background-image: -webkit-gradient(linear, left top, right top, from(rgba(0, 0, 0, 0.08)), color-stop(15%, rgba(0, 0, 0, 0.15)), color-stop(30%, rgba(0, 0, 0, 0.08)));
|
||||||
|
background-image: -webkit-linear-gradient(left, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.15) 15%, rgba(0, 0, 0, 0.08) 30%);
|
||||||
|
background-image: linear-gradient(to right, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.15) 15%, rgba(0, 0, 0, 0.08) 30%);
|
||||||
|
background-size: 1200px 100%;
|
||||||
|
max-width: 30rem;
|
||||||
|
}
|
||||||
|
@-webkit-keyframes placeholderShimmer {
|
||||||
|
0% {
|
||||||
|
background-position: -1200px 0;
|
||||||
|
}
|
||||||
|
100% {
|
||||||
|
background-position: 1200px 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@keyframes placeholderShimmer {
|
||||||
|
0% {
|
||||||
|
background-position: -1200px 0;
|
||||||
|
}
|
||||||
|
100% {
|
||||||
|
background-position: 1200px 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.ui.placeholder + .ui.placeholder {
|
||||||
|
margin-top: 2rem;
|
||||||
|
}
|
||||||
|
.ui.placeholder + .ui.placeholder {
|
||||||
|
-webkit-animation-delay: 0.15s;
|
||||||
|
animation-delay: 0.15s;
|
||||||
|
}
|
||||||
|
.ui.placeholder + .ui.placeholder + .ui.placeholder {
|
||||||
|
-webkit-animation-delay: 0.3s;
|
||||||
|
animation-delay: 0.3s;
|
||||||
|
}
|
||||||
|
.ui.placeholder + .ui.placeholder + .ui.placeholder + .ui.placeholder {
|
||||||
|
-webkit-animation-delay: 0.45s;
|
||||||
|
animation-delay: 0.45s;
|
||||||
|
}
|
||||||
|
.ui.placeholder + .ui.placeholder + .ui.placeholder + .ui.placeholder + .ui.placeholder {
|
||||||
|
-webkit-animation-delay: 0.6s;
|
||||||
|
animation-delay: 0.6s;
|
||||||
|
}
|
||||||
|
.ui.placeholder,
|
||||||
|
.ui.placeholder > :before,
|
||||||
|
.ui.placeholder .image.header:after,
|
||||||
|
.ui.placeholder .line,
|
||||||
|
.ui.placeholder .line:after {
|
||||||
|
background-color: #FFFFFF;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Image */
|
||||||
|
.ui.placeholder .image:not(.header):not(.ui) {
|
||||||
|
height: 100px;
|
||||||
|
}
|
||||||
|
.ui.placeholder .square.image:not(.header) {
|
||||||
|
height: 0px;
|
||||||
|
overflow: hidden;
|
||||||
|
|
||||||
|
/* 1/1 aspect ratio */
|
||||||
|
padding-top: 100%;
|
||||||
|
}
|
||||||
|
.ui.placeholder .rectangular.image:not(.header) {
|
||||||
|
height: 0px;
|
||||||
|
overflow: hidden;
|
||||||
|
|
||||||
|
/* 4/3 aspect ratio */
|
||||||
|
padding-top: 75%;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Lines */
|
||||||
|
.ui.placeholder .line {
|
||||||
|
position: relative;
|
||||||
|
height: 0.85714286em;
|
||||||
|
}
|
||||||
|
.ui.placeholder .line:before,
|
||||||
|
.ui.placeholder .line:after {
|
||||||
|
top: 100%;
|
||||||
|
position: absolute;
|
||||||
|
content: '';
|
||||||
|
background-color: inherit;
|
||||||
|
}
|
||||||
|
.ui.placeholder .line:before {
|
||||||
|
left: 0px;
|
||||||
|
}
|
||||||
|
.ui.placeholder .line:after {
|
||||||
|
right: 0px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Any Lines */
|
||||||
|
.ui.placeholder .line {
|
||||||
|
margin-bottom: 0.5em;
|
||||||
|
}
|
||||||
|
.ui.placeholder .line:before,
|
||||||
|
.ui.placeholder .line:after {
|
||||||
|
height: 0.5em;
|
||||||
|
}
|
||||||
|
.ui.placeholder .line:not(:first-child) {
|
||||||
|
margin-top: 0.5em;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Header Image + 2 Lines */
|
||||||
|
.ui.placeholder .header {
|
||||||
|
position: relative;
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Line Outdent */
|
||||||
|
.ui.placeholder .line:nth-child(1):after {
|
||||||
|
width: 0%;
|
||||||
|
}
|
||||||
|
.ui.placeholder .line:nth-child(2):after {
|
||||||
|
width: 50%;
|
||||||
|
}
|
||||||
|
.ui.placeholder .line:nth-child(3):after {
|
||||||
|
width: 10%;
|
||||||
|
}
|
||||||
|
.ui.placeholder .line:nth-child(4):after {
|
||||||
|
width: 35%;
|
||||||
|
}
|
||||||
|
.ui.placeholder .line:nth-child(5):after {
|
||||||
|
width: 65%;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Header Line 1 & 2*/
|
||||||
|
.ui.placeholder .header .line {
|
||||||
|
margin-bottom: 0.64285714em;
|
||||||
|
}
|
||||||
|
.ui.placeholder .header .line:before,
|
||||||
|
.ui.placeholder .header .line:after {
|
||||||
|
height: 0.64285714em;
|
||||||
|
}
|
||||||
|
.ui.placeholder .header .line:not(:first-child) {
|
||||||
|
margin-top: 0.64285714em;
|
||||||
|
}
|
||||||
|
.ui.placeholder .header .line:after {
|
||||||
|
width: 20%;
|
||||||
|
}
|
||||||
|
.ui.placeholder .header .line:nth-child(2):after {
|
||||||
|
width: 60%;
|
||||||
|
}
|
||||||
|
/* Image Header */
|
||||||
|
.ui.placeholder .image.header .line {
|
||||||
|
margin-left: 3em;
|
||||||
|
}
|
||||||
|
.ui.placeholder .image.header .line:before {
|
||||||
|
width: 0.71428571rem;
|
||||||
|
}
|
||||||
|
.ui.placeholder .image.header:after {
|
||||||
|
display: block;
|
||||||
|
height: 0.85714286em;
|
||||||
|
content: '';
|
||||||
|
margin-left: 3em;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Spacing */
|
||||||
|
.ui.placeholder .image .line:first-child,
|
||||||
|
.ui.placeholder .paragraph .line:first-child,
|
||||||
|
.ui.placeholder .header .line:first-child {
|
||||||
|
height: 0.01px;
|
||||||
|
}
|
||||||
|
.ui.placeholder .image:not(:first-child):before,
|
||||||
|
.ui.placeholder .paragraph:not(:first-child):before,
|
||||||
|
.ui.placeholder .header:not(:first-child):before {
|
||||||
|
height: 1.42857143em;
|
||||||
|
content: '';
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Inverted Content Loader */
|
||||||
|
.ui.inverted.placeholder {
|
||||||
|
background-image: -webkit-gradient(linear, left top, right top, from(rgba(255, 255, 255, 0.08)), color-stop(15%, rgba(255, 255, 255, 0.14)), color-stop(30%, rgba(255, 255, 255, 0.08)));
|
||||||
|
background-image: -webkit-linear-gradient(left, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.14) 15%, rgba(255, 255, 255, 0.08) 30%);
|
||||||
|
background-image: linear-gradient(to right, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.14) 15%, rgba(255, 255, 255, 0.08) 30%);
|
||||||
|
}
|
||||||
|
.ui.inverted.placeholder,
|
||||||
|
.ui.inverted.placeholder > :before,
|
||||||
|
.ui.inverted.placeholder .image.header:after,
|
||||||
|
.ui.inverted.placeholder .line,
|
||||||
|
.ui.inverted.placeholder .line:after {
|
||||||
|
background-color: #1B1C1D;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/*******************************
|
||||||
|
Variations
|
||||||
|
*******************************/
|
||||||
|
|
||||||
|
|
||||||
|
/*-------------------
|
||||||
|
Sizes
|
||||||
|
--------------------*/
|
||||||
|
|
||||||
|
.ui.placeholder .full.line.line.line:after {
|
||||||
|
width: 0%;
|
||||||
|
}
|
||||||
|
.ui.placeholder .very.long.line.line.line:after {
|
||||||
|
width: 10%;
|
||||||
|
}
|
||||||
|
.ui.placeholder .long.line.line.line:after {
|
||||||
|
width: 35%;
|
||||||
|
}
|
||||||
|
.ui.placeholder .medium.line.line.line:after {
|
||||||
|
width: 50%;
|
||||||
|
}
|
||||||
|
.ui.placeholder .short.line.line.line:after {
|
||||||
|
width: 65%;
|
||||||
|
}
|
||||||
|
.ui.placeholder .very.short.line.line.line:after {
|
||||||
|
width: 80%;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*-------------------
|
||||||
|
Fluid
|
||||||
|
--------------------*/
|
||||||
|
|
||||||
|
.ui.fluid.placeholder {
|
||||||
|
max-width: none;
|
||||||
|
}
|
@ -0,0 +1,9 @@
|
|||||||
|
/*!
|
||||||
|
* # Semantic UI 2.4.0 - Loader
|
||||||
|
* http://github.com/semantic-org/semantic-ui/
|
||||||
|
*
|
||||||
|
*
|
||||||
|
* Released under the MIT license
|
||||||
|
* http://opensource.org/licenses/MIT
|
||||||
|
*
|
||||||
|
*/.ui.placeholder{position:static;overflow:hidden;-webkit-animation:placeholderShimmer 2s linear;animation:placeholderShimmer 2s linear;-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite;background-color:#fff;background-image:-webkit-gradient(linear,left top,right top,from(rgba(0,0,0,.08)),color-stop(15%,rgba(0,0,0,.15)),color-stop(30%,rgba(0,0,0,.08)));background-image:-webkit-linear-gradient(left,rgba(0,0,0,.08) 0,rgba(0,0,0,.15) 15%,rgba(0,0,0,.08) 30%);background-image:linear-gradient(to right,rgba(0,0,0,.08) 0,rgba(0,0,0,.15) 15%,rgba(0,0,0,.08) 30%);background-size:1200px 100%;max-width:30rem}@-webkit-keyframes placeholderShimmer{0%{background-position:-1200px 0}100%{background-position:1200px 0}}@keyframes placeholderShimmer{0%{background-position:-1200px 0}100%{background-position:1200px 0}}.ui.placeholder+.ui.placeholder{margin-top:2rem}.ui.placeholder+.ui.placeholder{-webkit-animation-delay:.15s;animation-delay:.15s}.ui.placeholder+.ui.placeholder+.ui.placeholder{-webkit-animation-delay:.3s;animation-delay:.3s}.ui.placeholder+.ui.placeholder+.ui.placeholder+.ui.placeholder{-webkit-animation-delay:.45s;animation-delay:.45s}.ui.placeholder+.ui.placeholder+.ui.placeholder+.ui.placeholder+.ui.placeholder{-webkit-animation-delay:.6s;animation-delay:.6s}.ui.placeholder,.ui.placeholder .image.header:after,.ui.placeholder .line,.ui.placeholder .line:after,.ui.placeholder>:before{background-color:#fff}.ui.placeholder .image:not(.header):not(.ui){height:100px}.ui.placeholder .square.image:not(.header){height:0;overflow:hidden;padding-top:100%}.ui.placeholder .rectangular.image:not(.header){height:0;overflow:hidden;padding-top:75%}.ui.placeholder .line{position:relative;height:.85714286em}.ui.placeholder .line:after,.ui.placeholder .line:before{top:100%;position:absolute;content:'';background-color:inherit}.ui.placeholder .line:before{left:0}.ui.placeholder .line:after{right:0}.ui.placeholder .line{margin-bottom:.5em}.ui.placeholder .line:after,.ui.placeholder .line:before{height:.5em}.ui.placeholder .line:not(:first-child){margin-top:.5em}.ui.placeholder .header{position:relative;overflow:hidden}.ui.placeholder .line:nth-child(1):after{width:0%}.ui.placeholder .line:nth-child(2):after{width:50%}.ui.placeholder .line:nth-child(3):after{width:10%}.ui.placeholder .line:nth-child(4):after{width:35%}.ui.placeholder .line:nth-child(5):after{width:65%}.ui.placeholder .header .line{margin-bottom:.64285714em}.ui.placeholder .header .line:after,.ui.placeholder .header .line:before{height:.64285714em}.ui.placeholder .header .line:not(:first-child){margin-top:.64285714em}.ui.placeholder .header .line:after{width:20%}.ui.placeholder .header .line:nth-child(2):after{width:60%}.ui.placeholder .image.header .line{margin-left:3em}.ui.placeholder .image.header .line:before{width:.71428571rem}.ui.placeholder .image.header:after{display:block;height:.85714286em;content:'';margin-left:3em}.ui.placeholder .header .line:first-child,.ui.placeholder .image .line:first-child,.ui.placeholder .paragraph .line:first-child{height:.01px}.ui.placeholder .header:not(:first-child):before,.ui.placeholder .image:not(:first-child):before,.ui.placeholder .paragraph:not(:first-child):before{height:1.42857143em;content:'';display:block}.ui.inverted.placeholder{background-image:-webkit-gradient(linear,left top,right top,from(rgba(255,255,255,.08)),color-stop(15%,rgba(255,255,255,.14)),color-stop(30%,rgba(255,255,255,.08)));background-image:-webkit-linear-gradient(left,rgba(255,255,255,.08) 0,rgba(255,255,255,.14) 15%,rgba(255,255,255,.08) 30%);background-image:linear-gradient(to right,rgba(255,255,255,.08) 0,rgba(255,255,255,.14) 15%,rgba(255,255,255,.08) 30%)}.ui.inverted.placeholder,.ui.inverted.placeholder .image.header:after,.ui.inverted.placeholder .line,.ui.inverted.placeholder .line:after,.ui.inverted.placeholder>:before{background-color:#1b1c1d}.ui.placeholder .full.line.line.line:after{width:0%}.ui.placeholder .very.long.line.line.line:after{width:10%}.ui.placeholder .long.line.line.line:after{width:35%}.ui.placeholder .medium.line.line.line:after{width:50%}.ui.placeholder .short.line.line.line:after{width:65%}.ui.placeholder .very.short.line.line.line:after{width:80%}.ui.fluid.placeholder{max-width:none}
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue