Project

General

Profile

Download (1.61 KB) Statistics
| Branch: | Tag: | Revision:
1
/**
2
 * @file
3
 * Field Styling
4
 *
5
 * The Fences module allows site builders to pick the semeantic HTML5 element
6
 * for each field while editing the field's settings. There's no way a theme
7
 * can ever know which element to use for the fields on your site, so Zen
8
 * just uses lets Drupal core or Fences decide. Since you DO NOT want 3 wrapping
9
 * divs around every field (do you?), we highly recommend Fences.
10
 *
11
 * http://drupal.org/project/fences
12
 */
13

    
14
@import "base";
15

    
16

    
17
/*
18
 * Field wrappers when the Fences module is enabled.
19
 */
20

    
21
.field-label { /* The optional label for a field. */
22
}
23

    
24
.field-FIELDNAME { /* Underscores in field name are replaced with dashes. */
25
}
26

    
27

    
28
/*
29
 * If you don't use the Fences module, that's fine. Really. I think. Just use
30
 * these selectors instead:
31
 */
32

    
33
.field { /* Wrapper for any field. */
34
}
35

    
36
/*
37
 * Field types (Core)
38
 */
39

    
40
.field-type-text {
41
}
42

    
43
.field-type-text-long {
44
}
45

    
46
.field-type-text-with-summary {
47
}
48

    
49
.field-type-image {
50
}
51

    
52
.field-type-file {
53
}
54

    
55
.field-type-taxonomy-term-reference {
56
}
57

    
58
.field-type-number-integer {
59
}
60

    
61
.field-type-number-decimal {
62
}
63

    
64
.field-type-number-float {
65
}
66

    
67
.field-type-list-text {
68
}
69

    
70
.field-type-list-boolean {
71
}
72

    
73
.field-type-list-integer {
74
}
75

    
76
.field-type-list-float {
77
}
78

    
79
/*
80
 * Field types (Contrib)
81
 */
82

    
83
.field-type-datetime { /* Always use "datetime" when creating new CCK date fields. "date" and "datestamp" are legacy types. */
84
}
85

    
86
.field-type-node-reference {
87
}
88

    
89
.field-type-user-reference {
90
}
91

    
92
/*
93
 * Named fields
94
 */
95

    
96
.field-name-body {
97
}
98

    
99
.field-name-field-image {
100
}
101

    
102
.field-name-field-tags {
103
}
104

    
105
.field-name-field-FIELDNAME { /* Underscores in field name are replaced with dashes. */
106
}
(7-7/21)