Sha256: 8c06d3d0030924e56522cf2850e068b04d5f42bff6e1926a0ef9b2d611f81226

Contents?: true

Size: 1.98 KB

Versions: 1

Compression:

Stored size: 1.98 KB

Contents

.trace-list {
  padding: 0;
  margin: 2rem 0;
}

.trace {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0.25em 0;
  list-style: none;
}

.trace:nth-child(odd) {
  background: var(--grey-100);
}

.trace .trace-bar {
  position: relative;
  height: 16px;
  padding: 0;
  margin: 0;
  background: linear-gradient(to top right, var(--grey-500), var(--grey-400));
  cursor: pointer;
}

.instantiation-trace .trace-bar {
  background: linear-gradient(to top right, var(--green-400), var(--green-300));
}

.sequel-trace .trace-bar {
  background: linear-gradient(to top right, var(--green-500), var(--green-400));
}

.controller-trace .trace-bar {
  background: linear-gradient(to top right, var(--yellow-500), var(--yellow-400));
}

.render-template-trace .trace-bar,
.render-partial-trace .trace-bar {
  background: linear-gradient(to top right, var(--blue-500), var(--blue-400));
}

.trace-name {
  overflow: hidden;
  box-sizing: border-box;
  padding: 0 0.5em;
  margin: 0;
  color: var(--grey-400);
  font-size: 14px;
  text-align: right;
  text-overflow: ellipsis;
}

.trace-payload {
  margin: 0;
}

.sequel-trace-query {
  overflow: auto;
  max-height: 100px;
  padding: 1em 1em;
  background: var(--grey-100);
  white-space: pre-wrap;
}

.sequel-trace-binds {
  overflow: auto;
  max-height: 100px;
  padding: 0.5em 1em;
  margin: 0 0 1em 0;
  background: var(--grey-50);
  font-size: 12px;
  white-space: pre-wrap;
}

.trace-table {
  width: 100%;
  border: hidden 1px var(--border-color);
  margin-top: 1em;
  border-collapse: collapse;
}

.backtrace {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 0.5em;
  background: var(--grey-100);
}

.backtrace button {
  width: 20px;
  height: 20px;
  padding: 0;
  margin: 0;
  background: none;
  color: var(--grey-500);
  transition: color 200ms ease-in-out;
}

.backtrace button.copied {
  color: var(--green-400);
}

.backtrace button svg {
  width: 20px;
  height: 20px;
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rails_mini_profiler-0.6.0 app/javascript/stylesheets/traces.scss