diff options
Diffstat (limited to 'sass/components/_tooltip.scss')
-rw-r--r-- | sass/components/_tooltip.scss | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/sass/components/_tooltip.scss b/sass/components/_tooltip.scss new file mode 100644 index 0000000..5ec4299 --- /dev/null +++ b/sass/components/_tooltip.scss @@ -0,0 +1,32 @@ +.material-tooltip { + padding: 10px 8px; + font-size: 1rem; + z-index: 2000; + background-color: transparent; + border-radius: 2px; + color: #fff; + min-height: 36px; + line-height: 120%; + opacity: 0; + position: absolute; + text-align: center; + max-width: calc(100% - 4px); + overflow: hidden; + left: 0; + top: 0; + pointer-events: none; + visibility: hidden; + background-color: #323232; +} + +.backdrop { + position: absolute; + opacity: 0; + height: 7px; + width: 14px; + border-radius: 0 0 50% 50%; + background-color: #323232; + z-index: -1; + transform-origin: 50% 0%; + visibility: hidden; +} |