fomantic-ui-sass 2.8.3 → 2.8.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +28 -0
- data/README.md +6 -0
- data/app/assets/fonts/semantic-ui/brand-icons.eot +0 -0
- data/app/assets/fonts/semantic-ui/brand-icons.svg +95 -56
- data/app/assets/fonts/semantic-ui/brand-icons.ttf +0 -0
- data/app/assets/fonts/semantic-ui/brand-icons.woff +0 -0
- data/app/assets/fonts/semantic-ui/brand-icons.woff2 +0 -0
- data/app/assets/fonts/semantic-ui/icons.eot +0 -0
- data/app/assets/fonts/semantic-ui/icons.svg +121 -88
- data/app/assets/fonts/semantic-ui/icons.ttf +0 -0
- data/app/assets/fonts/semantic-ui/icons.woff +0 -0
- data/app/assets/fonts/semantic-ui/icons.woff2 +0 -0
- data/app/assets/fonts/semantic-ui/outline-icons.eot +0 -0
- data/app/assets/fonts/semantic-ui/outline-icons.svg +10 -10
- data/app/assets/fonts/semantic-ui/outline-icons.ttf +0 -0
- data/app/assets/fonts/semantic-ui/outline-icons.woff +0 -0
- data/app/assets/fonts/semantic-ui/outline-icons.woff2 +0 -0
- data/app/assets/javascripts/semantic-ui/calendar.js +249 -60
- data/app/assets/javascripts/semantic-ui/checkbox.js +1 -1
- data/app/assets/javascripts/semantic-ui/dimmer.js +3 -3
- data/app/assets/javascripts/semantic-ui/dropdown.js +62 -23
- data/app/assets/javascripts/semantic-ui/form.js +78 -26
- data/app/assets/javascripts/semantic-ui/modal.js +9 -1
- data/app/assets/javascripts/semantic-ui/popup.js +6 -5
- data/app/assets/javascripts/semantic-ui/progress.js +20 -24
- data/app/assets/javascripts/semantic-ui/search.js +28 -0
- data/app/assets/javascripts/semantic-ui/slider.js +2 -2
- data/app/assets/javascripts/semantic-ui/tab.js +3 -2
- data/app/assets/javascripts/semantic-ui/toast.js +9 -7
- data/app/assets/javascripts/semantic-ui/visibility.js +1 -1
- data/app/assets/stylesheets/semantic-ui/collections/_form.scss +79 -117
- data/app/assets/stylesheets/semantic-ui/collections/_grid.scss +8 -6
- data/app/assets/stylesheets/semantic-ui/collections/_menu.scss +36 -35
- data/app/assets/stylesheets/semantic-ui/collections/_message.scss +4 -4
- data/app/assets/stylesheets/semantic-ui/collections/_table.scss +23 -17
- data/app/assets/stylesheets/semantic-ui/elements/_all.scss +1 -0
- data/app/assets/stylesheets/semantic-ui/elements/_button.scss +9 -3
- data/app/assets/stylesheets/semantic-ui/elements/_emoji.scss +1 -1
- data/app/assets/stylesheets/semantic-ui/elements/_header.scss +8 -8
- data/app/assets/stylesheets/semantic-ui/elements/_icon.scss +124 -15
- data/app/assets/stylesheets/semantic-ui/elements/_image.scss +33 -4
- data/app/assets/stylesheets/semantic-ui/elements/_input.scss +48 -48
- data/app/assets/stylesheets/semantic-ui/elements/_label.scss +38 -2
- data/app/assets/stylesheets/semantic-ui/elements/_list.scss +12 -12
- data/app/assets/stylesheets/semantic-ui/elements/_segment.scss +7 -1
- data/app/assets/stylesheets/semantic-ui/elements/_step.scss +16 -9
- data/app/assets/stylesheets/semantic-ui/elements/_text.scss +15 -0
- data/app/assets/stylesheets/semantic-ui/modules/_calendar.scss +16 -9
- data/app/assets/stylesheets/semantic-ui/modules/_checkbox.scss +1 -0
- data/app/assets/stylesheets/semantic-ui/modules/_dimmer.scss +17 -14
- data/app/assets/stylesheets/semantic-ui/modules/_dropdown.scss +122 -32
- data/app/assets/stylesheets/semantic-ui/modules/_embed.scss +6 -6
- data/app/assets/stylesheets/semantic-ui/modules/_modal.scss +10 -6
- data/app/assets/stylesheets/semantic-ui/modules/_popup.scss +2 -0
- data/app/assets/stylesheets/semantic-ui/modules/_progress.scss +32 -3
- data/app/assets/stylesheets/semantic-ui/modules/_search.scss +90 -0
- data/app/assets/stylesheets/semantic-ui/modules/_shape.scss +1 -0
- data/app/assets/stylesheets/semantic-ui/modules/_sidebar.scss +2 -1
- data/app/assets/stylesheets/semantic-ui/modules/_slider.scss +9 -0
- data/app/assets/stylesheets/semantic-ui/modules/_toast.scss +7 -7
- data/app/assets/stylesheets/semantic-ui/modules/_transition.scss +34 -34
- data/app/assets/stylesheets/semantic-ui/views/_card.scss +1 -1
- data/app/assets/stylesheets/semantic-ui/views/_feed.scss +5 -5
- data/app/assets/stylesheets/semantic-ui/views/_statistic.scss +4 -4
- data/lib/fomantic/ui/sass/version.rb +2 -2
- metadata +6 -6
@@ -708,7 +708,15 @@ $.fn.modal = function(parameters) {
|
|
708
708
|
return module.cache.leftBodyScrollbar;
|
709
709
|
},
|
710
710
|
useFlex: function() {
|
711
|
-
|
711
|
+
if (settings.useFlex === 'auto') {
|
712
|
+
return settings.detachable && !module.is.ie();
|
713
|
+
}
|
714
|
+
if(settings.useFlex && module.is.ie()) {
|
715
|
+
module.debug('useFlex true is not supported in IE');
|
716
|
+
} else if(settings.useFlex && !settings.detachable) {
|
717
|
+
module.debug('useFlex true in combination with detachable false is not supported');
|
718
|
+
}
|
719
|
+
return settings.useFlex;
|
712
720
|
},
|
713
721
|
fit: function() {
|
714
722
|
var
|
@@ -510,9 +510,10 @@ $.fn.popup = function(parameters) {
|
|
510
510
|
$popupOffsetParent = module.get.offsetParent($popup),
|
511
511
|
targetElement = $target[0],
|
512
512
|
isWindow = ($boundary[0] == window),
|
513
|
-
|
514
|
-
|
515
|
-
|
513
|
+
targetOffset = $target.offset(),
|
514
|
+
parentOffset = settings.inline || (settings.popup && settings.movePopup)
|
515
|
+
? $target.offsetParent().offset()
|
516
|
+
: { top: 0, left: 0 },
|
516
517
|
screenPosition = (isWindow)
|
517
518
|
? { top: 0, left: 0 }
|
518
519
|
: $boundary.offset(),
|
@@ -528,8 +529,8 @@ $.fn.popup = function(parameters) {
|
|
528
529
|
element : $target[0],
|
529
530
|
width : $target.outerWidth(),
|
530
531
|
height : $target.outerHeight(),
|
531
|
-
top :
|
532
|
-
left :
|
532
|
+
top : targetOffset.top - parentOffset.top,
|
533
|
+
left : targetOffset.left - parentOffset.left,
|
533
534
|
margin : {}
|
534
535
|
},
|
535
536
|
// popup itself
|
@@ -169,7 +169,7 @@ $.fn.progress = function(parameters) {
|
|
169
169
|
value : module.helper.forceArray($module.data(metadata.value))
|
170
170
|
}
|
171
171
|
;
|
172
|
-
if(data.total) {
|
172
|
+
if(data.total !== undefined) {
|
173
173
|
module.debug('Total value set from metadata', data.total);
|
174
174
|
module.set.total(data.total);
|
175
175
|
}
|
@@ -272,18 +272,18 @@ $.fn.progress = function(parameters) {
|
|
272
272
|
var
|
273
273
|
index_ = index || 0,
|
274
274
|
value = module.get.value(index_),
|
275
|
-
total = module.total
|
275
|
+
total = module.get.total(),
|
276
276
|
percent = (animating)
|
277
277
|
? module.get.displayPercent(index_)
|
278
278
|
: module.get.percent(index_),
|
279
|
-
left = (
|
280
|
-
? (total - value)
|
279
|
+
left = (total !== false)
|
280
|
+
? Math.max(0,total - value)
|
281
281
|
: (100 - percent)
|
282
282
|
;
|
283
283
|
templateText = templateText || '';
|
284
284
|
templateText = templateText
|
285
285
|
.replace('{value}', value)
|
286
|
-
.replace('{total}', total)
|
286
|
+
.replace('{total}', total || 0)
|
287
287
|
.replace('{left}', left)
|
288
288
|
.replace('{percent}', percent)
|
289
289
|
.replace('{bar}', settings.text.bars[index_] || '')
|
@@ -373,7 +373,7 @@ $.fn.progress = function(parameters) {
|
|
373
373
|
return module.nextValue || module.value && module.value[index || 0] || 0;
|
374
374
|
},
|
375
375
|
total: function() {
|
376
|
-
return module.total
|
376
|
+
return module.total !== undefined ? module.total : false;
|
377
377
|
}
|
378
378
|
},
|
379
379
|
|
@@ -506,23 +506,23 @@ $.fn.progress = function(parameters) {
|
|
506
506
|
;
|
507
507
|
});
|
508
508
|
var hasTotal = module.has.total();
|
509
|
-
var
|
510
|
-
var
|
509
|
+
var totalPercent = module.helper.sum(percents);
|
510
|
+
var isMultipleValues = percents.length > 1 && hasTotal;
|
511
511
|
var sumTotal = module.helper.sum(module.helper.forceArray(module.value));
|
512
|
-
if (
|
512
|
+
if (isMultipleValues && sumTotal > module.total) {
|
513
513
|
// Sum values instead of pecents to avoid precision issues when summing floats
|
514
514
|
module.error(error.sumExceedsTotal, sumTotal, module.total);
|
515
|
-
} else if (!
|
516
|
-
// Sum before
|
517
|
-
module.error(error.tooHigh,
|
518
|
-
} else if (
|
519
|
-
module.error(error.tooLow,
|
515
|
+
} else if (!isMultipleValues && totalPercent > 100) {
|
516
|
+
// Sum before rounding since sum of rounded may have error though sum of actual is fine
|
517
|
+
module.error(error.tooHigh, totalPercent);
|
518
|
+
} else if (totalPercent < 0) {
|
519
|
+
module.error(error.tooLow, totalPercent);
|
520
520
|
} else {
|
521
521
|
var autoPrecision = settings.precision > 0
|
522
522
|
? settings.precision
|
523
|
-
:
|
523
|
+
: isMultipleValues
|
524
524
|
? module.helper.derivePrecision(Math.min.apply(null, module.value), module.total)
|
525
|
-
:
|
525
|
+
: 0;
|
526
526
|
|
527
527
|
// round display percentage
|
528
528
|
var roundedPercents = percents.map(function (percent) {
|
@@ -532,7 +532,7 @@ $.fn.progress = function(parameters) {
|
|
532
532
|
;
|
533
533
|
});
|
534
534
|
module.percent = roundedPercents;
|
535
|
-
if (
|
535
|
+
if (hasTotal) {
|
536
536
|
module.value = roundedPercents.map(function (percent) {
|
537
537
|
return (autoPrecision > 0)
|
538
538
|
? Math.round((percent / 100) * module.total * (10 * autoPrecision)) / (10 * autoPrecision)
|
@@ -541,11 +541,7 @@ $.fn.progress = function(parameters) {
|
|
541
541
|
});
|
542
542
|
if (settings.limitValues) {
|
543
543
|
module.value = module.value.map(function (value) {
|
544
|
-
return (
|
545
|
-
? 100
|
546
|
-
: (module.value < 0)
|
547
|
-
? 0
|
548
|
-
: module.value;
|
544
|
+
return Math.max(0, Math.min(100, value));
|
549
545
|
});
|
550
546
|
}
|
551
547
|
}
|
@@ -622,7 +618,7 @@ $.fn.progress = function(parameters) {
|
|
622
618
|
if (text !== undefined) {
|
623
619
|
$progress.text( module.get.text(text, index) );
|
624
620
|
}
|
625
|
-
else if (settings.label == 'ratio' && module.total) {
|
621
|
+
else if (settings.label == 'ratio' && module.has.total()) {
|
626
622
|
module.verbose('Adding ratio to bar label');
|
627
623
|
$progress.text( module.get.text(settings.text.ratio, index) );
|
628
624
|
}
|
@@ -752,7 +748,7 @@ $.fn.progress = function(parameters) {
|
|
752
748
|
}
|
753
749
|
value = module.get.normalizedValue(value);
|
754
750
|
if (hasTotal) {
|
755
|
-
percentComplete = (value / module.total) * 100;
|
751
|
+
percentComplete = module.total > 0 ? (value / module.total) * 100 : 100;
|
756
752
|
module.debug('Calculating percent complete from total', percentComplete);
|
757
753
|
}
|
758
754
|
else {
|
@@ -239,6 +239,7 @@ $.fn.search = function(parameters) {
|
|
239
239
|
}
|
240
240
|
module.hideResults();
|
241
241
|
if(href) {
|
242
|
+
event.preventDefault();
|
242
243
|
module.verbose('Opening search link found in result', $link);
|
243
244
|
if(target == '_blank' || event.ctrlKey) {
|
244
245
|
window.open(href);
|
@@ -250,6 +251,25 @@ $.fn.search = function(parameters) {
|
|
250
251
|
}
|
251
252
|
}
|
252
253
|
},
|
254
|
+
ensureVisible: function ensureVisible($el) {
|
255
|
+
var elTop, elBottom, resultsScrollTop, resultsHeight;
|
256
|
+
|
257
|
+
elTop = $el.position().top;
|
258
|
+
elBottom = elTop + $el.outerHeight(true);
|
259
|
+
|
260
|
+
resultsScrollTop = $results.scrollTop();
|
261
|
+
resultsHeight = $results.height()
|
262
|
+
parseInt($results.css('paddingTop'), 0) +
|
263
|
+
parseInt($results.css('paddingBottom'), 0);
|
264
|
+
|
265
|
+
if (elTop < 0) {
|
266
|
+
$results.scrollTop(resultsScrollTop + elTop);
|
267
|
+
}
|
268
|
+
|
269
|
+
else if (resultsHeight < elBottom) {
|
270
|
+
$results.scrollTop(resultsScrollTop + (elBottom - resultsHeight));
|
271
|
+
}
|
272
|
+
},
|
253
273
|
handleKeyboard: function(event) {
|
254
274
|
var
|
255
275
|
// force selector refresh
|
@@ -301,6 +321,7 @@ $.fn.search = function(parameters) {
|
|
301
321
|
.closest($category)
|
302
322
|
.addClass(className.active)
|
303
323
|
;
|
324
|
+
module.ensureVisible($result.eq(newIndex));
|
304
325
|
event.preventDefault();
|
305
326
|
}
|
306
327
|
else if(keyCode == keys.downArrow) {
|
@@ -319,6 +340,7 @@ $.fn.search = function(parameters) {
|
|
319
340
|
.closest($category)
|
320
341
|
.addClass(className.active)
|
321
342
|
;
|
343
|
+
module.ensureVisible($result.eq(newIndex));
|
322
344
|
event.preventDefault();
|
323
345
|
}
|
324
346
|
}
|
@@ -952,6 +974,12 @@ $.fn.search = function(parameters) {
|
|
952
974
|
debug : settings.debug,
|
953
975
|
verbose : settings.verbose,
|
954
976
|
duration : settings.duration,
|
977
|
+
onShow : function() {
|
978
|
+
var $firstResult = $module.find(selector.result).eq(0);
|
979
|
+
if($firstResult.length > 0) {
|
980
|
+
module.ensureVisible($firstResult);
|
981
|
+
}
|
982
|
+
},
|
955
983
|
onComplete : function() {
|
956
984
|
callback();
|
957
985
|
},
|
@@ -789,9 +789,8 @@ $.fn.slider = function(parameters) {
|
|
789
789
|
}
|
790
790
|
// Use precision to avoid ugly Javascript floating point rounding issues
|
791
791
|
// (like 35 * .01 = 0.35000000000000003)
|
792
|
-
difference = Math.round(difference * precision) / precision;
|
793
792
|
module.verbose('Cutting off additional decimal places');
|
794
|
-
return difference + module.get.min();
|
793
|
+
return Math.round((difference + module.get.min()) * precision) / precision;
|
795
794
|
},
|
796
795
|
keyMovement: function(event) {
|
797
796
|
var
|
@@ -1271,6 +1270,7 @@ $.fn.slider.settings = {
|
|
1271
1270
|
labelDistance : 100,
|
1272
1271
|
preventCrossover : true,
|
1273
1272
|
fireOnInit : false,
|
1273
|
+
interpretLabel : false,
|
1274
1274
|
|
1275
1275
|
//the decimal place to round to if step is undefined
|
1276
1276
|
decimalPlaces : 2,
|
@@ -100,9 +100,9 @@ $.fn.tab = function(parameters) {
|
|
100
100
|
initializedHistory = true;
|
101
101
|
}
|
102
102
|
|
103
|
-
if(instance === undefined && module.determine.activeTab() == null) {
|
103
|
+
if(settings.autoTabActivation && instance === undefined && module.determine.activeTab() == null) {
|
104
104
|
module.debug('No active tab detected, setting first tab active', module.get.initialPath());
|
105
|
-
module.changeTab(module.get.initialPath());
|
105
|
+
module.changeTab(settings.autoTabActivation === true ? module.get.initialPath() : settings.autoTabActivation);
|
106
106
|
};
|
107
107
|
|
108
108
|
module.instantiate();
|
@@ -953,6 +953,7 @@ $.fn.tab.settings = {
|
|
953
953
|
|
954
954
|
apiSettings : false, // settings for api call
|
955
955
|
evaluateScripts : 'once', // whether inline scripts should be parsed (true/false/once). Once will not re-evaluate on cached content
|
956
|
+
autoTabActivation: true, // whether a non existing active tab will auto activate the first available tab
|
956
957
|
|
957
958
|
onFirstLoad : function(tabPath, parameterArray, historyEvent) {}, // called first time loaded
|
958
959
|
onLoad : function(tabPath, parameterArray, historyEvent) {}, // called on every load
|
@@ -389,13 +389,15 @@ $.fn.toast = function(parameters) {
|
|
389
389
|
onBeforeHide: function(callback){
|
390
390
|
callback = $.isFunction(callback)?callback : function(){};
|
391
391
|
if(settings.transition.closeEasing !== ''){
|
392
|
-
$toastBox
|
393
|
-
|
394
|
-
|
395
|
-
$toastBox
|
396
|
-
|
397
|
-
|
398
|
-
|
392
|
+
if($toastBox) {
|
393
|
+
$toastBox.css('opacity', 0);
|
394
|
+
$toastBox.wrap('<div/>').parent().slideUp(500, settings.transition.closeEasing, function () {
|
395
|
+
if ($toastBox) {
|
396
|
+
$toastBox.parent().remove();
|
397
|
+
callback.call($toastBox);
|
398
|
+
}
|
399
|
+
});
|
400
|
+
}
|
399
401
|
} else {
|
400
402
|
callback.call($toastBox);
|
401
403
|
}
|
@@ -902,7 +902,7 @@ $.fn.visibility = function(parameters) {
|
|
902
902
|
element.offset.top += $context.scrollTop() - $context.offset().top;
|
903
903
|
}
|
904
904
|
if(module.is.horizontallyScrollableContext()) {
|
905
|
-
element.offset.left += $context.scrollLeft - $context.offset().left;
|
905
|
+
element.offset.left += $context.scrollLeft() - $context.offset().left;
|
906
906
|
}
|
907
907
|
// store
|
908
908
|
module.cache.element = element;
|
@@ -406,33 +406,33 @@
|
|
406
406
|
-webkit-box-shadow: 0 0 0 0 rgba(34, 36, 38, 0.35) inset;
|
407
407
|
box-shadow: 0 0 0 0 rgba(34, 36, 38, 0.35) inset;
|
408
408
|
}
|
409
|
-
.ui.form .ui.action.input:not(
|
410
|
-
.ui.form .ui.action.input:not(
|
411
|
-
.ui.form .ui.action.input:not(
|
412
|
-
.ui.form .ui.action.input:not(
|
413
|
-
.ui.form .ui.action.input:not(
|
414
|
-
.ui.form .ui.action.input:not(
|
415
|
-
.ui.form .ui.action.input:not(
|
416
|
-
.ui.form .ui.action.input:not(
|
417
|
-
.ui.form .ui.action.input:not(
|
418
|
-
.ui.form .ui.action.input:not(
|
419
|
-
.ui.form .ui.action.input:not(
|
420
|
-
.ui.form .ui.action.input:not(
|
409
|
+
.ui.form .ui.action.input:not([class*="left action"]) input:not([type]):focus,
|
410
|
+
.ui.form .ui.action.input:not([class*="left action"]) input[type="date"]:focus,
|
411
|
+
.ui.form .ui.action.input:not([class*="left action"]) input[type="datetime-local"]:focus,
|
412
|
+
.ui.form .ui.action.input:not([class*="left action"]) input[type="email"]:focus,
|
413
|
+
.ui.form .ui.action.input:not([class*="left action"]) input[type="number"]:focus,
|
414
|
+
.ui.form .ui.action.input:not([class*="left action"]) input[type="password"]:focus,
|
415
|
+
.ui.form .ui.action.input:not([class*="left action"]) input[type="search"]:focus,
|
416
|
+
.ui.form .ui.action.input:not([class*="left action"]) input[type="tel"]:focus,
|
417
|
+
.ui.form .ui.action.input:not([class*="left action"]) input[type="time"]:focus,
|
418
|
+
.ui.form .ui.action.input:not([class*="left action"]) input[type="text"]:focus,
|
419
|
+
.ui.form .ui.action.input:not([class*="left action"]) input[type="file"]:focus,
|
420
|
+
.ui.form .ui.action.input:not([class*="left action"]) input[type="url"]:focus {
|
421
421
|
border-top-right-radius: 0;
|
422
422
|
border-bottom-right-radius: 0;
|
423
423
|
}
|
424
|
-
.ui.form .ui
|
425
|
-
.ui.form .ui
|
426
|
-
.ui.form .ui
|
427
|
-
.ui.form .ui
|
428
|
-
.ui.form .ui
|
429
|
-
.ui.form .ui
|
430
|
-
.ui.form .ui
|
431
|
-
.ui.form .ui
|
432
|
-
.ui.form .ui
|
433
|
-
.ui.form .ui
|
434
|
-
.ui.form .ui
|
435
|
-
.ui.form .ui
|
424
|
+
.ui.form .ui[class*="left action"].input input:not([type]),
|
425
|
+
.ui.form .ui[class*="left action"].input input[type="date"],
|
426
|
+
.ui.form .ui[class*="left action"].input input[type="datetime-local"],
|
427
|
+
.ui.form .ui[class*="left action"].input input[type="email"],
|
428
|
+
.ui.form .ui[class*="left action"].input input[type="number"],
|
429
|
+
.ui.form .ui[class*="left action"].input input[type="password"],
|
430
|
+
.ui.form .ui[class*="left action"].input input[type="search"],
|
431
|
+
.ui.form .ui[class*="left action"].input input[type="tel"],
|
432
|
+
.ui.form .ui[class*="left action"].input input[type="time"],
|
433
|
+
.ui.form .ui[class*="left action"].input input[type="text"],
|
434
|
+
.ui.form .ui[class*="left action"].input input[type="file"],
|
435
|
+
.ui.form .ui[class*="left action"].input input[type="url"] {
|
436
436
|
border-bottom-left-radius: 0;
|
437
437
|
border-top-left-radius: 0;
|
438
438
|
}
|
@@ -561,15 +561,15 @@
|
|
561
561
|
.ui.form .field.error .transparent.input textarea,
|
562
562
|
.ui.form .field.error input.transparent,
|
563
563
|
.ui.form .field.error textarea.transparent {
|
564
|
-
background-color: #FFF6F6;
|
565
|
-
color: #9F3A38;
|
564
|
+
background-color: #FFF6F6 !important;
|
565
|
+
color: #9F3A38 !important;
|
566
566
|
}
|
567
567
|
|
568
568
|
/* Autofilled */
|
569
569
|
.ui.form .error.error input:-webkit-autofill {
|
570
570
|
-webkit-box-shadow: 0 0 0 100px #FFFAF0 inset !important;
|
571
571
|
box-shadow: 0 0 0 100px #FFFAF0 inset !important;
|
572
|
-
border-color: #E0B4B4;
|
572
|
+
border-color: #E0B4B4 !important;
|
573
573
|
}
|
574
574
|
|
575
575
|
/* Placeholder */
|
@@ -577,7 +577,7 @@
|
|
577
577
|
color: #e7bdbc;
|
578
578
|
}
|
579
579
|
.ui.form .error :-ms-input-placeholder {
|
580
|
-
color: #e7bdbc;
|
580
|
+
color: #e7bdbc !important;
|
581
581
|
}
|
582
582
|
.ui.form .error ::-moz-placeholder {
|
583
583
|
color: #e7bdbc;
|
@@ -586,7 +586,7 @@
|
|
586
586
|
color: #da9796;
|
587
587
|
}
|
588
588
|
.ui.form .error :focus:-ms-input-placeholder {
|
589
|
-
color: #da9796;
|
589
|
+
color: #da9796 !important;
|
590
590
|
}
|
591
591
|
.ui.form .error :focus::-moz-placeholder {
|
592
592
|
color: #da9796;
|
@@ -637,7 +637,7 @@
|
|
637
637
|
/* Active */
|
638
638
|
.ui.form .fields.error .field .ui.dropdown .menu .active.item,
|
639
639
|
.ui.form .field.error .ui.dropdown .menu .active.item {
|
640
|
-
background-color: #FDCFCF;
|
640
|
+
background-color: #FDCFCF !important;
|
641
641
|
}
|
642
642
|
|
643
643
|
/*--------------------
|
@@ -774,15 +774,15 @@
|
|
774
774
|
.ui.form .field.info .transparent.input textarea,
|
775
775
|
.ui.form .field.info input.transparent,
|
776
776
|
.ui.form .field.info textarea.transparent {
|
777
|
-
background-color: #F8FFFF;
|
778
|
-
color: #276F86;
|
777
|
+
background-color: #F8FFFF !important;
|
778
|
+
color: #276F86 !important;
|
779
779
|
}
|
780
780
|
|
781
781
|
/* Autofilled */
|
782
782
|
.ui.form .info.info input:-webkit-autofill {
|
783
783
|
-webkit-box-shadow: 0 0 0 100px #F0FAFF inset !important;
|
784
784
|
box-shadow: 0 0 0 100px #F0FAFF inset !important;
|
785
|
-
border-color: #b3e0e0;
|
785
|
+
border-color: #b3e0e0 !important;
|
786
786
|
}
|
787
787
|
|
788
788
|
/* Placeholder */
|
@@ -790,7 +790,7 @@
|
|
790
790
|
color: #98cfe1;
|
791
791
|
}
|
792
792
|
.ui.form .info :-ms-input-placeholder {
|
793
|
-
color: #98cfe1;
|
793
|
+
color: #98cfe1 !important;
|
794
794
|
}
|
795
795
|
.ui.form .info ::-moz-placeholder {
|
796
796
|
color: #98cfe1;
|
@@ -799,7 +799,7 @@
|
|
799
799
|
color: #70bdd6;
|
800
800
|
}
|
801
801
|
.ui.form .info :focus:-ms-input-placeholder {
|
802
|
-
color: #70bdd6;
|
802
|
+
color: #70bdd6 !important;
|
803
803
|
}
|
804
804
|
.ui.form .info :focus::-moz-placeholder {
|
805
805
|
color: #70bdd6;
|
@@ -850,7 +850,7 @@
|
|
850
850
|
/* Active */
|
851
851
|
.ui.form .fields.info .field .ui.dropdown .menu .active.item,
|
852
852
|
.ui.form .field.info .ui.dropdown .menu .active.item {
|
853
|
-
background-color: #cef1fd;
|
853
|
+
background-color: #cef1fd !important;
|
854
854
|
}
|
855
855
|
|
856
856
|
/*--------------------
|
@@ -987,15 +987,15 @@
|
|
987
987
|
.ui.form .field.success .transparent.input textarea,
|
988
988
|
.ui.form .field.success input.transparent,
|
989
989
|
.ui.form .field.success textarea.transparent {
|
990
|
-
background-color: #FCFFF5;
|
991
|
-
color: #2C662D;
|
990
|
+
background-color: #FCFFF5 !important;
|
991
|
+
color: #2C662D !important;
|
992
992
|
}
|
993
993
|
|
994
994
|
/* Autofilled */
|
995
995
|
.ui.form .success.success input:-webkit-autofill {
|
996
996
|
-webkit-box-shadow: 0 0 0 100px #F0FFF0 inset !important;
|
997
997
|
box-shadow: 0 0 0 100px #F0FFF0 inset !important;
|
998
|
-
border-color: #bee0b3;
|
998
|
+
border-color: #bee0b3 !important;
|
999
999
|
}
|
1000
1000
|
|
1001
1001
|
/* Placeholder */
|
@@ -1003,7 +1003,7 @@
|
|
1003
1003
|
color: #8fcf90;
|
1004
1004
|
}
|
1005
1005
|
.ui.form .success :-ms-input-placeholder {
|
1006
|
-
color: #8fcf90;
|
1006
|
+
color: #8fcf90 !important;
|
1007
1007
|
}
|
1008
1008
|
.ui.form .success ::-moz-placeholder {
|
1009
1009
|
color: #8fcf90;
|
@@ -1012,7 +1012,7 @@
|
|
1012
1012
|
color: #6cbf6d;
|
1013
1013
|
}
|
1014
1014
|
.ui.form .success :focus:-ms-input-placeholder {
|
1015
|
-
color: #6cbf6d;
|
1015
|
+
color: #6cbf6d !important;
|
1016
1016
|
}
|
1017
1017
|
.ui.form .success :focus::-moz-placeholder {
|
1018
1018
|
color: #6cbf6d;
|
@@ -1063,7 +1063,7 @@
|
|
1063
1063
|
/* Active */
|
1064
1064
|
.ui.form .fields.success .field .ui.dropdown .menu .active.item,
|
1065
1065
|
.ui.form .field.success .ui.dropdown .menu .active.item {
|
1066
|
-
background-color: #dafdce;
|
1066
|
+
background-color: #dafdce !important;
|
1067
1067
|
}
|
1068
1068
|
|
1069
1069
|
/*--------------------
|
@@ -1200,15 +1200,15 @@
|
|
1200
1200
|
.ui.form .field.warning .transparent.input textarea,
|
1201
1201
|
.ui.form .field.warning input.transparent,
|
1202
1202
|
.ui.form .field.warning textarea.transparent {
|
1203
|
-
background-color: #FFFAF3;
|
1204
|
-
color: #573A08;
|
1203
|
+
background-color: #FFFAF3 !important;
|
1204
|
+
color: #573A08 !important;
|
1205
1205
|
}
|
1206
1206
|
|
1207
1207
|
/* Autofilled */
|
1208
1208
|
.ui.form .warning.warning input:-webkit-autofill {
|
1209
1209
|
-webkit-box-shadow: 0 0 0 100px #FFFFe0 inset !important;
|
1210
1210
|
box-shadow: 0 0 0 100px #FFFFe0 inset !important;
|
1211
|
-
border-color: #e0e0b3;
|
1211
|
+
border-color: #e0e0b3 !important;
|
1212
1212
|
}
|
1213
1213
|
|
1214
1214
|
/* Placeholder */
|
@@ -1216,7 +1216,7 @@
|
|
1216
1216
|
color: #edad3e;
|
1217
1217
|
}
|
1218
1218
|
.ui.form .warning :-ms-input-placeholder {
|
1219
|
-
color: #edad3e;
|
1219
|
+
color: #edad3e !important;
|
1220
1220
|
}
|
1221
1221
|
.ui.form .warning ::-moz-placeholder {
|
1222
1222
|
color: #edad3e;
|
@@ -1225,7 +1225,7 @@
|
|
1225
1225
|
color: #e39715;
|
1226
1226
|
}
|
1227
1227
|
.ui.form .warning :focus:-ms-input-placeholder {
|
1228
|
-
color: #e39715;
|
1228
|
+
color: #e39715 !important;
|
1229
1229
|
}
|
1230
1230
|
.ui.form .warning :focus::-moz-placeholder {
|
1231
1231
|
color: #e39715;
|
@@ -1276,7 +1276,7 @@
|
|
1276
1276
|
/* Active */
|
1277
1277
|
.ui.form .fields.warning .field .ui.dropdown .menu .active.item,
|
1278
1278
|
.ui.form .field.warning .ui.dropdown .menu .active.item {
|
1279
|
-
background-color: #fdfdce;
|
1279
|
+
background-color: #fdfdce !important;
|
1280
1280
|
}
|
1281
1281
|
|
1282
1282
|
/*--------------------
|
@@ -1471,6 +1471,9 @@
|
|
1471
1471
|
margin: 0.5em 0;
|
1472
1472
|
padding: 0;
|
1473
1473
|
}
|
1474
|
+
.ui.form .grouped.inline.fields .ui.checkbox {
|
1475
|
+
margin-bottom: 0.4em;
|
1476
|
+
}
|
1474
1477
|
|
1475
1478
|
/*--------------------
|
1476
1479
|
Fields
|
@@ -1544,28 +1547,11 @@
|
|
1544
1547
|
.ui.form .fields {
|
1545
1548
|
-ms-flex-wrap: wrap;
|
1546
1549
|
flex-wrap: wrap;
|
1550
|
+
margin-bottom: 0;
|
1547
1551
|
}
|
1548
|
-
.ui
|
1549
|
-
.ui.form:not(.unstackable)
|
1550
|
-
|
1551
|
-
.ui.form:not(.unstackable) .two.fields:not(.unstackable) > .field,
|
1552
|
-
.ui.form:not(.unstackable) .three.fields:not(.unstackable) > .fields,
|
1553
|
-
.ui.form:not(.unstackable) .three.fields:not(.unstackable) > .field,
|
1554
|
-
.ui.form:not(.unstackable) .four.fields:not(.unstackable) > .fields,
|
1555
|
-
.ui.form:not(.unstackable) .four.fields:not(.unstackable) > .field,
|
1556
|
-
.ui.form:not(.unstackable) .five.fields:not(.unstackable) > .fields,
|
1557
|
-
.ui.form:not(.unstackable) .five.fields:not(.unstackable) > .field,
|
1558
|
-
.ui.form:not(.unstackable) .six.fields:not(.unstackable) > .fields,
|
1559
|
-
.ui.form:not(.unstackable) .six.fields:not(.unstackable) > .field,
|
1560
|
-
.ui.form:not(.unstackable) .seven.fields:not(.unstackable) > .fields,
|
1561
|
-
.ui.form:not(.unstackable) .seven.fields:not(.unstackable) > .field,
|
1562
|
-
.ui.form:not(.unstackable) .eight.fields:not(.unstackable) > .fields,
|
1563
|
-
.ui.form:not(.unstackable) .eight.fields:not(.unstackable) > .field,
|
1564
|
-
.ui.form:not(.unstackable) .nine.fields:not(.unstackable) > .fields,
|
1565
|
-
.ui.form:not(.unstackable) .nine.fields:not(.unstackable) > .field,
|
1566
|
-
.ui.form:not(.unstackable) .ten.fields:not(.unstackable) > .fields,
|
1567
|
-
.ui.form:not(.unstackable) .ten.fields:not(.unstackable) > .field {
|
1568
|
-
width: 100% !important;
|
1552
|
+
.ui.form:not(.unstackable) .fields:not(.unstackable) > .fields,
|
1553
|
+
.ui.form:not(.unstackable) .fields:not(.unstackable) > .field {
|
1554
|
+
width: 100%;
|
1569
1555
|
margin: 0 0 1em;
|
1570
1556
|
}
|
1571
1557
|
}
|
@@ -1577,84 +1563,52 @@
|
|
1577
1563
|
padding-right: 0.5em;
|
1578
1564
|
}
|
1579
1565
|
.ui.form .one.wide.field {
|
1580
|
-
width: 6.25
|
1566
|
+
width: 6.25%;
|
1581
1567
|
}
|
1582
1568
|
.ui.form .two.wide.field {
|
1583
|
-
width: 12.5
|
1569
|
+
width: 12.5%;
|
1584
1570
|
}
|
1585
1571
|
.ui.form .three.wide.field {
|
1586
|
-
width: 18.75
|
1572
|
+
width: 18.75%;
|
1587
1573
|
}
|
1588
1574
|
.ui.form .four.wide.field {
|
1589
|
-
width: 25
|
1575
|
+
width: 25%;
|
1590
1576
|
}
|
1591
1577
|
.ui.form .five.wide.field {
|
1592
|
-
width: 31.25
|
1578
|
+
width: 31.25%;
|
1593
1579
|
}
|
1594
1580
|
.ui.form .six.wide.field {
|
1595
|
-
width: 37.5
|
1581
|
+
width: 37.5%;
|
1596
1582
|
}
|
1597
1583
|
.ui.form .seven.wide.field {
|
1598
|
-
width: 43.75
|
1584
|
+
width: 43.75%;
|
1599
1585
|
}
|
1600
1586
|
.ui.form .eight.wide.field {
|
1601
|
-
width: 50
|
1587
|
+
width: 50%;
|
1602
1588
|
}
|
1603
1589
|
.ui.form .nine.wide.field {
|
1604
|
-
width: 56.25
|
1590
|
+
width: 56.25%;
|
1605
1591
|
}
|
1606
1592
|
.ui.form .ten.wide.field {
|
1607
|
-
width: 62.5
|
1593
|
+
width: 62.5%;
|
1608
1594
|
}
|
1609
1595
|
.ui.form .eleven.wide.field {
|
1610
|
-
width: 68.75
|
1596
|
+
width: 68.75%;
|
1611
1597
|
}
|
1612
1598
|
.ui.form .twelve.wide.field {
|
1613
|
-
width: 75
|
1599
|
+
width: 75%;
|
1614
1600
|
}
|
1615
1601
|
.ui.form .thirteen.wide.field {
|
1616
|
-
width: 81.25
|
1602
|
+
width: 81.25%;
|
1617
1603
|
}
|
1618
1604
|
.ui.form .fourteen.wide.field {
|
1619
|
-
width: 87.5
|
1605
|
+
width: 87.5%;
|
1620
1606
|
}
|
1621
1607
|
.ui.form .fifteen.wide.field {
|
1622
|
-
width: 93.75
|
1608
|
+
width: 93.75%;
|
1623
1609
|
}
|
1624
1610
|
.ui.form .sixteen.wide.field {
|
1625
|
-
width: 100
|
1626
|
-
}
|
1627
|
-
|
1628
|
-
/* Swap to full width on mobile */
|
1629
|
-
@media only screen and (max-width: 767.98px) {
|
1630
|
-
.ui.form:not(.unstackable) .two.fields:not(.unstackable) > .fields,
|
1631
|
-
.ui.form:not(.unstackable) .two.fields:not(.unstackable) > .field,
|
1632
|
-
.ui.form:not(.unstackable) .three.fields:not(.unstackable) > .fields,
|
1633
|
-
.ui.form:not(.unstackable) .three.fields:not(.unstackable) > .field,
|
1634
|
-
.ui.form:not(.unstackable) .four.fields:not(.unstackable) > .fields,
|
1635
|
-
.ui.form:not(.unstackable) .four.fields:not(.unstackable) > .field,
|
1636
|
-
.ui.form:not(.unstackable) .five.fields:not(.unstackable) > .fields,
|
1637
|
-
.ui.form:not(.unstackable) .five.fields:not(.unstackable) > .field,
|
1638
|
-
.ui.form:not(.unstackable) .fields:not(.unstackable) > .two.wide.field,
|
1639
|
-
.ui.form:not(.unstackable) .fields:not(.unstackable) > .three.wide.field,
|
1640
|
-
.ui.form:not(.unstackable) .fields:not(.unstackable) > .four.wide.field,
|
1641
|
-
.ui.form:not(.unstackable) .fields:not(.unstackable) > .five.wide.field,
|
1642
|
-
.ui.form:not(.unstackable) .fields:not(.unstackable) > .six.wide.field,
|
1643
|
-
.ui.form:not(.unstackable) .fields:not(.unstackable) > .seven.wide.field,
|
1644
|
-
.ui.form:not(.unstackable) .fields:not(.unstackable) > .eight.wide.field,
|
1645
|
-
.ui.form:not(.unstackable) .fields:not(.unstackable) > .nine.wide.field,
|
1646
|
-
.ui.form:not(.unstackable) .fields:not(.unstackable) > .ten.wide.field,
|
1647
|
-
.ui.form:not(.unstackable) .fields:not(.unstackable) > .eleven.wide.field,
|
1648
|
-
.ui.form:not(.unstackable) .fields:not(.unstackable) > .twelve.wide.field,
|
1649
|
-
.ui.form:not(.unstackable) .fields:not(.unstackable) > .thirteen.wide.field,
|
1650
|
-
.ui.form:not(.unstackable) .fields:not(.unstackable) > .fourteen.wide.field,
|
1651
|
-
.ui.form:not(.unstackable) .fields:not(.unstackable) > .fifteen.wide.field,
|
1652
|
-
.ui.form:not(.unstackable) .fields:not(.unstackable) > .sixteen.wide.field {
|
1653
|
-
width: 100% !important;
|
1654
|
-
}
|
1655
|
-
.ui.form .fields {
|
1656
|
-
margin-bottom: 0;
|
1657
|
-
}
|
1611
|
+
width: 100%;
|
1658
1612
|
}
|
1659
1613
|
|
1660
1614
|
/*--------------------
|
@@ -1718,6 +1672,14 @@
|
|
1718
1672
|
vertical-align: middle;
|
1719
1673
|
font-size: 1em;
|
1720
1674
|
}
|
1675
|
+
.ui.form .inline.fields .field .calendar:not(.popup),
|
1676
|
+
.ui.form .inline.field .calendar:not(.popup) {
|
1677
|
+
display: inline-block;
|
1678
|
+
}
|
1679
|
+
.ui.form .inline.fields .field .calendar:not(.popup) > .input > input,
|
1680
|
+
.ui.form .inline.field .calendar:not(.popup) > .input > input {
|
1681
|
+
width: 13.11em;
|
1682
|
+
}
|
1721
1683
|
|
1722
1684
|
/* Label */
|
1723
1685
|
.ui.form .inline.fields .field > :first-child,
|