Projet

Général

Profil

Paste
Télécharger (8 ko) Statistiques
| Branche: | Révision:

root / drupal7 / sites / all / themes / pixture_reloaded / css / pixture_reloaded.settings.style.css @ 87dbc3bf

1
/* Styles to support the theme settings */
2

    
3
/* Left */
4
.hl-l #branding {
5
  float: left;
6
  margin: 0 20px;
7
}
8
.hl-l .region-header {
9
  float: right;
10
  margin: 0 10px;
11
}
12
.hl-l .region-header .block {
13
  display: inline;
14
  clear: none;
15
  margin-bottom: 0;
16
}
17
.hl-l #logo {
18
  padding: 0 20px 7px 3px;
19
}
20

    
21
/* Right */
22
.hl-r #branding {
23
  float: right;
24
  margin: 0 20px;
25
}
26
.hl-r .region-header {
27
  float: left;
28
  margin: 0 10px;
29
}
30
.hl-r .region-header .block {
31
  display: inline;
32
  clear: none;
33
  margin-bottom: 0;
34
}
35
.hl-r #logo {
36
  padding: 0 3px 7px 20px;
37
}
38

    
39
/* Centered */
40
.hl-c #branding {
41
  float: none;
42
  margin: auto;
43
  text-align: center;
44
}
45
.hl-c .region-header {
46
  display: table;
47
  float: none;
48
  margin: 15px auto 0;
49
  text-align: center;
50
}
51
.hl-c .region-header .block {
52
  margin: auto;
53
  display: inline;
54
  text-align: left;
55
  clear: none;
56
}
57
.hl-c .region-header .block-inner {
58
  margin: 0 20px;
59
}
60
.hl-c #logo {
61
  padding: 0 0 10px 0;
62
}
63

    
64
/* Image Alignment */
65
.ia-l .field-type-image figure,
66
.iat-l .field-type-image figure {
67
  margin: 6px 15px 5px 0;
68
}
69
.ia-l .field-type-image figcaption,
70
.iat-l .field-type-image figcaption {
71
  margin: 5px 0;
72
}
73

    
74
.ia-r .field-type-image figure,
75
.iat-r .field-type-image figure {
76
  margin: 6px 0 5px 15px;
77
}
78
.ia-r .field-type-image figcaption,
79
.iat-r .field-type-image figcaption {
80
  margin: 5px 0;
81
}
82

    
83
.ia-c .field-type-image figure,
84
.ia-n .field-type-image figure,
85
.iat-c .field-type-image figure,
86
.iat-n .field-type-image figure {
87
  border: none;
88
  padding: 10px 0;
89
}
90

    
91
.field-type-image.field-label-above {
92
  margin-top: 0;
93
}
94

    
95
.field-type-image .field-label {
96
  margin-bottom: 0.5em;
97
}
98

    
99
.field-type-image.field-label-inline .field-label {
100
  margin-bottom: 0;
101
  line-height: 1;
102
}
103

    
104
/* Override image alignment with short codes,
105
   its takes a lot to override the theme settings for image alignment */
106
body .image-left,
107
body div.image-left,
108
body div.image-left .field-type-image {
109
  float: left;
110
  margin: 4px 15px 0 0;
111
  text-align: left;
112
}
113
body .image-left img,
114
body div.image-left img,
115
body div.image-left .field-type-image img {
116
  text-align: left;
117
  margin: 0;
118
}
119
body .image-right,
120
body div.image-right,
121
body div.image-right .field-type-image {
122
  float: right;
123
  margin: 4px 0 0 15px;
124
  text-align: right;
125
}
126
body .image-right img,
127
body div.image-right img,
128
body div.image-right .field-type-image img {
129
  text-align: right;
130
  margin: 0;
131
}
132
body .image-center,
133
body .image-center img,
134
body div.image-center,
135
body div.image-center .field-type-image {
136
  text-align: center;
137
}
138
body .image-center,
139
body div.image-center,
140
body div.image-center .field-type-image img{
141
  text-align: center;
142
  margin-left: auto;
143
  margin-right: auto;
144
}
145

    
146

    
147
/* Background overlays */
148
.bb-n .texture-overlay {
149
  background-image: none;
150
}
151
.bb-h .texture-overlay {
152
  background-image: url(../images/ts/hatch.png);
153
}
154
.bb-vl .texture-overlay {
155
  background-image: url(../images/ts/line-vert.png);
156
}
157
.bb-hl .texture-overlay {
158
  background-image: url(../images/ts/line-horiz.png);
159
}
160
.bb-g .texture-overlay {
161
  background-image: url(../images/ts/grid.png);
162
}
163
.bb-d .texture-overlay {
164
  background-image: url(../images/ts/dots.png);
165
}
166
/* Box shadows */
167
.sc-n #page  {
168
  -webkit-box-shadow:0 0 0 transparent;
