Skip to content

Commit

Permalink
Rebuild dist/
Browse files Browse the repository at this point in the history
  • Loading branch information
jlukic committed Aug 14, 2015
1 parent f307ef2 commit 73c0eef
Show file tree
Hide file tree
Showing 10 changed files with 81 additions and 29 deletions.
14 changes: 13 additions & 1 deletion dist/components/button.css
Original file line number Diff line number Diff line change
Expand Up @@ -361,17 +361,29 @@
}

/* States */

/* Hover */
.ui.inverted.button:hover {
background: #ffffff;
box-shadow: 0px 0px 0px 2px #ffffff inset !important;
color: rgba(0, 0, 0, 0.8);
}
.ui.inverted.button:focus {

/* Active / Focus */
.ui.inverted.button:focus,
.ui.inverted.button.active {
background: #ffffff;
box-shadow: 0px 0px 0px 2px #ffffff inset !important;
color: rgba(0, 0, 0, 0.8);
}

/* Active Focus */
.ui.inverted.button.active:focus {
background: #dcddde;
box-shadow: 0px 0px 0px 2px #dcddde inset !important;
color: rgba(0, 0, 0, 0.8);
}

/*-------------------
Labeled Button
--------------------*/
Expand Down
2 changes: 1 addition & 1 deletion dist/components/button.min.css

Large diffs are not rendered by default.

27 changes: 20 additions & 7 deletions dist/components/popup.js
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,9 @@ $.fn.popup = function(parameters) {
module.debug('Setting page as offset parent');
$offsetParent = $body;
}
if( module.get.variation() ) {
module.set.variation();
}
},

reposition: function() {
Expand Down Expand Up @@ -194,7 +197,6 @@ $.fn.popup = function(parameters) {
create: function() {
var
html = module.get.html(),
variation = module.get.variation(),
title = module.get.title(),
content = module.get.content()
;
Expand All @@ -209,15 +211,9 @@ $.fn.popup = function(parameters) {
}
$popup = $('<div/>')
.addClass(className.popup)
.addClass(variation)
.data(metadata.activator, $module)
.html(html)
;
if(variation) {
$popup
.addClass(variation)
;
}
if(settings.inline) {
module.verbose('Inserting popup element inline', $popup);
$popup
Expand All @@ -231,6 +227,8 @@ $.fn.popup = function(parameters) {
;
}
module.refresh();
module.set.variation();

if(settings.hoverable) {
module.bind.popup();
}
Expand Down Expand Up @@ -853,6 +851,14 @@ $.fn.popup = function(parameters) {
$popup.css('width', calculations.container.width);
},

variation: function(variation) {
variation = variation || module.get.variation();
if(variation && module.has.popup() ) {
module.verbose('Adding variation to popup', variation);
$popup.addClass(variation);
}
},

visible: function() {
$module.addClass(className.visible);
}
Expand All @@ -862,6 +868,13 @@ $.fn.popup = function(parameters) {
loading: function() {
$popup.removeClass(className.loading);
},
variation: function(variation) {
variation = variation || module.get.variation();
if(variation) {
module.verbose('Removing variation', variation);
$popup.removeClass(variation);
}
},
visible: function() {
$module.removeClass(className.visible);
},
Expand Down
2 changes: 1 addition & 1 deletion dist/components/popup.min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/components/tab.js
Original file line number Diff line number Diff line change
Expand Up @@ -609,8 +609,8 @@ $.fn.tab = function(parameters) {
tabPath = tabPath || activeTabPath;
tabPathArray = module.utilities.pathToArray(tabPath);
lastTab = module.utilities.last(tabPathArray);
$fullPathTab = $tabs.filter('[data-' + metadata.tab + '="' + lastTab + '"]');
$simplePathTab = $tabs.filter('[data-' + metadata.tab + '="' + tabPath + '"]');
$fullPathTab = $tabs.filter('[data-' + metadata.tab + '="' + tabPath + '"]');
$simplePathTab = $tabs.filter('[data-' + metadata.tab + '="' + lastTab + '"]');
return ($fullPathTab.length > 0)
? $fullPathTab
: $simplePathTab
Expand Down
2 changes: 1 addition & 1 deletion dist/components/tab.min.js

Large diffs are not rendered by default.

15 changes: 14 additions & 1 deletion dist/semantic.css
Original file line number Diff line number Diff line change
Expand Up @@ -1063,18 +1063,31 @@ input::selection {

/* States */

/* Hover */

.ui.inverted.button:hover {
background: #ffffff;
box-shadow: 0px 0px 0px 2px #ffffff inset !important;
color: rgba(0, 0, 0, 0.8);
}

.ui.inverted.button:focus {
/* Active / Focus */

.ui.inverted.button:focus,
.ui.inverted.button.active {
background: #ffffff;
box-shadow: 0px 0px 0px 2px #ffffff inset !important;
color: rgba(0, 0, 0, 0.8);
}

/* Active Focus */

.ui.inverted.button.active:focus {
background: #dcddde;
box-shadow: 0px 0px 0px 2px #dcddde inset !important;
color: rgba(0, 0, 0, 0.8);
}

/*-------------------
Labeled Button
--------------------*/
Expand Down
31 changes: 22 additions & 9 deletions dist/semantic.js
Original file line number Diff line number Diff line change
Expand Up @@ -9543,6 +9543,9 @@ $.fn.popup = function(parameters) {
module.debug('Setting page as offset parent');
$offsetParent = $body;
}
if( module.get.variation() ) {
module.set.variation();
}
},

reposition: function() {
Expand Down Expand Up @@ -9613,7 +9616,6 @@ $.fn.popup = function(parameters) {
create: function() {
var
html = module.get.html(),
variation = module.get.variation(),
title = module.get.title(),
content = module.get.content()
;
Expand All @@ -9628,15 +9630,9 @@ $.fn.popup = function(parameters) {
}
$popup = $('<div/>')
.addClass(className.popup)
.addClass(variation)
.data(metadata.activator, $module)
.html(html)
;
if(variation) {
$popup
.addClass(variation)
;
}
if(settings.inline) {
module.verbose('Inserting popup element inline', $popup);
$popup
Expand All @@ -9650,6 +9646,8 @@ $.fn.popup = function(parameters) {
;
}
module.refresh();
module.set.variation();

if(settings.hoverable) {
module.bind.popup();
}
Expand Down Expand Up @@ -10272,6 +10270,14 @@ $.fn.popup = function(parameters) {
$popup.css('width', calculations.container.width);
},

variation: function(variation) {
variation = variation || module.get.variation();
if(variation && module.has.popup() ) {
module.verbose('Adding variation to popup', variation);
$popup.addClass(variation);
}
},

visible: function() {
$module.addClass(className.visible);
}
Expand All @@ -10281,6 +10287,13 @@ $.fn.popup = function(parameters) {
loading: function() {
$popup.removeClass(className.loading);
},
variation: function(variation) {
variation = variation || module.get.variation();
if(variation) {
module.verbose('Removing variation', variation);
$popup.removeClass(variation);
}
},
visible: function() {
$module.removeClass(className.visible);
},
Expand Down Expand Up @@ -16759,8 +16772,8 @@ $.fn.tab = function(parameters) {
tabPath = tabPath || activeTabPath;
tabPathArray = module.utilities.pathToArray(tabPath);
lastTab = module.utilities.last(tabPathArray);
$fullPathTab = $tabs.filter('[data-' + metadata.tab + '="' + lastTab + '"]');
$simplePathTab = $tabs.filter('[data-' + metadata.tab + '="' + tabPath + '"]');
$fullPathTab = $tabs.filter('[data-' + metadata.tab + '="' + tabPath + '"]');
$simplePathTab = $tabs.filter('[data-' + metadata.tab + '="' + lastTab + '"]');
return ($fullPathTab.length > 0)
? $fullPathTab
: $simplePathTab
Expand Down
2 changes: 1 addition & 1 deletion dist/semantic.min.css

Large diffs are not rendered by default.

11 changes: 6 additions & 5 deletions dist/semantic.min.js

Large diffs are not rendered by default.

0 comments on commit 73c0eef

Please sign in to comment.