mercurial/templates/static/style-paper.css
author Alexander Plavin <me@aplavin.ru>
Thu, 04 Jul 2013 14:18:44 +0400
changeset 19387 f2e4fdb3dd27
parent 18664 30d899febef8
child 19388 7f0a30744366
permissions -rw-r--r--
hgweb: code selection without line numbers in file source view All the source lines are put in a <pre> tag, which gives correct display and copy&paste in both Chromium (WebKit) and FireFox: line numbers are not copied, all the tabs and spaces are kept. This doesn't change the visual appearance of the view compared to current hgweb version and doesn't use any JS code. Also, stripes in this view are now generated clientside with CSS. This implementation is chosen because other variants have important issues: Strategy FF Chrome current D,LT,E,T,L D,L pre S,NW S,NW pre/div/nbsp LT,E,T,TS,NW TS,NW pre/div/br LT,E,T,NW NW ol/li/nbsp LT,E,T,TS,AJ TS,AJ ol/li/br LT,E,T,AJ AJ pre/span LV LV Legend Strategies: - current: implemented in hgweb before this patch, i.e. divs for each line, and line numbers links in the div too - pre: the whole code in one pre tag with newlines, all line numbers in another one with 'float: left' - pre/div/{nbsp,br}: same as just 'pre', but separate divs for each line and &nbsp; or <br> instead of empty lines (otherwise they are not copied at all) - ol/li/{nbsp,br}: a single ol with li's and divs for each line, &nbsp; or <br> same as in previous strategy - pre/span: this patch Problems: D = (very minor) display problems, like wrong width of leading tabs LT = loses leading/trailing whitespace E = loses embedded whitespace B = loses blank lines T = loses tabs L = selects line numbers LV = (only) visually selects line numbers LVE = (only) visually selects line numbers at empty lines S = no stripes (and no ability to easily highlight lines-which-are-linked-at in the future) TS = space copied instead of empty line AJ = get anchor links only with JS (they work even without) NW = no linewrap easily possible (in future) As for browser versions compatibility, the CSS tricks used are supported in (according to caniuse.com): a) line numbers generation with 'content:' property and CSS counters: IE 8+, all other popular browsers (in pre-WebKit Opera numbers are being copied) b) stripes ('nth-child' selector): IE 8+, FF 3.5+, Safari 3.2+, Opera 9.5+, all other popular browsers c) line numbers are not visually selected ('user-select:' property): IE 10+, Opera 15.0+, all other popular browsers This patch is based on a demo implementation by Martin Geisler <martin@geisler.net>.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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;
6451
b79a56619504 coal: minor fixes
Matt Mackall <mpm@selenic.com>
parents: 6436
diff changeset
     5
  font-family: sans-serif;
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
     6
}
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
     7
6453
cb16217ff4d8 coal: more tweaking
Matt Mackall <mpm@selenic.com>
parents: 6452
diff changeset
     8
.container {
6661
d1a312daa574 hgweb: add paper style derived from coal
Matt Mackall <mpm@selenic.com>
parents: 6571
diff changeset
     9
  padding-left: 115px;
6453
cb16217ff4d8 coal: more tweaking
Matt Mackall <mpm@selenic.com>
parents: 6452
diff changeset
    10
}
cb16217ff4d8 coal: more tweaking
Matt Mackall <mpm@selenic.com>
parents: 6452
diff changeset
    11
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    12
.main {
6453
cb16217ff4d8 coal: more tweaking
Matt Mackall <mpm@selenic.com>
parents: 6452
diff changeset
    13
  position: relative;
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    14
  background: white;
6661
d1a312daa574 hgweb: add paper style derived from coal
Matt Mackall <mpm@selenic.com>
parents: 6571
diff changeset
    15
  padding: 2em 2em 2em 0;
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    16
}
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    17
6864
105d8676a688 coal/paper: fixed box via an expression for IE < 7
rubik <ribik@sina.com>
parents: 6694
diff changeset
    18
#.main {
105d8676a688 coal/paper: fixed box via an expression for IE < 7
rubik <ribik@sina.com>
parents: 6694
diff changeset
    19
  width: 98%;
