Projet

Général

Profil

Paste
Télécharger (23,5 ko) Statistiques
| Branche: | Révision:

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

1
/* Pixture Reloaded main CSS */
2

    
3
body,
4
#branding,
5
#header .h-group {
6
  padding: 0;
7
  margin: 0;
8
}
9
#columns {
10
  padding-top: 15px;
11
  clear: both;
12
}
13

    
14
/* Gutters - if gutters are set in theme settings they will override these
15
   values: see Extensions > Modify Output > Design */
16
#main-content,
17
.block-inner,
18
.pane-inner,
19
.menu-wrapper,
20
.branding-elements,
21
.breadcrumb-wrapper,
22
.attribution,
23
.at-panel .rounded-corner,
24
.block-panels-mini > .block-title,
25
div.messages {
26
  margin-left: 10px;
27
  margin-right: 10px;
28
}
29
/* Panel pages need negative margin equal to the gutter width applied to #content,
30
  this is taken care of in theme settings as per above for normal gutters */
31
#content .panel-display,
32
#content .panel-flexible {
33
  margin-left: -10px;
34
  margin-right: -10px;
35
}
36

    
37
/* Reset HTML5 elements */
38
article,
39
aside,
40
details,
41
figcaption,
42
figure,
43
footer,
44
header,
45
hgroup,
46
menu,
47
nav,
48
section {
49
  display: block;
50
}
51

    
52
/* Gpanel margins */
53
.three-3x33 {
54
  margin: 15px 0 0;
55
}
56
.four-4x25 {
57
  margin: 15px 0 10px;
58
}
59

    
60
/* Skip Navigation */
61
#skip-link {
62
  left: 50%;
63
  margin-left: -6.5em;
64
  margin-top: 0;
65
  padding: 0 0.5em;
66
  position: absolute;
67
  width: 12em;
68
  z-index: 50;
69
}
70
#skip-link a,
71
#skip-link a:link,
72
#skip-link a:visited {
73
  background: #444;
74
  background: rgba(0, 0, 0, 0.6);
75
  color: #fff;
76
  display: block;
77
  line-height: 2;
78
  padding: 0;
79
  text-align: center;
80
  text-decoration: none;
81
  -khtml-border-radius: 0 0 10px 10px;
82
  -moz-border-radius: 0 0 10px 10px;
83
  -webkit-border-top-left-radius: 0;
84
  -webkit-border-top-right-radius: 0;
85
  -webkit-border-bottom-left-radius: 10px;
86
  -webkit-border-bottom-right-radius: 10px;
87
  border-radius: 0 0 10px 10px;
88
}
89
#skip-link a:hover,
90
#skip-link a:active,
91
#skip-link a:focus {
92
  outline: 0;
93
}
94

    
95
/* HTML elements */
96
body {
97
  line-height: 1.5;
98
}
99
img {
100
  max-width: 100%;
101
  height: auto;
102
}
103
a img {
104
  border: none;
105
}
106
em,
107
dfn {
108
  font-style: italic;
109
}
110
ins {
111
  border-bottom: none;
112
  text-decoration: none;
113
}
114
pre,
115
code,
116
tt,
117
samp,
118
kbd,
119
var {
120
  font: 1em "Lucida Console", Monaco, "DejaVu Sans Mono", sans-serif; /* Safari workaround */
121
}
122
blockquote,q {
123
  font-style: italic;
124
  quotes: "" "";
125
}
126
blockquote {
127
  margin: 0 0 1.5em;
128
  padding: 0 0 0 3em;
129
}
130
blockquote:before,
131
blockquote:after,
132
q:before,
133
q:after {
134
  content: "";
135
}
136
blockquote p {
137
  margin: 0;
138
}
139
strong,
140
dfn,
141
caption,
142
th {
143
  font-weight: 700;
144
}
145

    
146
/* Lists */
147
ul,
148
ol {
149
  margin: 0 0 1.5em 30px;
150
  padding: 0;
151
}
152
ul ul,
153
ul ol,
154
ol ol,
155
ol ul,
156
.block ul ul,
157
.block ul ol,
158
.block ol ol,
159
.block ol ul,
160
.item-list ul ul,
161
.item-list ul ol,
162
.item-list ol ol,
163
.item-list ol ul {
164
  margin: 0 0 0 1em;
165
}
166
ul {
167
  list-style-type: disc;
168
}
169
ul ul ul {
170
  list-style-type: square;
171
}
172
ol {
173
  list-style-type: decimal;
174
}
175
ol ol {
176
  list-style-type: lower-alpha;
177
}
178
ol ol ol {
179
  list-style-type: lower-roman;
180
}
181
ul ul,
182
ul ul ul ul {
183
  list-style-type: circle;
184
}
185
dt {
186
  font-weight: 700;
187
}
188
dd {
189
  margin: 0 0 1.5em 30px;
190
}
191
.item-list ul,
192
.item-list ol {
193
  margin: 0 0 0 30px;
194
  padding: 0;
195
}
196
.block .menu li {
197
  margin: 0;
198
}
199
.block .menu li.content {
200
  padding: 0; /* extra class can equal a standard class, nasty... */
201
}
202
h1, h2, h3, h4, h5, h6 {
203
  margin-bottom: 0.4em;
204
}
205
h1 {
206
  font-size: 1.416em;
207
}
208
h2 {
209
  font-size: 1.25em;
210
}
211
h3 {
212
  font-size: 1.167em;
213
}
214
h4, h5, h6 {
215
  font-size: 1em;
216
}
217
p {
218
  margin-top: 0.4em;
219
  margin-bottom: 0.8em;
220
  padding: 0;
221
}
222
em {
223
  text-decoration: none;
224
  font-weight: normal;
225
}
226
fieldset legend,
227
.form-item label {
228
  font-size: 1em;
229
  font-weight: bold;
230
}
231
blockquote {
232
  margin: 4px 10px;
233
  padding: 10px 15px;
234
}
235
abbr, acronym {
236
  border-bottom: none;
237
}
238
.node .node-content,
239
.comment .comment-content {
240
  line-height: 1.5em;
241
}
242
h1#page-title {
243
  padding: 0;
