Skip to content

Commit

Permalink
Updated distribution to version 2.1.5
Browse files Browse the repository at this point in the history
  • Loading branch information
jlukic committed Nov 1, 2015
1 parent 1884dd3 commit 7200748
Show file tree
Hide file tree
Showing 39 changed files with 293 additions and 150 deletions.
2 changes: 1 addition & 1 deletion _site/collections/message.overrides
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
/*******************************
User Variable Overrides
Site Overrides
*******************************/
2 changes: 1 addition & 1 deletion definitions/behaviors/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -1133,4 +1133,4 @@ $.api.settings = {



})( jQuery, window , document );
})( jQuery, window, document );
2 changes: 1 addition & 1 deletion definitions/behaviors/colorize.js
Original file line number Diff line number Diff line change
Expand Up @@ -271,4 +271,4 @@

};

})( jQuery, window , document );
})( jQuery, window, document );
10 changes: 6 additions & 4 deletions definitions/behaviors/form.js
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,9 @@ $.fn.form = function(parameters) {
module.validate.form.call(module, event, true);
}
else if(settings.on == 'blur' || settings.on == 'change') {
module.validate.field( validationRules );
if(validationRules) {
module.validate.field( validationRules );
}
}
},
change: function(event) {
Expand Down Expand Up @@ -1048,7 +1050,7 @@ $.fn.form.settings = {

regExp: {
bracket : /\[(.*)\]/i,
decimal : /^\-?\d*(\.\d+)?$/,
decimal : /^\d*(\.)\d+/,
email : "[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?",
escape : /[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,
flags : /^\/(.*)\/(.*)?/,
Expand Down Expand Up @@ -1196,7 +1198,7 @@ $.fn.form.settings = {
max,
parts
;
if(range === undefined || range === '' || range === '..') {
if( !range || ['', '..'].indexOf(range) !== -1) {
// do nothing
}
else if(range.indexOf('..') == -1) {
Expand Down Expand Up @@ -1512,4 +1514,4 @@ $.fn.form.settings = {

};

})( jQuery, window , document );
})( jQuery, window, document );
2 changes: 1 addition & 1 deletion definitions/behaviors/state.js
Original file line number Diff line number Diff line change
Expand Up @@ -692,4 +692,4 @@ $.fn.state.settings = {



})( jQuery, window , document );
})( jQuery, window, document );
2 changes: 1 addition & 1 deletion definitions/behaviors/visibility.js
Original file line number Diff line number Diff line change
Expand Up @@ -1213,4 +1213,4 @@ $.fn.visibility.settings = {

};

})( jQuery, window , document );
})( jQuery, window, document );
2 changes: 1 addition & 1 deletion definitions/behaviors/visit.js
Original file line number Diff line number Diff line change
Expand Up @@ -514,4 +514,4 @@ $.fn.visit.settings = {

};

})( jQuery, window , document );
})( jQuery, window, document );
20 changes: 10 additions & 10 deletions definitions/collections/form.less
Original file line number Diff line number Diff line change
Expand Up @@ -246,15 +246,6 @@
width: 0px;
}

/*--------------------
Dividers
---------------------*/

.ui.form .divider {
clear: both;
margin: @dividerMargin;
}


/*--------------------
Types of Messages
Expand Down Expand Up @@ -851,7 +842,6 @@


/* Sizing Combinations */

.ui.form .fields .wide.field {
width: @oneWide;
padding-left: (@gutterWidth / 2);
Expand Down Expand Up @@ -945,6 +935,16 @@
}
}

/*--------------------
Equal Width
---------------------*/

.ui[class*="equal width"].form .fields > .field,
.ui.form [class*="equal width"].fields > .field {
width: 100%;
flex: 1 1 auto;
}

/*--------------------
Inline Fields
---------------------*/
Expand Down
20 changes: 10 additions & 10 deletions definitions/collections/grid.less
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,8 @@
}

