Make tooltip spec compliant (fixes #453) (Closes #454)

master
Alexander Surma 2015-06-24 15:29:24 +01:00 committed by Addy Osmani
parent 3bf5dc7be0
commit 303149a1a2
2 changed files with 5 additions and 3 deletions

View File

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

View File

@ -26,10 +26,12 @@
color: $tooltip-text-color;
display: none;
font-size: 10px;
font-weight: 500;
line-height: 14px;
max-width: 170px;
padding: 4px 8px;
position: fixed;
padding: 8px;
position: absolute;
text-align: center;
}
.mdl-tooltip.is-active {
@ -40,7 +42,7 @@
.mdl-tooltip--large {
line-height: 14px;
font-size: 14px;
padding: 15px 16px;
padding: 16px;
}
@keyframes pulse {