244
  margin: 0 0 0.46em;
245
}
246

    
247
/**
248
 * Flexible Media and Cross browser improvements
249
 * - This can cause issues in table cells where no width is set on the column,
250
 *   only in some versions of webkit and IE 7/8.
251
 * - declaring the width attribute on image elements and using max-width causes
252
 *   the "dissappering images" bug in IE8.
253
 * - Google maps break also, see below for fixes.
254
 */
255
img {
256
  max-width: 100%;
257
  height: auto;
258
  -ms-interpolation-mode: bicubic;
259
}
260

    
261
/* /ht Ethan Marcotte - http://front.ie/l8rJaA */
262
img,
263
embed,
264
object,
265
video {
266
  max-width: 100%;
267
}
268

    
269
/* Disable flexiblity for IE8 and below */
270
.lt-ie9 img,
271
.lt-ie9 object,
272
.lt-ie9 embed,
273
.lt-ie9 video {
274
  max-width: none;
275
}
276

    
277
/* Override max-width 100% for map displays and widgets */
278
#map img,
279
.gmap img,
280
.view-gmap img,
281
.openlayers-map img,
282
#getlocations_map_canvas img,
283
#locationmap_map img,
284
.geofieldMap img,
285
.views_horizontal_slider img,
286
.field-widget-imagefield-crop-widget img {
287
  max-width: none !important;
288
}
289

    
290
/* Improve IE's resizing of images */
291
svg:not(:root) {
292
  overflow: hidden;
293
}
294

    
295
/* Corrects inline-block display not defined in IE6/7/8/9 & FF3 */
296
audio,
297
canvas,
298
video {
299
  display: inline-block;
300
  *display: inline;
301
  *zoom: 1;
302
}
303

    
304
/* Prevents modern browsers from displaying 'audio' without controls */
305
audio:not([controls]) {
306
  display: none;
307
}
308

    
309
/* Links */
310
a,
311
a.active {
312
  text-decoration: none;
313
}
314
a:hover,
315
a.active:hover,
316
a:focus,
317
a.active:focus {
318
  text-decoration: underline;
319
}
320

    
321
/* Header */
322
#header {
323
  margin: 0;
324
  padding: 0;
325
}
326
#branding {
327
  float: left;
328
  padding: 0;
329
  width: 49.5%; /* Adjust this if you have a very long site name or large logo */
330
}
331
#logo {
332
  display: block;
333
  float: left;
334
  margin: 0 10px 0 0;
335
  overflow: hidden;
336
  padding: 10px 0 0 10px;
337
}
338
#head-elements {
339
  margin: 0 0 0 15px;
340
  padding: 0;
341
}
342

    
343
/* Set heights on branding and header elements */
344
#header,
345
#branding {
346
  max-height: 88px;
347
  line-height: 1;
348
}
349
#head-elements {
350
  min-height: 88px;
351
}
352

    
353
.noggin-header #header,
354
#branding {
355
  max-height: none;
356
}
357

    
358

    
359

    
360

    
361
/* IE6 treats height like max height */
362
.ie6 #header,
363
.ie6 #branding,
364
.ie6 #head-elements {
365
  height: 88px;
366
}
367

    
368
#site-name {
369
  font-size: 2.6em;
370
  margin: 0;
371
  padding: 13px 0 0 0;
372
  overflow: hidden;
373
  line-height: 1.3em;
374
}
375
.logo-site-name a:hover,
376
.logo-site-name a:focus {
377
  text-decoration: none;
378
}
379
#site-slogan {
380
  font-size: 1em;
381
  line-height: 1em;
382
  text-align: left;
383
  margin: 0;
