From a12eb2b9f5457f53639938b800766fd856bda415 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Sat, 3 Nov 2012 13:44:55 -0700 Subject: [PATCH] rgba() tooltip bg --- docs/assets/css/bootstrap.css | 14 +++++++------- less/tooltip.less | 2 +- less/variables.less | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/docs/assets/css/bootstrap.css b/docs/assets/css/bootstrap.css index 5bde2636e2..57c498650d 100644 --- a/docs/assets/css/bootstrap.css +++ b/docs/assets/css/bootstrap.css @@ -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; } diff --git a/less/tooltip.less b/less/tooltip.less index 0d8eb4f1c0..34f4a905f6 100644 --- a/less/tooltip.less +++ b/less/tooltip.less @@ -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; } diff --git a/less/variables.less b/less/variables.less index 783652333a..11a4d2daa4 100644 --- a/less/variables.less +++ b/less/variables.less @@ -250,7 +250,7 @@ // Tooltips and popovers // ------------------------- @tooltipColor: #fff; -@tooltipBackground: #000; +@tooltipBackground: rgba(0,0,0,.9); @tooltipArrowWidth: 5px; @tooltipArrowColor: @tooltipBackground;