Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/assets/stylesheets/performance_bar.scss')
-rw-r--r--app/assets/stylesheets/performance_bar.scss34
1 files changed, 15 insertions, 19 deletions
diff --git a/app/assets/stylesheets/performance_bar.scss b/app/assets/stylesheets/performance_bar.scss
index bcc3c35e00e..f2874e67796 100644
--- a/app/assets/stylesheets/performance_bar.scss
+++ b/app/assets/stylesheets/performance_bar.scss
@@ -11,47 +11,40 @@
height: $performance-bar-height;
background: $black;
line-height: $performance-bar-height;
- color: $gray-300;
+ color: $gray-100;
select {
- color: $white;
width: 200px;
}
input {
- color: $gray-300;
width: $input-short-width - 60px;
}
+ select,
+ input {
+ color: inherit;
+ background-color: inherit;
+ }
+
+ option {
+ color: initial;
+ }
+
&.disabled {
display: none;
}
&.production {
background-color: $perf-bar-production;
-
- select,
- input {
- background: $perf-bar-production;
- }
}
&.staging {
background-color: $perf-bar-staging;
-
- select,
- input {
- background: $perf-bar-staging;
- }
}
&.development {
background-color: $perf-bar-development;
-
- select,
- input {
- background: $perf-bar-development;
- }
}
// UI Elements
@@ -61,7 +54,6 @@
padding: 4px 6px;
font-family: Consolas, 'Liberation Mono', Courier, monospace;
line-height: 1;
- color: $gray-100;
border-radius: 3px;
box-shadow: 0 1px 0 $perf-bar-bucket-box-shadow-from,
inset 0 1px 2px $perf-bar-bucket-box-shadow-to;
@@ -135,3 +127,7 @@
#modal-peek-pg-queries-content {
color: $black;
}
+
+html.with-performance-bar .nav-sidebar {
+ top: $header-height + $performance-bar-height;
+}