Browse Source

Rebuild dist

pull/4046/head
Jack Lukic 8 years ago
parent
commit
5946f9e180
26 changed files with 521 additions and 114 deletions
  1. 171
      dist/components/button.css
  2. 2
      dist/components/button.min.css
  3. 19
      dist/components/card.css
  4. 2
      dist/components/card.min.css
  5. 16
      dist/components/dropdown.css
  6. 53
      dist/components/dropdown.js
  7. 2
      dist/components/dropdown.min.css
  8. 4
      dist/components/dropdown.min.js
  9. 3
      dist/components/form.js
  10. 2
      dist/components/form.min.js
  11. 2
      dist/components/message.css
  12. 2
      dist/components/message.min.css
  13. 4
      dist/components/popup.css
  14. 2
      dist/components/popup.min.css
  15. 2
      dist/components/rating.css
  16. 2
      dist/components/rating.min.css
  17. 2
      dist/components/search.css
  18. 2
      dist/components/search.min.css
  19. 2
      dist/components/segment.css
  20. 2
      dist/components/segment.min.css
  21. 8
      dist/components/tab.js
  22. 2
      dist/components/tab.min.js
  23. 245
      dist/semantic.css
  24. 64
      dist/semantic.js
  25. 2
      dist/semantic.min.css
  26. 18
      dist/semantic.min.js

171
dist/components/button.css

