Projet

Général

Profil

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

root / drupal7 / sites / all / themes / rubik / css / style.css @ fc457866

1

    
2
/**
3
 * @file
4
 * Main theme stylesheet.
5
 */
6

    
7
/*******************************************************************************
8
 * General styles
9
 ******************************************************************************/
10
body,
11
input,
12
textarea,
13
select,
14
.ui-widget,
15
.ui-widget input,
16
.ui-widget select,
17
.ui-widget textarea,
18
.ui-widget button {
19
  font-family: "Lucida", "Lucida Grande", "Trebuchet MS", Tahoma, Verdana, sans-serif;
20
}
21
html {
22
  overflow-y: scroll;
23
}
24
body.tao {
25
  color: #333;
26
  background: #fff;
27
}
28
a {
29
  color: #008eb1;
30
  text-decoration: none;
31
}
32
.limiter {
33
  margin: 0 30px;
34
}
35
/* Skip to content link. */
36
#skip-link {
37
  width: 200px;
38
  height: 0;
39
  left: 50%;
40
  margin-left: -100px;
41
}
42
#skip-link a:hover,
43
#skip-link a:active,
44
#skip-link a:focus {
45
  left: 0;
46
  z-index: 20;
47
  text-align: center;
48
  width: 200px;
49
  background: #333;
50
  color: #fff;
51
  opacity: .9;
52
  padding: 10px 0;
53
  -webkit-border-radius: 0 0 5px 5px;
54
     -moz-border-radius: 0 0 5px 5px;
55
          border-radius: 0 0 5px 5px;
56
}
57
/* "Rounded" elements. */
58
a.button,
59
.compact-link a,
60
input.form-submit,
61
input.teaser-button,
62
.form-actions #edit-cancel {
63
  -webkit-border-radius: 3px;
64
     -moz-border-radius: 3px;
65
          border-radius: 3px;
66
}
67
/* "Popped" elements. */
68
input.teaser-button,
69
input.form-submit,
70
a.button,
71
.form-actions #edit-cancel {
72
  -webkit-box-shadow: #ddd 0 1px 1px;
73
     -moz-box-shadow: #ddd 0 1px 1px;
74
          box-shadow: #ddd 0 1px 1px;
75
}
76
/* "Embossed" elements. */
77
table th {
78
  text-shadow: #fff 0 1px 0;
79
}
80
/* General styles end */
81

    
82
/*******************************************************************************
83
 * Branding
84
 ******************************************************************************/
85
#branding {
86
  background: url(../images/bleeds.png) 0 -30px repeat-x;
87
  color: #ccc;
88
  font-size: 11px;
89
  height: 30px;
90
  overflow: hidden;
91
}
92
#branding ul.links {
93
  float: right;
94
}
95
#branding ul.links a {
96
  background: url(../images/bleeds.png) 0% -30px no-repeat;
97
  color: #fff;
98
  float: left;
99
  padding: 5px 10px;
100
}
101
#branding ul.links a:hover {
102
  background-position: 0% -90px;
103
}
104
#branding .breadcrumb {
105
  padding: 0;
106
  float: left;
107
  font-weight: normal;
108
}
109
#branding .breadcrumb-link {
110
  float: left;
111
  position: relative;
112
}
113
#branding .breadcrumb-depth-0 {
114
  z-index: 10;
115
}
116
#branding .breadcrumb-depth-1 {
117
  z-index: 9;
118
}
119
#branding .breadcrumb-depth-2 {
120
  z-index: 8;
121
}
122
#branding .breadcrumb-depth-3 {
123
  z-index: 7;
124
}
125
#branding .breadcrumb-depth-4 {
126
  z-index: 6;
127
}
128
#branding .breadcrumb-depth-5 {
129
  z-index: 5;
130
}
131
#branding .breadcrumb-depth-6 {
132
  z-index: 4;
133
}
134
#branding .breadcrumb-depth-7 {
135
  z-index: 3;
