Skip to content
This repository has been archived by the owner on Feb 17, 2021. It is now read-only.

Commit

Permalink
add check for document.readyState, fallback for transparent borders
Browse files Browse the repository at this point in the history
  • Loading branch information
Gordon Koo committed Aug 8, 2012
1 parent fd22841 commit 3cc4ff8
Show file tree
Hide file tree
Showing 4 changed files with 40 additions and 10 deletions.
8 changes: 4 additions & 4 deletions css/hopscotch.css

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

10 changes: 7 additions & 3 deletions css/hopscotch.less
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ div#hopscotch-bubble {
}

&.up {
top: (@arrowWidth + @bubbleBorderWidth) * (-1);
top: 0 - @arrowWidth - @bubbleBorderWidth;
left: @bubbleCornerRadius;

.hopscotch-bubble-arrow {
Expand All @@ -85,6 +85,7 @@ div#hopscotch-bubble {
top: 0 - @arrowWidth + (@borderAngledWidth);
}
.hopscotch-bubble-arrow-border {
border-bottom: @arrowWidth solid #000;
border-bottom: @arrowWidth solid @borderColor;
border-left: @arrowWidth solid transparent;
border-right: @arrowWidth solid transparent;
Expand All @@ -102,6 +103,7 @@ div#hopscotch-bubble {
top: 0 - @arrowWidth - (@borderAngledWidth);
}
.hopscotch-bubble-arrow-border {
border-top: @arrowWidth solid #000;
border-top: @arrowWidth solid @borderColor;
border-left: @arrowWidth solid transparent;
border-right: @arrowWidth solid transparent;
Expand All @@ -120,8 +122,9 @@ div#hopscotch-bubble {
top: 0 - (2*@arrowWidth);
}
.hopscotch-bubble-arrow-border {
border-bottom: @arrowWidth solid transparent;
border-right: @arrowWidth solid #000;
border-right: @arrowWidth solid @borderColor;
border-bottom: @arrowWidth solid transparent;
border-top: @arrowWidth solid transparent;
}
}
Expand All @@ -138,8 +141,9 @@ div#hopscotch-bubble {
top: 0 - (2*@arrowWidth);
}
.hopscotch-bubble-arrow-border {
border-bottom: @arrowWidth solid transparent;
border-left: @arrowWidth solid #000;
border-left: @arrowWidth solid @borderColor;
border-bottom: @arrowWidth solid transparent;
border-top: @arrowWidth solid transparent;
}
}
Expand Down

0 comments on commit 3cc4ff8

Please sign in to comment.