/* Segment inside Aligned Grid */
.ui.grid .aligned.row > .column > .segment:not(.compact),
.ui.aligned.grid .column > .segment:not(.compact) {
.ui.grid .aligned.row > .column > .segment:not(.compact):not(.attached),
.ui.aligned.grid .column > .segment:not(.compact):not(.attached) {
width: 100%;
}

Expand Down Expand Up @@ -1790,7 +1790,7 @@

/* Mobile Only Hide */
@media only screen and (max-width: @largestMobileScreen) {
.ui.tablet:not(.mobile).only.grid.grid.grid,
.ui[class*="tablet only"].grid.grid.grid:not(.mobile),
.ui.grid.grid.grid > [class*="tablet only"].row:not(.mobile),
.ui.grid.grid.grid > [class*="tablet only"].column:not(.mobile),
.ui.grid.grid.grid > .row > [class*="tablet only"].column:not(.mobile) {
Expand All @@ -1808,10 +1808,10 @@
.ui.grid.grid.grid > .row > [class*="large screen only"].column:not(.mobile) {
display: none !important;
}
.ui[class*="widescreen"].grid.grid.grid:not(.mobile),
.ui.grid.grid.grid > [class*="large screen only"].row:not(.mobile),
.ui.grid.grid.grid > [class*="large screen only"].column:not(.mobile),
.ui.grid.grid.grid > .row > [class*="large screen only"].column:not(.mobile) {
.ui[class*="widescreen only"].grid.grid.grid:not(.mobile),
.ui.grid.grid.grid > [class*="widescreen only"].row:not(.mobile),
.ui.grid.grid.grid > [class*="widescreen only"].column:not(.mobile),
.ui.grid.grid.grid > .row > [class*="widescreen only"].column:not(.mobile) {
display: none !important;
}
}
Expand All @@ -1835,7 +1835,7 @@
.ui.grid.grid.grid > .row > [class*="large screen only"].column:not(.mobile) {
display: none !important;
}
.ui[class*="widescreen"].grid.grid.grid:not(.mobile),
.ui[class*="widescreen only"].grid.grid.grid:not(.mobile),
.ui.grid.grid.grid > [class*="widescreen only"].row:not(.mobile),
.ui.grid.grid.grid > [class*="widescreen only"].column:not(.mobile),
.ui.grid.grid.grid > .row > [class*="widescreen only"].column:not(.mobile) {
Expand Down Expand Up @@ -1863,7 +1863,7 @@
.ui.grid.grid.grid > .row > [class*="large screen only"].column:not(.mobile) {
display: none !important;
}
.ui[class*="widescreen"].grid.grid.grid:not(.mobile),
.ui[class*="widescreen only"].grid.grid.grid:not(.mobile),
.ui.grid.grid.grid > [class*="widescreen only"].row:not(.mobile),
.ui.grid.grid.grid > [class*="widescreen only"].column:not(.mobile),
.ui.grid.grid.grid > .row > [class*="widescreen only"].column:not(.mobile) {
Expand All @@ -1885,7 +1885,7 @@
.ui.grid.grid.grid > .row > [class*="tablet only"].column:not(.computer) {
display: none !important;
}
.ui[class*="widescreen"].grid.grid.grid:not(.mobile),
.ui[class*="widescreen only"].grid.grid.grid:not(.mobile),
.ui.grid.grid.grid > [class*="widescreen only"].row:not(.mobile),
.ui.grid.grid.grid > [class*="widescreen only"].column:not(.mobile),
.ui.grid.grid.grid > .row > [class*="widescreen only"].column:not(.mobile) {
Expand Down
24 changes: 21 additions & 3 deletions definitions/collections/table.less
Original file line number Diff line number Diff line change
Expand Up @@ -481,46 +481,64 @@


/*--------------
Hoverable
Selectable
---------------*/

.ui.selectable.table tbody tr:hover {
.ui.selectable.table tbody tr:hover,
.ui.table tbody tr td.selectable:hover {
background: @selectableBackground !important;
color: @selectableTextColor !important;
}
.ui.selectable.inverted.table tbody tr:hover {
.ui.selectable.inverted.table tbody tr:hover,
.ui.inverted.table tbody tr td.selectable:hover {
background: @selectableInvertedBackground !important;
color: @selectableInvertedTextColor !important;
}

/* Selectable Cell Link */
.ui.table tbody tr td.selectable {
padding: 0em;
}
.ui.table tbody tr td.selectable > a:not(.ui) {
display: block;
color: inherit;
padding: @cellVerticalPadding @cellHorizontalPadding;
}

/* Other States */
.ui.selectable.table tr.error:hover,
.ui.table tr td.selectable.error:hover,
.ui.selectable.table tr:hover td.error {
background: @errorBackgroundHover !important;
color: @errorColorHover !important;
}
.ui.selectable.table tr.warning:hover,
.ui.table tr td.selectable.warning:hover,
.ui.selectable.table tr:hover td.warning {
background: @warningBackgroundHover !important;
color: @warningColorHover !important;
}
.ui.selectable.table tr.active:hover,
.ui.table tr td.selectable.active:hover,
.ui.selectable.table tr:hover td.active {
background: @activeBackgroundColor !important;
color: @activeColor !important;
}
.ui.selectable.table tr.positive:hover,
.ui.table tr td.selectable.positive:hover,
.ui.selectable.table tr:hover td.positive {
background: @positiveBackgroundHover !important;
color: @positiveColorHover !important;
}
.ui.selectable.table tr.negative:hover,
.ui.table tr td.selectable.negative:hover,
.ui.selectable.table tr:hover td.negative {
background: @negativeBackgroundHover !important;
color: @negativeColorHover !important;
}



/*-------------------
Attached
--------------------*/
Expand Down
2 changes: 1 addition & 1 deletion definitions/elements/divider.less
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@
}

/* Inside grid */
@media only screen and (max-width : (@tabletBreakpoint - 1px)) {
@media only screen and (max-width : @largestMobileScreen) {

.ui.stackable.grid .ui.vertical.divider,
.ui.grid .stackable.row .ui.vertical.divider {
Expand Down
1 change: 1 addition & 0 deletions definitions/elements/header.less
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
---------------*/

.ui.header .sub.header {
display: block;
font-weight: normal;
padding: 0em;
margin: @subHeaderMargin;
Expand Down
5 changes: 5 additions & 0 deletions definitions/elements/segment.less
Original file line number Diff line number Diff line change
Expand Up @@ -370,6 +370,11 @@
box-shadow: none;
border-left: @borderWidth solid @borderColor;
}

/* Border Fixes */
.ui.segments > .horizontal.segments:first-child {
border-top: none;
}
.ui.horizontal.segments > .segment:first-child {
border-left: none;
}
Expand Down
2 changes: 1 addition & 1 deletion definitions/elements/step.less
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@
---------------*/

/* Tablet Or Below */
@media only screen and (max-width: @computerBreakpoint) {
@media only screen and (max-width: @largestTabletScreen) {

.ui[class*="tablet stackable"].steps {
display: inline-flex;
Expand Down
2 changes: 1 addition & 1 deletion definitions/globals/site.js
Original file line number Diff line number Diff line change
Expand Up @@ -484,4 +484,4 @@ $.extend($.expr[ ":" ], {
});


})( jQuery, window , document );
})( jQuery, window, document );
2 changes: 1 addition & 1 deletion definitions/modules/accordion.js
Original file line number Diff line number Diff line change
Expand Up @@ -592,5 +592,5 @@ $.extend( $.easing, {
}
});

})( jQuery, window , document );
})( jQuery, window, document );

13 changes: 9 additions & 4 deletions definitions/modules/checkbox.js
Original file line number Diff line number Diff line change
Expand Up @@ -502,10 +502,15 @@ $.fn.checkbox = function(parameters) {

trigger: {
change: function() {
module.verbose('Triggering change event from programmatic change');
$input
.trigger('change')
var
events = document.createEvent('HTMLEvents'),
inputElement = $input[0]
;
if(inputElement) {
module.verbose('Triggering native change event');
events.initEvent('change', false, true);
inputElement.dispatchEvent(events);
}
}
},

Expand Down Expand Up @@ -801,4 +806,4 @@ $.fn.checkbox.settings = {

};

})( jQuery, window , document );
})( jQuery, window, document );
4 changes: 2 additions & 2 deletions definitions/modules/dimmer.js
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,7 @@ $.fn.dimmer = function(parameters) {
colorArray = color.split(','),
isRGBA = (colorArray && colorArray.length == 4)
;
opacity = settings.opacity || opacity;
opacity = settings.opacity === 0 ? 0 : settings.opacity || opacity;
if(isRGBA) {
colorArray[3] = opacity + ')';
color = colorArray.join(',');
Expand Down Expand Up @@ -690,4 +690,4 @@ $.fn.dimmer.settings = {

};

})( jQuery, window , document );
})( jQuery, window, document );
Loading

0 comments on commit 7200748

Please sign in to comment.