384
}
385
.region-header {
386
  float:right;
387
  margin:10px 0 0;
388
}
389

    
390
/* Special case blocks in the header region */
391
.region-header .block {
392
  float: left;
393
  margin: 0 auto;
394
}
395
.region-header #block-search-form,
396
.region-header #block-user-login.lb-h {
397
  padding: 0;
398
  margin: 10px 0 0 10px;
399
}
400
.region-header #block-search-form .block-inner {
401
  background: none;
402
}
403
.region-header #block-search-form input.form-text {
404
  width: 160px;
405
}
406

    
407
/* Menu-bar */
408
#menu-bar {
409
  clear: both;
410
  min-height: 2.5em;
411
  line-height: 2.5em;
412
  padding: 0;
413
  z-index: 100; /* Needed so Superfish menus appear over flash & slideshows in IE7 */
414
  position: relative;
415
}
416
#menu-bar ul {
417
  padding: 0;
418
}
419
#menu-bar ul ul {
420
  padding: 0;
421
}
422
#menu-bar ul,
423
#menu-bar ul li {
424
  margin: 0;
425
  list-style: none;
426
  list-style-image: none;
427
}
428
#menu-bar ul li {
429
  float: left;
430
  padding: 0;
431
}
432
#menu-bar ul li a {
433
  font-weight: bold;
434
  padding: 0 10px;
435
}
436
#menu-bar ul.sf-menu li a {
437
  padding: 0 15px;
438
}
439
#menu-bar ul.menu li a:hover {
440
  background: transparent;
441
}
442
#menu-bar .block,
443
#menu-bar .block-inner,
444
#menu-bar .block-inner .block-content  {
445
  background: transparent;
446
  padding: 0;
447
  margin: 0;
448
}
449
#menu-bar .block-menu {
450
  margin: 0 5px;
451
}
452
/**
453
 * Hide additional menu levels for normal menu blocks - I can't think of a better
454
 * way of handling these - you should really use http://drupal.org/project/menu_block
455
 */
456
#menu-bar .block-menu ul ul {
457
  display: none;
458
}
459

    
460
/* Articles */
461
#main-content .node {
462
  margin: 0 0 15px 0;
463
  padding: 0;
464
}
465
#main-content .node-teaser {
466
  padding: 10px;
467
}
468
.node h1.node-title {
469
  margin: 0;
470
  padding-top: 0;
471
  padding-bottom: 0;
472
}
473
.node h1.node-title a:hover {
474
  text-decoration: none;
475
}
476
.node .user-picture {
477
  border: none;
478
  float: left;
479
  margin: 3px 10px 0 0;
480
}
481
.user-picture img {
482
  max-width: 100%;
483
}
484
.node .submitted {
485
  margin-top: 3px;
486
  padding: 0;
487
}
488
.node .node-content {
489
  margin: 10px 0;
490
}
491
.node .field-type-taxonomy-term-refernce {
492
  font-size: 0.9em;
493
}
494
.node .taxonomy {
495
  margin: 0;
496
  padding: 0;
497
}
498
.node .taxonomy li {
499
  padding: 1px 5px;
500
}
501
.node nav {
502
  clear: both;
503
}
504
.node ul.links li {
505
  margin: 0 0.25em;
506
  padding: 0;
507
  float: right;
508
}
509
/* Node Teaser */
510
#content .node-teaser {
511
  margin: 0 0 15px;
512
  padding: 10px;
513
  overflow: hidden;
514
}
515
.node h2.field-label {
516
  font-size: 1em;
517
  border-bottom: none;
518
}
519
/* sticky node-teaser */
520
#content .node-teaser.node-sticky {
521
  padding: 10px;
522
  margin: 0 0 15px;
523
}
524
/* Float field-image images*/
525
article .field-type-image {
526
  margin: 1px 10px 10px 10px;
527
}
528
article .field-type-image img {
529
  background: rgba(255,255,255,0.9);
530
  display: block;
531
  margin: 4px 0 10px;
532
  padding: 7px;
533
}
534
article .field-type-image.field-label-above {
535
  margin-top: 0;
536
}
537
article .field-type-image .field-label {
538
  margin-bottom: 0.5em;
539
}
540
article .field-type-image.field-label-inline .field-label {
541
  margin-bottom: 0;
542
  line-height: 1;
543
}
544

    
545
/* Comments */
546
#comments h2 {
547
  border-bottom: none;
