Projet

Général

Profil

Paste
Télécharger (20,7 ko) Statistiques
| Branche: | Révision:

root / drupal7 / sites / all / themes / zen / STARTERKIT / css / components / misc.css @ a1cafe7e

1
/**
2
 * @file
3
 * SMACSS Modules
4
 *
5
 * Adds modular sets of styles.
6
 *
7
 * Additional useful selectors can be found in Zen's online documentation.
8
 * https://drupal.org/node/1707736
9
 */
10

    
11
/**
12
 * Wireframes.
13
 */
14
.with-wireframes #header,
15
.with-wireframes #main,
16
.with-wireframes #content,
17
.with-wireframes #navigation,
18
.with-wireframes .region-sidebar-first,
19
.with-wireframes .region-sidebar-second,
20
.with-wireframes #footer,
21
.with-wireframes .region-bottom {
22
  outline: 1px solid #ccc;
23
}
24
.lt-ie8 .with-wireframes #header,
25
.lt-ie8 .with-wireframes #main,
26
.lt-ie8 .with-wireframes #content,
27
.lt-ie8 .with-wireframes #navigation,
28
.lt-ie8 .with-wireframes .region-sidebar-first,
29
.lt-ie8 .with-wireframes .region-sidebar-second,
30
.lt-ie8 .with-wireframes #footer,
31
.lt-ie8 .with-wireframes .region-bottom {
32
  /* IE6/7 do not support the outline property. */
33
  border: 1px solid #ccc;
34
}
35

    
36
/**
37
 * Accessibility features.
38
 */
39

    
40
/* element-invisible as defined by http://snook.ca/archives/html_and_css/hiding-content-for-accessibility */
41
.element-invisible,
42
.element-focusable,
43
#navigation .block-menu .block__title,
44
#navigation .block-menu-block .block__title {
45
  position: absolute !important;
46
  height: 1px;
47
  width: 1px;
48
  overflow: hidden;
49
  clip: rect(1px 1px 1px 1px);
50
  clip: rect(1px, 1px, 1px, 1px);
51
}
52

    
53
/* Turns off the element-invisible effect. */
54
.element-focusable:active,
55
.element-focusable:focus {
56
  position: static !important;
57
  clip: auto;
58
  height: auto;
59
  width: auto;
60
  overflow: auto;
61
}
62

    
63
/*
64
 * The skip-link link will be completely hidden until a user tabs to the link.
65
 */
66
#skip-link {
67
  margin: 0;
68
}
69
#skip-link a,
70
#skip-link a:visited {
71
  display: block;
72
  width: 100%;
73
  padding: 2px 0 3px 0;
74
  text-align: center;
75
  background-color: #666;
76
  color: #fff;
77
}
78

    
79
/**
80
 * Branding header.
81
 */
82

    
83
/* Wrapping link for logo. */
84
.header__logo {
85
  float: left; /* LTR */
86
  margin: 0;
87
  padding: 0;
88
}
89

    
90
/* Logo image. */
91
.header__logo-image {
92
  vertical-align: bottom;
93
}
94

    
95
/* Wrapper for website name and slogan. */
96
.header__name-and-slogan {
97
  float: left;
98
}
99

    
100
/* The name of the website. */
101
.header__site-name {
102
  margin: 0;
103
  font-size: 2em;
104
  line-height: 1.5em;
105
}
106

    
107
/* The link around the name of the website. */
108
.header__site-link:link,
109
.header__site-link:visited {
110
  color: #000;
111
  text-decoration: none;
112
}
113
.header__site-link:hover,
114
.header__site-link:focus {
115
  text-decoration: underline;
116
}
117

    
118
/* The slogan (or tagline) of a website. */
119
.header__site-slogan {
120
  margin: 0;
121
}
122

    
123
/* The secondary menu (login, etc.) */
124
.header__secondary-menu {
125
  float: right; /* LTR */
126
}
127

    
128
/* Wrapper for any blocks placed in the header region. */
129
.header__region {
130
  /* Clear the logo. */
131
  clear: both;
132
}
133

    
134
/**
135
 * Navigation bar.
136
 */
137
#navigation {
138
  /* Sometimes you want to prevent overlapping with main div. */
