2018-03-19 15:06:09 -04:00
|
|
|
@import 'framework/variables';
|
2018-10-04 07:07:24 -04:00
|
|
|
@import 'framework/variables_overrides';
|
2018-03-19 15:06:09 -04:00
|
|
|
@import 'peek/views/rblineprof';
|
2017-06-07 10:52:13 -04:00
|
|
|
|
2018-03-19 15:06:09 -04:00
|
|
|
#js-peek {
|
2017-07-31 04:07:51 -04:00
|
|
|
position: fixed;
|
|
|
|
left: 0;
|
|
|
|
top: 0;
|
|
|
|
width: 100%;
|
2018-10-04 07:07:24 -04:00
|
|
|
z-index: #{$zindex-modal-backdrop + 1};
|
2017-07-31 04:07:51 -04:00
|
|
|
|
|
|
|
height: $performance-bar-height;
|
2017-07-06 15:37:31 -04:00
|
|
|
background: $black;
|
2017-07-31 04:07:51 -04:00
|
|
|
line-height: $performance-bar-height;
|
2018-08-24 12:29:44 -04:00
|
|
|
color: $gl-gray-400;
|
2017-05-17 07:20:55 -04:00
|
|
|
|
2018-03-21 13:16:25 -04:00
|
|
|
select {
|
2018-08-24 12:29:44 -04:00
|
|
|
color: $gl-gray-400;
|
2018-03-21 13:16:25 -04:00
|
|
|
width: 200px;
|
|
|
|
}
|
|
|
|
|
2017-05-17 07:20:55 -04:00
|
|
|
&.disabled {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.production {
|
2017-07-06 15:37:31 -04:00
|
|
|
background-color: $perf-bar-production;
|
2018-03-19 15:06:09 -04:00
|
|
|
|
|
|
|
select {
|
|
|
|
background: $perf-bar-production;
|
|
|
|
}
|
2017-05-17 07:20:55 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
&.staging {
|
2017-07-06 15:37:31 -04:00
|
|
|
background-color: $perf-bar-staging;
|
2018-03-19 15:06:09 -04:00
|
|
|
|
|
|
|
select {
|
|
|
|
background: $perf-bar-staging;
|
|
|
|
}
|
2017-05-17 07:20:55 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
&.development {
|
2017-07-06 15:37:31 -04:00
|
|
|
background-color: $perf-bar-development;
|
2018-03-19 15:06:09 -04:00
|
|
|
|
|
|
|
select {
|
|
|
|
background: $perf-bar-development;
|
|
|
|
}
|
2017-05-17 07:20:55 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
// UI Elements
|
|
|
|
.bucket {
|
2017-07-06 15:37:31 -04:00
|
|
|
background: $perf-bar-bucket-bg;
|
2017-05-17 07:20:55 -04:00
|
|
|
display: inline-block;
|
|
|
|
padding: 4px 6px;
|
2018-03-19 15:06:09 -04:00
|
|
|
font-family: Consolas, 'Liberation Mono', Courier, monospace;
|
2017-05-17 07:20:55 -04:00
|
|
|
line-height: 1;
|
2018-08-24 12:29:44 -04:00
|
|
|
color: $gl-gray-200;
|
2017-05-17 07:20:55 -04:00
|
|
|
border-radius: 3px;
|
2018-03-19 15:06:09 -04:00
|
|
|
box-shadow: 0 1px 0 $perf-bar-bucket-box-shadow-from,
|
|
|
|
inset 0 1px 2px $perf-bar-bucket-box-shadow-to;
|
2017-05-17 07:20:55 -04:00
|
|
|
|
|
|
|
.hidden {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover .hidden {
|
|
|
|
display: inline;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-10-09 07:13:28 -04:00
|
|
|
.current-host.canary {
|
|
|
|
color: $perf-bar-canary-text;
|
|
|
|
}
|
|
|
|
|
2017-05-17 07:20:55 -04:00
|
|
|
strong {
|
2017-07-06 15:37:31 -04:00
|
|
|
color: $white-light;
|
2017-05-17 07:20:55 -04:00
|
|
|
}
|
|
|
|
|
2017-06-07 10:52:13 -04:00
|
|
|
table {
|
2017-07-06 15:37:31 -04:00
|
|
|
color: $black;
|
|
|
|
|
2017-06-07 10:52:13 -04:00
|
|
|
strong {
|
2017-07-06 15:37:31 -04:00
|
|
|
color: $black;
|
2017-06-07 10:52:13 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-05-17 07:20:55 -04:00
|
|
|
.view {
|
|
|
|
margin-right: 15px;
|
2018-06-28 17:56:31 -04:00
|
|
|
flex-shrink: 0;
|
2017-05-17 07:20:55 -04:00
|
|
|
|
|
|
|
&:last-child {
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.css-truncate {
|
|
|
|
&.css-truncate-target,
|
|
|
|
.css-truncate-target {
|
|
|
|
display: inline-block;
|
|
|
|
max-width: 125px;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
white-space: nowrap;
|
|
|
|
vertical-align: top;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.expandable:hover .css-truncate-target,
|
|
|
|
&.expandable:hover.css-truncate-target {
|
|
|
|
max-width: 10000px !important;
|
|
|
|
}
|
|
|
|
}
|
2018-03-19 15:06:09 -04:00
|
|
|
|
2018-03-20 13:26:30 -04:00
|
|
|
.performance-bar-modal {
|
2018-06-14 12:34:58 -04:00
|
|
|
.modal-body {
|
|
|
|
padding: 0;
|
2018-03-20 13:26:30 -04:00
|
|
|
}
|
|
|
|
|
2018-06-14 12:34:58 -04:00
|
|
|
.modal-footer {
|
|
|
|
display: none;
|
2018-03-20 13:26:30 -04:00
|
|
|
}
|
2018-03-19 15:06:09 -04:00
|
|
|
}
|
2017-05-17 07:20:55 -04:00
|
|
|
}
|
|
|
|
|
2017-06-06 15:24:08 -04:00
|
|
|
#modal-peek-pg-queries-content {
|
2017-07-06 15:37:31 -04:00
|
|
|
color: $black;
|
|
|
|
}
|
|
|
|
|
|
|
|
.peek-rblineprof-file {
|
|
|
|
pre.duration {
|
|
|
|
width: 280px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.data {
|
|
|
|
overflow: visible;
|
|
|
|
}
|
2017-06-06 15:24:08 -04:00
|
|
|
}
|