mercurial/templates/static/style-coal.css
author Anton Shestakov <av6@dwimlabs.net>
Thu, 25 Jun 2015 20:27:36 +0800
changeset 25664 ebdfca23c1ab
parent 20577 de48422df393
child 26244 399e970e35c8
permissions -rw-r--r--
hgweb: use css for stripey background in coal Since "b8ecc3830c89 or 25dae11bb044::c229a5e7511e" paper style used css for stripes in background for browsing files, for listing branches/tags/bookmarks, and so on. Since coal borrows many paper templates (e.g. shortlogentry.tmpl), it actually tried to do the same, but it didn't have the needed css classes. You can compare https://selenic.com/hg?style=coal with https://selenic.com/hg?style=paper and see how log view in coal style has plain white background, unlike the one in paper style. This wasn't intended. Let's copy css classes directly from style-paper.css and remove parity classes from elements that don't need them anymore. This makes plain white background have stripes again and makes coal/map even more similar to paper/map (which can ease porting changes or %including paper/map in future).
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;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
     4
  background: black url(background.png) repeat-x;
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 {
cb16217ff4d8 coal: more tweaking
Matt Mackall <mpm@selenic.com>
parents: 6452
diff changeset
     9
  padding-right: 150px;
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;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    15
  padding: 2em;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    16
  border-right: 15px solid black;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    17
  border-bottom: 15px solid black;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    18
}
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    19
7291
5ac779ea7850 Backed out changeset a1f8ad3c1821
Brendan Cully <brendan@kublai.com>
parents: 7286
diff changeset
    20
#.main {
8509
5cd232ebc317 coal/paper: minimize whitespace differences in CSS files
Martin Geisler <mg@lazybytes.net>
parents: 8508
diff changeset
    21
  width: 98%;
7291
5ac779ea7850 Backed out changeset a1f8ad3c1821
Brendan Cully <brendan@kublai.com>
parents: 7286
diff changeset
    22
}
5ac779ea7850 Backed out changeset a1f8ad3c1821
Brendan Cully <brendan@kublai.com>
parents: 7286
diff changeset
    23
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    24
.overflow {
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    25
  width: 100%;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    26
  overflow: auto;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    27
}
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
.menu {
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    30
  background: #999;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    31
  padding: 10px;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    32
  width: 75px;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    33
  margin: 0;
6463
5e011a402352 coal: more tweaks
Matt Mackall <mpm@selenic.com>
parents: 6454
diff changeset
    34
  font-size: 80%;
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    35
  text-align: left;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    36
  position: fixed;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    37
  top: 27px;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    38
  left: auto;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    39
  right: 27px;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    40
}
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    41
7291
5ac779ea7850 Backed out changeset a1f8ad3c1821
Brendan Cully <brendan@kublai.com>
parents: 7286
diff changeset
    42
#.menu {
5ac779ea7850 Backed out changeset a1f8ad3c1821
Brendan Cully <brendan@kublai.com>
parents: 7286
diff changeset
    43
  position: absolute !important;
5ac779ea7850 Backed out changeset a1f8ad3c1821
Brendan Cully <brendan@kublai.com>
parents: 7286
diff changeset
    44
  top:expression(eval(document.body.scrollTop + 27));
