diff options
author | Daniel Friesel <derf@finalrewind.org> | 2020-11-21 14:13:41 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2020-11-21 14:13:41 +0100 |
commit | e3fba3dcd493f609e107435867c4a67cb7ee420f (patch) | |
tree | cd228574b1d4f4e446fac87e9d6fe3eeffe27b63 /sass/components/_tooltip.scss | |
parent | 88d3e67474c518a5c422b5f0e47c58147f31fe6e (diff) |
import materialize sass sources instead of relying on npm
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; +} |