Commit 6187c958 authored by Simon Knox's avatar Simon Knox

Merge branch '330702-pb-in-dark' into 'master'

Overhaul CSS in performance bar in Dark mode v1

See merge request gitlab-org/gitlab!61552
parents aff7a452 47bee03e
...@@ -214,7 +214,7 @@ export default { ...@@ -214,7 +214,7 @@ export default {
<div></div> <div></div>
</template> </template>
</gl-modal> </gl-modal>
<span class="gl-text-white">{{ title }}</span> {{ title }}
<request-warning :html-id="htmlId" :warnings="warnings" /> <request-warning :html-id="htmlId" :warnings="warnings" />
</div> </div>
</template> </template>
...@@ -141,7 +141,7 @@ export default { ...@@ -141,7 +141,7 @@ export default {
<div id="peek-view-host" class="view"> <div id="peek-view-host" class="view">
<span <span
v-if="hasHost" v-if="hasHost"
class="current-host gl-text-white" class="current-host"
:class="{ canary: currentRequest.details.host.canary }" :class="{ canary: currentRequest.details.host.canary }"
> >
<span v-html="birdEmoji"></span> <span v-html="birdEmoji"></span>
......
...@@ -11,47 +11,40 @@ ...@@ -11,47 +11,40 @@
height: $performance-bar-height; height: $performance-bar-height;
background: $black; background: $black;
line-height: $performance-bar-height; line-height: $performance-bar-height;
color: $gray-300; color: $gray-100;
select { select {
color: $white;
width: 200px; width: 200px;
} }
input { input {
color: $gray-300;
width: $input-short-width - 60px; width: $input-short-width - 60px;
} }
select,
input {
color: inherit;
background-color: inherit;
}
option {
color: initial;
}
&.disabled { &.disabled {
display: none; display: none;
} }
&.production { &.production {
background-color: $perf-bar-production; background-color: $perf-bar-production;
select,
input {
background: $perf-bar-production;
}
} }
&.staging { &.staging {
background-color: $perf-bar-staging; background-color: $perf-bar-staging;
select,
input {
background: $perf-bar-staging;
}
} }
&.development { &.development {
background-color: $perf-bar-development; background-color: $perf-bar-development;
select,
input {
background: $perf-bar-development;
}
} }
// UI Elements // UI Elements
...@@ -61,7 +54,6 @@ ...@@ -61,7 +54,6 @@
padding: 4px 6px; padding: 4px 6px;
font-family: Consolas, 'Liberation Mono', Courier, monospace; font-family: Consolas, 'Liberation Mono', Courier, monospace;
line-height: 1; line-height: 1;
color: $gray-100;
border-radius: 3px; border-radius: 3px;
box-shadow: 0 1px 0 $perf-bar-bucket-box-shadow-from, box-shadow: 0 1px 0 $perf-bar-bucket-box-shadow-from,
inset 0 1px 2px $perf-bar-bucket-box-shadow-to; inset 0 1px 2px $perf-bar-bucket-box-shadow-to;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment