Browse Source

Added css for difflib tables

master
Dirk Alders 2 weeks ago
parent
commit
fe05827340

+ 32
- 2
templates/themes/clear-blue/base.css View File

101
   width: 100%;
101
   width: 100%;
102
   margin: 2px 0px;
102
   margin: 2px 0px;
103
 }
103
 }
104
-
105
 td, th {
104
 td, th {
106
   border: 1px solid #dddddd;
105
   border: 1px solid #dddddd;
107
   text-align: left;
106
   text-align: left;
109
 }
108
 }
110
 
109
 
111
 tr:nth-child(even) {
110
 tr:nth-child(even) {
112
-  background-color: #dddddd;
111
+  background-color: #eeeeee;
112
+}
113
+
114
+table.diff 
115
+{
116
+  font-family:Courier;
117
+  border:medium; 
118
+}
119
+.diff_header
120
+{
121
+  background-color:#e0e0e0
122
+}
123
+td.diff_header
124
+{
125
+  text-align:right
113
 }
126
 }
127
+.diff_next
128
+{
129
+  background-color:#c0c0c0
130
+}
131
+.diff_add
132
+{
133
+  background-color:#aaffaa
134
+}
135
+.diff_chg
136
+{
137
+  background-color:#ffff77
138
+}
139
+.diff_sub
140
+{
141
+  background-color:#ffaaaa
142
+}
143
+
114
 /*
144
 /*
115
 * Forms
145
 * Forms
116
 */
146
 */

+ 32
- 2
templates/themes/clear-digits/base.css View File

101
   width: 100%;
101
   width: 100%;
102
   margin: 2px 0px;
102
   margin: 2px 0px;
103
 }
103
 }
104
-
105
 td, th {
104
 td, th {
106
   border: 1px solid #dddddd;
105
   border: 1px solid #dddddd;
107
   text-align: left;
106
   text-align: left;
109
 }
108
 }
110
 
109
 
111
 tr:nth-child(even) {
110
 tr:nth-child(even) {
112
-  background-color: #dddddd;
111
+  background-color: #eeeeee;
112
+}
113
+
114
+table.diff 
115
+{
116
+  font-family:Courier;
117
+  border:medium; 
118
+}
119
+.diff_header
120
+{
121
+  background-color:#e0e0e0
122
+}
123
+td.diff_header
124
+{
125
+  text-align:right
113
 }
126
 }
127
+.diff_next
128
+{
129
+  background-color:#c0c0c0
130
+}
131
+.diff_add
132
+{
133
+  background-color:#aaffaa
134
+}
135
+.diff_chg
136
+{
137
+  background-color:#ffff77
138
+}
139
+.diff_sub
140
+{
141
+  background-color:#ffaaaa
142
+}
143
+
114
 /*
144
 /*
115
 * Forms
145
 * Forms
116
 */
146
 */

+ 32
- 2
templates/themes/clear-green/base.css View File

101
   width: 100%;
101
   width: 100%;
102
   margin: 2px 0px;
102
   margin: 2px 0px;
103
 }
103
 }
104
-
105
 td, th {
104
 td, th {
106
   border: 1px solid #dddddd;
105
   border: 1px solid #dddddd;
107
   text-align: left;
106
   text-align: left;
109
 }
108
 }
110
 
109
 
111
 tr:nth-child(even) {
110
 tr:nth-child(even) {
112
-  background-color: #dddddd;
111
+  background-color: #eeeeee;
112
+}
113
+
114
+table.diff 
115
+{
116
+  font-family:Courier;
117
+  border:medium; 
118
+}
119
+.diff_header
120
+{
121
+  background-color:#e0e0e0
122
+}
123
+td.diff_header
124
+{
125
+  text-align:right
113
 }
126
 }
127
+.diff_next
128
+{
129
+  background-color:#c0c0c0
130
+}
131
+.diff_add
132
+{
133
+  background-color:#aaffaa
134
+}
135
+.diff_chg
136
+{
137
+  background-color:#ffff77
138
+}
139
+.diff_sub
140
+{
141
+  background-color:#ffaaaa
142
+}
143
+
114
 /*
144
 /*
115
 * Forms
145
 * Forms
116
 */
146
 */

+ 32
- 2
templates/themes/clear-red/base.css View File

101
   width: 100%;
101
   width: 100%;
102
   margin: 2px 0px;
102
   margin: 2px 0px;
103
 }
103
 }
104
-
105
 td, th {
104
 td, th {
106
   border: 1px solid #dddddd;
105
   border: 1px solid #dddddd;
107
   text-align: left;
106
   text-align: left;
109
 }
108
 }
110
 
109
 
111
 tr:nth-child(even) {
110
 tr:nth-child(even) {
112
-  background-color: #dddddd;
111
+  background-color: #eeeeee;
112
+}
113
+
114
+table.diff 
115
+{
116
+  font-family:Courier;
117
+  border:medium; 
118
+}
119
+.diff_header
120
+{
121
+  background-color:#e0e0e0
122
+}
123
+td.diff_header
124
+{
125
+  text-align:right
113
 }
126
 }
127
+.diff_next
128
+{
129
+  background-color:#c0c0c0
130
+}
131
+.diff_add
132
+{
133
+  background-color:#aaffaa
134
+}
135
+.diff_chg
136
+{
137
+  background-color:#ffff77
138
+}
139
+.diff_sub
140
+{
141
+  background-color:#ffaaaa
142
+}
143
+
114
 /*
144
 /*
115
 * Forms
145
 * Forms
116
 */
146
 */

Loading…
Cancel
Save