Skip to content

Commit bd8cefe

Browse files
committed
Include rotate module
1 parent 25e7302 commit bd8cefe

File tree

2 files changed

+39
-0
lines changed

2 files changed

+39
-0
lines changed

Diff for: src/sass/lg-rotate.scss

+38
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
@import "lg-variables";
2+
@import "lg-mixins";
3+
.lg-outer {
4+
.lg-img-rotate {
5+
position: absolute;
6+
padding: 0 5px;
7+
left: 0;
8+
right: 0;
9+
top: 0;
10+
bottom: 0;
11+
@include transitionCustom(transform 0.3s cubic-bezier(0.32, 0, 0.67, 0) 0s);
12+
}
13+
}
14+
.lg-rotate-left {
15+
&:after {
16+
content: "\e900";
17+
}
18+
}
19+
.lg-rotate-right {
20+
&:after {
21+
content: "\e901";
22+
}
23+
}
24+
.lg-icon {
25+
&.lg-flip-hor, &.lg-flip-ver {
26+
font-size: 26px;
27+
}
28+
}
29+
.lg-flip-hor {
30+
&:after {
31+
content: "\e903";
32+
}
33+
}
34+
.lg-flip-ver {
35+
&:after {
36+
content: "\e902";
37+
}
38+
}

Diff for: src/sass/lightgallery.scss

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
@import "lg-pager";
1111
@import "lg-fullscreen";
1212
@import "lg-share";
13+
@import "lg-rotate";
1314

1415
// Clearfix
1516
.group {

0 commit comments

Comments
 (0)