0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-02-26 23:54:23 +01:00

rgba() tooltip bg

This commit is contained in:
Mark Otto 2012-11-03 13:44:55 -07:00
parent a249d1c8ee
commit a12eb2b9f5
3 changed files with 9 additions and 9 deletions

View File

@ -4535,8 +4535,8 @@ input[type="button"].btn-block {
} }
.tooltip.in { .tooltip.in {
opacity: 0.8; opacity: 1;
filter: alpha(opacity=80); filter: alpha(opacity=100);
} }
.tooltip.top { .tooltip.top {
@ -4561,7 +4561,7 @@ input[type="button"].btn-block {
color: #ffffff; color: #ffffff;
text-align: center; text-align: center;
text-decoration: none; text-decoration: none;
background-color: #000000; background-color: rgba(0, 0, 0, 0.9);
border-radius: 4px; border-radius: 4px;
} }
@ -4577,7 +4577,7 @@ input[type="button"].btn-block {
bottom: 0; bottom: 0;
left: 50%; left: 50%;
margin-left: -5px; margin-left: -5px;
border-top-color: #000000; border-top-color: rgba(0, 0, 0, 0.9);
border-width: 5px 5px 0; border-width: 5px 5px 0;
} }
@ -4585,7 +4585,7 @@ input[type="button"].btn-block {
top: 50%; top: 50%;
left: 0; left: 0;
margin-top: -5px; margin-top: -5px;
border-right-color: #000000; border-right-color: rgba(0, 0, 0, 0.9);
border-width: 5px 5px 5px 0; border-width: 5px 5px 5px 0;
} }
@ -4593,7 +4593,7 @@ input[type="button"].btn-block {
top: 50%; top: 50%;
right: 0; right: 0;
margin-top: -5px; margin-top: -5px;
border-left-color: #000000; border-left-color: rgba(0, 0, 0, 0.9);
border-width: 5px 0 5px 5px; border-width: 5px 0 5px 5px;
} }
@ -4601,7 +4601,7 @@ input[type="button"].btn-block {
top: 0; top: 0;
left: 50%; left: 50%;
margin-left: -5px; margin-left: -5px;
border-bottom-color: #000000; border-bottom-color: rgba(0, 0, 0, 0.9);
border-width: 0 5px 5px; border-width: 0 5px 5px;
} }

View File

@ -12,7 +12,7 @@
padding: 5px; padding: 5px;
font-size: 11px; font-size: 11px;
.opacity(0); .opacity(0);
&.in { .opacity(80); } &.in { .opacity(100); }
&.top { margin-top: -3px; } &.top { margin-top: -3px; }
&.right { margin-left: 3px; } &.right { margin-left: 3px; }
&.bottom { margin-top: 3px; } &.bottom { margin-top: 3px; }

View File

@ -250,7 +250,7 @@
// Tooltips and popovers // Tooltips and popovers
// ------------------------- // -------------------------
@tooltipColor: #fff; @tooltipColor: #fff;
@tooltipBackground: #000; @tooltipBackground: rgba(0,0,0,.9);
@tooltipArrowWidth: 5px; @tooltipArrowWidth: 5px;
@tooltipArrowColor: @tooltipBackground; @tooltipArrowColor: @tooltipBackground;