|
1
|
.import-preview .errors { |
|
2
|
position: relative; |
|
3
|
} |
|
4
|
|
|
5
|
.validation-error-count { |
|
6
|
display: inline-block; |
|
7
|
background-color: #e40000; |
|
8
|
border-radius: 6px; |
|
9
|
color: white; |
|
10
|
font-size: 0.9em; |
|
11
|
position: relative; |
|
12
|
font-weight: bold; |
|
13
|
margin-top: -2px; |
|
14
|
padding: 0.2em 0.4em; |
|
15
|
} |
|
16
|
|
|
17
|
.validation-error-container { |
|
18
|
position: absolute; |
|
19
|
opacity: 0; |
|
20
|
pointer-events: none; |
|
21
|
background-color: #ffc1c1; |
|
22
|
padding: 14px 15px 10px; |
|
23
|
top: 25px; |
|
24
|
margin: 0 0 20px 0; |
|
25
|
width: 200px; |
|
26
|
z-index: 2; |
|
27
|
} |
|
28
|
|
|
29
|
html[data-theme="light"] .validation-error-container { |
|
30
|
background-color: #ffc1c1; |
|
31
|
} |
|
32
|
|
|
33
|
table.import-preview tr.skip, html[data-theme="light"] table.import-preview tr.skip { |
|
34
|
background-color: #d2d2d2; |
|
35
|
} |
|
36
|
|
|
37
|
table.import-preview tr.new, html[data-theme="light"] table.import-preview tr.new { |
|
38
|
background-color: #bdd8b2; |
|
39
|
} |
|
40
|
|
|
41
|
table.import-preview tr.delete, html[data-theme="light"] table.import-preview tr.delete { |
|
42
|
background-color: #f9bebf; |
|
43
|
} |
|
44
|
|
|
45
|
table.import-preview tr.update, html[data-theme="light"] table.import-preview tr.update { |
|
46
|
background-color: #fdfdcf; |
|
47
|
} |
|
48
|
|
|
49
|
table.import-preview td ins, html[data-theme="light"] table.import-preview td ins { |
|
50
|
background-color: #e6ffe6 !important; |
|
51
|
} |
|
52
|
|
|
53
|
html[data-theme="light"] table.import-preview td del { |
|
54
|
background-color: #ffe6e6 !important; |
|
55
|
} |
|
56
|
|
|
57
|
.import-preview td:hover .validation-error-count { |
|
58
|
z-index: 3; |
|
59
|
} |
|
60
|
.import-preview td:hover .validation-error-container { |
|
61
|
opacity: 1; |
|
62
|
pointer-events: auto; |
|
63
|
} |
|
64
|
|
|
65
|
.validation-error-list { |
|
66
|
margin: 0; |
|
67
|
padding: 0; |
|
68
|
} |
|
69
|
|
|
70
|
.validation-error-list li { |
|
71
|
list-style: none; |
|
72
|
margin: 0; |
|
73
|
} |
|
74
|
|
|
75
|
.validation-error-list > li > ul { |
|
76
|
margin: 8px 0; |
|
77
|
padding: 0; |
|
78
|
} |
|
79
|
|
|
80
|
.validation-error-list > li > ul > li { |
|
81
|
padding: 0; |
|
82
|
margin: 0 0 10px; |
|
83
|
line-height: 1.28em; |
|
84
|
} |
|
85
|
|
|
86
|
.validation-error-field-label { |
|
87
|
display: block; |
|
88
|
border-bottom: 1px solid #e40000; |
|
89
|
color: #e40000; |
|
90
|
text-transform: uppercase; |
|
91
|
font-weight: bold; |
|
92
|
font-size: 0.85em; |
|
93
|
} |
|
94
|
|
|
95
|
@media (prefers-color-scheme: dark) { |
|
96
|
table.import-preview tr.skip { |
|
97
|
background-color: #2d2d2d; |
|
98
|
} |
|
99
|
|
|
100
|
table.import-preview tr.new { |
|
101
|
background-color: #42274d; |
|
102
|
} |
|
103
|
|
|
104
|
table.import-preview tr.delete { |
|
105
|
background-color: #064140; |
|
106
|
} |
|
107
|
|
|
108
|
table.import-preview tr.update { |
|
109
|
background-color: #020230; |
|
110
|
} |
|
111
|
|
|
112
|
.validation-error-container { |
|
113
|
background-color: #003e3e; |
|
114
|
} |
|
115
|
|
|
116
|
/* |
|
117
|
these declarations are necessary to forcibly override the |
|
118
|
formatting applied by the diff-match-patch python library |
|
119
|
*/ |
|
120
|
table.import-preview td ins { |
|
121
|
background-color: #190019 !important; |
|
122
|
} |
|
123
|
|
|
124
|
table.import-preview td del { |
|
125
|
background-color: #001919 !important; |
|
126
|
} |
|
127
|
} |
|
128
|
|
|
129
|
html[data-theme="dark"] table.import-preview tr.skip { |
|
130
|
background-color: #2d2d2d; |
|
131
|
} |
|
132
|
|
|
133
|
html[data-theme="dark"] table.import-preview tr.new { |
|
134
|
background-color: #42274d; |
|
135
|
} |
|
136
|
|
|
137
|
html[data-theme="dark"] table.import-preview tr.delete { |
|
138
|
background-color: #064140; |
|
139
|
} |
|
140
|
|
|
141
|
html[data-theme="dark"] table.import-preview tr.update { |
|
142
|
background-color: #020230; |
|
143
|
} |
|
144
|
|
|
145
|
html[data-theme="dark"] .validation-error-container { |
|
146
|
background-color: #003e3e; |
|
147
|
} |
|
148
|
|
|
149
|
/* |
|
150
|
these declarations are necessary to forcibly override the |
|
151
|
formatting applied by the diff-match-patch python library |
|
152
|
*/ |
|
153
|
html[data-theme="dark"] table.import-preview td ins { |
|
154
|
background-color: #190019 !important; |
|
155
|
} |
|
156
|
|
|
157
|
html[data-theme="dark"] table.import-preview td del { |
|
158
|
background-color: #001919 !important; |
|
159
|
} |
|
160
|
|