Projet

Général

Profil

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

root / drupal7 / sites / all / modules / diff / diff.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
.diff-inline-legend span,
19
.diff-inline-legend label {
20
  margin-right: 5px;
21
}
22

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

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

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