Projet

Général

Profil

Paste
Télécharger (13,9 ko) Statistiques
| Branche: | Révision:

root / drupal7 / sites / all / themes / sky / css / sky.settings.style.css @ 98c5df5c

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: 18px 20px 0 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: 18px 0 0 20px;
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
/* Reset node from image fields */
146
form.node-form div.field-type-image {
147
  text-align: left !important;
148
}
149
form.node-form div.field-type-image {
150
  float: none !important;
151
  margin: 0 !important;
152
}
153
form.node-form div.field-type-image img {
154
  text-align: left !important;
155
  display: inline !important;
156
  margin: 0 !important;
157
}
158

    
159

    
160
/* Background overlays */
161
.bb-h {
162
  background-image: url(images/ts/hatch.png);
163
}
164
.bb-vl {
165
  background-image: url(images/ts/line-vert.png);
166
}
167
.bb-hl {
168
  background-image: url(images/ts/line-horiz.png);
169
}
170
.bb-g {
171
  background-image: url(images/ts/grid.png);
172
}
173
.bb-d {
174
  background-image: url(images/ts/dots.png);
175
}
176

    
177
/* Box shadows */
178
.sc-n #page .content-style  {
179
  -webkit-box-shadow:0 0 0 transparent;
180
  -moz-box-shadow:0 0 0 transparent;
181
  box-shadow:0 0 0 transparent;
182
}
183
.bs-l #page .content-style {
184
  -webkit-box-shadow:0 0 10px rgba(76, 76, 76, 0.7);
185
  -moz-box-shadow:0 0 10px rgba(76, 76, 76, 0.7);
186
  box-shadow:0 0 10px rgba(76, 76, 76, 0.7);
187
}
188
.bs-d #page  .content-style {
189
  -webkit-box-shadow:0 0 10px rgba(0, 0, 0, 0.9);
190
  -moz-box-shadow:0 0 10px rgba(0, 0, 0, 0.9);
191
  box-shadow:0 0 10px rgba(0, 0, 0, 0.9);
192
}
193

    
194
/* Bullets */
195
.mb-n ul.menu {
196
  padding: 0;
197
} 
198
.mb-n ul li.leaf,   
199
.mb-n ul li.collapsed,
200
.mb-n ul li.expanded {
201
  list-style: none;
202
  list-style-image: none;
203
  padding: 0;
204
}
205
.mb-ah ul.menu {
206
  padding: 0 0 0 0.5em;
207
}
208
.mb-ah ul li.leaf,   
209
.mb-ah ul li.collapsed,
210
.mb-ah ul li.expanded {
211
  list-style-image: url(images/ts/arrow-head.png);
212
}
213
.mb-ad ul.menu {
214
  padding: 0 0 0 0.6em;
215
}
216
.mb-ad ul li.leaf,   
217
.mb-ad ul li.collapsed,
218
.mb-ad ul li.expanded {
219
  list-style-image: url(images/ts/arrow-double.png);
220
}
221
.mb-ca ul.menu {
222
  padding: 0 0 0 1em;
223
} 
224
.mb-ca ul li.leaf,   
225
.mb-ca ul li.collapsed,
226
.mb-ca ul li.expanded {
227
  list-style-image: url(images/ts/arrow-circle.png);
228
}
229
.mb-fa ul.menu {
230
  padding: 0 0 0 1em;
231
} 
232
.mb-fa ul li.leaf,   
233
.mb-fa ul li.collapsed,
234
.mb-fa ul li.expanded {
235
  list-style-image: url(images/ts/arrow-fat.png);
236
}
237
.mb-sa ul.menu {
238
  padding: 0 0 0 1em;
239
} 
240
.mb-sa ul li.leaf,   
241
.mb-sa ul li.collapsed,
242
.mb-sa ul li.expanded {
243
  list-style-image: url(images/ts/arrow-skinny.png);
244
}
245
.region-top-menu ul.menu li.leaf,
246
.region-top-menu ul.menu li.collapsed,
247
.region-top-menu ul.menu li.expanded {
248
  list-style-image: none;
249
}
250

    
251
/* Rounded corners */
252
/* rc columns/footer */
253
.rc-4 #columns   {
254
  -moz-border-radius: 0 4px 4px 4px;
255
  -webkit-border-top-left-radius: 0;
256
  -webkit-border-top-right-radius: 4px;
257
  -webkit-border-bottom-right-radius: 4px;
258
  -webkit-border-bottom-left-radius: 4px;
259
  -khtml-border-radius-topleft: 0;
260
  -khtml-border-radius-topright: 4px;
261
  -khtml-border-radius-bottomright: 4px;
262
  -khtml-border-radius-bottomleft: 4px;
263
  border-radius: 0 4px 4px 4px; 
264
}
265
.rc-4 #page > footer,
266
.rc-4 .region-top-menu {
267
  -moz-border-radius: 0 0 4px 4px;
268
  -webkit-border-top-left-radius: 0;
269
  -webkit-border-top-right-radius: 0;
270
  -webkit-border-bottom-right-radius: 4px;
271
  -webkit-border-bottom-left-radius: 4px;
272
  -khtml-border-radius-topleft: 0;
273
  -khtml-border-radius-topright: 0;
274
  -khtml-border-radius-bottomright: 4px;
275
  -khtml-border-radius-bottomleft: 4px;
276
  border-radius: 0 0 4px 4px; 
277
}
278
.rc-6 #columns  {
279
  -moz-border-radius: 0 6px 6px 6px;
280
  -webkit-border-top-left-radius: 0;
281
  -webkit-border-top-right-radius: 6px;
282
  -webkit-border-bottom-right-radius: 6px;
283
  -webkit-border-bottom-left-radius: 6px;
284
  -khtml-border-radius-topleft: 0;
285
  -khtml-border-radius-topright: 6px;
286
  -khtml-border-radius-bottomright: 6px;
287
  -khtml-border-radius-bottomleft: 6px;
288
  border-radius: 0 6px 6px 6px; 
289
}
290
.rc-6 #page > footer,
291
.rc-6 .region-top-menu {
292
  -moz-border-radius: 0 0 6px 6px;
293
  -webkit-border-top-left-radius: 0;
294
  -webkit-border-top-right-radius: 0;
295
  -webkit-border-bottom-right-radius: 6px;
296
  -webkit-border-bottom-left-radius: 6px;
297
  -khtml-border-radius-topleft: 0;
298
  -khtml-border-radius-topright: 0;
299
  -khtml-border-radius-bottomright: 6px;
300
  -khtml-border-radius-bottomleft: 6px;
301
  border-radius: 0 0 6px 6px; 
302
}
303
.rc-8 #columns {
304
  -moz-border-radius: 0 8px 8px 8px;
305
  -webkit-border-top-left-radius: 0;
306
  -webkit-border-top-right-radius: 8px;
307
  -webkit-border-bottom-right-radius: 8px;
308
  -webkit-border-bottom-left-radius: 8px;
309
  -khtml-border-radius-topleft: 0;
310
  -khtml-border-radius-topright: 8px;
311
  -khtml-border-radius-bottomright: 8px;
312
  -khtml-border-radius-bottomleft: 8px;
313
  border-radius: 0 8px 8px 8px; 
314
}
315
.rc-8 #page > footer,
316
.rc-8 .region-top-menu {
317
  -moz-border-radius: 0 0 8px 8px;
318
  -webkit-border-top-left-radius: 0;
319
  -webkit-border-top-right-radius: 0;
320
  -webkit-border-bottom-right-radius: 8px;
321
  -webkit-border-bottom-left-radius: 8px;
322
  -khtml-border-radius-topleft: 0;
323
  -khtml-border-radius-topright: 0;
324
  -khtml-border-radius-bottomright: 8px;
325
  -khtml-border-radius-bottomleft: 8px;
326
  border-radius: 0 0 8px 8px; 
327
}
328
.rc-10 #columns   {
329
  -moz-border-radius: 0 10px 10px 10px;
330
  -webkit-border-top-left-radius: 0;
331
  -webkit-border-top-right-radius: 10px;
332
  -webkit-border-bottom-right-radius: 10px;
333
  -webkit-border-bottom-left-radius: 10px;
334
  -khtml-border-radius-topleft: 0;
335
  -khtml-border-radius-topright: 10px;
336
  -khtml-border-radius-bottomright: 10px;
337
  -khtml-border-radius-bottomleft: 10px;
338
  border-radius: 0 10px 10px 10px; 
339
}
340
.rc-10 #page > footer,
341
.rc-10 .region-top-menu  {
342
  -moz-border-radius: 0 0 10px 10px;
343
  -webkit-border-top-left-radius: 0;
344
  -webkit-border-top-right-radius: 0;
345
  -webkit-border-bottom-right-radius: 10px;
346
  -webkit-border-bottom-left-radius: 10px;
347
  -khtml-border-radius-topleft: 0;
348
  -khtml-border-radius-topright: 0;
349
  -khtml-border-radius-bottomright: 10px;
350
  -khtml-border-radius-bottomleft: 10px;
351
  border-radius: 0 0 10px 10px; 
352
}
353
.rc-12 #columns   {
354
  -moz-border-radius: 0 12px 12px 12px;
355
  -webkit-border-top-left-radius: 0;
356
  -webkit-border-top-right-radius: 12px;
357
  -webkit-border-bottom-right-radius: 12px;
358
  -webkit-border-bottom-left-radius: 12px;
359
  -khtml-border-radius-topleft: 0;
360
  -khtml-border-radius-topright: 12px;
361
  -khtml-border-radius-bottomright: 12px;
362
  -khtml-border-radius-bottomleft: 12px;
363
  border-radius: 0 12px 12px 12px; 
364
}
365
.rc-12 #page > footer,
366
.rc-12 .region-top-menu  {
367
  -moz-border-radius: 0 0 12px 12px;
368
  -webkit-border-top-left-radius: 0;
369
  -webkit-border-top-right-radius: 0;
370
  -webkit-border-bottom-right-radius: 12px;
371
  -webkit-border-bottom-left-radius: 12px;
372
  -khtml-border-radius-topleft: 0;
373
  -khtml-border-radius-topright: 0;
374
  -khtml-border-radius-bottomright: 12px;
375
  -khtml-border-radius-bottomleft: 12px;
376
  border-radius: 0 0 12px 12px; 
377
}
378

    
379
/* remove rc from column if footer is active */
380
.rc-4 .with-footer #columns,
381
.rc-6 .with-footer #columns,
382
.rc-8 .with-footer #columns,
383
.rc-10 .with-footer #columns,
384
.rc-12 .with-footer #columns {
385
        -moz-border-radius-bottomright: 0;
386
  -moz-border-radius-bottomleft: 0;
387
  -webkit-border-bottom-right-radius: 0;
388
  -webkit-border-bottom-left-radius: 0;
389
  -khtml-border-radius-bottomright: 0;
390
  -khtml-border-radius-bottomleft: 0;
391
  border-bottom-right-radius: 0;
392
  border-bottom-left-radius: 0;
