Created
October 16, 2015 12:35
-
-
Save Kobold/d406e0aa065d57121235 to your computer and use it in GitHub Desktop.
Help popovers.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$('.help-hover').popover({ | |
trigger: 'hover' | |
}); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.help-hover { | |
// This should probably be factored out into individual spacing classes | |
// once the help hover is more widely used. | |
display: inline-block; | |
position: relative; | |
height: 1px; | |
left: 0.5em; | |
top: 5px; | |
&:before { | |
font-family: FontAwesome; | |
font-weight: normal; | |
font-style: normal; | |
text-decoration: inherit; | |
-webkit-font-smoothing: antialiased; | |
content: "\f059"; | |
font-size: 1.75em; | |
color: @tbGreen; | |
} | |
&:hover:before { | |
color: @tbDarkGreen; | |
} | |
} | |
// Reset the popovers to the default font. | |
.popover-content { | |
font-family: "Helvetica Neue",Helvetica,Arial,sans-serif; | |
font-size: 14px; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment