Skip to content

Commit 65bbc0a

Browse files
committed
Use Bootstrap-friendly z-index values
Bootstrap uses z-index values up to 1050 currently, so we'll use z-index values around 2000 so progress indications appear above e.g. a navbar element.
1 parent f47d6dd commit 65bbc0a

16 files changed

Lines changed: 22 additions & 22 deletions

templates/pace-theme-barber-shop.tmpl.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
.pace .pace-progress {
1414
background-color: `args.color || "#29d"`;
1515
position: fixed;
16-
z-index: 100;
16+
z-index: 2000;
1717
top: 0;
1818
left: 0;
1919
height: 12px;

templates/pace-theme-big-counter.tmpl.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
.pace .pace-progress {
1010
position: fixed;
11-
z-index: 100;
11+
z-index: 2000;
1212
top: 0;
1313
right: 0;
1414
height: 5rem;

templates/pace-theme-bounce.tmpl.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
position: fixed;
55
top: -90px;
66
right: -20px;
7-
z-index: 100;
7+
z-index: 2000;
88
-webkit-transform: scale(0);
99
-moz-transform: scale(0);
1010
-ms-transform: scale(0);
@@ -32,7 +32,7 @@
3232
background: `args.color || "#29d"`;
3333
position: absolute;
3434
top: 0;
35-
z-index: 11;
35+
z-index: 1911;
3636
-webkit-animation: pace-bounce 1s infinite;
3737
-moz-animation: pace-bounce 1s infinite;
3838
-o-animation: pace-bounce 1s infinite;
@@ -45,7 +45,7 @@
4545
display: block;
4646
left: 50%;
4747
bottom: 0;
48-
z-index: 10;
48+
z-index: 1910;
4949
margin-left: -30px;
5050
width: 60px;
5151
height: 75px;

templates/pace-theme-corner-indicator.tmpl.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
.pace .pace-activity {
1010
display: block;
1111
position: fixed;
12-
z-index: 100;
12+
z-index: 2000;
1313
top: 0;
1414
right: 0;
1515
width: 300px;

templates/pace-theme-flash.tmpl.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
.pace .pace-progress {
1414
background: `args.color || "#29d"`;
1515
position: fixed;
16-
z-index: 100;
16+
z-index: 2000;
1717
top: 0;
1818
left: 0;
1919
height: 2px;
@@ -37,7 +37,7 @@
3737
.pace .pace-activity {
3838
display: block;
3939
position: fixed;
40-
z-index: 100;
40+
z-index: 2000;
4141
top: 15px;
4242
right: 15px;
4343
width: 14px;

templates/pace-theme-flat-top.tmpl.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
.pace .pace-progress {
1010
display: block;
1111
position: fixed;
12-
z-index: 100;
12+
z-index: 2000;
1313
top: 0;
1414
left: 0;
1515
height: 12px;

templates/pace-theme-mac-osx.tmpl.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
color: `Color(args.color || "#78c0f0").lighten(0.25).hexString();`;
1717
position: fixed;
18-
z-index: 100;
18+
z-index: 2000;
1919
top: 0;
2020
left: 0;
2121
height: 12px;

templates/pace-theme-minimal.tmpl.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
.pace .pace-progress {
22
background: `args.color || "#29d"`;
33
position: fixed;
4-
z-index: 100;
4+
z-index: 2000;
55
top: 0;
66
left: 0;
77
height: 2px;

themes/pace-theme-barber-shop.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
.pace .pace-progress {
1515
background-color: #29d;
1616
position: fixed;
17-
z-index: 100;
17+
z-index: 2000;
1818
top: 0;
1919
left: 0;
2020
height: 12px;

themes/pace-theme-big-counter.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
.pace .pace-progress {
1111
position: fixed;
12-
z-index: 100;
12+
z-index: 2000;
1313
top: 0;
1414
right: 0;
1515
height: 5rem;

0 commit comments

Comments
 (0)