debian-mirror-gitlab/app/assets/stylesheets/performance_bar.scss

134 lines
2.1 KiB
SCSS
Raw Normal View History

2018-05-09 12:01:36 +05:30
@import 'framework/variables';
2018-12-05 23:21:45 +05:30
@import 'framework/variables_overrides';
2017-09-10 17:25:29 +05:30
2018-05-09 12:01:36 +05:30
#js-peek {
2017-09-10 17:25:29 +05:30
position: fixed;
left: 0;
top: 0;
width: 100%;
2021-01-29 00:20:46 +05:30
z-index: #{$zindex-modal-backdrop - 1};
2017-09-10 17:25:29 +05:30
height: $performance-bar-height;
background: $black;
line-height: $performance-bar-height;
2021-09-04 01:27:46 +05:30
color: $gray-100;
2017-09-10 17:25:29 +05:30
2018-05-09 12:01:36 +05:30
select {
width: 200px;
}
2019-12-26 22:10:19 +05:30
input {
width: $input-short-width - 60px;
}
2021-09-04 01:27:46 +05:30
select,
input {
color: inherit;
background-color: inherit;
}
option {
color: initial;
}
2017-09-10 17:25:29 +05:30
&.disabled {
display: none;
}
&.production {
background-color: $perf-bar-production;
}
&.staging {
background-color: $perf-bar-staging;
}
&.development {
background-color: $perf-bar-development;
}
// UI Elements
.bucket {
background: $perf-bar-bucket-bg;
display: inline-block;
padding: 4px 6px;
2018-05-09 12:01:36 +05:30
font-family: Consolas, 'Liberation Mono', Courier, monospace;
2017-09-10 17:25:29 +05:30
line-height: 1;
border-radius: 3px;
2018-05-09 12:01:36 +05:30
box-shadow: 0 1px 0 $perf-bar-bucket-box-shadow-from,
inset 0 1px 2px $perf-bar-bucket-box-shadow-to;
2017-09-10 17:25:29 +05:30
.hidden {
display: none;
}
&:hover .hidden {
display: inline;
}
}
2018-12-13 13:39:08 +05:30
.current-host.canary {
color: $perf-bar-canary-text;
}
2017-09-10 17:25:29 +05:30
strong {
2020-04-22 19:07:51 +05:30
color: $white;
2017-09-10 17:25:29 +05:30
}
table {
color: $black;
2019-07-31 22:56:46 +05:30
td {
vertical-align: top;
}
.backtrace-row {
display: none;
2017-09-10 17:25:29 +05:30
}
}
.view {
margin-right: 15px;
2018-11-08 19:23:39 +05:30
flex-shrink: 0;
2017-09-10 17:25:29 +05:30
&: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-05-09 12:01:36 +05:30
.performance-bar-modal {
2018-11-08 19:23:39 +05:30
.modal-body {
padding: 0;
2018-05-09 12:01:36 +05:30
}
2018-11-08 19:23:39 +05:30
.modal-footer {
display: none;
2018-05-09 12:01:36 +05:30
}
}
2017-09-10 17:25:29 +05:30
}
#modal-peek-pg-queries-content {
color: $black;
}
2021-09-04 01:27:46 +05:30
html.with-performance-bar .nav-sidebar {
2022-03-02 08:16:31 +05:30
top: calc(#{$header-height} + #{$performance-bar-height});
2021-09-04 01:27:46 +05:30
}