Projet

Général

Profil

Paste
Télécharger (17,6 ko) Statistiques
| Branche: | Révision:

root / drupal7 / sites / all / themes / adaptivetheme / at_core / css / at.settings.form.css @ 74f6bef0

1
/* Theme Settings CSS
2
   This is crafted to work with Seven and AT Admin themes,
3
   other admin themes could spit the dummy with these styles. */
4
.theme-settings-header {
5
  border-radius: 3px 3px 0 0;
6
}
7
.theme-settings-header h1 {
8
  margin: 0;
9
  float: left;
10
  font-size: 1.25em;
11
  text-shadow: 1px 1px 1px #fff;
12
}
13
p.docs-link {
14
  float: left;
15
  margin: 3px 10px 0;
16
  padding: 0;
17
}
18
p.docs-link a {
19
  width: 16px;
20
  height: 16px;
21
  display: block !important;
22
  text-indent: 100%;
23
  white-space: nowrap;
24
  overflow: hidden;
25
  background: url(images/help.png) no-repeat;
26
  -webkit-transition: none 0 delay;
27
  -moz-transition: none 0 delay;
28
  -o-transition: none 0 delay;
29
  -ms-transition: none 0 delay;
30
  transition: none 0 delay;
31
}
32
p.docs-link a:hover,
33
p.docs-link a:focus {
34
  background-position: 0 -16px;
35
}
36
p.logo-link {
37
  float: right;
38
  width: 65px;
39
  margin: 0;
40
  padding: 0;
41
}
42
.layout-header a {
43
  display: block;
44
}
45
.layout-header a img {
46
  width: 100%;
47
  height: auto;
48
}
49
.admin-theme-adaptivetheme_admin div.vertical-tabs {
50
}
51
div.vertical-tabs .vertical-tabs-panes {
52
  min-height: 100px;
53
}
54
.vertical-tabs-panes .form-item {
55
  clear: both;
56
}
57
.vertical-tabs-panes label {
58
  font-weight: 400;
59
  margin: 5px 0;
60
  display: inline-block;
61
}
62
.vertical-tabs-panes select {
63
  max-width: 480px; /* Mitigate huge width when page is zoomed */
64
}
65
#edit-font label {
66
  width: 10em;
67
}
68
#edit-font #edit-font-size {
69
  width: auto;
70
}
71
#edit-breadcrumb select#edit-breadcrumb-display,
72
#edit-breadcrumb input#edit-breadcrumb-separator {
73
  width: auto;
74
}
75
#edit-pagestyles fieldset p {
76
  margin-bottom: 0;
77
}
78
div.vertical-tabs .vertical-tabs-panes .form-type-checkbox label,
79
div.vertical-tabs .vertical-tabs-panes .form-type-radios label {
80
  float: none;
81
  width: auto;
82
}
83
.no-extensions-enabled,
84
div.vertical-tabs .vertical-tabs-panes fieldset fieldset {
85
  background: #ededed;
86
  border: 0;
87
  margin: 1px 0;
88
}
89
div.vertical-tabs .vertical-tabs-panes fieldset fieldset .fieldset-wrapper {
90
  padding-top: 10px;
91
}
92
div.vertical-tabs .vertical-tabs-panes fieldset fieldset .fieldset-wrapper .fieldset-description {
93
  padding-bottom: 5px;
94
}
95
fieldset.at-layout-form div.form-item  label[for*="-media-query"] {
96
  padding-bottom: 10px;
97
}
98
fieldset.at-layout-form div.form-item[class*="-media-query"] .description {
99
  padding-top: 3px;
100
}
101
.no-extensions-enabled {
102
  padding: 10px;
103
}
104

    
105
/* Hide text in form labels where needed
106
   Kellum Method: http://www.zeldman.com/2012/03/01/replacing-the-9999px-hack-new-image-replacement */