5ac779ea7850 Backed out changeset a1f8ad3c1821
Brendan Cully <brendan@kublai.com>
parents: 7286
diff changeset
    45
}
5ac779ea7850 Backed out changeset a1f8ad3c1821
Brendan Cully <brendan@kublai.com>
parents: 7286
diff changeset
    46
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    47
.menu ul {
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    48
  list-style: none;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    49
  padding: 0;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    50
  margin: 10px 0 0 0;
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 {
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    54
  margin-bottom: 3px;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    55
  padding: 2px 4px;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    56
  background: white;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    57
  color: black;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    58
  font-weight: normal;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    59
}
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    60
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    61
.menu li.active {
6463
5e011a402352 coal: more tweaks
Matt Mackall <mpm@selenic.com>
parents: 6454
diff changeset
    62
  background: black;
5e011a402352 coal: more tweaks
Matt Mackall <mpm@selenic.com>
parents: 6454
diff changeset
    63
  color: white;
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    64
}
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    65
7725
6a888d491eaf coal/paper: switch to XHTML 1.1
Benoit Allard <benoit@aeteurope.nl>
parents: 7410
diff changeset
    66
.menu img {
6a888d491eaf coal/paper: switch to XHTML 1.1
Benoit Allard <benoit@aeteurope.nl>
parents: 7410
diff changeset
    67
  width: 75px;
6a888d491eaf coal/paper: switch to XHTML 1.1
Benoit Allard <benoit@aeteurope.nl>
parents: 7410
diff changeset
    68
  height: 90px;
6a888d491eaf coal/paper: switch to XHTML 1.1
Benoit Allard <benoit@aeteurope.nl>
parents: 7410
diff changeset
    69
  border: 0;
6a888d491eaf coal/paper: switch to XHTML 1.1
Benoit Allard <benoit@aeteurope.nl>
parents: 7410
diff changeset
    70
}
6a888d491eaf coal/paper: switch to XHTML 1.1
Benoit Allard <benoit@aeteurope.nl>
parents: 7410
diff changeset
    71
6463
5e011a402352 coal: more tweaks
Matt Mackall <mpm@selenic.com>
parents: 6454
diff changeset
    72
.menu a { color: black; display: block; }
5e011a402352 coal: more tweaks
Matt Mackall <mpm@selenic.com>
parents: 6454
diff changeset
    73
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    74
.search {
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    75
  position: absolute;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    76
  top: .7em;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    77
  right: 2em;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    78
}
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    79
7725
6a888d491eaf coal/paper: switch to XHTML 1.1
Benoit Allard <benoit@aeteurope.nl>
parents: 7410
diff changeset
    80
form.search div#hint {
7299
288dda59233c coal/paper: show a search tip when hovering over search box
Benoit Allard <benoit@aeteurope.nl>
parents: 7291
diff changeset
    81
  display: none;
288dda59233c coal/paper: show a search tip when hovering over search box
Benoit Allard <benoit@aeteurope.nl>
parents: 7291
diff changeset
    82
  position: absolute;
288dda59233c coal/paper: show a search tip when hovering over search box
Benoit Allard <benoit@aeteurope.nl>
parents: 7291
diff changeset
    83
  top: 40px;
288dda59233c coal/paper: show a search tip when hovering over search box
Benoit Allard <benoit@aeteurope.nl>
parents: 7291
diff changeset
    84
  right: 0px;
288dda59233c coal/paper: show a search tip when hovering over search box
Benoit Allard <benoit@aeteurope.nl>
parents: 7291
diff changeset
    85
  width: 190px;
288dda59233c coal/paper: show a search tip when hovering over search box
Benoit Allard <benoit@aeteurope.nl>
parents: 7291
diff changeset
    86
  padding: 5px;
288dda59233c coal/paper: show a search tip when hovering over search box
Benoit Allard <benoit@aeteurope.nl>
parents: 7291
diff changeset
    87
  background: #ffc;
7327
a1758089ee35 Kill trailing whitespace in templates
Thomas Arendsen Hein <thomas@intevation.de>
parents: 7314
diff changeset
    88
  font-size: 70%;
7299
288dda59233c coal/paper: show a search tip when hovering over search box
Benoit Allard <benoit@aeteurope.nl>
parents: 7291
diff changeset
    89
  border: 1px solid yellow;
288dda59233c coal/paper: show a search tip when hovering over search box
Benoit Allard <benoit@aeteurope.nl>
parents: 7291
diff changeset
    90
  -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: 7291
diff changeset
    91
  -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: 7291
diff changeset
    92
}
288dda59233c coal/paper: show a search tip when hovering over search box
Benoit Allard <benoit@aeteurope.nl>
parents: 7291
diff changeset
    93
7725
6a888d491eaf coal/paper: switch to XHTML 1.1
Benoit Allard <benoit@aeteurope.nl>
parents: 7410
diff changeset
    94
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: 7291
diff changeset
    95
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    96
a { text-decoration:none; }
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    97
.age { white-space:nowrap; }
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    98
.date { white-space:nowrap; }
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    99
.indexlinks { white-space:nowrap; }
25664
ebdfca23c1ab hgweb: use css for stripey background in coal
Anton Shestakov <av6@dwimlabs.net>
parents: 20577
diff changeset
   100
.parity0,
ebdfca23c1ab hgweb: use css for stripey background in coal
Anton Shestakov <av6@dwimlabs.net>
parents: 20577
diff changeset
   101
.stripes4 > :nth-child(4n+1),
ebdfca23c1ab hgweb: use css for stripey background in coal
Anton Shestakov <av6@dwimlabs.net>
parents: 20577
diff changeset
   102