139
  /* overflow: hidden; */
140
}
141
#navigation .block {
142
  margin-bottom: 0;
143
}
144

    
145
/* Main menu and secondary menu links and menu block links. */
146
#navigation .links,
147
#navigation .menu {
148
  margin: 0;
149
  padding: 0;
150
  text-align: left; /* LTR */
151
}
152
#navigation .links li,
153
#navigation .menu li {
154
  /* A simple method to get navigation links to appear in one line. */
155
  float: left; /* LTR */
156
  padding: 0 10px 0 0; /* LTR */
157
  list-style-type: none;
158
  list-style-image: none;
159
}
160

    
161
/**
162
 * Breadcrumb navigation.
163
 */
164
.breadcrumb ol {
165
  margin: 0;
166
  padding: 0;
167
}
168
.breadcrumb li {
169
  display: inline;
170
  list-style-type: none;
171
  margin: 0;
172
  padding: 0;
173
}
174

    
175
/**
176
 * Titles.
177
 */
178
.page__title,          /* The title of the page. */
179
.node__title,          /* Title of a piece of content when it is given in a list of content. */
180
.block__title,         /* Block title. */
181
.comments__title,      /* Comment section heading. */
182
.comments__form-title, /* Comment form heading. */
183
.comment__title {      /* Comment title. */
184
  margin: 0;
185
}
186

    
187
/**
188
 * Messages.
189
 */