107
fieldset.at-layout-form div.form-type-radio label,
108
div.smalltouch-portrait-layout,
109
.panel-option-lists .form-radios label  {
110
  text-indent: 100%;
111
  white-space: nowrap;
112
  overflow: hidden;
113
  text-indent: -1000px\9; /* IE */
114
}
115

    
116
/* edit-disabled responsive layout disabled messages */
117
.vertical-tabs-panes fieldset fieldset[id*="edit-disabled"],
118
.vertical-tabs-panes fieldset fieldset[id*="edit-disabled"] .fieldset-wrapper {
119
  background: transparent;
120
  margin: 0;
121
  padding: 0;
122
}
123

    
124

    
125
/* Layout settings */
126
.at-layout-form div.form-item {
127
  float: left;
128
  margin-right: 25px;
129
  clear: none;
130
}
131
fieldset.at-layout-form div.form-item  label,
132
fieldset.at-layout-form div.form-type-checkbox {
133
  float: none;
134
  width: auto;
135
}
136
fieldset.at-layout-form div.form-item input {
137
  width: 8em;
138
  max-width: 120px;
139
}
140
fieldset.at-layout-form select {
141
  width: 4em;
142
  max-width: 100px;
143
}
144
fieldset.at-layout-form div.form-type-checkbox label,
145
fieldset.at-media-queries div.form-type-textfield label {
146
  font-weight: 700;
147
}
148
fieldset.at-media-queries div.form-item {
149
  margin-right: 0;
150
}
151
fieldset.at-media-queries div.form-item,
152
fieldset.at-media-queries div.form-type-textfield input {
153
  width: 90%;
154
  max-width: 480px;
155
}
156
h4 {
157
  margin-bottom: 0;
158
}
159
fieldset.at-layout-form div.form-type-radio {
160
  clear: none;
161
  float: left;
162
  margin: 0 30px 10px 0;
163
  text-align: center;
164
  width: 60px;
165
}
166
fieldset.at-layout-form div.form-type-radio input,
167
fieldset.at-layout-form div[class*="set-max-width"] input  {
168
  width: auto;
169
}
170
fieldset.at-layout-form div.form-type-radio label,
171
div.smalltouch-portrait-layout  {
172
  background-repeat: no-repeat;
173
  margin-top: 4px;
174
  height: 60px;
175
  width: 60px;
176
  display: block;
177
  float: none;
178
  text-align: center;
179
}
180
div.smalltouch-portrait-layout  {
181
  float: left;
182
  margin: 15px 15px 0 0;
183
}
184
fieldset#edit-portrait--2  .fieldset-description {
185
  overflow: hidden;
186
}
187
fieldset#edit-landscape,
188
fieldset#edit-landscape--2,
189
fieldset#edit-portrait,
190
fieldset#edit-portrait--2 {
191
  border: 0;
192
  background: none;
193
}
194
fieldset#edit-landscape > .fieldset-wrapper,
195
fieldset#edit-landscape--2 > .fieldset-wrapper,
196
fieldset#edit-portrait > .fieldset-wrapper,
197
fieldset#edit-portrait--2 > .fieldset-wrapper {
198
  padding: 0;
199
}
200
.vertical-tabs-panes #edit-media-queries  label {
201
  width: 13em;
202
}
203
#edit-media-queries .form-type-checkbox label {
204
  font-weight: 700;
205
}
206
#edit-debug p.warning {
207
  background: url(images/warning.png) no-repeat left center;
208
  padding-left: 25px;
209
}
210
.field-description-info {
211
  color: #666;
212
}
213

    
214
/* Conditional messages for sidebars */
215
fieldset[id*="message-wrapper"] {
216
  margin-bottom: 0;
217
  padding-bottom: 0;
218
}
219
fieldset[id*="message-wrapper"] .fieldset-wrapper {
220
  margin: 0 !important;
221
  padding: 0;
222
}
223
fieldset[id*="message-wrapper"] .fieldset-wrapper .description {
224
  padding-top: 4px;
225
}
226

    
227
/* AT Panels */
228
#edit-panels-wrapper,
229
#edit-panels-wrapper .fieldset-wrapper {
230
  background: transparent;
231
  padding: 10px 0;
232
}
233
 #edit-panels-wrapper fieldset {
234
  margin: 0 0 20px;
235
  padding-bottom: 0;
236
}
237
#edit-panels-wrapper fieldset fieldset {
238
  margin: 0;
239
  padding-bottom: 0;
240
}
241
#edit-panels-wrapper  fieldset.collapsed  {
242
  background: transparent;
243
  overflow: hidden;
244
  margin: 0 0 10px;
245
}
246
#edit-panels-wrapper  fieldset  fieldset.collapsed  {
247
  margin: 0;
