Skip to content

Commit

Permalink
rebuild files
Browse files Browse the repository at this point in the history
  • Loading branch information
jlukic committed Aug 28, 2014
1 parent 250e464 commit 64f3f88
Show file tree
Hide file tree
Showing 80 changed files with 1,114 additions and 685 deletions.
23 changes: 15 additions & 8 deletions build/less/definitions/behaviors/visibility.js
Expand Up @@ -37,10 +37,10 @@ $.fn.visibility = function(parameters) {
eventNamespace = '.' + namespace,
moduleNamespace = 'module-' + namespace,

$module = $(this),
$window = $(window),
$module = $(this),
$context = $(settings.context),
$container = $module.offsetParent(),
$context,

selector = $module.selector || '',
instance = $module.data(moduleNamespace),
Expand Down Expand Up @@ -85,6 +85,9 @@ $.fn.visibility = function(parameters) {
$window
.off(eventNamespace)
;
$context
.off(eventNamespace)
;
$module
.off(eventNamespace)
.removeData(moduleNamespace)
Expand All @@ -94,8 +97,10 @@ $.fn.visibility = function(parameters) {
bindEvents: function() {
module.verbose('Binding visibility events to scroll and resize');
$window
.on('resize', module.event.refresh)
.on('scroll', module.event.scroll)
.on('resize' + eventNamespace, module.event.refresh)
;
$context
.on('scroll' + eventNamespace, module.event.scroll)
;
},

Expand Down Expand Up @@ -378,7 +383,7 @@ $.fn.visibility = function(parameters) {
}
},
scroll: function() {
module.cache.scroll = $window.scrollTop() + settings.offset;
module.cache.scroll = $context.scrollTop() + settings.offset;
},
direction: function() {
var
Expand Down Expand Up @@ -456,10 +461,10 @@ $.fn.visibility = function(parameters) {
},
screenCalculations: function() {
var
scroll = $window.scrollTop()
scroll = $context.scrollTop()
;
if(module.cache.scroll === undefined) {
module.cache.scroll = $window.scrollTop();
module.cache.scroll = $context.scrollTop();
}
module.save.direction();
$.extend(module.cache.screen, {
Expand All @@ -471,7 +476,7 @@ $.fn.visibility = function(parameters) {
screenSize: function() {
module.verbose('Saving window position');
module.cache.screen = {
height: $window.height()
height: $context.height()
};
},
position: function() {
Expand Down Expand Up @@ -728,6 +733,8 @@ $.fn.visibility.settings = {
offset : 0,
includeMargin : false,

context : window,

// visibility check delay in ms
throttle : false,

Expand Down
34 changes: 17 additions & 17 deletions build/less/definitions/collections/menu.less
Expand Up @@ -1294,66 +1294,66 @@

/*--- Light Colors ---*/
.ui.grey.menu {
background-color: #F0F0F0;
background-color: @offWhite;
}

/*--- Inverted Colors ---*/

/* Blue */
.ui.inverted.blue.menu {
background-color: @lightBlue;
background-color: @blue;
}
.ui.inverted.blue.pointing.menu .active.item:after {
background-color: @lightBlue;
background-color: @blue;
}
/* Green */
.ui.inverted.green.menu {
background-color: @lightGreen;
background-color: @green;
}
.ui.inverted.green.pointing.menu .active.item:after {
background-color: @lightGreen;
background-color: @green;
}
/* Orange */
.ui.inverted.orange.menu {
background-color: @lightOrange;
background-color: @orange;
}
.ui.inverted.orange.pointing.menu .active.item:after {
background-color: @lightOrange;
background-color: @orange;
}
/* Pink */
.ui.inverted.pink.menu {
background-color: @lightPink;
background-color: @pink;
}
.ui.inverted.pink.pointing.menu .active.item:after {
background-color: @lightPink;
background-color: @pink;
}
/* Purple */
.ui.inverted.purple.menu {
background-color: @lightPurple;
background-color: @purple;
}
.ui.inverted.purple.pointing.menu .active.item:after {
background-color: @lightPurple;
background-color: @purple;
}
/* Red */
.ui.inverted.red.menu {
background-color: @lightRed;
background-color: @red;
}
.ui.inverted.red.pointing.menu .active.item:after {
background-color: @lightRed;
background-color: @red;
}
/* Teal */
.ui.inverted.teal.menu {
background-color: @lightTeal;
background-color: @teal;
}
.ui.inverted.teal.pointing.menu .active.item:after {
background-color: @lightTeal;
background-color: @teal;
}
/* Yellow */
.ui.inverted.yellow.menu {
background-color: @lightYellow;
background-color: @yellow;
}
.ui.inverted.yellow.pointing.menu .active.item:after {
background-color: @lightYellow;
background-color: @yellow;
}


Expand Down
1 change: 0 additions & 1 deletion build/less/definitions/collections/table.less
Expand Up @@ -126,7 +126,6 @@
/* Table Segment */
.ui.table.segment {
padding: 0em;
box-shadow: none;
}
.ui.table.segment:after {
display: none;
Expand Down
13 changes: 13 additions & 0 deletions build/less/definitions/elements/button.less
Expand Up @@ -182,6 +182,9 @@
padding-right: 0em;
}

.ui.animated.button .content {
will-change: transform, opacity;
}
.ui.animated.button .visible.content {
position: relative;
margin-right: @horizontalPadding;
Expand Down Expand Up @@ -1740,12 +1743,22 @@
border-left: none;
}

.ui.buttons:not(.basic):not(.inverted) {
box-shadow: @groupBoxShadow;
}
.ui.buttons > .ui.button:not(.basic):not(.inverted),
.ui.buttons:not(.basic):not(.inverted) > .button {
box-shadow: @groupButtonBoxShadow;
}


.ui.buttons .button {
margin: 0em;
float: left;
border-radius: 0em;
margin: @groupButtonOffset;
}

.ui.buttons .button:first-child {
margin-left: 0em;
border-top-left-radius: @borderRadius;
Expand Down
71 changes: 70 additions & 1 deletion build/less/definitions/elements/header.less
Expand Up @@ -194,31 +194,65 @@ h5.ui.header {
.ui.black.header {
color: @black !important;
}
a.ui.black.header:hover {
color: @blackHover;
}

.ui.blue.header {
color: @blue !important;
}
a.ui.blue.header:hover {
color: @blueHover;
}

.ui.green.header {
color: @green !important;
}
a.ui.green.header:hover {
color: @greenHover;
}

.ui.orange.header {
color: @orange !important;
}
a.ui.orange.header:hover {
color: @orangeHover;
}

.ui.pink.header {
color: @pink !important;
}
a.ui.pink.header:hover {
color: @pinkHover;
}

.ui.purple.header {
color: @purple !important;
}
a.ui.purple.header:hover {
color: @purpleHover;
}

.ui.red.header {
color: @red !important;
}
a.ui.red.header:hover {
color: @redHover;
}

.ui.teal.header {
color: @teal !important;
}
a.ui.teal.header:hover {
color: @tealHover;
}

.ui.yellow.header {
color: @yellow !important;
}

a.ui.yellow.header:hover {
color: @yellowHover;
}

.ui.black.dividing.header {
border-bottom: @dividedColoredBorderWidth solid @black;
Expand Down Expand Up @@ -275,30 +309,65 @@ h5.ui.header {
.ui.inverted.black.header {
color: @darkGrey !important;
}
a.ui.inverted.black.header:hover {
color: @darkGreyHover !important;
}

.ui.inverted.blue.header {
color: @lightBlue !important;
}
a.ui.inverted.blue.header:hover {
color: @lightBlueHover !important;
}

.ui.inverted.green.header {
color: @lightGreen !important;
}
a.ui.inverted.green.header:hover {
color: @lightGreenHover !important;
}

.ui.inverted.orange.header {
color: @lightOrange !important;
}
a.ui.inverted.orange.header:hover {
color: @lightOrangeHover !important;
}

.ui.inverted.pink.header {
color: @lightPink !important;
}
a.ui.inverted.pink.header:hover {
color: @lightPinkHover !important;
}

.ui.inverted.purple.header {
color: @lightPurple !important;
}
a.ui.inverted.purple.header:hover {
color: @lightPurpleHover !important;
}

.ui.inverted.red.header {
color: @lightRed !important;
}
a.ui.inverted.red.header:hover {
color: @lightRedHover !important;
}

.ui.inverted.teal.header {
color: @lightTeal !important;
}
a.ui.inverted.teal.header:hover {
color: @lightTealHover !important;
}

.ui.inverted.yellow.header {
color: @lightYellow !important;
}
a.ui.inverted.yellow.header:hover {
color: @lightYellowHover !important;
}

.ui.inverted.block.header {
border-bottom: none;
Expand Down
2 changes: 1 addition & 1 deletion build/less/definitions/modules/dimmer.less
Expand Up @@ -48,7 +48,7 @@
transition: @transition;

user-select: none;

will-transform: opacity;
z-index: @zIndex;
}

Expand Down
1 change: 1 addition & 0 deletions build/less/definitions/modules/dropdown.less
Expand Up @@ -60,6 +60,7 @@
border-radius: @menuBorderRadius;
transition: @menuTransition;
z-index: @menuZIndex;
will-change: transform, opacity;
}

/*--------------
Expand Down
5 changes: 2 additions & 3 deletions build/less/definitions/modules/modal.less
Expand Up @@ -40,6 +40,7 @@

border-radius: @borderRadius;
user-select: text;
will-change: top, left, margin, transform, opacity;
}

.ui.modal > :first-child:not(.icon),
Expand Down Expand Up @@ -282,9 +283,7 @@

.ui.fullscreen.modal {
width: @fullScreenWidth !important;
margin: @fullScreenMargin !important;
top: auto;
left: auto;
margin: @fullScreenMargin;
}
.ui.fullscreen.modal > .close {
top: @innerCloseTop;
Expand Down

0 comments on commit 64f3f88

Please sign in to comment.