Skip to content
This repository has been archived by the owner on Aug 31, 2022. It is now read-only.

fix style definition #2

Merged
merged 1 commit into from Apr 28, 2012
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions app/assets/stylesheets/honey_badger.css.scss
@@ -1,5 +1,5 @@
@mixin corner-banner($color: #333) {
.corner-banner.honey-badger {
&.corner-banner.honey-badger {
position: absolute;
left: -52px;
top: 30px;
Expand All @@ -21,7 +21,7 @@
box-shadow: rgba(0,0,0, 0.2) 0px 0px 6px;
-moz-box-shadow: rgba(0,0,0, 0.2) 0px 0px 6px;
-webkit-box-shadow: rgba(0,0,0, 0.2) 0px 0px 6px;
z-index: 1000;
z-index: 1035;
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not make the z-index 5000 or something similar -- after all, the badge should almost always be the top level element on the page .. ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry for late reply.
In Twitter Bootstrap, navbar has z-index: 1030 and backdrop has z-index: 1040. This is between them.

letter-spacing:1px;
font-style:normal;
font-size:8px !important;
Expand Down