248
}
249
#edit-rpw > .fieldset-wrapper > .fieldset-description {}
250
.panel-option-lists .fieldset-wrapper {
251
  display: table;
252
  width: 95%;
253
}
254
.panel-option-lists .fieldset-wrapper .fieldset-wrapper {
255
  padding: 0;
256
  margin-left: 2.5%;
257
}
258
.panel-option-lists .fieldset-wrapper > .form-item {
259
  display: table-row;
260
}
261
.panel-option-lists .fieldset-wrapper > .form-item > label,
262
.panel-option-lists .fieldset-wrapper > .form-item > div > div {
263
  display: table-cell;
264
  vertical-align: middle;
265
}
266
div.vertical-tabs .vertical-tabs-panes .panel-option-lists .fieldset-wrapper > .form-item > label {
267
  font-weight: 400;
268
  width: 22.5%;
269
}
270
.panel-option-lists .fieldset-wrapper legend {
271
  display: block !important; /* need to show these no matter what */
272
}
273
.panel-option-lists label {
274
}
275
.panel-option-lists .form-type-radio {
276
  clear: none;
277
  float: left;
278
  margin: 0 30px 10px 0 !important;
279
  text-align: center;
280
  width: 40px;
281
}
282
.panel-option-lists .form-radios label {
283
  background: #ddd;
284
  background-repeat: no-repeat;
285
  margin-top: 4px;
286
  height: 40px;
287
  width: 40px;
288
  display: block !important;
289
  float: none;
290
  text-align: center;
291
}
292

    
293
/* Wrangel fielset wrappers */
294
html.js .vertical-tabs-panes fieldset.collapsed div.fieldset-wrapper {
295
  overflow: hidden;
296
  display: none !important;
297
}
298

    
299
/* Fonts */
300
fieldset#edit-font .fieldset-wrapper legend {
301
  display: block;
302
  padding-top: 10px;
303
}
304
fieldset#edit-font .fieldset-wrapper .fieldset-wrapper {
305
  padding-top: 35px;
306
}
307
#edit-font > .fieldset-wrapper > fieldset.collapsed {
308
  background: transparent;
309
}
310
#edit-base-font {
311
  margin-bottom: 11px;
312
}
313

    
314
/* style select list websafe fonts */
315
.font-element-wrapper option[value$=-ssl] {font-family: Verdana, Geneva, 'DejaVu Sans', Arial, Helvetica, sans-serif;}
316
.font-element-wrapper option[value$=-a]   {font-family: Arial, Helvetica, sans-serif;}
317
.font-element-wrapper option[value$=-cc]  {font-family: Calibri, Candara, Arial, Helvetica, sans-serif;}
318
.font-element-wrapper option[value$=-m]   {font-family: 'Segoe UI', 'Myriad Pro', Myriad, Arial, Helvetica, sans-serif;}
319
.font-element-wrapper option[value$=-l]   {font-family: 'Lucida Sans Unicode', 'Lucida Sans', 'Lucida Grande', Verdana, Geneva, sans-seri;}
320
.font-element-wrapper option[value$=-i]   {font-family: Impact, Haettenschweiler, 'Franklin Gothic Bold', Charcoal, 'Helvetica Inserat', 'Bitstream Vera Sans Bold', 'Arial Black', sans-serif;}
321
.font-element-wrapper option[value$=-ss]  {font-family: Garamond, Perpetua, 'Times New Roman', serif;}
322
.font-element-wrapper option[value$=-sl]  {font-family: Georgia, Baskerville, Palatino, 'Palatino Linotype', 'Book Antiqua', 'Times New Roman', serif;}
323
.font-element-wrapper option[value$=-ms]  {font-family: Consolas, Monaco, 'Courier New', Courier, monospace, sans-serif;}
324

    
325
/* Google font new styles */
326
#edit-font fieldset[id$=-gwf-styles],
327
#edit-font fieldset[id$=-gwf-charsets],
328
#edit-font fieldset[id$=-gwf-styles] .fieldset-wrapper,
329
#edit-font fieldset[id$=-gwf-charsets] .fieldset-wrapper {
330
  overflow: hidden;
331
  padding: 0 !important;
332
  margin: 0 !important;
333
}
334
#edit-font fieldset[id$=-gwf-charsets] {
335
  margin-bottom: 20px !important;
