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 @ 64ad485a

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-n {
162
  background-image: none;
163
}
164
.bb-h {
165
  background-image: url(images/ts/hatch.png);
166
}
167
.bb-vl {
168
  background-image: url(images/ts/line-vert.png);
169
}
170
.bb-hl {
171
  background-image: url(images/ts/line-horiz.png);
172
}
173
.bb-g {
174
  background-image: url(images/ts/grid.png);
175
}
176
.bb-d {
177
  background-image: url(images/ts/dots.png);
178
}
179

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

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

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

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

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

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

    
512
/* Main menu position - left is default */
513

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

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

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