Révision b433176d
Ajouté par Assos Assos il y a environ 4 ans
drupal7/sites/all/modules/colorbox/styles/plain/colorbox_style.css | ||
---|---|---|
2 | 2 |
* Colorbox Core Style: |
3 | 3 |
* The following CSS is consistent between example themes and should not be altered. |
4 | 4 |
*/ |
5 |
#colorbox, #cboxOverlay, #cboxWrapper { |
|
5 |
#colorbox, |
|
6 |
#cboxOverlay, |
|
7 |
#cboxWrapper { |
|
6 | 8 |
position: absolute; |
7 | 9 |
top: 0; |
8 | 10 |
left: 0; |
... | ... | |
14 | 16 |
width: 100%; |
15 | 17 |
height: 100%; |
16 | 18 |
} |
17 |
#cboxMiddleLeft, #cboxBottomLeft { |
|
19 |
#cboxMiddleLeft, |
|
20 |
#cboxBottomLeft { |
|
18 | 21 |
clear: left; |
19 | 22 |
} |
20 | 23 |
#cboxContent { |
... | ... | |
27 | 30 |
#cboxTitle { |
28 | 31 |
margin: 0; |
29 | 32 |
} |
30 |
#cboxLoadingOverlay, #cboxLoadingGraphic { |
|
33 |
#cboxLoadingOverlay, |
|
34 |
#cboxLoadingGraphic { |
|
31 | 35 |
position: absolute; |
32 | 36 |
top: 0; |
33 | 37 |
left: 0; |
... | ... | |
38 | 42 |
* These elements are buttons, and may need to have additional |
39 | 43 |
* styles reset to avoid unwanted base styles. |
40 | 44 |
*/ |
41 |
#cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow { |
|
45 |
#cboxPrevious, |
|
46 |
#cboxNext, |
|
47 |
#cboxClose, |
|
48 |
#cboxSlideshow { |
|
42 | 49 |
border: 0; |
43 | 50 |
padding: 0; |
44 | 51 |
margin: 0; |
... | ... | |
51 | 58 |
* Avoid outlines on :active (mouseclick), |
52 | 59 |
* but preserve outlines on :focus (tabbed navigating) |
53 | 60 |
*/ |
54 |
#cboxPrevious:active, #cboxNext:active, #cboxClose:active, #cboxSlideshow:active { |
|
61 |
#cboxPrevious:active, |
|
62 |
#cboxNext:active, |
|
63 |
#cboxClose:active, |
|
64 |
#cboxSlideshow:active { |
|
55 | 65 |
outline: 0; |
56 | 66 |
} |
57 | 67 |
.cboxPhoto { |
... | ... | |
68 | 78 |
border: 0; |
69 | 79 |
} |
70 | 80 |
/* Reset box sizing to content-box if theme is using border-box. */ |
71 |
#colorbox, #cboxContent, #cboxLoadedContent { |
|
81 |
#colorbox, |
|
82 |
#cboxContent, |
|
83 |
#cboxLoadedContent { |
|
72 | 84 |
-moz-box-sizing: content-box; |
73 | 85 |
-webkit-box-sizing: content-box; |
74 | 86 |
box-sizing: content-box; |
... | ... | |
85 | 97 |
#colorbox { |
86 | 98 |
outline: 0; |
87 | 99 |
} |
88 |
#cboxWrapper {} |
|
89 |
#cboxContent { |
|
90 |
overflow: hidden; |
|
91 |
} |
|
92 |
#cboxContent, .cboxPhoto { |
|
93 |
-webkit-border-radius: 5px; |
|
94 |
-moz-border-radius: 5px; |
|
95 |
border-radius: 5px; |
|
96 |
} |
|
97 |
#cboxError { |
|
98 |
padding: 50px; |
|
99 |
border: 1px solid #ccc; |
|
100 |
} |
|
101 |
#cboxTitle { |
|
102 |
position: absolute; |
|
103 |
background: rgba(255, 255, 255, 0.7); |
|
104 |
bottom: 0; |
|
105 |
left: 0; |
|
106 |
color: #535353; |
|
107 |
width: 100%; |
|
108 |
padding: 4px 6px; |
|
109 |
-moz-box-sizing: border-box; |
|
110 |
-webkit-box-sizing: border-box; |
|
111 |
box-sizing: border-box; |
|
112 |
-webkit-border-bottom-right-radius: 5px; |
|
113 |
-webkit-border-bottom-left-radius: 5px; |
|
114 |
-moz-border-radius-bottomright: 5px; |
|
115 |
-moz-border-radius-bottomleft: 5px; |
|
116 |
border-bottom-right-radius: 5px; |
|
117 |
border-bottom-left-radius: 5px; |
|
118 |
} |
|
100 |
/* @codingStandardsIgnoreLine */ |
|
101 |
#cboxWrapper { |
|
102 |
} |
|
103 |
#cboxContent { |
|
104 |
overflow: hidden; |
|
105 |
} |
|
106 |
#cboxContent, |
|
107 |
.cboxPhoto { |
|
108 |
-webkit-border-radius: 5px; |
|
109 |
-moz-border-radius: 5px; |
|
110 |
border-radius: 5px; |
|
111 |
} |
|
112 |
#cboxError { |
|
113 |
padding: 50px; |
|
114 |
border: 1px solid #ccc; |
|
115 |
} |
|
116 |
#cboxTitle { |
|
117 |
position: absolute; |
|
118 |
background: rgba(255, 255, 255, 0.7); |
|
119 |
bottom: 0; |
|
120 |
left: 0; |
|
121 |
color: #535353; |
|
122 |
width: 100%; |
|
123 |
padding: 4px 6px; |
|
124 |
-moz-box-sizing: border-box; |
|
125 |
-webkit-box-sizing: border-box; |
|
126 |
box-sizing: border-box; |
|
127 |
-webkit-border-bottom-right-radius: 5px; |
|
128 |
-webkit-border-bottom-left-radius: 5px; |
|
129 |
-moz-border-radius-bottomright: 5px; |
|
130 |
-moz-border-radius-bottomleft: 5px; |
|
131 |
border-bottom-right-radius: 5px; |
|
132 |
border-bottom-left-radius: 5px; |
|
133 |
} |
|
119 | 134 |
|
120 |
#cboxLoadingOverlay { |
|
121 |
background: #fff; |
|
122 |
} |
|
123 |
#cboxLoadingGraphic { |
|
124 |
background: url(images/loading_animation.gif) no-repeat center center; |
|
125 |
} |
|
126 |
#cboxClose.cbox-close-plain { |
|
127 |
position: absolute; |
|
128 |
font-size: 20px; |
|
129 |
line-height: 18px; |
|
130 |
text-align: center; |
|
131 |
color: rgba(255, 255, 255, 0.7); |
|
132 |
background: rgba(0, 0, 0, 0.5); |
|
133 |
top: 4px; |
|
134 |
right: 4px; |
|
135 |
width: 20px; |
|
136 |
height: 20px; |
|
137 |
-webkit-border-radius: 10px; |
|
138 |
-moz-border-radius: 10px; |
|
139 |
border-radius: 10px; |
|
140 |
} |
|
141 |
.cbox-close-plain:hover { |
|
142 |
color: rgba(255, 255, 255, 0.9); |
|
143 |
background: rgba(0, 0, 0, 0.8); |
|
144 |
} |
|
135 |
#cboxLoadingOverlay { |
|
136 |
background: #fff; |
|
137 |
} |
|
138 |
#cboxLoadingGraphic { |
|
139 |
background: url(images/loading_animation.gif) no-repeat center center; |
|
140 |
} |
|
141 |
#cboxClose.cbox-close-plain { |
|
142 |
position: absolute; |
|
143 |
font-size: 20px; |
|
144 |
line-height: 18px; |
|
145 |
text-align: center; |
|
146 |
color: rgba(255, 255, 255, 0.7); |
|
147 |
background: rgba(0, 0, 0, 0.5); |
|
148 |
top: 4px; |
|
149 |
right: 4px; |
|
150 |
width: 20px; |
|
151 |
height: 20px; |
|
152 |
-webkit-border-radius: 10px; |
|
153 |
-moz-border-radius: 10px; |
|
154 |
border-radius: 10px; |
|
155 |
} |
|
156 |
.cbox-close-plain:hover { |
|
157 |
color: rgba(255, 255, 255, 0.9); |
|
158 |
background: rgba(0, 0, 0, 0.8); |
|
159 |
} |
Formats disponibles : Unified diff
Weekly update of contrib modules