pull/191/head
morpheus65535 6 years ago
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,5 +1,5 @@
/*!
* # Semantic UI 2.3.3 - Accordion
* # Semantic UI 2.4.0 - Accordion
* http://github.com/semantic-org/semantic-ui/
*
*

@ -1,5 +1,5 @@
/*!
* # Semantic UI 2.3.3 - Accordion
* # Semantic UI 2.4.0 - Accordion
* http://github.com/semantic-org/semantic-ui/
*
*

@ -1,5 +1,5 @@
/*!
* # Semantic UI 2.3.3 - Accordion
* # Semantic UI 2.4.0 - Accordion
* http://github.com/semantic-org/semantic-ui/
*
*

@ -1,5 +1,5 @@
/*!
* # Semantic UI 2.3.3 - Ad
* # Semantic UI 2.4.0 - Ad
* http://github.com/semantic-org/semantic-ui/
*
*

@ -1,5 +1,5 @@
/*!
* # Semantic UI 2.3.3 - Ad
* # Semantic UI 2.4.0 - Ad
* http://github.com/semantic-org/semantic-ui/
*
*

@ -1,5 +1,5 @@
/*!
* # Semantic UI 2.3.3 - API
* # Semantic UI 2.4.0 - API
* http://github.com/semantic-org/semantic-ui/
*
*

@ -1,5 +1,5 @@
/*!
* # Semantic UI 2.3.3 - Breadcrumb
* # Semantic UI 2.4.0 - Breadcrumb
* http://github.com/semantic-org/semantic-ui/
*
*

@ -1,5 +1,5 @@
/*!
* # Semantic UI 2.3.3 - Breadcrumb
* # Semantic UI 2.4.0 - Breadcrumb
* http://github.com/semantic-org/semantic-ui/
*
*

@ -1,5 +1,5 @@
/*!
* # Semantic UI 2.3.3 - Button
* # Semantic UI 2.4.0 - Button
* http://github.com/semantic-org/semantic-ui/
*
*

@ -1,5 +1,5 @@
/*!
* # Semantic UI 2.3.3 - Button
* # Semantic UI 2.4.0 - Button
* http://github.com/semantic-org/semantic-ui/
*
*

@ -1,5 +1,5 @@
/*!
* # Semantic UI 2.3.3 - Item
* # Semantic UI 2.4.0 - Item
* http://github.com/semantic-org/semantic-ui/
*
*

@ -1,5 +1,5 @@
/*!
* # Semantic UI 2.3.3 - Item
* # Semantic UI 2.4.0 - Item
* http://github.com/semantic-org/semantic-ui/
*
*

@ -1,5 +1,5 @@
/*!
* # Semantic UI 2.3.3 - Checkbox
* # Semantic UI 2.4.0 - Checkbox
* http://github.com/semantic-org/semantic-ui/
*
*

@ -1,5 +1,5 @@
/*!
* # Semantic UI 2.3.3 - Checkbox
* # Semantic UI 2.4.0 - Checkbox
* http://github.com/semantic-org/semantic-ui/
*
*

@ -1,5 +1,5 @@
/*!
* # Semantic UI 2.3.3 - Checkbox
* # Semantic UI 2.4.0 - Checkbox
* http://github.com/semantic-org/semantic-ui/
*
*

@ -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,5 +1,5 @@
/*!
* # Semantic UI 2.3.3 - Comment
* # Semantic UI 2.4.0 - Comment
* http://github.com/semantic-org/semantic-ui/
*
*

@ -1,5 +1,5 @@
/*!
* # Semantic UI 2.3.3 - Comment
* # Semantic UI 2.4.0 - Comment
* http://github.com/semantic-org/semantic-ui/
*
*

@ -1,5 +1,5 @@
/*!
* # Semantic UI 2.3.3 - Container
* # Semantic UI 2.4.0 - Container
* http://github.com/semantic-org/semantic-ui/
*
*

@ -1,5 +1,5 @@
/*!
* # Semantic UI 2.3.3 - Container
* # Semantic UI 2.4.0 - Container
* http://github.com/semantic-org/semantic-ui/
*
*

@ -1,5 +1,5 @@
/*!
* # Semantic UI 2.3.3 - Dimmer
* # Semantic UI 2.4.0 - Dimmer
* http://github.com/semantic-org/semantic-ui/
*
*
@ -115,6 +115,18 @@
*******************************/
/*--------------
Legacy
---------------*/
/* Animating / Active / Visible */
.dimmed.dimmable > .ui.animating.legacy.dimmer,
.dimmed.dimmable > .ui.visible.legacy.dimmer,
.ui.active.legacy.dimmer {
display: block;
}
/*--------------
Alignment
---------------*/