190
.messages,
191
.messages--status,
192
.messages--warning,
193
.messages--error {
194
  margin: 1.5em 0;
195
  padding: 10px 10px 10px 50px; /* LTR */
196
  background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAD6UlEQVR42s2WX0xbVRzH3YwmC4k+GF/0ZS/S267/bmnX9nL7bwstZlnbjTDYyoC5GCbB0ZW5pdJCe6swbLFA6bpWIGuRMWVjKGP+21QW3SZBSAjGh4XEaTZTH82Cm/3ztS2xs7mw4KLRk3xyzj33/H6fe5Pz7zEA/yr/vUDukj9FH6drqTaqT8EoPs/UV+nX6TD1BlUh9AqLHlmgPKLcRHmoCOWmElK/FOKTYpS8UwLJkASiUyLI3pKhlClN0g46qj+qL/pbArlbrlO1q25JeiSgR2iYJ8ywXLSg/qP6LNl2ro8+Q4MMkKCd9K2t3q3KdQnkXXIF5aISkgEJzONm1F2qW52pDJN1MI2bUBIuAdVOJWSMTPNQgX6/vkjVpvpREpag6oMqWCYta1IzbsHh9ga0RJtzY8URMdRO9U/KSuWmNQUqh2pY3CtG+fvlqJyofMAFNrZAE+7e/RWR4X4cD9tgOGsA2U2CdtMDqwqyMyIzQ5KKqAKmcyaYxkzYd3YvjGNGFtXRPRj58DT+LOemRrFnrBLyITmUDmUyO/NYgu2d26ukHVJo3tXAMGpAs+cQmh0NeClan30uwN7TgnQ6nRd4r3thOGOAJqYB2UVC79AfZAnKHGUxQa8A2tNaNLW/jKvXv8Dyb8s4yryKA4O10A3roIvpUB+swTdz1/LJZ27PQBvT5lBH1RD4BChzlQ2wBNtc22aE/ULQgzRCl4P5BPcT93GMOYz9wb2QhCRgAq35d8u/L2PXe7tADVGgBlcQ+AXQtmlvsP/gzbJZvp8PMkJCFBYh8m0knyiVSsHe0YIGZz1+/uVOvt8z7QGvnwf+ST5EIRHIUyR4fh50rbp5lsDcYR4ReAXgBrng9q/Qfa0bfy035r7Ot2dvz4IX4IEIEAXwvDzscOw4zxJUd1YfEXlE4Aa4BQHMlwzSSBeI7iXvoTxWDqKPYCFsFaKmr+YVliB0JfS89DVpiuhlB9k/tSOZTuYFvq98yI7L0/MAsVWcGp0bfW61hbahwltxSeARsIKyWKesSKQSWIwvYkvvllwfx88pgOvhwthu/AzAxlVX8vz385tLbaVxwpcLZtEw0QDjsBGctzksiE4CimZFfHp++oWHbnbuUfdB0komMgHsRN1r0MWBsEmYODF5onY92/UTwcvBxuzXcN1ccHycVSn2FaPYWwzCQUDWKIt7z3utAJ5c74Hz+OLSomynY+cVfiM/xW3JiDyZpB3FuZrj4oCwE+Ad4qWMjPHjpTtL0mzMoxyZz9yM39Q7Y85Ok930icqm+k59TL2wm9l90dZv8y/8sPAigGf/iUN/Q4anM2zOsdLe+L+4VfwBVVjDs2rTYx0AAAAASUVORK5CYII=');
197
  *background-image: url('../../images/message-24-ok.png');
198
  background-position: 8px 8px; /* LTR */
199
  background-repeat: no-repeat;
200
  border: 1px solid #be7;
201
}
202
.messages--warning {
203
  background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAACuElEQVRIiWP4//8/Ay0xSYqntTpnT252zqeJBf0Njhsykrz/pyd6/e9vcNpGVQv6q2wlm0qc/r0+IPD/3UG+/61l9v9mdrjIUc2C7hqHUzc3S///eZwBjO9tF/vfWe1wjioWTKixVm8otPn38wQT3IKfxxn/t5Va/utpsNSg2ILWcttrNzdJgQ3+dpQRjEHs+9tE/zeXWt+gyILOamuTqlxrsOtPLub+7+emBsSq/88v5wL7oqHQ9H9nmbkF2RbUF1rev7lJEuziuU3i/90ddcB4UZsoJC62ifyvK7R4QJYFrcUGrmUZ5v9hYb9hosh/bzcDMN42VRgeF9W5hv8bi/XdSbagKtfs2c1NEvCIPbaQ/7+/pwkYn17Ki0hR24T/l2eZPCfJgsZ83dCiNOP/yCnn7iau/8G+5mD8aBsHSoqqyNL9X5erHUm0BcVpRm9ubhZHMoTh/4eDzP/DA23+RwTZ/P96hAlF7t5Wof8FyfpvibKgNk8noyDZ4D9quofg1Bjr/1kJlhjiIF+Upmn/r83RzCJoQXaC3qcbm8SwGMLwvybP/H8jMGlik7u7VeB/Zqz2J7wWVGdr1uTG62J1PQgfWST1/+hiCaxyIF8UJqv9r8hQrcVpQVqkzrcbG0WwGvB2H/P/lnx5MAaxsam5vYn3f2KY+jesFpSlqfZnxWjidP2OGWL/g/0swBjExu4Lhv958Ur/i5KU+lEsCA1lYI4JUv95bZ0gTo2Pt3P+z0myBmMQG5e6mxu4/kf4Kf8EmQm3oCRNebKrvSawIGPBqRG9sMOp5hjjfwdrlf/58bKT4RaUpWvtcLZV/39iscD/H0AFP46jYwYiMeP/44u4/9tbKQODSXUH3II9G7v18hI0n8YGKv+IDVT6joxj/BVx4mgcOCde/SnITPRUJAHEGlTCEkQV19TAAN8FC67hZdFXAAAAAElFTkSuQmCC');
204
  *background-image: url('../../images/message-24-warning.png');
205
  border-color: #ed5;
206
}
207
.messages--error {
208
  background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAACpElEQVR42rWWTUgbQRiGQ0Tx4MWDeFM8eBA9iKAoggiCoCiiIiL4L3oQV1CJB0UEf6iRYFpK7UniTw9VSqL2kvQsVDBpSZrtRo35czVNW3oprRf17exSl4yzu1ikAy9h59vvedhkMrMGAGoxknAk2w8MJ/WosXThiZkZt9jdLeglPjn5ATc3mhJNuNjbK0QbG3ExMICL/n6IfX0gcxB7ekDAELu6IHZ2IlJbi1hLS1BLogmPtbUhMTv7oMSamzUlqnByMxLT0/8STQkDj9TV4ZLj5OysrODl8jIu5Gs68dFR7JG6dWkJ0fFx+TpSX89IDMnwcHU1yKec12Yz3rlc4HkeLwjkXJpPip3U3+7vIx6P4ymph4eG5PlwTQ0lMdytlmBxMWKtrXLeT0zA5XTibvj9fjxfXETkb/3N/Dz2dneVuiTZtliU/rPSUsQ5ziuxZYG03IIlJdKKUPJjdRUAKMmzuTnskB/VYbdTtd9HR4g2NCi9Z2VliDY1BSnBaUEBzsrLqXyzWCiQ9HU5HA4afniIUFWV0hOqqMBpURErOM7NxWlhIZOvCwvA7S3Uxq+DA5AnZ3pO8vJYQSArC8c5Oeqx2Rj4udeLQH6+6v2B7GxW8DkjA0JmJpONwUHY7XZGIAgCzCYTeJUewmIFfqMRfEoKlQ2yJbza2oLWcLvdeDI2hk/3+iQWKzAYkJzNjg5srq9TwJ9OJ76YTNScx+ORJT66X1/grKyEbW2NgfPp6XKd/JMZySrHaQsSU1Oe+0/w3WpVgyu5HBlR6lc+H8gioevDwz6JrWwV5+3txyoSFk5DcOX1MnCyJ4Vwfb1zt1UY9SR8aioDpuppaVpwZbPTl+hHF04dOKzk8XBF8DgJC3/woU/W/EciOtELOWi8DDwp//215Q+p7kiKh2lQSAAAAABJRU5ErkJggg==');
209
  *background-image: url('../../images/message-24-error.png');
210
  border-color: #ed541d;
211
}
212
.messages__list {
213
  margin: 0;
214
}
215
.messages__item {
216
  list-style-image: none;
217
}
218

    
219
/* Core/module installation error messages. */
220
.messages--error p.error {
221
  color: #333;
222
}
223

    
224
/* System status report. */
225
.ok,
226
.messages--status {
227
  background-color: #f8fff0;
228
  color: #234600;
229
}
230
.warning,
231
.messages--warning {
232
  background-color: #fffce5;
233
  color: #840;
234
}
235
.error,
236
.messages--error {
237
  background-color: #fef5f1;
238
  color: #8c2e0b;
239
}
240

    
241
/**
242
 * Tabs.
243
 */
