* Readonly document view.
[redakcja.git] / platforma / static / css / history.css
1 #history-view {
2     overflow: auto;
3     position: absolute;
4     top: 30px; /* 0 for no toolbar, 30 for toolbar */
5     bottom: 0px;
6     left: 0px;
7     right: 0px;
8     z-index: 1;
9 }
10
11 /*
12  * File History
13  */
14 #changes-list-container {
15     margin: 1em auto;
16     width: 70%;
17 }
18
19 table#changes-list-container {
20     border-spacing: 0px 15px;
21 }
22
23 #changes-list {
24     margin: 0.5em 0.2em;
25 }
26
27 #changes-list td {
28     padding: 0.5em 1em;
29 }
30
31 #changes-list .entry {
32     position: relative;
33     padding: 0.5em;
34     padding-left: 3em;
35     margin: 0.5em;
36 }
37
38 #changes-list .entry:hover {
39     background-color: #f0f0f0;
40 }
41
42 #changes-list .entry.selected {
43     background-color: #ffec63;
44 }
45
46 #changes-list .tag {
47     display: inline-block;
48     visibility: hidden;
49     width: 60px;
50     margin: 0 0.5em 0 0;
51     font-size: 11px;
52     padding: 3px 2px;
53     text-align: center;
54     color: black;
55     background: #add8e6;
56     cursor: pointer;
57     vertical-align: middle;
58     -moz-border-radius: 10px;
59     -webkit-border-radius: 10px;
60     border-radius: 10px;
61 }
62
63 #changes-list .entry:hover .tag {
64     visibility: visible;
65 }
66
67 #changes-list .tag:hover {
68     background: #bde8f6;
69 }
70
71 #changes-list *[data-version-tag] {
72     visibility: visible;
73     border: 1px solid black;
74     color: black;
75 }
76
77 #changes-list *[data-stub-value =
78 'version'] {
79     font-weight: bold;
80 }
81
82 #changes-list td[data-stub-value =
83 'version'] {
84     vertical-align: text-top;
85 }
86
87 #changes-list *[data-stub-value =
88 'date'], #changes-list *[data-stub-value = 'author'] {
89     font-size: 11px;
90     color: gray;
91 }
92
93 /*
94  * Graphical DIFF view
95  *
96  */
97 #history-view .diff_table {
98     width: 90%;
99 }
100
101 .editor.DiffPerspective {
102     overflow-y: scroll;
103 }
104
105 .diff_table {
106     border-width: 1px;
107     border-style: solid;
108     border-color: black;
109     empty-cells: show;
110     border-spacing: 0px;
111 }
112
113 .diff_table td {
114     border-width: 0px 1px 1px 0px;
115     border-style: dotted;
116     border-color: grey;
117     font-size: 10px;
118     line-height: 20px;
119     font-family: monospace;
120     padding: 0px;
121     white-space: pre-line;
122     /*word-wrap:break-word;
123      word-break:break-all; */
124 }
125
126 .diff_table th {
127     border-width: 0px 1px 1px 0px;
128     border-style: solid;
129     border-color: black;
130     background: #e5ffe5;
131 }
132
133 /* .diff_table td.left, .diff_table td.right {
134  width: 50%;
135  }*/
136 .diff_table tr.change {
137     background-color: #dcdcdc;
138 }
139
140 .diff_mark {
141     display: inline-block;
142     padding: 2px;
143 }
144
145 .diff_mark_removed {
146     background-color: #ff9c94;
147 }
148
149 .diff_mark_added {
150     background-color: #90ee90;
151 }
152
153 .diff_mark_changed {
154     background-color: yellow;
155 }