136
}
137
#branding .breadcrumb-depth-8 {
138
  z-index: 2;
139
}
140
#branding .breadcrumb-link > a,
141
#branding .breadcrumb-link > strong {
142
  color: #fff;
143
  font-weight: normal;
144
  float: left;
145
  margin-right: -10px;
146
  padding: 5px 20px;
147
  background: url(../images/bleeds.png) 100% -60px no-repeat;
148
}
149
#branding .breadcrumb-depth-0 a,
150
#branding .breadcrumb-depth-0 strong {
151
  padding-left: 10px;
152
}
153
#branding .breadcrumb a:hover {
154
  background-position: 100% -90px;
155
}
156
/* Branding end */
157

    
158
/*******************************************************************************
159
 * Page title
160
 ******************************************************************************/
161
#page-title {
162
  background: #fff url(../images/bleeds.png) 0 -350px repeat-x;
163
}
164
#page-title .limiter {
165
  position: relative;
166
}
167
#page-title .page-title {
168
  float: left;
169
  padding: 15px 10px 15px 0;
170
  line-height: 30px;
171
  min-height: 30px;
172
  -webkit-text-shadow: #fff 0 1px 0;
173
          text-shadow: #fff 0 1px 0;
174
  letter-spacing: -1px;
175
  font-weight: normal;
176
  font-size: 20px;
177
}
178
#page-title .page-title span.icon {
179
  float: left;
180
  margin-right: 10px;
181
}
182
.add-or-remove-shortcuts,
183
.action-links {
184
  float: left;
185
  font-size: 11px;
186
}
187
.add-or-remove-shortcuts {
188
  padding: 20px 0;
189
}
190
.action-links {
191
  padding: 20px 0 20px 10px;
192
}
193
.action-links a {
194
  background-color: #7bc;
195
  text-shadow: #38a 0 1px 0;
196
}
197
.add-or-remove-shortcuts a {
198
  background-color: #999;
199
  text-shadow: #666 0 1px 0;
200
}
201
/* Page title end */
202

    
203

    
204
/*******************************************************************************
205
 * Tabs
206
 ******************************************************************************/