@ -1,5 +1,5 @@
/*!
* # Semantic UI 2.3.3 - Dimmer
* # Semantic UI 2.4.0 - Dimmer
* http://github.com/semantic-org/semantic-ui/
*
*
@ -83,7 +83,6 @@ $.fn.dimmer = function(parameters) {
else {
$dimmer = module.create();
}
module.set.variation();
}
},
@ -114,10 +113,6 @@ $.fn.dimmer = function(parameters) {
bind: {
events: function() {
if(module.is.page()) {
// touch events default to passive, due to changes in chrome to optimize mobile perf
$dimmable.get(0).addEventListener('touchmove', module.event.preventScroll, { passive: false });
}
if(settings.on == 'hover') {
$dimmable
.on('mouseenter' + eventNamespace, module.show)
@ -145,9 +140,6 @@ $.fn.dimmer = function(parameters) {
unbind: {
events: function() {
if(module.is.page()) {
$dimmable.get(0).removeEventListener('touchmove', module.event.preventScroll, { passive: false });
}
$module
.removeData(moduleNamespace)
;
@ -165,9 +157,6 @@ $.fn.dimmer = function(parameters) {
event.stopImmediatePropagation();
}
},
preventScroll: function(event) {
event.preventDefault();
}
},
addContent: function(element) {
@ -200,6 +189,7 @@ $.fn.dimmer = function(parameters) {
: function(){}
;
module.debug('Showing dimmer', $dimmer, settings);
module.set.variation();
if( (!module.is.dimmed() || module.is.animating()) && module.is.enabled() ) {
module.animate.show(callback);
settings.onShow.call(element);
@ -243,12 +233,22 @@ $.fn.dimmer = function(parameters) {
: function(){}
;
if(settings.useCSS && $.fn.transition !== undefined && $dimmer.transition('is supported')) {
if(settings.useFlex) {
module.debug('Using flex dimmer');
module.remove.legacy();
}
else {
module.debug('Using legacy non-flex dimmer');
module.set.legacy();
}
if(settings.opacity !== 'auto') {
module.set.opacity();
}
$dimmer
.transition({
displayType : 'flex',
displayType : settings.useFlex
? 'flex'
: 'block',
animation : settings.transition + ' in',
queue : false,
duration : module.get.duration(),
@ -293,7 +293,9 @@ $.fn.dimmer = function(parameters) {
module.verbose('Hiding dimmer with css');
$dimmer
.transition({
displayType : 'flex',
displayType : settings.useFlex
? 'flex'
: 'block',
animation : settings.transition + ' out',
queue : false,
duration : module.get.duration(),
@ -302,6 +304,7 @@ $.fn.dimmer = function(parameters) {
module.remove.dimmed();
},
onComplete : function() {
module.remove.variation();
module.remove.active();
callback();
}
@ -415,6 +418,9 @@ $.fn.dimmer = function(parameters) {
module.debug('Setting opacity to', opacity);
$dimmer.css('background-color', color);
},
legacy: function() {
$dimmer.addClass(className.legacy);
},
active: function() {
$dimmer.addClass(className.active);
},
@ -444,6 +450,9 @@ $.fn.dimmer = function(parameters) {
.removeClass(className.active)
;
},
legacy: function() {
$dimmer.removeClass(className.legacy);
},
dimmed: function() {
$dimmable.removeClass(className.dimmed);
},
@ -657,6 +666,9 @@ $.fn.dimmer.settings = {
verbose : false,
performance : true,
// whether should use flex layout
useFlex : true,
// name to distinguish between multiple dimmers in context
dimmerName : false,
@ -700,6 +712,7 @@ $.fn.dimmer.settings = {
dimmer : 'dimmer',
disabled : 'disabled',
hide : 'hide',
legacy : 'legacy',
pageDimmer : 'page',
show : 'show'
},

@ -1,9 +1,9 @@
/*!
* # Semantic UI 2.3.3 - Dimmer
* # Semantic UI 2.4.0 - Dimmer
* http://github.com/semantic-org/semantic-ui/
*
*
* Released under the MIT license
* 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

@ -1,5 +1,5 @@
/*!
* # Semantic UI 2.3.3 - Divider
* # Semantic UI 2.4.0 - Divider
* http://github.com/semantic-org/semantic-ui/
*
*

@ -1,5 +1,5 @@
/*!
* # Semantic UI 2.3.3 - Divider
* # Semantic UI 2.4.0 - Divider
* http://github.com/semantic-org/semantic-ui/
*
*

@ -1,5 +1,5 @@
/*!
* # Semantic UI 2.3.3 - Dropdown
* # Semantic UI 2.4.0 - Dropdown
* http://github.com/semantic-org/semantic-ui/
*
*
@ -519,7 +519,7 @@ select.ui.dropdown {
/* Dropdown Icon */
.ui.active.selection.dropdown > .dropdown.icon,
.ui.visible.selection.dropdown > .dropdown.icon {
opacity: 1;
opacity: '';
z-index: 3;
}
@ -735,7 +735,7 @@ select.ui.dropdown {
color: inherit;
}
.ui.inline.dropdown .dropdown.icon {
margin: 0em 0.5em 0em 0.21428571em;
margin: 0em 0.21428571em 0em 0.21428571em;
vertical-align: baseline;
}
.ui.inline.dropdown > .text {
@ -946,6 +946,19 @@ select.ui.dropdown {
background-color: #FDCFCF;
}
/*--------------------
Clear
----------------------*/
.ui.dropdown > .clear.dropdown.icon {
opacity: 0.8;
-webkit-transition: opacity 0.1s ease;
transition: opacity 0.1s ease;
}
.ui.dropdown > .clear.dropdown.icon:hover {
opacity: 1;
}
/*--------------------
Disabled
----------------------*/
@ -1450,7 +1463,7 @@ select.ui.dropdown {
/* Dropdown Carets */
@font-face {
font-family: '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AAAAAAAAAAgAAAAAAAAAAAAAAAABAAAAASUAAAElAAAAtwASALcAAAAAAAAACgAUAB4AQgBkAIgAqgAAAAEAAAAIABQAAQAAAAAAAgAAAAAAAAAAAAAAAAAAAAAAAAAOAK4AAQAAAAAAAQAOAAAAAQAAAAAAAgAOAEcAAQAAAAAAAwAOACQAAQAAAAAABAAOAFUAAQAAAAAABQAWAA4AAQAAAAAABgAHADIAAQAAAAAACgA0AGMAAwABBAkAAQAOAAAAAwABBAkAAgAOAEcAAwABBAkAAwAOACQAAwABBAkABAAOAFUAAwABBAkABQAWAA4AAwABBAkABgAOADkAAwABBAkACgA0AGMAaQBjAG8AbQBvAG8AbgBWAGUAcgBzAGkAbwBuACAAMQAuADAAaQBjAG8AbQBvAG8Abmljb21vb24AaQBjAG8AbQBvAG8AbgBSAGUAZwB1AGwAYQByAGkAYwBvAG0AbwBvAG4ARgBvAG4AdAAgAGcAZQBuAGUAcgBhAHQAZQBkACAAYgB5ACAASQBjAG8ATQBvAG8AbgAuAAAAAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=) format('truetype'), url(data:application/font-woff;charset=utf-8;base64,d09GRk9UVE8AAAVwAAoAAAAABSgAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABDRkYgAAAA9AAAAdkAAAHZLDXE/09TLzIAAALQAAAAYAAAAGAIIweQY21hcAAAAzAAAABMAAAATA9+4ghnYXNwAAADfAAAAAgAAAAIAAAAEGhlYWQAAAOEAAAANgAAADYAQ88baGhlYQAAA7wAAAAkAAAAJAMHAelobXR4AAAD4AAAACAAAAAgBLgAEm1heHAAAAQAAAAABgAAAAYACFAAbmFtZQAABAgAAAFFAAABRVcZpu5wb3N0AAAFUAAAACAAAAAgAAMAAAEABAQAAQEBCGljb21vb24AAQIAAQA6+BwC+BsD+BgEHgoAGVP/i4seCgAZU/+LiwwHi2v4lPh0BR0AAACIDx0AAACNER0AAAAJHQAAAdASAAkBAQgPERMWGyAlKmljb21vb25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dgQAZkcSmQAAAAFblbO6AAA=) format('woff');
font-weight: normal;
font-style: normal;
}
@ -1485,19 +1498,15 @@ select.ui.dropdown {
.ui.vertical.menu .dropdown.item > .dropdown.icon:before {
content: "\f0da" /*rtl:"\f0d9"*/;
}
/* Icons for Reference
.dropdown.down.icon {
content: "\f0d7";
}
.dropdown.up.icon {
content: "\f0d8";
}
.dropdown.left.icon {
content: "\f0d9";
}
.dropdown.icon.icon {
content: "\f0da";
.ui.dropdown > .clear.icon:before {
content: "\f00d";
}
/* Icons for Reference (Subsetted in 2.4.0)
.dropdown.down:before { content: "\f0d7"; }
.dropdown.up:before { content: "\f0d8"; }
.dropdown.left:before { content: "\f0d9"; }
.dropdown.right:before { content: "\f0da"; }
.dropdown.close:before { content: "\f00d"; }
*/

@ -1,5 +1,5 @@
/*!
* # Semantic UI 2.3.3 - Dropdown
* # Semantic UI 2.4.0 - Dropdown
* http://github.com/semantic-org/semantic-ui/
*
*
@ -1019,7 +1019,12 @@ $.fn.dropdown = function(parameters) {
},
icon: {
click: function(event) {
module.toggle();
if($icon.hasClass(className.clear)) {
module.clear();
}
else {
module.toggle();
}
}
},
text: {
@ -1646,7 +1651,7 @@ $.fn.dropdown = function(parameters) {
},
hide: function(text, value, element) {
module.set.value(value, text);
module.set.value(value, text, $(element));
module.hideAndClear();
}
@ -2481,6 +2486,15 @@ $.fn.dropdown = function(parameters) {
$module.data(metadata.value, stringValue);
}
}
if(module.is.single() && settings.clearable) {
// treat undefined or '' as empty
if(!escapedValue) {
module.remove.clearable();
}
else {
module.set.clearable();
}
}
if(settings.fireOnInit === false && module.is.initialLoad()) {
module.verbose('No callback on initial load', settings.onChange);
}
@ -2576,7 +2590,10 @@ $.fn.dropdown = function(parameters) {
}
})
;
}
},
clearable: function() {
$icon.addClass(className.clear);
},
},
add: {
@ -2774,7 +2791,7 @@ $.fn.dropdown = function(parameters) {
}
module.set.value(newValue, addedValue, addedText, $selectedItem);
module.check.maxSelections();
}
},
},
remove: {
@ -2999,6 +3016,9 @@ $.fn.dropdown = function(parameters) {
.removeAttr('tabindex')
;
}
},
clearable: function() {
$icon.removeClass(className.clear);
}
},
@ -3686,6 +3706,8 @@ $.fn.dropdown.settings = {
values : false, // specify values to use for dropdown
clearable : false, // whether the value of the dropdown can be cleared
apiSettings : false,
selectOnKeydown : true, // Whether selection should occur automatically when keyboard shortcuts used
minCharacters : 0, // Minimum characters required to trigger API call
@ -3838,6 +3860,7 @@ $.fn.dropdown.settings = {
active : 'active',
addition : 'addition',
animating : 'animating',
clear : 'clear',
disabled : 'disabled',
empty : 'empty',
dropdown : 'ui dropdown',

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -1,5 +1,5 @@
/*!
* # Semantic UI 2.3.3 - Video
* # Semantic UI 2.4.0 - Video
* http://github.com/semantic-org/semantic-ui/
*
*

@ -1,5 +1,5 @@
/*!
* # Semantic UI 2.3.3 - Embed
* # Semantic UI 2.4.0 - Embed
* http://github.com/semantic-org/semantic-ui/
*
*

@ -1,5 +1,5 @@
/*!
* # Semantic UI 2.3.3 - Video
* # Semantic UI 2.4.0 - Video
* http://github.com/semantic-org/semantic-ui/
*
*

@ -1,5 +1,5 @@
/*!
* # Semantic UI 2.3.3 - Feed
* # Semantic UI 2.4.0 - Feed
* http://github.com/semantic-org/semantic-ui/
*
*

@ -1,5 +1,5 @@
/*!
* # Semantic UI 2.3.3 - Feed
* # Semantic UI 2.4.0 - Feed
* http://github.com/semantic-org/semantic-ui/
*
*

@ -1,5 +1,5 @@
/*!
* # Semantic UI 2.3.3 - Flag
* # Semantic UI 2.4.0 - Flag
* http://github.com/semantic-org/semantic-ui/
*
*
@ -349,6 +349,7 @@ i.flag.gabon:before {
background-position: -36px 0px;
}
i.flag.gb:before,
i.flag.uk:before,
i.flag.united.kingdom:before {
background-position: -36px -26px;
}

File diff suppressed because one or more lines are too long

@ -1,5 +1,5 @@
/*!
* # Semantic UI 2.3.3 - Form
* # Semantic UI 2.4.0 - Form
* http://github.com/semantic-org/semantic-ui/
*
*
@ -317,7 +317,7 @@
color: rgba(191, 191, 191, 0.87);
}
.ui.form :-ms-input-placeholder {
color: rgba(191, 191, 191, 0.87);
color: rgba(191, 191, 191, 0.87) !important;
}
.ui.form ::-moz-placeholder {
color: rgba(191, 191, 191, 0.87);
@ -326,7 +326,7 @@
color: rgba(115, 115, 115, 0.87);
}
.ui.form :focus:-ms-input-placeholder {
color: rgba(115, 115, 115, 0.87);
color: rgba(115, 115, 115, 0.87) !important;
}
.ui.form :focus::-moz-placeholder {
color: rgba(115, 115, 115, 0.87);

@ -1,5 +1,5 @@
/*!
* # Semantic UI 2.3.3 - Form Validation
* # Semantic UI 2.4.0 - Form Validation
* http://github.com/semantic-org/semantic-ui/
*
*

File diff suppressed because one or more lines are too long

@ -1,5 +1,5 @@
/*!
* # Semantic UI 2.3.3 - Grid
* # Semantic UI 2.4.0 - Grid
* http://github.com/semantic-org/semantic-ui/
*
*

@ -1,5 +1,5 @@
/*!
* # Semantic UI 2.3.3 - Grid
* # Semantic UI 2.4.0 - Grid
* http://github.com/semantic-org/semantic-ui/
*
*

@ -1,5 +1,5 @@
/*!
* # Semantic UI 2.3.3 - Header
* # Semantic UI 2.4.0 - Header
* http://github.com/semantic-org/semantic-ui/
*
*

@ -1,5 +1,5 @@
/*!
* # Semantic UI 2.3.3 - Header
* # Semantic UI 2.4.0 - Header
* http://github.com/semantic-org/semantic-ui/
*
*

@ -1,5 +1,5 @@
/*!
* # Semantic UI 2.3.3 - Icon
* # Semantic UI 2.4.0 - Icon
* http://github.com/semantic-org/semantic-ui/
*
*
@ -4427,11 +4427,11 @@ i.icon.window.minimize.outline:before {
i.icon.window.restore.outline:before {
content: "\f2d2";
}
i.icon.disk.outline:before {
content: "\f369";
}
/* Outline Aliases */
i.icon.disk.outline:before {
content: "\f0a0";
}
i.icon.heart.empty,
i.icon.star.empty {
font-family: 'outline-icons';

File diff suppressed because one or more lines are too long

@ -1,5 +1,5 @@
/*!
* # Semantic UI 2.3.3 - Image
* # Semantic UI 2.4.0 - Image
* http://github.com/semantic-org/semantic-ui/
*
*

@ -1,5 +1,5 @@
/*!
* # Semantic UI 2.3.3 - Image
* # Semantic UI 2.4.0 - Image
* http://github.com/semantic-org/semantic-ui/
*
*

@ -1,5 +1,5 @@
/*!
* # Semantic UI 2.3.3 - Input
* # Semantic UI 2.4.0 - Input
* http://github.com/semantic-org/semantic-ui/
*
*

@ -1,5 +1,5 @@
/*!
* # Semantic UI 2.3.3 - Input
* # Semantic UI 2.4.0 - Input
* http://github.com/semantic-org/semantic-ui/
*
*

@ -1,5 +1,5 @@
/*!
* # Semantic UI 2.3.3 - Item
* # Semantic UI 2.4.0 - Item
* http://github.com/semantic-org/semantic-ui/
*
*

@ -1,5 +1,5 @@
/*!
* # Semantic UI 2.3.3 - Item
* # Semantic UI 2.4.0 - Item
* http://github.com/semantic-org/semantic-ui/
*
*

@ -1,5 +1,5 @@
/*!
* # Semantic UI 2.3.3 - Label
* # Semantic UI 2.4.0 - Label
* http://github.com/semantic-org/semantic-ui/
*
*
@ -536,7 +536,7 @@ a.ui.red.label:hover {
/* Basic */
.ui.basic.red.label {
background-color: none #FFFFFF !important;
background: none #FFFFFF !important;
color: #DB2828 !important;
border-color: #DB2828 !important;
}
@ -577,7 +577,7 @@ a.ui.orange.label:hover {
/* Basic */
.ui.basic.orange.label {
background-color: none #FFFFFF !important;
background: none #FFFFFF !important;
color: #F2711C !important;
border-color: #F2711C !important;
}
@ -618,7 +618,7 @@ a.ui.yellow.label:hover {
/* Basic */
.ui.basic.yellow.label {
background-color: none #FFFFFF !important;
background: none #FFFFFF !important;
color: #FBBD08 !important;
border-color: #FBBD08 !important;
}
@ -659,7 +659,7 @@ a.ui.olive.label:hover {
/* Basic */
.ui.basic.olive.label {
background-color: none #FFFFFF !important;
background: none #FFFFFF !important;
color: #B5CC18 !important;
border-color: #B5CC18 !important;
}
@ -700,7 +700,7 @@ a.ui.green.label:hover {
/* Basic */
.ui.basic.green.label {
background-color: none #FFFFFF !important;
background: none #FFFFFF !important;
color: #21BA45 !important;
border-color: #21BA45 !important;
}
@ -741,7 +741,7 @@ a.ui.teal.label:hover {
/* Basic */
.ui.basic.teal.label {
background-color: none #FFFFFF !important;
background: none #FFFFFF !important;
color: #00B5AD !important;
border-color: #00B5AD !important;
}
@ -782,7 +782,7 @@ a.ui.blue.label:hover {
/* Basic */
.ui.basic.blue.label {
background-color: none #FFFFFF !important;
background: none #FFFFFF !important;
color: #2185D0 !important;
border-color: #2185D0 !important;
}
@ -823,7 +823,7 @@ a.ui.violet.label:hover {
/* Basic */
.ui.basic.violet.label {
background-color: none #FFFFFF !important;
background: none #FFFFFF !important;
color: #6435C9 !important;
border-color: #6435C9 !important;
}
@ -864,7 +864,7 @@ a.ui.purple.label:hover {
/* Basic */
.ui.basic.purple.label {
background-color: none #FFFFFF !important;
background: none #FFFFFF !important;
color: #A333C8 !important;
border-color: #A333C8 !important;
}
@ -905,7 +905,7 @@ a.ui.pink.label:hover {
/* Basic */
.ui.basic.pink.label {
background-color: none #FFFFFF !important;
background: none #FFFFFF !important;
color: #E03997 !important;
border-color: #E03997 !important;
}
@ -946,7 +946,7 @@ a.ui.brown.label:hover {
/* Basic */
.ui.basic.brown.label {
background-color: none #FFFFFF !important;
background: none #FFFFFF !important;
color: #A5673F !important;
border-color: #A5673F !important;
}
@ -987,7 +987,7 @@ a.ui.grey.label:hover {
/* Basic */
.ui.basic.grey.label {
background-color: none #FFFFFF !important;
background: none #FFFFFF !important;
color: #767676 !important;
border-color: #767676 !important;
}
@ -1028,7 +1028,7 @@ a.ui.black.label:hover {
/* Basic */
.ui.basic.black.label {
background-color: none #FFFFFF !important;
background: none #FFFFFF !important;
color: #1B1C1D !important;
border-color: #1B1C1D !important;
}

File diff suppressed because one or more lines are too long

@ -1,5 +1,5 @@
/*!
* # Semantic UI 2.3.3 - List
* # Semantic UI 2.4.0 - List
* http://github.com/semantic-org/semantic-ui/
*
*
@ -141,12 +141,14 @@ ol.ui.list ol li,
.ui.list > .item > .image + .content,
.ui.list > .item > .icon + .content {
display: table-cell;
width: 100%;
padding: 0em 0em 0em 0.5em;
vertical-align: top;
}
.ui.list .list > .item > img.image + .content,
.ui.list > .item > img.image + .content {
display: inline-block;
width: auto;
}
.ui.list .list > .item > .content > .list,
.ui.list > .item > .content > .list {

File diff suppressed because one or more lines are too long

@ -1,5 +1,5 @@
/*!
* # Semantic UI 2.3.3 - Loader
* # Semantic UI 2.4.0 - Loader
* http://github.com/semantic-org/semantic-ui/
*
*

@ -1,5 +1,5 @@
/*!
* # Semantic UI 2.3.3 - Loader
* # Semantic UI 2.4.0 - Loader
* http://github.com/semantic-org/semantic-ui/
*
*

@ -267,7 +267,7 @@
display: inline-block;
font-size: 1em !important;
float: none;
margin: 0em 0.75em 0em 0em;
margin: 0em 0.75em 0em 0em !important;
}
/* Secondary */
@ -485,7 +485,7 @@ Floated Menu / Item
/* Left Floated */
.ui.menu:not(.vertical) .left.item,
.ui.menu:not(.vertical) .left.menu {
.ui.menu:not(.vertical) :not(.dropdown) > .left.menu {
display: -webkit-box;
display: -ms-flexbox;
display: flex;

File diff suppressed because one or more lines are too long

@ -1,5 +1,5 @@
/*!
* # Semantic UI 2.3.3 - Message
* # Semantic UI 2.4.0 - Message
* http://github.com/semantic-org/semantic-ui/
*
*

@ -1,5 +1,5 @@
/*!
* # Semantic UI 2.3.3 - Message
* # Semantic UI 2.4.0 - Message
* http://github.com/semantic-org/semantic-ui/
*
*

@ -1,5 +1,5 @@
/*!
* # Semantic UI 2.3.3 - Modal
* # Semantic UI 2.4.0 - Modal
* http://github.com/semantic-org/semantic-ui/
*
*
@ -14,6 +14,7 @@
*******************************/
.ui.modal {
position: absolute;
display: none;
z-index: 1001;
text-align: left;
@ -320,6 +321,19 @@
color: rgba(0, 0, 0, 0.85);
}
/* Resort to margin positioning if legacy */
.ui.legacy.modal,
.ui.legacy.page.dimmer > .ui.modal {
top: 50%;
left: 50%;
}
.ui.legacy.page.dimmer > .ui.scrolling.modal,
.ui.page.dimmer > .ui.scrolling.legacy.modal,
.ui.top.aligned.legacy.page.dimmer > .ui.modal,
.ui.top.aligned.dimmer > .ui.legacy.modal {
top: auto;
}
/* Tablet and Mobile */
@media only screen and (max-width: 991px) {
.ui.basic.modal > .close {
@ -356,6 +370,21 @@
.modals.dimmer[class*="top aligned"] .modal {
margin: 5vh auto;
}
@media only screen and (max-width: 767px) {
.modals.dimmer[class*="top aligned"] .modal {
margin: 1rem auto;
}
}
/* Legacy Top Aligned */
.legacy.modals.dimmer[class*="top aligned"] {
padding-top: 5vh;
}
@media only screen and (max-width: 767px) {
.legacy.modals.dimmer[class*="top aligned"] {
padding-top: 1rem;
}
}
/*--------------
Scrolling
@ -379,7 +408,7 @@
position: fixed;
}
.modals.dimmer .ui.scrolling.modal {
margin: 1rem auto !important;
margin: 1rem auto;
}
/* Undetached Scrolling */

@ -1,5 +1,5 @@
/*!
* # Semantic UI 2.3.3 - Modal
* # Semantic UI 2.4.0 - Modal
* http://github.com/semantic-org/semantic-ui/
*
*
@ -110,8 +110,7 @@ $.fn.modal = function(parameters) {
debug : settings.debug,
variation : settings.centered
? false
: 'top aligned'
,
: 'top aligned',
dimmerName : 'modals'
},
dimmerSettings = $.extend(true, defaultSettings, settings.dimmerSettings)
@ -132,7 +131,7 @@ $.fn.modal = function(parameters) {
$dimmer = $dimmable.dimmer('get dimmer');
},
id: function() {
id = (Math.random().toString(16) + '000000000').substr(2,8);
id = (Math.random().toString(16) + '000000000').substr(2, 8);
elementEventNamespace = '.' + id;
module.verbose('Creating unique id for element', id);
}
@ -167,6 +166,9 @@ $.fn.modal = function(parameters) {
refresh: function() {
module.remove.scrolling();
module.cacheSizes();
if(!module.can.useFlex()) {
module.set.modalOffset();
}
module.set.screenHeight();
module.set.type();
},
@ -207,12 +209,22 @@ $.fn.modal = function(parameters) {
$window
.on('resize' + elementEventNamespace, module.event.resize)
;
},
scrollLock: function() {
// touch events default to passive, due to changes in chrome to optimize mobile perf
$dimmable.get(0).addEventListener('touchmove', module.event.preventScroll, { passive: false });
}
},
unbind: {
scrollLock: function() {
$dimmable.get(0).removeEventListener('touchmove', module.event.preventScroll, { passive: false });
}
},
get: {
id: function() {
return (Math.random().toString(16) + '000000000').substr(2,8);
return (Math.random().toString(16) + '000000000').substr(2, 8);
}
},
@ -227,6 +239,9 @@ $.fn.modal = function(parameters) {
ignoreRepeatedEvents = false;
});
},
preventScroll: function(event) {
event.preventDefault();
},
deny: function() {
if(ignoreRepeatedEvents || settings.onDeny.call(element, $(this)) === false) {
module.verbose('Deny callback returned false cancelling hide');
@ -304,6 +319,8 @@ $.fn.modal = function(parameters) {
;
module.refreshModals();
module.set.dimmerSettings();
module.set.dimmerStyles();
module.showModal(callback);
},
@ -322,9 +339,16 @@ $.fn.modal = function(parameters) {
: function(){}
;
if( module.is.animating() || !module.is.active() ) {
module.showDimmer();
module.cacheSizes();
if(module.can.useFlex()) {
module.remove.legacy();
}
else {
module.set.legacy();
module.set.modalOffset();
module.debug('Using non-flex legacy modal positioning.');
}
module.set.screenHeight();
module.set.type();
module.set.clickaway();
@ -402,6 +426,7 @@ $.fn.modal = function(parameters) {
},
onComplete : function() {
settings.onHidden.call(element);
module.remove.dimmerStyles();
module.restore.focus();
callback();
}
@ -426,6 +451,7 @@ $.fn.modal = function(parameters) {
hideDimmer: function() {
if( $dimmable.dimmer('is animating') || ($dimmable.dimmer('is active')) ) {
module.unbind.scrollLock();
$dimmable.dimmer('hide', function() {
module.remove.clickaway();
module.remove.screenHeight();
@ -513,11 +539,18 @@ $.fn.modal = function(parameters) {
active: function() {
$module.removeClass(className.active);
},
legacy: function() {
$module.removeClass(className.legacy);
},
clickaway: function() {
$dimmer
.off('click' + elementEventNamespace)
;
},
dimmerStyles: function() {
$dimmer.removeClass(className.inverted);
$dimmable.removeClass(className.blurring);
},
bodyStyle: function() {
if($body.attr('style') === '') {
module.verbose('Removing style attribute');
@ -546,11 +579,13 @@ $.fn.modal = function(parameters) {
$module.addClass(className.loading);
var
scrollHeight = $module.prop('scrollHeight'),
modalWidth = $module.outerWidth(),
modalHeight = $module.outerHeight()
;
if(module.cache === undefined || modalHeight !== 0) {
module.cache = {
pageHeight : $(document).outerHeight(),
width : modalWidth,
height : modalHeight + settings.offset,
scrollHeight : scrollHeight + settings.offset,
contextHeight : (settings.context == 'body')
@ -564,6 +599,12 @@ $.fn.modal = function(parameters) {
},
can: {
useFlex: function() {
return (settings.useFlex == 'auto')
? settings.detachable && !module.is.ie()
: settings.useFlex
;
},
fit: function() {
var
contextHeight = module.cache.contextHeight,
@ -585,6 +626,13 @@ $.fn.modal = function(parameters) {
active: function() {
return $module.hasClass(className.active);
},
ie: function() {
var
isIE11 = (!(window.ActiveXObject) && 'ActiveXObject' in window),
isIE = ('ActiveXObject' in window)
;
return (isIE11 || isIE);
},
animating: function() {
return $module.transition('is supported')
? $module.transition('is animating')
@ -596,7 +644,7 @@ $.fn.modal = function(parameters) {
},
modernBrowser: function() {
// appName for IE11 reports 'Netscape' can no longer use
return !(window.ActiveXObject || "ActiveXObject" in window);
return !(window.ActiveXObject || 'ActiveXObject' in window);
}
},
@ -628,10 +676,10 @@ $.fn.modal = function(parameters) {
debug : settings.debug,
dimmerName : 'modals',
closable : 'auto',
useFlex : module.can.useFlex(),
variation : settings.centered
? false
: 'top aligned'
,
: 'top aligned',
duration : {
show : settings.duration,
hide : settings.duration
@ -644,6 +692,11 @@ $.fn.modal = function(parameters) {
? dimmerSettings.variation + ' inverted'
: 'inverted'
;
}
$context.dimmer('setting', dimmerSettings);
},
dimmerStyles: function() {
if(settings.inverted) {
$dimmer.addClass(className.inverted);
}
else {
@ -655,7 +708,21 @@ $.fn.modal = function(parameters) {
else {
$dimmable.removeClass(className.blurring);
}
$context.dimmer('setting', dimmerSettings);
},
modalOffset: function() {
var
width = module.cache.width,
height = module.cache.height
;
$module
.css({
marginTop: (settings.centered && module.can.fit())
? -(height / 2)
: 0,
marginLeft: -(width / 2)
})
;
module.verbose('Setting modal offset for legacy mode');
},
screenHeight: function() {
if( module.can.fit() ) {
@ -674,12 +741,17 @@ $.fn.modal = function(parameters) {
scrolling: function() {
$dimmable.addClass(className.scrolling);
$module.addClass(className.scrolling);
module.unbind.scrollLock();
},
legacy: function() {
$module.addClass(className.legacy);
},
type: function() {
if(module.can.fit()) {
module.verbose('Modal fits on screen');
if(!module.others.active() && !module.others.animating()) {
module.remove.scrolling();
module.bind.scrollLock();
}
}
else {
@ -880,6 +952,9 @@ $.fn.modal.settings = {
name : 'Modal',
namespace : 'modal',
useFlex : 'auto',
offset : 0,
silent : false,
debug : false,
verbose : false,
@ -909,7 +984,6 @@ $.fn.modal.settings = {
queue : false,
duration : 500,
offset : 0,
transition : 'scale',
// padding with edge of page
@ -949,6 +1023,7 @@ $.fn.modal.settings = {
animating : 'animating',
blurring : 'blurring',
inverted : 'inverted',
legacy : 'legacy',
loading : 'loading',
scrolling : 'scrolling',
undetached : 'undetached'

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -1,5 +1,5 @@
/*!
* # Semantic UI 2.3.3 - Nag
* # Semantic UI 2.4.0 - Nag
* http://github.com/semantic-org/semantic-ui/
*
*

@ -1,5 +1,5 @@
/*!
* # Semantic UI 2.3.3 - Nag
* # Semantic UI 2.4.0 - Nag
* http://github.com/semantic-org/semantic-ui/
*
*

@ -1,5 +1,5 @@
/*!
* # Semantic UI 2.3.3 - Nag
* # Semantic UI 2.4.0 - Nag
* http://github.com/semantic-org/semantic-ui/
*
*

@ -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}

@ -1,5 +1,5 @@
/*!
* # Semantic UI 2.3.3 - Popup
* # Semantic UI 2.4.0 - Popup
* http://github.com/semantic-org/semantic-ui/
*
*

@ -1,5 +1,5 @@
/*!
* # Semantic UI 2.3.3 - Popup
* # Semantic UI 2.4.0 - Popup
* http://github.com/semantic-org/semantic-ui/
*
*
@ -1012,12 +1012,12 @@ $.fn.popup = function(parameters) {
if(settings.hideOnScroll === true || (settings.hideOnScroll == 'auto' && settings.on != 'click')) {
module.bind.closeOnScroll();
}
if(settings.on == 'hover' && openedWithTouch) {
module.bind.touchClose();
}
if(settings.on == 'click' && settings.closable) {
if(module.is.closable()) {
module.bind.clickaway();
}
else if(settings.on == 'hover' && openedWithTouch) {
module.bind.touchClose();
}
},
closeOnScroll: function() {
module.verbose('Binding scroll close event to document');
@ -1073,10 +1073,19 @@ $.fn.popup = function(parameters) {
should: {
centerArrow: function(calculations) {
return !module.is.basic() && calculations.target.width <= (settings.arrowPixelsFromEdge * 2);
}
},
},
is: {
closable: function() {
if(settings.closable == 'auto') {
if(settings.on == 'hover') {
return false;
}
return true;
}
return settings.closable;
},
offstage: function(distanceFromBoundary, position) {
var
offstage = []

@ -1,5 +1,5 @@
/*!
* # Semantic UI 2.3.3 - Popup
* # Semantic UI 2.4.0 - Popup
* http://github.com/semantic-org/semantic-ui/
*
*

File diff suppressed because one or more lines are too long

@ -1,5 +1,5 @@
/*!
* # Semantic UI 2.3.3 - Progress Bar
* # Semantic UI 2.4.0 - Progress Bar
* http://github.com/semantic-org/semantic-ui/
*
*

@ -1,5 +1,5 @@
/*!
* # Semantic UI 2.3.3 - Progress
* # Semantic UI 2.4.0 - Progress
* http://github.com/semantic-org/semantic-ui/
*
*

@ -1,5 +1,5 @@
/*!
* # Semantic UI 2.3.3 - Progress Bar
* # Semantic UI 2.4.0 - Progress Bar
* http://github.com/semantic-org/semantic-ui/
*
*

@ -1,5 +1,5 @@
/*!
* # Semantic UI 2.3.3 - Rail
* # Semantic UI 2.4.0 - Rail
* http://github.com/semantic-org/semantic-ui/
*
*

@ -1,5 +1,5 @@
/*!
* # Semantic UI 2.3.3 - Rail
* # Semantic UI 2.4.0 - Rail
* http://github.com/semantic-org/semantic-ui/
*
*

@ -1,5 +1,5 @@
/*!
* # Semantic UI 2.3.3 - Rating
* # Semantic UI 2.4.0 - Rating
* http://github.com/semantic-org/semantic-ui/
*
*

@ -1,5 +1,5 @@
/*!
* # Semantic UI 2.3.3 - Rating
* # Semantic UI 2.4.0 - Rating
* http://github.com/semantic-org/semantic-ui/
*
*

@ -1,5 +1,5 @@
/*!
* # Semantic UI 2.3.3 - Rating
* # Semantic UI 2.4.0 - Rating
* http://github.com/semantic-org/semantic-ui/
*
*

@ -1,5 +1,5 @@
/*!
* # Semantic UI 2.3.3 - Reset
* # Semantic UI 2.4.0 - Reset
* http://github.com/semantic-org/semantic-ui/
*
*

@ -1,5 +1,5 @@
/*!
* # Semantic UI 2.3.3 - Reset
* # Semantic UI 2.4.0 - Reset
* http://github.com/semantic-org/semantic-ui/
*
*

@ -1,5 +1,5 @@
/*!
* # Semantic UI 2.3.3 - Reveal
* # Semantic UI 2.4.0 - Reveal
* http://github.com/semantic-org/semantic-ui/
*
*

@ -1,5 +1,5 @@
/*!
* # Semantic UI 2.3.3 - Reveal
* # Semantic UI 2.4.0 - Reveal
* http://github.com/semantic-org/semantic-ui/
*
*

@ -1,5 +1,5 @@
/*!
* # Semantic UI 2.3.3 - Search
* # Semantic UI 2.4.0 - Search
* http://github.com/semantic-org/semantic-ui/
*
*
@ -61,6 +61,8 @@
-webkit-transform-origin: center top;
transform-origin: center top;
white-space: normal;
text-align: left;
text-transform: none;
background: #FFFFFF;
margin-top: 0.5em;
width: 18em;

@ -1,5 +1,5 @@
/*!
* # Semantic UI 2.3.3 - Search
* # Semantic UI 2.4.0 - Search
* http://github.com/semantic-org/semantic-ui/
*
*

File diff suppressed because one or more lines are too long

@ -1,5 +1,5 @@
/*!
* # Semantic UI 2.3.3 - Segment
* # Semantic UI 2.4.0 - Segment
* http://github.com/semantic-org/semantic-ui/
*
*
@ -103,6 +103,68 @@
*******************************/
/*-------------------
Placeholder
--------------------*/
.ui.placeholder.segment {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-ms-flex-direction: column;
flex-direction: column;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
-webkit-box-align: stretch;
-ms-flex-align: stretch;
align-items: stretch;
max-width: initial;
-webkit-animation: none;
animation: none;
overflow: visible;
padding: 1em 1em;
min-height: 18rem;
background: #F9FAFB;
border-color: rgba(34, 36, 38, 0.15);
-webkit-box-shadow: 0px 2px 25px 0 rgba(34, 36, 38, 0.05) inset;
box-shadow: 0px 2px 25px 0 rgba(34, 36, 38, 0.05) inset;
}
.ui.placeholder.segment .button,
.ui.placeholder.segment textarea {
display: block;
}
.ui.placeholder.segment .field,
.ui.placeholder.segment textarea,
.ui.placeholder.segment > .ui.input,
.ui.placeholder.segment .button {
max-width: 15rem;
margin-left: auto;
margin-right: auto;
}
.ui.placeholder.segment .column .button,
.ui.placeholder.segment .column .field,
.ui.placeholder.segment .column textarea,
.ui.placeholder.segment .column > .ui.input {
max-width: 15rem;
margin-left: auto;
margin-right: auto;
}
.ui.placeholder.segment > .inline {
-ms-flex-item-align: center;
align-self: center;
}
.ui.placeholder.segment > .inline > .button {
display: inline-block;
width: auto;
margin: 0px 0.35714286rem 0px 0px;
}
.ui.placeholder.segment > .inline > .button:last-child {
margin-right: 0px;
}
/*-------------------
Piled
--------------------*/

File diff suppressed because one or more lines are too long

@ -1,5 +1,5 @@
/*!
* # Semantic UI 2.3.3 - Shape
* # Semantic UI 2.4.0 - Shape
* http://github.com/semantic-org/semantic-ui/
*
*

@ -1,5 +1,5 @@
/*!
* # Semantic UI 2.3.3 - Shape
* # Semantic UI 2.4.0 - Shape
* http://github.com/semantic-org/semantic-ui/
*
*

@ -1,5 +1,5 @@
/*!
* # Semantic UI 2.3.3 - Shape
* # Semantic UI 2.4.0 - Shape
* http://github.com/semantic-org/semantic-ui/
*
*

@ -1,5 +1,5 @@
/*!
* # Semantic UI 2.3.3 - Sidebar
* # Semantic UI 2.4.0 - Sidebar
* http://github.com/semantic-org/semantic-ui/
*
*

@ -1,5 +1,5 @@
/*!
* # Semantic UI 2.3.3 - Sidebar
* # Semantic UI 2.4.0 - Sidebar
* http://github.com/semantic-org/semantic-ui/
*
*

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save