548
}
549
.comment {
550
  border: none;
551
  margin: 0 0 10px;
552
  padding: 10px;
553
}
554
.comment .comment-title {
555
  margin-top: 0;
556
}
557
.comment .comment-title a {
558
  font-weight: bold;
559
}
560
.comment .new {
561
  padding-right: 10px;
562
  text-align: right;
563
  font-weight: bold;
564
  font-size: 0.8em;
565
  float: right;
566
  color: red;
567
}
568
.comment .picture {
569
  border: none;
570
  float: left;
571
  margin: 15px 0 0 20px;
572
}
573
.comment .comment-id {
574
  font-size: 1.167em;
575
  font-weight: bold;
576
  padding-right: 10px;
577
}
578
.comment ul.links {
579
  float: right;
580
}
581

    
582
/* Blocks */
583
.block {
584
  margin-bottom: 10px;
585
}
586
.block-title {
587
  margin: 0;
588
  padding: 5px 10px 4px;
589
}
590
.block h3 {
591
  padding: 0 3px;
592
  font-size: 1em;
593
}
594
.block-content {
595
  padding: 10px;
596
}
597
#block-system-main .block-content {
598
  padding: 0;
599
}
600
.block .item-list ul {
601
  margin-left: 0;
602
}
603
.block .item-list ul ul,
604
.block .item-list ul ul ul {
605
  margin-left: 1em;
606
}
607
.block ul.links {
608
  margin: 0;
609
  padding: 0 0 5px;
610
}
611
.block ul.links li {
612
  font-size: .94em;
613
}
614
/* blocks showing nodes, e.g help out views blocks */
615
.block .node h2.node-title {
616
  font-size: 1.167em;
617
}
618
.block .node {
619
  padding: 5px 5px 0;
620
}
621
#block-search-form form {
622
  margin: 0;
623
}
624
#block-system-main {
625
  margin-bottom: 15px;
626
}
627

    
628
/* Fields */
629
.field .field-label {
630
  font-size: 1em;
631
  font-weight: 700;
632
  line-height: inherit;
633
  margin: 0;
634
}
635
.field-type-taxonomy-term-reference {
636
  margin: 10px 0;
637
}
638
.field-type-taxonomy-term-reference ul {
639
  margin: 0;
640
  padding: 0;
641
}
642
.field-type-taxonomy-term-reference ul li {
643
  display: inline;
644
  list-style: none;
645
  padding: 0 0.75em 0 0; /* LTR */
646
}
647
.field-lable-inline .field-label {
648
  display: inline;
649
}
650
.field-type-image figure {
651
  margin: 0 0 10px;
652
  padding: 10px;
653
}
654
.field-type-image figure img {
655
  margin: 0;
656
  padding: 0;
657
}
658
.field-type-image figcaption {
659
  font-style: italic;
660
  margin: auto;
661
  text-align: center;
662
  font-size: 0.923em;
663
  padding: 10px 0 0;
664
}
665
tabel .field-type-image img {
666
  width: 100%;
667
  height: auto;
668
}
669

    
670
/* Lists */
671
ul ul{
672
  margin-left: 15px;
673
}
674
li a,
675
li a:visited,
676
li a:active,
677
li a:hover {
678
  font-weight: normal;
679
}
680
.item-list ul {
681
}
682
.item-list ul li {
683
  margin-left: 1em;
684
}
685
.item-list .title {
686
  font-size: 1em;
687
}
688
ul.links li {
689
  margin: 0;
690
  padding: 0 2px;
691
}
692
.comment .links {
693
  margin-bottom: 0;
694
}
695
.submitted {
696
  font-size: 0.9em;
697
}
698
.links a {
699
  font-weight: normal;
700
}
701

    
702
/* Action links */
703
ul.action-links {
704
  margin: 0;
705
  padding: 0;
706
}
707

    
708
/* Aggregator */
709
#aggregator .feed-source {
710
  padding: 1em;
711
  margin: 1em 0;
712
}
713
#aggregator .news-item .categories,
714
#aggregator .source,
715
#aggregator .age {
716
  font-style: italic;
717
  font-size: 0.9em;
718
}
719
#aggregator .title {
720
  margin-bottom: 0.5em;
721
  font-size: 1em;
722
}
723
#aggregator h3 {
724
  margin-top: 1em;
725
}
726

    
727
/* Forum */
728
#forum {
729
  margin: 15px 0;
730
}
731
.block-forum h3 {
732
  margin-bottom: 0.5em;
733
}
734
div.forum-topic-navigation a.topic-next {
735
  text-align: right;
736
}
737
div.forum-topic-navigation a.topic-previous {
738
  text-align: left;
739
}
740
#forum tr td.forum  {
741
  padding-bottom: 0.6em;
742
  padding-top: 0.6em;
743
}
744
#forum tr td.forum .name {
745
  padding-left: 2em;
746
}
747

    
748
/* Profile */
749
#profile .profile {
750
  clear: both;
751
  padding: .5em;
752
  margin: 1em 0em;
753
}
754
#profile .profile .name {
755
  padding-bottom: 0.5em;
756
}
757
.block-forum h3 {
758
  margin-bottom: .5em;
759
}
760

    
761
/* Footer, Feed icon */
762
#footer {
763
  font-size: 0.92em;
764
  text-align: center;
765
  border: none;
766
}
767
#footer-inner {
768
  min-height: 88px;
