mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 06:30:15 +08:00
3690953a3f
Follow-up to https://github.com/discourse/discourse/pull/17468.
The notifications menu has a z-index at the header level, so the badge should be below that.
72889573e6/app/assets/stylesheets/common/base/menu-panel.scss (L26)
30 lines
763 B
SCSS
30 lines
763 B
SCSS
// Some basic overrides to https://github.com/MiniProfiler/rack-mini-profiler/blob/master/lib/html/includes.scss
|
|
// which make the badge conform to the current site theme.
|
|
|
|
div.profiler-results.profiler-top {
|
|
top: var(--header-offset);
|
|
z-index: z("header") - 1;
|
|
|
|
.profiler-button {
|
|
background-color: var(--header_background);
|
|
color: var(--header_primary);
|
|
border-bottom: 1px solid var(--header_primary-low);
|
|
|
|
.profiler-number {
|
|
color: var(--header_primary);
|
|
}
|
|
|
|
.profiler-unit {
|
|
color: var(--header_primary-medium);
|
|
}
|
|
}
|
|
|
|
&.profiler-left .profiler-button {
|
|
border-right: 1px solid var(--header_primary-low);
|
|
}
|
|
|
|
&.profiler-right .profiler-button {
|
|
border-left: 1px solid var(--header_primary-low);
|
|
}
|
|
}
|