@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.
170 lines (163 loc) • 3.79 kB
CSS
.e-tooltip-close::before {
content: "\e761";
font-size: 16px;
}
.e-arrow-tip-inner.e-tip-right::before {
content: "\e70b";
}
.e-arrow-tip-inner.e-tip-top::before {
content: "\e721";
}
.e-arrow-tip-inner.e-tip-bottom::before {
content: "\e744";
}
.e-arrow-tip-inner.e-tip-left::before {
content: "\e71f";
}
.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: 8px;
left: 50%;
top: 8px;
width: 16px;
}
.e-tooltip-wrap .e-arrow-tip.e-tip-top {
height: 8px;
left: 50%;
top: -9px;
width: 16px;
}
.e-tooltip-wrap .e-arrow-tip.e-tip-left {
height: 16px;
left: -9px;
top: 48%;
width: 8px;
}
.e-tooltip-wrap .e-arrow-tip.e-tip-right {
height: 16px;
left: 100%;
top: 50%;
width: 8px;
}
.e-tooltip-wrap .e-tooltip-close {
cursor: pointer;
float: right;
position: absolute;
right: -9px;
top: -9px;
z-index: inherit;
}
.e-tooltip-wrap .e-tip-content {
background-color: inherit;
height: 100%;
line-height: 17px;
overflow-wrap: break-word;
overflow-x: hidden;
padding: 4px 8px;
position: relative;
white-space: normal;
width: 100%;
word-break: break-word;
z-index: 1;
border-radius: inherit;
}
.e-tooltip-wrap {
border-radius: 4px;
-webkit-filter: none;
filter: none;
opacity: 1;
}
.e-tooltip-wrap.e-popup {
background-color: rgba(0, 0, 0, 0.9);
border: 1px solid #000;
}
.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: 8px solid transparent;
border-right: 8px solid transparent;
border-top: 8px solid #000;
}
.e-tooltip-wrap .e-arrow-tip-outer.e-tip-top {
border-bottom: 8px solid #000;
border-left: 8px solid transparent;
border-right: 8px solid transparent;
}
.e-tooltip-wrap .e-arrow-tip-outer.e-tip-left {
border-bottom: 8px solid transparent;
border-right: 8px solid #000;
border-top: 8px solid transparent;
}
.e-tooltip-wrap .e-arrow-tip-outer.e-tip-right {
border-bottom: 8px solid transparent;
border-left: 8px solid #000;
border-top: 8px 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: rgba(0, 0, 0, 0.9);
font-family: "e-icons";
font-size: 16px;
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: 16px;
}
.e-tooltip-wrap .e-arrow-tip-inner.e-tip-right, .e-tooltip-wrap .e-arrow-tip-inner.e-tip-left {
bottom: 16px;
}
.e-tooltip-wrap .e-tooltip-close {
background-color: #fff;
border-color: #fff;
border-radius: 8px;
color: rgba(0, 0, 0, 0.9);
border: 1px solid #fff;
}
.e-tooltip-wrap .e-tooltip-close:hover {
background-color: #fff;
color: rgba(0, 0, 0, 0.85);
}
.e-tooltip-wrap .e-tip-content {
border-radius: inherit;
color: #fff;
font-family: "Helvetica Neue", "Helvetica", "Arial", sans-serif, "-apple-system", "BlinkMacSystemFont";
font-size: 12px;
line-height: 1.5;
}
.e-bigger .e-tooltip-wrap .e-tip-content,
.e-tooltip-wrap.e-bigger .e-tip-content {
line-height: 20px;
padding: 4px 8px;
line-height: 1.5;
}
.e-bigger .e-tooltip-wrap .e-tip-content,
.e-tooltip-wrap.e-bigger .e-tip-content {
font-size: 14px;
}