769
  background-size: 100%; /* CSS3 - one day browsers will support this */
770
}
771
#footer a {
772
  text-decoration: none;
773
  font-weight: normal;
774
}
775
#footer .block {
776
  padding: 10px 0 0;
777
}
778
#footer .block-title {
779
  text-align: left;
780
  padding: 0 10px;
781
}
782
#footer .block .block-content > ul.menu {
783
  padding: 0;
784
}
785
#footer ul.menu li {
786
  list-style: none;
787
  list-style-image: none;
788
}
789
#secondary {
790
  padding: 10px 0;
791
}
792
.feed-icon {
793
  display: block;
794
  clear: both;
795
  margin: 15px 10px 5px;
796
  text-align: right;
797
}
798

    
799
/* Prevent overflowing content */
800
#content,
801
.nav,
802
#sidebar-first,
803
#sidebar-second,
804
#footer {
805
  overflow: visible;
806
  word-wrap: break-word; /* A very nice CSS3 property */
807
}
808

    
809
/* Pager */
810
ul.pager {
811
  padding: 5px 0;
812
  margin: 0;
813
}
814
div.item-list ul.pager li {
815
  padding: 3px 8px;
816
  margin: 0 2px;
817
}
818
div.item-list ul.pager li,
819
div.item-list ul.pager li a {
820
  font-weight: bold;
821
  text-decoration: none;
822
}
823

    
824
/* Admin */
825
div.messages {
826
  margin-bottom:0.5em;
827
}
828
div.admin-panel h3 a {
829
  font-size: 1.33em;
830
  color: #fff;
831
}
832
div.admin-panel {
833
  border: 0 none;
834
}
835
div.admin-panel a {
836
  font-weight: normal;
837
}
838
div.admin-panel .description {
839
  margin: 0 0 3px;
840
  padding: 2px 0 3px 10px;
841
}
842
div.admin-panel .body dl .description {
843
  margin: 0 0 3px;
844
  padding: 2px 0 3px;
845
}
846
#block-system-help {
847
  background: none;
848
  border: 0;
849
  margin: 5px 0;
850
  padding: 0;
851
}
852
#block-system-help .block-inner {
853
  padding: 0;
854
  margin: 0;
855
}
856
#block-system-help .block-content {
857
  padding: 4px 10px 8px;
858
}
859
ul.action-links li {
860
  list-style: none;
861
}
862
#palette .form-item {
863
  width: 24em;
864
}
865
.color-form label {
866
  width: 12em;
867
}
868

    
869
/* Book Navigation */
870
.box {
871
  background: #eee;
872
  padding: 5px;
873
  padding: 10px;
874
}
875
.box h2 {
876
  padding-bottom: 2px;
877
  border-bottom: solid 1px #aaa;
878
}
879
.book-navigation {
880
  padding-bottom: 5px;
881
}
882
.book-navigation ul.menu {
883
  padding-top: 5px;
884
  padding-bottom: 5px;
885
}
886
div.page-links a.page-previous,
887
div.page-links a.page-next {
888
  width: 40%;
889
}
890
div.page-links a.page-up {
891
  width: 19%;
892
}
893

    
894
/* Image Galleries (deprecated?) */
895
ul.galleries li {
896
  border: solid 1px #aaa;
897
  background: #fff;
898
}
899
ul.galleries li h3 a {
900
  font-size: 1.1em;
901
  font-weight: bold;
902
}
903
ul.images {
904
  border: solid 1px #aaa;
905
  overflow: hidden;
906
}
907
ul.images li {
908
  text-align: center;
909
}
910

    
911
/* Buttons */
912
.form-submit {
913
  margin-bottom: 1px;
914
  cursor: pointer;
915
  padding: 2px 10px;
916
  margin: 4px;
917
  color: #666;
918
  font-weight: normal;
919
  font-size: 1em;
920
  border: solid 1px #888;
921
  background: #fff url("../images/button.gif") repeat-x center;
922
}
923
.form-submit:hover {
924
  color: #000;
925
  border: solid 1px #666;
926
  background: #fff url("../images/button-o.gif") repeat-x center;
927
}
928

    
929
/* Local task tabs */
930
ul.primary {
931
  border: 0 none;
932
  margin: 0 0 15px;
933
  padding: 0;
934
}
935
ul.primary,
936
ul.primary li {
937
  white-space: normal;
938
}
939
ul.primary li a {
940
    display: block;
941
    float: left;
942
    height: 2em;
943
    line-height: 2em;
944
    margin-bottom: 5px;
945
    margin-right: 5px;
946
    padding: 0 10px;
947
    white-space: nowrap;
948
}
949
ul.primary li a.active:hover,
950
ul.primary li a.active:focus {
951
  text-decoration: none;
952
}
953
ul.secondary {
954
  border-bottom: 0;
955
  margin: 5px 0;
956
  padding: 0.5em 0;
957
}
958
ul.secondary li {
959
  border-right: 0;
960
  padding: 0 1em 0 0; /* LTR */
961
}
962

    
963
/* Breadcrumb */
964
ol#crumbs {
965
  margin: 0;
