@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.
263 lines (251 loc) • 5.73 kB
CSS
/* Font Family */
/* Font Sizes */
/* Radius */
/* 1px */
/* 2px */
/* 3px */
/* 4px */
/* 5px */
/* 6px */
/* 7px */
/* 8px */
/* 9px */
/* 10px */
/* 11px */
/* 12px */
/* 13px */
/* 14px */
/* 15px */
/* 16px */
/* 17px */
/* 18px */
/* 19px */
/* 20px */
/* 21px */
/* 22px */
/* 23px */
/* 24px */
/* 25px */
/* 26px */
/* 27px */
/* 28px */
/* 29px */
/* 30px */
/* 31px */
/* 32px */
/* 33px */
/* 34px */
/* 35px */
/* 36px */
/* 37px */
/* 38px */
/* 39px */
/* 40px */
/* 41px */
/* 42px */
/* 43px */
/* 44px */
/* 45px */
/* 46px */
/* 47px */
/* 48px */
/* 49px */
/* 50px */
/* 5em */
/* 65% */
/* border */
/* 0px */
/* 1px */
/* 1.5px */
/* 2px */
/* 3px */
/* 4px */
/* 5px */
/* 6px */
/* 7px */
/* 8px */
/* 9px */
/* 10px */
/* 11px */
/* 12px */
/* 13px */
/* 14px */
/* 15px */
/* 16px */
.e-tooltip-wrap {
/*! Tooltip icons */
}
.e-tooltip-wrap .e-tooltip-close::before {
content: "\e7e7";
font-size: 12px;
left: calc(50% - 6px);
position: absolute;
top: calc(50% - 6px);
}
.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: calc(var(--e-radius) * 0.5625);
border-width: 1px;
-webkit-box-shadow: 0 1px 3px 1px rgba(0, 0, 0, 0.15), 0 1px 2px 0 rgba(0, 0, 0, 0.3);
box-shadow: 0 1px 3px 1px rgba(0, 0, 0, 0.15), 0 1px 2px 0 rgba(0, 0, 0, 0.3);
-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: 20px;
overflow-wrap: break-word;
overflow-x: hidden;
padding: 4px 8px 6px 8px;
position: relative;
white-space: normal;
width: 100%;
word-break: break-word;
z-index: 1;
}
.e-tooltip-content-placeholder {
display: none;
}
.e-tooltip-wrap {
border-radius: calc(var(--e-radius) * 0.25);
-webkit-filter: 0 1px 3px 1px rgba(0, 0, 0, 0.15), 0 1px 2px 0 rgba(0, 0, 0, 0.3);
filter: 0 1px 3px 1px rgba(0, 0, 0, 0.15), 0 1px 2px 0 rgba(0, 0, 0, 0.3);
opacity: 1;
}
.e-tooltip-wrap.e-popup {
background-color: rgba(var(--color-sf-inverse-surface));
border: 1px solid rgba(var(--color-sf-inverse-surface));
}
.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 rgba(var(--color-sf-inverse-surface));
}
.e-tooltip-wrap .e-arrow-tip-outer.e-tip-top {
border-bottom: 8px solid rgba(var(--color-sf-inverse-surface));
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 rgba(var(--color-sf-inverse-surface));
border-top: 8px solid transparent;
}
.e-tooltip-wrap .e-arrow-tip-outer.e-tip-right {
border-bottom: 8px solid transparent;
border-left: 8px solid rgba(var(--color-sf-inverse-surface));
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(var(--color-sf-inverse-surface));
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: rgba(var(--color-sf-inverse-surface));
border-color: linear-gradient(0deg, rgba(var(--color-sf-primary), 0.05), rgba(var(--color-sf-primary), 0.05)), rgba(var(--color-sf-surface));
border-radius: 8px;
color: rgba(var(--color-sf-inverse-on-surface));
border: 1px solid rgba(var(--color-sf-inverse-on-surface));
}
.e-tooltip-wrap .e-tooltip-close:hover {
background-color: rgba(var(--color-sf-inverse-on-surface));
color: rgba(var(--color-sf-inverse-surface));
}
.e-tooltip-wrap .e-tip-content {
border-radius: inherit;
color: rgba(var(--color-sf-inverse-on-surface));
font-family: var(--e-font-family);
font-size: 14px;
}
.e-bigger .e-tooltip-wrap .e-tip-content,
.e-tooltip-wrap.e-bigger .e-tip-content {
line-height: 24px;
padding: 6px 13px;
}
.e-bigger .e-tooltip-wrap .e-tip-content,
.e-tooltip-wrap.e-bigger .e-tip-content {
font-size: 16px;
}