207
.tabs {
208
  float: right;
209
  right: 0;
210
}
211
.primary-tabs {
212
  height: 30px;
213
  margin: 15px 0 0;
214
  -webkit-border-radius: 5px;
215
     -moz-border-radius: 5px;
216
          border-radius: 5px;
217
}
218
div.pager {
219
  margin: 10px 0 0;
220
  height: 30px;
221
}
222
.pager li,
223
.primary-tabs li {
224
  height: 30px;
225
  position: relative;
226
  background: #eee url(../images/bleeds.png) 50% 0 no-repeat;
227
  margin-bottom: 10px;
228
}
229
.pager a,
230
.pager span,
231
.primary-tabs a {
232
  float: left;
233
  text-align: center;
234
  min-width: 70px;
235
  padding: 5px 10px;
236
  color: #333;
237
  text-shadow: #fff 0 1px 0;
238
}
239
.pager a,
240
.pager span {
241
  min-width: 10px;
242
  padding: 5px 15px;
243
}
244
.pager li:hover,
245
.primary-tabs li:hover {
246
  background-color: #f8f8f8;
247
}
248
.pager li:first-child,
249
.primary-tabs li.first-row-link {
250
  background-position: 0% 0;
251
  -webkit-border-radius: 5px 0 0 5px;
252
     -moz-border-radius: 5px 0 0 5px;
253
          border-radius: 5px 0 0 5px;
254
}
255
.pager li:last-child,
256
.primary-tabs li.last-row-link {
257
  background-position: 100% 0;
258
  -webkit-border-radius: 0 5px 5px 0;
259
     -moz-border-radius: 0 5px 5px 0;
260
          border-radius: 0 5px 5px 0;
261
}
262
/* This style is necessary in case there is only one tab that goes to the
263
second row. */
264
.primary-tabs li.first-row-link.last-row-link {
265
  background-position: 0% 0;
266
  -webkit-border-radius: 5px;
267
     -moz-border-radius: 5px;
268
          border-radius: 5px;
269
}
270
.pager li.pager-current,
271
.primary-tabs li.active {
272
  background-color: #7bc;
273
}
274
.pager li.pager-current span,
275
.primary-tabs li.active a {
276
  color: #fff;
277
  text-shadow: #38a 0 1px 0;
278
}
279
/* Secondary tabs, nested */
280
.secondary-tabs {
281
  min-width: 150px;
282
  float: left;
283
  position: relative;
284
  margin: 5px 5px 5px 0;
285
  font-size: 11px;
286
  background: #59a url(../images/buttons.png) -800px 50% no-repeat;
287
  -webkit-border-radius: 3px;
288
     -moz-border-radius: 3px;
289
          border-radius: 3px;
290
  z-index: 1;
291
}
292
.secondary-tabs:hover {
293
  background: #59a;
294
  opacity: .9;
295
}
296
ul.secondary-tabs li,
297
ul.secondary-tabs li a {
298
  background: transparent;
299
  float: none;
300
  height: auto;
301
  text-align: left;
302
  margin-bottom: 0;
303
}
304
.secondary-tabs a {
305
  color: #fff;
306
  text-shadow: #38a 0 1px 0;
307
  display: none;
308
  padding: 0 10px 0 25px;
309
}
310
.secondary-tabs:hover a,
311
.secondary-tabs .active a {
312
  display: block;
313
}
314
.secondary-tabs li:hover,
315
.secondary-tabs li.active {
316
  background: transparent;
317
}
318
.secondary-tabs a:hover {
319
  background: #389 url(../images/buttons.png) -800px 50% no-repeat;
320
}
321
.secondary-tabs li:last-child a:hover {
322
  -webkit-border-radius: 0 0 3px 3px;
323
     -moz-border-radius: 0 0 3px 3px;
324
          border-radius: 0 0 3px 3px;
325
}
326
.secondary-tabs li:first-child a:hover {
327
  -webkit-border-radius: 3px 3px 0 0;
328
     -moz-border-radius: 3px 3px 0 0;
329
          border-radius: 3px 3px 0 0;
330
}
331
ul.secondary.tabs {
332
  position: static;
333
  float: right;
334
  font-size: 0.923em;
335
  padding: 0 3px 5px;
336
  line-height: 1.385em;
337
  overflow: hidden;
338
  background-color: #fff;
339
}
340
ul.secondary.tabs li {
341
  margin: 0 5px;
342
  float: none;
343
  display: inline;
344
}
345
/* Tabs end */
346

    
347
/*******************************************************************************
348
 * Content
349
 ******************************************************************************/
350
.help-page,
351
div.comment,
352
div.node {
353
  border-style: solid;
354
  border-width: 1px;
355
  border-color: #ddd;
356
  background: #fff url(../images/vrule.png) 65% 0% repeat-y;
357
  margin: 0 0 10px;
358
}
359
/* Make large images display within the parent container. This will prevent
360
messing up the layout if a wide image needs to be displayed in content. */
361
#page img {
362
  max-width: 100%;
363
}
364
#help-text .column-main .column-wrapper,
365
.help-page .column-main .column-wrapper,
366
div.comment .column-main .column-wrapper,
367
div.node .column-main .column-wrapper {
368
  padding: 19px;
369
}
370
#help-text .column-main .column-wrapper {
371
  padding-left: 59px;
372
  position: relative;
373
}
374
#help-text .column-main .column-wrapper span.icon {
375
  position: absolute;
376
  top: 15px;
377
  left: 15px;