966
  padding: 12px 0 0 5px;
967
  clear: both;
968
  overflow: hidden;
969
}
970
ol#crumbs li {
971
  list-style: none;
972
  display: inline;
973
}
974

    
975
/* Menus */
976
ul.menu {
977
  margin: 0 0 0 15px;
978
  padding: 0;
979
}
980
ul.menu ul {
981
  margin-left: 15px;
982
}
983
.ie6-7 ul.menu {
984
  padding-left: 15px;
985
}
986

    
987
/* Quicktabs */
988
.block-quicktabs .block-inner {
989
  background: none !important;
990
}
991
.block-quicktabs .block-content {
992
  padding: 0;
993
}
994
.block-quicktabs .ui-tabs .ui-tabs-panel {
995
  padding: 10px;
996
}
997

    
998
/* poll */
999
.block-poll ul.links li {
1000
  list-style: none;
1001
}
1002

    
1003
/* Superfish */
1004
/* sf-horizontal - classic drop menu style */
1005
.nav .block-superfish {
1006
  padding: 0;
1007
  margin: 0;
1008
}
1009
ul.sf-menu.sf-horizontal {
1010
  padding: 0;
1011
}
1012
ul.sf-menu.sf-horizontal a {
1013
  line-height: 2.5em;
1014
  padding: 0 10px;
1015
  border-left: none;
1016
  border-top: none;
1017
}
1018
ul.sf-menu.sf-horizontal a:hover,
1019
ul.sf-menu.sf-horizontal a:focus {
1020
  text-decoration: none;
1021
}
1022
ul.sf-menu.sf-horizontal a.active,
1023
ul.sf-menu.sf-navbar a.active,
1024
ul.sf-menu.sf-vertical a.active {
1025
  font-weight: 400;
1026
}
1027
.nav ul.sf-menu.sf-horizontal li {
1028
  margin: 0;
1029
  padding: 0;
1030
}
1031
ul.sf-menu.sf-horizontal li:hover ul,
1032
ul.sf-menu.sf-horizontal li.sfHover ul {
1033
}
1034
ul.sf-menu.sf-horizontal a.sf-with-ul,
1035
ul.sf-menu.sf-navbar a.sf-with-ul {
1036
  padding-right: 25px;
1037
}
1038
#menu-bar .contextual-links-wrapper {
1039
}
1040
/* .sf-navbar - drop down nav bar style */
1041
ul.sf-menu.sf-navbar {
1042
  padding: 0;
1043
  position: absolute;
1044
  z-index: 99;
1045
}
1046
ul.sf-menu.sf-navbar a {
1047
  height: 2.5em;
1048
  padding: 0 10px;
1049
  border-left: none;
1050
  border-top: none;
1051
}
1052
ul.sf-menu.sf-navbar a:hover,
1053
ul.sf-menu.sf-navbar a:focus,
1054
ul.sf-menu.sf-navbar ul ul a:hover,
1055
ul.sf-menu.sf-navbar ul ul a:focus,
1056
ul.sf-menu.sf-navbar ul ul ul a:hover,
1057
ul.sf-menu.sf-navbar ul ul ul a:focus,
1058
ul.sf-menu.sf-navbar ul ul ul ul a:hover,
1059
ul.sf-menu.sf-navbar ul ul ul ul a:focus {
1060
  text-decoration: none;
1061
}
1062
ul.sf-menu.sf-navbar ul a:hover,
1063
ul.sf-menu.sf-navbar ul a:focus  {
1064
  text-decoration: underline;
1065
}
1066
ul.sf-menu.sf-navbar li {
1067
  margin: 0;
1068
  padding: 0;
1069
}
1070
ul.sf-menu.sf-navbar li:hover ul,
1071
ul.sf-menu.sf-navbar li.sfHover ul {
1072
  top: 2.5em;
1073
}
1074
ul.sf-menu.sf-vertical ul,
1075
ul.sf-menu.sf-navbar ul ul,
1076
ul.sf-menu.sf-navbar ul ul ul,
1077
ul.sf-menu.sf-navbar ul ul ul ul {
1078
  width: 13em;
1079
}
1080
ul.sf-menu.sf-navbar ul ul ul,
1081
ul.sf-menu.sf-navbar ul ul ul ul {
1082
  left: 100% !important;
1083
}
1084
/* sf-vertical - flyout menus for sidebars */
1085
ul.sf-menu.sf-vertical a {
1086
  color: #fff !important; /* Tweak this to suit your color scheme */
1087
}
1088
ul.sf-menu.sf-vertical,
1089
ul.sf-menu.sf-vertical ul,
1090
ul.sf-menu.sf-vertical ul ul,
1091
ul.sf-menu.sf-vertical ul ul ul {
1092
  padding: 0;
1093
  margin: 0;
1094
}
1095
.nav .block-content {
1096
  padding: 5px 0 12px;
1097
  margin: 0;
1098
}
1099
ul.sf-menu.sf-vertical,
1100
ul.sf-menu.sf-vertical li {
1101
  width: 100%;
1102
}
1103
ul.sf-menu.sf-vertical li:hover ul,
1104
ul.sf-menu.sf-vertical li.sfHover ul {
1105
  left: 100%; /* match ul width */
1106
  top: 0;
1107
}
1108
ul.sf-menu.sf-vertical a:hover,
1109
ul.sf-menu.sf-vertical a:focus {
1110
  text-decoration: none;
1111
}
1112

    
1113
/* Tables */
1114
table {
1115
  border-spacing: 0;
1116
  border-color: #eee;
1117
  margin: 1em 0;
1118
  padding: 0;
1119
  width: 100%;
1120
}
1121
table,
1122
td,
1123
th {
1124
  vertical-align: middle;
1125
}
1126
caption,
1127
th,
1128
td {
1129
  text-align: left;
1130
}
1131
thead th {
1132
  border-bottom: 1px solid #eee;
1133
  color: #494949;
1134
  font-weight: 700;
1135
}
1136
td,
1137
th {
1138
  border-bottom: none;
1139
  margin: 0;
1140
  padding: .375em .5em;
1141
}
1142
tr.even,
1143
tr.odd {
1144
  border-bottom: none;
1145
}
1146
tr.odd,
1147
tr.info {
1148
  background-color: #f5f5f5;
1149
}
1150
tr.even {
1151
  background-color: #fff;
1152
}
1153
tr.drag {
1154
  background-color: #fffff0;
1155
}
1156
tr.drag-previous {
1157
  background-color: #ffd;
1158
}
1159
tr.odd td.active {
1160
  background-color: #eee;
1161
}
1162
tr.even td.active {
1163
  background-color: #f7f7f7;
1164
}
1165
td.region,
1166
td.module,
1167
td.container td.category {
1168
  background-color: #eee;
1169
  border-bottom: 1px solid #ccc;
1170
  border-top: 1.5em solid #fff;
1171
  color: #222;
1172
  font-weight: 700;
1173
}
1174
tr:first-child td.region,
1175
tr:first-child td.module,
1176
tr:first-child td.container {
1177
  border-top-width: 0;
1178
}
1179
#forum tr td.forum {
1180
  background-position: 5px 5px;
