Annotate

style-hg.css @ 11:168c2affd4ab draft

style-hg.css: make commit message pop more.
author Trần H. Trung <xmpp:trần.h.trung@trung.fun>
date Sun, 30 Jul 2023 01:53:54 +0700
parent 0:2f78b9100113
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
1 body {
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
2 margin: 0;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
3 padding: 0;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
4 background: var(--color_background);
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
5 color: var(--color_foreground);
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
6 font-family: sans-serif;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
7 }
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
8
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
9 .container {
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
10 padding-left: 115px;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
11 }
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
12
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
13 /*
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
14 .main {
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
15 top: 20rem;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
16 }
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
17
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
18 #.main {
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
19 width: 98%;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
20 }
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
21 */
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
22
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
23 .overflow {
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
24 width: 100%;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
25 overflow: auto;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
26 }
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
27
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
28 /*.main>main { margin-left: 5rem !important; }*/
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
29
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
30 .menu {
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
31 margin-left: auto;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
32 /*margin-right: 5rem;*/
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
33 margin-bottom: auto;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
34 text-align: right;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
35 padding: 2rem;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
36 background: transparent;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
37 transition: background 0.5s ease-in-out;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
38 position: sticky;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
39 top: 17.4rem;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
40 flex-shrink: 12;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
41 }
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
42 .menu:hover { background: var(--color_background_main); }
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
43 .dd-hover.menu { position: sticky; }
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
44
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
45 @media (min-width: 960px) { body>.logo { display: none; } }
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
46 @media not (min-width: 960px) {
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
47 .menu { padding: 0.5rem; }
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
48 .menu>.logo { display: none; }
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
49 .menu>.dd-content { display: block !important; width: 0.25rem; }
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
50 body>.logo { display: block; }
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
51 main { margin-left: 1rem !important; }
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
52 }
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
53
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
54 .menu ul {
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
55 list-style: none;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
56 padding: 0;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
57 margin: 10px 0 0 0;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
58 border-right: 2px solid #999;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
59 }
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
60
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
61 .menu li {
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
62 margin-bottom: 3px;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
63 padding: 2px 4px;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
64 background: var(--color_background);
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
65 color: var(--color_foreground);
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
66 font-weight: normal;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
67 }
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
68
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
69 .menu li.active {
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
70 font-weight: bold;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
71 }
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
72
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
73 .menu img {
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
74 border: 0;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
75 }
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
76
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
77 div.atom-logo {
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
78 margin-top: 10px;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
79 }
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
80
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
81 .atom-logo img, .rss-logo img {
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
82 width: 14px;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
83 height: 14px;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
84 border: 0;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
85 }
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
86 img.atom-logo { filter: invert(100%); -webkit-filter: invert(100%); }
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
87
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
88 .menu a { color: var(--color_foreground); display: block; }
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
89
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
90 .search { text-align: center; }
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
91
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
92 form.search div#hint {
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
93 display: block;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
94 position: relative;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
95 margin: auto;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
96 width: 72%;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
97 padding: 1.4rem;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
98 background: var(--color_background_border);
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
99 text-align: center;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
100 border: 1px solid var(--color_heading_main);
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
101 border-radius: 5px;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
102 z-index: 15;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
103 }
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
104
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
105 a { text-decoration:none; }
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
106 .age { white-space:nowrap; }
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
107 .date { white-space:nowrap; }
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
108 .indexlinks { white-space:nowrap; }
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
109 .parity0,
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
110 .stripes4 > :nth-child(4n+1),
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
111 .stripes2 > :nth-child(2n+1) { background-color: var(--color_odd); }
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
112 .parity1,
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
113 .stripes4 > :nth-child(4n+3),
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
114 .stripes2 > :nth-child(2n+2) { background-color: var(--color_even); }
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
115 .plusline { color: green; }
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
116 .minusline { color: #dc143c; } /* crimson */
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
117 .atline { color: var(--color_heading_sub); }
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
118
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
119 .diffstat-table {
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
120 margin-top: 1em;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
121 }
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
122 .diffstat-file {
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
123 white-space: nowrap;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
124 font-size: 90%;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
125 }
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
126 .diffstat-total {
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
127 white-space: nowrap;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
128 font-size: 90%;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
129 }
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
130 .diffstat-graph {
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
131 width: 100%;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
132 }
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
133 .diffstat-add {
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
134 background-color: green;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
135 float: left;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
136 }
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
137 .diffstat-remove {
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
138 background-color: red;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
139 float: left;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
140 }
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
141
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
142 .navigate {
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
143 text-align: right;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
144 margin: 1em 0;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
145 }
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
146
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
147 .phase {
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
148 color: #999;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
149 font-size: 70%;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
150 border-bottom: 1px dotted #999;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
151 font-weight: normal;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
152 margin-left: .5em;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
153 vertical-align: baseline;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
154 }
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
155
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
156 .obsolete {
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
157 color: #999;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
158 font-size: 70%;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
159 border-bottom: 1px dashed #999;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
160 font-weight: normal;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
161 margin-left: .5em;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
162 vertical-align: baseline;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
163 }
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
164
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
165 .instability {
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
166 color: var(--color_foreground);
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
167 font-size: 70%;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
168 border-bottom: 1px solid #000;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
169 font-weight: normal;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
170 margin-left: .5em;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
171 vertical-align: baseline;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
172 }
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
173
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
174 .tag {
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
175 color: #999;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
176 font-size: 70%;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
177 font-weight: normal;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
178 margin-left: .5em;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
179 vertical-align: baseline;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
180 }
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
181
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
182 .branchhead {
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
183 color: var(--color_foreground);
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
184 font-size: 80%;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
185 font-weight: normal;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
186 margin-left: .5em;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
187 vertical-align: baseline;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
188 }
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
189
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
190 ul#graphnodes .branchhead {
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
191 font-size: 75%;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
192 }
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
193
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
194 .branchname {
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
195 color: var(--color_foreground);
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
196 font-size: 60%;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
197 font-weight: normal;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
198 margin-left: .5em;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
199 vertical-align: baseline;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
200 }
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
201
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
202 /* Common */
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
203 pre { font-family: 'FreeMono'; font-weight: bold; }
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
204 /*
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
205 pre { margin: 0; }
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
206
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
207 h2 { font-size: 120%; border-bottom: 1px solid #999; }
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
208 h2 a { color: var(--color_foreground); }
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
209 h3 {
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
210 margin-top: +.7em;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
211 font-size: 100%;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
212 }
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
213 */
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
214
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
215 /* log and tags tables */
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
216 .bigtable {
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
217 border-bottom: 1px solid #999;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
218 border-collapse: collapse;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
219 font-size: 90%;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
220 width: 100%;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
221 font-weight: normal;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
222 text-align: left;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
223 }
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
224
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
225 .bigtable td {
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
226 padding: 1px 4px;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
227 vertical-align: top;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
228 }
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
229
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
230 .bigtable th {
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
231 padding: 1px 4px;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
232 border-bottom: 1px solid #999;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
233 }
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
234 .bigtable tr { border: none; }
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
235 tr { background-color: var(--color_background_border); }
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
236 .bigtable .age { width: 7em; }
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
237 .bigtable .author { width: 15em; }
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
238 .bigtable .description { }
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
239 .bigtable .description .base { font-size: 70%; float: right; line-height: 1.66; }
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
240 .bigtable .node { width: 5em; font-family: monospace;}
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
241 .bigtable .permissions { width: 8em; text-align: left;}
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
242 .bigtable .size { width: 5em; text-align: right; }
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
243 .bigtable .annotate { text-align: right; }
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
244 .bigtable td.annotate { font-size: smaller; }
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
245 .bigtable td.source { font-size: inherit; }
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
246 tr.thisrev a { color:#999999; text-decoration: none; }
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
247 tr.thisrev td.source { color:#009900; }
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
248 td.annotate {
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
249 white-space: nowrap;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
250 }
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
251 div.annotate-info {
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
252 z-index: 5;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
253 display: none;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
254 position: absolute;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
255 background-color: var(--color_background);
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
256 border: 1px solid #999;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
257 text-align: left;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
258 color: var(--color_foreground);
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
259 padding: 5px;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
260 }
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
261 div.annotate-info a { color: var(--color_heading_main); }
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
262 td.annotate:hover div.annotate-info { display: inline; }
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
263
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
264 #diffopts-form {
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
265 font-size: smaller;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
266 color: var(--color_foreground);
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
267 padding-bottom: 10px;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
268 display: none;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
269 }
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
270
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
271 .source, .sourcefirst {
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
272 font-family: monospace;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
273 white-space: pre;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
274 padding: 1px 4px;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
275 font-size: 90%;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
276 }
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
277 .sourcefirst {
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
278 border-bottom: 1px solid #999;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
279 font-weight: bold;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
280 }
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
281 .source a { color: #999; font-size: smaller; font-family: monospace;}
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
282
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
283 .sourcelines {
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
284 position: relative;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
285 counter-reset: lineno;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
286 }
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
287
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
288 .wrap > span {
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
289 white-space: pre-wrap;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
290 }
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
291
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
292 .linewraptoggle {
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
293 float: right;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
294 }
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
295
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
296 .diffblocks {
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
297 counter-reset: lineno;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
298 }
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
299 .diffblocks > div {
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
300 font-family: 'FreeMono' !important;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
301 counter-increment: lineno;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
302 border: 1px solid #888;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
303 border-radius: 0.3125rem;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
304 margin-top: 0.5rem;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
305 }
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
306
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
307 .sourcelines > span {
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
308 display: inline-block;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
309 box-sizing: border-box;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
310 width: 100%;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
311 padding: 1px 0px 1px 5em;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
312 counter-increment: lineno;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
313 }
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
314
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
315 .sourcelines > span:before {
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
316 -moz-user-select: -moz-none;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
317 -khtml-user-select: none;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
318 -webkit-user-select: none;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
319 -ms-user-select: none;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
320 user-select: none;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
321 display: inline-block;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
322 margin-left: -6em;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
323 width: 4em;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
324 font-size: smaller;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
325 /*color: #999;*/
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
326 text-align: right;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
327 content: counters(lineno, ".");
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
328 float: left;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
329 }
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
330
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
331 .sourcelines > span:after {
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
332 content: '';
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
333 display: inline-block;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
334 }
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
335
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
336 .sourcelines > span:target, tr:target td {
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
337 background-color: #bfdfff;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
338 }
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
339
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
340 /* Followlines */
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
341 tbody.sourcelines > tr.followlines-selected,
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
342 pre.sourcelines > span.followlines-selected {
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
343 background-color: #99C7E9;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
344 }
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
345
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
346 div#followlines {
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
347 background-color: var(--color_background);
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
348 border: 1px solid #999;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
349 padding: 5px;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
350 position: fixed;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
351 }
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
352
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
353 div.followlines-cancel {
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
354 text-align: right;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
355 }
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
356
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
357 div.followlines-cancel > button {
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
358 line-height: 80%;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
359 padding: 0;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
360 border: 0;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
361 border-radius: 2px;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
362 background-color: inherit;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
363 font-weight: bold;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
364 }
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
365
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
366 div.followlines-cancel > button:hover {
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
367 color: var(--color_background);
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
368 background-color: #cc241d;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
369 }
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
370
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
371 div.followlines-link {
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
372 margin: 2px;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
373 margin-top: 4px;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
374 font-family: sans-serif;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
375 }
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
376
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
377 .btn-followlines {
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
378 position: absolute;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
379 display: none;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
380 cursor: pointer;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
381 box-sizing: content-box;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
382 font-size: 12px;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
383 width: 13px;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
384 height: 13px;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
385 border-radius: 3px;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
386 margin: 0px;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
387 margin-top: -2px;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
388 padding: 0px;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
389 background-color: #E5FDE5;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
390 border: 1px solid #9BC19B;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
391 font-family: monospace;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
392 text-align: center;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
393 line-height: 5px;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
394 }
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
395
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
396 span.followlines-select .btn-followlines {
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
397 margin-left: -1.5em;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
398 }
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
399
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
400 .btn-followlines:hover {
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
401 transform: scale(1.2, 1.2);
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
402 }
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
403
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
404 .btn-followlines .followlines-plus {
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
405 color: #98971a;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
406 }
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
407
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
408 .btn-followlines .followlines-minus {
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
409 color: #cc241d;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
410 }
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
411
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
412 .btn-followlines-end {
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
413 background-color: #ffdcdc;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
414 }
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
415
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
416 .sourcelines tr:hover .btn-followlines,
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
417 .sourcelines span.followlines-select:hover > .btn-followlines {
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
418 display: inline;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
419 }
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
420
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
421 .btn-followlines-hidden,
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
422 .sourcelines tr:hover .btn-followlines-hidden {
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
423 display: none;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
424 }
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
425
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
426 .sourcelines > a {
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
427 display: inline-block;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
428 position: absolute;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
429 left: 0px;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
430 width: 4em;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
431 height: 1em;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
432 }
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
433
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
434 .fileline { font-family: monospace; }
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
435 .fileline img { border: 0; }
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
436
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
437 .tagEntry .closed { color: var(--color_heading_sub); }
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
438
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
439 /* Changeset entry */
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
440 #changesetEntry {
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
441 border-collapse: collapse;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
442 width: 100%;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
443 margin-bottom: 1em;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
444 }
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
445
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
446 #changesetEntry th {
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
447 padding: 1px 4px;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
448 width: 4em;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
449 text-align: right;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
450 font-weight: normal;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
451 vertical-align: top;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
452 }
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
453
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
454 div.description {
11
168c2affd4ab style-hg.css: make commit message pop more.
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents: 0
diff changeset
455 border-left: 0.618rem solid var(--color_heading_main);
0
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
456 margin: 1em 0 1em 0;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
457 padding: .3em;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
458 white-space: pre;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
459 font-family: monospace;
11
168c2affd4ab style-hg.css: make commit message pop more.
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents: 0
diff changeset
460 background-color: var(--color_background);
168c2affd4ab style-hg.css: make commit message pop more.
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents: 0
diff changeset
461 box-shadow: 0.01rem 0.1rem 0.5rem 0.01rem black;
0
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
462 }
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
463
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
464 /* Graph */
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
465 div#wrapper {
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
466 position: relative;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
467 border-top: 1px solid black;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
468 border-bottom: 1px solid black;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
469 margin: 0;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
470 padding: 0;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
471 }
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
472
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
473 canvas {
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
474 position: absolute;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
475 z-index: 5;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
476 top: -0.7em;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
477 margin: 0;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
478 }
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
479
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
480 ul#graphnodes {
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
481 list-style: none inside none;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
482 padding: 0;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
483 margin: 0;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
484 }
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
485
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
486 ul#graphnodes li {
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
487 height: 39px;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
488 overflow: visible;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
489 }
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
490
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
491 ul#graphnodes li .fg {
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
492 position: absolute;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
493 z-index: 10;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
494 }
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
495
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
496 ul#graphnodes li .info {
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
497 font-size: 70%;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
498 }
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
499
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
500 /* Comparison */
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
501 .legend {
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
502 padding: 1.5% 0 1.5% 0;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
503 }
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
504
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
505 .legendinfo {
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
506 border: 1px solid #999;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
507 font-size: 80%;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
508 text-align: center;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
509 padding: 0.5%;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
510 }
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
511
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
512 .equal { background-color: var(--color_background_main); }
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
513
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
514 .delete {
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
515 background-color: var(--color_alert);
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
516 color: var(--color_background);
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
517 font-weight: bold;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
518 }
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
519
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
520 .insert {
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
521 background-color: var(--color_links);
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
522 color: var(--color_background);
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
523 font-weight: bold;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
524 }
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
525
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
526 .replace {
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
527 background-color: var(--color_heading_main);
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
528 color: var(--color_background);
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
529 font-weight: bold;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
530 }
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
531
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
532 .header {
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
533 text-align: center;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
534 }
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
535
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
536 .block {
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
537 border-top: 1px solid #999;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
538 }
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
539
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
540 .breadcrumb { color: gray; }
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
541
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
542 .scroll-loading {
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
543 -webkit-animation: change_color 1s linear 0s infinite alternate;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
544 -moz-animation: change_color 1s linear 0s infinite alternate;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
545 -o-animation: change_color 1s linear 0s infinite alternate;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
546 animation: change_color 1s linear 0s infinite alternate;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
547 }
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
548
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
549 @-webkit-keyframes change_color {
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
550 from { background-color: #A0CEFF; } to { }
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
551 }
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
552 @-moz-keyframes change_color {
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
553 from { background-color: #A0CEFF; } to { }
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
554 }
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
555 @-o-keyframes change_color {
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
556 from { background-color: #A0CEFF; } to { }
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
557 }
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
558 @keyframes change_color {
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
559 from { background-color: #A0CEFF; } to { }
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
560 }
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
561
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
562 .scroll-loading-error {
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
563 background-color: #FFCCCC !important;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
564 }
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
565
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
566 /* Fix main css */
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
567 img {
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
568 filter: none;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
569 }
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
570 .main>main {
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
571 width: auto !important;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
572 max-width: 100% !important;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
573 margin-top: 2rem !important;
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
574 }