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

138 lines
2.2 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%;
2018-12-05 23:21:45 +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;
2018-12-05 23:21:45 +05:30
color: $gl-gray-400;
2017-09-10 17:25:29 +05:30
2018-05-09 12:01:36 +05:30
select {
2018-12-05 23:21:45 +05:30
color: $gl-gray-400;
2018-05-09 12:01:36 +05:30
width: 200px;
}
2019-12-26 22:10:19 +05:30
input {
color: $gl-gray-400;
width: $input-short-width - 60px;
}
2017-09-10 17:25:29 +05:30
&.disabled {
display: none;
}
&.production {
background-color: $perf-bar-production;
2018-05-09 12:01:36 +05:30
2019-12-26 22:10:19 +05:30
select,
input {
2018-05-09 12:01:36 +05:30
background: $perf-bar-production;
}
2017-09-10 17:25:29 +05:30
}
&.staging {
background-color: $perf-bar-staging;
2018-05-09 12:01:36 +05:30
2019-12-26 22:10:19 +05:30
select,
input {
2018-05-09 12:01:36 +05:30
background: $perf-bar-staging;
}
2017-09-10 17:25:29 +05:30
}
&.development {
background-color: $perf-bar-development;
2019-12-26 22:10:19 +05:30
select,
input {
2018-05-09 12:01:36 +05:30
background: $perf-bar-development;
}
2017-09-10 17:25:29 +05:30
}
// 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;
2018-12-05 23:21:45 +05:30
color: $gl-gray-200;
2017-09-10 17:25:29 +05:30
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 {
color: $white-light;
}
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;
}