Fix help component z-index
This commit is contained in:
parent
9295c68b74
commit
26da644eab
|
@ -21,7 +21,6 @@
|
||||||
top: 0;
|
top: 0;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
background-color: pvar(--mainBackgroundColor);
|
background-color: pvar(--mainBackgroundColor);
|
||||||
z-index: z(header);
|
|
||||||
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.16);
|
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.16);
|
||||||
display: flex;
|
display: flex;
|
||||||
}
|
}
|
||||||
|
|
|
@ -25,7 +25,6 @@
|
||||||
<span
|
<span
|
||||||
role="button"
|
role="button"
|
||||||
class="help-tooltip-button"
|
class="help-tooltip-button"
|
||||||
container="body"
|
|
||||||
[title]="title"
|
[title]="title"
|
||||||
tabindex=0
|
tabindex=0
|
||||||
popoverClass="help-popover"
|
popoverClass="help-popover"
|
||||||
|
|
|
@ -19,7 +19,6 @@
|
||||||
|
|
||||||
::ng-deep {
|
::ng-deep {
|
||||||
.help-popover {
|
.help-popover {
|
||||||
z-index: z(help-popover) !important;
|
|
||||||
max-width: 300px;
|
max-width: 300px;
|
||||||
|
|
||||||
.popover-body {
|
.popover-body {
|
||||||
|
|
|
@ -17,6 +17,8 @@ $icon-font-path: '~@neos21/bootstrap3-glyphicons/assets/fonts/';
|
||||||
@import './bootstrap';
|
@import './bootstrap';
|
||||||
@import './primeng-custom';
|
@import './primeng-custom';
|
||||||
|
|
||||||
|
@import './z-index';
|
||||||
|
|
||||||
[hidden] {
|
[hidden] {
|
||||||
display: none !important;
|
display: none !important;
|
||||||
}
|
}
|
||||||
|
@ -324,10 +326,6 @@ table {
|
||||||
margin-top: 10px;
|
margin-top: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
ngx-loading-bar {
|
|
||||||
z-index: z(header) + 1 !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
@media screen and (max-width: #{breakpoint(xxl)}) {
|
@media screen and (max-width: #{breakpoint(xxl)}) {
|
||||||
.main-col {
|
.main-col {
|
||||||
--horizontalMarginContent: #{math.div($not-expanded-horizontal-margins, 2)};
|
--horizontalMarginContent: #{math.div($not-expanded-horizontal-margins, 2)};
|
||||||
|
|
|
@ -58,33 +58,12 @@ $icon-font-path: '~@neos21/bootstrap3-glyphicons/assets/fonts/';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* rules for dropdowns excepts when in button group, to avoid impacting the dropdown-toggle */
|
|
||||||
.dropdown,
|
|
||||||
.dropup {
|
|
||||||
z-index: z(dropdown) !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.list-overflow-menu,
|
|
||||||
.parent-entry {
|
|
||||||
z-index: z(menu) - 1 !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.btn-group,
|
|
||||||
.dropdown-root,
|
|
||||||
.action-dropdown,
|
|
||||||
.input-group-prepend,
|
|
||||||
.column-toggle {
|
|
||||||
z-index: inherit !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.btn-group > .btn:not(:first-child) {
|
.btn-group > .btn:not(:first-child) {
|
||||||
border-top-left-radius: 0 !important;
|
border-top-left-radius: 0 !important;
|
||||||
border-bottom-left-radius: 0 !important;
|
border-bottom-left-radius: 0 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.dropdown-menu {
|
.dropdown-menu {
|
||||||
z-index: z(dropdown) + 1 !important;
|
|
||||||
|
|
||||||
border-radius: 3px;
|
border-radius: 3px;
|
||||||
box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12), 0 3px 1px -2px rgba(0, 0, 0, 0.2);
|
box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12), 0 3px 1px -2px rgba(0, 0, 0, 0.2);
|
||||||
font-size: 15px;
|
font-size: 15px;
|
||||||
|
@ -302,22 +281,6 @@ $icon-font-path: '~@neos21/bootstrap3-glyphicons/assets/fonts/';
|
||||||
margin: 0.3rem 0;
|
margin: 0.3rem 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
ngb-modal-backdrop {
|
|
||||||
z-index: z(modal) - 1 !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
ngb-modal-window {
|
|
||||||
z-index: z(modal) !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
ngb-popover-window {
|
|
||||||
z-index: z(popover) !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
ngb-tooltip-window {
|
|
||||||
z-index: z(tooltip) !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.btn-outline-secondary {
|
.btn-outline-secondary {
|
||||||
border-color: $input-border-color;
|
border-color: $input-border-color;
|
||||||
|
|
||||||
|
|
|
@ -898,7 +898,6 @@ p-toast {
|
||||||
width: auto;
|
width: auto;
|
||||||
max-width: 300px;
|
max-width: 300px;
|
||||||
min-width: 200px;
|
min-width: 200px;
|
||||||
z-index: z(notification) !important;
|
|
||||||
|
|
||||||
.p-toast-icon-close {
|
.p-toast-icon-close {
|
||||||
font-family: "Glyphicons Halflings";
|
font-family: "Glyphicons Halflings";
|
||||||
|
|
|
@ -0,0 +1,69 @@
|
||||||
|
@use '_variables' as *;
|
||||||
|
@use '_mixins' as *;
|
||||||
|
|
||||||
|
.header {
|
||||||
|
z-index: z(header);
|
||||||
|
}
|
||||||
|
|
||||||
|
.help-popover {
|
||||||
|
z-index: z(help-popover);
|
||||||
|
}
|
||||||
|
|
||||||
|
ngx-loading-bar {
|
||||||
|
z-index: z(header) + 1 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* rules for dropdowns excepts when in button group, to avoid impacting the dropdown-toggle */
|
||||||
|
.dropdown,
|
||||||
|
.dropup {
|
||||||
|
z-index: z(dropdown) !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.list-overflow-menu,
|
||||||
|
.parent-entry {
|
||||||
|
z-index: z(menu) - 1 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.btn-group,
|
||||||
|
.dropdown-root,
|
||||||
|
.action-dropdown,
|
||||||
|
.input-group-prepend,
|
||||||
|
.column-toggle {
|
||||||
|
z-index: inherit !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.dropdown-menu {
|
||||||
|
z-index: z(dropdown) + 1 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
p-toast .p-toast {
|
||||||
|
z-index: z(notification) !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
ngb-modal-backdrop {
|
||||||
|
z-index: z(modal) - 1 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
ngb-popover-window {
|
||||||
|
z-index: z(popover) !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
ngb-tooltip-window {
|
||||||
|
z-index: z(tooltip) !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
ngb-modal-window {
|
||||||
|
z-index: z(modal) !important;
|
||||||
|
|
||||||
|
ngb-tooltip-window {
|
||||||
|
z-index: z(modal + 1) !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
ngb-popover-window {
|
||||||
|
z-index: z(modal + 1) !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.help-popover {
|
||||||
|
z-index: z(modal + 1) !important;
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue