source: extensions/Fotorama/template/close_button.css @ 31735

Last change on this file since 31735 was 31735, checked in by rvelices, 7 years ago

some combination of options on chrome disallow pressing the close button (z-order)

  • Property svn:executable set to *
File size: 1.5 KB
Line 
1.fotorama__fullscreen-icon {
2  top: 36px;
3}
4.fotorama__close-icon {
5  width: 32px;
6  height: 32px;
7  top: 2px;
8  right: 2px;
9  z-index: 21;
10  background: url(../fotorama/fotorama.png) no-repeat scroll -64px 0;
11  position: absolute;
12  cursor: pointer;
13}
14@media (-webkit-min-device-pixel-ratio: 1.5), (min-resolution: 2dppx) {
15  .fotorama__close-icon {
16    background: url('../fotorama/fotorama@2x.png') no-repeat scroll -64px 0;
17    background-size: 96px 160px;
18  }
19}
20.fotorama__wrap--no-controls.fotorama__wrap--toggle-arrows .fotorama__close-icon {
21  opacity: 0;
22}
23.fotorama__wrap--no-controls.fotorama__wrap--toggle-arrows .fotorama__close-icon:focus {
24  opacity: 1;
25}
26.fotorama__wrap--css2.fotorama__wrap--no-controls.fotorama__wrap--toggle-arrows .fotorama__close-icon {
27  display: none;
28}
29.fotorama__wrap--css2.fotorama__wrap--no-controls.fotorama__wrap--toggle-arrows .fotorama__close-icon:focus {
30  display: block;
31}
32.fotorama__wrap--css2.fotorama__wrap--video .fotorama__close-icon {
33  display: none !important;
34}
35.fotorama__wrap--css3.fotorama__wrap--no-controls.fotorama__wrap--slide.fotorama__wrap--toggle-arrows .fotorama__close-icon:not(:focus) {
36  -webkit-transform: translate3d(0,-32px,0);
37  transform: translate3d(0,-32px,0);
38}
39.fotorama__wrap--css3 .fotorama__close-icon {
40  -webkit-transform: translate3d(0,0,0);
41  transform: translate3d(0,0,0);
42}
43.fotorama__wrap--css3 .fotorama__close-icon:not(:focus) {
44  transition-property: transform, opacity;
45  transition-duration: 0.3s;
46}
Note: See TracBrowser for help on using the repository browser.