@ -3067,6 +3067,9 @@
Primary
--------------------*/
/*--- Standard ---*/
.ui.primary.buttons .button,
.ui.primary.button {
background-color: #2185D0;
@ -3096,16 +3099,53 @@
text-shadow: none;
}
.ui.primary.buttons .active.button,
.ui.primary.active.button {
.ui.primary.buttons .active.button:active,
.ui.primary.active.button,
.ui.primary.button .active.button:active {
background-color: #1279c6;
color: #FFFFFF;
text-shadow: none;
}
/* Basic */
.ui.basic.primary.buttons .button,
.ui.basic.primary.button {
box-shadow: 0px 0px 0px 1px #2185D0 inset !important;
color: #2185D0 !important;
}
.ui.basic.primary.buttons .button:hover,
.ui.basic.primary.button:hover {
background: transparent !important;
box-shadow: 0px 0px 0px 1px #1678c2 inset !important;
color: #1678c2 !important;
}
.ui.basic.primary.buttons .button:focus,
.ui.basic.primary.button:focus {
background: transparent !important;
box-shadow: 0px 0px 0px 1px #0d71bb inset !important;
color: #1678c2 !important;
}
.ui.basic.primary.buttons .active.button,
.ui.basic.primary.active.button {
background: transparent !important;
box-shadow: 0px 0px 0px 1px #1279c6 inset !important;
color: #1a69a4 !important;
}
.ui.basic.primary.buttons .button:active,
.ui.basic.primary.button:active {
box-shadow: 0px 0px 0px 1px #1a69a4 inset !important;
color: #1a69a4 !important;
}
.ui.buttons:not(.vertical) > .basic.primary.button:not(:first-child) {
margin-left: -1px;
}
/*-------------------
Secondary
--------------------*/
/* Standard */
.ui.secondary.buttons .button,
.ui.secondary.button {
background-color: #1B1C1D;
@ -3135,19 +3175,56 @@
text-shadow: none;
}
.ui.secondary.buttons .active.button,
.ui.secondary.active.button {
.ui.secondary.buttons .active.button:active,
.ui.secondary.active.button,
.ui.secondary.button .active.button:active {
background-color: #27292a;
color: #FFFFFF;
text-shadow: none;
}
/* Basic */
.ui.basic.secondary.buttons .button,
.ui.basic.secondary.button {
box-shadow: 0px 0px 0px 1px #1B1C1D inset !important;
color: #1B1C1D !important;
}
.ui.basic.secondary.buttons .button:hover,
.ui.basic.secondary.button:hover {
background: transparent !important;
box-shadow: 0px 0px 0px 1px #27292a inset !important;
color: #27292a !important;
}
.ui.basic.secondary.buttons .button:focus,
.ui.basic.secondary.button:focus {
background: transparent !important;
box-shadow: 0px 0px 0px 1px #2e3032 inset !important;
color: #27292a !important;
}
.ui.basic.secondary.buttons .active.button,
.ui.basic.secondary.active.button {
background: transparent !important;
box-shadow: 0px 0px 0px 1px #27292a inset !important;
color: #343637 !important;
}
.ui.basic.secondary.buttons .button:active,
.ui.basic.secondary.button:active {
box-shadow: 0px 0px 0px 1px #343637 inset !important;
color: #343637 !important;
}
.ui.buttons:not(.vertical) > .basic.primary.button:not(:first-child) {
margin-left: -1px;
}
/*---------------
Positive
----------------*/
/* Standard */
.ui.positive.buttons .button,
.ui.positive.button {
background-color: #21BA45 !important;
background-color: #21BA45;
color: #FFFFFF;
text-shadow: none;
background-image: none;
@ -3157,37 +3234,73 @@
}
.ui.positive.buttons .button:hover,
.ui.positive.button:hover {
background-color: #16ab39 !important;
background-color: #16ab39;
color: #FFFFFF;
text-shadow: none;
}
.ui.positive.buttons .button:focus,
.ui.positive.button:focus {
background-color: #0ea432 !important;
background-color: #0ea432;
color: #FFFFFF;
text-shadow: none;
}
.ui.positive.buttons .button:active,
.ui.positive.button:active {
background-color: #198f35 !important;
background-color: #198f35;
color: #FFFFFF;
text-shadow: none;
}
.ui.positive.buttons .active.button,
.ui.positive.buttons .active.button:active,
.ui.positive.active.button,
.ui.positive.buttons .active.button:active {
.ui.positive.button .active.button:active {
background-color: #13ae38;
color: #FFFFFF;
text-shadow: none;
}
/* Basic */
.ui.basic.positive.buttons .button,
.ui.basic.positive.button {
box-shadow: 0px 0px 0px 1px #21BA45 inset !important;
color: #21BA45 !important;
}
.ui.basic.positive.buttons .button:hover,
.ui.basic.positive.button:hover {
background: transparent !important;
box-shadow: 0px 0px 0px 1px #16ab39 inset !important;
color: #16ab39 !important;
}
.ui.basic.positive.buttons .button:focus,
.ui.basic.positive.button:focus {
background: transparent !important;
box-shadow: 0px 0px 0px 1px #0ea432 inset !important;
color: #16ab39 !important;
}
.ui.basic.positive.buttons .active.button,
.ui.basic.positive.active.button {
background: transparent !important;
box-shadow: 0px 0px 0px 1px #13ae38 inset !important;
color: #198f35 !important;
}
.ui.basic.positive.buttons .button:active,
.ui.basic.positive.button:active {
box-shadow: 0px 0px 0px 1px #198f35 inset !important;
color: #198f35 !important;
}
.ui.buttons:not(.vertical) > .basic.primary.button:not(:first-child) {
margin-left: -1px;
}
/*---------------
Negative
----------------*/
/* Standard */
.ui.negative.buttons .button,
.ui.negative.button {
background-color: #DB2828 !important;
background-color: #DB2828;
color: #FFFFFF;
text-shadow: none;
background-image: none;
@ -3197,30 +3310,64 @@
}
.ui.negative.buttons .button:hover,
.ui.negative.button:hover {
background-color: #d01919 !important;
background-color: #d01919;
color: #FFFFFF;
text-shadow: none;
}
.ui.negative.buttons .button:focus,
.ui.negative.button:focus {
background-color: #ca1010 !important;
background-color: #ca1010;
color: #FFFFFF;
text-shadow: none;
}
.ui.negative.buttons .button:active,
.ui.negative.button:active {
background-color: #b21e1e !important;
background-color: #b21e1e;
color: #FFFFFF;
text-shadow: none;
}
.ui.negative.buttons .active.button,
.ui.negative.buttons .active.button:active,
.ui.negative.active.button,
.ui.negative.buttons .active.button:active {
.ui.negative.button .active.button:active {
background-color: #d41515;
color: #FFFFFF;
text-shadow: none;
}
/* Basic */
.ui.basic.negative.buttons .button,
.ui.basic.negative.button {
box-shadow: 0px 0px 0px 1px #DB2828 inset !important;
color: #DB2828 !important;
}
.ui.basic.negative.buttons .button:hover,
.ui.basic.negative.button:hover {
background: transparent !important;
box-shadow: 0px 0px 0px 1px #d01919 inset !important;
color: #d01919 !important;
}
.ui.basic.negative.buttons .button:focus,
.ui.basic.negative.button:focus {
background: transparent !important;
box-shadow: 0px 0px 0px 1px #ca1010 inset !important;
color: #d01919 !important;
}
.ui.basic.negative.buttons .active.button,
.ui.basic.negative.active.button {
background: transparent !important;
box-shadow: 0px 0px 0px 1px #d41515 inset !important;
color: #b21e1e !important;
}
.ui.basic.negative.buttons .button:active,
.ui.basic.negative.button:active {
box-shadow: 0px 0px 0px 1px #b21e1e inset !important;
color: #b21e1e !important;
}
.ui.buttons:not(.vertical) > .basic.primary.button:not(:first-child) {
margin-left: -1px;
}
/*******************************
Groups

2
dist/components/button.min.css
File diff suppressed because it is too large
View File

19
dist/components/card.css

@ -435,6 +435,25 @@
*******************************/
/*-------------------
Raised
--------------------*/
.ui.raised.cards > .card,
.ui.raised.card {
box-shadow: 0px 0px 0px 1px #D4D4D5, 0px 2px 4px 0px rgba(34, 36, 38, 0.12), 0px 2px 10px 0px rgba(34, 36, 38, 0.15);
}
.ui.raised.cards a.card:hover,
.ui.link.cards .raised.card:hover,
a.ui.raised.card:hover,
.ui.link.raised.card:hover {
box-shadow: 0px 0px 0px 1px #D4D4D5, 0px 2px 4px 0px rgba(34, 36, 38, 0.15), 0px 2px 10px 0px rgba(34, 36, 38, 0.25);
}
.ui.raised.cards > .card,
.ui.raised.card {
box-shadow: 0px 0px 0px 1px #D4D4D5, 0px 2px 4px 0px rgba(34, 36, 38, 0.12), 0px 2px 10px 0px rgba(34, 36, 38, 0.15);
}
/*-------------------
Centered
--------------------*/

2
dist/components/card.min.css
File diff suppressed because it is too large
View File

16
dist/components/dropdown.css

@ -765,19 +765,9 @@ select.ui.dropdown {
Loading
---------------------*/
/* Positioning */
.ui.loading.dropdown > i.icon:before,
.ui.loading.dropdown > i.icon:after {
left: 30% !important;
}
.ui.loading.dropdown > i.icon {
top: 50% !important;
}
.ui.multiple.loading.dropdown > i.icon:before,
.ui.multiple.loading.dropdown > i.icon:after {
top: 0% !important;
left: 0% !important;
height: 1em !important;
padding: 1.14285714em 1.07142857em !important;
}
.ui.loading.dropdown > i.icon:before {
position: absolute;
@ -1196,7 +1186,7 @@ select.ui.dropdown {
.ui.floating.dropdown .menu {
left: 0;
right: auto;
box-shadow: 0px 2px 4px 0px rgba(34, 36, 38, 0.12), 0px 2px 10px 0px rgba(34, 36, 38, 0.08) !important;
box-shadow: 0px 2px 4px 0px rgba(34, 36, 38, 0.12), 0px 2px 10px 0px rgba(34, 36, 38, 0.15) !important;
border-radius: 0.28571429rem !important;
}
.ui.floating.dropdown > .menu {

53
dist/components/dropdown.js

@ -408,6 +408,10 @@ $.fn.dropdown = function(parameters) {
module.refreshData();
},
refreshItems: function() {
$item = $menu.find(selector.item);
},
refreshSelectors: function() {
module.verbose('Refreshing selector cache');
$text = $module.find(selector.text);
@ -775,7 +779,11 @@ $.fn.dropdown = function(parameters) {
results.push(this);
return true;
}
else if(settings.fullTextSearch && module.fuzzySearch(searchTerm, text)) {
else if (settings.fullTextSearch === 'exact' && module.exactSearch(searchTerm, text)) {
results.push(this);
return true;
}
else if (settings.fullTextSearch === true && module.fuzzySearch(searchTerm, text)) {
results.push(this);
return true;
}
@ -831,7 +839,14 @@ $.fn.dropdown = function(parameters) {
}
return true;
},
exactSearch: function (query, term) {
query = query.toLowerCase();
term = term.toLowerCase();
if(term.indexOf(query) > -1) {
return true;
}
return false;
},
filterActive: function() {
if(settings.useLabels) {
$item.filter('.' + className.active)
@ -1065,10 +1080,13 @@ $.fn.dropdown = function(parameters) {
isMessage = $changedNodes.is(selector.message) || $changedNodes.closest(selector.message).length > 0
;
if(isUserAddition || isMessage) {
return
module.debug('Updating item selector cache');
module.refreshItems();
}
else {
module.debug('Menu modified, updating selector cache');
module.refresh();
}
module.debug('Menu modified, updating selector cache');
module.refresh();
},
mousedown: function() {
itemActivated = true;
@ -3465,7 +3483,7 @@ $.fn.dropdown.settings = {
keepOnScreen : true, // Whether dropdown should check whether it is on screen before showing
match : 'both', // what to match against with search selection (both, text, or label)
fullTextSearch : false, // search anywhere in value
fullTextSearch : false, // search anywhere in value (set to 'exact' to require exact matches)
placeholder : 'auto', // whether to convert blank <select> values to placeholder text
preserveHTML : true, // preserve html when selecting value
@ -3557,10 +3575,12 @@ $.fn.dropdown.settings = {
// property names for remote query
fields: {
remoteValues : 'results', // grouping for api results
values : 'values', // grouping for all dropdown values
name : 'name', // displayed dropdown text
value : 'value' // actual dropdown value
remoteValues : 'results', // grouping for api results
values : 'values', // grouping for all dropdown values
disabled : 'disabled', // whether value should be disabled
name : 'name', // displayed dropdown text
value : 'value', // actual dropdown value
text : 'text' // displayed text when selected
},
keys : {
@ -3657,10 +3677,17 @@ $.fn.dropdown.settings.templates = {
html = ''
;
$.each(values, function(index, option) {
html += (option.disabled)
? '<div class="disabled item" data-value="' + option[fields.value] + '">' + option[fields.name] + '</div>'
: '<div class="item" data-value="' + option[fields.value] + '">' + option[fields.name] + '</div>'
var
maybeText = (option[fields.text])
? 'data-text="' + option[fields.text] + '"'
: '',
maybeDisabled = (option[fields.disabled])
? 'disabled '
: ''
;
html += '<div class="'+ maybeDisabled +'item" data-value="' + option[fields.value] + '"' + maybeText + '>'
html += option[fields.name];
html += '</div>';
});
return html;
},

2
dist/components/dropdown.min.css
File diff suppressed because it is too large
View File

4
dist/components/dropdown.min.js
File diff suppressed because it is too large
View File

3
dist/components/form.js

@ -81,6 +81,9 @@ $.fn.form = function(parameters) {
module.invoke(query);
}
else {
if(instance !== undefined) {
instance.invoke('destroy');
}
module.verbose('Initializing form validation', $module, settings);
module.bindEvents();
module.set.defaults();

2
dist/components/form.min.js
File diff suppressed because it is too large
View File

2
dist/components/message.css

@ -251,7 +251,7 @@
---------------*/
.ui.floating.message {
box-shadow: 0px 0px 0px 1px rgba(34, 36, 38, 0.22) inset, 0px 2px 4px 0px rgba(34, 36, 38, 0.12), 0px 2px 10px 0px rgba(34, 36, 38, 0.08);
box-shadow: 0px 0px 0px 1px rgba(34, 36, 38, 0.22) inset, 0px 2px 4px 0px rgba(34, 36, 38, 0.12), 0px 2px 10px 0px rgba(34, 36, 38, 0.15);
}
/*--------------

2
dist/components/message.min.css
File diff suppressed because it is too large
View File

4
dist/components/popup.css

@ -34,7 +34,7 @@
font-style: normal;
color: rgba(0, 0, 0, 0.87);
border-radius: 0.28571429rem;
box-shadow: 0px 2px 4px 0px rgba(34, 36, 38, 0.12), 0px 2px 10px 0px rgba(34, 36, 38, 0.08);
box-shadow: 0px 2px 4px 0px rgba(34, 36, 38, 0.12), 0px 2px 10px 0px rgba(34, 36, 38, 0.15);
}
.ui.popup > .header {
padding: 0em;
@ -92,7 +92,7 @@
font-style: normal;
color: rgba(0, 0, 0, 0.87);
border-radius: 0.28571429rem;
box-shadow: 0px 2px 4px 0px rgba(34, 36, 38, 0.12), 0px 2px 10px 0px rgba(34, 36, 38, 0.08);
box-shadow: 0px 2px 4px 0px rgba(34, 36, 38, 0.12), 0px 2px 10px 0px rgba(34, 36, 38, 0.15);
z-index: 1;
}

2
dist/components/popup.min.css
File diff suppressed because it is too large
View File

2
dist/components/rating.css

@ -210,7 +210,7 @@
/* Empty Star */
.ui.rating .icon:before {
content: '\f006';
content: '\f005';
}
/* Active Star */

2
dist/components/rating.min.css
File diff suppressed because it is too large
View File

2
dist/components/search.css

@ -64,7 +64,7 @@
margin-top: 0.5em;
width: 18em;
border-radius: 0.28571429rem;
box-shadow: 0px 2px 4px 0px rgba(34, 36, 38, 0.12), 0px 2px 10px 0px rgba(34, 36, 38, 0.08);
box-shadow: 0px 2px 4px 0px rgba(34, 36, 38, 0.12), 0px 2px 10px 0px rgba(34, 36, 38, 0.15);
border: 1px solid #D4D4D5;
z-index: 998;
}

2
dist/components/search.min.css
File diff suppressed because it is too large
View File

2
dist/components/segment.css

@ -260,7 +260,7 @@
.ui.raised.segments,
.ui.raised.segment {
box-shadow: 0px 2px 4px 0px rgba(34, 36, 38, 0.12), 0px 2px 10px 0px rgba(34, 36, 38, 0.08);
box-shadow: 0px 2px 4px 0px rgba(34, 36, 38, 0.12), 0px 2px 10px 0px rgba(34, 36, 38, 0.15);
}

2
dist/components/segment.min.css
File diff suppressed because it is too large
View File

8
dist/components/tab.js

@ -455,7 +455,9 @@ $.fn.tab = function(parameters) {
'X-Remote': true
},
onSuccess : function(response) {
module.cache.add(fullTabPath, response);
if(settings.cacheType == 'response') {
module.cache.add(fullTabPath, response);
}
module.update.content(tabPath, response);
if(tabPath == activeTabPath) {
module.debug('Content loaded', tabPath);
@ -466,6 +468,9 @@ $.fn.tab = function(parameters) {
}
settings.onFirstLoad.call($tab[0], tabPath, parameterArray, historyEvent);
settings.onLoad.call($tab[0], tabPath, parameterArray, historyEvent);
if(settings.cacheType != 'response') {
module.cache.add(fullTabPath, $tab.html());
}
},
urlData: {
tab: fullTabPath
@ -876,6 +881,7 @@ $.fn.tab.settings = {
alwaysRefresh : false, // load tab content new every tab click
cache : true, // cache the content requests to pull locally
cacheType : 'response', // Whether to cache exact response, or to html cache contents after scripts execute
ignoreFirstLoad : false, // don't load remote content on first load
apiSettings : false, // settings for api call

2
dist/components/tab.min.js
File diff suppressed because it is too large
View File

245
dist/semantic.css

@ -4186,6 +4186,8 @@ input::selection {
Primary
--------------------*/
/*--- Standard ---*/
.ui.primary.buttons .button,
.ui.primary.button {
background-color: #2185D0;
@ -4220,16 +4222,59 @@ input::selection {
}
.ui.primary.buttons .active.button,
.ui.primary.active.button {
.ui.primary.buttons .active.button:active,
.ui.primary.active.button,
.ui.primary.button .active.button:active {
background-color: #1279c6;
color: #FFFFFF;
text-shadow: none;
}
/* Basic */
.ui.basic.primary.buttons .button,
.ui.basic.primary.button {
box-shadow: 0px 0px 0px 1px #2185D0 inset !important;
color: #2185D0 !important;
}
.ui.basic.primary.buttons .button:hover,
.ui.basic.primary.button:hover {
background: transparent !important;
box-shadow: 0px 0px 0px 1px #1678c2 inset !important;
color: #1678c2 !important;
}
.ui.basic.primary.buttons .button:focus,
.ui.basic.primary.button:focus {
background: transparent !important;
box-shadow: 0px 0px 0px 1px #0d71bb inset !important;
color: #1678c2 !important;
}
.ui.basic.primary.buttons .active.button,
.ui.basic.primary.active.button {
background: transparent !important;
box-shadow: 0px 0px 0px 1px #1279c6 inset !important;
color: #1a69a4 !important;
}
.ui.basic.primary.buttons .button:active,
.ui.basic.primary.button:active {
box-shadow: 0px 0px 0px 1px #1a69a4 inset !important;
color: #1a69a4 !important;
}
.ui.buttons:not(.vertical) > .basic.primary.button:not(:first-child) {
margin-left: -1px;
}
/*-------------------
Secondary
--------------------*/
/* Standard */
.ui.secondary.buttons .button,
.ui.secondary.button {
background-color: #1B1C1D;
@ -4264,19 +4309,62 @@ input::selection {
}
.ui.secondary.buttons .active.button,
.ui.secondary.active.button {
.ui.secondary.buttons .active.button:active,
.ui.secondary.active.button,
.ui.secondary.button .active.button:active {
background-color: #27292a;
color: #FFFFFF;
text-shadow: none;
}
/* Basic */
.ui.basic.secondary.buttons .button,
.ui.basic.secondary.button {
box-shadow: 0px 0px 0px 1px #1B1C1D inset !important;
color: #1B1C1D !important;
}
.ui.basic.secondary.buttons .button:hover,
.ui.basic.secondary.button:hover {
background: transparent !important;
box-shadow: 0px 0px 0px 1px #27292a inset !important;
color: #27292a !important;
}
.ui.basic.secondary.buttons .button:focus,
.ui.basic.secondary.button:focus {
background: transparent !important;
box-shadow: 0px 0px 0px 1px #2e3032 inset !important;
color: #27292a !important;
}
.ui.basic.secondary.buttons .active.button,
.ui.basic.secondary.active.button {
background: transparent !important;
box-shadow: 0px 0px 0px 1px #27292a inset !important;
color: #343637 !important;
}
.ui.basic.secondary.buttons .button:active,
.ui.basic.secondary.button:active {
box-shadow: 0px 0px 0px 1px #343637 inset !important;
color: #343637 !important;
}
.ui.buttons:not(.vertical) > .basic.primary.button:not(:first-child) {
margin-left: -1px;
}
/*---------------
Positive
----------------*/
/* Standard */
.ui.positive.buttons .button,
.ui.positive.button {
background-color: #21BA45 !important;
background-color: #21BA45;
color: #FFFFFF;
text-shadow: none;
background-image: none;
@ -4288,40 +4376,82 @@ input::selection {
.ui.positive.buttons .button:hover,
.ui.positive.button:hover {
background-color: #16ab39 !important;
background-color: #16ab39;
color: #FFFFFF;
text-shadow: none;
}
.ui.positive.buttons .button:focus,
.ui.positive.button:focus {
background-color: #0ea432 !important;
background-color: #0ea432;
color: #FFFFFF;
text-shadow: none;
}
.ui.positive.buttons .button:active,
.ui.positive.button:active {
background-color: #198f35 !important;
background-color: #198f35;
color: #FFFFFF;
text-shadow: none;
}
.ui.positive.buttons .active.button,
.ui.positive.buttons .active.button:active,
.ui.positive.active.button,
.ui.positive.buttons .active.button:active {
.ui.positive.button .active.button:active {
background-color: #13ae38;
color: #FFFFFF;
text-shadow: none;
}
/* Basic */
.ui.basic.positive.buttons .button,
.ui.basic.positive.button {
box-shadow: 0px 0px 0px 1px #21BA45 inset !important;
color: #21BA45 !important;
}
.ui.basic.positive.buttons .button:hover,
.ui.basic.positive.button:hover {
background: transparent !important;
box-shadow: 0px 0px 0px 1px #16ab39 inset !important;
color: #16ab39 !important;
}
.ui.basic.positive.buttons .button:focus,
.ui.basic.positive.button:focus {
background: transparent !important;
box-shadow: 0px 0px 0px 1px #0ea432 inset !important;
color: #16ab39 !important;
}
.ui.basic.positive.buttons .active.button,
.ui.basic.positive.active.button {
background: transparent !important;
box-shadow: 0px 0px 0px 1px #13ae38 inset !important;
color: #198f35 !important;
}
.ui.basic.positive.buttons .button:active,
.ui.basic.positive.button:active {
box-shadow: 0px 0px 0px 1px #198f35 inset !important;
color: #198f35 !important;
}
.ui.buttons:not(.vertical) > .basic.primary.button:not(:first-child) {
margin-left: -1px;
}
/*---------------
Negative
----------------*/
/* Standard */
.ui.negative.buttons .button,
.ui.negative.button {
background-color: #DB2828 !important;
background-color: #DB2828;
color: #FFFFFF;
text-shadow: none;
background-image: none;
@ -4333,33 +4463,73 @@ input::selection {
.ui.negative.buttons .button:hover,
.ui.negative.button:hover {
background-color: #d01919 !important;
background-color: #d01919;
color: #FFFFFF;
text-shadow: none;
}
.ui.negative.buttons .button:focus,
.ui.negative.button:focus {
background-color: #ca1010 !important;
background-color: #ca1010;
color: #FFFFFF;
text-shadow: none;
}
.ui.negative.buttons .button:active,
.ui.negative.button:active {
background-color: #b21e1e !important;
background-color: #b21e1e;
color: #FFFFFF;
text-shadow: none;
}
.ui.negative.buttons .active.button,
.ui.negative.buttons .active.button:active,
.ui.negative.active.button,
.ui.negative.buttons .active.button:active {
.ui.negative.button .active.button:active {
background-color: #d41515;
color: #FFFFFF;
text-shadow: none;
}
/* Basic */
.ui.basic.negative.buttons .button,
.ui.basic.negative.button {
box-shadow: 0px 0px 0px 1px #DB2828 inset !important;
color: #DB2828 !important;
}
.ui.basic.negative.buttons .button:hover,
.ui.basic.negative.button:hover {
background: transparent !important;
box-shadow: 0px 0px 0px 1px #d01919 inset !important;
color: #d01919 !important;
}
.ui.basic.negative.buttons .button:focus,
.ui.basic.negative.button:focus {
background: transparent !important;
box-shadow: 0px 0px 0px 1px #ca1010 inset !important;
color: #d01919 !important;
}
.ui.basic.negative.buttons .active.button,
.ui.basic.negative.active.button {
background: transparent !important;
box-shadow: 0px 0px 0px 1px #d41515 inset !important;
color: #b21e1e !important;
}
.ui.basic.negative.buttons .button:active,
.ui.basic.negative.button:active {
box-shadow: 0px 0px 0px 1px #b21e1e inset !important;
color: #b21e1e !important;
}
.ui.buttons:not(.vertical) > .basic.primary.button:not(:first-child) {
margin-left: -1px;
}
/*******************************
Groups
*******************************/
@ -15611,7 +15781,7 @@ ol.ui.horizontal.list li:before,
.ui.raised.segments,
.ui.raised.segment {
box-shadow: 0px 2px 4px 0px rgba(34, 36, 38, 0.12), 0px 2px 10px 0px rgba(34, 36, 38, 0.08);
box-shadow: 0px 2px 4px 0px rgba(34, 36, 38, 0.12), 0px 2px 10px 0px rgba(34, 36, 38, 0.15);
}
/*******************************
@ -23050,7 +23220,7 @@ Floated Menu / Item
---------------*/
.ui.floating.message {
box-shadow: 0px 0px 0px 1px rgba(34, 36, 38, 0.22) inset, 0px 2px 4px 0px rgba(34, 36, 38, 0.12), 0px 2px 10px 0px rgba(34, 36, 38, 0.08);
box-shadow: 0px 0px 0px 1px rgba(34, 36, 38, 0.22) inset, 0px 2px 4px 0px rgba(34, 36, 38, 0.12), 0px 2px 10px 0px rgba(34, 36, 38, 0.15);
}
/*--------------
@ -25344,6 +25514,27 @@ Floated Menu / Item
Variations
*******************************/
/*-------------------
Raised
--------------------*/
.ui.raised.cards > .card,
.ui.raised.card {
box-shadow: 0px 0px 0px 1px #D4D4D5, 0px 2px 4px 0px rgba(34, 36, 38, 0.12), 0px 2px 10px 0px rgba(34, 36, 38, 0.15);
}
.ui.raised.cards a.card:hover,
.ui.link.cards .raised.card:hover,
a.ui.raised.card:hover,
.ui.link.raised.card:hover {
box-shadow: 0px 0px 0px 1px #D4D4D5, 0px 2px 4px 0px rgba(34, 36, 38, 0.15), 0px 2px 10px 0px rgba(34, 36, 38, 0.25);
}
.ui.raised.cards > .card,
.ui.raised.card {
box-shadow: 0px 0px 0px 1px #D4D4D5, 0px 2px 4px 0px rgba(34, 36, 38, 0.12), 0px 2px 10px 0px rgba(34, 36, 38, 0.15);
}
/*-------------------
Centered
--------------------*/
@ -29671,21 +29862,9 @@ select.ui.dropdown {
Loading
---------------------*/
/* Positioning */
.ui.loading.dropdown > i.icon:before,
.ui.loading.dropdown > i.icon:after {
left: 30% !important;
}
.ui.loading.dropdown > i.icon {
top: 50% !important;
}
.ui.multiple.loading.dropdown > i.icon:before,
.ui.multiple.loading.dropdown > i.icon:after {
top: 0% !important;
left: 0% !important;
height: 1em !important;
padding: 1.14285714em 1.07142857em !important;
}
.ui.loading.dropdown > i.icon:before {
@ -30150,7 +30329,7 @@ select.ui.dropdown {
.ui.floating.dropdown .menu {
left: 0;
right: auto;
box-shadow: 0px 2px 4px 0px rgba(34, 36, 38, 0.12), 0px 2px 10px 0px rgba(34, 36, 38, 0.08) !important;
box-shadow: 0px 2px 4px 0px rgba(34, 36, 38, 0.12), 0px 2px 10px 0px rgba(34, 36, 38, 0.15) !important;
border-radius: 0.28571429rem !important;
}
@ -31319,7 +31498,7 @@ a.ui.nag {
font-style: normal;
color: rgba(0, 0, 0, 0.87);
border-radius: 0.28571429rem;
box-shadow: 0px 2px 4px 0px rgba(34, 36, 38, 0.12), 0px 2px 10px 0px rgba(34, 36, 38, 0.08);
box-shadow: 0px 2px 4px 0px rgba(34, 36, 38, 0.12), 0px 2px 10px 0px rgba(34, 36, 38, 0.15);
}
.ui.popup > .header {
@ -31379,7 +31558,7 @@ a.ui.nag {
font-style: normal;
color: rgba(0, 0, 0, 0.87);
border-radius: 0.28571429rem;
box-shadow: 0px 2px 4px 0px rgba(34, 36, 38, 0.12), 0px 2px 10px 0px rgba(34, 36, 38, 0.08);
box-shadow: 0px 2px 4px 0px rgba(34, 36, 38, 0.12), 0px 2px 10px 0px rgba(34, 36, 38, 0.15);
z-index: 1;
}
@ -32816,7 +32995,7 @@ a.ui.nag {
/* Empty Star */
.ui.rating .icon:before {
content: '\f006';
content: '\f005';
}
/* Active Star */
@ -32941,7 +33120,7 @@ a.ui.nag {
margin-top: 0.5em;
width: 18em;
border-radius: 0.28571429rem;
box-shadow: 0px 2px 4px 0px rgba(34, 36, 38, 0.12), 0px 2px 10px 0px rgba(34, 36, 38, 0.08);
box-shadow: 0px 2px 4px 0px rgba(34, 36, 38, 0.12), 0px 2px 10px 0px rgba(34, 36, 38, 0.15);
border: 1px solid #D4D4D5;
z-index: 998;
}

64
dist/semantic.js

@ -580,6 +580,9 @@ $.fn.form = function(parameters) {
module.invoke(query);
}
else {
if(instance !== undefined) {
instance.invoke('destroy');
}
module.verbose('Initializing form validation', $module, settings);
module.bindEvents();
module.set.defaults();
@ -4616,6 +4619,10 @@ $.fn.dropdown = function(parameters) {
module.refreshData();
},
refreshItems: function() {
$item = $menu.find(selector.item);
},
refreshSelectors: function() {
module.verbose('Refreshing selector cache');
$text = $module.find(selector.text);
@ -4983,7 +4990,11 @@ $.fn.dropdown = function(parameters) {
results.push(this);
return true;
}
else if(settings.fullTextSearch && module.fuzzySearch(searchTerm, text)) {
else if (settings.fullTextSearch === 'exact' && module.exactSearch(searchTerm, text)) {
results.push(this);
return true;
}
else if (settings.fullTextSearch === true && module.fuzzySearch(searchTerm, text)) {
results.push(this);
return true;
}
@ -5039,7 +5050,14 @@ $.fn.dropdown = function(parameters) {
}
return true;
},
exactSearch: function (query, term) {
query = query.toLowerCase();
term = term.toLowerCase();
if(term.indexOf(query) > -1) {
return true;
}
return false;
},
filterActive: function() {
if(settings.useLabels) {
$item.filter('.' + className.active)
@ -5273,10 +5291,13 @@ $.fn.dropdown = function(parameters) {
isMessage = $changedNodes.is(selector.message) || $changedNodes.closest(selector.message).length > 0
;
if(isUserAddition || isMessage) {
return
module.debug('Updating item selector cache');
module.refreshItems();
}
else {
module.debug('Menu modified, updating selector cache');
module.refresh();
}
module.debug('Menu modified, updating selector cache');
module.refresh();
},
mousedown: function() {
itemActivated = true;
@ -7673,7 +7694,7 @@ $.fn.dropdown.settings = {
keepOnScreen : true, // Whether dropdown should check whether it is on screen before showing
match : 'both', // what to match against with search selection (both, text, or label)
fullTextSearch : false, // search anywhere in value
fullTextSearch : false, // search anywhere in value (set to 'exact' to require exact matches)
placeholder : 'auto', // whether to convert blank <select> values to placeholder text
preserveHTML : true, // preserve html when selecting value
@ -7765,10 +7786,12 @@ $.fn.dropdown.settings = {
// property names for remote query
fields: {
remoteValues : 'results', // grouping for api results
values : 'values', // grouping for all dropdown values
name : 'name', // displayed dropdown text
value : 'value' // actual dropdown value
remoteValues : 'results', // grouping for api results
values : 'values', // grouping for all dropdown values
disabled : 'disabled', // whether value should be disabled
name : 'name', // displayed dropdown text
value : 'value', // actual dropdown value
text : 'text' // displayed text when selected
},
keys : {
@ -7865,10 +7888,17 @@ $.fn.dropdown.settings.templates = {
html = ''
;
$.each(values, function(index, option) {
html += (option.disabled)
? '<div class="disabled item" data-value="' + option[fields.value] + '">' + option[fields.name] + '</div>'
: '<div class="item" data-value="' + option[fields.value] + '">' + option[fields.name] + '</div>'
var
maybeText = (option[fields.text])
? 'data-text="' + option[fields.text] + '"'
: '',
maybeDisabled = (option[fields.disabled])
? 'disabled '
: ''
;
html += '<div class="'+ maybeDisabled +'item" data-value="' + option[fields.value] + '"' + maybeText + '>'
html += option[fields.name];
html += '</div>';
});
return html;
},
@ -17630,7 +17660,9 @@ $.fn.tab = function(parameters) {
'X-Remote': true
},
onSuccess : function(response) {
module.cache.add(fullTabPath, response);
if(settings.cacheType == 'response') {
module.cache.add(fullTabPath, response);
}
module.update.content(tabPath, response);
if(tabPath == activeTabPath) {
module.debug('Content loaded', tabPath);
@ -17641,6 +17673,9 @@ $.fn.tab = function(parameters) {
}
settings.onFirstLoad.call($tab[0], tabPath, parameterArray, historyEvent);
settings.onLoad.call($tab[0], tabPath, parameterArray, historyEvent);
if(settings.cacheType != 'response') {
module.cache.add(fullTabPath, $tab.html());
}
},
urlData: {
tab: fullTabPath
@ -18051,6 +18086,7 @@ $.fn.tab.settings = {
alwaysRefresh : false, // load tab content new every tab click
cache : true, // cache the content requests to pull locally
cacheType : 'response', // Whether to cache exact response, or to html cache contents after scripts execute
ignoreFirstLoad : false, // don't load remote content on first load
apiSettings : false, // settings for api call

2
dist/semantic.min.css
File diff suppressed because it is too large
View File

18
dist/semantic.min.js
File diff suppressed because it is too large
View File

Loading…
Cancel
Save