.stripes2 > :nth-child(2n+1) { background-color: #f0f0f0; }
ebdfca23c1ab hgweb: use css for stripey background in coal
Anton Shestakov <av6@dwimlabs.net>
parents: 20577
diff changeset
   103
.parity1,
ebdfca23c1ab hgweb: use css for stripey background in coal
Anton Shestakov <av6@dwimlabs.net>
parents: 20577
diff changeset
   104
.stripes4 > :nth-child(4n+3),
ebdfca23c1ab hgweb: use css for stripey background in coal
Anton Shestakov <av6@dwimlabs.net>
parents: 20577
diff changeset
   105
.stripes2 > :nth-child(2n+2) { background-color: white; }
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
   106
.plusline { color: green; }
7340
06a6942554dc hgweb: improve color discrimination for paper and coal
Matt Mackall <mpm@selenic.com>
parents: 7327
diff changeset
   107
.minusline { color: #dc143c; } /* crimson */
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
   108
.atline { color: purple; }
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
   109
14563
81fc9678b018 paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents: 14445
diff changeset
   110
.diffstat-file {
81fc9678b018 paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents: 14445
diff changeset
   111
  white-space: nowrap;
81fc9678b018 paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents: 14445
diff changeset
   112
  font-size: 90%;
81fc9678b018 paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents: 14445
diff changeset
   113
}
81fc9678b018 paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents: 14445
diff changeset
   114
.diffstat-total {
81fc9678b018 paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents: 14445
diff changeset
   115
  white-space: nowrap;
81fc9678b018 paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents: 14445
diff changeset
   116
  font-size: 90%;
81fc9678b018 paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents: 14445
diff changeset
   117
}
81fc9678b018 paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents: 14445
diff changeset
   118
.diffstat-graph {
81fc9678b018 paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents: 14445
diff changeset
   119
  width: 100%;
81fc9678b018 paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents: 14445
diff changeset
   120
}
81fc9678b018 paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents: 14445
diff changeset
   121
.diffstat-add {
81fc9678b018 paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents: 14445
diff changeset
   122
  background-color: green;
81fc9678b018 paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents: 14445
diff changeset
   123
  float: left;
81fc9678b018 paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents: 14445
diff changeset
   124
}
81fc9678b018 paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents: 14445
diff changeset
   125
.diffstat-remove {
81fc9678b018 paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents: 14445
diff changeset
   126
  background-color: red;
81fc9678b018 paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents: 14445
diff changeset
   127
  float: left;
81fc9678b018 paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents: 14445
diff changeset
   128
}
81fc9678b018 paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents: 14445
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
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
   136
.tag {
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
   137
  color: #999;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
   138
  font-size: 70%;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
   139
  font-weight: normal;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
   140
  margin-left: .5em;
6571
e6f71ca3de8a coal: fix CSS errors as reported by Firefox
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6463
diff changeset
   141
  vertical-align: baseline;
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
   142
}
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
   143
7407
7b2a77b20964 coal/paper: display branch names in log
Benoit Allard <benoit@aeteurope.nl>
parents: 7394
diff changeset
   144
.branchhead {
7b2a77b20964 coal/paper: display branch names in log
Benoit Allard <benoit@aeteurope.nl>
parents: 7394
diff changeset
   145
  color: #000;
7b2a77b20964 coal/paper: display branch names in log
Benoit Allard <benoit@aeteurope.nl>
parents: 7394
diff changeset
   146
  font-size: 80%;
7b2a77b20964 coal/paper: display branch names in log
Benoit Allard <benoit@aeteurope.nl>
parents: 7394
diff changeset
   147
  font-weight: normal;
7b2a77b20964 coal/paper: display branch names in log
Benoit Allard <benoit@aeteurope.nl>
parents: 7394
diff changeset
   148
  margin-left: .5em;
7b2a77b20964 coal/paper: display branch names in log
Benoit Allard <benoit@aeteurope.nl>
parents: 7394
diff changeset
   149
  vertical-align: baseline;
7b2a77b20964 coal/paper: display branch names in log
Benoit Allard <benoit@aeteurope.nl>
parents: 7394
diff changeset
   150
}
7b2a77b20964 coal/paper: display branch names in log
Benoit Allard <benoit@aeteurope.nl>
parents: 7394
diff changeset
   151
7408
f031a12dfc31 coal/paper/monoblue: show branch names in hgweb graph
Benoit Allard <benoit@aeteurope.nl>
parents: 7407
diff changeset
   152
ul#graphnodes .branchhead {
f031a12dfc31 coal/paper/monoblue: show branch names in hgweb graph
Benoit Allard <benoit@aeteurope.nl>
parents: 7407
diff changeset
   153
  font-size: 75%;
f031a12dfc31 coal/paper/monoblue: show branch names in hgweb graph
Benoit Allard <benoit@aeteurope.nl>
parents: 7407
diff changeset
   154
}
f031a12dfc31 coal/paper/monoblue: show branch names in hgweb graph
Benoit Allard <benoit@aeteurope.nl>
parents: 7407
diff changeset
   155
7407
7b2a77b20964 coal/paper: display branch names in log
Benoit Allard <benoit@aeteurope.nl>
parents: 7394
diff changeset
   156
.branchname {
7b2a77b20964 coal/paper: display branch names in log
Benoit Allard <benoit@aeteurope.nl>
parents: 7394
diff changeset
   157
  color: #000;
10575
136eed1ac69c trailing spaces (and one stray tab)
Thomas Arendsen Hein <thomas@intevation.de>
parents: 9999
diff changeset
   158
  font-size: 60%;
7407
7b2a77b20964 coal/paper: display branch names in log
Benoit Allard <benoit@aeteurope.nl>
parents: 7394
diff changeset
   159
  font-weight: normal;
7b2a77b20964 coal/paper: display branch names in log
Benoit Allard <benoit@aeteurope.nl>
parents: 7394
diff changeset
   160
  margin-left: .5em;
7b2a77b20964 coal/paper: display branch names in log
Benoit Allard <benoit@aeteurope.nl>
parents: 7394
diff changeset
   161
  vertical-align: baseline;
7b2a77b20964 coal/paper: display branch names in log
Benoit Allard <benoit@aeteurope.nl>
parents: 7394
diff changeset
   162
}
7b2a77b20964 coal/paper: display branch names in log
Benoit Allard <benoit@aeteurope.nl>
parents: 7394
diff changeset
   163
7410
f1111704061e coal/paper: show branch name in changeset view
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 7408
diff changeset
   164
h3 .branchname {
f1111704061e coal/paper: show branch name in changeset view
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 7408
diff changeset
   165
  font-size: 80%;
f1111704061e coal/paper: show branch name in changeset view
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 7408
diff changeset
   166
}
f1111704061e coal/paper: show branch name in changeset view
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 7408
diff changeset
   167
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
   168
/* Common */
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
   169
pre { margin: 0; }
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
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: 7299
diff changeset
   172
h2 a { color: #000; }
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
   173
h3 {
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
   174
  margin-top: -.7em;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
   175
  font-size: 100%;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
   176
}
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
   177
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
   178
/* log and tags tables */
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
   179
.bigtable {
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
   180
  border-bottom: 1px solid #999;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
   181
  border-collapse: collapse;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
   182
  font-size: 90%;
7327
a1758089ee35 Kill trailing whitespace in templates
Thomas Arendsen Hein <thomas@intevation.de>
parents: 7314
diff changeset
   183
  width: 100%;
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
   184
  font-weight: normal;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
   185
  text-align: left;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
   186
}
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
   187
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
   188
.bigtable td {
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
   189
  vertical-align: top;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
   190
}
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
   191
7327
a1758089ee35 Kill trailing whitespace in templates
Thomas Arendsen Hein <thomas@intevation.de>
parents: 7314
diff changeset
   192
.bigtable th {
8506
93a9f4a0e361 coal/paper: simplify margin and padding CSS rules
Martin Geisler <mg@lazybytes.net>
parents: 7725
diff changeset
   193
  padding: 1px 4px;
7327
a1758089ee35 Kill trailing whitespace in templates
Thomas Arendsen Hein <thomas@intevation.de>
parents: 7314
diff changeset
   194
  border-bottom: 1px solid #999;
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
   195
}
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
   196
.bigtable tr { border: none; }
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
   197
.bigtable .age { width: 6em; }
18664
30d899febef8 hgweb: consistent author name width
Dan Villiom Podlaski Christiansen <danchr@gmail.com>
parents: 18258
diff changeset
   198
.bigtable .author { width: 15em; }
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
   199
.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
   200
.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
   201
.bigtable .node { width: 5em; font-family: monospace;}
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
   202
.bigtable .lineno { width: 2em; text-align: right;}
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
   203
.bigtable .lineno a { color: #999; font-size: smaller; font-family: monospace;}
6452
d93f2f39bef4 coal: more tweaks
Matt Mackall <mpm@selenic.com>
parents: 6451
diff changeset
   204
.bigtable .permissions { width: 8em; text-align: left;}
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
   205
.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
   206
.bigtable .annotate { text-align: right; }
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
   207
.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
   208
.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
   209
03b60f2f90bf hgweb (coal/paper): make file, diff and annotate easier to render
Brendan Cully <brendan@kublai.com>
parents: 7340
diff changeset
   210
.source, .sourcefirst, .sourcelast {
03b60f2f90bf hgweb (coal/paper): make file, diff and annotate easier to render
Brendan Cully <brendan@kublai.com>
parents: 7340
diff changeset
   211
  font-family: monospace;
03b60f2f90bf hgweb (coal/paper): make file, diff and annotate easier to render
Brendan Cully <brendan@kublai.com>
parents: 7340
diff changeset
   212
  white-space: pre;
8508
8c5e32a4f2f9 coal/paper: equal heights for file and annotate views
Martin Geisler <mg@lazybytes.net>
parents: 8506
diff changeset
   213
  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
   214
  font-size: 90%;
03b60f2f90bf hgweb (coal/paper): make file, diff and annotate easier to render
Brendan Cully <brendan@kublai.com>
parents: 7340
diff changeset
   215
}
8509
5cd232ebc317 coal/paper: minimize whitespace differences in CSS files
Martin Geisler <mg@lazybytes.net>
parents: 8508
diff changeset
   216
.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
   217
.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
   218
.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
   219
.bottomline { border-bottom: 1px solid #999; }
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
   220
20577
de48422df393 coal: hgweb style adds extra blank line in file view (issue4136)
anuraggoel <anurag.dsps@gmail.com>
parents: 20257
diff changeset
   221
.sourcelines > div {
de48422df393 coal: hgweb style adds extra blank line in file view (issue4136)
anuraggoel <anurag.dsps@gmail.com>
parents: 20257
diff changeset
   222
  display: inline-block;
de48422df393 coal: hgweb style adds extra blank line in file view (issue4136)
anuraggoel <anurag.dsps@gmail.com>
parents: 20257
diff changeset
   223
  width: 100%;
de48422df393 coal: hgweb style adds extra blank line in file view (issue4136)
anuraggoel <anurag.dsps@gmail.com>
parents: 20257
diff changeset
   224
  padding: 1px 0px;
de48422df393 coal: hgweb style adds extra blank line in file view (issue4136)
anuraggoel <anurag.dsps@gmail.com>
parents: 20257
diff changeset
   225
  counter-increment: lineno;
de48422df393 coal: hgweb style adds extra blank line in file view (issue4136)
anuraggoel <anurag.dsps@gmail.com>
parents: 20257
diff changeset
   226
}
de48422df393 coal: hgweb style adds extra blank line in file view (issue4136)
anuraggoel <anurag.dsps@gmail.com>
parents: 20257
diff changeset
   227
6454
eec89a03db08 coal: even more tweaks
Matt Mackall <mpm@selenic.com>
parents: 6453
diff changeset
   228
.fileline { font-family: monospace; }
6463
5e011a402352 coal: more tweaks
Matt Mackall <mpm@selenic.com>
parents: 6454
diff changeset
   229
.fileline img { border: 0; }
6454
eec89a03db08 coal: even more tweaks
Matt Mackall <mpm@selenic.com>
parents: 6453
diff changeset
   230
8713
de6bb29e208a hgweb: allow distinction between open/closed branches on branches page
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8509
diff changeset
   231
.tagEntry .closed { color: #99f; }
de6bb29e208a hgweb: allow distinction between open/closed branches on branches page
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8509
diff changeset
   232
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
   233
/* Changeset entry */
7327
a1758089ee35 Kill trailing whitespace in templates
Thomas Arendsen Hein <thomas@intevation.de>
parents: 7314
diff changeset
   234
#changesetEntry {
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
   235
  border-collapse: collapse;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
   236
  font-size: 90%;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
   237
  width: 100%;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
   238
  margin-bottom: 1em;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
   239
}
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
   240
7327
a1758089ee35 Kill trailing whitespace in templates
Thomas Arendsen Hein <thomas@intevation.de>
parents: 7314
diff changeset
   241
#changesetEntry th {
8506
93a9f4a0e361 coal/paper: simplify margin and padding CSS rules
Martin Geisler <mg@lazybytes.net>
parents: 7725
diff changeset
   242
  padding: 1px 4px;
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
   243
  width: 4em;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
   244
  text-align: right;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
   245
  font-weight: normal;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
   246
  color: #999;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
   247
  margin-right: .5em;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
   248
  vertical-align: top;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
   249
}
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
   250
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
   251
div.description {
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
   252
  border-left: 3px solid #999;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
   253
  margin: 1em 0 1em 0;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
   254
  padding: .3em;
14445
61f51f4a9a3b coal: use preformatted text for descriptions (issue2835)
Matt Mackall <mpm@selenic.com>
parents: 13850
diff changeset
   255
  white-space: pre;
61f51f4a9a3b coal: use preformatted text for descriptions (issue2835)
Matt Mackall <mpm@selenic.com>
parents: 13850
diff changeset
   256
  font-family: monospace;
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
   257
}
6691
0dba955c2636 add graph page to hgweb
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6571
diff changeset
   258
8509
5cd232ebc317 coal/paper: minimize whitespace differences in CSS files
Martin Geisler <mg@lazybytes.net>
parents: 8508
diff changeset
   259
/* Graph */
6691
0dba955c2636 add graph page to hgweb
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6571
diff changeset
   260
div#wrapper {
0dba955c2636 add graph page to hgweb
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6571
diff changeset
   261
	position: relative;
0dba955c2636 add graph page to hgweb
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6571
diff changeset
   262
	border-top: 1px solid black;
0dba955c2636 add graph page to hgweb
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6571
diff changeset
   263
	border-bottom: 1px solid black;
0dba955c2636 add graph page to hgweb
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6571
diff changeset
   264
	margin: 0;
0dba955c2636 add graph page to hgweb
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6571
diff changeset
   265
	padding: 0;
0dba955c2636 add graph page to hgweb
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6571
diff changeset
   266
}
0dba955c2636 add graph page to hgweb
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6571
diff changeset
   267
0dba955c2636 add graph page to hgweb
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6571
diff changeset
   268
canvas {
0dba955c2636 add graph page to hgweb
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6571
diff changeset
   269
	position: absolute;
0dba955c2636 add graph page to hgweb
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6571
diff changeset
   270
	z-index: 5;
0dba955c2636 add graph page to hgweb
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6571
diff changeset
   271
	top: -0.7em;
0dba955c2636 add graph page to hgweb
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6571
diff changeset
   272
	margin: 0;
0dba955c2636 add graph page to hgweb
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6571
diff changeset
   273
}
0dba955c2636 add graph page to hgweb
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6571
diff changeset
   274
0dba955c2636 add graph page to hgweb
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6571
diff changeset
   275
ul#graphnodes {
0dba955c2636 add graph page to hgweb
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6571
diff changeset
   276
	position: absolute;
0dba955c2636 add graph page to hgweb
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6571
diff changeset
   277
	z-index: 10;
0dba955c2636 add graph page to hgweb
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6571
diff changeset
   278
	top: -1.0em;
0dba955c2636 add graph page to hgweb
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6571
diff changeset
   279
	list-style: none inside none;
0dba955c2636 add graph page to hgweb
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6571
diff changeset
   280
	padding: 0;
0dba955c2636 add graph page to hgweb
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6571
diff changeset
   281
}
0dba955c2636 add graph page to hgweb
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6571
diff changeset
   282
0dba955c2636 add graph page to hgweb
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6571
diff changeset
   283
ul#nodebgs {
0dba955c2636 add graph page to hgweb
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6571
diff changeset
   284
	list-style: none inside none;
0dba955c2636 add graph page to hgweb
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6571
diff changeset
   285
	padding: 0;
0dba955c2636 add graph page to hgweb
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6571
diff changeset
   286
	margin: 0;
0dba955c2636 add graph page to hgweb
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6571
diff changeset
   287
	top: -0.7em;
0dba955c2636 add graph page to hgweb
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6571
diff changeset
   288
}
0dba955c2636 add graph page to hgweb
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6571
diff changeset
   289