105d8676a688 coal/paper: fixed box via an expression for IE < 7
rubik <ribik@sina.com>
parents: 6694
diff changeset
    20
}
105d8676a688 coal/paper: fixed box via an expression for IE < 7
rubik <ribik@sina.com>
parents: 6694
diff changeset
    21
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    22
.overflow {
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    23
  width: 100%;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    24
  overflow: auto;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    25
}
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    26
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    27
.menu {
6661
d1a312daa574 hgweb: add paper style derived from coal
Matt Mackall <mpm@selenic.com>
parents: 6571
diff changeset
    28
  width: 90px;
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    29
  margin: 0;
6463
5e011a402352 coal: more tweaks
Matt Mackall <mpm@selenic.com>
parents: 6454
diff changeset
    30
  font-size: 80%;
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    31
  text-align: left;
7313
15981c8f6cf1 paper: don't keep the menu affixed to the top
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 7299
diff changeset
    32
  position: absolute;
6661
d1a312daa574 hgweb: add paper style derived from coal
Matt Mackall <mpm@selenic.com>
parents: 6571
diff changeset
    33
  top: 20px;
d1a312daa574 hgweb: add paper style derived from coal
Matt Mackall <mpm@selenic.com>
parents: 6571
diff changeset
    34
  left: 20px;
d1a312daa574 hgweb: add paper style derived from coal
Matt Mackall <mpm@selenic.com>
parents: 6571
diff changeset
    35
  right: auto;
6436
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
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    38
.menu ul {
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    39
  list-style: none;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    40
  padding: 0;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    41
  margin: 10px 0 0 0;
6661
d1a312daa574 hgweb: add paper style derived from coal
Matt Mackall <mpm@selenic.com>
parents: 6571
diff changeset
    42
  border-left: 2px solid #999;
6436
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
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    45
.menu li {
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    46
  margin-bottom: 3px;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    47
  padding: 2px 4px;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    48
  background: white;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    49
  color: black;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    50
  font-weight: normal;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    51
}
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    52
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    53
.menu li.active {
6661
d1a312daa574 hgweb: add paper style derived from coal
Matt Mackall <mpm@selenic.com>
parents: 6571
diff changeset
    54
  font-weight: bold;
6436
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
8509
5cd232ebc317 coal/paper: minimize whitespace differences in CSS files
Martin Geisler <mg@lazybytes.net>
parents: 8508
diff changeset
    57
.menu img {
7725
6a888d491eaf coal/paper: switch to XHTML 1.1
Benoit Allard <benoit@aeteurope.nl>
parents: 7410
diff changeset
    58
  width: 75px;
6a888d491eaf coal/paper: switch to XHTML 1.1
Benoit Allard <benoit@aeteurope.nl>
parents: 7410
diff changeset
    59
  height: 90px;
6a888d491eaf coal/paper: switch to XHTML 1.1
Benoit Allard <benoit@aeteurope.nl>
parents: 7410
diff changeset
    60
  border: 0;
6a888d491eaf coal/paper: switch to XHTML 1.1
Benoit Allard <benoit@aeteurope.nl>
parents: 7410
diff changeset
    61
}
6a888d491eaf coal/paper: switch to XHTML 1.1
Benoit Allard <benoit@aeteurope.nl>
parents: 7410
diff changeset
    62
18200
b31266671918 hgweb: add (Atom) subscribe link to the main paper template pages
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17243
diff changeset
    63
.atom-logo img{
b31266671918 hgweb: add (Atom) subscribe link to the main paper template pages
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17243
diff changeset
    64
  width: 14px;
b31266671918 hgweb: add (Atom) subscribe link to the main paper template pages
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17243
diff changeset
    65
  height: 14px;
b31266671918 hgweb: add (Atom) subscribe link to the main paper template pages
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17243
diff changeset
    66
  border: 0;
b31266671918 hgweb: add (Atom) subscribe link to the main paper template pages
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17243
diff changeset
    67
}
b31266671918 hgweb: add (Atom) subscribe link to the main paper template pages
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17243
diff changeset
    68
6463
5e011a402352 coal: more tweaks
Matt Mackall <mpm@selenic.com>
parents: 6454
diff changeset
    69
.menu a { color: black; display: block; }
5e011a402352 coal: more tweaks
Matt Mackall <mpm@selenic.com>
parents: 6454
diff changeset
    70
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    71
.search {
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    72
  position: absolute;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    73
  top: .7em;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    74
  right: 2em;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    75
}
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    76
7725
6a888d491eaf coal/paper: switch to XHTML 1.1
Benoit Allard <benoit@aeteurope.nl>
parents: 7410
diff changeset
    77
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
    78
  display: none;
288dda59233c coal/paper: show a search tip when hovering over search box
Benoit Allard <benoit@aeteurope.nl>
parents: 7181
diff changeset
    79
  position: absolute;
288dda59233c coal/paper: show a search tip when hovering over search box
Benoit Allard <benoit@aeteurope.nl>
parents: 7181
diff changeset
    80
  top: 40px;
288dda59233c coal/paper: show a search tip when hovering over search box
Benoit Allard <benoit@aeteurope.nl>
parents: 7181
diff changeset
    81
  right: 0px;
288dda59233c coal/paper: show a search tip when hovering over search box
Benoit Allard <benoit@aeteurope.nl>
parents: 7181
diff changeset
    82
  width: 190px;
288dda59233c coal/paper: show a search tip when hovering over search box
Benoit Allard <benoit@aeteurope.nl>
parents: 7181
diff changeset
    83
  padding: 5px;
288dda59233c coal/paper: show a search tip when hovering over search box
Benoit Allard <benoit@aeteurope.nl>
parents: 7181
diff changeset
    84
  background: #ffc;
288dda59233c coal/paper: show a search tip when hovering over search box
Benoit Allard <benoit@aeteurope.nl>
parents: 7181
diff changeset
    85
  font-size: 70%;
288dda59233c coal/paper: show a search tip when hovering over search box
Benoit Allard <benoit@aeteurope.nl>
parents: 7181
diff changeset
    86
  border: 1px solid yellow;
288dda59233c coal/paper: show a search tip when hovering over search box
Benoit Allard <benoit@aeteurope.nl>
parents: 7181
diff changeset
    87
  -moz-border-radius: 5px; /* this works only in camino/firefox */
288dda59233c coal/paper: show a search tip when hovering over search box
Benoit Allard <benoit@aeteurope.nl>
parents: 7181
diff changeset
    88
  -webkit-border-radius: 5px; /* this is just for Safari */
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; }
7340
06a6942554dc hgweb: improve color discrimination for paper and coal
Matt Mackall <mpm@selenic.com>
parents: 7327
diff changeset
    97
.parity0 { background-color: #f0f0f0; }
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    98
.parity1 { background-color: white; }
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    99
.plusline { color: green; }
7340
06a6942554dc hgweb: improve color discrimination for paper and coal
Matt Mackall <mpm@selenic.com>
parents: 7327
diff changeset
   100
.minusline { color: #dc143c; } /* crimson */
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
   101
.atline { color: purple; }
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
   102
14563
81fc9678b018 paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents: 13961
diff changeset
   103
.diffstat-file {
81fc9678b018 paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents: 13961
diff changeset
   104
  white-space: nowrap;
81fc9678b018 paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents: 13961
diff changeset
   105
  font-size: 90%;
81fc9678b018 paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents: 13961
diff changeset
   106
}
81fc9678b018 paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents: 13961
diff changeset
   107
.diffstat-total {
81fc9678b018 paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents: 13961
diff changeset
   108
  white-space: nowrap;
81fc9678b018 paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents: 13961
diff changeset
   109
  font-size: 90%;
81fc9678b018 paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents: 13961
diff changeset
   110
}
81fc9678b018 paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents: 13961
diff changeset
   111
.diffstat-graph {
81fc9678b018 paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents: 13961
diff changeset
   112
  width: 100%;
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-add {
81fc9678b018 paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents: 13961
diff changeset
   115
  background-color: green;
81fc9678b018 paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents: 13961
diff changeset
   116
  float: left;
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-remove {
81fc9678b018 paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents: 13961
diff changeset
   119
  background-color: red;
81fc9678b018 paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents: 13961
diff changeset
   120
  float: left;
81fc9678b018 paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents: 13961
diff changeset
   121
}
81fc9678b018 paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents: 13961
diff changeset
   122
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
   123
.navigate {
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
   124
  text-align: right;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
   125
  font-size: 60%;
8506
93a9f4a0e361 coal/paper: simplify margin and padding CSS rules
Martin Geisler <mg@lazybytes.net>
parents: 7725
diff changeset
   126
  margin: 1em 0;
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
   127
}
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
   128
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
   129
.tag {
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
   130
  color: #999;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
   131
  font-size: 70%;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
   132
  font-weight: normal;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
   133
  margin-left: .5em;
6571
e6f71ca3de8a coal: fix CSS errors as reported by Firefox
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6463
diff changeset
   134
  vertical-align: baseline;
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
   135
}
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
   136
7407
7b2a77b20964 coal/paper: display branch names in log
Benoit Allard <benoit@aeteurope.nl>
parents: 7394
diff changeset
   137
.branchhead {
7b2a77b20964 coal/paper: display branch names in log
Benoit Allard <benoit@aeteurope.nl>
parents: 7394
diff changeset
   138
  color: #000;
7b2a77b20964 coal/paper: display branch names in log
Benoit Allard <benoit@aeteurope.nl>
parents: 7394
diff changeset
   139
  font-size: 80%;
7b2a77b20964 coal/paper: display branch names in log
Benoit Allard <benoit@aeteurope.nl>
parents: 7394
diff changeset
   140
  font-weight: normal;
7b2a77b20964 coal/paper: display branch names in log
Benoit Allard <benoit@aeteurope.nl>
parents: 7394
diff changeset
   141
  margin-left: .5em;
7b2a77b20964 coal/paper: display branch names in log
Benoit Allard <benoit@aeteurope.nl>
parents: 7394
diff changeset
   142
  vertical-align: baseline;
7b2a77b20964 coal/paper: display branch names in log
Benoit Allard <benoit@aeteurope.nl>
parents: 7394
diff changeset
   143
}
7b2a77b20964 coal/paper: display branch names in log
Benoit Allard <benoit@aeteurope.nl>
parents: 7394
diff changeset
   144
7408
f031a12dfc31 coal/paper/monoblue: show branch names in hgweb graph
Benoit Allard <benoit@aeteurope.nl>
parents: 7407
diff changeset
   145
ul#graphnodes .branchhead {
f031a12dfc31 coal/paper/monoblue: show branch names in hgweb graph
Benoit Allard <benoit@aeteurope.nl>
parents: 7407
diff changeset
   146
  font-size: 75%;
f031a12dfc31 coal/paper/monoblue: show branch names in hgweb graph
Benoit Allard <benoit@aeteurope.nl>
parents: 7407
diff changeset
   147
}
f031a12dfc31 coal/paper/monoblue: show branch names in hgweb graph
Benoit Allard <benoit@aeteurope.nl>
parents: 7407
diff changeset
   148
7407
7b2a77b20964 coal/paper: display branch names in log
Benoit Allard <benoit@aeteurope.nl>
parents: 7394
diff changeset
   149
.branchname {
7b2a77b20964 coal/paper: display branch names in log
Benoit Allard <benoit@aeteurope.nl>
parents: 7394
diff changeset
   150
  color: #000;
10575
136eed1ac69c trailing spaces (and one stray tab)
Thomas Arendsen Hein <thomas@intevation.de>
parents: 9999
diff changeset
   151
  font-size: 60%;
7407
7b2a77b20964 coal/paper: display branch names in log
Benoit Allard <benoit@aeteurope.nl>
parents: 7394
diff changeset
   152
  font-weight: normal;
7b2a77b20964 coal/paper: display branch names in log
Benoit Allard <benoit@aeteurope.nl>
parents: 7394
diff changeset
   153
  margin-left: .5em;
7b2a77b20964 coal/paper: display branch names in log
Benoit Allard <benoit@aeteurope.nl>
parents: 7394
diff changeset
   154
  vertical-align: baseline;
7b2a77b20964 coal/paper: display branch names in log
Benoit Allard <benoit@aeteurope.nl>
parents: 7394
diff changeset
   155
}
7b2a77b20964 coal/paper: display branch names in log
Benoit Allard <benoit@aeteurope.nl>
parents: 7394
diff changeset
   156
7410
f1111704061e coal/paper: show branch name in changeset view
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 7408
diff changeset
   157
h3 .branchname {
f1111704061e coal/paper: show branch name in changeset view
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 7408
diff changeset
   158
  font-size: 80%;
f1111704061e coal/paper: show branch name in changeset view
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 7408
diff changeset
   159
}
f1111704061e coal/paper: show branch name in changeset view
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 7408
diff changeset
   160
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
   161
/* Common */
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
   162
pre { margin: 0; }
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
   163
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
   164
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
   165
h2 a { color: #000; }
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
   166
h3 {
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
   167
  margin-top: -.7em;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
   168
  font-size: 100%;
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
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
   171
/* log and tags tables */
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
   172
.bigtable {
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
   173
  border-bottom: 1px solid #999;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
   174
  border-collapse: collapse;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
   175
  font-size: 90%;
7327
a1758089ee35 Kill trailing whitespace in templates
Thomas Arendsen Hein <thomas@intevation.de>
parents: 7314
diff changeset
   176
  width: 100%;
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
   177
  font-weight: normal;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
   178
  text-align: left;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
   179
}
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
   180
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
   181
.bigtable td {
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
   182
  vertical-align: top;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
   183
}
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
   184
7327
a1758089ee35 Kill trailing whitespace in templates
Thomas Arendsen Hein <thomas@intevation.de>
parents: 7314
diff changeset
   185
.bigtable th {
8506
93a9f4a0e361 coal/paper: simplify margin and padding CSS rules
Martin Geisler <mg@lazybytes.net>
parents: 7725
diff changeset
   186
  padding: 1px 4px;
7327
a1758089ee35 Kill trailing whitespace in templates
Thomas Arendsen Hein <thomas@intevation.de>
parents: 7314
diff changeset
   187
  border-bottom: 1px solid #999;
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
   188
}
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
   189
.bigtable tr { border: none; }
9721
1d75c683ada1 templater: put 'ago' inside the age template filter
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8713
diff changeset
   190
.bigtable .age { width: 7em; }
18664
30d899febef8 hgweb: consistent author name width
Dan Villiom Podlaski Christiansen <danchr@gmail.com>
parents: 18258
diff changeset
   191
.bigtable .author { width: 15em; }
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
   192
.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
   193
.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
   194
.bigtable .node { width: 5em; font-family: monospace;}
6452
d93f2f39bef4 coal: more tweaks
Matt Mackall <mpm@selenic.com>
parents: 6451
diff changeset
   195
.bigtable .permissions { width: 8em; text-align: left;}
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
   196
.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
   197
.bigtable .annotate { text-align: right; }
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
   198
.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
   199
.bigtable td.source { font-size: inherit; }
03b60f2f90bf hgweb (coal/paper): make file, diff and annotate easier to render
Brendan Cully <brendan@kublai.com>
parents: 7340
diff changeset
   200
03b60f2f90bf hgweb (coal/paper): make file, diff and annotate easier to render
Brendan Cully <brendan@kublai.com>
parents: 7340
diff changeset
   201
.source, .sourcefirst, .sourcelast {
03b60f2f90bf hgweb (coal/paper): make file, diff and annotate easier to render
Brendan Cully <brendan@kublai.com>
parents: 7340
diff changeset
   202
  font-family: monospace;
03b60f2f90bf hgweb (coal/paper): make file, diff and annotate easier to render
Brendan Cully <brendan@kublai.com>
parents: 7340
diff changeset
   203
  white-space: pre;
8508
8c5e32a4f2f9 coal/paper: equal heights for file and annotate views
Martin Geisler <mg@lazybytes.net>
parents: 8506
diff changeset
   204
  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
   205
  font-size: 90%;
03b60f2f90bf hgweb (coal/paper): make file, diff and annotate easier to render
Brendan Cully <brendan@kublai.com>
parents: 7340
diff changeset
   206
}
8508
8c5e32a4f2f9 coal/paper: equal heights for file and annotate views
Martin Geisler <mg@lazybytes.net>
parents: 8506
diff changeset
   207
.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
   208
.sourcelast { border-top: 1px solid #999; }
03b60f2f90bf hgweb (coal/paper): make file, diff and annotate easier to render
Brendan Cully <brendan@kublai.com>
parents: 7340
diff changeset
   209
.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
   210
.bottomline { border-bottom: 1px solid #999; }
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
   211
19387
f2e4fdb3dd27 hgweb: code selection without line numbers in file source view
Alexander Plavin <me@aplavin.ru>
parents: 18664
diff changeset
   212
.sourcelines {
f2e4fdb3dd27 hgweb: code selection without line numbers in file source view
Alexander Plavin <me@aplavin.ru>
parents: 18664
diff changeset
   213
  font-size: 90%;
f2e4fdb3dd27 hgweb: code selection without line numbers in file source view
Alexander Plavin <me@aplavin.ru>
parents: 18664
diff changeset
   214
  position: relative;
f2e4fdb3dd27 hgweb: code selection without line numbers in file source view
Alexander Plavin <me@aplavin.ru>
parents: 18664
diff changeset
   215
}
f2e4fdb3dd27 hgweb: code selection without line numbers in file source view
Alexander Plavin <me@aplavin.ru>
parents: 18664
diff changeset
   216
f2e4fdb3dd27 hgweb: code selection without line numbers in file source view
Alexander Plavin <me@aplavin.ru>
parents: 18664
diff changeset
   217
.sourcelines > span {
f2e4fdb3dd27 hgweb: code selection without line numbers in file source view
Alexander Plavin <me@aplavin.ru>
parents: 18664
diff changeset
   218
  display: inline-block;
f2e4fdb3dd27 hgweb: code selection without line numbers in file source view
Alexander Plavin <me@aplavin.ru>
parents: 18664
diff changeset
   219
  width: 100%;
f2e4fdb3dd27 hgweb: code selection without line numbers in file source view
Alexander Plavin <me@aplavin.ru>
parents: 18664
diff changeset
   220
  padding: 1px 0px;
f2e4fdb3dd27 hgweb: code selection without line numbers in file source view
Alexander Plavin <me@aplavin.ru>
parents: 18664
diff changeset
   221
  counter-increment: lineno;
f2e4fdb3dd27 hgweb: code selection without line numbers in file source view
Alexander Plavin <me@aplavin.ru>
parents: 18664
diff changeset
   222
}
f2e4fdb3dd27 hgweb: code selection without line numbers in file source view
Alexander Plavin <me@aplavin.ru>
parents: 18664
diff changeset
   223
f2e4fdb3dd27 hgweb: code selection without line numbers in file source view
Alexander Plavin <me@aplavin.ru>
parents: 18664
diff changeset
   224
.sourcelines > span:before {
f2e4fdb3dd27 hgweb: code selection without line numbers in file source view
Alexander Plavin <me@aplavin.ru>
parents: 18664
diff changeset
   225
  -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
   226
  -khtml-user-select: none;
f2e4fdb3dd27 hgweb: code selection without line numbers in file source view
Alexander Plavin <me@aplavin.ru>
parents: 18664
diff changeset
   227
  -webkit-user-select: none;
f2e4fdb3dd27 hgweb: code selection without line numbers in file source view
Alexander Plavin <me@aplavin.ru>
parents: 18664
diff changeset
   228
  -ms-user-select: none;
f2e4fdb3dd27 hgweb: code selection without line numbers in file source view
Alexander Plavin <me@aplavin.ru>
parents: 18664
diff changeset
   229
  user-select: none;
f2e4fdb3dd27 hgweb: code selection without line numbers in file source view
Alexander Plavin <me@aplavin.ru>
parents: 18664
diff changeset
   230
  display: inline-block;
f2e4fdb3dd27 hgweb: code selection without line numbers in file source view
Alexander Plavin <me@aplavin.ru>
parents: 18664
diff changeset
   231
  width: 4em;
f2e4fdb3dd27 hgweb: code selection without line numbers in file source view
Alexander Plavin <me@aplavin.ru>
parents: 18664
diff changeset
   232
  margin-right: 1em;
f2e4fdb3dd27 hgweb: code selection without line numbers in file source view
Alexander Plavin <me@aplavin.ru>
parents: 18664
diff changeset
   233
  font-size: smaller;
f2e4fdb3dd27 hgweb: code selection without line numbers in file source view
Alexander Plavin <me@aplavin.ru>
parents: 18664
diff changeset
   234
  color: #999;
f2e4fdb3dd27 hgweb: code selection without line numbers in file source view
Alexander Plavin <me@aplavin.ru>
parents: 18664
diff changeset
   235
  text-align: right;
f2e4fdb3dd27 hgweb: code selection without line numbers in file source view
Alexander Plavin <me@aplavin.ru>
parents: 18664
diff changeset
   236
  content: counter(lineno);
f2e4fdb3dd27 hgweb: code selection without line numbers in file source view
Alexander Plavin <me@aplavin.ru>
parents: 18664
diff changeset
   237
}
f2e4fdb3dd27 hgweb: code selection without line numbers in file source view
Alexander Plavin <me@aplavin.ru>
parents: 18664
diff changeset
   238
f2e4fdb3dd27 hgweb: code selection without line numbers in file source view
Alexander Plavin <me@aplavin.ru>
parents: 18664
diff changeset
   239
.sourcelines > span:nth-child(4n+1) { background-color: #f0f0f0; }
f2e4fdb3dd27 hgweb: code selection without line numbers in file source view
Alexander Plavin <me@aplavin.ru>
parents: 18664
diff changeset
   240
.sourcelines > span:nth-child(4n+3) { background-color: white; }
f2e4fdb3dd27 hgweb: code selection without line numbers in file source view
Alexander Plavin <me@aplavin.ru>
parents: 18664
diff changeset
   241
f2e4fdb3dd27 hgweb: code selection without line numbers in file source view
Alexander Plavin <me@aplavin.ru>
parents: 18664
diff changeset
   242
.sourcelines > a {
f2e4fdb3dd27 hgweb: code selection without line numbers in file source view
Alexander Plavin <me@aplavin.ru>
parents: 18664
diff changeset
   243
    display: inline-block;
f2e4fdb3dd27 hgweb: code selection without line numbers in file source view
Alexander Plavin <me@aplavin.ru>
parents: 18664
diff changeset
   244
    position: absolute;
f2e4fdb3dd27 hgweb: code selection without line numbers in file source view
Alexander Plavin <me@aplavin.ru>
parents: 18664
diff changeset
   245
    left: 0px;
f2e4fdb3dd27 hgweb: code selection without line numbers in file source view
Alexander Plavin <me@aplavin.ru>
parents: 18664
diff changeset
   246
    width: 4em;
f2e4fdb3dd27 hgweb: code selection without line numbers in file source view
Alexander Plavin <me@aplavin.ru>
parents: 18664
diff changeset
   247
    height: 1em;
f2e4fdb3dd27 hgweb: code selection without line numbers in file source view
Alexander Plavin <me@aplavin.ru>
parents: 18664
diff changeset
   248
}
f2e4fdb3dd27 hgweb: code selection without line numbers in file source view
Alexander Plavin <me@aplavin.ru>
parents: 18664
diff changeset
   249
6454
eec89a03db08 coal: even more tweaks
Matt Mackall <mpm@selenic.com>
parents: 6453
diff changeset
   250
.fileline { font-family: monospace; }
6463
5e011a402352 coal: more tweaks
Matt Mackall <mpm@selenic.com>
parents: 6454
diff changeset
   251
.fileline img { border: 0; }
6454
eec89a03db08 coal: even more tweaks
Matt Mackall <mpm@selenic.com>
parents: 6453
diff changeset
   252
8713
de6bb29e208a hgweb: allow distinction between open/closed branches on branches page
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8509
diff changeset
   253
.tagEntry .closed { color: #99f; }
de6bb29e208a hgweb: allow distinction between open/closed branches on branches page
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8509
diff changeset
   254
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
   255
/* Changeset entry */
7327
a1758089ee35 Kill trailing whitespace in templates
Thomas Arendsen Hein <thomas@intevation.de>
parents: 7314
diff changeset
   256
#changesetEntry {
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
   257
  border-collapse: collapse;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
   258
  font-size: 90%;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
   259
  width: 100%;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
   260
  margin-bottom: 1em;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
   261
}
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
   262
7327
a1758089ee35 Kill trailing whitespace in templates
Thomas Arendsen Hein <thomas@intevation.de>
parents: 7314
diff changeset
   263
#changesetEntry th {
8506
93a9f4a0e361 coal/paper: simplify margin and padding CSS rules
Martin Geisler <mg@lazybytes.net>
parents: 7725
diff changeset
   264
  padding: 1px 4px;
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
   265
  width: 4em;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
   266
  text-align: right;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
   267
  font-weight: normal;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
   268
  color: #999;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
   269
  margin-right: .5em;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
   270
  vertical-align: top;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
   271
}
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
   272
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
   273
div.description {
6661
d1a312daa574 hgweb: add paper style derived from coal
Matt Mackall <mpm@selenic.com>
parents: 6571
diff changeset
   274
  border-left: 2px solid #999;
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
   275
  margin: 1em 0 1em 0;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
   276
  padding: .3em;
13934
ebe1ddbbefd7 paper: preserve whitespace on description instead of adding breaks
Adrian Buehlmann <adrian@cadifra.com>
parents: 13850
diff changeset
   277
  white-space: pre;
13961
1708a0cad774 paper: use monospace font for description
Adrian Buehlmann <adrian@cadifra.com>
parents: 13934
diff changeset
   278
  font-family: monospace;
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
   279
}
6692
683428d1e639 make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents: 6661
diff changeset
   280
6693
7f58dec6aeb7 hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents: 6661
diff changeset
   281
/* Graph */
6692
683428d1e639 make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents: 6661
diff changeset
   282
div#wrapper {
683428d1e639 make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents: 6661
diff changeset
   283
	position: relative;
683428d1e639 make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents: 6661
diff changeset
   284
	border-top: 1px solid black;
683428d1e639 make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents: 6661
diff changeset
   285
	border-bottom: 1px solid black;
683428d1e639 make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents: 6661
diff changeset
   286
	margin: 0;
683428d1e639 make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents: 6661
diff changeset
   287
	padding: 0;
683428d1e639 make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents: 6661
diff changeset
   288
}
683428d1e639 make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents: 6661
diff changeset
   289
683428d1e639 make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents: 6661
diff changeset
   290
canvas {
683428d1e639 make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents: 6661
diff changeset
   291
	position: absolute;
683428d1e639 make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents: 6661
diff changeset
   292
	z-index: 5;
683428d1e639 make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents: 6661
diff changeset
   293
	top: -0.7em;
683428d1e639 make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents: 6661
diff changeset
   294
	margin: 0;
683428d1e639 make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents: 6661
diff changeset
   295
}
683428d1e639 make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents: 6661
diff changeset
   296
8509
5cd232ebc317 coal/paper: minimize whitespace differences in CSS files
Martin Geisler <mg@lazybytes.net>
parents: 8508
diff changeset
   297
ul#graphnodes {
5cd232ebc317 coal/paper: minimize whitespace differences in CSS files
Martin Geisler <mg@lazybytes.net>
parents: 8508
diff changeset
   298
	position: absolute;
5cd232ebc317 coal/paper: minimize whitespace differences in CSS files
Martin Geisler <mg@lazybytes.net>
parents: 8508
diff changeset
   299
	z-index: 10;
5cd232ebc317 coal/paper: minimize whitespace differences in CSS files
Martin Geisler <mg@lazybytes.net>
parents: 8508
diff changeset
   300
	top: -1.0em;
5cd232ebc317 coal/paper: minimize whitespace differences in CSS files
Martin Geisler <mg@lazybytes.net>
parents: 8508
diff changeset
   301
	list-style: none inside none;
5cd232ebc317 coal/paper: minimize whitespace differences in CSS files
Martin Geisler <mg@lazybytes.net>
parents: 8508
diff changeset
   302
	padding: 0;
5cd232ebc317 coal/paper: minimize whitespace differences in CSS files
Martin Geisler <mg@lazybytes.net>
parents: 8508
diff changeset
   303
}
5cd232ebc317 coal/paper: minimize whitespace differences in CSS files
Martin Geisler <mg@lazybytes.net>
parents: 8508
diff changeset
   304
6693
7f58dec6aeb7 hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents: 6661
diff changeset
   305
ul#nodebgs {
7f58dec6aeb7 hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents: 6661
diff changeset
   306
	list-style: none inside none;
7f58dec6aeb7 hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents: 6661
diff changeset
   307
	padding: 0;
7f58dec6aeb7 hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents: 6661
diff changeset
   308
	margin: 0;
7f58dec6aeb7 hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents: 6661
diff changeset
   309
	top: -0.7em;
7f58dec6aeb7 hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents: 6661
diff changeset
   310
}
7327
a1758089ee35 Kill trailing whitespace in templates
Thomas Arendsen Hein <thomas@intevation.de>
parents: 7314
diff changeset
   311
6693
7f58dec6aeb7 hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents: 6661
diff changeset
   312
ul#graphnodes li, ul#nodebgs li {
7f58dec6aeb7 hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents: 6661
diff changeset
   313
	height: 39px;
7f58dec6aeb7 hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents: 6661
diff changeset
   314
}
7f58dec6aeb7 hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents: 6661
diff changeset
   315
6692
683428d1e639 make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents: 6661
diff changeset
   316
ul#graphnodes li .info {
683428d1e639 make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents: 6661
diff changeset
   317
	display: block;
683428d1e639 make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents: 6661
diff changeset
   318
	font-size: 70%;
683428d1e639 make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents: 6661
diff changeset
   319
	position: relative;
683428d1e639 make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents: 6661
diff changeset
   320
	top: -3px;
683428d1e639 make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents: 6661
diff changeset
   321
}
17202
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 14563
diff changeset
   322
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 14563
diff changeset
   323
/* Comparison */
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 14563
diff changeset
   324
.legend {
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 14563
diff changeset
   325
    padding: 1.5% 0 1.5% 0;
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 14563
diff changeset
   326
}
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 14563
diff changeset
   327
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 14563
diff changeset
   328
.legendinfo {
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 14563
diff changeset
   329
    border: 1px solid #999;
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 14563
diff changeset
   330
    font-size: 80%;
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 14563
diff changeset
   331
    text-align: center;
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 14563
diff changeset
   332
    padding: 0.5%;
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 14563
diff changeset
   333
}
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 14563
diff changeset
   334
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 14563
diff changeset
   335
.equal {
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 14563
diff changeset
   336
    background-color: #ffffff;
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 14563
diff changeset
   337
}
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 14563
diff changeset
   338
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 14563
diff changeset
   339
.delete {
17243
106cdea0183d hgweb: improve colors for comparison page
Matt Mackall <mpm@selenic.com>
parents: 17202
diff changeset
   340
    background-color: #faa;
106cdea0183d hgweb: improve colors for comparison page
Matt Mackall <mpm@selenic.com>
parents: 17202
diff changeset
   341
    color: #333;
17202
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 14563
diff changeset
   342
}
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 14563
diff changeset
   343
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 14563
diff changeset
   344
.insert {
17243
106cdea0183d hgweb: improve colors for comparison page
Matt Mackall <mpm@selenic.com>
parents: 17202
diff changeset
   345
    background-color: #ffa;
17202
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 14563
diff changeset
   346
}
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 14563
diff changeset
   347
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 14563
diff changeset
   348
.replace {
17243
106cdea0183d hgweb: improve colors for comparison page
Matt Mackall <mpm@selenic.com>
parents: 17202
diff changeset
   349
    background-color: #e8e8e8;
17202
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 14563
diff changeset
   350
}
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 14563
diff changeset
   351
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 14563
diff changeset
   352
.header {
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 14563
diff changeset
   353
    text-align: center;
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 14563
diff changeset
   354
}
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 14563
diff changeset
   355
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 14563
diff changeset
   356
.block {
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 14563
diff changeset
   357
    border-top: 1px solid #999;
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 14563
diff changeset
   358
}
18258
bebb05a7e249 hgweb: add a "URL breadcrumb" to the index and repository pages
Angel Ezquerra <angel.ezquerra at gmail.com>
parents: 18200
diff changeset
   359
bebb05a7e249 hgweb: add a "URL breadcrumb" to the index and repository pages
Angel Ezquerra <angel.ezquerra at gmail.com>
parents: 18200
diff changeset
   360
.breadcrumb {
bebb05a7e249 hgweb: add a "URL breadcrumb" to the index and repository pages
Angel Ezquerra <angel.ezquerra at gmail.com>
parents: 18200
diff changeset
   361
    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
   362
}
bebb05a7e249 hgweb: add a "URL breadcrumb" to the index and repository pages
Angel Ezquerra <angel.ezquerra at gmail.com>
parents: 18200
diff changeset
   363
bebb05a7e249 hgweb: add a "URL breadcrumb" to the index and repository pages
Angel Ezquerra <angel.ezquerra at gmail.com>
parents: 18200
diff changeset
   364
.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
   365
    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
   366
}