photoswipe.css
2.92 KB
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
/*
* PhotoSwipe - http://www.photoswipe.com/
* Copyright (c) 2011 by Code Computerlove (http://www.codecomputerlove.com)
* Licensed under the MIT license
*
* Default styles for SwipeGallery
* Avoid any position or dimension based styles
* where possible, unless specified already here.
* The gallery automatically works out gallery item
* positions etc.
*/
body.ps-active
{
-webkit-text-size-adjust: none;
overflow: hidden;
}
body.ps-active *
{
-webkit-tap-highlight-color: rgba(255, 255, 255, 0);
}
body.ps-active *:focus
{
outline: 0;
}
/* Document overlay */
div.ps-document-overlay
{
background: #000;
}
/* Viewport */
div.ps-viewport
{
background: #000;
cursor: pointer;
}
/* Zoom/pan/rotate layer */
div.ps-zoom-pan-rotate{
background: #000;
}
/* Slider */
div.ps-slider-item-loading
{
background: url(photoswipe-loader.gif) no-repeat center center;
}
/* Caption */
div.ps-caption
{
background: #000000;
background: -moz-linear-gradient(top, #303130 0%, #000101 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#303130), color-stop(100%,#000101));
border-bottom: 1px solid #42403f;
color: #ffffff;
font-size: 13px;
font-family: "Lucida Grande", Helvetica, Arial,Verdana, sans-serif;
text-align: center;
}
div.ps-caption-bottom
{
border-top: 1px solid #42403f;
border-bottom: none;
}
div.ps-caption-content
{
padding: 13px;
}
/* Toolbar */
div.ps-toolbar
{
background: #000000;
background: -moz-linear-gradient(top, #303130 0%, #000101 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#303130), color-stop(100%,#000101));
border-top: 1px solid #42403f;
color: #ffffff;
font-size: 13px;
font-family: "Lucida Grande", Helvetica, Arial,Verdana, sans-serif;
text-align: center;
height: 44px;
display: table;
table-layout: fixed;
}
div.ps-toolbar-top
{
border-bottom: 1px solid #42403f;
border-top: none;
}
div.ps-toolbar-close, div.ps-toolbar-previous, div.ps-toolbar-next, div.ps-toolbar-play
{
cursor: pointer;
display: table-cell;
}
div.ps-toolbar div div.ps-toolbar-content
{
width: 44px;
height: 44px;
margin: 0 auto 0;
background-image: url(photoswipe-icons.png);
background-repeat: no-repeat;
}
div.ps-toolbar-close div.ps-toolbar-content
{
background-position: 0 0;
}
div.ps-toolbar-previous div.ps-toolbar-content
{
background-position: -44px 0;
}
div.ps-toolbar-previous-disabled div.ps-toolbar-content
{
background-position: -44px -44px;
}
div.ps-toolbar-next div.ps-toolbar-content
{
background-position: -132px 0;
}
div.ps-toolbar-next-disabled div.ps-toolbar-content
{
background-position: -132px -44px;
}
div.ps-toolbar-play div.ps-toolbar-content
{
background-position: -88px 0;
}
/* Hi-res retina display */
@media only screen and (-webkit-min-device-pixel-ratio: 2)
{
div.ps-toolbar div div.ps-toolbar-content
{
-webkit-background-size: 176px 88px;
background-image: url(photoswipe-icons@2x.png);
}
}