Merge pull request #151 from brianhall/tooltip

Update tooltip according to UX review.
master
Addy Osmani 2015-04-09 08:47:14 +01:00
commit 8b96d4c23a
2 changed files with 4 additions and 4 deletions

View File

@ -202,7 +202,7 @@ $default-dropdown-bg-color: unquote("rgb(#{$palette-white-100})") !default;
/* ========== Tooltips ========== */
$tooltip-text-color: unquote("rgb(#{$palette-white-100})") !default;
$tooltip-background-color: unquote("rgb(#{$palette-grey-600})") !default;
$tooltip-background-color: unquote("rgba(#{$palette-black-100}, .9)") !default;
/* ========== Footer ========== */

View File

@ -6,13 +6,13 @@
transform: scale(0);
transform-origin: top center;
background: $tooltip-background-color;
border-radius: 5px;
border-radius: 2px;
color: $tooltip-text-color;
display: none;
font-size: 10px;
line-height: 14px;
max-width: 170px;
padding: 5px 8px;
padding: 4px 8px;
position: absolute;
text-align: center;
}
@ -24,7 +24,7 @@
.wsk-tooltip--large {
line-height: 14px;
font-size: 14px;
padding: 16px;
padding: 15px 16px;
}
@-webkit-keyframes pulse {