336
}
337
#edit-font fieldset[id$=-gwf-styles] legend,
338
#edit-font fieldset[id$=-gwf-charsets] legend {
339
  display: none !important;
340
}
341
#edit-font fieldset[id$=-gwf-styles] div.form-type-checkbox,
342
#edit-font fieldset[id$=-gwf-charsets] div.form-type-checkbox {
343
  float: left;
344
  clear: none;
345
  margin: 0 15px 0 0;
346
  padding: 7px 0 0 0;
347
}
348
#system-theme-settings #edit-font div.form-type-textfield label,
349
#system-theme-settings #edit-font div.form-type-checkbox label {
350
  width: auto;
351
}
352

    
353
/* Heading styles for advanced themes */
354
.headings-styles-wrapper .form-type-radios,
355
.headings-styles-wrapper .form-type-select {
356
  min-width: 10em;
357
  float: left;
358
  clear: none;
359
  padding: 0;
360
  margin: 0;
361
}
362
.headings-styles-wrapper .form-type-select label {
363
  clip: rect(1px 1px 1px 1px);
364
  clip: rect(1px, 1px, 1px, 1px);
365
  position: absolute;
366
  overflow: hidden;
367
}
368
#edit-site-name-font-style .form-type-select label {
369
  position: static !important;
370
  clip: auto;
371
  height: auto;
372
  width: auto;
373
  overflow: auto;
374
  padding-bottom: 0.5em;
375
  display: block !important;
376
}
377
.headings-styles-wrapper .form-type-select select {
378
  min-width: 8em;
379
}
380
.headings-styles-wrapper .fieldset-description {
381
  float: left;
382
  padding: 0;
383
  width: 12em;
384
}
385
.headings-styles-wrapper .fieldset-wrapper {
386
  padding: 0 15px;
387
}
388
#edit-site-name-font-style .fieldset-description {
389
  padding-top: 2.2em;
390
}
391

    
392
/* Global settings form is ugly */
393
#edit-global-settings .fieldset-description {
394
  padding-bottom: 0;
395
}
396

    
397
/* Give some real definition to disabled selects */
398
select[disabled],
399
fieldset[disabled] select,
400
input[disabled] {
401
  background: #e7e7e7;
402
  border-color: #ccc;
403
  color: #666;
404
}
405

    
406
/* Tweaks fieldsets collapsed */
407
#edit-site-tweaks fieldset.collapsed {
408
  background: #fff;
409
  overflow: hidden;
410
}
411
#edit-site-tweaks .fieldset-wrapper legend {
412
}
413

    
414
/* Meta tags */
415
#edit-meta .form-type-textfield label {
416
  width: 18em;
417
}
418
#edit-meta .form-type-textfield input {
419
  width: 20em;
420
}
421

    
422
/* Image alignment options */
423
#edit-alignment .description {
424
  clear: both;
425
}
426
#edit-alignment .form-type-radio {
427
  clear: none;
428
  float: left;
429
  margin: 0 30px 10px 0;
430
  text-align: center;
431
  width: 50px;
432
}
433
#edit-alignment .form-type-radio input.form-radio {
434
  margin-bottom: 4px;
435
}
436
#edit-alignment .form-type-radio label {
437
  background-image: url(images/image-alignment-sprite.png);
438
  background-repeat: no-repeat;
439
  display: table-cell;
440
  font-size: 0.8em;
441
  height: 80px;
442
  margin-top: 0;
443
  text-align: center;
444
  vertical-align: bottom;
445
  width: 50px;
446
}
447
#edit-alignment .form-type-radio label[for$=-n] {background-position: 0 0;}
448
#edit-alignment .form-type-radio label[for$=-l] {background-position: -50px 0;}
449
#edit-alignment .form-type-radio label[for$=-c] {background-position: -100px 0;}
450
#edit-alignment .form-type-radio label[for$=-r] {background-position: -150px 0;}
451

    
452
/* Skip link target/ Apple touch */
453
#edit-ati .fieldset-description ul {
454
  list-style: none;
455
  padding: 0;
456
  margin: 0;
457
}
458
.form-item-skip-link-target label,
459
.form-item-apple-touch-icon-path label,
460
#edit-ati label {
461
  display: block;
