fomantic-ui-sass 2.7.6 → 2.7.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +12 -0
- data/app/assets/fonts/semantic-ui/brand-icons.eot +0 -0
- data/app/assets/fonts/semantic-ui/brand-icons.svg +7 -17
- 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 +290 -168
- 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 +2 -2
- 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/accordion.js +6 -2
- data/app/assets/javascripts/semantic-ui/checkbox.js +2 -1
- data/app/assets/javascripts/semantic-ui/dropdown.js +32 -9
- data/app/assets/javascripts/semantic-ui/form.js +9 -9
- data/app/assets/javascripts/semantic-ui/modal.js +4 -1
- data/app/assets/javascripts/semantic-ui/popup.js +4 -1
- data/app/assets/javascripts/semantic-ui/search.js +10 -5
- data/app/assets/stylesheets/semantic-ui/collections/_form.scss +69 -25
- data/app/assets/stylesheets/semantic-ui/collections/_grid.scss +181 -71
- data/app/assets/stylesheets/semantic-ui/collections/_menu.scss +134 -46
- data/app/assets/stylesheets/semantic-ui/collections/_message.scss +107 -47
- data/app/assets/stylesheets/semantic-ui/collections/_table.scss +81 -46
- data/app/assets/stylesheets/semantic-ui/elements/_button.scss +680 -323
- data/app/assets/stylesheets/semantic-ui/elements/_container.scss +39 -39
- data/app/assets/stylesheets/semantic-ui/elements/_flag.scss +2 -0
- data/app/assets/stylesheets/semantic-ui/elements/_header.scss +10 -4
- data/app/assets/stylesheets/semantic-ui/elements/_icon.scss +73 -12
- data/app/assets/stylesheets/semantic-ui/elements/_image.scss +1 -1
- data/app/assets/stylesheets/semantic-ui/elements/_input.scss +34 -10
- data/app/assets/stylesheets/semantic-ui/elements/_label.scss +23 -9
- data/app/assets/stylesheets/semantic-ui/elements/_list.scss +4 -0
- data/app/assets/stylesheets/semantic-ui/elements/_loader.scss +2 -1
- data/app/assets/stylesheets/semantic-ui/elements/_placeholder.scss +4 -0
- data/app/assets/stylesheets/semantic-ui/elements/_reveal.scss +7 -2
- data/app/assets/stylesheets/semantic-ui/elements/_segment.scss +74 -27
- data/app/assets/stylesheets/semantic-ui/elements/_step.scss +83 -21
- data/app/assets/stylesheets/semantic-ui/globals/_reset.scss +10 -5
- data/app/assets/stylesheets/semantic-ui/globals/_site.scss +1 -0
- data/app/assets/stylesheets/semantic-ui/modules/_accordion.scss +4 -1
- data/app/assets/stylesheets/semantic-ui/modules/_calendar.scss +8 -4
- data/app/assets/stylesheets/semantic-ui/modules/_checkbox.scss +179 -10
- data/app/assets/stylesheets/semantic-ui/modules/_dimmer.scss +20 -5
- data/app/assets/stylesheets/semantic-ui/modules/_dropdown.scss +94 -35
- data/app/assets/stylesheets/semantic-ui/modules/_embed.scss +4 -0
- data/app/assets/stylesheets/semantic-ui/modules/_modal.scss +45 -17
- data/app/assets/stylesheets/semantic-ui/modules/_nag.scss +4 -1
- data/app/assets/stylesheets/semantic-ui/modules/_popup.scss +40 -19
- data/app/assets/stylesheets/semantic-ui/modules/_progress.scss +6 -1
- data/app/assets/stylesheets/semantic-ui/modules/_rating.scss +6 -1
- data/app/assets/stylesheets/semantic-ui/modules/_search.scss +16 -5
- data/app/assets/stylesheets/semantic-ui/modules/_shape.scss +6 -1
- data/app/assets/stylesheets/semantic-ui/modules/_sidebar.scss +15 -2
- data/app/assets/stylesheets/semantic-ui/modules/_slider.scss +12 -1
- data/app/assets/stylesheets/semantic-ui/modules/_sticky.scss +1 -0
- data/app/assets/stylesheets/semantic-ui/modules/_tab.scss +2 -1
- data/app/assets/stylesheets/semantic-ui/modules/_toast.scss +5 -2
- data/app/assets/stylesheets/semantic-ui/modules/_transition.scss +2 -1
- data/app/assets/stylesheets/semantic-ui/views/_card.scss +183 -81
- data/app/assets/stylesheets/semantic-ui/views/_comment.scss +7 -3
- data/app/assets/stylesheets/semantic-ui/views/_feed.scss +20 -6
- data/app/assets/stylesheets/semantic-ui/views/_item.scss +37 -12
- data/app/assets/stylesheets/semantic-ui/views/_statistic.scss +42 -10
- data/lib/fomantic/ui/sass/version.rb +2 -2
- metadata +2 -2
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -1,12 +1,12 @@
|
|
1
1
|
<?xml version="1.0" standalone="no"?>
|
2
2
|
<!--
|
3
|
-
Font Awesome Free 5.
|
3
|
+
Font Awesome Free 5.9.0 by @fontawesome - https://fontawesome.com
|
4
4
|
License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
5
5
|
-->
|
6
6
|
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
|
7
7
|
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1">
|
8
8
|
<metadata>
|
9
|
-
Created by FontForge 20190112 at Tue
|
9
|
+
Created by FontForge 20190112 at Tue Jun 4 15:16:44 2019
|
10
10
|
By Robert Madole
|
11
11
|
Copyright (c) Font Awesome
|
12
12
|
</metadata>
|
Binary file
|
Binary file
|
Binary file
|
@@ -189,7 +189,10 @@ $.fn.accordion = function(parameters) {
|
|
189
189
|
debug : settings.debug,
|
190
190
|
verbose : settings.verbose,
|
191
191
|
duration : settings.duration,
|
192
|
-
skipInlineHidden : true
|
192
|
+
skipInlineHidden : true,
|
193
|
+
onComplete: function() {
|
194
|
+
$activeContent.children().removeClass(className.transition);
|
195
|
+
}
|
193
196
|
})
|
194
197
|
;
|
195
198
|
}
|
@@ -591,7 +594,8 @@ $.fn.accordion.settings = {
|
|
591
594
|
|
592
595
|
className : {
|
593
596
|
active : 'active',
|
594
|
-
animating : 'animating'
|
597
|
+
animating : 'animating',
|
598
|
+
transition: 'transition'
|
595
599
|
},
|
596
600
|
|
597
601
|
selector : {
|
@@ -244,7 +244,7 @@ $.fn.checkbox = function(parameters) {
|
|
244
244
|
$input.blur();
|
245
245
|
shortcutPressed = true;
|
246
246
|
}
|
247
|
-
else if(!event.ctrlKey && ( key == keyCode.space || key == keyCode.enter) ) {
|
247
|
+
else if(!event.ctrlKey && ( key == keyCode.space || (key == keyCode.enter && settings.enableEnterKey)) ) {
|
248
248
|
module.verbose('Enter/space key pressed, toggling checkbox');
|
249
249
|
module.toggle();
|
250
250
|
shortcutPressed = true;
|
@@ -829,6 +829,7 @@ $.fn.checkbox.settings = {
|
|
829
829
|
// delegated event context
|
830
830
|
uncheckable : 'auto',
|
831
831
|
fireOnInit : false,
|
832
|
+
enableEnterKey : true,
|
832
833
|
|
833
834
|
onChange : function(){},
|
834
835
|
|
@@ -85,6 +85,7 @@ $.fn.dropdown = function(parameters) {
|
|
85
85
|
element = this,
|
86
86
|
instance = $module.data(moduleNamespace),
|
87
87
|
|
88
|
+
selectActionActive,
|
88
89
|
initialLoad,
|
89
90
|
pageLostFocus,
|
90
91
|
willRefocus,
|
@@ -1200,7 +1201,9 @@ $.fn.dropdown = function(parameters) {
|
|
1200
1201
|
},
|
1201
1202
|
hide: function(event) {
|
1202
1203
|
if(module.determine.eventInModule(event, module.hide)){
|
1204
|
+
if(element.id && $(event.target).attr('for') === element.id){
|
1203
1205
|
event.preventDefault();
|
1206
|
+
}
|
1204
1207
|
}
|
1205
1208
|
}
|
1206
1209
|
},
|
@@ -1638,6 +1641,7 @@ $.fn.dropdown = function(parameters) {
|
|
1638
1641
|
|
1639
1642
|
determine: {
|
1640
1643
|
selectAction: function(text, value) {
|
1644
|
+
selectActionActive = true;
|
1641
1645
|
module.verbose('Determining action', settings.action);
|
1642
1646
|
if( $.isFunction( module.action[settings.action] ) ) {
|
1643
1647
|
module.verbose('Triggering preset action', settings.action, text, value);
|
@@ -1650,6 +1654,7 @@ $.fn.dropdown = function(parameters) {
|
|
1650
1654
|
else {
|
1651
1655
|
module.error(error.action, settings.action);
|
1652
1656
|
}
|
1657
|
+
selectActionActive = false;
|
1653
1658
|
},
|
1654
1659
|
eventInModule: function(event, callback) {
|
1655
1660
|
var
|
@@ -2024,11 +2029,11 @@ $.fn.dropdown = function(parameters) {
|
|
2024
2029
|
? module.get.values()
|
2025
2030
|
: module.get.text()
|
2026
2031
|
;
|
2032
|
+
isMultiple = (module.is.multiple() && Array.isArray(value));
|
2027
2033
|
shouldSearch = (isMultiple)
|
2028
2034
|
? (value.length > 0)
|
2029
2035
|
: (value !== undefined && value !== null)
|
2030
2036
|
;
|
2031
|
-
isMultiple = (module.is.multiple() && Array.isArray(value));
|
2032
2037
|
strict = (value === '' || value === false || value === true)
|
2033
2038
|
? true
|
2034
2039
|
: strict || false
|
@@ -2172,7 +2177,8 @@ $.fn.dropdown = function(parameters) {
|
|
2172
2177
|
else {
|
2173
2178
|
module.set.selected();
|
2174
2179
|
}
|
2175
|
-
|
2180
|
+
var value = module.get.value();
|
2181
|
+
if(value && value !== '' && !(Array.isArray(value) && value.length === 0)) {
|
2176
2182
|
$input.removeClass(className.noselection);
|
2177
2183
|
} else {
|
2178
2184
|
$input.addClass(className.noselection);
|
@@ -2671,7 +2677,7 @@ $.fn.dropdown = function(parameters) {
|
|
2671
2677
|
module.set.activeItem($selected);
|
2672
2678
|
}
|
2673
2679
|
}
|
2674
|
-
else if(!isFiltered) {
|
2680
|
+
else if(!isFiltered && (settings.useLabels || selectActionActive)) {
|
2675
2681
|
module.debug('Selected active value, removing label');
|
2676
2682
|
module.remove.selected(selectedValue);
|
2677
2683
|
}
|
@@ -3952,7 +3958,11 @@ $.fn.dropdown.settings = {
|
|
3952
3958
|
name : 'name', // displayed dropdown text
|
3953
3959
|
value : 'value', // actual dropdown value
|
3954
3960
|
text : 'text', // displayed text when selected
|
3955
|
-
type : 'type'
|
3961
|
+
type : 'type', // type of dropdown element
|
3962
|
+
image : 'image', // optional image path
|
3963
|
+
imageClass : 'imageClass', // optional individual class for image
|
3964
|
+
icon : 'icon', // optional icon name
|
3965
|
+
iconClass : 'iconClass' // optional individual class for icon (for example to use flag instead)
|
3956
3966
|
},
|
3957
3967
|
|
3958
3968
|
keys : {
|
@@ -3999,6 +4009,8 @@ $.fn.dropdown.settings = {
|
|
3999
4009
|
dropdown : 'ui dropdown',
|
4000
4010
|
filtered : 'filtered',
|
4001
4011
|
hidden : 'hidden transition',
|
4012
|
+
icon : 'icon',
|
4013
|
+
image : 'image',
|
4002
4014
|
item : 'item',
|
4003
4015
|
label : 'ui label',
|
4004
4016
|
loading : 'loading',
|
@@ -4022,6 +4034,9 @@ $.fn.dropdown.settings = {
|
|
4022
4034
|
|
4023
4035
|
/* Templates */
|
4024
4036
|
$.fn.dropdown.settings.templates = {
|
4037
|
+
deQuote: function(string) {
|
4038
|
+
return String(string).replace(/"/g,"");
|
4039
|
+
},
|
4025
4040
|
escape: function(string, preserveHTML) {
|
4026
4041
|
if (preserveHTML){
|
4027
4042
|
return string;
|
@@ -4052,7 +4067,8 @@ $.fn.dropdown.settings.templates = {
|
|
4052
4067
|
placeholder = select.placeholder || false,
|
4053
4068
|
values = select.values || [],
|
4054
4069
|
html = '',
|
4055
|
-
escape = $.fn.dropdown.settings.templates.escape
|
4070
|
+
escape = $.fn.dropdown.settings.templates.escape,
|
4071
|
+
deQuote = $.fn.dropdown.settings.templates.deQuote
|
4056
4072
|
;
|
4057
4073
|
html += '<i class="dropdown icon"></i>';
|
4058
4074
|
if(placeholder) {
|
@@ -4063,7 +4079,7 @@ $.fn.dropdown.settings.templates = {
|
|
4063
4079
|
}
|
4064
4080
|
html += '<div class="'+className.menu+'">';
|
4065
4081
|
$.each(values, function(index, option) {
|
4066
|
-
html += '<div class="'+(option.disabled ? className.disabled+' ':'')+className.item+'" data-value="' +
|
4082
|
+
html += '<div class="'+(option.disabled ? className.disabled+' ':'')+className.item+'" data-value="' + deQuote(option.value) + '">' + escape(option.name,preserveHTML) + '</div>';
|
4067
4083
|
});
|
4068
4084
|
html += '</div>';
|
4069
4085
|
return html;
|
@@ -4074,7 +4090,8 @@ $.fn.dropdown.settings.templates = {
|
|
4074
4090
|
var
|
4075
4091
|
values = response[fields.values] || [],
|
4076
4092
|
html = '',
|
4077
|
-
escape = $.fn.dropdown.settings.templates.escape
|
4093
|
+
escape = $.fn.dropdown.settings.templates.escape,
|
4094
|
+
deQuote = $.fn.dropdown.settings.templates.deQuote
|
4078
4095
|
;
|
4079
4096
|
$.each(values, function(index, option) {
|
4080
4097
|
var
|
@@ -4086,13 +4103,19 @@ $.fn.dropdown.settings.templates = {
|
|
4086
4103
|
if( itemType === 'item' ) {
|
4087
4104
|
var
|
4088
4105
|
maybeText = (option[fields.text])
|
4089
|
-
? ' data-text="' +
|
4106
|
+
? ' data-text="' + deQuote(option[fields.text]) + '"'
|
4090
4107
|
: '',
|
4091
4108
|
maybeDisabled = (option[fields.disabled])
|
4092
4109
|
? className.disabled+' '
|
4093
4110
|
: ''
|
4094
4111
|
;
|
4095
|
-
html += '<div class="'+ maybeDisabled + className.item+'" data-value="' +
|
4112
|
+
html += '<div class="'+ maybeDisabled + className.item+'" data-value="' + deQuote(option[fields.value]) + '"' + maybeText + '>';
|
4113
|
+
if(option[fields.image]) {
|
4114
|
+
html += '<img class="'+(option[fields.imageClass] ? deQuote(option[fields.imageClass]) : className.image)+'" src="' + deQuote(option[fields.image]) + '">';
|
4115
|
+
}
|
4116
|
+
if(option[fields.icon]) {
|
4117
|
+
html += '<i class="'+deQuote(option[fields.icon])+' '+(option[fields.iconClass] ? deQuote(option[fields.iconClass]) : className.icon)+'"></i>';
|
4118
|
+
}
|
4096
4119
|
html += escape(option[fields.name],preserveHTML);
|
4097
4120
|
html += '</div>';
|
4098
4121
|
} else if (itemType === 'header') {
|
@@ -733,23 +733,23 @@ $.fn.form = function(parameters) {
|
|
733
733
|
case 'date':
|
734
734
|
values[name] = settings.formatter.date(date);
|
735
735
|
break;
|
736
|
-
|
736
|
+
|
737
737
|
case 'datetime':
|
738
738
|
values[name] = settings.formatter.datetime(date);
|
739
739
|
break;
|
740
|
-
|
740
|
+
|
741
741
|
case 'time':
|
742
742
|
values[name] = settings.formatter.time(date);
|
743
743
|
break;
|
744
|
-
|
744
|
+
|
745
745
|
case 'month':
|
746
746
|
values[name] = settings.formatter.month(date);
|
747
747
|
break;
|
748
|
-
|
748
|
+
|
749
749
|
case 'year':
|
750
750
|
values[name] = settings.formatter.year(date);
|
751
751
|
break;
|
752
|
-
|
752
|
+
|
753
753
|
default:
|
754
754
|
module.debug('Wrong calendar mode', $calendar, type);
|
755
755
|
values[name] = '';
|
@@ -860,7 +860,7 @@ $.fn.form = function(parameters) {
|
|
860
860
|
}
|
861
861
|
if(settings.inline) {
|
862
862
|
if(!promptExists) {
|
863
|
-
$prompt = settings.templates.prompt(errors);
|
863
|
+
$prompt = settings.templates.prompt(errors, className.label);
|
864
864
|
$prompt
|
865
865
|
.appendTo($fieldGroup)
|
866
866
|
;
|
@@ -1506,7 +1506,7 @@ $.fn.form.settings = {
|
|
1506
1506
|
|
1507
1507
|
className : {
|
1508
1508
|
error : 'error',
|
1509
|
-
label : 'ui prompt label',
|
1509
|
+
label : 'ui basic red pointing prompt label',
|
1510
1510
|
pressed : 'down',
|
1511
1511
|
success : 'success'
|
1512
1512
|
},
|
@@ -1533,9 +1533,9 @@ $.fn.form.settings = {
|
|
1533
1533
|
},
|
1534
1534
|
|
1535
1535
|
// template that produces label
|
1536
|
-
prompt: function(errors) {
|
1536
|
+
prompt: function(errors, labelClasses) {
|
1537
1537
|
return $('<div/>')
|
1538
|
-
.addClass(
|
1538
|
+
.addClass(labelClasses)
|
1539
1539
|
.html(errors[0])
|
1540
1540
|
;
|
1541
1541
|
}
|
@@ -155,6 +155,9 @@ $.fn.modal = function(parameters) {
|
|
155
155
|
},
|
156
156
|
|
157
157
|
destroy: function() {
|
158
|
+
if (observer) {
|
159
|
+
observer.disconnect();
|
160
|
+
}
|
158
161
|
module.verbose('Destroying previous modal');
|
159
162
|
$module
|
160
163
|
.removeData(moduleNamespace)
|
@@ -484,7 +487,7 @@ $.fn.modal = function(parameters) {
|
|
484
487
|
if ( settings.allowMultiple ) {
|
485
488
|
$previousModal.addClass(className.front);
|
486
489
|
$module.removeClass(className.front);
|
487
|
-
|
490
|
+
|
488
491
|
if ( hideOthersToo ) {
|
489
492
|
$allModals.find(selector.dimmer).removeClass('active');
|
490
493
|
}
|
@@ -905,7 +905,7 @@ $.fn.popup = function(parameters) {
|
|
905
905
|
// see if any boundaries are surpassed with this tentative position
|
906
906
|
distanceFromBoundary = module.get.distanceFromBoundary(popupOffset, calculations);
|
907
907
|
|
908
|
-
if( module.is.offstage(distanceFromBoundary, position) ) {
|
908
|
+
if(!settings.forcePosition && module.is.offstage(distanceFromBoundary, position) ) {
|
909
909
|
module.debug('Position is outside viewport', position);
|
910
910
|
if(searchDepth < settings.maxSearchDepth) {
|
911
911
|
searchDepth++;
|
@@ -1376,6 +1376,9 @@ $.fn.popup.settings = {
|
|
1376
1376
|
// default position relative to element
|
1377
1377
|
position : 'top left',
|
1378
1378
|
|
1379
|
+
// if given position should be used regardless if popup fits
|
1380
|
+
forcePosition : false,
|
1381
|
+
|
1379
1382
|
// name of variation to use
|
1380
1383
|
variation : '',
|
1381
1384
|
|
@@ -436,7 +436,6 @@ $.fn.search = function(parameters) {
|
|
436
436
|
},
|
437
437
|
result: function(value, results) {
|
438
438
|
var
|
439
|
-
lookupFields = ['title', 'id'],
|
440
439
|
result = false
|
441
440
|
;
|
442
441
|
value = (value !== undefined)
|
@@ -451,7 +450,7 @@ $.fn.search = function(parameters) {
|
|
451
450
|
module.debug('Finding result that matches', value);
|
452
451
|
$.each(results, function(index, category) {
|
453
452
|
if(Array.isArray(category.results)) {
|
454
|
-
result = module.search.object(value, category.results
|
453
|
+
result = module.search.object(value, category.results)[0];
|
455
454
|
// don't continue searching if a result is found
|
456
455
|
if(result) {
|
457
456
|
return false;
|
@@ -461,7 +460,7 @@ $.fn.search = function(parameters) {
|
|
461
460
|
}
|
462
461
|
else {
|
463
462
|
module.debug('Finding result in results object', value);
|
464
|
-
result = module.search.object(value, results
|
463
|
+
result = module.search.object(value, results)[0];
|
465
464
|
}
|
466
465
|
return result || false;
|
467
466
|
},
|
@@ -633,10 +632,15 @@ $.fn.search = function(parameters) {
|
|
633
632
|
$.each(searchFields, function(index, field) {
|
634
633
|
$.each(source, function(label, content) {
|
635
634
|
var
|
636
|
-
fieldExists = (typeof content[field] == 'string')
|
635
|
+
fieldExists = (typeof content[field] == 'string') || (typeof content[field] == 'number')
|
637
636
|
;
|
638
637
|
if(fieldExists) {
|
639
|
-
var text
|
638
|
+
var text;
|
639
|
+
if (typeof content[field] === 'string'){
|
640
|
+
text = module.remove.diacritics(content[field]);
|
641
|
+
} else {
|
642
|
+
text = content[field].toString();
|
643
|
+
}
|
640
644
|
if( text.search(matchRegExp) !== -1) {
|
641
645
|
// content starts with value (first in results)
|
642
646
|
addResult(results, content);
|
@@ -1247,6 +1251,7 @@ $.fn.search.settings = {
|
|
1247
1251
|
|
1248
1252
|
// fields to search
|
1249
1253
|
searchFields : [
|
1254
|
+
'id',
|
1250
1255
|
'title',
|
1251
1256
|
'description'
|
1252
1257
|
],
|
@@ -111,7 +111,9 @@
|
|
111
111
|
border: 1px solid rgba(34, 36, 38, 0.15);
|
112
112
|
color: rgba(0, 0, 0, 0.87);
|
113
113
|
border-radius: 0.28571429rem;
|
114
|
-
box-shadow: 0 0 0 0 transparent inset;
|
114
|
+
-webkit-box-shadow: 0 0 0 0 transparent inset;
|
115
|
+
box-shadow: 0 0 0 0 transparent inset;
|
116
|
+
-webkit-transition: color 0.1s ease, border-color 0.1s ease;
|
115
117
|
transition: color 0.1s ease, border-color 0.1s ease;
|
116
118
|
}
|
117
119
|
|
@@ -127,7 +129,9 @@
|
|
127
129
|
outline: none;
|
128
130
|
color: rgba(0, 0, 0, 0.87);
|
129
131
|
border-radius: 0.28571429rem;
|
130
|
-
box-shadow: 0 0 0 0 transparent inset;
|
132
|
+
-webkit-box-shadow: 0 0 0 0 transparent inset;
|
133
|
+
box-shadow: 0 0 0 0 transparent inset;
|
134
|
+
-webkit-transition: color 0.1s ease, border-color 0.1s ease;
|
131
135
|
transition: color 0.1s ease, border-color 0.1s ease;
|
132
136
|
font-size: 1em;
|
133
137
|
font-family: $font-family;
|
@@ -148,6 +152,9 @@
|
|
148
152
|
Checkbox margin
|
149
153
|
---------------------*/
|
150
154
|
|
155
|
+
.ui.form .fields:not(.grouped):not(.inline) .field:not(:only-child) label + .ui.ui.checkbox {
|
156
|
+
margin-top: 0.7em;
|
157
|
+
}
|
151
158
|
.ui.form .fields:not(.grouped):not(.inline) .field:not(:only-child) .ui.checkbox {
|
152
159
|
margin-top: 2.41428571em;
|
153
160
|
}
|
@@ -180,7 +187,8 @@
|
|
180
187
|
.ui.form .field textarea.transparent {
|
181
188
|
border-color: transparent !important;
|
182
189
|
background-color: transparent !important;
|
183
|
-
box-shadow: none !important;
|
190
|
+
-webkit-box-shadow: none !important;
|
191
|
+
box-shadow: none !important;
|
184
192
|
}
|
185
193
|
.ui.form .field.error .transparent.input input,
|
186
194
|
.ui.form .field.error .transparent.input textarea,
|
@@ -209,9 +217,11 @@
|
|
209
217
|
background: #FFFFFF;
|
210
218
|
border: 1px solid rgba(34, 36, 38, 0.15);
|
211
219
|
border-radius: 0.28571429rem;
|
212
|
-
box-shadow: 0 0 0 0 transparent inset;
|
220
|
+
-webkit-box-shadow: 0 0 0 0 transparent inset;
|
221
|
+
box-shadow: 0 0 0 0 transparent inset;
|
213
222
|
padding: 0.62em 1em;
|
214
223
|
color: rgba(0, 0, 0, 0.87);
|
224
|
+
-webkit-transition: color 0.1s ease, border-color 0.1s ease;
|
215
225
|
transition: color 0.1s ease, border-color 0.1s ease;
|
216
226
|
}
|
217
227
|
|
@@ -275,7 +285,9 @@
|
|
275
285
|
.ui.form .three.fields .ui.input input,
|
276
286
|
.ui.form .two.fields .ui.input input,
|
277
287
|
.ui.form .wide.field .ui.input input {
|
278
|
-
flex: 1
|
288
|
+
-webkit-box-flex: 1;
|
289
|
+
-ms-flex: 1 0 auto;
|
290
|
+
flex: 1 0 auto;
|
279
291
|
width: 0;
|
280
292
|
}
|
281
293
|
|
@@ -330,19 +342,22 @@
|
|
330
342
|
---------------------*/
|
331
343
|
|
332
344
|
.ui.form .field.field input:-webkit-autofill {
|
333
|
-
box-shadow: 0 0 0 100px #FFFFF0 inset !important;
|
345
|
+
-webkit-box-shadow: 0 0 0 100px #FFFFF0 inset !important;
|
346
|
+
box-shadow: 0 0 0 100px #FFFFF0 inset !important;
|
334
347
|
border-color: #E5DFA1 !important;
|
335
348
|
}
|
336
349
|
|
337
350
|
/* Focus */
|
338
351
|
.ui.form .field.field input:-webkit-autofill:focus {
|
339
|
-
box-shadow: 0 0 0 100px #FFFFF0 inset !important;
|
352
|
+
-webkit-box-shadow: 0 0 0 100px #FFFFF0 inset !important;
|
353
|
+
box-shadow: 0 0 0 100px #FFFFF0 inset !important;
|
340
354
|
border-color: #D5C315 !important;
|
341
355
|
}
|
342
356
|
|
343
357
|
/* Error */
|
344
358
|
.ui.form .error.error input:-webkit-autofill {
|
345
|
-
box-shadow: 0 0 0 100px #FFFAF0 inset !important;
|
359
|
+
-webkit-box-shadow: 0 0 0 100px #FFFAF0 inset !important;
|
360
|
+
box-shadow: 0 0 0 100px #FFFAF0 inset !important;
|
346
361
|
border-color: #E0B4B4 !important;
|
347
362
|
}
|
348
363
|
|
@@ -411,14 +426,16 @@
|
|
411
426
|
border-color: #85B7D9;
|
412
427
|
border-radius: 0.28571429rem;
|
413
428
|
background: #FFFFFF;
|
414
|
-
box-shadow: 0 0 0 0 rgba(34, 36, 38, 0.35) inset;
|
429
|
+
-webkit-box-shadow: 0 0 0 0 rgba(34, 36, 38, 0.35) inset;
|
430
|
+
box-shadow: 0 0 0 0 rgba(34, 36, 38, 0.35) inset;
|
415
431
|
}
|
416
432
|
.ui.form textarea:focus {
|
417
433
|
color: rgba(0, 0, 0, 0.95);
|
418
434
|
border-color: #85B7D9;
|
419
435
|
border-radius: 0.28571429rem;
|
420
436
|
background: #FFFFFF;
|
421
|
-
box-shadow: 0 0 0 0 rgba(34, 36, 38, 0.35) inset;
|
437
|
+
-webkit-box-shadow: 0 0 0 0 rgba(34, 36, 38, 0.35) inset;
|
438
|
+
box-shadow: 0 0 0 0 rgba(34, 36, 38, 0.35) inset;
|
422
439
|
-webkit-appearance: none;
|
423
440
|
}
|
424
441
|
|
@@ -435,6 +452,8 @@
|
|
435
452
|
display: inline-block;
|
436
453
|
}
|
437
454
|
.ui.form.success .icon.success.message:not(:empty) {
|
455
|
+
display: -webkit-box;
|
456
|
+
display: -ms-flexbox;
|
438
457
|
display: flex;
|
439
458
|
}
|
440
459
|
|
@@ -451,6 +470,8 @@
|
|
451
470
|
display: inline-block;
|
452
471
|
}
|
453
472
|
.ui.form.warning .icon.warning.message:not(:empty) {
|
473
|
+
display: -webkit-box;
|
474
|
+
display: -ms-flexbox;
|
454
475
|
display: flex;
|
455
476
|
}
|
456
477
|
|
@@ -467,14 +488,16 @@
|
|
467
488
|
display: inline-block;
|
468
489
|
}
|
469
490
|
.ui.form.error .icon.error.message:not(:empty) {
|
491
|
+
display: -webkit-box;
|
492
|
+
display: -ms-flexbox;
|
470
493
|
display: flex;
|
471
494
|
}
|
472
495
|
|
473
496
|
/* On Field(s) */
|
474
|
-
.ui.form .fields.error .field label,
|
475
|
-
.ui.form .field.error label,
|
476
|
-
.ui.form .fields.error .field .input,
|
477
|
-
.ui.form .field.error .input {
|
497
|
+
.ui.ui.form .fields.error .field label,
|
498
|
+
.ui.ui.form .field.error label,
|
499
|
+
.ui.ui.form .fields.error .field .input,
|
500
|
+
.ui.ui.form .field.error .input {
|
478
501
|
color: #9F3A38;
|
479
502
|
}
|
480
503
|
.ui.form .fields.error .field .corner.label,
|
@@ -514,7 +537,8 @@
|
|
514
537
|
border-color: #E0B4B4;
|
515
538
|
color: #9F3A38;
|
516
539
|
border-radius: '';
|
517
|
-
box-shadow: none;
|
540
|
+
-webkit-box-shadow: none;
|
541
|
+
box-shadow: none;
|
518
542
|
}
|
519
543
|
.ui.form .field.error textarea:focus,
|
520
544
|
.ui.form .field.error select:focus,
|
@@ -533,7 +557,8 @@
|
|
533
557
|
background: #FFF6F6;
|
534
558
|
border-color: #E0B4B4;
|
535
559
|
color: #9F3A38;
|
536
|
-
box-shadow: none;
|
560
|
+
-webkit-box-shadow: none;
|
561
|
+
box-shadow: none;
|
537
562
|
}
|
538
563
|
|
539
564
|
/* Preserve Native Select Stylings */
|
@@ -665,7 +690,8 @@
|
|
665
690
|
animation: loader 0.6s infinite linear;
|
666
691
|
border: 0.2em solid #767676;
|
667
692
|
border-radius: 500rem;
|
668
|
-
box-shadow: 0 0 0 1px transparent;
|
693
|
+
-webkit-box-shadow: 0 0 0 1px transparent;
|
694
|
+
box-shadow: 0 0 0 1px transparent;
|
669
695
|
visibility: visible;
|
670
696
|
z-index: 101;
|
671
697
|
}
|
@@ -750,7 +776,8 @@
|
|
750
776
|
background: #FFFFFF;
|
751
777
|
border-color: rgba(255, 255, 255, 0.1);
|
752
778
|
color: rgba(0, 0, 0, 0.87);
|
753
|
-
box-shadow: none;
|
779
|
+
-webkit-box-shadow: none;
|
780
|
+
box-shadow: none;
|
754
781
|
}
|
755
782
|
|
756
783
|
/*--------------------
|
@@ -787,18 +814,26 @@
|
|
787
814
|
|
788
815
|
/* Split fields */
|
789
816
|
.ui.form .fields {
|
817
|
+
display: -webkit-box;
|
818
|
+
display: -ms-flexbox;
|
790
819
|
display: flex;
|
791
|
-
|
820
|
+
-webkit-box-orient: horizontal;
|
821
|
+
-webkit-box-direction: normal;
|
822
|
+
-ms-flex-direction: row;
|
823
|
+
flex-direction: row;
|
792
824
|
margin: 0 -0.5em 1em;
|
793
825
|
}
|
794
826
|
.ui.form .fields > .field {
|
795
|
-
flex: 0
|
827
|
+
-webkit-box-flex: 0;
|
828
|
+
-ms-flex: 0 1 auto;
|
829
|
+
flex: 0 1 auto;
|
796
830
|
padding-left: 0.5em;
|
797
831
|
padding-right: 0.5em;
|
798
832
|
}
|
799
833
|
.ui.form .fields > .field:first-child {
|
800
834
|
border-left: none;
|
801
|
-
box-shadow: none;
|
835
|
+
-webkit-box-shadow: none;
|
836
|
+
box-shadow: none;
|
802
837
|
}
|
803
838
|
|
804
839
|
/* Other Combinations */
|
@@ -842,7 +877,8 @@
|
|
842
877
|
/* Swap to full width on mobile */
|
843
878
|
@media only screen and (max-width: 767.98px) {
|
844
879
|
.ui.form .fields {
|
845
|
-
flex-wrap: wrap;
|
880
|
+
-ms-flex-wrap: wrap;
|
881
|
+
flex-wrap: wrap;
|
846
882
|
}
|
847
883
|
.ui[class*="equal width"].form:not(.unstackable) .fields > .field,
|
848
884
|
.ui.form:not(.unstackable) [class*="equal width"].fields:not(.unstackable) > .field,
|
@@ -963,7 +999,9 @@
|
|
963
999
|
.ui[class*="equal width"].form .fields > .field,
|
964
1000
|
.ui.form [class*="equal width"].fields > .field {
|
965
1001
|
width: 100%;
|
966
|
-
flex: 1
|
1002
|
+
-webkit-box-flex: 1;
|
1003
|
+
-ms-flex: 1 1 auto;
|
1004
|
+
flex: 1 1 auto;
|
967
1005
|
}
|
968
1006
|
|
969
1007
|
/*--------------------
|
@@ -972,7 +1010,9 @@
|
|
972
1010
|
|
973
1011
|
.ui.form .inline.fields {
|
974
1012
|
margin: 0 0 1em;
|
975
|
-
align
|
1013
|
+
-webkit-box-align: center;
|
1014
|
+
-ms-flex-align: center;
|
1015
|
+
align-items: center;
|
976
1016
|
}
|
977
1017
|
.ui.form .inline.fields .field {
|
978
1018
|
margin: 0;
|
@@ -1026,8 +1066,12 @@
|
|
1026
1066
|
|
1027
1067
|
/* Wide */
|
1028
1068
|
.ui.form .inline.fields .wide.field {
|
1069
|
+
display: -webkit-box;
|
1070
|
+
display: -ms-flexbox;
|
1029
1071
|
display: flex;
|
1030
|
-
align
|
1072
|
+
-webkit-box-align: center;
|
1073
|
+
-ms-flex-align: center;
|
1074
|
+
align-items: center;
|
1031
1075
|
}
|
1032
1076
|
.ui.form .inline.fields .wide.field > input,
|
1033
1077
|
.ui.form .inline.fields .wide.field > select {
|