1181
}
1182
#forum tr td.forum .name {
1183
  padding-left: .375em;
1184
}
1185
#forum div.indent {
1186
  margin-left: .5em;
1187
}
1188
#forum .description {
1189
  font-size: 0.9em;
1190
  margin: 0.5em 0 0 34px;
1191
}
1192
#system-themes-form table.sticky-table {
1193
  position: relative;
1194
  z-index: 10;
1195
}
1196
span.tabledrag-changed {
1197
  display: none;
1198
}
1199
table, tr, td, thead, tbody {
1200
  border-spacing: 0;
1201
  border-collapse: collapse;
1202
  border-width: 0;
1203
}
1204
table {
1205
  /* make <td> sizes relative to body size! */
1206
  font-size: 1em;
1207
  width: 100%;
1208
  margin: 0 0 10px 0;
1209
}
1210

    
1211
/* Forms */
1212
form {
1213
  margin: 0 0 1.5em;
1214
  padding: 0;
1215
}
1216
.form-item label {
1217
  font-weight: 400;
1218
}
1219
input {
1220
  margin: .5em 0;
1221
  max-width: 100%;
1222
}
1223
input.title {
1224
  font-size: 1.5em;
1225
}
1226
input.text,
1227
input.title,
1228
textarea,
1229
select {
1230
  border: 1px solid #ccc;
1231
  margin: .5em 0;
1232
}
1233
select {
1234
  padding: 2px;
1235
}
1236
.form-text:focus,
1237
.form-checkbox:focus,
1238
.form-radio:focus,
1239
.form-select:focus {
1240
  border: 1px solid #fc0;
1241
  background: #ffffdf;
1242
}
1243
textarea:focus {
1244
  border:1px solid #fc0;
1245
  background:#fff;
1246
}
1247
input.text,
1248
input.title {
1249
  padding: .5em;
1250
}
1251
input.form-text,
1252
textarea {
1253
  border: 1px solid #ccc;
1254
  height: auto;
1255
  padding: 2px;
1256
  max-width: 100%;
1257
}
1258
textarea,
1259
input {
1260
  font: 1em normal Arial, Helvetica, sans-serif;
1261
}
1262
div.form-item {
1263
}
1264
.form-item textarea.error {
1265
  padding: 2px;
1266
}
1267
.form-item .description,
1268
fieldset .description,
1269
.fieldset-layout-settings dd {
1270
  font-size: .9em;
1271
}
1272
span.form-required,
1273
span.marker {}
1274
#article-admin-filter ul {
1275
  padding: .5em 0;
