Projet

Général

Profil

Paste
Télécharger (4,85 ko) Statistiques
| Branche: | Révision:

root / drupal7 / sites / all / modules / colorbox / styles / stockholmsyndrome / colorbox_style.css @ 651307cd

1
/**
2
 * Colorbox Core Style:
3
 * The following CSS is consistent between example themes and should not be altered.
4
 */
5
#colorbox, #cboxOverlay, #cboxWrapper {
6
  position: absolute;
7
  top: 0;
8
  left: 0;
9
  z-index: 9999;
10
  overflow: hidden;
11
}
12
#cboxOverlay {
13
  position: fixed;
14
  width: 100%;
15
  height: 100%;
16
}
17
#cboxMiddleLeft, #cboxBottomLeft {
18
  clear: left;
19
}
20
#cboxContent {
21
  position: relative;
22
}
23
#cboxLoadedContent {
24
  overflow: auto;
25
  -webkit-overflow-scrolling: touch;
26
}
27
#cboxTitle {
28
  margin: 0;
29
}
30
#cboxLoadingOverlay, #cboxLoadingGraphic {
31
  position: absolute;
32
  top: 0;
33
  left: 0;
34
  width: 100%;
35
  height: 100%;
36
}
37
/**
38
 * These elements are buttons, and may need to have additional
39
 * styles reset to avoid unwanted base styles.
40
 */
41
#cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow {
42
  border: 0;
43
  padding: 0;
44
  margin: 0;
45
  overflow: visible;
46
  width: auto;
47
  background: none;
48
  cursor: pointer;
49
}
50
/**
51
 * Avoid outlines on :active (mouseclick),
52
 * but preserve outlines on :focus (tabbed navigating)
53
 */
54
#cboxPrevious:active, #cboxNext:active, #cboxClose:active, #cboxSlideshow:active {
55
  outline: 0;
56
}
57
.cboxPhoto {
58
  float: left;
59
  margin: auto;
60
  border: 0;
61
  display: block;
62
  max-width: none;
63
}
64
.cboxIframe {
65
  width: 100%;
66
  height: 100%;
67
  display: block;
68
  border: 0;
69
}
70
/* Reset box sizing to content-box if theme is using border-box. */
71
#colorbox, #cboxContent, #cboxLoadedContent {
72
  -moz-box-sizing: content-box;
73
  -webkit-box-sizing: content-box;
74
  box-sizing: content-box;
75
}
76

    
77
/**
78
 * Colorbox module Stockholm syndrome style:
79
 * The styles are ordered & tabbed in a way that represents
80
 * the nesting of the generated HTML.
81
 */
82
#cboxOverlay {
83
  background: #000;
84
}
85

    
86
#colorbox {
87
  background: #fff url(images/bg_tab.png) center bottom repeat-x;
88
  -moz-box-shadow: 3px 3px 16px #333;
89
  -webkit-box-shadow: 3px 3px 16px #333;
90
  box-shadow: 3px 3px 16px #333;
91
  -moz-border-radius-bottomleft: 9px;
92
  -moz-border-radius-bottomright: 9px;
93
  -webkit-border-bottom-left-radius: 9px;
94
  -webkit-border-bottom-right-radius: 9px;
95
  border-bottom-left-radius: 9px;
96
  border-bottom-right-radius: 9px;
97
  outline: 0;
98
}
99
#colorbox, #colorbox div {
100
  overflow: visible; /* Required by the close button. */
101
}
102
  #cboxWrapper {
103
    -moz-border-radius-bottomleft: 9px;
104
    -moz-border-radius-bottomright: 9px;
105
    -webkit-border-bottom-left-radius: 9px;
106
    -webkit-border-bottom-right-radius: 9px;
107
    border-bottom-left-radius: 9px;
108
    border-bottom-right-radius: 9px;
109
  }
110
    #cboxTopLeft {
111
      width: 0;
112
      height: 0;
113
    }
114
    #cboxTopCenter {
115
      height: 0;
116
    }
117
    #cboxTopRight {
118
      width: 0;
119
      height: 0;
120
    }
121
    #cboxBottomLeft {
122
      width: 15px;
123
      height: 10px;
124
    }
125
    #cboxBottomCenter {
126
      height: 10px;
127
    }
128
    #cboxBottomRight {
129
      width: 15px;
130
      height: 10px;
131
    }
132
    #cboxMiddleLeft {
133
      width: 0;
134
    }
135
    #cboxMiddleRight {
136
      width: 0;
137
    }
138
    #cboxContent {
139
      background: #fff;
140
      overflow: hidden;
141
      margin-bottom: 28px;
142
    }
143
      #cboxError {
144
        padding: 50px;
145
        border: 1px solid #ccc;
146
      }
147
      #cboxLoadedContent {
148
      }
149
      #cboxTitle {
150
        left: 0;
151
        height: 38px;
152
        color: #313131;
153
        padding: 0 140px 0 15px;
154
        display: table-cell !important;
155
        vertical-align: middle;
156
        float: none !important;
157
      }
158
      #cboxCurrent {
159
        position: absolute;
160
        bottom: -26px;
161
        right: 80px;
162
        color: #313131;
163
        border-left: 1px solid #313131;
164
        padding: 0 0 0 15px;
165
      }
166
      /* Slideshow not implemented. */
167
      .cboxSlideshow_on #cboxSlideshow {
168
        display: none;
169
      }
170
      .cboxSlideshow_on #cboxSlideshow:hover {
171
      }
172
      .cboxSlideshow_off #cboxSlideshow {
173
        display: none;
174
      }
175
      .cboxSlideshow_off #cboxSlideshow:hover {
176
      }
177
      #cboxPrevious {
178
        position: absolute;
179
        bottom: -26px;
180
        right: 45px;
181
        background: url(images/controls.png) no-repeat 0 -48px;
182
        width: 21px;
183
        height: 15px;
184
        text-indent: -9999px;
185
      }
186
      #cboxPrevious:hover {
187
        background-position: 0 -111px;
188
      }
189
      #cboxNext {
190
        position: absolute;
191
        bottom: -26px;
192
        right: 15px;
193
        background: url(images/controls.png) no-repeat 0 -29px;
194
        width: 21px;
195
        height: 15px;
196
        text-indent: -9999px;
197
      }
198
      #cboxNext:hover {
199
        background-position: 0 -92px;
200
      }
201
      #cboxLoadingOverlay {
202
        background: #e6e6e6;
203
      }
204
      #cboxLoadingGraphic {
205
        background: url(images/loading_animation.gif) no-repeat center center;
206
      }
207
      #cboxClose {
208
        position: absolute;
209
        top: -10px;
210
        right: -10px;
211
        background: url(images/controls.png) no-repeat 0px 0px;
212
        width: 25px;
213
        height: 25px;
214
        text-indent: -9999px;
215
        opacity: 0;
216
      }
217
      #cboxClose:hover {
218
        background-position: 0 -63px;
219
      }