393
}
394

    
395
/* rc forms */
396
.rct-4 input.form-button,
397
.rct-4 input.form-submit {
398
  -moz-border-radius: 4px;
399
  -webkit-border-radius: 4px;
400
  border-radius: 4px;
401
}
402
.rct-6 input.form-button,
403
.rct-6 input.form-submit {
404
  -moz-border-radius: 6px;
405
  -webkit-border-radius: 6px;
406
  border-radius: 6px;
407
}
408
.rct-8 input.form-button,
409
.rct-8 input.form-submit {
410
  -moz-border-radius: 8px;
411
  -webkit-border-radius: 8px;
412
  border-radius: 8px;
413
}
414
.rct-10 input.form-button,
415
.rct-10 input.form-submit {
416
  -moz-border-radius: 10px;
417
  -webkit-border-radius: 10px;
418
  border-radius: 10px;
419
}
420
.rct-12 input.form-button,
421
.rct-12 input.form-submit {
422
  -moz-border-radius: 12px;
423
  -webkit-border-radius: 12px;
424
  border-radius: 10px;
425
}
426

    
427
/* rc tabs */
428
.rct-6 #menu-bar .menu-toggle a,
429
.rct-4 #menu-bar .menu-wrapper > ul > li,
430
.rct-4 #menu-bar .menu-wrapper > ul > li > a,
431
.rct-4 .region-header .block-content > ul > li,
432
.rct-4 .region-header .block-content > ul > li > a {
433
  -moz-border-radius: 4px 4px 0 0;
434
  -webkit-border-top-left-radius: 4px;
435
  -webkit-border-top-right-radius: 4px;
436
  -webkit-border-bottom-right-radius: 0;
437
  -webkit-border-bottom-left-radius: 0;
438
  -khtml-border-radius-topleft: 4px;
439
  -khtml-border-radius-topright: 4px;
440
  -khtml-border-radius-bottomright: 0;
441
  -khtml-border-radius-bottomleft: 0;
442
  border-radius: 4px 4px 0 0;
443
}
444
.rct-6 #menu-bar .menu-toggle a,
445
.rct-6 #menu-bar .menu-wrapper > ul > li,
446
.rct-6 #menu-bar .menu-wrapper > ul > li > a,
447
.rct-6 .region-header .block-content > ul > li,
448
.rct-6 .region-header .block-content > ul > li > a {
449
  -moz-border-radius: 6px 6px 0 0;
450
  -webkit-border-top-left-radius: 6px;
451
  -webkit-border-top-right-radius: 6px;
452
  -webkit-border-bottom-right-radius: 0;
453
  -webkit-border-bottom-left-radius: 0;
454
  -khtml-border-radius-topleft: 6px;
455
  -khtml-border-radius-topright: 6px;
456
  -khtml-border-radius-bottomright: 0;
457
  -khtml-border-radius-bottomleft: 0;
458
  border-radius: 6px 6px 0 0;
459
}
460
.rct-6 #menu-bar .menu-toggle a,
461
.rct-8 #menu-bar .menu-wrapper > ul > li,
462
.rct-8 #menu-bar .menu-wrapper > ul > li > a,
463
.rct-8 .region-header .block-content > ul > li,
464
.rct-8 .region-header .block-content > ul > li > a {
465
  -moz-border-radius: 8px 8px 0 0;
466
  -webkit-border-top-left-radius: 8px;
467
  -webkit-border-top-right-radius: 8px;
468
  -webkit-border-bottom-right-radius: 0;
469
  -webkit-border-bottom-left-radius: 0;
470
  -khtml-border-radius-topleft: 8px;
471
  -khtml-border-radius-topright: 8px;
472
  -khtml-border-radius-bottomright: 0;
473
  -khtml-border-radius-bottomleft: 0;
474
  border-radius: 8px 8px 0 0;
475
}
476
.rct-6 #menu-bar .menu-toggle a,
477
.rct-10 #menu-bar .menu-wrapper > ul > li,
478
.rct-10 #menu-bar .menu-wrapper > ul > li > a,
479
.rct-10 .region-header .block-content > ul > li,
480
.rct-10 .region-header .block-content > ul > li > a {
481
  -moz-border-radius: 10px 10px 0 0;
482
  -webkit-border-top-left-radius: 10px;
483
  -webkit-border-top-right-radius: 10px;
484
  -webkit-border-bottom-right-radius: 0;
485
  -webkit-border-bottom-left-radius: 0;
486
  -khtml-border-radius-topleft: 10px;
487
  -khtml-border-radius-topright: 10px;
488
  -khtml-border-radius-bottomright: 0;
489
  -khtml-border-radius-bottomleft: 0;
490
  border-radius: 10px 10px 0 0;
491
}
492
.rct-6 #menu-bar .menu-toggle a,
493
.rct-12 #menu-bar .menu-wrapper > ul > li,
494
.rct-12 #menu-bar .menu-wrapper > ul > li > a,
495
.rct-12 .region-header .block-content > ul > li,
496
.rct-12 .region-header .block-content > ul > li > a {
497
  -moz-border-radius: 12px 12px 0 0;
498
  -webkit-border-top-left-radius: 12px;
499
  -webkit-border-top-right-radius: 12px;
500
  -webkit-border-bottom-right-radius: 0;
501
  -webkit-border-bottom-left-radius: 0;
502
  -khtml-border-radius-topleft: 12px;
503
  -khtml-border-radius-topright: 12px;
504
  -khtml-border-radius-bottomright: 0;
505
  -khtml-border-radius-bottomleft: 0;
506
  border-radius: 12px 12px 0 0;
507
}
508

    
509
/* Main menu position - left is default */
510

    
511
/* Center */
512
.mbp-c #menu-bar .menu-wrapper {
513
  display: table;
514
  margin: 0 auto;
515
  text-align: center;
516
}
517
.mbp-c #menu-bar .menu-wrapper ul {
518
  text-align: left;
519
}
520
.mbp-c #menu-bar .menu-wrapper li,
521
.mbp-c #menu-bar .menu-wrapper .menu li {
522
  margin-left: 0.3em;
523
  margin-right: 0.3em;
524
}
525

    
526
/* Right */
527
.mbp-r #menu-bar .menu-wrapper {
528
  float: right;
529
}
530
.mbp-r #menu-bar .menu-wrapper li,
531
.mbp-r #menu-bar .menu-wrapper .menu li {
532
  margin-left: 0.6em;
533
  margin-right: 0;
534
}
535

    
536
/* IE6/7 */
537
.ie6-7 .mbp-c #menu-bar .menu-wrapper  ul {
538
        float: left;
539
        position: relative;
540
        left: 50%;
541
}
542
.ie6-7 .mbp-c #menu-bar .menu-wrapper  .sf-menu ul li {
543
        left: 0;
544
}
545
.ie6-7 .mbp-c #menu-bar .menu-wrapper  .sf-menu li {
546
        left: -50%;
547
}