244

    
245
/* Basic positioning styles shared by primary and secondary tabs. */
246
.tabs-primary,
247
.tabs-secondary {
248
  overflow: hidden;
249
  *zoom: 1;
250
  background-image: -webkit-gradient(linear, 50% 100%, 50% 0%, color-stop(100%, #bbbbbb), color-stop(100%, transparent));
251
  background-image: -webkit-linear-gradient(bottom, #bbbbbb 1px, transparent 1px);
252
  background-image: -moz-linear-gradient(bottom, #bbbbbb 1px, transparent 1px);
253
  background-image: -o-linear-gradient(bottom, #bbbbbb 1px, transparent 1px);
254
  background-image: linear-gradient(bottom, #bbbbbb 1px, transparent 1px);
255
  /* IE 9 and earlier don't understand gradients. */
256
  list-style: none;
257
  border-bottom: 1px solid #bbbbbb \0/ie;
258
  margin: 1.5em 0;
259
  padding: 0 2px;
260
  white-space: nowrap;
261
}
262
.tabs-primary__tab,
263
.tabs-primary__tab.is-active,
264
.tabs-secondary__tab,
265
.tabs-secondary__tab.is-active {
266
  float: left; /* LTR */
267
  margin: 0 3px;
268
}
269
a.tabs-primary__tab-link,
270
a.tabs-primary__tab-link.is-active,
271
a.tabs-secondary__tab-link,
272
a.tabs-secondary__tab-link.is-active {
273
  border: 1px solid #e9e9e9;
274
  border-right: 0;
275
  border-bottom: 0;
276
  display: block;
277
  line-height: 1.5em;
278
  text-decoration: none;
279
}
280

    
281
/* Primary tabs. */
282
.tabs-primary__tab,
283
.tabs-primary__tab.is-active {
284
  -moz-border-radius-topleft: 4px;
285
  -webkit-border-top-left-radius: 4px;
286
  border-top-left-radius: 4px;
287
  -moz-border-radius-topright: 4px;
288
  -webkit-border-top-right-radius: 4px;
289
  border-top-right-radius: 4px;
290
  text-shadow: 1px 1px 0 white;
291
  border: 1px solid #bbbbbb;
292
  border-bottom-color: transparent;
293
  /* IE 9 and earlier don't understand gradients. */
294
  border-bottom: 0 \0/ie;
295
}
296
.is-active.tabs-primary__tab {
297
  border-bottom-color: white;
298
}
299
a.tabs-primary__tab-link,
300
a.tabs-primary__tab-link.is-active {
301
  -moz-border-radius-topleft: 4px;
302
  -webkit-border-top-left-radius: 4px;
303
  border-top-left-radius: 4px;
304
  -moz-border-radius-topright: 4px;
305
  -webkit-border-top-right-radius: 4px;
306
  border-top-right-radius: 4px;
307
  -webkit-transition: background-color 0.3s;
308
  -moz-transition: background-color 0.3s;
309
  -o-transition: background-color 0.3s;
310
  transition: background-color 0.3s;
311
  color: #333;
312
  background-color: #dedede;
313
  letter-spacing: 1px;
314
  padding: 0 1em;
315
  text-align: center;
316
}
317
a.tabs-primary__tab-link:hover,
318
a.tabs-primary__tab-link:focus {
319
  background-color: #e9e9e9;
320
  border-color: #f2f2f2;
321
}
322
a.tabs-primary__tab-link:active,
323
a.tabs-primary__tab-link.is-active {
324
  background-color: transparent;
325
  *zoom: 1;
326
  filter: progid:DXImageTransform.Microsoft.gradient(gradientType=0, startColorstr='#FFE9E9E9', endColorstr='#00E9E9E9');
327
  background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #e9e9e9), color-stop(100%, rgba(233, 233, 233, 0)));
328
  background-image: -webkit-linear-gradient(#e9e9e9, rgba(233, 233, 233, 0));
329
  background-image: -moz-linear-gradient(#e9e9e9, rgba(233, 233, 233, 0));
330
  background-image: -o-linear-gradient(#e9e9e9, rgba(233, 233, 233, 0));
331
  background-image: linear-gradient(#e9e9e9, rgba(233, 233, 233, 0));
332
  border-color: #fff;
333
}
334

    
335
/* Secondary tabs. */
336
.tabs-secondary {
337
  font-size: .9em;
338
  /* Collapse bottom margin of ul.primary. */
339
  margin-top: -1.5em;
340
}
341
.tabs-secondary__tab,
342
.tabs-secondary__tab.is-active {
343
  margin: 0.75em 3px;
344
}
345
a.tabs-secondary__tab-link,
346
a.tabs-secondary__tab-link.is-active {
347
  -webkit-border-radius: 0.75em;
348
  -moz-border-radius: 0.75em;
349
  -ms-border-radius: 0.75em;
350
  -o-border-radius: 0.75em;
351
  border-radius: 0.75em;
352
  -webkit-transition: background-color 0.3s;
353
  -moz-transition: background-color 0.3s;
354
  -o-transition: background-color 0.3s;
355
  transition: background-color 0.3s;
356
  text-shadow: 1px 1px 0 white;
357
  background-color: #f2f2f2;
358
  color: #666;
359
  padding: 0 .5em;
360
}
361
a.tabs-secondary__tab-link:hover,
362
a.tabs-secondary__tab-link:focus {
363
  background-color: #dedede;
364
  border-color: #999;
365
  color: #333;
366
}
367
a.tabs-secondary__tab-link:active,
368
a.tabs-secondary__tab-link.is-active {
369
  text-shadow: 1px 1px 0 #333333;
370
  background-color: #666;
371
  border-color: #000;
372
  color: #fff;
373
}
374

    
375
/**
376
 * Inline styles.
377
 */
378

    
379
/* List of links generated by theme_links(). */
380
.inline {
381
  display: inline;
382
  padding: 0;
383
}
384
.inline li {
385
  display: inline;
386
  list-style-type: none;
387
  padding: 0 1em 0 0; /* LTR */
388
}
389

    
390
/* The inline field label used by the Fences module. */
391
span.field-label {
392
  padding: 0 1em 0 0; /* LTR */
393
}
394

    
395
/**
396
 * "More" links.
397
 */
398
.more-link {
399
  text-align: right; /* LTR */
400
}
401
.more-help-link {
402
  text-align: right; /* LTR */
403
}
404
.more-help-link a {
405
  background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAA7UlEQVR42qWTPQqDQBCFcwSPkCNITpAj5AjeIm1uYpkyR7Cy2Mot7OwsBAsRwUKwmOwLGRle3EIy8PyBfZ/z3J2TiPylz8VWWZZpUB40BonRKyizaxkA88MYYiqCEgv4MTvnZJom0VqWRbz3FlJZgLYtqmEY1Lg9r+sKsIXcLSC3AC019H0vqLquLeC5AfiHYSGkcdAJimKIBQiJ4+CO92OAtm0FNc8zOjkMwE5Q63FAtbeg6zpAYvG8BWR7i5qmQYwY4MIHqYhE2DOPQWcGJBQF2XU72ZzyUeZ5GCNt5/hybJgYdAXsq5sOEE/jG6dC5IOqCXTmAAAAAElFTkSuQmCC');
406
  *background-image: url('../../images/help.png');
407
  background-position: 0 50%; /* LTR */
408
  background-repeat: no-repeat;
409
  padding: 1px 0 1px 20px; /* LTR */
410
}
411

    
412
/**
413
 * Pager.
414
 */
415

    
416
/* A list of page numbers when more than 1 page of content is available. */
417
.pager {
418
  clear: both;
419
  padding: 0;
420
  text-align: center;
421
}
422

    
423
.pager-item,     /* A list item containing a page number in the list of pages. */
424
.pager-first,    /* The first page's list item. */
425
.pager-previous, /* The previous page's list item. */
426
.pager-next,     /* The next page's list item. */
427
.pager-last,     /* The last page's list item. */
428
.pager-ellipsis, /* A concatenation of several list items using an ellipsis. */
429
.pager-current { /* The current page's list item. */
430
  display: inline;
431
  padding: 0 0.5em;
432
  list-style-type: none;
433
  background-image: none;
434
}
435
.pager-current {
436
  font-weight: bold;
437
}
438

    
439
/**
440
 * Blocks.
441
 */
442

    
443
/* Block wrapper. */
444
.block {
445
  margin-bottom: 1.5em;
446
}
447

    
448
/**
449
 * Menus.
450
 */
451
.menu__item.is-leaf {
452
  list-style-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHBAMAAAA2fErgAAAAD1BMVEX///+/v7+Li4sAAADAwMBFvsw8AAAAAXRSTlMAQObYZgAAAB1JREFUCFtjYAADYwMGBmYVZSDhKAwkFJWhYiAAAB2+Aa/9ugeaAAAAAElFTkSuQmCC');
453
  *list-style-image: url('../../images/menu-leaf.png');
454
  list-style-type: square;
455
}
456
.menu__item.is-expanded {
457
  list-style-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHAQMAAAD+nMWQAAAABlBMVEX///8AAABVwtN+AAAAAXRSTlMAQObYZgAAABJJREFUeJxj+MdQw2DBIMAABgAUsAHD3c3BpwAAAABJRU5ErkJggg==');
458
  *list-style-image: url('../../images/menu-expanded.png');
459
  list-style-type: circle;
460
}
461
.menu__item.is-collapsed {
462
  list-style-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHAQMAAAD+nMWQAAAABlBMVEX///8AAABVwtN+AAAAAXRSTlMAQObYZgAAABFJREFUCB1jVmCGQClmEWYOAAZ8AMy3HPLXAAAAAElFTkSuQmCC'); /* LTR */
463
  *list-style-image: url('../../images/menu-collapsed.png'); /* LTR */
464
  list-style-type: disc;
465
}
466

    
467
/* The active item in a Drupal menu. */
468
.menu a.active {
469
  color: #000;
470
}
471

    
472
/**
473
 * Marker.
474
 */
475

    
476
/* The "new" or "updated" marker. */
477
.new,
478
.update {
479
  color: #c00;
480
  /* Remove background highlighting from <mark> in normalize. */
481
  background-color: transparent;
482
}
483

    
484
/**
485
 * Unpublished note.
486
 */
487

    
488
/* The word "Unpublished" displayed underneath the content. */
489
.unpublished {
490
  height: 0;
491
  overflow: visible;
492
  /* Remove background highlighting from <mark> in normalize. */
493
  background-color: transparent;
494
  color: #d8d8d8;
495
  font-size: 75px;
496
  line-height: 1;
497
  font-family: Impact, "Arial Narrow", Helvetica, sans-serif;
498
  font-weight: bold;
499
  text-transform: uppercase;
500
  text-align: center;
501
  /* A very nice CSS3 property. */
502
  word-wrap: break-word;
503
}
504
.lt-ie8 .node-unpublished > *,
505
.lt-ie8 .comment-unpublished > * {
506
  /* Otherwise these elements will appear below the "Unpublished" text. */
507
  position: relative;
508
}
509

    
510
/**
511
 * Comments.
512
 */
513

    
514
/* Wrapper for the list of comments and its title. */
515
.comments {
516
  margin: 1.5em 0;
517
}
518

    
519
/* Preview of the comment before submitting new or updated comment. */
520
.comment-preview {
521
  /* Drupal core will use a #ffffea background. See #1110842. */
522
  background-color: #ffffea;
523
}
524

    
525
/* Wrapper for a single comment. */
526
.comment {
527
  /* Comment's permalink wrapper. */
528
}
529
.comment .permalink {
530
  text-transform: uppercase;
531
  font-size: 75%;
532
}
533

    
534
/* Nested comments are indented. */
535
.indented {
536
  /* Drupal core uses a 25px left margin. */
537
  margin-left: 30px; /* LTR */
538
}
539

    
540
/**
541
 * Forms.
542
 */
543

    
544
/* Wrapper for a form element (or group of form elements) and its label. */
545
.form-item {
546
  margin: 1.5em 0;
547
}
548

    
549
/* Pack groups of checkboxes and radio buttons closer together. */
550
.form-checkboxes .form-item,
551
.form-radios .form-item {
552
  /* Drupal core uses "0.4em 0". */
553
  margin: 0;
554
}
555

    
556
/* Form items in a table. */
557
tr.odd .form-item,
558
tr.even .form-item {
559
  margin: 0;
560
}
561

    
562
/* Highlight the form elements that caused a form submission error. */
563
.form-item input.error,
564
.form-item textarea.error,
565
.form-item select.error {
566
  border: 1px solid #c00;
567
}
568

    
569
/* The descriptive help text (separate from the label). */
570
.form-item .description {
571
  font-size: 0.85em;
572
}
573
.form-type-radio .description,
574
.form-type-checkbox .description {
575
  margin-left: 2.4em;
576
}
577

    
578
/* The part of the label that indicates a required field. */
579
.form-required {
580
  color: #c00;
581
}
582

    
583
/* Labels for radios and checkboxes. */
584
label.option {
585
  display: inline;
586
  font-weight: normal;
587
}
588

    
589
/* Buttons used by contrib modules like Media. */
590
a.button {
591
  -webkit-appearance: button;
592
  -moz-appearance: button;
593
  appearance: button;
594
}
595

    
596
/* Password confirmation. */
597
.password-parent,
598
.confirm-parent {
599
  margin: 0;
600
}
601

    
602
/* Drupal's default login form block. */
603
#user-login-form {
604
  text-align: left; /* LTR */
605
}
606

    
607
/**
608
 * OpenID
609
 *
610
 * The default styling for the OpenID login link seems to assume Garland's
611
 * styling of list items.
612
 */
613

    
614
/* OpenID creates a new ul above the login form's links. */
615
.openid-links {
616
  /* Position OpenID's ul next to the rest of the links. */
617
  margin-bottom: 0;
618
}
619

    
620
/* The "Log in using OpenID" and "Cancel OpenID login" links. */
621
.openid-link,
622
.user-link {
623
  margin-top: 1.5em;
624
}
625
html.js #user-login-form li.openid-link,
626
#user-login-form li.openid-link {
627
  /* Un-do some of the padding on the ul list. */
628
  margin-left: -20px; /* LTR */
629
}
630
#user-login ul {
631
  margin: 1.5em 0;
632
}
633

    
634
/**
635
 * Drupal admin tables.
636
 */
637
form th {
638
  text-align: left; /* LTR */
639
  padding-right: 1em; /* LTR */
640
  border-bottom: 3px solid #ccc;
641
}
642
form tbody {
643
  border-top: 1px solid #ccc;
644
}
645
form table ul {
646
  margin: 0;
647
}
648
tr.even,
649
tr.odd {
650
  background-color: #eee;
651
  border-bottom: 1px solid #ccc;
652
  padding: 0.1em 0.6em;
653
}
654
tr.even {
655
  background-color: #fff;
656
}
657
.lt-ie8 tr.even th,
658
.lt-ie8 tr.even td,
659
.lt-ie8 tr.odd th,
660
.lt-ie8 tr.odd td {
661
  /* IE doesn't display borders on table rows. */
662
  border-bottom: 1px solid #ccc;
663
}
664

    
665
/* Markup generated by theme_tablesort_indicator(). */
666
td.active {
667
  background-color: #ddd;
668
}
669

    
670
/* Center checkboxes inside table cell. */
671
td.checkbox,
672
th.checkbox {
673
  text-align: center;
674
}
675

    
676
/* Drupal core wrongly puts this in system.menus.css. Since we override that, add it back. */
677
td.menu-disabled {
678
  background: #ccc;
679
}
680

    
681
/**
682
 * Autocomplete.
683
 *
684
 * @see autocomplete.js
685
 */
686

    
687
/* Suggestion list. */
688
#autocomplete .selected {
689
  background: #0072b9;
690
  color: #fff;
691
}
692

    
693
/**
694
 * Collapsible fieldsets.
695
 *
696
 * @see collapse.js
697
 */
698
html.js .collapsible .fieldset-legend {
699
  background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHAQMAAAD+nMWQAAAABlBMVEX///8AAABVwtN+AAAAAXRSTlMAQObYZgAAABJJREFUeJxj+MdQw2DBIMAABgAUsAHD3c3BpwAAAABJRU5ErkJggg==');
700
  *background-image: url('../../images/menu-expanded.png');
701
  background-position: 5px 65%; /* LTR */
702
  background-repeat: no-repeat;
703
  padding-left: 15px; /* LTR */
704
}
705
html.js .collapsed .fieldset-legend {
706
  background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHAQMAAAD+nMWQAAAABlBMVEX///8AAABVwtN+AAAAAXRSTlMAQObYZgAAABFJREFUCB1jVmCGQClmEWYOAAZ8AMy3HPLXAAAAAElFTkSuQmCC'); /* LTR */
707
  *background-image: url('../../images/menu-collapsed.png'); /* LTR */
708
  background-position: 5px 50%; /* LTR */
709
}
710
.fieldset-legend .summary {
711
  color: #999;
712
  font-size: 0.9em;
713
  margin-left: 0.5em;
714
}
715

    
716
/**
717
 * TableDrag behavior.
718
 *
719
 * @see tabledrag.js
720
 */
721
tr.drag {
722
  background-color: #fffff0;
723
}
724
tr.drag-previous {
725
  background-color: #ffd;
726
}
727
.tabledrag-toggle-weight {
728
  font-size: 0.9em;
729
}
730

    
731
/**
732
 * TableSelect behavior.
733
 *
734
 * @see tableselect.js
735
 */
736
tr.selected td {
737
  background: #ffc;
738
}
739

    
740
/**
741
 * Progress bar.
742
 *
743
 * @see progress.js
744
 */
745
.progress {
746
  font-weight: bold;
747
}
748
.progress .bar {
749
  background: #ccc;
750
  border-color: #666;
751
  margin: 0 0.2em;
752
  -webkit-border-radius: 3px;
753
  -moz-border-radius: 3px;
754
  -ms-border-radius: 3px;
755
  -o-border-radius: 3px;
756
  border-radius: 3px;
757
}
758
.progress .filled {
759
  background-color: #0072b9;
760
  background-image: url('../../images/progress.gif');
761
}