34ab240a2ec50697ad5c84e6a42f10851957f9d6
[fnpeditor.git] / modules / diffViewer / diffViewer.less
1 .rng-module-diffViewer {
2     .nav-tabs > li > a {
3         min-width: 0;
4         font-size: 0.9em;
5         padding: 4px 6px;
6     }
7     
8     .tab-content {
9         position: absolute;
10         top:0;
11         bottom:0;
12         left:0;
13         right:60px;
14         overflow-y: scroll;
15         &::-webkit-scrollbar {
16             .rng-mixin-scrollbar;
17         }
18         &::-webkit-scrollbar-track {
19             .rng-mixin-scrollbar-track;
20         }
21         &::-webkit-scrollbar-thumb {
22             .rng-mixin-scrollbar-thumb;
23         }
24         &::-webkit-scrollbar-thumb:window-inactive {
25             .rng-mixin-scrollbar-thumb-window-inactive;
26         }
27     }
28     
29     .diff_table {
30         border-width: 1px 0 1px 1px;
31         border-style: solid;
32         border-color: #ddd;
33         empty-cells: show;
34         border-spacing: 0px;
35     }
36
37     .diff_table td {
38         border-width: 0px 1px 1px 0px;
39         border-style: dotted;
40         border-color: grey;
41         font-size: 10px;
42         line-height: 20px;
43         font-family: monospace;
44         padding: 0px;
45         white-space: pre-line;
46         /*word-wrap:break-word;
47          word-break:break-all; */
48     }
49
50     .diff_table th {
51         border-width: 0px 1px 1px 0px;
52         border-style: solid;
53         border-color: #ddd;
54         background: #e5ffe5;
55     }
56
57     .diff_table tr.change {
58         background-color: #dcdcdc;
59     }
60
61     .diff_mark {
62         display: inline-block;
63         padding: 2px;
64     }
65
66     .diff_mark_removed {
67         background-color: #ff9c94;
68     }
69
70     .diff_mark_added {
71         background-color: #90ee90;
72     }
73
74     .diff_mark_changed {
75         background-color: yellow;
76     }
77 }