0dba955c2636 add graph page to hgweb
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6571
diff changeset
   290
ul#graphnodes li, ul#nodebgs li {
0dba955c2636 add graph page to hgweb
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6571
diff changeset
   291
	height: 39px;
0dba955c2636 add graph page to hgweb
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6571
diff changeset
   292
}
0dba955c2636 add graph page to hgweb
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6571
diff changeset
   293
0dba955c2636 add graph page to hgweb
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6571
diff changeset
   294
ul#graphnodes li .info {
0dba955c2636 add graph page to hgweb
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6571
diff changeset
   295
	display: block;
0dba955c2636 add graph page to hgweb
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6571
diff changeset
   296
	font-size: 70%;
0dba955c2636 add graph page to hgweb
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6571
diff changeset
   297
	position: relative;
0dba955c2636 add graph page to hgweb
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6571
diff changeset
   298
	top: -3px;
0dba955c2636 add graph page to hgweb
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6571
diff changeset
   299
}
17202
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 14563
diff changeset
   300
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 14563
diff changeset
   301
/* Comparison */
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 14563
diff changeset
   302
.legend {
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 14563
diff changeset
   303
    padding: 1.5% 0 1.5% 0;
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 14563
diff changeset
   304
}
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 14563
diff changeset
   305
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 14563
diff changeset
   306
.legendinfo {
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 14563
diff changeset
   307
    border: 1px solid #999;
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 14563
diff changeset
   308
    font-size: 80%;
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 14563
diff changeset
   309
    text-align: center;
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 14563
diff changeset
   310
    padding: 0.5%;
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 14563
diff changeset
   311
}
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 14563
diff changeset
   312
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 14563
diff changeset
   313
.equal {
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 14563
diff changeset
   314
    background-color: #ffffff;
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 14563
diff changeset
   315
}
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 14563
diff changeset
   316
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 14563
diff changeset
   317
.delete {
17243
106cdea0183d hgweb: improve colors for comparison page
Matt Mackall <mpm@selenic.com>
parents: 17202
diff changeset
   318
    background-color: #faa;
106cdea0183d hgweb: improve colors for comparison page
Matt Mackall <mpm@selenic.com>
parents: 17202
diff changeset
   319
    color: #333;
17202
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 14563
diff changeset
   320
}
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 14563
diff changeset
   321
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 14563
diff changeset
   322
.insert {
17243
106cdea0183d hgweb: improve colors for comparison page
Matt Mackall <mpm@selenic.com>
parents: 17202
diff changeset
   323
    background-color: #ffa;
17202
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 14563
diff changeset
   324
}
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 14563
diff changeset
   325
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 14563
diff changeset
   326
.replace {
17243
106cdea0183d hgweb: improve colors for comparison page
Matt Mackall <mpm@selenic.com>
parents: 17202
diff changeset
   327
    background-color: #e8e8e8;
17202
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 14563
diff changeset
   328
}
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 14563
diff changeset
   329
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 14563
diff changeset
   330
.header {
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
}
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
.block {
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 14563
diff changeset
   335
    border-top: 1px solid #999;
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 14563
diff changeset
   336
}
18258
bebb05a7e249 hgweb: add a "URL breadcrumb" to the index and repository pages
Angel Ezquerra <angel.ezquerra at gmail.com>
parents: 17243
diff changeset
   337
bebb05a7e249 hgweb: add a "URL breadcrumb" to the index and repository pages
Angel Ezquerra <angel.ezquerra at gmail.com>
parents: 17243
diff changeset
   338
.breadcrumb {
bebb05a7e249 hgweb: add a "URL breadcrumb" to the index and repository pages
Angel Ezquerra <angel.ezquerra at gmail.com>
parents: 17243
diff changeset
   339
    color: gray;
bebb05a7e249 hgweb: add a "URL breadcrumb" to the index and repository pages
Angel Ezquerra <angel.ezquerra at gmail.com>
parents: 17243
diff changeset
   340
}
bebb05a7e249 hgweb: add a "URL breadcrumb" to the index and repository pages
Angel Ezquerra <angel.ezquerra at gmail.com>
parents: 17243
diff changeset
   341
