summaryrefslogtreecommitdiff
path: root/style/touch-imagelightbox.scss
blob: 8cd6df49f1e5ddd5cc3e443b219d58ec35f3d0f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
@import "plugins/activity-indicator";
@import "plugins/overlay";
@import "plugins/closebutton";
@import "plugins/navigation";
@import "plugins/caption";

@mixin touch-action($value) {
  -ms-touch-action: $value;
  touch-action: $value;
}

html {
  // killing 300ms touch delay in IE
  @include touch-action(manipulation);
}

#imagelightbox {
  @include touch-action(none);
  box-shadow: rgba(0, 0, 0, .75) 0 0 50px;
  cursor: pointer;
  position: fixed;
  z-index: 10000;
}