annotate mercurial/templates/static/style-compact-paper.css @ 36722:b2c1a35d18f2 draft default tip

WIP: hgweb: add compact-paper style DONE: - new summary page looks good-ish - shortlog is reasonable looking - tags is reasonable looking - bookmarks is reasonable looking - branches is reasonable looking - help is reasonable looking - changeset is reasonable looking TODO: - convert other pages to use the same header - graph - browse
author Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
date Wed, 21 Feb 2018 16:40:41 -0500
parents mercurial/templates/static/style-paper.css@5afe0ca59b07
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
1 body {
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
2 margin: 0;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
3 padding: 0;
6661
d1a312daa574 hgweb: add paper style derived from coal
Matt Mackall <mpm@selenic.com>
parents: 6571
diff changeset
4 background: white;
26536
93a3687a94d7 hgweb: ensure both foreground and background colors are specified (issue4872)
Gijs Kruitbosch <gijskruitbosch@gmail.com>
parents: 26530
diff changeset
5 color: black;
6451
b79a56619504 coal: minor fixes
Matt Mackall <mpm@selenic.com>
parents: 6436
diff changeset
6 font-family: sans-serif;
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
7 }
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
8
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
9 .main {
6453
cb16217ff4d8 coal: more tweaking
Matt Mackall <mpm@selenic.com>
parents: 6452
diff changeset
10 position: relative;
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
11 background: white;
36722
b2c1a35d18f2 WIP: hgweb: add compact-paper style
Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
parents: 35529
diff changeset
12 padding: 1em 2em 2em 2em;
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
13 }
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
14
6864
105d8676a688 coal/paper: fixed box via an expression for IE < 7
rubik <ribik@sina.com>
parents: 6694
diff changeset
15 #.main {
105d8676a688 coal/paper: fixed box via an expression for IE < 7
rubik <ribik@sina.com>
parents: 6694
diff changeset
16 width: 98%;
105d8676a688 coal/paper: fixed box via an expression for IE < 7
rubik <ribik@sina.com>
parents: 6694
diff changeset
17 }
105d8676a688 coal/paper: fixed box via an expression for IE < 7
rubik <ribik@sina.com>
parents: 6694
diff changeset
18
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
19 .overflow {
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
20 width: 100%;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
21 overflow: auto;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
22 }
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
23
36722
b2c1a35d18f2 WIP: hgweb: add compact-paper style
Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
parents: 35529
diff changeset
24 .logo {
b2c1a35d18f2 WIP: hgweb: add compact-paper style
Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
parents: 35529
diff changeset
25 display: inline-block;
b2c1a35d18f2 WIP: hgweb: add compact-paper style
Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
parents: 35529
diff changeset
26 float: left;
b2c1a35d18f2 WIP: hgweb: add compact-paper style
Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
parents: 35529
diff changeset
27 padding-right: 1em;
b2c1a35d18f2 WIP: hgweb: add compact-paper style
Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
parents: 35529
diff changeset
28 }
b2c1a35d18f2 WIP: hgweb: add compact-paper style
Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
parents: 35529
diff changeset
29
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
30 .menu {
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
31 margin: 0;
6463
5e011a402352 coal: more tweaks
Matt Mackall <mpm@selenic.com>
parents: 6454
diff changeset
32 font-size: 80%;
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
33 text-align: left;
36722
b2c1a35d18f2 WIP: hgweb: add compact-paper style
Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
parents: 35529
diff changeset
34 display: inline-block;
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
35 }
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
36
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
37 .menu ul {
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
38 list-style: none;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
39 padding: 0;
36722
b2c1a35d18f2 WIP: hgweb: add compact-paper style
Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
parents: 35529
diff changeset
40 margin: 0 1em 0 0;
b2c1a35d18f2 WIP: hgweb: add compact-paper style
Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
parents: 35529
diff changeset
41 border: none;
b2c1a35d18f2 WIP: hgweb: add compact-paper style
Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
parents: 35529
diff changeset
42 display: inline-flex;
b2c1a35d18f2 WIP: hgweb: add compact-paper style
Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
parents: 35529
diff changeset
43 flex-direction: row;
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
44 }
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
45
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
46 .menu li {
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
47 margin-bottom: 3px;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
48 padding: 2px 4px;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
49 background: white;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
50 color: black;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
51 font-weight: normal;
36722
b2c1a35d18f2 WIP: hgweb: add compact-paper style
Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
parents: 35529
diff changeset
52 display: inline;
b2c1a35d18f2 WIP: hgweb: add compact-paper style
Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
parents: 35529
diff changeset
53 width: auto;
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
54 }
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
55
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
56 .menu li.active {
6661
d1a312daa574 hgweb: add paper style derived from coal
Matt Mackall <mpm@selenic.com>
parents: 6571
diff changeset
57 font-weight: bold;
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
58 }
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
59
8509
5cd232ebc317 coal/paper: minimize whitespace differences in CSS files
Martin Geisler <mg@lazybytes.net>
parents: 8508
diff changeset
60 .menu img {
7725
6a888d491eaf coal/paper: switch to XHTML 1.1
Benoit Allard <benoit@aeteurope.nl>
parents: 7410
diff changeset
61 width: 75px;
6a888d491eaf coal/paper: switch to XHTML 1.1
Benoit Allard <benoit@aeteurope.nl>
parents: 7410
diff changeset
62 height: 90px;
6a888d491eaf coal/paper: switch to XHTML 1.1
Benoit Allard <benoit@aeteurope.nl>
parents: 7410
diff changeset
63 border: 0;
6a888d491eaf coal/paper: switch to XHTML 1.1
Benoit Allard <benoit@aeteurope.nl>
parents: 7410
diff changeset
64 }
6a888d491eaf coal/paper: switch to XHTML 1.1
Benoit Allard <benoit@aeteurope.nl>
parents: 7410
diff changeset
65
6463
5e011a402352 coal: more tweaks
Matt Mackall <mpm@selenic.com>
parents: 6454
diff changeset
66 .menu a { color: black; display: block; }
5e011a402352 coal: more tweaks
Matt Mackall <mpm@selenic.com>
parents: 6454
diff changeset
67
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
68 .search {
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
69 position: absolute;
36722
b2c1a35d18f2 WIP: hgweb: add compact-paper style
Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
parents: 35529
diff changeset
70 top: .4em;
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
71 right: 2em;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
72 }
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
73
36722
b2c1a35d18f2 WIP: hgweb: add compact-paper style
Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
parents: 35529
diff changeset
74 .spacer {
b2c1a35d18f2 WIP: hgweb: add compact-paper style
Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
parents: 35529
diff changeset
75 padding-top: 1em;
b2c1a35d18f2 WIP: hgweb: add compact-paper style
Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
parents: 35529
diff changeset
76 }
b2c1a35d18f2 WIP: hgweb: add compact-paper style
Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
parents: 35529
diff changeset
77
7725
6a888d491eaf coal/paper: switch to XHTML 1.1
Benoit Allard <benoit@aeteurope.nl>
parents: 7410
diff changeset
78 form.search div#hint {
7299
288dda59233c coal/paper: show a search tip when hovering over search box
Benoit Allard <benoit@aeteurope.nl>
parents: 7181
diff changeset
79 display: none;
288dda59233c coal/paper: show a search tip when hovering over search box
Benoit Allard <benoit@aeteurope.nl>
parents: 7181
diff changeset
80 position: absolute;
288dda59233c coal/paper: show a search tip when hovering over search box
Benoit Allard <benoit@aeteurope.nl>
parents: 7181
diff changeset
81 top: 40px;
288dda59233c coal/paper: show a search tip when hovering over search box
Benoit Allard <benoit@aeteurope.nl>
parents: 7181
diff changeset
82 right: 0px;
288dda59233c coal/paper: show a search tip when hovering over search box
Benoit Allard <benoit@aeteurope.nl>
parents: 7181
diff changeset
83 width: 190px;
288dda59233c coal/paper: show a search tip when hovering over search box
Benoit Allard <benoit@aeteurope.nl>
parents: 7181
diff changeset
84 padding: 5px;
288dda59233c coal/paper: show a search tip when hovering over search box
Benoit Allard <benoit@aeteurope.nl>
parents: 7181
diff changeset
85 background: #ffc;
288dda59233c coal/paper: show a search tip when hovering over search box
Benoit Allard <benoit@aeteurope.nl>
parents: 7181
diff changeset
86 font-size: 70%;
288dda59233c coal/paper: show a search tip when hovering over search box
Benoit Allard <benoit@aeteurope.nl>
parents: 7181
diff changeset
87 border: 1px solid yellow;
26530
52642e12e7b3 hgweb: fix border-radius for standards-based browsers
Gijs Kruitbosch <gijskruitbosch@gmail.com>
parents: 26245
diff changeset
88 border-radius: 5px;
7299
288dda59233c coal/paper: show a search tip when hovering over search box
Benoit Allard <benoit@aeteurope.nl>
parents: 7181
diff changeset
89 }
288dda59233c coal/paper: show a search tip when hovering over search box
Benoit Allard <benoit@aeteurope.nl>
parents: 7181
diff changeset
90
7725
6a888d491eaf coal/paper: switch to XHTML 1.1
Benoit Allard <benoit@aeteurope.nl>
parents: 7410
diff changeset
91 form.search:hover div#hint { display: block; }
7299
288dda59233c coal/paper: show a search tip when hovering over search box
Benoit Allard <benoit@aeteurope.nl>
parents: 7181
diff changeset
92
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
93 a { text-decoration:none; }
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
94 .age { white-space:nowrap; }
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
95 .date { white-space:nowrap; }
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
96 .indexlinks { white-space:nowrap; }
19431
b8ecc3830c89 hgweb: introduce separate classes for stripey background
Alexander Plavin <me@aplavin.ru>
parents: 19430
diff changeset
97 .parity0,
b8ecc3830c89 hgweb: introduce separate classes for stripey background
Alexander Plavin <me@aplavin.ru>
parents: 19430
diff changeset
98 .stripes4 > :nth-child(4n+1),
b8ecc3830c89 hgweb: introduce separate classes for stripey background
Alexander Plavin <me@aplavin.ru>
parents: 19430
diff changeset
99 .stripes2 > :nth-child(2n+1) { background-color: #f0f0f0; }
b8ecc3830c89 hgweb: introduce separate classes for stripey background
Alexander Plavin <me@aplavin.ru>
parents: 19430
diff changeset
100 .parity1,
b8ecc3830c89 hgweb: introduce separate classes for stripey background
Alexander Plavin <me@aplavin.ru>
parents: 19430
diff changeset
101 .stripes4 > :nth-child(4n+3),
b8ecc3830c89 hgweb: introduce separate classes for stripey background
Alexander Plavin <me@aplavin.ru>
parents: 19430
diff changeset
102 .stripes2 > :nth-child(2n+2) { background-color: white; }
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
103 .plusline { color: green; }
7340
06a6942554dc hgweb: improve color discrimination for paper and coal
Matt Mackall <mpm@selenic.com>
parents: 7327
diff changeset
104 .minusline { color: #dc143c; } /* crimson */
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
105 .atline { color: purple; }
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
106
24042
bf661a03fddc hgweb: use css margin instead of empty <p> before diffstat table
Anton Shestakov <engored@ya.ru>
parents: 24041
diff changeset
107 .diffstat-table {
bf661a03fddc hgweb: use css margin instead of empty <p> before diffstat table
Anton Shestakov <engored@ya.ru>
parents: 24041
diff changeset
108 margin-top: 1em;
bf661a03fddc hgweb: use css margin instead of empty <p> before diffstat table
Anton Shestakov <engored@ya.ru>
parents: 24041
diff changeset
109 }
14563
81fc9678b018 paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents: 13961
diff changeset
110 .diffstat-file {
81fc9678b018 paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents: 13961
diff changeset
111 white-space: nowrap;
81fc9678b018 paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents: 13961
diff changeset
112 font-size: 90%;
81fc9678b018 paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents: 13961
diff changeset
113 }
81fc9678b018 paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents: 13961
diff changeset
114 .diffstat-total {
81fc9678b018 paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents: 13961
diff changeset
115 white-space: nowrap;
81fc9678b018 paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents: 13961
diff changeset
116 font-size: 90%;
81fc9678b018 paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents: 13961
diff changeset
117 }
81fc9678b018 paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents: 13961
diff changeset
118 .diffstat-graph {
81fc9678b018 paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents: 13961
diff changeset
119 width: 100%;
81fc9678b018 paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents: 13961
diff changeset
120 }
81fc9678b018 paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents: 13961
diff changeset
121 .diffstat-add {
81fc9678b018 paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents: 13961
diff changeset
122 background-color: green;
81fc9678b018 paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents: 13961
diff changeset
123 float: left;
81fc9678b018 paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents: 13961
diff changeset
124 }
81fc9678b018 paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents: 13961
diff changeset
125 .diffstat-remove {
81fc9678b018 paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents: 13961
diff changeset
126 background-color: red;
81fc9678b018 paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents: 13961
diff changeset
127 float: left;
81fc9678b018 paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents: 13961
diff changeset
128 }
81fc9678b018 paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents: 13961
diff changeset
129
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
130 .navigate {
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
131 text-align: right;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
132 font-size: 60%;
8506
93a9f4a0e361 coal/paper: simplify margin and padding CSS rules
Martin Geisler <mg@lazybytes.net>
parents: 7725
diff changeset
133 margin: 1em 0;
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
134 }
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
135
35063
a1de4ffaa7a8 hgweb: show commit phase if it's not public
Anton Shestakov <av6@dwimlabs.net>
parents: 35024
diff changeset
136 .phase {
a1de4ffaa7a8 hgweb: show commit phase if it's not public
Anton Shestakov <av6@dwimlabs.net>
parents: 35024
diff changeset
137 color: #999;
a1de4ffaa7a8 hgweb: show commit phase if it's not public
Anton Shestakov <av6@dwimlabs.net>
parents: 35024
diff changeset
138 font-size: 70%;
a1de4ffaa7a8 hgweb: show commit phase if it's not public
Anton Shestakov <av6@dwimlabs.net>
parents: 35024
diff changeset
139 border-bottom: 1px dotted #999;
a1de4ffaa7a8 hgweb: show commit phase if it's not public
Anton Shestakov <av6@dwimlabs.net>
parents: 35024
diff changeset
140 font-weight: normal;
a1de4ffaa7a8 hgweb: show commit phase if it's not public
Anton Shestakov <av6@dwimlabs.net>
parents: 35024
diff changeset
141 margin-left: .5em;
a1de4ffaa7a8 hgweb: show commit phase if it's not public
Anton Shestakov <av6@dwimlabs.net>
parents: 35024
diff changeset
142 vertical-align: baseline;
a1de4ffaa7a8 hgweb: show commit phase if it's not public
Anton Shestakov <av6@dwimlabs.net>
parents: 35024
diff changeset
143 }
a1de4ffaa7a8 hgweb: show commit phase if it's not public
Anton Shestakov <av6@dwimlabs.net>
parents: 35024
diff changeset
144
35087
69ea10d5b00c hgweb: show obsolescence status of a commit
Anton Shestakov <av6@dwimlabs.net>
parents: 35063
diff changeset
145 .obsolete {
69ea10d5b00c hgweb: show obsolescence status of a commit
Anton Shestakov <av6@dwimlabs.net>
parents: 35063
diff changeset
146 color: #999;
69ea10d5b00c hgweb: show obsolescence status of a commit
Anton Shestakov <av6@dwimlabs.net>
parents: 35063
diff changeset
147 font-size: 70%;
69ea10d5b00c hgweb: show obsolescence status of a commit
Anton Shestakov <av6@dwimlabs.net>
parents: 35063
diff changeset
148 border-bottom: 1px dashed #999;
69ea10d5b00c hgweb: show obsolescence status of a commit
Anton Shestakov <av6@dwimlabs.net>
parents: 35063
diff changeset
149 font-weight: normal;
69ea10d5b00c hgweb: show obsolescence status of a commit
Anton Shestakov <av6@dwimlabs.net>
parents: 35063
diff changeset
150 margin-left: .5em;
69ea10d5b00c hgweb: show obsolescence status of a commit
Anton Shestakov <av6@dwimlabs.net>
parents: 35063
diff changeset
151 vertical-align: baseline;
69ea10d5b00c hgweb: show obsolescence status of a commit
Anton Shestakov <av6@dwimlabs.net>
parents: 35063
diff changeset
152 }
69ea10d5b00c hgweb: show obsolescence status of a commit
Anton Shestakov <av6@dwimlabs.net>
parents: 35063
diff changeset
153
35092
38fe3fe4bbb6 hgweb: show instabilities of a commit
Anton Shestakov <av6@dwimlabs.net>
parents: 35087
diff changeset
154 .instability {
38fe3fe4bbb6 hgweb: show instabilities of a commit
Anton Shestakov <av6@dwimlabs.net>
parents: 35087
diff changeset
155 color: #000;
38fe3fe4bbb6 hgweb: show instabilities of a commit
Anton Shestakov <av6@dwimlabs.net>
parents: 35087
diff changeset
156 font-size: 70%;
38fe3fe4bbb6 hgweb: show instabilities of a commit
Anton Shestakov <av6@dwimlabs.net>
parents: 35087
diff changeset
157 border-bottom: 1px solid #000;
38fe3fe4bbb6 hgweb: show instabilities of a commit
Anton Shestakov <av6@dwimlabs.net>
parents: 35087
diff changeset
158 font-weight: normal;
38fe3fe4bbb6 hgweb: show instabilities of a commit
Anton Shestakov <av6@dwimlabs.net>
parents: 35087
diff changeset
159 margin-left: .5em;
38fe3fe4bbb6 hgweb: show instabilities of a commit
Anton Shestakov <av6@dwimlabs.net>
parents: 35087
diff changeset
160 vertical-align: baseline;
38fe3fe4bbb6 hgweb: show instabilities of a commit
Anton Shestakov <av6@dwimlabs.net>
parents: 35087
diff changeset
161 }
38fe3fe4bbb6 hgweb: show instabilities of a commit
Anton Shestakov <av6@dwimlabs.net>
parents: 35087
diff changeset
162
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
163 .tag {
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
164 color: #999;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
165 font-size: 70%;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
166 font-weight: normal;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
167 margin-left: .5em;
6571
e6f71ca3de8a coal: fix CSS errors as reported by Firefox
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6463
diff changeset
168 vertical-align: baseline;
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
169 }
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
170
7407
7b2a77b20964 coal/paper: display branch names in log
Benoit Allard <benoit@aeteurope.nl>
parents: 7394
diff changeset
171 .branchhead {
7b2a77b20964 coal/paper: display branch names in log
Benoit Allard <benoit@aeteurope.nl>
parents: 7394
diff changeset
172 color: #000;
7b2a77b20964 coal/paper: display branch names in log
Benoit Allard <benoit@aeteurope.nl>
parents: 7394
diff changeset
173 font-size: 80%;
7b2a77b20964 coal/paper: display branch names in log
Benoit Allard <benoit@aeteurope.nl>
parents: 7394
diff changeset
174 font-weight: normal;
7b2a77b20964 coal/paper: display branch names in log
Benoit Allard <benoit@aeteurope.nl>
parents: 7394
diff changeset
175 margin-left: .5em;
7b2a77b20964 coal/paper: display branch names in log
Benoit Allard <benoit@aeteurope.nl>
parents: 7394
diff changeset
176 vertical-align: baseline;
7b2a77b20964 coal/paper: display branch names in log
Benoit Allard <benoit@aeteurope.nl>
parents: 7394
diff changeset
177 }
7b2a77b20964 coal/paper: display branch names in log
Benoit Allard <benoit@aeteurope.nl>
parents: 7394
diff changeset
178
7408
f031a12dfc31 coal/paper/monoblue: show branch names in hgweb graph
Benoit Allard <benoit@aeteurope.nl>
parents: 7407
diff changeset
179 ul#graphnodes .branchhead {
f031a12dfc31 coal/paper/monoblue: show branch names in hgweb graph
Benoit Allard <benoit@aeteurope.nl>
parents: 7407
diff changeset
180 font-size: 75%;
f031a12dfc31 coal/paper/monoblue: show branch names in hgweb graph
Benoit Allard <benoit@aeteurope.nl>
parents: 7407
diff changeset
181 }
f031a12dfc31 coal/paper/monoblue: show branch names in hgweb graph
Benoit Allard <benoit@aeteurope.nl>
parents: 7407
diff changeset
182
7407
7b2a77b20964 coal/paper: display branch names in log
Benoit Allard <benoit@aeteurope.nl>
parents: 7394
diff changeset
183 .branchname {
7b2a77b20964 coal/paper: display branch names in log
Benoit Allard <benoit@aeteurope.nl>
parents: 7394
diff changeset
184 color: #000;
10575
136eed1ac69c trailing spaces (and one stray tab)
Thomas Arendsen Hein <thomas@intevation.de>
parents: 9999
diff changeset
185 font-size: 60%;
7407
7b2a77b20964 coal/paper: display branch names in log
Benoit Allard <benoit@aeteurope.nl>
parents: 7394
diff changeset
186 font-weight: normal;
7b2a77b20964 coal/paper: display branch names in log
Benoit Allard <benoit@aeteurope.nl>
parents: 7394
diff changeset
187 margin-left: .5em;
7b2a77b20964 coal/paper: display branch names in log
Benoit Allard <benoit@aeteurope.nl>
parents: 7394
diff changeset
188 vertical-align: baseline;
7b2a77b20964 coal/paper: display branch names in log
Benoit Allard <benoit@aeteurope.nl>
parents: 7394
diff changeset
189 }
7b2a77b20964 coal/paper: display branch names in log
Benoit Allard <benoit@aeteurope.nl>
parents: 7394
diff changeset
190
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
191 /* Common */
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
192 pre { margin: 0; }
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
193
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
194 h2 { font-size: 120%; border-bottom: 1px solid #999; }
7314
a0843c82d1a2 coal/paper: link repo name to hgweb root
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 7313
diff changeset
195 h2 a { color: #000; }
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
196 h3 {
20626
9096f83f9e7c paper: overlapping of section title on help pages (issue4051)
anuraggoel <anurag.dsps@gmail.com>
parents: 19762
diff changeset
197 margin-top: +.7em;
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
198 font-size: 100%;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
199 }
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
200
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
201 /* log and tags tables */
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
202 .bigtable {
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
203 border-bottom: 1px solid #999;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
204 border-collapse: collapse;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
205 font-size: 90%;
7327
a1758089ee35 Kill trailing whitespace in templates
Thomas Arendsen Hein <thomas@intevation.de>
parents: 7314
diff changeset
206 width: 100%;
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
207 font-weight: normal;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
208 text-align: left;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
209 }
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
210
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
211 .bigtable td {
35464
6915f6a40283 paper: minor adjustments to table styles
Anton Shestakov <av6@dwimlabs.net>
parents: 35201
diff changeset
212 padding: 1px 4px;
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
213 vertical-align: top;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
214 }
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
215
7327
a1758089ee35 Kill trailing whitespace in templates
Thomas Arendsen Hein <thomas@intevation.de>
parents: 7314
diff changeset
216 .bigtable th {
8506
93a9f4a0e361 coal/paper: simplify margin and padding CSS rules
Martin Geisler <mg@lazybytes.net>
parents: 7725
diff changeset
217 padding: 1px 4px;
7327
a1758089ee35 Kill trailing whitespace in templates
Thomas Arendsen Hein <thomas@intevation.de>
parents: 7314
diff changeset
218 border-bottom: 1px solid #999;
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
219 }
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
220 .bigtable tr { border: none; }
9721
1d75c683ada1 templater: put 'ago' inside the age template filter
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8713
diff changeset
221 .bigtable .age { width: 7em; }
18664
30d899febef8 hgweb: consistent author name width
Dan Villiom Podlaski Christiansen <danchr@gmail.com>
parents: 18258
diff changeset
222 .bigtable .author { width: 15em; }
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
223 .bigtable .description { }
13850
1209e1d52b68 hgweb: add base link to file log for paper and coal styles (issue2452)
Kevin Gessner <kevin@fogcreek.com>
parents: 10575
diff changeset
224 .bigtable .description .base { font-size: 70%; float: right; line-height: 1.66; }
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
225 .bigtable .node { width: 5em; font-family: monospace;}
6452
d93f2f39bef4 coal: more tweaks
Matt Mackall <mpm@selenic.com>
parents: 6451
diff changeset
226 .bigtable .permissions { width: 8em; text-align: left;}
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
227 .bigtable .size { width: 5em; text-align: right; }
6571
e6f71ca3de8a coal: fix CSS errors as reported by Firefox
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6463
diff changeset
228 .bigtable .annotate { text-align: right; }
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
229 .bigtable td.annotate { font-size: smaller; }
7394
03b60f2f90bf hgweb (coal/paper): make file, diff and annotate easier to render
Brendan Cully <brendan@kublai.com>
parents: 7340
diff changeset
230 .bigtable td.source { font-size: inherit; }
29387
6b77adc2c7b5 hgweb: highlight data of the current revision in annotate view
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 26599
diff changeset
231 tr.thisrev a { color:#999999; text-decoration: none; }
6b77adc2c7b5 hgweb: highlight data of the current revision in annotate view
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 26599
diff changeset
232 tr.thisrev td.source { color:#009900; }
30074
8f34e217338b hgweb: avoid line wrap between revision and annotate-info (issue5398)
Tooru Fujisawa <arai.unmht@gmail.com>
parents: 29625
diff changeset
233 td.annotate {
8f34e217338b hgweb: avoid line wrap between revision and annotate-info (issue5398)
Tooru Fujisawa <arai.unmht@gmail.com>
parents: 29625
diff changeset
234 white-space: nowrap;
8f34e217338b hgweb: avoid line wrap between revision and annotate-info (issue5398)
Tooru Fujisawa <arai.unmht@gmail.com>
parents: 29625
diff changeset
235 }
29522
9c37df347485 hgweb: add link to parents of annotated revision in annotate view
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 29387
diff changeset
236 div.annotate-info {
33390
32331f54930c hgweb: re-implement followlines UI selection using buttons
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 32994
diff changeset
237 z-index: 5;
29522
9c37df347485 hgweb: add link to parents of annotated revision in annotate view
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 29387
diff changeset
238 display: none;
9c37df347485 hgweb: add link to parents of annotated revision in annotate view
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 29387
diff changeset
239 position: absolute;
9c37df347485 hgweb: add link to parents of annotated revision in annotate view
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 29387
diff changeset
240 background-color: #FFFFFF;
29625
6e4da488f955 paper: make annotate popup use theme colors
Anton Shestakov <av6@dwimlabs.net>
parents: 29522
diff changeset
241 border: 1px solid #999;
29522
9c37df347485 hgweb: add link to parents of annotated revision in annotate view
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 29387
diff changeset
242 text-align: left;
9c37df347485 hgweb: add link to parents of annotated revision in annotate view
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 29387
diff changeset
243 color: #000000;
9c37df347485 hgweb: add link to parents of annotated revision in annotate view
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 29387
diff changeset
244 padding: 5px;
9c37df347485 hgweb: add link to parents of annotated revision in annotate view
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 29387
diff changeset
245 }
9c37df347485 hgweb: add link to parents of annotated revision in annotate view
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 29387
diff changeset
246 div.annotate-info a { color: #0000FF; }
9c37df347485 hgweb: add link to parents of annotated revision in annotate view
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 29387
diff changeset
247 td.annotate:hover div.annotate-info { display: inline; }
7394
03b60f2f90bf hgweb (coal/paper): make file, diff and annotate easier to render
Brendan Cully <brendan@kublai.com>
parents: 7340
diff changeset
248
34391
6797f1fbc642 hgweb: add HTML elements to control whitespace settings for annotate
Gregory Szorc <gregory.szorc@gmail.com>
parents: 33390
diff changeset
249 #diffopts-form {
6797f1fbc642 hgweb: add HTML elements to control whitespace settings for annotate
Gregory Szorc <gregory.szorc@gmail.com>
parents: 33390
diff changeset
250 font-size: smaller;
6797f1fbc642 hgweb: add HTML elements to control whitespace settings for annotate
Gregory Szorc <gregory.szorc@gmail.com>
parents: 33390
diff changeset
251 color: #424242;
6797f1fbc642 hgweb: add HTML elements to control whitespace settings for annotate
Gregory Szorc <gregory.szorc@gmail.com>
parents: 33390
diff changeset
252 padding-bottom: 10px;
6797f1fbc642 hgweb: add HTML elements to control whitespace settings for annotate
Gregory Szorc <gregory.szorc@gmail.com>
parents: 33390
diff changeset
253 display: none;
6797f1fbc642 hgweb: add HTML elements to control whitespace settings for annotate
Gregory Szorc <gregory.szorc@gmail.com>
parents: 33390
diff changeset
254 }
6797f1fbc642 hgweb: add HTML elements to control whitespace settings for annotate
Gregory Szorc <gregory.szorc@gmail.com>
parents: 33390
diff changeset
255
26245
d53212d70893 hgweb: replace .sourcelast with .bottomline that does the same
Anton Shestakov <av6@dwimlabs.net>
parents: 24427
diff changeset
256 .source, .sourcefirst {
7394
03b60f2f90bf hgweb (coal/paper): make file, diff and annotate easier to render
Brendan Cully <brendan@kublai.com>
parents: 7340
diff changeset
257 font-family: monospace;
03b60f2f90bf hgweb (coal/paper): make file, diff and annotate easier to render
Brendan Cully <brendan@kublai.com>
parents: 7340
diff changeset
258 white-space: pre;
8508
8c5e32a4f2f9 coal/paper: equal heights for file and annotate views
Martin Geisler <mg@lazybytes.net>
parents: 8506
diff changeset
259 padding: 1px 4px;
7394
03b60f2f90bf hgweb (coal/paper): make file, diff and annotate easier to render
Brendan Cully <brendan@kublai.com>
parents: 7340
diff changeset
260 font-size: 90%;
03b60f2f90bf hgweb (coal/paper): make file, diff and annotate easier to render
Brendan Cully <brendan@kublai.com>
parents: 7340
diff changeset
261 }
8508
8c5e32a4f2f9 coal/paper: equal heights for file and annotate views
Martin Geisler <mg@lazybytes.net>
parents: 8506
diff changeset
262 .sourcefirst { border-bottom: 1px solid #999; font-weight: bold; }
7394
03b60f2f90bf hgweb (coal/paper): make file, diff and annotate easier to render
Brendan Cully <brendan@kublai.com>
parents: 7340
diff changeset
263 .source a { color: #999; font-size: smaller; font-family: monospace;}
03b60f2f90bf hgweb (coal/paper): make file, diff and annotate easier to render
Brendan Cully <brendan@kublai.com>
parents: 7340
diff changeset
264 .bottomline { border-bottom: 1px solid #999; }
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
265
19387
f2e4fdb3dd27 hgweb: code selection without line numbers in file source view
Alexander Plavin <me@aplavin.ru>
parents: 18664
diff changeset
266 .sourcelines {
f2e4fdb3dd27 hgweb: code selection without line numbers in file source view
Alexander Plavin <me@aplavin.ru>
parents: 18664
diff changeset
267 font-size: 90%;
f2e4fdb3dd27 hgweb: code selection without line numbers in file source view
Alexander Plavin <me@aplavin.ru>
parents: 18664
diff changeset
268 position: relative;
19432
e92d4b8530cb hgweb: file diff and changesets views behave like file source view
Alexander Plavin <me@aplavin.ru>
parents: 19431
diff changeset
269 counter-reset: lineno;
19387
f2e4fdb3dd27 hgweb: code selection without line numbers in file source view
Alexander Plavin <me@aplavin.ru>
parents: 18664
diff changeset
270 }
f2e4fdb3dd27 hgweb: code selection without line numbers in file source view
Alexander Plavin <me@aplavin.ru>
parents: 18664
diff changeset
271
19430
5ec5097b4c0f hgweb: add line wrapping switch to file source view
Alexander Plavin <me@aplavin.ru>
parents: 19389
diff changeset
272 .wrap > span {
5ec5097b4c0f hgweb: add line wrapping switch to file source view
Alexander Plavin <me@aplavin.ru>
parents: 19389
diff changeset
273 white-space: pre-wrap;
5ec5097b4c0f hgweb: add line wrapping switch to file source view
Alexander Plavin <me@aplavin.ru>
parents: 19389
diff changeset
274 }
5ec5097b4c0f hgweb: add line wrapping switch to file source view
Alexander Plavin <me@aplavin.ru>
parents: 19389
diff changeset
275
5ec5097b4c0f hgweb: add line wrapping switch to file source view
Alexander Plavin <me@aplavin.ru>
parents: 19389
diff changeset
276 .linewraptoggle {
5ec5097b4c0f hgweb: add line wrapping switch to file source view
Alexander Plavin <me@aplavin.ru>
parents: 19389
diff changeset
277 float: right;
5ec5097b4c0f hgweb: add line wrapping switch to file source view
Alexander Plavin <me@aplavin.ru>
parents: 19389
diff changeset
278 }
5ec5097b4c0f hgweb: add line wrapping switch to file source view
Alexander Plavin <me@aplavin.ru>
parents: 19389
diff changeset
279
19432
e92d4b8530cb hgweb: file diff and changesets views behave like file source view
Alexander Plavin <me@aplavin.ru>
parents: 19431
diff changeset
280 .diffblocks { counter-reset: lineno; }
e92d4b8530cb hgweb: file diff and changesets views behave like file source view
Alexander Plavin <me@aplavin.ru>
parents: 19431
diff changeset
281 .diffblocks > div { counter-increment: lineno; }
e92d4b8530cb hgweb: file diff and changesets views behave like file source view
Alexander Plavin <me@aplavin.ru>
parents: 19431
diff changeset
282
19387
f2e4fdb3dd27 hgweb: code selection without line numbers in file source view
Alexander Plavin <me@aplavin.ru>
parents: 18664
diff changeset
283 .sourcelines > span {
f2e4fdb3dd27 hgweb: code selection without line numbers in file source view
Alexander Plavin <me@aplavin.ru>
parents: 18664
diff changeset
284 display: inline-block;
24427
811a1842cfe5 hgweb: pull line numbers out of main flow of source content
Paul Fisher <pfish@google.com>
parents: 24042
diff changeset
285 box-sizing: border-box;
19387
f2e4fdb3dd27 hgweb: code selection without line numbers in file source view
Alexander Plavin <me@aplavin.ru>
parents: 18664
diff changeset
286 width: 100%;
24427
811a1842cfe5 hgweb: pull line numbers out of main flow of source content
Paul Fisher <pfish@google.com>
parents: 24042
diff changeset
287 padding: 1px 0px 1px 5em;
19387
f2e4fdb3dd27 hgweb: code selection without line numbers in file source view
Alexander Plavin <me@aplavin.ru>
parents: 18664
diff changeset
288 counter-increment: lineno;
f2e4fdb3dd27 hgweb: code selection without line numbers in file source view
Alexander Plavin <me@aplavin.ru>
parents: 18664
diff changeset
289 }
f2e4fdb3dd27 hgweb: code selection without line numbers in file source view
Alexander Plavin <me@aplavin.ru>
parents: 18664
diff changeset
290
f2e4fdb3dd27 hgweb: code selection without line numbers in file source view
Alexander Plavin <me@aplavin.ru>
parents: 18664
diff changeset
291 .sourcelines > span:before {
f2e4fdb3dd27 hgweb: code selection without line numbers in file source view
Alexander Plavin <me@aplavin.ru>
parents: 18664
diff changeset
292 -moz-user-select: -moz-none;
f2e4fdb3dd27 hgweb: code selection without line numbers in file source view
Alexander Plavin <me@aplavin.ru>
parents: 18664
diff changeset
293 -khtml-user-select: none;
f2e4fdb3dd27 hgweb: code selection without line numbers in file source view
Alexander Plavin <me@aplavin.ru>
parents: 18664
diff changeset
294 -webkit-user-select: none;
f2e4fdb3dd27 hgweb: code selection without line numbers in file source view
Alexander Plavin <me@aplavin.ru>
parents: 18664
diff changeset
295 -ms-user-select: none;
f2e4fdb3dd27 hgweb: code selection without line numbers in file source view
Alexander Plavin <me@aplavin.ru>
parents: 18664
diff changeset
296 user-select: none;
f2e4fdb3dd27 hgweb: code selection without line numbers in file source view
Alexander Plavin <me@aplavin.ru>
parents: 18664
diff changeset
297 display: inline-block;
33390
32331f54930c hgweb: re-implement followlines UI selection using buttons
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 32994
diff changeset
298 margin-left: -6em;
19387
f2e4fdb3dd27 hgweb: code selection without line numbers in file source view
Alexander Plavin <me@aplavin.ru>
parents: 18664
diff changeset
299 width: 4em;
f2e4fdb3dd27 hgweb: code selection without line numbers in file source view
Alexander Plavin <me@aplavin.ru>
parents: 18664
diff changeset
300 font-size: smaller;
f2e4fdb3dd27 hgweb: code selection without line numbers in file source view
Alexander Plavin <me@aplavin.ru>
parents: 18664
diff changeset
301 color: #999;
f2e4fdb3dd27 hgweb: code selection without line numbers in file source view
Alexander Plavin <me@aplavin.ru>
parents: 18664
diff changeset
302 text-align: right;
19432
e92d4b8530cb hgweb: file diff and changesets views behave like file source view
Alexander Plavin <me@aplavin.ru>
parents: 19431
diff changeset
303 content: counters(lineno, ".");
19492
dfc0fe1541d9 paper: fix rendering of the first tab in a line in Webkit (issue3990)
Alexander Plavin <me@aplavin.ru>
parents: 19459
diff changeset
304 float: left;
19387
f2e4fdb3dd27 hgweb: code selection without line numbers in file source view
Alexander Plavin <me@aplavin.ru>
parents: 18664
diff changeset
305 }
f2e4fdb3dd27 hgweb: code selection without line numbers in file source view
Alexander Plavin <me@aplavin.ru>
parents: 18664
diff changeset
306
19459
fbfe5748ef3e hgweb: highlight line which is linked to at comparison view
Alexander Plavin <me@aplavin.ru>
parents: 19458
diff changeset
307 .sourcelines > span:target, tr:target td {
19458
5e518418738e hgweb: change highlighted line color to be different from 'inserted' color
Alexander Plavin <me@aplavin.ru>
parents: 19432
diff changeset
308 background-color: #bfdfff;
19389
41c4bdd1d585 hgweb: color line which is linked to in file source view
Alexander Plavin <me@aplavin.ru>
parents: 19388
diff changeset
309 }
41c4bdd1d585 hgweb: color line which is linked to in file source view
Alexander Plavin <me@aplavin.ru>
parents: 19388
diff changeset
310
33390
32331f54930c hgweb: re-implement followlines UI selection using buttons
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 32994
diff changeset
311 /* Followlines */
32994
1c97df5e3b46 hgweb: plug followlines action in annotate view
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31849
diff changeset
312 tbody.sourcelines > tr.followlines-selected,
31758
04ec317b8128 hgweb: expose a followlines UI in filerevision view
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 30074
diff changeset
313 pre.sourcelines > span.followlines-selected {
04ec317b8128 hgweb: expose a followlines UI in filerevision view
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 30074
diff changeset
314 background-color: #99C7E9;
04ec317b8128 hgweb: expose a followlines UI in filerevision view
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 30074
diff changeset
315 }
04ec317b8128 hgweb: expose a followlines UI in filerevision view
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 30074
diff changeset
316
04ec317b8128 hgweb: expose a followlines UI in filerevision view
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 30074
diff changeset
317 div#followlines {
35024
7790c4243f8f paper: apply styles from annotate tooltip to followlines popup
Anton Shestakov <av6@dwimlabs.net>
parents: 34391
diff changeset
318 background-color: #FFF;
7790c4243f8f paper: apply styles from annotate tooltip to followlines popup
Anton Shestakov <av6@dwimlabs.net>
parents: 34391
diff changeset
319 border: 1px solid #999;
7790c4243f8f paper: apply styles from annotate tooltip to followlines popup
Anton Shestakov <av6@dwimlabs.net>
parents: 34391
diff changeset
320 padding: 5px;
31849
5c1abb4bd3ee hgweb: position the "followlines" box close to latest cursor position
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31848
diff changeset
321 position: fixed;
31758
04ec317b8128 hgweb: expose a followlines UI in filerevision view
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 30074
diff changeset
322 }
04ec317b8128 hgweb: expose a followlines UI in filerevision view
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 30074
diff changeset
323
04ec317b8128 hgweb: expose a followlines UI in filerevision view
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 30074
diff changeset
324 div.followlines-cancel {
04ec317b8128 hgweb: expose a followlines UI in filerevision view
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 30074
diff changeset
325 text-align: right;
04ec317b8128 hgweb: expose a followlines UI in filerevision view
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 30074
diff changeset
326 }
04ec317b8128 hgweb: expose a followlines UI in filerevision view
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 30074
diff changeset
327
04ec317b8128 hgweb: expose a followlines UI in filerevision view
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 30074
diff changeset
328 div.followlines-cancel > button {
04ec317b8128 hgweb: expose a followlines UI in filerevision view
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 30074
diff changeset
329 line-height: 80%;
04ec317b8128 hgweb: expose a followlines UI in filerevision view
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 30074
diff changeset
330 padding: 0;
04ec317b8128 hgweb: expose a followlines UI in filerevision view
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 30074
diff changeset
331 border: 0;
04ec317b8128 hgweb: expose a followlines UI in filerevision view
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 30074
diff changeset
332 border-radius: 2px;
04ec317b8128 hgweb: expose a followlines UI in filerevision view
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 30074
diff changeset
333 background-color: inherit;
04ec317b8128 hgweb: expose a followlines UI in filerevision view
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 30074
diff changeset
334 font-weight: bold;
04ec317b8128 hgweb: expose a followlines UI in filerevision view
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 30074
diff changeset
335 }
04ec317b8128 hgweb: expose a followlines UI in filerevision view
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 30074
diff changeset
336
04ec317b8128 hgweb: expose a followlines UI in filerevision view
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 30074
diff changeset
337 div.followlines-cancel > button:hover {
04ec317b8128 hgweb: expose a followlines UI in filerevision view
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 30074
diff changeset
338 color: #FFFFFF;
04ec317b8128 hgweb: expose a followlines UI in filerevision view
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 30074
diff changeset
339 background-color: #CF1F1F;
04ec317b8128 hgweb: expose a followlines UI in filerevision view
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 30074
diff changeset
340 }
04ec317b8128 hgweb: expose a followlines UI in filerevision view
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 30074
diff changeset
341
04ec317b8128 hgweb: expose a followlines UI in filerevision view
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 30074
diff changeset
342 div.followlines-link {
04ec317b8128 hgweb: expose a followlines UI in filerevision view
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 30074
diff changeset
343 margin: 2px;
04ec317b8128 hgweb: expose a followlines UI in filerevision view
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 30074
diff changeset
344 margin-top: 4px;
04ec317b8128 hgweb: expose a followlines UI in filerevision view
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 30074
diff changeset
345 font-family: sans-serif;
04ec317b8128 hgweb: expose a followlines UI in filerevision view
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 30074
diff changeset
346 }
04ec317b8128 hgweb: expose a followlines UI in filerevision view
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 30074
diff changeset
347
33390
32331f54930c hgweb: re-implement followlines UI selection using buttons
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 32994
diff changeset
348 .btn-followlines {
31848
7160bdd56b84 hgweb: add a floating tooltip to invite on followlines action
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31782
diff changeset
349 display: none;
33390
32331f54930c hgweb: re-implement followlines UI selection using buttons
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 32994
diff changeset
350 cursor: pointer;
32331f54930c hgweb: re-implement followlines UI selection using buttons
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 32994
diff changeset
351 box-sizing: content-box;
32331f54930c hgweb: re-implement followlines UI selection using buttons
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 32994
diff changeset
352 font-size: 12px;
32331f54930c hgweb: re-implement followlines UI selection using buttons
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 32994
diff changeset
353 width: 13px;
32331f54930c hgweb: re-implement followlines UI selection using buttons
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 32994
diff changeset
354 height: 13px;
32331f54930c hgweb: re-implement followlines UI selection using buttons
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 32994
diff changeset
355 border-radius: 3px;
32331f54930c hgweb: re-implement followlines UI selection using buttons
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 32994
diff changeset
356 margin: 0px;
32331f54930c hgweb: re-implement followlines UI selection using buttons
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 32994
diff changeset
357 margin-top: -2px;
32331f54930c hgweb: re-implement followlines UI selection using buttons
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 32994
diff changeset
358 padding: 0px;
32331f54930c hgweb: re-implement followlines UI selection using buttons
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 32994
diff changeset
359 background-color: #E5FDE5;
32331f54930c hgweb: re-implement followlines UI selection using buttons
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 32994
diff changeset
360 border: 1px solid #9BC19B;
32331f54930c hgweb: re-implement followlines UI selection using buttons
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 32994
diff changeset
361 font-family: monospace;
32331f54930c hgweb: re-implement followlines UI selection using buttons
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 32994
diff changeset
362 text-align: center;
32331f54930c hgweb: re-implement followlines UI selection using buttons
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 32994
diff changeset
363 line-height: 5px;
32331f54930c hgweb: re-implement followlines UI selection using buttons
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 32994
diff changeset
364 }
32331f54930c hgweb: re-implement followlines UI selection using buttons
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 32994
diff changeset
365
32331f54930c hgweb: re-implement followlines UI selection using buttons
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 32994
diff changeset
366 tr .btn-followlines {
32331f54930c hgweb: re-implement followlines UI selection using buttons
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 32994
diff changeset
367 position: absolute;
31848
7160bdd56b84 hgweb: add a floating tooltip to invite on followlines action
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31782
diff changeset
368 }
7160bdd56b84 hgweb: add a floating tooltip to invite on followlines action
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31782
diff changeset
369
33390
32331f54930c hgweb: re-implement followlines UI selection using buttons
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 32994
diff changeset
370 span .btn-followlines {
32331f54930c hgweb: re-implement followlines UI selection using buttons
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 32994
diff changeset
371 float: left;
32331f54930c hgweb: re-implement followlines UI selection using buttons
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 32994
diff changeset
372 }
32331f54930c hgweb: re-implement followlines UI selection using buttons
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 32994
diff changeset
373
32331f54930c hgweb: re-implement followlines UI selection using buttons
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 32994
diff changeset
374 span.followlines-select .btn-followlines {
32331f54930c hgweb: re-implement followlines UI selection using buttons
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 32994
diff changeset
375 margin-left: -1.5em;
32331f54930c hgweb: re-implement followlines UI selection using buttons
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 32994
diff changeset
376 }
32331f54930c hgweb: re-implement followlines UI selection using buttons
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 32994
diff changeset
377
32331f54930c hgweb: re-implement followlines UI selection using buttons
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 32994
diff changeset
378 .btn-followlines:hover {
32331f54930c hgweb: re-implement followlines UI selection using buttons
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 32994
diff changeset
379 transform: scale(1.2, 1.2);
32331f54930c hgweb: re-implement followlines UI selection using buttons
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 32994
diff changeset
380 }
32331f54930c hgweb: re-implement followlines UI selection using buttons
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 32994
diff changeset
381
32331f54930c hgweb: re-implement followlines UI selection using buttons
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 32994
diff changeset
382 .btn-followlines .followlines-plus {
32331f54930c hgweb: re-implement followlines UI selection using buttons
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 32994
diff changeset
383 color: green;
32331f54930c hgweb: re-implement followlines UI selection using buttons
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 32994
diff changeset
384 }
32331f54930c hgweb: re-implement followlines UI selection using buttons
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 32994
diff changeset
385
32331f54930c hgweb: re-implement followlines UI selection using buttons
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 32994
diff changeset
386 .btn-followlines .followlines-minus {
32331f54930c hgweb: re-implement followlines UI selection using buttons
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 32994
diff changeset
387 color: red;
32331f54930c hgweb: re-implement followlines UI selection using buttons
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 32994
diff changeset
388 }
32331f54930c hgweb: re-implement followlines UI selection using buttons
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 32994
diff changeset
389
32331f54930c hgweb: re-implement followlines UI selection using buttons
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 32994
diff changeset
390 .btn-followlines-end {
32331f54930c hgweb: re-implement followlines UI selection using buttons
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 32994
diff changeset
391 background-color: #ffdcdc;
32331f54930c hgweb: re-implement followlines UI selection using buttons
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 32994
diff changeset
392 }
32331f54930c hgweb: re-implement followlines UI selection using buttons
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 32994
diff changeset
393
32331f54930c hgweb: re-implement followlines UI selection using buttons
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 32994
diff changeset
394 .sourcelines tr:hover .btn-followlines,
32331f54930c hgweb: re-implement followlines UI selection using buttons
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 32994
diff changeset
395 .sourcelines span.followlines-select:hover > .btn-followlines {
31848
7160bdd56b84 hgweb: add a floating tooltip to invite on followlines action
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31782
diff changeset
396 display: inline;
7160bdd56b84 hgweb: add a floating tooltip to invite on followlines action
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31782
diff changeset
397 }
7160bdd56b84 hgweb: add a floating tooltip to invite on followlines action
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31782
diff changeset
398
33390
32331f54930c hgweb: re-implement followlines UI selection using buttons
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 32994
diff changeset
399 .btn-followlines-hidden,
32331f54930c hgweb: re-implement followlines UI selection using buttons
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 32994
diff changeset
400 .sourcelines tr:hover .btn-followlines-hidden {
31848
7160bdd56b84 hgweb: add a floating tooltip to invite on followlines action
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31782
diff changeset
401 display: none;
7160bdd56b84 hgweb: add a floating tooltip to invite on followlines action
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31782
diff changeset
402 }
7160bdd56b84 hgweb: add a floating tooltip to invite on followlines action
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31782
diff changeset
403
19387
f2e4fdb3dd27 hgweb: code selection without line numbers in file source view
Alexander Plavin <me@aplavin.ru>
parents: 18664
diff changeset
404 .sourcelines > a {
f2e4fdb3dd27 hgweb: code selection without line numbers in file source view
Alexander Plavin <me@aplavin.ru>
parents: 18664
diff changeset
405 display: inline-block;
f2e4fdb3dd27 hgweb: code selection without line numbers in file source view
Alexander Plavin <me@aplavin.ru>
parents: 18664
diff changeset
406 position: absolute;
f2e4fdb3dd27 hgweb: code selection without line numbers in file source view
Alexander Plavin <me@aplavin.ru>
parents: 18664
diff changeset
407 left: 0px;
f2e4fdb3dd27 hgweb: code selection without line numbers in file source view
Alexander Plavin <me@aplavin.ru>
parents: 18664
diff changeset
408 width: 4em;
f2e4fdb3dd27 hgweb: code selection without line numbers in file source view
Alexander Plavin <me@aplavin.ru>
parents: 18664
diff changeset
409 height: 1em;
f2e4fdb3dd27 hgweb: code selection without line numbers in file source view
Alexander Plavin <me@aplavin.ru>
parents: 18664
diff changeset
410 }
f2e4fdb3dd27 hgweb: code selection without line numbers in file source view
Alexander Plavin <me@aplavin.ru>
parents: 18664
diff changeset
411
6454
eec89a03db08 coal: even more tweaks
Matt Mackall <mpm@selenic.com>
parents: 6453
diff changeset
412 .fileline { font-family: monospace; }
6463
5e011a402352 coal: more tweaks
Matt Mackall <mpm@selenic.com>
parents: 6454
diff changeset
413 .fileline img { border: 0; }
6454
eec89a03db08 coal: even more tweaks
Matt Mackall <mpm@selenic.com>
parents: 6453
diff changeset
414
8713
de6bb29e208a hgweb: allow distinction between open/closed branches on branches page
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8509
diff changeset
415 .tagEntry .closed { color: #99f; }
de6bb29e208a hgweb: allow distinction between open/closed branches on branches page
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8509
diff changeset
416
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
417 /* Changeset entry */
7327
a1758089ee35 Kill trailing whitespace in templates
Thomas Arendsen Hein <thomas@intevation.de>
parents: 7314
diff changeset
418 #changesetEntry {
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
419 border-collapse: collapse;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
420 font-size: 90%;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
421 width: 100%;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
422 margin-bottom: 1em;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
423 }
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
424
7327
a1758089ee35 Kill trailing whitespace in templates
Thomas Arendsen Hein <thomas@intevation.de>
parents: 7314
diff changeset
425 #changesetEntry th {
8506
93a9f4a0e361 coal/paper: simplify margin and padding CSS rules
Martin Geisler <mg@lazybytes.net>
parents: 7725
diff changeset
426 padding: 1px 4px;
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
427 width: 4em;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
428 text-align: right;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
429 font-weight: normal;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
430 color: #999;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
431 vertical-align: top;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
432 }
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
433
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
434 div.description {
6661
d1a312daa574 hgweb: add paper style derived from coal
Matt Mackall <mpm@selenic.com>
parents: 6571
diff changeset
435 border-left: 2px solid #999;
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
436 margin: 1em 0 1em 0;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
437 padding: .3em;
13934
ebe1ddbbefd7 paper: preserve whitespace on description instead of adding breaks
Adrian Buehlmann <adrian@cadifra.com>
parents: 13850
diff changeset
438 white-space: pre;
13961
1708a0cad774 paper: use monospace font for description
Adrian Buehlmann <adrian@cadifra.com>
parents: 13934
diff changeset
439 font-family: monospace;
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
440 }
6692
683428d1e639 make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents: 6661
diff changeset
441
6693
7f58dec6aeb7 hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents: 6661
diff changeset
442 /* Graph */
6692
683428d1e639 make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents: 6661
diff changeset
443 div#wrapper {
683428d1e639 make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents: 6661
diff changeset
444 position: relative;
683428d1e639 make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents: 6661
diff changeset
445 border-top: 1px solid black;
683428d1e639 make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents: 6661
diff changeset
446 border-bottom: 1px solid black;
683428d1e639 make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents: 6661
diff changeset
447 margin: 0;
683428d1e639 make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents: 6661
diff changeset
448 padding: 0;
683428d1e639 make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents: 6661
diff changeset
449 }
683428d1e639 make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents: 6661
diff changeset
450
683428d1e639 make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents: 6661
diff changeset
451 canvas {
683428d1e639 make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents: 6661
diff changeset
452 position: absolute;
683428d1e639 make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents: 6661
diff changeset
453 z-index: 5;
683428d1e639 make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents: 6661
diff changeset
454 top: -0.7em;
683428d1e639 make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents: 6661
diff changeset
455 margin: 0;
683428d1e639 make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents: 6661
diff changeset
456 }
683428d1e639 make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents: 6661
diff changeset
457
8509
5cd232ebc317 coal/paper: minimize whitespace differences in CSS files
Martin Geisler <mg@lazybytes.net>
parents: 8508
diff changeset
458 ul#graphnodes {
6693
7f58dec6aeb7 hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents: 6661
diff changeset
459 list-style: none inside none;
7f58dec6aeb7 hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents: 6661
diff changeset
460 padding: 0;
7f58dec6aeb7 hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents: 6661
diff changeset
461 margin: 0;
7f58dec6aeb7 hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents: 6661
diff changeset
462 }
7327
a1758089ee35 Kill trailing whitespace in templates
Thomas Arendsen Hein <thomas@intevation.de>
parents: 7314
diff changeset
463
35529
5afe0ca59b07 paper: make actual changeset entries have backgrounds on /graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35522
diff changeset
464 ul#graphnodes li {
6693
7f58dec6aeb7 hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents: 6661
diff changeset
465 height: 39px;
35529
5afe0ca59b07 paper: make actual changeset entries have backgrounds on /graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35522
diff changeset
466 overflow: visible;
5afe0ca59b07 paper: make actual changeset entries have backgrounds on /graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35522
diff changeset
467 }
5afe0ca59b07 paper: make actual changeset entries have backgrounds on /graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35522
diff changeset
468
5afe0ca59b07 paper: make actual changeset entries have backgrounds on /graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35522
diff changeset
469 ul#graphnodes li .fg {
5afe0ca59b07 paper: make actual changeset entries have backgrounds on /graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35522
diff changeset
470 position: absolute;
5afe0ca59b07 paper: make actual changeset entries have backgrounds on /graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35522
diff changeset
471 z-index: 10;
6693
7f58dec6aeb7 hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents: 6661
diff changeset
472 }
7f58dec6aeb7 hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents: 6661
diff changeset
473
6692
683428d1e639 make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents: 6661
diff changeset
474 ul#graphnodes li .info {
683428d1e639 make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents: 6661
diff changeset
475 font-size: 70%;
683428d1e639 make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents: 6661
diff changeset
476 }
17202
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 14563
diff changeset
477
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 14563
diff changeset
478 /* Comparison */
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 14563
diff changeset
479 .legend {
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 14563
diff changeset
480 padding: 1.5% 0 1.5% 0;
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 14563
diff changeset
481 }
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 14563
diff changeset
482
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 14563
diff changeset
483 .legendinfo {
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 14563
diff changeset
484 border: 1px solid #999;
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 14563
diff changeset
485 font-size: 80%;
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 14563
diff changeset
486 text-align: center;
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 14563
diff changeset
487 padding: 0.5%;
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 14563
diff changeset
488 }
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 14563
diff changeset
489
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 14563
diff changeset
490 .equal {
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 14563
diff changeset
491 background-color: #ffffff;
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 14563
diff changeset
492 }
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 14563
diff changeset
493
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 14563
diff changeset
494 .delete {
17243
106cdea0183d hgweb: improve colors for comparison page
Matt Mackall <mpm@selenic.com>
parents: 17202
diff changeset
495 background-color: #faa;
106cdea0183d hgweb: improve colors for comparison page
Matt Mackall <mpm@selenic.com>
parents: 17202
diff changeset
496 color: #333;
17202
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 14563
diff changeset
497 }
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 14563
diff changeset
498
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 14563
diff changeset
499 .insert {
17243
106cdea0183d hgweb: improve colors for comparison page
Matt Mackall <mpm@selenic.com>
parents: 17202
diff changeset
500 background-color: #ffa;
17202
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 14563
diff changeset
501 }
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 14563
diff changeset
502
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 14563
diff changeset
503 .replace {
17243
106cdea0183d hgweb: improve colors for comparison page
Matt Mackall <mpm@selenic.com>
parents: 17202
diff changeset
504 background-color: #e8e8e8;
17202
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 14563
diff changeset
505 }
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 14563
diff changeset
506
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 14563
diff changeset
507 .header {
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 14563
diff changeset
508 text-align: center;
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 14563
diff changeset
509 }
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 14563
diff changeset
510
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 14563
diff changeset
511 .block {
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 14563
diff changeset
512 border-top: 1px solid #999;
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 14563
diff changeset
513 }
18258
bebb05a7e249 hgweb: add a "URL breadcrumb" to the index and repository pages
Angel Ezquerra <angel.ezquerra at gmail.com>
parents: 18200
diff changeset
514
bebb05a7e249 hgweb: add a "URL breadcrumb" to the index and repository pages
Angel Ezquerra <angel.ezquerra at gmail.com>
parents: 18200
diff changeset
515 .breadcrumb {
bebb05a7e249 hgweb: add a "URL breadcrumb" to the index and repository pages
Angel Ezquerra <angel.ezquerra at gmail.com>
parents: 18200
diff changeset
516 color: gray;
bebb05a7e249 hgweb: add a "URL breadcrumb" to the index and repository pages
Angel Ezquerra <angel.ezquerra at gmail.com>
parents: 18200
diff changeset
517 }
bebb05a7e249 hgweb: add a "URL breadcrumb" to the index and repository pages
Angel Ezquerra <angel.ezquerra at gmail.com>
parents: 18200
diff changeset
518
bebb05a7e249 hgweb: add a "URL breadcrumb" to the index and repository pages
Angel Ezquerra <angel.ezquerra at gmail.com>
parents: 18200
diff changeset
519 .breadcrumb a {
bebb05a7e249 hgweb: add a "URL breadcrumb" to the index and repository pages
Angel Ezquerra <angel.ezquerra at gmail.com>
parents: 18200
diff changeset
520 color: blue;
bebb05a7e249 hgweb: add a "URL breadcrumb" to the index and repository pages
Angel Ezquerra <angel.ezquerra at gmail.com>
parents: 18200
diff changeset
521 }
19761
b5c601035005 paper: add simple animation to the loading indicator
Alexander Plavin <alexander@plav.in>
parents: 19492
diff changeset
522
b5c601035005 paper: add simple animation to the loading indicator
Alexander Plavin <alexander@plav.in>
parents: 19492
diff changeset
523 .scroll-loading {
b5c601035005 paper: add simple animation to the loading indicator
Alexander Plavin <alexander@plav.in>
parents: 19492
diff changeset
524 -webkit-animation: change_color 1s linear 0s infinite alternate;
b5c601035005 paper: add simple animation to the loading indicator
Alexander Plavin <alexander@plav.in>
parents: 19492
diff changeset
525 -moz-animation: change_color 1s linear 0s infinite alternate;
b5c601035005 paper: add simple animation to the loading indicator
Alexander Plavin <alexander@plav.in>
parents: 19492
diff changeset
526 -o-animation: change_color 1s linear 0s infinite alternate;
b5c601035005 paper: add simple animation to the loading indicator
Alexander Plavin <alexander@plav.in>
parents: 19492
diff changeset
527 animation: change_color 1s linear 0s infinite alternate;
b5c601035005 paper: add simple animation to the loading indicator
Alexander Plavin <alexander@plav.in>
parents: 19492
diff changeset
528 }
b5c601035005 paper: add simple animation to the loading indicator
Alexander Plavin <alexander@plav.in>
parents: 19492
diff changeset
529
b5c601035005 paper: add simple animation to the loading indicator
Alexander Plavin <alexander@plav.in>
parents: 19492
diff changeset
530 @-webkit-keyframes change_color {
b5c601035005 paper: add simple animation to the loading indicator
Alexander Plavin <alexander@plav.in>
parents: 19492
diff changeset
531 from { background-color: #A0CEFF; } to { }
b5c601035005 paper: add simple animation to the loading indicator
Alexander Plavin <alexander@plav.in>
parents: 19492
diff changeset
532 }
b5c601035005 paper: add simple animation to the loading indicator
Alexander Plavin <alexander@plav.in>
parents: 19492
diff changeset
533 @-moz-keyframes change_color {
b5c601035005 paper: add simple animation to the loading indicator
Alexander Plavin <alexander@plav.in>
parents: 19492
diff changeset
534 from { background-color: #A0CEFF; } to { }
b5c601035005 paper: add simple animation to the loading indicator
Alexander Plavin <alexander@plav.in>
parents: 19492
diff changeset
535 }
b5c601035005 paper: add simple animation to the loading indicator
Alexander Plavin <alexander@plav.in>
parents: 19492
diff changeset
536 @-o-keyframes change_color {
b5c601035005 paper: add simple animation to the loading indicator
Alexander Plavin <alexander@plav.in>
parents: 19492
diff changeset
537 from { background-color: #A0CEFF; } to { }
b5c601035005 paper: add simple animation to the loading indicator
Alexander Plavin <alexander@plav.in>
parents: 19492
diff changeset
538 }
b5c601035005 paper: add simple animation to the loading indicator
Alexander Plavin <alexander@plav.in>
parents: 19492
diff changeset
539 @keyframes change_color {
b5c601035005 paper: add simple animation to the loading indicator
Alexander Plavin <alexander@plav.in>
parents: 19492
diff changeset
540 from { background-color: #A0CEFF; } to { }
b5c601035005 paper: add simple animation to the loading indicator
Alexander Plavin <alexander@plav.in>
parents: 19492
diff changeset
541 }
b5c601035005 paper: add simple animation to the loading indicator
Alexander Plavin <alexander@plav.in>
parents: 19492
diff changeset
542
19762
e0666aaa1382 paper: add reddish background to ajax error message
Alexander Plavin <alexander@plav.in>
parents: 19761
diff changeset
543 .scroll-loading-error {
e0666aaa1382 paper: add reddish background to ajax error message
Alexander Plavin <alexander@plav.in>
parents: 19761
diff changeset
544 background-color: #FFCCCC !important;
e0666aaa1382 paper: add reddish background to ajax error message
Alexander Plavin <alexander@plav.in>
parents: 19761
diff changeset
545 }