review/static/style.css @ 37378ae56a2f

web: fix diff line encoding
author Steve Losh <steve@dwaiter.com>
date Wed, 14 Jul 2010 09:23:24 -0400
parents 9f8ab6e7b2ec
children (none)
.markdown p:last-child, .markdown ol:last-child, .markdown ul:last-child {
  margin-bottom: 0;
}
.plain {
  font-family: Monaco, Consolas, "Courier New", monospace;
  font-size: 12px;
  white-space: pre;
}
.group:after {
  clear: both;
  content: ' ';
  display: block;
  font-size: 0;
  line-height: 0;
  visibility: hidden;
  width: 0;
  height: 0;
}
* html .group, *:first-child + html .group {
  zoom: 1;
}
html {
  overflow-y: scroll;
}
html, body {
  background-color: #edecc7;
  background: #edecc7 url('bg.png') top left repeat;
}
body {
  color: #292620;
  font-family: "Helvetica Neue", HelveticaNeue, Arial, Helvetica, sans-serif;
}
body .hr {
  height: 0;
  width: 100%;
  border-top: 1px solid #fcfcfc;
}
body .wrap {
  width: 800px;
  margin: 0 auto;
}
body .hr.one {
  border-top: none;
  height: 3px;
  background-color: #87b04d;
  border-bottom: 1px solid #648239;
}
body .hr.two {
  border-top: none;
  border-bottom: 1px solid #94b95f;
}
body .header {
  background-color: #648239;
  border-bottom: 1px solid #5a7533;
}
body .header h1 {
  color: #292620;
  text-shadow: 0px 1px 1px #94b95f;
  float: right;
  line-height: 60px;
  margin: 0 10px 0 0;
}
body .header h1 a {
  color: black;
  text-decoration: none;
}
body .header h1 a:hover {
  text-decoration: underline;
}
body .header .remotes .remote {
  padding-top: 6px;
}
body .header .remotes form {
  display: inline;
  margin-bottom: 0;
}
body .header .remotes form a {
  margin-right: 3px;
  cursor: pointer;
  font: bold 12px "Helvetica Neue", HelveticaNeue, Arial, Helvetica, sans-serif;
  color: #212000;
  line-height: 1.45;
  display: inline-block;
  text-decoration: none;
  padding: 1px;
  background-color: #edecc7;
  box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.1);
  -moz-box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.1);
  -webkit-box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.1);
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  border-top: 1px solid #bab994;
  border-right: 1px solid #a9a883;
  border-left: 1px solid #a9a883;
  border-bottom: 1px solid #989772;
}
body .header .remotes form a:focus {
  box-shadow: 0px 0px 4px rgba(100, 100, 100, 0.9);
  -moz-box-shadow: 0px 0px 4px rgba(100, 100, 100, 0.9);
  -webkit-box-shadow: 0px 0px 4px rgba(100, 100, 100, 0.9);
}
body .header .remotes form a span {
  display: inline-block;
  padding: 0 6px;
  text-shadow: 0px 1px 1px #e5e4bf;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
}
body .header .remotes form a:hover {
  border-top: 1px solid #dddbac;
  border-right: 1px solid #c8c695;
  border-left: 1px solid #c8c695;
  border-bottom: 1px solid #aead83;
  background-color: #edecc7;
}
body .header .remotes form a:hover span {
  background-color: #edecc7;
}
body .content {
  border-top: 1px solid #f8f7e8;
}
body .content .navigation {
  line-height: 1;
  width: 780px;
  margin: 15px auto;
}
body .content .wrap {
  border: 1px solid #d8d685;
  -webkit-border-radius: 7px;
  -moz-border-radius: 7px;
  border-radius: 7px;
  box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.05);
  -moz-box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.05);
  -webkit-box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.05);
  padding: 21px 20px;
  width: 760px;
  background-color: #fafafa;
}
body .footer {
  text-align: center;
  margin-top: 14px;
}
body .footer a {
  color: #292620;
  font-weight: bold;
  text-decoration: none;
}
body .footer a:hover {
  color: #bf4c18;
}
body a {
  color: #b6410c;
  text-decoration: none;
  font-weight: bold;
}
body a:hover {
  text-decoration: underline;
}
body a:active {
  color: #bf1900;
}
body .disabled {
  display: none;
}
form .field {
  position: relative;
}
form .field label {
  display: inline;
}
form .field label.radio {
  margin-right: 15px;
}
form .field label.infield {
  display: block;
  font-family: Monaco, Consolas, "Courier New", monospace;
  position: absolute;
  top: 5px;
  left: 5px;
}
form .field textarea {
  font-family: Monaco, Consolas, "Courier New", monospace;
  padding: 5px;
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  border-radius: 2px;
  border: 1px solid #444;
}
form .field.cuddly {
  margin-top: -13px;
}
#index .content table {
  width: 100%;
}
#index .content table tr {
  border: none;
}
#index .content table tr:nth-child(even) {
  background-color: #f5f5e1;
}
#index .content table tr td {
  border: none;
  line-height: 26px;
  padding: 1px 5px 0;
}
#index .content table tr td a.changeset-link {
  display: block;
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
#index .content table tr td.node {
  padding-left: 0px;
  width: 110px;
}
#index .content table tr td.node .rev {
  font-weight: bold;
}
#index .content table tr td.node .sep {
  font-weight: normal;
  padding: 0px 2px 0px 1px;
  color: #bebebe;
}
#index .content table tr td.node .hash {
  color: #888888;
  font: normal 11px Monaco, Consolas, "Courier New", monospace;
}
#index .content table tr td.stats {
  text-align: right;
  padding-right: 0px;
}
#index .content table tr td.stats .badge {
  cursor: pointer;
  color: white;
  font-weight: bold;
  display: inline-block;
  line-height: 1;
  padding: 3px 5px 4px;
  margin-left: 4px;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
}
#index .content table tr td.stats .badge.yes {
  background-color: green;
}
#index .content table tr td.stats .badge.no {
  background-color: red;
}
#index .content table tr td.stats .badge.neutral {
  background-color: #666;
}
#index .content table tr td.stats .badge.comments {
  background-color: #ff5700;
}
#index .content table tr td.stats .badge:hover {
  text-decoration: none;
}
#index .content .pagination a.older {
  float: right;
}
#changeset .content a.submit {
  margin-right: 4px;
  cursor: pointer;
  font: bold 12px "Helvetica Neue", HelveticaNeue, Arial, Helvetica, sans-serif;
  color: #1e1e1e;
  line-height: 1.45;
  display: inline-block;
  text-decoration: none;
  padding: 1px;
  background-color: #eaeaea;
  box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.1);
  -moz-box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.1);
  -webkit-box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.1);
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  border-top: 1px solid #b7b7b7;
  border-right: 1px solid #a6a6a6;
  border-left: 1px solid #a6a6a6;
  border-bottom: 1px solid #959595;
}
#changeset .content a.submit:focus {
  box-shadow: 0px 0px 4px rgba(100, 100, 100, 0.9);
  -moz-box-shadow: 0px 0px 4px rgba(100, 100, 100, 0.9);
  -webkit-box-shadow: 0px 0px 4px rgba(100, 100, 100, 0.9);
}
#changeset .content a.submit span {
  display: inline-block;
  padding: 0 6px;
  text-shadow: 0px 1px 1px #e2e2e2;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
}
#changeset .content a.submit:hover {
  border-top: 1px solid #d3d3d3;
  border-right: 1px solid #bbbbbb;
  border-left: 1px solid #bbbbbb;
  border-bottom: 1px solid #a4a4a4;
  background-color: #eaeaea;
}
#changeset .content a.submit:hover span {
  background-color: #eaeaea;
}
#changeset .content a.cancel, #changeset .content a.cancel-line, #changeset .content a.cancel-edit {
  cursor: pointer;
  font: bold 12px "Helvetica Neue", HelveticaNeue, Arial, Helvetica, sans-serif;
  color: #1e1e1e;
  line-height: 1.45;
  display: inline-block;
  text-decoration: none;
  padding: 1px;
  background-color: #eaeaea;
  box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.1);
  -moz-box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.1);
  -webkit-box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.1);
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  border-top: 1px solid #b7b7b7;
  border-right: 1px solid #a6a6a6;
  border-left: 1px solid #a6a6a6;
  border-bottom: 1px solid #959595;
}
#changeset .content a.cancel:focus, #changeset .content a.cancel-line:focus, #changeset .content a.cancel-edit:focus {
  box-shadow: 0px 0px 4px rgba(100, 100, 100, 0.9);
  -moz-box-shadow: 0px 0px 4px rgba(100, 100, 100, 0.9);
  -webkit-box-shadow: 0px 0px 4px rgba(100, 100, 100, 0.9);
}
#changeset .content a.cancel span, #changeset .content a.cancel-line span, #changeset .content a.cancel-edit span {
  display: inline-block;
  padding: 0 6px;
  text-shadow: 0px 1px 1px #e2e2e2;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
}
#changeset .content a.cancel:hover, #changeset .content a.cancel-line:hover, #changeset .content a.cancel-edit:hover {
  border-top: 1px solid #d3d3d3;
  border-right: 1px solid #bbbbbb;
  border-left: 1px solid #bbbbbb;
  border-bottom: 1px solid #a4a4a4;
  background-color: #eaeaea;
}
#changeset .content a.cancel:hover span, #changeset .content a.cancel-line:hover span, #changeset .content a.cancel-edit:hover span {
  background-color: #eaeaea;
}
#changeset .content .navigation .middle {
  display: inline-block;
  width: 49%;
  text-align: center;
}
#changeset .content .navigation .right {
  display: inline-block;
  width: 25%;
  text-align: right;
}
#changeset .content .navigation .left {
  display: inline-block;
  width: 25%;
}
#changeset .content .head {
  position: relative;
}
#changeset .content .head h2 {
  width: 660px;
  color: #888888;
}
#changeset .content .head h2 .desc {
  color: #292620;
}
#changeset .content .head .committer-avatar {
  position: absolute;
  top: -22px;
  right: -21px;
  width: 60px;
  height: 60px;
  border: 1px solid #cdca64;
  border-top: 1px solid #cdca64;
  border-right: 1px solid #cdca64;
  border: 1px solid #999;
  box-shadow: inset 1px -1px 10px rgba(0, 0, 0, 0.25);
  -moz-box-shadow: inset 1px -1px 10px rgba(0, 0, 0, 0.25);
  -webkit-box-shadow: inset 1px -1px 10px rgba(0, 0, 0, 0.25);
  -webkit-border-top-right-radius: 7px;
  -moz-border-radius-topright: 7px;
  border-top-right-radius: 7px;
  -webkit-border-bottom-left-radius: 3px;
  -moz-border-radius-bottomleft: 3px;
  border-bottom-left-radius: 3px;
}
#changeset .content .head .patch {
  position: absolute;
  top: -18px;
  right: -80px;
  width: 50px;
}
#changeset .content .head .fulldesc {
  width: 660px;
  font-size: 12px;
  line-height: 1.25;
  margin-bottom: 14px;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 4px;
  white-space: pre;
  font-family: Monaco, Consolas, "Courier New", monospace;
}
#changeset .content .review-level-comments {
  margin-top: 30px;
}
#changeset .content .edit-review-comment {
  margin-top: 3px;
}
#changeset .content .activate a {
  cursor: pointer;
  font: bold 12px "Helvetica Neue", HelveticaNeue, Arial, Helvetica, sans-serif;
  color: #1e1e1e;
  line-height: 1.45;
  display: inline-block;
  text-decoration: none;
  padding: 1px;
  background-color: #eaeaea;
  box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.1);
  -moz-box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.1);
  -webkit-box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.1);
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  border-top: 1px solid #b7b7b7;
  border-right: 1px solid #a6a6a6;
  border-left: 1px solid #a6a6a6;
  border-bottom: 1px solid #959595;
}
#changeset .content .activate a:focus {
  box-shadow: 0px 0px 4px rgba(100, 100, 100, 0.9);
  -moz-box-shadow: 0px 0px 4px rgba(100, 100, 100, 0.9);
  -webkit-box-shadow: 0px 0px 4px rgba(100, 100, 100, 0.9);
}
#changeset .content .activate a span {
  display: inline-block;
  padding: 0 6px;
  text-shadow: 0px 1px 1px #e2e2e2;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
}
#changeset .content .activate a:hover {
  border-top: 1px solid #d3d3d3;
  border-right: 1px solid #bbbbbb;
  border-left: 1px solid #bbbbbb;
  border-bottom: 1px solid #a4a4a4;
  background-color: #eaeaea;
}
#changeset .content .activate a:hover span {
  background-color: #eaeaea;
}
#changeset .content .edit-line {
  display: inline-block;
  margin-top: 3px;
}
#changeset .content .togglebox form {
  float: left;
  border: 1px solid #ccc;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  padding: 15px 10px;
  background-color: #faf9ef;
  box-shadow: 0px 5px 5px rgba(0, 0, 0, 0.02);
  -moz-box-shadow: 0px 5px 5px rgba(0, 0, 0, 0.02);
  -webkit-box-shadow: 0px 5px 5px rgba(0, 0, 0, 0.02);
}
#changeset .content .placeholder {
  font-style: italic;
  color: #888888;
}
#changeset .content .item-listing {
  background-color: #faf9ef;
  border: 1px solid #ccc;
  margin-bottom: 14px;
}
#changeset .content .item-listing .comment, #changeset .content .item-listing .signoff {
  padding: 8px 12px 8px 10px;
  border-top: 1px solid #fff;
  border-bottom: 1px solid #ddd;
  position: relative;
  min-height: 41px;
}
#changeset .content .item-listing .comment:first-child, #changeset .content .item-listing .signoff:first-child {
  border-top: none;
}
#changeset .content .item-listing .comment:last-child, #changeset .content .item-listing .signoff:last-child {
  border-bottom: none;
}
#changeset .content .item-listing .comment img, #changeset .content .item-listing .signoff img {
  float: right;
}
#changeset .content .item-listing .comment .message, #changeset .content .item-listing .signoff .message {
  overflow-x: auto;
  width: 690px;
  padding-top: 3px;
}
#changeset .content .item-listing .comment .avatar img, #changeset .content .item-listing .signoff .avatar img {
  height: 30px;
  width: 30px;
  margin-top: 5px;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
}
#changeset .content .item-listing .comment .expand, #changeset .content .item-listing .signoff .expand {
  position: absolute;
  top: 17px;
  right: -18px;
  font-size: 14px;
  font-weight: bold;
}
#changeset .content .item-listing .comment .expand:hover, #changeset .content .item-listing .signoff .expand:hover {
  text-decoration: none;
}
#changeset .content .item-listing .comment .colorboxed, #changeset .content .item-listing .signoff .colorboxed {
  display: none;
}
#changeset .content .item-listing .signoff .signoff-opinion {
  float: right;
  font: bold 30px/1 "Helvetica Neue", HelveticaNeue, Arial, Helvetica, sans-serif;
  text-transform: capitalize;
  margin-right: 15px;
  margin-top: 5px;
}
#changeset .content .item-listing .signoff .signoff-opinion.yes {
  color: #568019;
}
#changeset .content .item-listing .signoff .signoff-opinion.no {
  color: #c00;
}
#changeset .content .item-listing .signoff .signoff-opinion.neutral {
  color: #bab994;
}
#changeset .content .item-listing .signoff .author .opinion {
  font-weight: bold;
}
#changeset .content .item-listing .signoff .message {
  overflow-x: auto;
  width: 620px;
}
#changeset .content .add-review-comment {
  margin-bottom: 40px;
}
#changeset .content .add-signoff {
  margin-bottom: 40px;
}
#changeset .content .add-signoff form .sign-off-as {
  font-weight: bold;
  margin-bottom: 0;
}
#changeset .content .file .filename h3 a {
  color: #292620;
}
#changeset .content .file .add-file-comment {
  margin-bottom: 24px;
}
#changeset .content .diff {
  overflow-x: auto;
  border: 1px solid #ddd;
  margin-bottom: 24px;
}
#changeset .content .diff table {
  width: 100%;
  background-color: #f9f9f9;
  margin-bottom: 0;
}
#changeset .content .diff table td.code:after {
  color: #ccc;
  content: "↩";
  vertical-align: -1px;
  line-height: 1;
}
#changeset .content .diff table tr.rem {
  color: black;
  background-color: #f7cdcd;
}
#changeset .content .diff table tr.rem td.code:after {
  color: white;
}
#changeset .content .diff table tr.rem td.linenumber {
  color: #292620;
}
#changeset .content .diff table tr.add {
  color: black;
  background-color: #c5e5ce;
}
#changeset .content .diff table tr.add td.code:after {
  color: white;
}
#changeset .content .diff table tr.add td.linenumber {
  color: #292620;
}
#changeset .content .diff table tr.viewing {
  background-color: #f2f2d7;
}
#changeset .content .diff table tr.commentable {
  cursor: pointer;
}
#changeset .content .diff table tr.chosen {
  background-color: #edecc7;
}
#changeset .content .diff table tr.comment-form td {
  line-height: 15px;
  padding: 10px 10px 15px 56px;
  border-bottom: 1px solid #ddd;
  border-top: 1px solid #ddd;
  background-color: #f4f4f4;
}
#changeset .content .diff table tr.comment-form td textarea {
  width: 500px;
  height: 50px;
  border: 1px solid #888888;
}
#changeset .content .diff table td {
  border: none;
  line-height: 1;
  padding: 1px 5px;
}
#changeset .content .diff table td.addrem-add, #changeset .content .diff table td.addrem-rem {
  font-weight: bold;
  text-align: center;
  width: 10px;
}
#changeset .content .diff table td.linenumber {
  width: 25px;
  text-align: right;
  font-family: Monaco, Consolas, "Courier New", monospace;
  color: #888888;
}
#changeset .content .diff table td.skip {
  text-align: right;
  color: #888888;
}
#changeset .content .diff table td.code {
  white-space: pre;
}
#changeset .content .diff table td.comment {
  line-height: 15px;
  padding: 10px 10px 10px 56px;
  border-bottom: 1px solid #ddd;
  border-top: 1px solid #ddd;
  background-color: #f4f4f4;
}
#changeset .content .diff table td.comment .avatar {
  float: right;
  margin-top: 2px;
}
#changeset .content .diff table td.comment .avatar img {
  height: 30px;
  width: 30px;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
}
#changeset .content .diff table td.comment .author {
  padding-bottom: 3px;
}
#changeset .content .diff table td.comment .comment-content {
  position: relative;
}
#changeset .content .diff table td.comment .expand {
  position: absolute;
  top: -13px;
  right: -8px;
  font-size: 14px;
  font-weight: bold;
}
#changeset .content .diff table td.comment .expand:hover {
  text-decoration: none;
}
#changeset .content .diff table td.comment .colorboxed {
  display: none;
}
#colorbox #cboxLoadedContent {
  padding: 10px;
}
#colorbox #cboxContent {
  position: relative;
}
#colorbox .avatar {
  position: absolute;
  top: 0px;
  right: 0px;
}
#colorbox .author {
  font-size: 20px;
  width: 400px;
  margin-bottom: 20px;
}
#colorbox .message {
  overflow-x: auto;
  max-width: 910px;
  padding: 0 0 5px;
  font-family: Monaco, Consolas, "Courier New", monospace;
  white-space: pre;
}
#colorbox .context .context-head {
  color: #888888;
  font-size: 20px;
  margin-top: -16px;
  margin-bottom: 18px;
}