1276
}
1277
#edit-operation-wrapper select {
1278
  margin: .5em;
1279
}
1280
div.resizable-textarea textarea {
1281
  margin-top: 0;
1282
}
1283

    
1284
/* Fieldsets */
1285
fieldset {
1286
  background: transparent;
1287
  border: 1px solid #dadada;
1288
  margin: 1.5em 0;
1289
  padding: .75em;
1290
}
1291
*:first-child+html fieldset {
1292
  background-color: transparent;
1293
  background-position: 0 .75em;
1294
  padding: 0 1em .75em;
1295
}
1296
*:first-child+html fieldset > .description,
1297
*:first-child+html fieldset .fieldset-wrapper .description {
1298
  padding-top: 1.5em;
1299
}
1300
fieldset legend {
1301
  display: block;
1302
  font-weight: 400;
1303
  padding: 0 1em 0 0;
1304
}
1305
*:first-child+html fieldset legend,
1306
*:first-child+html fieldset.collapsed legend {
1307
  display: inline;
1308
}
1309
html.js fieldset.collapsed {
1310
  background: transparent;
1311
  padding-top: .25em;
1312
}
1313

    
1314
/* Search */
1315
#search-block-form {}
1316
#search-block-form > div {}
1317
#search-block-form .container-inline{}
1318
#edit-search-block-form-1-wrapper {}
1319
#search-block-form label {}
1320
#search-block-form input {}
1321
#search-block-form .form-submit {}
1322
#search-block-form .form-text {
1323
  width: 119px; /* Adjust this to suit */
1324
}
1325

    
1326
/* Advanced search form */
1327
fieldset#edit-advanced fieldset {
1328
  float: left;
1329
  margin: 0 10px 10px 0;
1330
}
1331
fieldset#edit-advanced fieldset .fieldset-legend {
1332
  background: none;
1333
  padding-left: 1em;
1334
}
1335
.advanced-search-submit {
1336
  clear: both;
1337
}
1338
.search-advanced .criterion {
1339
  float: none;
1340
  margin: 0 5px;
1341
}
1342
#edit-keywords-fieldset .form-item:first-child {
1343
  margin-top: 0.4em;
1344
}
1345
#search-form {
1346
  margin: 1em 0;
1347
}
1348
#search-form > div {}
1349
#search-form .container-inline {}
1350
#search-form label {}
1351
#search-form input {}
1352
#search-form .form-item {}
1353
#search-form .form-submit {}
1354

    
1355
/* User login */
1356
#user-login-form ul {
1357
  margin: 0;
1358
  padding: 0;
1359
}
1360
#user-login-form li.openid-link,
1361
#user-login-form li.user-link {
1362
  text-align: center;
1363
}
1364
#user-login ul {
1365
  margin: 0 0 5px;
1366
}
1367
#user-login ul li {
1368
  margin: 0;
1369
}
1370
#user-login-form .item-list li {
1371
  list-style: none;
1372
  list-style-image: none;
1373
  margin: 0;
1374
}
1375
#user-login-form li.openid-link,
1376
#user-login li.openid-link {
1377
  background: none;
1378
}
1379
.hide-label label {
1380
  position: absolute !important;
1381
  clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
1382
  clip: rect(1px, 1px, 1px, 1px);
1383
}
1384
#user-admin-filter ul li,
1385
#article-admin-filter ul li {
1386
  list-style: none;
1387
}
1388
.description {
1389
  color: #555;
1390
}
1391
/* Tips overrides */
1392
.field-type-text-with-summary fieldset {
1393
  padding: 1em 0;
1394
}
1395
.field-type-text-with-summary fieldset .form-item {
1396
  margin: 0;
1397
}
1398
.field-type-text-with-summary fieldset .filter-help {
1399
  padding: .5em 1.5em;
1400
}
1401

    
1402
/* Fix autocomplete drop lists */
1403
#autocomplete {
1404
  background: #fff;
1405
  border: 1px solid #ccc;
1406
  line-height: 1.2;
1407
}
1408
#autocomplete li {
1409
  padding: 2px;
1410
}
1411
#autocomplete li,
1412
#autocomplete div {
1413
  float: none;
1414
  display: block;
1415
}
1416

    
1417
/* Reset textarea backgrounds in WYSIWYG module text editors */
1418
body.wysiwygeditor {
1419
  background-color: #fff;
1420
  background-image: none;
1421
}
1422

    
1423
/* Override max-width 100% for Gmaps and Getlocations modules */
1424
.gmap img,
1425
.view-gmap img,
1426
#getlocations_map_canvas img {
1427
  max-width: none;
1428
}
1429

    
1430
/* Misc styles to be categorised */
1431
.filter-help a {
1432
  padding: 0 20px 0 0;
1433
}