0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-11-29 11:24:18 +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 {
opacity: 0.8;
filter: alpha(opacity=80);
opacity: 1;
filter: alpha(opacity=100);
}
.tooltip.top {
@ -4561,7 +4561,7 @@ input[type="button"].btn-block {
color: #ffffff;
text-align: center;
text-decoration: none;
background-color: #000000;
background-color: rgba(0, 0, 0, 0.9);
border-radius: 4px;
}
@ -4577,7 +4577,7 @@ input[type="button"].btn-block {
bottom: 0;
left: 50%;
margin-left: -5px;
border-top-color: #000000;
border-top-color: rgba(0, 0, 0, 0.9);
border-width: 5px 5px 0;
}
@ -4585,7 +4585,7 @@ input[type="button"].btn-block {
top: 50%;
left: 0;
margin-top: -5px;
border-right-color: #000000;
border-right-color: rgba(0, 0, 0, 0.9);
border-width: 5px 5px 5px 0;
}
@ -4593,7 +4593,7 @@ input[type="button"].btn-block {
top: 50%;
right: 0;
margin-top: -5px;
border-left-color: #000000;
border-left-color: rgba(0, 0, 0, 0.9);
border-width: 5px 0 5px 5px;
}
@ -4601,7 +4601,7 @@ input[type="button"].btn-block {
top: 0;
left: 50%;
margin-left: -5px;
border-bottom-color: #000000;
border-bottom-color: rgba(0, 0, 0, 0.9);
border-width: 0 5px 5px;
}

View File

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

View File

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