@rocketspark/domain-checker
Version:
Embeddable Domain Checker for Rocketspark
13 lines • 2.5 kB
JavaScript
/*!
*
* @rocketspark/domain-checker v0.0.34
* https://github.com/rocketspark/domain-checker.git
*
* Copyright (c) Lee Reichardt and project contributors.
*
* This source code is licensed under the no license license found in the
* LICENSE file in the root directory of this source tree.
*
*/
;(self.webpackChunkDomainChecker=self.webpackChunkDomainChecker||[]).push([[60],{4060:function(t,o,r){r.r(o),r.d(o,{rs_tool_tip:function(){return e}});var i=r(7915);const e=class{constructor(t){(0,i.r)(this,t),this.arrow="top",this.arrowDirection="top"}arrowChange(){this.arrowDirection=this.arrow}render(){return(0,i.h)("host",{class:`rs-tooltip rs-tooltip--${this.arrowDirection}`},(0,i.h)("div",{class:"rs-tooltip__caption__container"},(0,i.h)("slot",null)))}static get watchers(){return{arrow:["arrowChange"]}}};e.style=':host{position:absolute;z-index:1000;padding:14px 10px;font-size:14px;font-weight:200;color:#fff;background-color:var(--rs-color-heading);border-radius:3px;pointer-events:none;user-select:none;left:-9999rem;opacity:0;transition:opacity 0.15s ease-out;font-family:soleil, sans-serif;font-style:normal;line-height:20px;letter-spacing:0;text-align:left;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;max-width:240px}:host(.rs-tooltip--active){opacity:1}.rs-tooltip::after{content:"";height:0;width:0;position:absolute;pointer-events:none;border-color:transparent;border-width:12px;border-style:solid}.rs-tooltip--top::after{top:100%;left:50%;margin-left:-12px;border-top-color:var(--rs-color-heading)}.rs-tooltip--right::after{right:100%;top:50%;margin-top:-12px;border-right-color:var(--rs-color-heading)}.rs-tooltip--bottom::after{bottom:100%;left:50%;margin-left:-12px;border-bottom-color:var(--rs-color-heading)}.rs-tooltip--left::after{left:100%;top:50%;margin-top:-12px;border-left-color:var(--rs-color-heading)}::slotted(.rs-tooltip__heading){font-family:soleil, sans-serif !important;font-size:14px !important;font-style:normal !important;line-height:20px !important;letter-spacing:0 !important;text-align:left !important;font-weight:700 !important;margin:0 !important;padding:0 !important}::slotted(.rs-tooltip__caption){font-family:soleil, sans-serif !important;font-size:14px !important;font-style:normal !important;font-weight:400 !important;line-height:20px !important;letter-spacing:0 !important;text-align:left !important;margin:8px 0 0 !important;padding:0 !important}'}}]);
//# sourceMappingURL=60.index.js.map