Projet

Général

Profil

Paste
Télécharger (2,98 ko) Statistiques
| Branche: | Révision:

root / drupal7 / sites / all / themes / corolla / css / tables.css @ 87dbc3bf

1
/* Tables */
2
table {
3
  border-spacing: 0;
4
  border-color: #eee;
5
  font-size: inherit;
6
  font: 100%;
7
  margin: 10px 0;
8
  padding: 0;
9
  width: 100%;
10
}
11
table.sticky-header {
12
  z-index: 10;
13
}
14
table,
15
td,
16
th {
17
  vertical-align:middle;
18
}
19
th,
20
thead,
21
thead th {
22
  background-color: #333;
23
  border: none;
24
  color: #fcfcf8;
25
}
26
caption,
27
th,
28
td {
29
  text-align:left;
30
}
31
td,
32
th {
33
  border-bottom: none;
34
  margin: 0;
35
  padding: 5px 7px;
36
  text-align: left;
37
  vertical-align: middle;
38
}
39
tr.even,
40
tr.odd {
41
  border-bottom: none;
42
}
43
tr.odd,
44
tr.info {
45
  background-color: #f5f5f5;
46
}
47
tr.even {
48
  background-color: #fff;
49
}
50
tr.drag {
51
  background-color: #fffff0;
52
}
53
tr.drag-previous {
54
  background-color: #ffd;
55
}
56
tr.odd td.active {
57
  background-color: #eee;
58
}
59
tr.even td.active {
60
  background-color: #f7f7f7;
61
}
62
td.region,
63
td.module,
64
td.container td.category {
65
  background-color: #eee;
66
  border-bottom: 1px solid #ccc;
67
  border-top: 20px solid #fff;
68
  color: #222;
69
  font-weight: 700;
70
}
71
tr:first-child td.region,
72
tr:first-child td.module,
73
tr:first-child td.container {
74
  border-top-width: 0;
75
}
76
#forum {
77
}
78
body.page-forum ul.action-links {
79
  margin: 9px 0;
80
}
81
#forum td.container {
82
  border-top: 1px solid #2e2e2e;
83
  border-bottom: 1px solid #2e2e2e;
84
}
85
#forum td.container .name a {
86
  font-size: 1.25em;
87
  text-transform: uppercase;
88
  line-height: 1.3;
89
  padding: 0 0 4px 0;
90
  color: inherit;
91
}
92
#forum td.container .name a:hover {
93
  color: #e25400;
94
}
95
#forum td {
96
  padding: 13px 14px;
97
  vertical-align: top;
98
}
99
#forum > table {
100
  margin-top: 0;
101
}
102
#forum tr td.forum {
103
  background: none;
104
  padding-left: 0;
105
}
106
#forum .description {
107
  line-height: 1.5;
108
  margin: 4px 0 0 0;
109
  font-size: 1em;
110
}
111
#forum div.indent {
112
  margin: 0 0 0 15px;
113
}
114
#forum td.icon .topic-status-sticky {
115
  background: url(images/forum-sticky.png) no-repeat center center;
116
  width: 30px;
117
  height: 35px;
118
}
119
#forum td.icon .topic-status-default {
120
  background: url(images/forum-default.png) no-repeat center center;
121
  width: 37px;
122
  height: 32px;
123
}
124
#forum td.icon .topic-status-closed {
125
  background: url(images/forum-closed.png) no-repeat center center;
126
  width: 30px;
127
  height: 35px;
128
}
129
#forum td.icon .topic-status-hot {
130
  background: url(images/forum-hot.png) no-repeat center center;
131
  width: 37px;
132
  height: 32px;
133
}
134
#forum td.icon .topic-status-new {
135
  background: url(images/forum-new.png) no-repeat center center;
136
  width: 42px;
137
  height: 39px;
138
}
139
#forum td.icon .topic-status-hot-new {
140
  background: url(images/forum-hot-new.png) no-repeat center center;
141
  width: 43px;
142
  height: 38px;
143
}
144
/* Table drag & drop */
145
.draggable a.tabledrag-handle {
146
  margin: 0 12px 0 0;
147
  padding: 0;
148
}
149
tr.drag {
150
  background-color: #f3fbfe;
151
}
152
tr.drag-previous {
153
  background-color: #f8fdfe;
154
}
155
span.tabledrag-changed {
156
  font-size: 13px;
157
  margin-left: 3px;
158
  color: #f00;
159
}
160
th a,
161
thead a {
162
  color: #fff!important;
163
}
164
th a:hover,
165
thead a:hover {
166
  color: #fff;
167
}
168
table img {
169
  margin: 0 0 0 7px;
170
}
171
/**
172
 * Webkit work-around. Uncomment and adjust if you have borders on td.
173
 */
174
tr td:last-child {
175
  border-right: 1px solid #eee;
176
}