bebb05a7e249 hgweb: add a "URL breadcrumb" to the index and repository pages
Angel Ezquerra <angel.ezquerra at gmail.com>
parents: 17243
diff changeset
   342
.breadcrumb a {
bebb05a7e249 hgweb: add a "URL breadcrumb" to the index and repository pages
Angel Ezquerra <angel.ezquerra at gmail.com>
parents: 17243
diff changeset
   343
    color: blue;
bebb05a7e249 hgweb: add a "URL breadcrumb" to the index and repository pages
Angel Ezquerra <angel.ezquerra at gmail.com>
parents: 17243
diff changeset
   344
}
20257
8a8626f2f72e hgweb: infinite scroll support for coal style
Takumi IINO <trot.thunder@gmail.com>
parents: 18664
diff changeset
   345
8a8626f2f72e hgweb: infinite scroll support for coal style
Takumi IINO <trot.thunder@gmail.com>
parents: 18664
diff changeset
   346
.scroll-loading {
8a8626f2f72e hgweb: infinite scroll support for coal style
Takumi IINO <trot.thunder@gmail.com>
parents: 18664
diff changeset
   347
    -webkit-animation: change_color 1s linear 0s infinite alternate;
8a8626f2f72e hgweb: infinite scroll support for coal style
Takumi IINO <trot.thunder@gmail.com>
parents: 18664
diff changeset
   348
    -moz-animation: change_color 1s linear 0s infinite alternate;
8a8626f2f72e hgweb: infinite scroll support for coal style
Takumi IINO <trot.thunder@gmail.com>
parents: 18664
diff changeset
   349
    -o-animation: change_color 1s linear 0s infinite alternate;
8a8626f2f72e hgweb: infinite scroll support for coal style
Takumi IINO <trot.thunder@gmail.com>
parents: 18664
diff changeset
   350
    animation: change_color 1s linear 0s infinite alternate;
8a8626f2f72e hgweb: infinite scroll support for coal style
Takumi IINO <trot.thunder@gmail.com>
parents: 18664
diff changeset
   351
}
8a8626f2f72e hgweb: infinite scroll support for coal style
Takumi IINO <trot.thunder@gmail.com>
parents: 18664
diff changeset
   352
