review/static/style.css @ 191d8a0d6190

web: hide file contents by default
author Steve Losh <steve@stevelosh.com>
date Sun, 13 Jun 2010 00:23:16 -0400
parents 17ad8036c6e2
children 805b5a153985
.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, 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;
  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 span {
  display: inline-block;
  padding: 0 6px;
  text-shadow: 0px 1px 1px #fffffa;
  -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;
}
body .avatar img {
  height: 52px;
  width: 52px;
}
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 {
  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 span {
  display: inline-block;
  padding: 0 6px;
  text-shadow: 0px 1px 1px #ffffff;
  -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;
  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 span {
  display: inline-block;
  padding: 0 6px;
  text-shadow: 0px 1px 1px #ffffff;
  -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 {
  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 {
  margin-top: 1px;
  margin-bottom: -1px;
}
#changeset .content a.cancel span {
  display: inline-block;
  padding: 0 6px;
  text-shadow: 0px 1px 1px #ffffff;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
}
#changeset .content a.cancel: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 {
  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: 10px 10px 12px;
  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 .signoff-opinion, #changeset .content .item-listing .signoff .signoff-opinion {
  float: right;
  font: bold 52px/1 "Helvetica Neue", HelveticaNeue, Arial, Helvetica, sans-serif;
  text-transform: capitalize;
  margin-right: 15px;
}
#changeset .content .item-listing .comment .signoff-opinion.yes, #changeset .content .item-listing .signoff .signoff-opinion.yes {
  color: #568019;
}
#changeset .content .item-listing .comment .signoff-opinion.no, #changeset .content .item-listing .signoff .signoff-opinion.no {
  color: #c00;
}
#changeset .content .item-listing .comment .signoff-opinion.neutral, #changeset .content .item-listing .signoff .signoff-opinion.neutral {
  color: #bab994;
}
#changeset .content .item-listing .comment .author .opinion, #changeset .content .item-listing .signoff .author .opinion {
  font-weight: bold;
}
#changeset .content .item-listing .comment .message, #changeset .content .item-listing .signoff .message {
  background-color: #fefefd;
  border: 1px solid #eee;
  font-family: Monaco, Consolas, "Courier New", monospace;
  font-size: 12px;
  padding: 10px;
  width: 650px;
}
#changeset .content .item-listing .signoff .message {
  width: 500px;
}
#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;
}