@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.
193 lines (189 loc) • 4.67 kB
CSS
.e-tooltip-wrap {
/*! Tooltip icons */
}
.e-tooltip-wrap .e-tooltip-close::before {
content: "\e7e7";
font-size: 10px;
left: calc(50% - 5.5px);
position: absolute;
top: calc(50% - 5.5px);
}
.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: 8px;
left: 50%;
top: 100%;
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;
border-radius: 9px;
border-width: 1px;
-webkit-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.075);
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.075);
-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: 4px 8px;
position: relative;
white-space: normal;
width: 100%;
word-break: break-word;
z-index: 1;
font-weight: 500;
}
.e-tooltip-wrap.e-rtl .e-tooltip-close::before {
font-size: 9px;
margin-right: 2px;
}
.e-tooltip-wrap {
border-radius: 4px;
}
.e-tooltip-wrap.e-popup {
background-color: #e9ecef;
border: 1px solid #e9ecef;
}
.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 #e9ecef;
}
.e-tooltip-wrap .e-arrow-tip-outer.e-tip-top {
border-bottom: 8px solid #e9ecef;
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 #e9ecef;
border-top: 8px solid transparent;
}
.e-tooltip-wrap .e-arrow-tip-outer.e-tip-right {
border-bottom: 8px solid transparent;
border-left: 8px solid #e9ecef;
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: #e9ecef;
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: #6c757d;
border-color: #6c757d;
border-radius: 9px;
color: #fff;
border: 1px solid #6c757d;
}
.e-tooltip-wrap .e-tooltip-close:hover {
background-color: rgb(91.8, 99.45, 106.25);
color: #fff;
border-color: rgb(86.4, 93.6, 100);
}
.e-tooltip-wrap .e-tip-content {
border-radius: inherit;
color: #212529;
font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
font-size: 12px;
}
.e-bigger .e-tooltip-wrap .e-tooltip-close,
.e-tooltip-wrap.e-bigger .e-tooltip-close {
border-radius: 10px;
border-width: 1px;
height: 20px;
width: 20px;
}
.e-bigger .e-tooltip-wrap .e-tooltip-close::before,
.e-tooltip-wrap.e-bigger .e-tooltip-close::before {
font-size: 11px;
left: calc(50% - 6px);
}
.e-bigger .e-tooltip-wrap .e-tip-content,
.e-tooltip-wrap.e-bigger .e-tip-content {
line-height: 22px;
padding: 4px 8px;
}
.e-bigger .e-tooltip-wrap .e-tip-content,
.e-tooltip-wrap.e-bigger .e-tip-content {
font-size: 14px;
}