Created
May 1, 2018 15:51
-
-
Save alex-boom/79359d4ec7223be2464b5b732b549aa6 to your computer and use it in GitHub Desktop.
tooltip-bootstrap
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
.tooltip { | |
&.show { | |
opacity: 1; | |
} | |
>.tooltip-inner { | |
background-color: $white; | |
color: #ABABAB; | |
max-width: 561px; | |
padding: 26px 28px 20px; | |
font-size: 17px; | |
line-height: 29px; | |
text-align: left; | |
border-radius: 0; | |
border: 1px solid $border-check; | |
box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.3); | |
h1 { | |
margin-bottom: 19px; | |
} | |
p { | |
margin-bottom: 27px; | |
} | |
} | |
} | |
.bs-tooltip-top { | |
top: -10px !important; | |
>.arrow { | |
&:before { | |
@include triangle(38px, $border-check, down); | |
top: -1px; | |
} | |
&:after { | |
@include triangle(36px, $white, down); | |
content: ""; | |
position: absolute; | |
margin-left: 1px; | |
top: -1px; | |
} | |
} | |
} | |
.bs-tooltip-bottom { | |
top: 15px !important; | |
.arrow { | |
&:before { | |
@include triangle(38px, $border-check, up); | |
bottom: -1px;; | |
} | |
&:after { | |
@include triangle(36px, $white, up); | |
content: ""; | |
position: absolute; | |
margin-left: 1px; | |
bottom: -1px; | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment