File tree Expand file tree Collapse file tree 4 files changed +11
-9
lines changed Expand file tree Collapse file tree 4 files changed +11
-9
lines changed Original file line number Diff line number Diff line change 63
63
& .header-sticky {
64
64
position : sticky ;
65
65
top : 0 ;
66
- z-index : $zindex-fixed - 1 ;
66
+ z-index : $zindex-sticky ;
67
67
}
68
68
}
69
69
Original file line number Diff line number Diff line change @@ -1195,10 +1195,10 @@ $form-validation-states: (
1195
1195
$zindex-dropdown : 1000 !default ;
1196
1196
$zindex-sticky : 1020 !default ;
1197
1197
$zindex-fixed : 1030 !default ;
1198
+ $zindex-sidebar-backdrop : 1034 !default ;
1199
+ $zindex-sidebar : 1035 !default ;
1198
1200
$zindex-offcanvas-backdrop : 1040 !default ;
1199
- $zindex-sidebar-backdrop : 1040 !default ;
1200
1201
$zindex-offcanvas : 1045 !default ;
1201
- $zindex-sidebar-overlaid : 1045 !default ;
1202
1202
$zindex-modal-backdrop : 1050 !default ;
1203
1203
$zindex-modal : 1055 !default ;
1204
1204
$zindex-popover : 1070 !default ;
Original file line number Diff line number Diff line change 9
9
}
10
10
11
11
@include media-breakpoint-up ($mobile-breakpoint ) {
12
- z-index : $zindex-fixed + 1 ;
13
12
flex : 0 0 var (--#{$prefix}sidebar-narrow-width );
14
13
width : var (--#{$prefix}sidebar-narrow-width );
15
14
padding-bottom : var (--#{$prefix}sidebar-toggler-height );
16
15
overflow : visible ;
17
16
18
17
& .sidebar-fixed {
19
- z-index : $zindex-fixed + 1 ;
20
18
width : var (--#{$prefix}sidebar-narrow-width );
21
19
}
22
20
77
75
78
76
.sidebar-narrow-unfoldable {
79
77
position : fixed ;
80
- z-index : $zindex-fixed + 1 ;
81
78
82
79
& :not (.sidebar-end ) ~ * {
83
80
-- #{$prefix } sidebar-occupy-start : #{$sidebar-narrow-width } ;
Original file line number Diff line number Diff line change 2
2
3
3
.sidebar {
4
4
// scss-docs-start sidebar-css-vars
5
+ -- #{$prefix } sidebar-zindex : #{$zindex-sidebar } ;
5
6
-- #{$prefix } sidebar-width : #{$sidebar-width } ;
6
7
-- #{$prefix } sidebar-bg : #{$sidebar-bg } ;
7
8
-- #{$prefix } sidebar-padding-x : #{$sidebar-padding-x } ;
8
9
-- #{$prefix } sidebar-padding-y : #{$sidebar-padding-y } ;
9
10
-- #{$prefix } sidebar-color : #{$sidebar-color } ;
10
11
-- #{$prefix } sidebar-brand-color : #{$sidebar-brand-color } ;
11
12
-- #{$prefix } sidebar-brand-bg : #{$sidebar-brand-bg } ;
12
- -- #{$prefix } sidebar-overlaid-zindex : #{$zindex-sidebar-overlaid } ;
13
13
// scss-docs-end sidebar-css-vars
14
14
15
15
position : relative ;
25
25
box-shadow : none ;
26
26
@include transition ($sidebar-transition );
27
27
28
+ & .sidebar-fixed ,
29
+ & .sidebar-narrow ,
30
+ & .sidebar-narrow-unfoldable {
31
+ z-index : var (--#{$prefix}sidebar-zindex );
32
+ }
33
+
28
34
& :not (.sidebar-end ){
29
35
@include ltr-rtl (" margin-left" , 0 );
30
36
~ * {
103
109
position : fixed ;
104
110
top : 0 ;
105
111
bottom : 0 ;
106
- z-index : var (--#{$prefix}sidebar-overlaid-zindex );
107
112
108
113
& :not (.hide ) {
109
114
box-shadow : $box-shadow ;
130
135
position : fixed ;
131
136
top : 0 ;
132
137
bottom : 0 ;
133
- z-index : var (--#{$prefix}sidebar-overlaid- zindex );
138
+ z-index : var (--#{$prefix}sidebar-zindex );
134
139
135
140
& :not (.sidebar-end ) {
136
141
@include ltr-rtl (" left" , 0 );
You can’t perform that action at this time.
0 commit comments