@@ -54,14 +54,15 @@ export const injectStyledCSS = (
54
54
const buttonBorderRadius = Math . round ( borderRadius * 1.05 ) ;
55
55
const formItemBorderRadius = Math . round ( borderRadius * 0.4 ) ;
56
56
const formItemSmallBorderRadius = Math . round ( borderRadius * 0.25 ) ;
57
+ const zIndexBase = 2147483600 ;
57
58
58
59
const colorStyleSheet = `
59
60
.gleap-frame-container {
60
61
right: 20px;
61
62
bottom: 95px;
62
63
width: 380px !important;
63
64
position: fixed;
64
- z-index: 2147483647 ;
65
+ z-index: ${ zIndexBase + 30 } ;
65
66
visibility: visible;
66
67
height: 100%;
67
68
max-height: 0px;
@@ -145,7 +146,7 @@ export const injectStyledCSS = (
145
146
-webkit-tap-highlight-color: transparent;
146
147
background-color: transparent;
147
148
color: #000000;
148
- z-index: 2147483100 ;
149
+ z-index: ${ zIndexBase + 30 } ;
149
150
box-sizing: border-box;
150
151
display: flex;
151
152
align-items: center;
@@ -345,7 +346,7 @@ export const injectStyledCSS = (
345
346
346
347
.bb-capture-svg {
347
348
position: absolute;
348
- z-index: 916777264 ;
349
+ z-index: ${ zIndexBase + 14 } ;
349
350
top: 0px;
350
351
left: 0px;
351
352
right: 0px;
@@ -355,6 +356,10 @@ export const injectStyledCSS = (
355
356
margin: 0px;
356
357
cursor: crosshair;
357
358
}
359
+
360
+ .bb-capture-svg--preview {
361
+ cursor: auto !important;
362
+ }
358
363
359
364
.bb-rec-on-circle {
360
365
animation-name: bbRecIconFade;
@@ -374,7 +379,7 @@ export const injectStyledCSS = (
374
379
position: fixed;
375
380
top: -200px;
376
381
left: 0px;
377
- z-index: 916777266 ;
382
+ z-index: ${ zIndexBase + 16 } ;
378
383
transition: opacity 0.3s ease-in-out;
379
384
}
380
385
@@ -391,15 +396,11 @@ export const injectStyledCSS = (
391
396
height: 100vh;
392
397
border: 4px solid ${ primaryColor } ;
393
398
cursor: crosshair;
394
- z-index: 916777260 ;
399
+ z-index: ${ zIndexBase + 10 } ;
395
400
box-sizing: border-box;
396
401
pointer-events: none;
397
402
}
398
403
399
- .bb-feedback-dialog-backdrop {
400
- display: none;
401
- }
402
-
403
404
.bb-capture-editor-notrecording .bb-capture-editor-borderlayer {
404
405
background-color: rgba(0, 0, 0, 0.8);
405
406
}
@@ -431,7 +432,7 @@ export const injectStyledCSS = (
431
432
top: 20px;
432
433
left: 50%;
433
434
transform: translateX(-50%);
434
- z-index: 916777268 ;
435
+ z-index: ${ zIndexBase + 18 } ;
435
436
background-color: #fff;
436
437
padding: 5px;
437
438
display: flex;
@@ -445,7 +446,7 @@ export const injectStyledCSS = (
445
446
position: fixed;
446
447
top: 0px;
447
448
right: 0px;
448
- z-index: 916777268 ;
449
+ z-index: ${ zIndexBase + 18 } ;
449
450
cursor: pointer;
450
451
-webkit-tap-highlight-color: transparent;
451
452
width: 36px;
@@ -534,7 +535,7 @@ export const injectStyledCSS = (
534
535
height: 100vh;
535
536
justify-content: center;
536
537
align-items: center;
537
- z-index: 916777270 ;
538
+ z-index: ${ zIndexBase + 20 } ;
538
539
}
539
540
540
541
.bb-capture-preview-inner {
@@ -612,7 +613,7 @@ export const injectStyledCSS = (
612
613
top: 70px;
613
614
left: 50%;
614
615
transform: translateX(-50%);
615
- z-index: 916777268 ;
616
+ z-index: ${ zIndexBase + 18 } ;
616
617
background-color: #fff;
617
618
display: none;
618
619
padding: 10px;
@@ -920,20 +921,6 @@ export const injectStyledCSS = (
920
921
transform: none;
921
922
}
922
923
923
- .bb-feedback-dialog-backdrop {
924
- display: block;
925
- position: fixed;
926
- top: 0px;
927
- left: 0px;
928
- width: 100vw;
929
- height: 100vh;
930
- height: -webkit-fill-available;
931
- z-index: 916777230;
932
- box-sizing: border-box;
933
- pointer-events: none;
934
- background-color: rgba(0, 0, 0, 0.6);
935
- }
936
-
937
924
.bb-capture-editor-drag-info {
938
925
display: none;
939
926
}
0 commit comments