浏览代码

Added css for difflib tables

master
Dirk Alders 2 个月前
父节点
当前提交
fe05827340

+ 32
- 2
templates/themes/clear-blue/base.css 查看文件

@@ -101,7 +101,6 @@ table {
101 101
   width: 100%;
102 102
   margin: 2px 0px;
103 103
 }
104
-
105 104
 td, th {
106 105
   border: 1px solid #dddddd;
107 106
   text-align: left;
@@ -109,8 +108,39 @@ td, th {
109 108
 }
110 109
 
111 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 145
 * Forms
116 146
 */

+ 32
- 2
templates/themes/clear-digits/base.css 查看文件

@@ -101,7 +101,6 @@ table {
101 101
   width: 100%;
102 102
   margin: 2px 0px;
103 103
 }
104
-
105 104
 td, th {
106 105
   border: 1px solid #dddddd;
107 106
   text-align: left;
@@ -109,8 +108,39 @@ td, th {
109 108
 }
110 109
 
111 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 145
 * Forms
116 146
 */

+ 32
- 2
templates/themes/clear-green/base.css 查看文件

@@ -101,7 +101,6 @@ table {
101 101
   width: 100%;
102 102
   margin: 2px 0px;
103 103
 }
104
-
105 104
 td, th {
106 105
   border: 1px solid #dddddd;
107 106
   text-align: left;
@@ -109,8 +108,39 @@ td, th {
109 108
 }
110 109
 
111 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 145
 * Forms
116 146
 */

+ 32
- 2
templates/themes/clear-red/base.css 查看文件

@@ -101,7 +101,6 @@ table {
101 101
   width: 100%;
102 102
   margin: 2px 0px;
103 103
 }
104
-
105 104
 td, th {
106 105
   border: 1px solid #dddddd;
107 106
   text-align: left;
@@ -109,8 +108,39 @@ td, th {
109 108
 }
110 109
 
111 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 145
 * Forms
116 146
 */

正在加载...
取消
保存