169
  -moz-box-shadow:0 0 0 transparent;
170
  box-shadow:0 0 0 transparent;
171
}
172
.bs-l #page {
173
  -webkit-box-shadow:0 0 10px rgba(76, 76, 76, 0.7);
174
  -moz-box-shadow:0 0 10px rgba(76, 76, 76, 0.7);
175
  box-shadow:0 0 10px rgba(76, 76, 76, 0.7);
176
}
177
.bs-d #page  {
178
  -webkit-box-shadow:0 0 10px rgba(0, 0, 0, 0.9);
179
  -moz-box-shadow:0 0 10px rgba(0, 0, 0, 0.9);
180
  box-shadow:0 0 10px rgba(0, 0, 0, 0.9);
181
}
182

    
183
/* Bullets */
184
.mb-n ul.menu {
185
  padding: 0;
186
}
187
.mb-n ul li.leaf,
188
.mb-n ul li.collapsed,
189
.mb-n ul li.expanded {
190
  list-style: none;
191
  list-style-image: none;
192
  padding: 0;
193
}
194
.mb-ah ul li.leaf,
195
.mb-ah ul li.collapsed,
196
.mb-ah ul li.expanded {
197
  list-style-image: url(../images/ts/arrow-head.png);
198
}
199
.mb-ad ul.menu {
200
  padding: 0 0 0 0.4em;
201
}
202
.mb-ad ul li.leaf,
203
.mb-ad ul li.collapsed,
204
.mb-ad ul li.expanded {
205
  list-style-image: url(../images/ts/arrow-double.png);
206
}
207
.mb-ca ul.menu {
208
  padding: 0 0 0 1.2em;
209
}
210
.mb-ca ul li.leaf,
211
.mb-ca ul li.collapsed,
212
.mb-ca ul li.expanded {
213
  list-style-image: url(../images/ts/arrow-circle.png);
214
}
215
.mb-fa ul.menu {
216
  padding: 0 0 0 1.2em;
217
}
218
.mb-fa ul li.leaf,
219
.mb-fa ul li.collapsed,
220
.mb-fa ul li.expanded {
221
  list-style-image: url(../images/ts/arrow-fat.png);
222
}
223
.mb-sa ul.menu {
224
  padding: 0 0 0 1.2em;
225
}
226
.mb-sa ul li.leaf,
227
.mb-sa ul li.collapsed,
228
.mb-sa ul li.expanded {
229
  list-style-image: url(../images/ts/arrow-skinny.png);
230
}
231

    
232
/* Rounded corners */
233
ul.primary li a,
234
div.item-list ul.pager li {
235
  -moz-border-radius: 2px;
236
  -webkit-border-radius: 2px;
237
  -khtml-border-radius: 2px;
238
  border-radius: 2px;
239
}
240

    
241
input.form-submit,
242
input.form-text,
243
.rc-4 .node-teaser,
244
.rc-4 .comment,
245
.rc-4 .block-inner {
246
  -moz-border-radius: 4px;
247
  -webkit-border-radius: 4px;
248
  -khtml-border-radius: 4px;
249
  border-radius: 4px;
250
}
251
div.admin-panel,
252
.rc-8 .node-teaser,
253
.rc-8 .comment,
254
.rc-8 .block-inner {
255
  -moz-border-radius: 8px;
256
  -webkit-border-radius: 8px;
257
  -khtml-border-radius: 8px;
258
  border-radius: 8px;
259
}
260
.rc-12 .node-teaser,
261
.rc-12 .comment,
262
.rc-12 .block-inner {
263
  -moz-border-radius: 12px;
264
  -webkit-border-radius: 12px;
265
  -khtml-border-radius: 12px;
266
  border-radius: 12px;
267
}
268
.rc-4 .block-title {
269
  -moz-border-radius: 4px 4px 0 0;
270
  -webkit-border-top-left-radius: 4px;
271
  -webkit-border-top-right-radius: 4px;
272
  -webkit-border-bottom-right-radius: 0;
273
  -webkit-border-bottom-left-radius: 0;
274
  -khtml-border-radius-topleft: 4px;
275
  -khtml-border-radius-topright: 4px;
276
  -khtml-border-radius-bottomright: 0;
277
  -khtml-border-radius-bottomleft: 0;
278
  border-radius: 4px 4px 0 0;
279
}
280
.rc-8 .block-title {
281
  -moz-border-radius: 8px 8px 0 0;
282
  -webkit-border-top-left-radius: 8px;
283
  -webkit-border-top-right-radius: 8px;
284
  -webkit-border-bottom-right-radius: 0;
285
  -webkit-border-bottom-left-radius: 0;
286
  -khtml-border-radius-topleft: 8px;
287
  -khtml-border-radius-topright: 8px;
288
  -khtml-border-radius-bottomright: 0;
289
  -khtml-border-radius-bottomleft: 0;
290
  border-radius: 8px 8px 0 0;
291
}
292
.rc-12 .block-title {
293
  -moz-border-radius: 12px 12px 0 0;
294
  -webkit-border-top-left-radius: 12px;
295
  -webkit-border-top-right-radius: 12px;
296
  -webkit-border-bottom-right-radius: 0;
297
  -webkit-border-bottom-left-radius: 0;
298
  -khtml-border-radius-topleft: 12px;
299
  -khtml-border-radius-topright: 12px;
300
  -khtml-border-radius-bottomright: 0;
301
  -khtml-border-radius-bottomleft: 0;
302
  border-radius: 12px 12px 0 0;
303
}
304
/* Date/Calendar */
305
.calendar-calendar div.date-nav {
306
  border: 0;
307
  padding: 1px;
308
}
309
.calendar-calendar td {
310
  text-align: center;
311
}
312
.calendar-calendar th.days {
313
  border: 0;
314
}
315
.calendar-calendar td.calendar-agenda-hour {
316
  border-style: solid none none;
317
}
318
.calendar-calendar td.calendar-agenda-items {
319
  border-style: solid;
320
}
321
.calendar-calendar td.calendar-agenda-hour {
322
  border-style: none none solid solid;
323
  border-width: 1px;
324
}
325
.calendar-calendar td.calendar-agenda-hour .calendar-hour {
326
  padding: 0 5px;
327
  white-space: nowrap;
328
}
329
.calendar-calendar div.calendar {
330
  font-size: 1em;
331
}
332
.calendar-calendar td .inner div.calendar div {
333
  background: #eee;
334
  border: 0;
335
  padding: 0 5px;
336
}
337
.calendar-calendar td .inner div.calendar div a {
338
  padding: 0;
339
  background: #eee;
340
  font-weight: 700;
341
  text-decoration: underline;
342
}
343
.calendar-calendar td .inner div,
344
.calendar-calendar td .inner div a {
345
  border-bottom: 1px solid #fff;
346
}
347
.view-content .calendar-calendar ul.inline {
348
  padding: 0 0 10px;
349
  display: block;
350
}
351
.view-content .calendar-calendar ul.inline li {
352
  margin-right: 2px;
353
  -moz-border-radius: 2px;
354
  -webkit-border-radius: 2px;
355
  border-radius: 2px;
356
}
357

    
358
/* Main menu position - left is default */
359
/* Center */
360
.mbp-c #menu-bar .menu-wrapper {
361
  display: table;
362
  margin: 0 auto;
363
  text-align: center;
364
}
365
.mbp-c #menu-bar .menu-wrapper ul {
366
  text-align: left;
367
}
368
/* IE6/7 */
369
.ie6-7 .mbp-c #menu-bar .menu-wrapper  ul {
370
        float: left;
371
        position: relative;
372
        left: 50%;
373
}
374
.ie6-7 .mbp-c #menu-bar .menu-wrapper  .sf-menu ul li {
375
        left: 0;
376
}
377
.ie6-7 .mbp-c #menu-bar .menu-wrapper  .sf-menu li {
378
        left: -50%;
379
}
380
/* Right */
381
.mbp-r #menu-bar .menu-wrapper {
382
  float: right;
383
}