Projet

Général

Profil

Paste
Télécharger (1,61 ko) Statistiques
| Branche: | Révision:

root / drupal7 / sites / all / modules / diff / css / diff.default.css @ 661d64c9

1
html.js .diff-js-hidden {
2
  display: none;
3
}
4

    
5
/**
6
 * Inline diff metadata
7
 */
8
.diff-inline-metadata {
9
  padding: 4px;
10
  border: 1px solid #ddd;
11
  background: #fff;
12
  margin: 0 0 10px;
13
}
14

    
15
.diff-inline-legend {
16
  font-size: 11px;
17
}
18

    
19
.diff-inline-legend span,
20
.diff-inline-legend label {
21
  margin-right: 5px;
22
}
23

    
24
/**
25
 * Inline diff markup
26
 */
27
span.diff-deleted {
28
  color: #ccc;
29
}
30
span.diff-deleted img {
31
  border: solid 2px #ccc;
32
}
33
span.diff-changed {
34
  background: #ffb;
35
}
36
span.diff-changed img {
37
  border: solid 2px #ffb;
38
}
39
span.diff-added {
40
  background: #cfc;
41
}
42
span.diff-added img {
43
  border: solid 2px #cfc;
44
}
45

    
46
/**
47
 * Traditional split diff theming
48
 */
49
table.diff {
50
  border-spacing: 4px;
51
  margin-bottom: 20px;
52
  table-layout: fixed;
53
  width: 100%;
54
}
55
table.diff tr.even,
56
table.diff tr.odd {
57
  background-color: inherit;
58
  border: none;
59
}
60
td.diff-prevlink {
61
  text-align: left;
62
}
63
td.diff-nextlink {
64
  text-align: right;
65
}
66
td.diff-section-title,
67
div.diff-section-title {
68
  background-color: #f0f0ff;
69
  font-size: 0.83em;
70
  font-weight: bold;
71
  padding: 0.1em 1em;
72
}
73
td.diff-context {
74
  background-color: #fafafa;
75
}
76
td.diff-deletedline {
77
  background-color: #ffa;
78
  width: 50%;
79
}
80
td.diff-addedline {
81
  background-color: #afa;
82
  width: 50%;
83
}
84
span.diffchange {
85
  color: #f00;
86
  font-weight: bold;
87
}
88

    
89
table.diff col.diff-marker {
90
  width: 1.4em;
91
}
92
table.diff col.diff-content {
93
  width: 50%;
94
}
95
table.diff th {
96
  padding-right: inherit;
97
}
98
table.diff td div {
99
  overflow: auto;
100
  padding: 0.1ex 0.5em;
101
  word-wrap: break-word;
102
}
103
table.diff td {
104
  padding: 0.1ex 0.4em;
105
}
106

    
107
table.diff-revisions tr.revision-published td {
108
  background-color: #aaffaa;
109
}