review/static/style.css @ 1262a21153ac

web: add anonymous commenting
author Steve Losh <steve@stevelosh.com>
date Sun, 13 Jun 2010 12:11:22 -0400
parents 7551a383f66a
children ed09b19b1ba7
.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:active {
  margin-top: 1px;
  margin-bottom: -1px;
}
body .header .remotes form a:focus {
  box-shadow: 0px 0px 3px rgba(100, 100, 200, 0.9);
  -moz-box-shadow: 0px 0px 3px rgba(100, 100, 200, 0.9);
  -webkit-box-shadow: 0px 0px 3px rgba(100, 100, 200, 0.9);
}
body .header .remotes form a span {
  display: inline-block;
  padding: 0 6px;
  text-shadow: 0px 1px 1px #fefdd8;
  -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: #fefdd8;
}
body .header .remotes form a:hover span {
  background-color: #fefdd8;
}
body .content {
  border-top: 1px solid #f8f7e8;
}
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);
  margin-top: 20px;
  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;
}
#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;
}
#index .content table tr td a {
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
#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;
}
#index .content table tr td.stats .badge {
  color: white;
  font-weight: bold;
  display: inline-block;
  line-height: 1;
  padding: 4px 5px;
  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;
}
#changeset .content .fulldesc {
  font-size: 18px;
  line-height: 1.25;
  margin-bottom: 14px;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 4px;
  white-space: pre;
  width: 100%;
}
#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:active {
  margin-top: 1px;
  margin-bottom: -1px;
}
#changeset .content .activate a:focus {
  box-shadow: 0px 0px 3px rgba(100, 100, 200, 0.9);
  -moz-box-shadow: 0px 0px 3px rgba(100, 100, 200, 0.9);
  -webkit-box-shadow: 0px 0px 3px rgba(100, 100, 200, 0.9);
}
#changeset .content .activate a span {
  display: inline-block;
  padding: 0 6px;
  text-shadow: 0px 1px 1px #fbfbfb;
  -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: #fbfbfb;
}
#changeset .content .activate a:hover span {
  background-color: #fbfbfb;
}
#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:active {
  margin-top: 1px;
  margin-bottom: -1px;
}
#changeset .content a.submit:focus {
  box-shadow: 0px 0px 3px rgba(100, 100, 200, 0.9);
  -moz-box-shadow: 0px 0px 3px rgba(100, 100, 200, 0.9);
  -webkit-box-shadow: 0px 0px 3px rgba(100, 100, 200, 0.9);
}
#changeset .content a.submit span {
  display: inline-block;
  padding: 0 6px;
  text-shadow: 0px 1px 1px #fbfbfb;
  -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: #fbfbfb;
}
#changeset .content a.submit:hover span {
  background-color: #fbfbfb;
}
#changeset .content a.cancel, #changeset .content a.cancel-line {
  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:active, #changeset .content a.cancel-line:active {
  margin-top: 1px;
  margin-bottom: -1px;
}
#changeset .content a.cancel:focus, #changeset .content a.cancel-line:focus {
  box-shadow: 0px 0px 3px rgba(100, 100, 200, 0.9);
  -moz-box-shadow: 0px 0px 3px rgba(100, 100, 200, 0.9);
  -webkit-box-shadow: 0px 0px 3px rgba(100, 100, 200, 0.9);
}
#changeset .content a.cancel span, #changeset .content a.cancel-line span {
  display: inline-block;
  padding: 0 6px;
  text-shadow: 0px 1px 1px #fbfbfb;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
}
#changeset .content a.cancel:hover, #changeset .content a.cancel-line:hover {
  border-top: 1px solid #d3d3d3;
  border-right: 1px solid #bbbbbb;
  border-left: 1px solid #bbbbbb;
  border-bottom: 1px solid #a4a4a4;
  background-color: #fbfbfb;
}
#changeset .content a.cancel:hover span, #changeset .content a.cancel-line:hover span {
  background-color: #fbfbfb;
}
#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 10px;
  border-top: 1px solid #fff;
  border-bottom: 1px solid #ddd;
}
#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 {
  font-family: Monaco, Consolas, "Courier New", monospace;
  font-size: 12px;
  width: 660px;
  padding-top: 3px;
}
#changeset .content .item-listing .comment .avatar img, #changeset .content .item-listing .signoff .avatar img {
  height: 30px;
  width: 30px;
  margin-top: 5px;
}
#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 {
  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: #800;
}
#changeset .content .diff table tr.add {
  color: #040;
}
#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: 3px 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;
}
#changeset .content .diff table td.comment .message {
  white-space: pre;
  font-family: Monaco, Consolas, "Courier New", monospace;
}
#changeset .content .diff table td.comment .author {
  padding-bottom: 3px;
}