8a8626f2f72e hgweb: infinite scroll support for coal style
Takumi IINO <trot.thunder@gmail.com>
parents: 18664
diff changeset
   353
@-webkit-keyframes change_color {
8a8626f2f72e hgweb: infinite scroll support for coal style
Takumi IINO <trot.thunder@gmail.com>
parents: 18664
diff changeset
   354
  from { background-color: #A0CEFF; } to {  }
8a8626f2f72e hgweb: infinite scroll support for coal style
Takumi IINO <trot.thunder@gmail.com>
parents: 18664
diff changeset
   355
}
8a8626f2f72e hgweb: infinite scroll support for coal style
Takumi IINO <trot.thunder@gmail.com>
parents: 18664
diff changeset
   356
@-moz-keyframes change_color {
8a8626f2f72e hgweb: infinite scroll support for coal style
Takumi IINO <trot.thunder@gmail.com>
parents: 18664
diff changeset
   357
  from { background-color: #A0CEFF; } to {  }
8a8626f2f72e hgweb: infinite scroll support for coal style
Takumi IINO <trot.thunder@gmail.com>
parents: 18664
diff changeset
   358
}
8a8626f2f72e hgweb: infinite scroll support for coal style
Takumi IINO <trot.thunder@gmail.com>
parents: 18664
diff changeset
   359
@-o-keyframes change_color {
8a8626f2f72e hgweb: infinite scroll support for coal style
Takumi IINO <trot.thunder@gmail.com>
parents: 18664
diff changeset
   360
  from { background-color: #A0CEFF; } to {  }
8a8626f2f72e hgweb: infinite scroll support for coal style
Takumi IINO <trot.thunder@gmail.com>
parents: 18664
diff changeset
   361
}
8a8626f2f72e hgweb: infinite scroll support for coal style
Takumi IINO <trot.thunder@gmail.com>
parents: 18664
diff changeset
   362
@keyframes change_color {
8a8626f2f72e hgweb: infinite scroll support for coal style
Takumi IINO <trot.thunder@gmail.com>
parents: 18664
diff changeset
   363
  from { background-color: #A0CEFF; } to {  }
8a8626f2f72e hgweb: infinite scroll support for coal style
Takumi IINO <trot.thunder@gmail.com>
parents: 18664
diff changeset
   364
}
8a8626f2f72e hgweb: infinite scroll support for coal style
Takumi IINO <trot.thunder@gmail.com>
parents: 18664
diff changeset
   365
8a8626f2f72e hgweb: infinite scroll support for coal style
Takumi IINO <trot.thunder@gmail.com>
parents: 18664
diff changeset
   366
.scroll-loading-error {
8a8626f2f72e hgweb: infinite scroll support for coal style
Takumi IINO <trot.thunder@gmail.com>
parents: 18664
diff changeset
   367
    background-color: #FFCCCC !important;
8a8626f2f72e hgweb: infinite scroll support for coal style
Takumi IINO <trot.thunder@gmail.com>
parents: 18664
diff changeset
   368
}