Projet

Général

Profil

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

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

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-secondary__tab,
264
.tabs-secondary__tab.is-active {
265
  float: left; /* LTR */
266
  margin: 0 3px;
267
}
268
a.tabs-primary__tab-link,
269
a.tabs-secondary__tab-link {
270
  border: 1px solid #e9e9e9;
271
  border-right: 0;
272
  border-bottom: 0;
273
  display: block;
274
  line-height: 1.5em;
275
  text-decoration: none;
276
}
277

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

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

    
372
/**
373
 * Inline styles.
374
 */
375

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

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

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

    
409
/**
410
 * Pager.
411
 */
412

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

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

    
436
/**
437
 * Blocks.
438
 */
439

    
440
/* Block wrapper. */
441
.block {
442
  margin-bottom: 1.5em;
443
}
444

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

    
464
/* The active item in a Drupal menu. */
465
.menu a.active {
466
  color: #000;
467
}
468

    
469
/**
470
 * Marker.
471
 */
472

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

    
481
/**
482
 * Unpublished note.
483
 */
484

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

    
507
/**
508
 * Comments.
509
 */
510

    
511
/* Wrapper for the list of comments and its title. */
512
.comments {
513
  margin: 1.5em 0;
514
}
515

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

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

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

    
537
/**
538
 * Forms.
539
 */
540

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

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

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

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

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

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

    
580
/* Labels for radios and checkboxes. */
581
label.option {
582
  display: inline;
583
  font-weight: normal;
584
}
585

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

    
593
/* Password confirmation. */
594
.password-parent,
595
.confirm-parent {
596
  margin: 0;
597
}
598

    
599
/* Drupal's default login form block. */
600
#user-login-form {
601
  text-align: left; /* LTR */
602
}
603

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

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

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

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

    
662
/* Markup generated by theme_tablesort_indicator(). */
663
td.active {
664
  background-color: #ddd;
665
}
666

    
667
/* Center checkboxes inside table cell. */
668
td.checkbox,
669
th.checkbox {
670
  text-align: center;
671
}
672

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

    
678
/**
679
 * Autocomplete.
680
 *
681
 * @see autocomplete.js
682
 */
683

    
684
/* Suggestion list. */
685
#autocomplete .selected {
686
  background: #0072b9;
687
  color: #fff;
688
}
689

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

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

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

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