Skip to content

Commit

Permalink
Include rotate module
Browse files Browse the repository at this point in the history
  • Loading branch information
sachinchoolur committed Sep 1, 2020
1 parent 25e7302 commit bd8cefe
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 0 deletions.
38 changes: 38 additions & 0 deletions src/sass/lg-rotate.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
@import "lg-variables";
@import "lg-mixins";
.lg-outer {
.lg-img-rotate {
position: absolute;
padding: 0 5px;
left: 0;
right: 0;
top: 0;
bottom: 0;
@include transitionCustom(transform 0.3s cubic-bezier(0.32, 0, 0.67, 0) 0s);
}
}
.lg-rotate-left {
&:after {
content: "\e900";
}
}
.lg-rotate-right {
&:after {
content: "\e901";
}
}
.lg-icon {
&.lg-flip-hor, &.lg-flip-ver {
font-size: 26px;
}
}
.lg-flip-hor {
&:after {
content: "\e903";
}
}
.lg-flip-ver {
&:after {
content: "\e902";
}
}
1 change: 1 addition & 0 deletions src/sass/lightgallery.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
@import "lg-pager";
@import "lg-fullscreen";
@import "lg-share";
@import "lg-rotate";

// Clearfix
.group {
Expand Down

0 comments on commit bd8cefe

Please sign in to comment.