pboling/rack-insight

View on GitHub
lib/rack/insight/public/__insight__/insight.css

Summary

Maintainability
Test Coverage
#rack-insight {
  color: #000;
  float: none;
  margin: 0;
  padding: 0;
  position: static;
}

#rack-insight a {
  color: #f7c757;
}
#rack-insight a:hover {
  color: #aaa;
}

#rack-insight_toolbar {
  background: #326342;
  height: 30px;
  z-index: 1000000000;
  position:absolute;
  left:0;
  right:0;
  cursor: pointer;
}
.rack-insight_bottom #rack-insight_toolbar {
  border-top: 2px solid #234f32;
  height: auto;
  clear: both;
  z-index: 10;
  margin-top: -3em;
  position: fixed;
  bottom: 0;
}

.rack-insight_top #rack-insight_toolbar {
  top:0;
  border-bottom: 2px solid #234f32;
  height: auto;
}

.rack-insight_error #rack-insight_toolbar {
  background: #ff0000;
  color: #fff;
  border: none;
}

.rack-insight_error #rack-insight_toolbar p {
  margin-top: 6px;
  margin-left: 15px;
  font-weight: bold;
  color: #fff;
}

#rack-insight_toolbar ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

#rack-insight_toolbar li {
  color: #fff;
  display: inline;
  font-size: 11px;
  font-weight: bold;
  float: none;
  height: 20px;
  margin: 0;
  padding: 0;
  line-height: 30px;
  position: relative;
  width: auto;
}
#rack-insight_toolbar li a {
  border-left: 1px solid #487858;
  padding: 8px 9px 9px;
}

#rack-insight_toolbar li a:hover {
  background: #487858;
  color: #fff;
}

#rack-insight_toolbar li:last-child {
  border-right: 1px solid #487858;
}

#rack-insight_toolbar #rack-insight_disable_button {
  color: red;
  font-weight: bold;
  padding-left: 5px;
}

#rack-insight_toolbar #rack-insight_debug_button {
  color: #92ef3f;
  padding-left: 5px;
}

#rack-insight .panel_content {
  background: #2a5738;
  border-bottom: 2px solid #234f32;
  border-top: 2px solid #487858;
  display: none;
  position: absolute;
  margin: 0;
  padding: 10px;
  width: auto;
  left: 0px;
  right: 0px;
  color: black;
  z-index: 1000000;
  overflow: auto;
}

#rack-insight.rack-insight_top .panel_content {
  top: auto;
}

#rack-insight.rack-insight_bottom .panel_content {
  bottom: 32px;
  top: 0;
  overflow-y: auto;
}

#rack-insight .panel_content p a,
#rack-insight .panel_content dl a {
  color: #40684c;
}

#rack-insight .panel_content p a:hover,
#rack-insight .panel_content dl a:hover {
  color: #92EF3F;
}

#rack-insight .panel_content h3 {
  border-bottom: 1px solid #40684c;
  color: #92ef3f;
  padding: 0 0 5px;
}

#rack-insight .panel_content p {
  padding: 0 5px;
}

#rack-insight .panel_content p,
#rack-insight .panel_content table,
#rack-insight .panel_content ol,
#rack-insight .panel_content dl {
  margin: 5px 0 15px;
  background-color: #fff;
}

#rack-insight .panel_content ul {
  padding: 10px 30px 10px 30px;
  background-color: #fff;
}

#rack-insight .panel_content ul ul {
  padding: 0;
}

#rack-insight #speedtracer.panel_content ul ul {
  padding: 0 0 0 8px;
}

#rack-insight .panel_content table {
  width: 100%;
  clear: both;
}

#rack-insight .panel_content table a {
  color: #40684C;
}

#rack-insight .panel_content table th {
  background-color: #9dcc49;
  font-weight: bold;
  color: #000;
  font-size: 11px;
  padding: 3px 7px 3px;
  text-align: left;
  cursor: pointer;
  border-right: 1px solid #b9d977;
}

#rack-insight .panel_content table td {
  padding: 5px 10px;
  font-size: 11px;
  background: #fff;
  color: #000;
  vertical-align: top;
}
#rack-insight .panel_content table tr.odd td {
  background: #eee;
}

#rack-insight .panel_content .panel_controls {
  float: right;
  font-weight: bold;
}

#rack-insight .panel_content .panel_controls form {
  display: inline;
}


#rack-insight .panel_content dt, #rack-insight .panel_content dd {
  display: block;
}

#rack-insight .panel_content dd {
  margin-left: 10px;
}

#rack-insight .panel_content table tr.odd td.rack-insight_spinner,
#rack-insight .panel_content table tr.even td.rack-insight_spinner,
#rack-insight .panel_content table td.rack-insight_spinner,
#rack-insight .rack-insight_spinner {
  background-image: url(/__insight__/spinner.gif);
  background-repeat: no-repeat;
  background-position: center center;
  text-indent: -3000px;
  color: transparent;
}

#rack-insight #sql.panel_content th.time {
  width: 80px;
}

#rack-insight #sql.panel_content th.backtrace {
  width: 100px;
}

#rack-insight #sql.panel_content th.actions {
  width: 150px;
}
#rack-insight #request_variables td.code > div {
  max-height:200px;
  max-width: 800px;
  overflow:auto;
}

#rack-insight #templates ul {
  padding-left:20px;
}