2018-03-19 19:06:09 +00:00
|
|
|
@import 'framework/variables';
|
2018-10-04 11:07:24 +00:00
|
|
|
@import 'framework/variables_overrides';
|
2017-06-07 14:52:13 +00:00
|
|
|
|
2018-03-19 19:06:09 +00:00
|
|
|
#js-peek {
|
2017-07-31 08:07:51 +00:00
|
|
|
position: fixed;
|
|
|
|
left: 0;
|
|
|
|
top: 0;
|
|
|
|
width: 100%;
|
2018-10-04 11:07:24 +00:00
|
|
|
z-index: #{$zindex-modal-backdrop + 1};
|
2017-07-31 08:07:51 +00:00
|
|
|
|
|
|
|
height: $performance-bar-height;
|
2017-07-06 19:37:31 +00:00
|
|
|
background: $black;
|
2017-07-31 08:07:51 +00:00
|
|
|
line-height: $performance-bar-height;
|
2020-08-20 18:10:16 +00:00
|
|
|
color: $gray-300;
|
2017-05-17 11:20:55 +00:00
|
|
|
|
2018-03-21 17:16:25 +00:00
|
|
|
select {
|
2020-08-20 18:10:16 +00:00
|
|
|
color: $gray-300;
|
2018-03-21 17:16:25 +00:00
|
|
|
width: 200px;
|
|
|
|
}
|
|
|
|
|
2019-10-25 00:06:14 +00:00
|
|
|
input {
|
2020-08-20 18:10:16 +00:00
|
|
|
color: $gray-300;
|
2019-10-25 00:06:14 +00:00
|
|
|
width: $input-short-width - 60px;
|
|
|
|
}
|
|
|
|
|
2017-05-17 11:20:55 +00:00
|
|
|
&.disabled {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.production {
|
2017-07-06 19:37:31 +00:00
|
|
|
background-color: $perf-bar-production;
|
2018-03-19 19:06:09 +00:00
|
|
|
|
2019-10-25 00:06:14 +00:00
|
|
|
select,
|
|
|
|
input {
|
2018-03-19 19:06:09 +00:00
|
|
|
background: $perf-bar-production;
|
|
|
|
}
|
2017-05-17 11:20:55 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&.staging {
|
2017-07-06 19:37:31 +00:00
|
|
|
background-color: $perf-bar-staging;
|
2018-03-19 19:06:09 +00:00
|
|
|
|
2019-10-25 00:06:14 +00:00
|
|
|
select,
|
|
|
|
input {
|
2018-03-19 19:06:09 +00:00
|
|
|
background: $perf-bar-staging;
|
|
|
|
}
|
2017-05-17 11:20:55 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&.development {
|
2017-07-06 19:37:31 +00:00
|
|
|
background-color: $perf-bar-development;
|
2018-03-19 19:06:09 +00:00
|
|
|
|
2019-10-25 00:06:14 +00:00
|
|
|
select,
|
|
|
|
input {
|
2018-03-19 19:06:09 +00:00
|
|
|
background: $perf-bar-development;
|
|
|
|
}
|
2017-05-17 11:20:55 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// UI Elements
|
|
|
|
.bucket {
|
2017-07-06 19:37:31 +00:00
|
|
|
background: $perf-bar-bucket-bg;
|
2017-05-17 11:20:55 +00:00
|
|
|
display: inline-block;
|
|
|
|
padding: 4px 6px;
|
2018-03-19 19:06:09 +00:00
|
|
|
font-family: Consolas, 'Liberation Mono', Courier, monospace;
|
2017-05-17 11:20:55 +00:00
|
|
|
line-height: 1;
|
2020-08-20 18:10:16 +00:00
|
|
|
color: $gray-100;
|
2017-05-17 11:20:55 +00:00
|
|
|
border-radius: 3px;
|
2018-03-19 19:06:09 +00: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 11:20:55 +00:00
|
|
|
|
|
|
|
.hidden {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover .hidden {
|
|
|
|
display: inline;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-10-09 11:13:28 +00:00
|
|
|
.current-host.canary {
|
|
|
|
color: $perf-bar-canary-text;
|
|
|
|
}
|
|
|
|
|
2017-05-17 11:20:55 +00:00
|
|
|
strong {
|
2020-03-31 00:08:09 +00:00
|
|
|
color: $white;
|
2017-05-17 11:20:55 +00:00
|
|
|
}
|
|
|
|
|
2017-06-07 14:52:13 +00:00
|
|
|
table {
|
2017-07-06 19:37:31 +00:00
|
|
|
color: $black;
|
|
|
|
|
2019-04-13 05:54:32 +00:00
|
|
|
td {
|
|
|
|
vertical-align: top;
|
|
|
|
}
|
|
|
|
|
|
|
|
.backtrace-row {
|
|
|
|
display: none;
|
2017-06-07 14:52:13 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-05-17 11:20:55 +00:00
|
|
|
.view {
|
|
|
|
margin-right: 15px;
|
2018-06-28 21:56:31 +00:00
|
|
|
flex-shrink: 0;
|
2017-05-17 11:20:55 +00: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 19:06:09 +00:00
|
|
|
|
2018-03-20 17:26:30 +00:00
|
|
|
.performance-bar-modal {
|
2018-06-14 16:34:58 +00:00
|
|
|
.modal-body {
|
|
|
|
padding: 0;
|
2018-03-20 17:26:30 +00:00
|
|
|
}
|
|
|
|
|
2018-06-14 16:34:58 +00:00
|
|
|
.modal-footer {
|
|
|
|
display: none;
|
2018-03-20 17:26:30 +00:00
|
|
|
}
|
2018-03-19 19:06:09 +00:00
|
|
|
}
|
2017-05-17 11:20:55 +00:00
|
|
|
}
|
|
|
|
|
2017-06-06 19:24:08 +00:00
|
|
|
#modal-peek-pg-queries-content {
|
2017-07-06 19:37:31 +00:00
|
|
|
color: $black;
|
|
|
|
}
|