diff --git a/LICENSE.md b/LICENSE.md new file mode 100755 index 000000000..62df7662b --- /dev/null +++ b/LICENSE.md @@ -0,0 +1,7 @@ +# The MIT License + +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. diff --git a/build/minified/modules/shape.js b/build/minified/modules/shape.js index 82c713b52..ec14fa83e 100644 --- a/build/minified/modules/shape.js +++ b/build/minified/modules/shape.js @@ -58,6 +58,7 @@ $.fn.shape = function(parameters) { initialize: function() { module.verbose('Initializing module for', element); module.set.defaultSide(); + module.instantiate(); }, instantiate: function() { @@ -745,4 +746,4 @@ $.fn.shape.settings = { }; -})( jQuery, window , document ); +})( jQuery, window , document ); \ No newline at end of file diff --git a/build/minified/modules/transition.js b/build/minified/modules/transition.js index a5c37385e..506954beb 100644 --- a/build/minified/modules/transition.js +++ b/build/minified/modules/transition.js @@ -113,7 +113,6 @@ $.fn.transition = function() { .one(animationEnd, module.complete) ; if(!module.has.direction() && module.can.transition()) { - console.log($module.attr('class')); module.set.direction(); } if(!module.can.animate()) { @@ -139,11 +138,11 @@ $.fn.transition = function() { complete: function () { module.verbose('CSS animation complete', settings.animation); if(!module.is.looping()) { - if($module.hasClass(className.outward) && !instance.queuing) { + if($module.hasClass(className.outward)) { module.restore.conditions(); module.hide(); } - else if($module.hasClass(className.inward) && !instance.queuing) { + else if($module.hasClass(className.inward)) { module.restore.conditions(); module.show(); } diff --git a/build/packaged/modules/shape.js b/build/packaged/modules/shape.js index 82c713b52..ec14fa83e 100644 --- a/build/packaged/modules/shape.js +++ b/build/packaged/modules/shape.js @@ -58,6 +58,7 @@ $.fn.shape = function(parameters) { initialize: function() { module.verbose('Initializing module for', element); module.set.defaultSide(); + module.instantiate(); }, instantiate: function() { @@ -745,4 +746,4 @@ $.fn.shape.settings = { }; -})( jQuery, window , document ); +})( jQuery, window , document ); \ No newline at end of file diff --git a/build/packaged/modules/transition.js b/build/packaged/modules/transition.js index a5c37385e..506954beb 100644 --- a/build/packaged/modules/transition.js +++ b/build/packaged/modules/transition.js @@ -113,7 +113,6 @@ $.fn.transition = function() { .one(animationEnd, module.complete) ; if(!module.has.direction() && module.can.transition()) { - console.log($module.attr('class')); module.set.direction(); } if(!module.can.animate()) { @@ -139,11 +138,11 @@ $.fn.transition = function() { complete: function () { module.verbose('CSS animation complete', settings.animation); if(!module.is.looping()) { - if($module.hasClass(className.outward) && !instance.queuing) { + if($module.hasClass(className.outward)) { module.restore.conditions(); module.hide(); } - else if($module.hasClass(className.inward) && !instance.queuing) { + else if($module.hasClass(className.inward)) { module.restore.conditions(); module.show(); } diff --git a/build/uncompressed/modules/dimmer.css b/build/uncompressed/modules/dimmer.css index ca98a92aa..8a36a46bd 100644 --- a/build/uncompressed/modules/dimmer.css +++ b/build/uncompressed/modules/dimmer.css @@ -81,6 +81,7 @@ .ui.dimmer .content > * { display: table-cell; vertical-align: middle; + color: #FFFFFF; } /* Loose Coupling */ .ui.segment > .ui.dimmer { @@ -142,6 +143,9 @@ body.ui.dimmable.dimmed > :not(.dimmer) { .ui.inverted.dimmer { background-color: rgba(255, 255, 255, 0.85); } +.ui.inverted.dimmer .content > * { + color: rgba(0, 0, 0, 0.8); +} /*-------------- Simple ---------------*/ diff --git a/build/uncompressed/modules/shape.js b/build/uncompressed/modules/shape.js index 82c713b52..ec14fa83e 100644 --- a/build/uncompressed/modules/shape.js +++ b/build/uncompressed/modules/shape.js @@ -58,6 +58,7 @@ $.fn.shape = function(parameters) { initialize: function() { module.verbose('Initializing module for', element); module.set.defaultSide(); + module.instantiate(); }, instantiate: function() { @@ -745,4 +746,4 @@ $.fn.shape.settings = { }; -})( jQuery, window , document ); +})( jQuery, window , document ); \ No newline at end of file diff --git a/build/uncompressed/modules/transition.js b/build/uncompressed/modules/transition.js index a5c37385e..506954beb 100644 --- a/build/uncompressed/modules/transition.js +++ b/build/uncompressed/modules/transition.js @@ -113,7 +113,6 @@ $.fn.transition = function() { .one(animationEnd, module.complete) ; if(!module.has.direction() && module.can.transition()) { - console.log($module.attr('class')); module.set.direction(); } if(!module.can.animate()) { @@ -139,11 +138,11 @@ $.fn.transition = function() { complete: function () { module.verbose('CSS animation complete', settings.animation); if(!module.is.looping()) { - if($module.hasClass(className.outward) && !instance.queuing) { + if($module.hasClass(className.outward)) { module.restore.conditions(); module.hide(); } - else if($module.hasClass(className.inward) && !instance.queuing) { + else if($module.hasClass(className.inward)) { module.restore.conditions(); module.show(); } diff --git a/node/src/documents/guide/cssguide.html b/node/src/documents/guide/cssguide.html index a13323257..aa2264c03 100755 --- a/node/src/documents/guide/cssguide.html +++ b/node/src/documents/guide/cssguide.html @@ -283,6 +283,15 @@ type : 'UI Guide' } +
Inheritance can be hell sometimes. Consider changing the opacity of an element. There is no way to "cancel out" of that opacity change on content inside. Sometimes the only way to avoid creating inheritance problems is to specify what elements should not receive a set of rules. Consider blurring content while a dimmer is present. Blurring should only apply to elements that are not inside the dimmer, but there is no way to know what the content is beforehand.
+Sometimes text can be accidentally highlighted when a user double clicks an element. No need to pull out javascript to solve this.
diff --git a/node/src/documents/introduction/definitions.html b/node/src/documents/introduction/definitions.html index e79735065..7adf03f96 100755 --- a/node/src/documents/introduction/definitions.html +++ b/node/src/documents/introduction/definitions.html @@ -116,7 +116,7 @@ type : 'UI Introduction'Semantic is based on class names, instead of tags. This means, except for links, tables and form elements, you can use semantic with tags like