This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Button go Top | |
$(window).on('scroll' ,function (event) { | |
var el = $(".region-footer"); | |
var elTop = el.offset().top; | |
var windowTop = $(window).scrollTop(); | |
var windowHeight = $(window).height(); | |
var windowBottom = windowTop + windowHeight; | |
var elVisible = windowBottom - elTop; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@mixin rtl() { | |
html[dir=rtl] & { | |
@content; | |
} | |
} | |
// float element right in rtl | |
@mixin float-columns-right($class, $i: 1, $list: ".col-#{$class}-#{$i}") { | |
@for $i from (1 + 1) through $grid-columns { | |
$list: "#{$list}, .col-#{$class}-#{$i}"; |
NewerOlder