378
}
379
#help-text .column-side .column-wrapper,
380
.help-page .column-side .column-wrapper,
381
div.comment .column-side .column-wrapper,
382
div.node .column-side .column-wrapper {
383
  padding: 9px;
384
  font-size: 11px;
385
}
386
#help-text .column-side .help-links,
387
.help-page .column-side .help-page-links,
388
.node-submitted,
389
.comment-submitted {
390
  padding: 10px;
391
  background: #f8f8f8;
392
}
393
.comment-links,
394
.node-links {
395
  padding: 10px 0;
396
}
397
.help-page .help-page-links ul.links {
398
  -webkit-column-count: 2;
399
     -moz-column-count: 2;
400
}
401
.column-side ul.links li,
402
.column-side ul.links a,
403
.column-side ul.links span {
404
  display: block;
405
  float: none;
406
}
407
.column-side ul.links a,
408
.column-side ul.links span {
409
  padding: 0 10px;
410
  display: block;
411
  float: none;
412
}
413
.column-side ul.links span a {
414
  padding: 0;
415
  display: inline;
416
}
417
.column-side ul.links a.active,
418
.column-side ul.links a:hover {
419
  background: #fff;
420
}
421
.comment-links ul.links a:hover {
422
  background: #f4f4f4;
423
}
424
.comment-title,
425
.node-title {
426
  margin: 0 0 20px;
427
  font-weight: normal;
428
  font-size: 16px;
429
}
430
/* Content end */
431

    
432
/*******************************************************************************
433
 * Fixes for other modules
434
 ******************************************************************************/
435
/* Fix rules action links. */
436
.rules-elements-table ul.rules-operations a {
437
  text-shadow: none;
438
  color: #666;
439
}
440
/* Fix the position of Rules table drag toggle. It uses "position: absolute", so
441
it is necessary to set "position: relative" to the parent, so that the button
442
stays in the same frame. */
443
#rules-form-wrapper {
444
  position: relative;
445
}
446
/* Fix the padding of Rules table drag toggle. Out of the box it is optimized
447
for display in table headers, while in Rules it is displayed outside of the
448
tables, in the same line as table heading. */
449
#rules-form-wrapper .rules-elements-table .tabledrag-toggle-weight-wrapper {
450
  padding-top: 0;
451
  padding-right: 0;
452
}
453
/* Views exposed filters forms. */
454
div.views-exposed-form {
455
  margin-bottom: 20px;
456
}
457
div.views-exposed-form div.form-item {
458
  border: 0;
459
  padding: 0;
460
}
461
div.views-exposed-form div.views-submit-button {
462
  margin-right: 1em;
463
}
464
div.views-exposed-form input.form-text,
465
div.views-exposed-form input.form-autocomplete {
466
  height: 28px;
467
}
468
/* Views header on administrative pages (displayed while editing a view). */
469
.views-display-top {
470
  padding: 10px;
471
}
472
/* CTools toggle in views display columns. This is displayed while editing or
473
creating a view. */
474
.views-display-column > .ctools-toggle {
475
  margin-top: 14px;
476
}
477
.views-display-column > .ctools-toggle.ctools-toggle-collapsed {
478
  margin-top: 11px;
479
}
480
/* Module filter "clear" link. */
481
.module-filter-clear a {
482
  margin: 3px 0 0 -35px;
483
}
484
/* Fix Workbench Moderation links. */
485
.view-workbench-moderation tbody .views-field-moderation-actions li {
486
  float: none;
487
  margin-bottom: 5px;
488
  margin-right: 3px;
489
  overflow: auto;
490
}
491
.view-workbench-moderation tbody .views-field-moderation-actions li a {
492
  background-color: #7bc;
493
  -webkit-border-radius: 5px;
494
     -moz-border-radius: 5px;
495
          border-radius: 5px;
496
  color: #fff;
497
  display: block;
498
  padding: 0 7px;
499
  text-shadow: #38a 0 1px 0;
500
}
501
.view-workbench-moderation tbody .views-field-moderation-actions li a:hover {
502
  background-color: #52a8be;
503
  color: #fff;
504
}
505
/* Fixes for other modules end */