Skip to content

Commit

Permalink
fixed #147
Browse files Browse the repository at this point in the history
  • Loading branch information
LostCrew committed Oct 2, 2013
1 parent 446628c commit da96321
Show file tree
Hide file tree
Showing 9 changed files with 38 additions and 36 deletions.
9 changes: 6 additions & 3 deletions build/css/bootstrap-tour.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,23 @@
right: 0;
bottom: 0;
left: 0;
z-index: 1009;
z-index: 1030;
background-color: #000;
opacity: 0.8;
}
.tour-step-backdrop {
position: relative;
z-index: 1011;
z-index: 1031;
}
.tour-step-background {
position: absolute;
z-index: 1010;
z-index: 1030;
background: #fff;
border-radius: 6px;
}
.popover[class*="tour-"] {
z-index: 1030;
}
.popover[class*="tour-"] .popover-navigation {
padding: 9px 14px;
}
Expand Down
2 changes: 1 addition & 1 deletion build/css/bootstrap-tour.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion build/js/bootstrap-tour.min.js

Large diffs are not rendered by default.

9 changes: 6 additions & 3 deletions docs/assets/css/bootstrap-tour.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,23 @@
right: 0;
bottom: 0;
left: 0;
z-index: 1009;
z-index: 1030;
background-color: #000;
opacity: 0.8;
}
.tour-step-backdrop {
position: relative;
z-index: 1011;
z-index: 1031;
}
.tour-step-background {
position: absolute;
z-index: 1010;
z-index: 1030;
background: #fff;
border-radius: 6px;
}
.popover[class*="tour-"] {
z-index: 1030;
}
.popover[class*="tour-"] .popover-navigation {
padding: 9px 14px;
}
Expand Down
2 changes: 1 addition & 1 deletion docs/assets/css/bootstrap-tour.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/assets/js/bootstrap-tour.min.js

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion docs/assets/js/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
onEnd: function() {
return $start.removeClass("disabled", true);
},
backdrop: true,
debug: true
});
tour.addSteps([
Expand Down
1 change: 0 additions & 1 deletion docs/index.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ $ ->
tour = new Tour(
onStart: -> $start.addClass "disabled", true
onEnd: -> $start.removeClass "disabled", true
backdrop: true
debug: true
)

Expand Down
46 changes: 22 additions & 24 deletions src/less/bootstrap-tour.less
Original file line number Diff line number Diff line change
Expand Up @@ -4,52 +4,50 @@
right: 0;
bottom: 0;
left: 0;
z-index: 1009;
z-index: 1030;
background-color: #000;
opacity: 0.8;
}

.tour-step-backdrop {
position: relative;
z-index: 1011;
z-index: 1031;
}

.tour-step-background {
position: absolute;
z-index: 1010;
z-index: 1030;
background: #fff;
border-radius: 6px;
}

.popover {
.popover[class*="tour-"] {
z-index: 1030;

&[class*="tour-"] {
.popover-navigation {
padding: 9px 14px;

.popover-navigation {
padding: 9px 14px;

*[data-role=end]{
float:right;
}
*[data-role=end]{
float: right;
}

*[data-role=prev],
*[data-role=next],
*[data-role=end]{
cursor: pointer;
*[data-role=prev],
*[data-role=next],
*[data-role=end]{
cursor: pointer;

&.disabled {
cursor: default;
}
&.disabled {
cursor: default;
}
}
}

&.orphan {
position: fixed;
margin-top: 0;
&.orphan {
position: fixed;
margin-top: 0;

.arrow {
display: none;
}
.arrow {
display: none;
}
}
}

0 comments on commit da96321

Please sign in to comment.