462
}
463

    
464
/* Misc */
465
.field-prefix {
466
  color: #666;
467
}
468

    
469
/* Revert the decision to fix hidden fieldset legends in vertical tabs until
470
   its safe to fix this properly, we have many workarounds for this that need to be
471
   reverted and its not really safe to do that until we're well past 7.13 */
472
div.vertical-tabs fieldset.vertical-tabs-pane fieldset legend {
473
  display: none;
474
}
475
abbr.form-required,
476
span.form-required,
477
span.marker {
478
  border: 0;
479
  color: #8a1a11;
480
  font-weight: 700;
481
}
482
div.vertical-tabs {
483
  margin-top: 0;
484
}
485
html.js fieldset.collapsible fieldset .fieldset-legend {
486
    background-image: none;
487
    padding-left: 0;
488
}
489

    
490
/* Gutter width setting */
491
#edit-design .form-item-global-gutter-width label {
492
  font-weight: 400;
493
  display: inline;
494
}
495
#edit-design .form-item-global-gutter-width input {
496
  width: 3em;
497
  text-align: center;
498
}
499

    
500
/* Mobile Regions */
501
#edit-context-regions fieldset legend {
502
  display: block;
503
  position: static;
504
}
505

    
506

    
507
#edit-context-regions fieldset .fieldset-wrapper {
508
  padding: 30px 15px 15px 1px;
509
}
510

    
511
#edit-context-regions fieldset fieldset .fieldset-wrapper {
512
  padding: 0 15px 0 1px;
513
}
514

    
515
.admin-theme-adaptivetheme-admin #edit-context-regions fieldset .fieldset-wrapper {
516
  padding-left: 15px;
517
}
518
.detection {
519
  color: green;
520
}
521
.no-detection {
522
  color: red;
523
}
524

    
525
div[class*=form-item-unset-region-options],
526
div[class*=form-item-move-region-options],
527
fieldset[id*=edit-region-options] .form-type-select {
528
  border-left: 13px solid #ddd;
529
  margin: 0;
530
  padding: 0 0 0 10px;
531
}
532

    
533
fieldset[id*=edit-region-options] .form-type-select {
534
  padding: 10px 0 0 10px;
535
}
536

    
537
#edit-context-regions fieldset fieldset legend,
538
div[class*=form-item-unset-region-options] label:first-child,
539
div[class*=form-item-move-region-options] label:first-child {
540
  clip: rect(1px 1px 1px 1px);
541
  clip: rect(1px, 1px, 1px, 1px);
542
  position: absolute;
543
  overflow: hidden;
544
}
545

    
546

    
547
/* Float block regions */
548
#edit-float-region-blocks label {
549
  min-width: 15em;
550
}
551
#edit-float-region-blocks .form-type-select,
552
#edit-float-region-blocks .form-type-radios {
553
  float: left;
554
  clear: none;
555
}
556
#edit-float-region-blocks .form-type-radios * {
557
  display: inline-block;
558
  width: auto;
559
  min-width: 0;
560
}
561
#edit-float-region-blocks .form-type-radios {
562
  padding: 2px 10px 0 20px;
563
}
564
#edit-float-region-blocks .form-type-radios label {
565
  margin-right: 5px;
566
}
567
#edit-float-region-blocks .form-type-radios > label:after {
568
  content: ":";
569
}
570
#edit-float-region-blocks ol {
571
  list-style: lower-roman;
572
  margin-bottom: 20px;
573
}
574

    
575
/* Global CSS files path */
576
#edit-files-path .form-item-global-files-path {
577
  margin-bottom: 0;
578
  padding-bottom: 0;
579
}
580
#edit-files-path fieldset .fieldset-wrapper {
581
  margin: 0 0 20px;
582
}
583
#edit-files-path .form-item-global-files-path label {
584
  margin-bottom: 10px;
585
}
586
#edit-global-files-path {
587
  display: block;
588
}
589

    
590
/* Debugger media queries dl */
591
#edit-mediaqueries dl {
592
  padding: 20px 20px 0;
593
  background: #fff;
594
  border: 1px solid #ccc;
595
}
596
#edit-mediaqueries dl dt {
597
  font-weight: 700;
598
}
599
#edit-mediaqueries dl dd {
600
  margin-bottom: 20px;
601
  margin-left: 0;
602
}
603

    
604
/* Wrangel Seven to look half decent */
605
.admin-theme-seven div.vertical-tabs .font-element-wrapper .fieldset-legend,
606
.admin-theme-seven div.vertical-tabs .panel-option-lists .fieldset-legend {
607
  position: static;
608
}
609
.admin-theme-seven .panel-option-lists .form-type-radio {
610
  margin-right: 20px;
611
}
612
.admin-theme-seven div.smalltouch-portrait-layout {
613
  margin-top: 7px;
614
}
615
.admin-theme-seven div.vertical-tabs fieldset,
616
.admin-theme-seven div.vertical-tabs fieldset fieldset,
617
.admin-theme-seven div.vertical-tabs .fieldset-wrapper,
618
.admin-theme-seven div.vertical-tabs legend
619
.admin-theme-seven div.vertical-tabs .fieldset-legend {
620
  margin: 0;
621
  padding: 0;
622
}
623
.admin-theme-seven #edit-panels-wrapper > .fieldset-wrapper > fieldset {
624
  margin: 0;
625
  padding: 10px 0 0 0;
626
  overflow: hidden;
627
}
628
.admin-theme-seven #edit-panels-wrapper fieldset fieldset .fieldset-wrapper,
629
.admin-theme-seven fieldset.collapsible fieldset fieldset .fieldset-wrapper{
630
  background: #f6f6f6;
631
}
632
.admin-theme-seven #edit-panels-wrapper fieldset fieldset .fieldset-wrapper {
633
  padding-left: 20px;
634
}
635
.admin-theme-seven #edit-panels-wrapper fieldset > .fieldset-wrapper {
636
  padding-top: 0;
637
  margin-bottom: 20px;
638
}
639
.admin-theme-seven #edit-panels-wrapper fieldset > .fieldset-wrapper > fieldset {;
640
}
641
.admin-theme-seven #edit-panels-wrapper fieldset fieldset.collapsed {
642
  margin: 0;
643
  padding: 10px 0 0;
644
}
645
.admin-theme-seven fieldset .fieldset-wrapper .fieldset-wrapper {
646
  padding: 0;
647
  margin: 0 15px;
648
}
649
.admin-theme-seven fieldset#edit-font fieldset > .fieldset-wrapper  > fieldset > .fieldset-wrapper {
650
  margin: 0 15px;
651
  padding: 5px 10px 0;
652
  background: #f6f6f6;
653
}
654
.admin-theme-seven fieldset#edit-font fieldset > .fieldset-wrapper  > fieldset legend {
655
  padding: 0;
656
}
657
.admin-theme-seven fieldset#edit-font fieldset > .fieldset-wrapper  > fieldset .fieldset-legend {
658
  text-transform: none;
659
  padding: 5px 0 5px 15px;
660
}
661
.admin-theme-seven fieldset#edit-font .fieldset-wrapper legend {
662
  display: block;
663
  padding-top: 10px;
664
  position: absolute;
665
  top: 0;
666
}
667
.admin-theme-seven fieldset#edit-font fieldset.collapsed legend,
668
.admin-theme-seven fieldset#edit-font fieldset[id$=font-selector] legend,
669
.admin-theme-seven fieldset#edit-headings fieldset[id=edit-sizes] legend,
670
.admin-theme-seven fieldset#edit-headings fieldset[id=edit-menus] legend,
671
.admin-theme-seven fieldset#edit-headings fieldset[id=edit-css] legend {
672
  position: static;
673
}
674
.admin-theme-seven #edit-titles fieldset {
675
  padding: 0;
676
}
677
.admin-theme-seven #edit-titles fieldset .fieldset-description {
678
  padding: 3px 0;
679
}
680
.admin-theme-seven #edit-titles #edit-site-name-font-style .fieldset-description {
681
  padding-top: 2.2em;
682
}
683
.admin-theme-seven #edit-font fieldset[id$=-gwf-styles] .fieldset-wrapper,
684
.admin-theme-seven #edit-font fieldset[id$=-gwf-charsets] .fieldset-wrapper {
685
  padding: 0 10px 7px !important;
686
}
687
.admin-theme-seven fieldset[id*="message-wrapper"] .fieldset-wrapper .description {
688
  padding-top: 7px;
689
}
690
#edit-ati .form-item-icon-rel label {
691
  display: inline;
692
}