Projet

Général

Profil

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

root / htmltest / sites / all / modules / diff / diff.css @ a5572547

1

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

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

    
14
.diff-inline-legend { font-size:11px; }
15

    
16
.diff-inline-legend span,
17
.diff-inline-legend label { margin-right:5px; }
18

    
19
/**
20
 * Inline diff markup
21
 */
22
span.diff-deleted { color:#ccc; }
23
span.diff-deleted img { border: solid 2px #ccc; }
24
span.diff-changed { background:#ffb; }
25
span.diff-changed img { border:solid 2px #ffb; }
26
span.diff-added { background:#cfc; }
27
span.diff-added img { border: solid 2px #cfc; }
28

    
29
/**
30
 * Traditional split diff theming
31
 */
32
table.diff {
33
  border-spacing: 4px;
34
  margin-bottom: 20px;
35
  table-layout: fixed;
36
  width: 100%;
37
}
38
table.diff tr.even, table.diff tr.odd {
39
  background-color: inherit;
40
  border: none;
41
}
42
td.diff-prevlink {
43
  text-align: left;
44
}
45
td.diff-nextlink {
46
  text-align: right;
47
}
48
td.diff-section-title, div.diff-section-title {
49
  background-color: #f0f0ff;
50
  font-size: 0.83em;
51
  font-weight: bold;
52
  padding: 0.1em 1em;
53
}
54
td.diff-deletedline {
55
  background-color: #ffa;
56
  width: 50%;
57
}
58
td.diff-addedline {
59
  background-color: #afa;
60
  width: 50%;
61
}
62
td.diff-context {
63
  background-color: #fafafa;
64
}
65
span.diffchange {
66
  color: #f00;
67
  font-weight: bold;
68
}
69

    
70
table.diff col.diff-marker {
71
  width: 1.4em;
72
}
73
table.diff col.diff-content {
74
  width: 50%;
75
}
76
table.diff th {
77
  padding-right: inherit;
78
}
79
table.diff td div {
80
  overflow: auto;
81
  padding: 0.1ex 0.5em;
82
  word-wrap: break-word;
83
}
84
table.diff td {
85
  padding: 0.1ex 0.4em;
86
}