Projet

Général

Profil

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

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

1

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

    
4
/* Reset as many core themes as possible */
5
table.diff {
6
  font-size: 0.923em;
7
  margin: 0 0 10px;
8
  border: 0 none;
9
  width: 98%;
10
  border-spacing: 5px;
11
  table-layout: fixed ;
12
  border-collapse: separate;
13
}
14
table.diff tr td:last-child {
15
  border-right: inherit;
16
}
17
table.diff td,
18
table.diff th {
19
  vertical-align: middle;
20
  border: 0 none;
21
  color: #000;
22
  text-transform: none;
23
  background: none;
24
  border-spacing: 4px;
25
  padding: 4px 8px;
26
}
27
table.diff tr, table.diff tr.even {
28
  background: none;
29
}
30
table.diff tr th, table.diff tr th a, table.diff tr th a:hover {
31
  color: inherit;
32
  font-weight: bold;
33
}
34
table.diff tr.even,
35
table.diff tr.odd {
36
  border-width: 0;
37
  border-style: none;
38
  background: transparent;
39
}
40
table.diff th a { display: inline; }
41

    
42
/* Main theming */
43
table.diff, td.diff-number {
44
  background-color: white
45
}
46

    
47
table.diff td.diff-lineno {
48
  font-weight: bold
49
}
50

    
51
table.diff td.diff-addedline, table.diff td.diff-deletedline, table.diff td.diff-context {
52
  font-size: 88%;
53
  vertical-align: top;
54
  white-space: -moz-pre-wrap;
55
  white-space: pre-wrap
56
}
57

    
58
table.diff td.diff-addedline, table.diff td.diff-deletedline {
59
  border-style: solid;
60
  border-width: 1px 1px 1px 4px;
61
  border-radius: 0.33em
62
}
63

    
64
table.diff td.diff-context {
65
  background: #f3f3f3;
66
  color: #333333;
67
  border-style: solid;
68
  border-width: 1px 1px 1px 4px;
69
  border-color: #e6e6e6;
70
  border-radius: 0.33em;
71
}
72
table.diff td.diff-addedline {
73
  border-color: #a3d3ff;
74
  background: #ffffff;
75
  border: 1px 1px 1px 3px;
76
}
77

    
78
table.diff td.diff-deletedline {
79
  border-color: #ffe49c
80
}
81

    
82
.diffchange {
83
  font-weight: bold;
84
  text-decoration: none
85
}
86

    
87
table.diff td.diff-addedline .diffchange, table.diff td.diff-deletedline .diffchange {
88
  border-radius: 0.33em;
89
  padding: 0.25em 0
90
}
91

    
92
table.diff td.diff-addedline .diffchange {
93
  background: #d8ecff
94
}
95

    
96
table.diff td.diff-deletedline .diffchange {
97
  background: #feeec8
98
}
99

    
100
table.diff table.diff td {
101
  padding: 0.33em 0.66em
102
}
103

    
104
table.diff td.diff-marker {
105
  width: 2%;
106
  text-align: right;
107
  font-weight: bold;
108
  font-size: 1.25em  
109
}
110

    
111
table.diff col.diff-content {
112
  width: 48%
113
}
114

    
115
table.diff table.diff td div {
116
  word-wrap: break-word;
117
  overflow: auto
118
}
119
td.diff-prevlink {
120
  text-align: left;
121
}
122
td.diff-nextlink {
123
  text-align: right;
124
}