annotate mercurial/templates/static/style-extra-coal.css @ 37483:61e405fb6372

wireproto: crude support for version 2 HTTP peer As part of implementing the server-side bits of the wire protocol command handlers for version 2, we want a way to easily test those commands. Currently, we use the "httprequest" action of `hg debugwireproto`. But this requires explicitly specifying the HTTP request headers, low-level frame details, and the data structure to encode with CBOR. That's a lot of boilerplate and a lot of it can change as the wire protocol evolves. `hg debugwireproto` has a mechanism to issue commands via the peer interface. That is *much* easier to use and we prefer to test with that going forward. This commit implements enough parts of the peer API to send basic requests via the HTTP version 2 transport. The peer code is super hacky. Again, the goal is to facilitate server testing, not robustly implement a client. The client code will receive love at a later time. Differential Revision: https://phab.mercurial-scm.org/D3177
author Gregory Szorc <gregory.szorc@gmail.com>
date Wed, 28 Mar 2018 15:09:34 -0700
parents c258f4d2bfb2
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 {
26284
c258f4d2bfb2 coal: reuse style-paper.css and use a separate css file for visual tweaks
Anton Shestakov <av6@dwimlabs.net>
parents: 26245
diff changeset
2 background: black url('background.png') repeat-x;
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
3 }
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
4
6453
cb16217ff4d8 coal: more tweaking
Matt Mackall <mpm@selenic.com>
parents: 6452
diff changeset
5 .container {
26284
c258f4d2bfb2 coal: reuse style-paper.css and use a separate css file for visual tweaks
Anton Shestakov <av6@dwimlabs.net>
parents: 26245
diff changeset
6 padding-left: 0;
c258f4d2bfb2 coal: reuse style-paper.css and use a separate css file for visual tweaks
Anton Shestakov <av6@dwimlabs.net>
parents: 26245
diff changeset
7 padding-right: 150px;
6453
cb16217ff4d8 coal: more tweaking
Matt Mackall <mpm@selenic.com>
parents: 6452
diff changeset
8 }
cb16217ff4d8 coal: more tweaking
Matt Mackall <mpm@selenic.com>
parents: 6452
diff changeset
9
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
10 .main {
26284
c258f4d2bfb2 coal: reuse style-paper.css and use a separate css file for visual tweaks
Anton Shestakov <av6@dwimlabs.net>
parents: 26245
diff changeset
11 padding: 2em;
c258f4d2bfb2 coal: reuse style-paper.css and use a separate css file for visual tweaks
Anton Shestakov <av6@dwimlabs.net>
parents: 26245
diff changeset
12 border-right: 15px solid black;
c258f4d2bfb2 coal: reuse style-paper.css and use a separate css file for visual tweaks
Anton Shestakov <av6@dwimlabs.net>
parents: 26245
diff changeset
13 border-bottom: 15px solid black;
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
14 }
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
15
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
16 .menu {
26284
c258f4d2bfb2 coal: reuse style-paper.css and use a separate css file for visual tweaks
Anton Shestakov <av6@dwimlabs.net>
parents: 26245
diff changeset
17 background: #999;
c258f4d2bfb2 coal: reuse style-paper.css and use a separate css file for visual tweaks
Anton Shestakov <av6@dwimlabs.net>
parents: 26245
diff changeset
18 padding: 10px;
c258f4d2bfb2 coal: reuse style-paper.css and use a separate css file for visual tweaks
Anton Shestakov <av6@dwimlabs.net>
parents: 26245
diff changeset
19 width: 75px;
c258f4d2bfb2 coal: reuse style-paper.css and use a separate css file for visual tweaks
Anton Shestakov <av6@dwimlabs.net>
parents: 26245
diff changeset
20 position: fixed;
c258f4d2bfb2 coal: reuse style-paper.css and use a separate css file for visual tweaks
Anton Shestakov <av6@dwimlabs.net>
parents: 26245
diff changeset
21 top: 27px;
c258f4d2bfb2 coal: reuse style-paper.css and use a separate css file for visual tweaks
Anton Shestakov <av6@dwimlabs.net>
parents: 26245
diff changeset
22 left: auto;
c258f4d2bfb2 coal: reuse style-paper.css and use a separate css file for visual tweaks
Anton Shestakov <av6@dwimlabs.net>
parents: 26245
diff changeset
23 right: 27px;
7291
5ac779ea7850 Backed out changeset a1f8ad3c1821
Brendan Cully <brendan@kublai.com>
parents: 7286
diff changeset
24 }
5ac779ea7850 Backed out changeset a1f8ad3c1821
Brendan Cully <brendan@kublai.com>
parents: 7286
diff changeset
25
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
26 .menu ul {
26284
c258f4d2bfb2 coal: reuse style-paper.css and use a separate css file for visual tweaks
Anton Shestakov <av6@dwimlabs.net>
parents: 26245
diff changeset
27 border-left: 0;
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
28 }
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
29
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
30 .menu li.active {
26284
c258f4d2bfb2 coal: reuse style-paper.css and use a separate css file for visual tweaks
Anton Shestakov <av6@dwimlabs.net>
parents: 26245
diff changeset
31 font-weight: normal;
c258f4d2bfb2 coal: reuse style-paper.css and use a separate css file for visual tweaks
Anton Shestakov <av6@dwimlabs.net>
parents: 26245
diff changeset
32 background: black;
c258f4d2bfb2 coal: reuse style-paper.css and use a separate css file for visual tweaks
Anton Shestakov <av6@dwimlabs.net>
parents: 26245
diff changeset
33 color: white;
7410
f1111704061e coal/paper: show branch name in changeset view
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 7408
diff changeset
34 }
f1111704061e coal/paper: show branch name in changeset view
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 7408
diff changeset
35
26284
c258f4d2bfb2 coal: reuse style-paper.css and use a separate css file for visual tweaks
Anton Shestakov <av6@dwimlabs.net>
parents: 26245
diff changeset
36 .menu li.active a {
c258f4d2bfb2 coal: reuse style-paper.css and use a separate css file for visual tweaks
Anton Shestakov <av6@dwimlabs.net>
parents: 26245
diff changeset
37 color: white;
26244
399e970e35c8 coal: copy newer things from paper
Anton Shestakov <av6@dwimlabs.net>
parents: 25664
diff changeset
38 }
399e970e35c8 coal: copy newer things from paper
Anton Shestakov <av6@dwimlabs.net>
parents: 25664
diff changeset
39
26284
c258f4d2bfb2 coal: reuse style-paper.css and use a separate css file for visual tweaks
Anton Shestakov <av6@dwimlabs.net>
parents: 26245
diff changeset
40 h3 {
c258f4d2bfb2 coal: reuse style-paper.css and use a separate css file for visual tweaks
Anton Shestakov <av6@dwimlabs.net>
parents: 26245
diff changeset
41 margin-top: -.7em;
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
42 }
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
43
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
44 div.description {
26284
c258f4d2bfb2 coal: reuse style-paper.css and use a separate css file for visual tweaks
Anton Shestakov <av6@dwimlabs.net>
parents: 26245
diff changeset
45 border-left-width: 3px;
17202
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 14563
diff changeset
46 }