@syncfusion/ej2-popups
Version:
A package of Essential JS 2 popup components such as Dialog and Tooltip that is used to display information or messages in separate pop-ups.
178 lines (175 loc) • 4.55 kB
CSS
.e-tooltip-wrap {
/*! Tooltip icons */
}
.e-tooltip-wrap .e-tooltip-close::before {
content: "\e7e7";
font-size: 7px;
left: calc(50% - 3.6px);
position: absolute;
top: calc(50% - 3px);
}
.e-tooltip-wrap .e-arrow-tip-inner.e-tip-right::before {
content: "\e87e";
}
.e-tooltip-wrap .e-arrow-tip-inner.e-tip-top::before {
content: "\e87a";
}
.e-tooltip-wrap .e-arrow-tip-inner.e-tip-bottom::before {
content: "\e70d";
}
.e-tooltip-wrap .e-arrow-tip-inner.e-tip-left::before {
content: "\e87d";
}
.e-tooltip-popup-container {
position: relative;
}
.e-tooltip-wrap {
max-width: 350px;
min-width: 30px;
padding: 0;
position: absolute;
visibility: visible;
}
.e-tooltip-wrap .e-arrow-tip {
overflow: hidden;
position: absolute;
}
.e-tooltip-wrap .e-arrow-tip.e-tip-bottom {
height: 12.5px;
left: 50%;
top: 100%;
width: 25.5px;
}
.e-tooltip-wrap .e-arrow-tip.e-tip-top {
height: 12.5px;
left: 50%;
top: -9px;
width: 25.5px;
}
.e-tooltip-wrap .e-arrow-tip.e-tip-left {
height: 25.5px;
left: -9px;
top: 48%;
width: 12.5px;
}
.e-tooltip-wrap .e-arrow-tip.e-tip-right {
height: 25.5px;
left: 100%;
top: 50%;
width: 12.5px;
}
.e-tooltip-wrap .e-tooltip-close {
cursor: pointer;
float: right;
position: absolute;
right: -9px;
top: -9px;
z-index: inherit;
border-radius: 9px;
border-width: 1px;
-webkit-box-shadow: 0 1.6px 3.6px 0 rgba(0, 0, 0, 0.132), 0 0.3px 0.9px 0 rgba(0, 0, 0, 0.108);
box-shadow: 0 1.6px 3.6px 0 rgba(0, 0, 0, 0.132), 0 0.3px 0.9px 0 rgba(0, 0, 0, 0.108);
-webkit-box-sizing: border-box;
box-sizing: border-box;
height: 16px;
width: 16px;
}
.e-tooltip-wrap .e-tip-content {
background-color: inherit;
height: 100%;
line-height: 18px;
overflow-wrap: break-word;
overflow-x: hidden;
padding: 6px 8px;
position: relative;
white-space: normal;
width: 100%;
word-break: break-word;
z-index: 1;
}
.e-tooltip-wrap {
border-radius: 2px;
}
.e-tooltip-wrap.e-popup {
background-color: #252423;
border: 1px solid #323130;
-webkit-box-shadow: 0 6.4px 14.4px 0 rgba(0, 0, 0, 0.132), 0 1.2px 3.6px 0 rgba(0, 0, 0, 0.108);
box-shadow: 0 6.4px 14.4px 0 rgba(0, 0, 0, 0.132), 0 1.2px 3.6px 0 rgba(0, 0, 0, 0.108);
-webkit-filter: drop-shadow(1px 1px 3px rgba(0, 0, 0, 0.25));
filter: drop-shadow(1px 1px 3px rgba(0, 0, 0, 0.25));
}
.e-tooltip-wrap .e-arrow-tip-outer {
height: 0;
left: 0;
position: absolute;
top: 0;
width: 0;
}
.e-tooltip-wrap .e-arrow-tip-outer.e-tip-bottom {
border-left: 12.5px solid transparent;
border-right: 12.5px solid transparent;
border-top: 12.5px solid #323130;
}
.e-tooltip-wrap .e-arrow-tip-outer.e-tip-top {
border-bottom: 12.5px solid #323130;
border-left: 12.5px solid transparent;
border-right: 12.5px solid transparent;
}
.e-tooltip-wrap .e-arrow-tip-outer.e-tip-left {
border-bottom: 12.5px solid transparent;
border-right: 12.5px solid #323130;
border-top: 12.5px solid transparent;
}
.e-tooltip-wrap .e-arrow-tip-outer.e-tip-right {
border-bottom: 12.5px solid transparent;
border-left: 12.5px solid #323130;
border-top: 12.5px solid transparent;
}
.e-tooltip-wrap .e-arrow-tip-inner {
height: 0;
position: absolute;
width: 0;
z-index: 10;
}
.e-tooltip-wrap .e-arrow-tip-inner.e-tip-right, .e-tooltip-wrap .e-arrow-tip-inner.e-tip-left, .e-tooltip-wrap .e-arrow-tip-inner.e-tip-bottom, .e-tooltip-wrap .e-arrow-tip-inner.e-tip-top {
color: #252423;
font-family: "e-icons";
font-size: 26px;
font-style: normal;
font-variant: normal;
font-weight: normal;
line-height: 1;
text-transform: none;
}
.e-tooltip-wrap .e-arrow-tip-inner.e-tip-bottom, .e-tooltip-wrap .e-arrow-tip-inner.e-tip-top {
right: 26px;
}
.e-tooltip-wrap .e-arrow-tip-inner.e-tip-right, .e-tooltip-wrap .e-arrow-tip-inner.e-tip-left {
bottom: 26px;
}
.e-tooltip-wrap .e-tooltip-close {
background-color: #1b1a19;
border-color: #1b1a19;
border-radius: 9px;
color: #fff;
border: 1px solid #a19f9d;
}
.e-tooltip-wrap .e-tooltip-close:hover {
background-color: #252423;
color: #fff;
}
.e-tooltip-wrap .e-tip-content {
border-radius: inherit;
color: #f3f2f1;
font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, "Roboto", "Helvetica Neue", sans-serif;
font-size: 12px;
}
.e-bigger .e-tooltip-wrap .e-tip-content,
.e-tooltip-wrap.e-bigger .e-tip-content {
line-height: 22px;
padding: 9px 8px;
}
.e-bigger .e-tooltip-wrap .e-tip-content,
.e-tooltip-wrap.e-bigger .e-tip-content {
font-size: 14px;
}