|
1 | 1 | @import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100;200;300;400;500;600;700;800;900&display=swap');
|
2 | 2 | .jsondiffpatch-delta {
|
3 | 3 | font-family: 'Outfit', sans-serif;
|
4 |
| - font-size: 12px; |
| 4 | + font-size: 14px; |
5 | 5 | margin: 0;
|
| 6 | + padding: 0; |
6 | 7 | display: inline-block;
|
7 | 8 | }
|
8 | 9 | .jsondiffpatch-delta pre {
|
9 | 10 | font-family: 'Outfit', sans-serif;
|
10 |
| - font-size: 16px; |
| 11 | + font-size: 14px; |
11 | 12 | margin: 0;
|
12 | 13 | padding: 0;
|
13 | 14 | display: inline-block;
|
14 | 15 | }
|
15 | 16 | ul.jsondiffpatch-delta {
|
16 | 17 | list-style-type: none;
|
17 |
| - padding: 0 0 0 20px; |
| 18 | + padding: 0 0 0 12px; |
18 | 19 | margin: 0;
|
19 | 20 | }
|
20 | 21 | .jsondiffpatch-delta ul {
|
21 | 22 | list-style-type: none;
|
22 |
| - padding: 0 0 0 20px; |
| 23 | + padding: 0 0 0 12px; |
23 | 24 | margin: 0;
|
24 | 25 | }
|
| 26 | + |
25 | 27 | .jsondiffpatch-added .jsondiffpatch-property-name,
|
26 | 28 | .jsondiffpatch-added .jsondiffpatch-value pre,
|
27 | 29 | .jsondiffpatch-modified .jsondiffpatch-right-value pre,
|
28 | 30 | .jsondiffpatch-textdiff-added {
|
29 |
| - background: #5a6c46; |
| 31 | + color: #14b8a6; |
30 | 32 | }
|
31 | 33 | .jsondiffpatch-deleted .jsondiffpatch-property-name,
|
32 | 34 | .jsondiffpatch-deleted pre,
|
33 | 35 | .jsondiffpatch-modified .jsondiffpatch-left-value pre,
|
34 | 36 | .jsondiffpatch-textdiff-deleted {
|
35 |
| - background: #fccdda; |
36 | 37 | text-decoration: line-through;
|
| 38 | + color: #dc2626; |
37 | 39 | }
|
38 |
| -.jsondiffpatch-unchanged, |
39 |
| -.jsondiffpatch-movedestination { |
40 |
| - color: #81929e; |
41 |
| -} |
42 |
| -.jsondiffpatch-unchanged, |
43 |
| -.jsondiffpatch-movedestination > .jsondiffpatch-value { |
44 |
| - transition: all 0.5s; |
45 |
| - -webkit-transition: all 0.5s; |
46 |
| - overflow-y: hidden; |
47 |
| -} |
48 |
| -.jsondiffpatch-unchanged-showing .jsondiffpatch-unchanged, |
49 |
| -.jsondiffpatch-unchanged-showing .jsondiffpatch-movedestination > .jsondiffpatch-value { |
50 |
| - max-height: 100px; |
51 |
| -} |
52 |
| -.jsondiffpatch-unchanged-hidden .jsondiffpatch-unchanged, |
53 |
| -.jsondiffpatch-unchanged-hidden .jsondiffpatch-movedestination > .jsondiffpatch-value { |
54 |
| - max-height: 0; |
55 |
| -} |
56 |
| -.jsondiffpatch-unchanged-hiding .jsondiffpatch-movedestination > .jsondiffpatch-value, |
57 |
| -.jsondiffpatch-unchanged-hidden .jsondiffpatch-movedestination > .jsondiffpatch-value { |
58 |
| - display: block; |
59 |
| -} |
60 |
| -.jsondiffpatch-unchanged-visible .jsondiffpatch-unchanged, |
61 |
| -.jsondiffpatch-unchanged-visible .jsondiffpatch-movedestination > .jsondiffpatch-value { |
62 |
| - max-height: 100px; |
63 |
| -} |
64 |
| -.jsondiffpatch-unchanged-hiding .jsondiffpatch-unchanged, |
65 |
| -.jsondiffpatch-unchanged-hiding .jsondiffpatch-movedestination > .jsondiffpatch-value { |
66 |
| - max-height: 0; |
67 |
| -} |
68 |
| -.jsondiffpatch-unchanged-showing .jsondiffpatch-arrow, |
69 |
| -.jsondiffpatch-unchanged-hiding .jsondiffpatch-arrow { |
70 |
| - display: none; |
71 |
| -} |
| 40 | + |
72 | 41 | .jsondiffpatch-value {
|
73 | 42 | display: inline-block;
|
74 | 43 | }
|
75 | 44 | .jsondiffpatch-property-name {
|
76 | 45 | display: inline-block;
|
77 |
| - padding-right: 5px; |
78 |
| - vertical-align: top; |
| 46 | + padding-right: 4px; |
79 | 47 | }
|
| 48 | + |
80 | 49 | .jsondiffpatch-property-name:after {
|
81 | 50 | content: ': ';
|
82 | 51 | }
|
83 |
| -.jsondiffpatch-child-node-type-array > .jsondiffpatch-property-name:after { |
84 |
| - content: ': ['; |
85 |
| -} |
86 |
| -.jsondiffpatch-child-node-type-array:after { |
87 |
| - content: '],'; |
88 |
| -} |
89 |
| -div.jsondiffpatch-child-node-type-array:before { |
90 |
| - content: '['; |
91 |
| -} |
92 |
| -div.jsondiffpatch-child-node-type-array:after { |
93 |
| - content: ']'; |
94 |
| -} |
95 |
| -.jsondiffpatch-child-node-type-object > .jsondiffpatch-property-name:after { |
96 |
| - content: ': {'; |
97 |
| -} |
98 |
| -.jsondiffpatch-child-node-type-object:after { |
99 |
| - content: '},'; |
100 |
| -} |
101 |
| -div.jsondiffpatch-child-node-type-object:before { |
102 |
| - content: '{'; |
103 |
| -} |
104 |
| -div.jsondiffpatch-child-node-type-object:after { |
105 |
| - content: '}'; |
106 |
| -} |
107 |
| -.jsondiffpatch-value pre:after { |
108 |
| - content: ','; |
109 |
| -} |
| 52 | + |
110 | 53 | li:last-child > .jsondiffpatch-value pre:after,
|
111 | 54 | .jsondiffpatch-modified > .jsondiffpatch-left-value pre:after {
|
112 | 55 | content: '';
|
113 | 56 | }
|
| 57 | + |
114 | 58 | .jsondiffpatch-modified .jsondiffpatch-value {
|
115 | 59 | display: inline-block;
|
116 | 60 | }
|
| 61 | + |
117 | 62 | .jsondiffpatch-modified .jsondiffpatch-right-value {
|
118 |
| - margin-left: 5px; |
119 |
| -} |
120 |
| -.jsondiffpatch-moved .jsondiffpatch-value { |
121 |
| - display: none; |
| 63 | + margin-left: 6px; |
122 | 64 | }
|
| 65 | + |
123 | 66 | .jsondiffpatch-moved .jsondiffpatch-moved-destination {
|
124 | 67 | display: inline-block;
|
125 |
| - background: #ffffbb; |
126 |
| - color: #888; |
| 68 | + color: #ffffbb; |
127 | 69 | }
|
| 70 | + |
128 | 71 | .jsondiffpatch-moved .jsondiffpatch-moved-destination:before {
|
129 | 72 | content: ' => ';
|
130 | 73 | }
|
131 |
| -ul.jsondiffpatch-textdiff { |
132 |
| - padding: 0; |
133 |
| -} |
| 74 | + |
134 | 75 | .jsondiffpatch-textdiff-location {
|
135 |
| - color: #bbb; |
| 76 | + color: #ffffbb; |
136 | 77 | display: inline-block;
|
137 | 78 | min-width: 60px;
|
138 | 79 | }
|
| 80 | + |
139 | 81 | .jsondiffpatch-textdiff-line {
|
140 | 82 | display: inline-block;
|
141 | 83 | }
|
| 84 | + |
142 | 85 | .jsondiffpatch-textdiff-line-number:after {
|
143 | 86 | content: ',';
|
144 | 87 | }
|
145 |
| -.jsondiffpatch-error { |
146 |
| - background: red; |
147 |
| - color: white; |
148 |
| - font-weight: bold; |
149 |
| -} |
0 commit comments