@sofaws/dapp-core
Version:
A library to hold the main logic for a dapp on the Elrond Network
123 lines (115 loc) • 5.29 kB
JavaScript
import{m as t}from"./chunk-HBP5N4FR.js";t();var e=`.dapp-core-component__trim-styles__trim {
display: flex;
max-width: 100%;
overflow: hidden;
position: relative;
white-space: nowrap;
/* IE fix */
/* SAFARI fix */
}
.dapp-core-component__trim-styles__trim.dapp-core-component__trim-styles__overflow .dapp-core-component__trim-styles__ellipsis {
display: block;
}
.dapp-core-component__trim-styles__trim .dapp-core-component__trim-styles__left {
flex-shrink: 1;
font-size: 1px;
overflow: hidden;
text-overflow: ellipsis;
text-align: left;
}
.dapp-core-component__trim-styles__trim .dapp-core-component__trim-styles__right {
flex-shrink: 1;
font-size: 1px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
direction: rtl;
text-align: right;
}
.dapp-core-component__trim-styles__trim .dapp-core-component__trim-styles__left span,
.dapp-core-component__trim-styles__trim .dapp-core-component__trim-styles__right span {
font-size: 0.875rem;
pointer-events: none;
user-select: none;
}
.dapp-core-component__trim-styles__trim .dapp-core-component__trim-styles__ellipsis {
flex-shrink: 0;
display: none;
pointer-events: none;
user-select: none;
}
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
.dapp-core-component__trim-styles__trim .dapp-core-component__trim-styles__right {
text-overflow: clip;
}
}
@supports (-webkit-hyphens: none) {
.dapp-core-component__trim-styles__trim .dapp-core-component__trim-styles__right,
.dapp-core-component__trim-styles__trim .dapp-core-component__trim-styles__left {
letter-spacing: -0.001em;
}
.dapp-core-component__trim-styles__trim .dapp-core-component__trim-styles__right {
text-overflow: clip;
}
}
.dapp-core-component__trim-styles__trim .dapp-core-component__trim-styles__hidden-text-ref {
position: absolute;
display: block;
color: transparent;
}
@media (max-width: 1199.98px) {
.dapp-core-component__trim-styles__trim {
max-width: 26rem;
}
}
@media (max-width: 991.98px) {
.dapp-core-component__trim-styles__trim {
max-width: 12rem;
}
}
@media (max-width: 768px) {
.dapp-core-component__trim-styles__trim {
max-width: 8rem;
}
}
.dapp-core-component__trim-styles__trim-wrapper {
display: flex;
max-width: 100%;
overflow: hidden;
}
a:hover > .dapp-core-component__trim-styles__trim span {
color: #0056b3 !important;
}
a:hover > .dapp-core-component__trim-styles__trim span.dapp-core-component__trim-styles__hidden-text-ref {
color: transparent !important;
}
a > .dapp-core-component__trim-styles__trim span,
.dapp-core-component__trim-styles__text-primary > .dapp-core-component__trim-styles__trim span {
color: #1b46c2 !important;
}
a > .dapp-core-component__trim-styles__trim span.dapp-core-component__trim-styles__hidden-text-ref,
.dapp-core-component__trim-styles__text-primary > .dapp-core-component__trim-styles__trim span.dapp-core-component__trim-styles__hidden-text-ref {
color: transparent !important;
}
.dapp-core-component__trim-styles__table .dapp-core-component__trim-styles__trim {
max-width: 10rem;
}
.dapp-core-component__trim-styles__table .dapp-core-component__trim-styles__trim-only-sm .dapp-core-component__trim-styles__trim {
max-width: none;
}
@media (max-width: 768px) {
.dapp-core-component__trim-styles__table .dapp-core-component__trim-styles__trim-only-sm .dapp-core-component__trim-styles__trim {
max-width: 13rem;
}
}
.dapp-core-component__trim-styles__trim-fs-sm .dapp-core-component__trim-styles__trim .dapp-core-component__trim-styles__left span,
.dapp-core-component__trim-styles__trim-fs-sm .dapp-core-component__trim-styles__trim .dapp-core-component__trim-styles__right span,
.dapp-core-component__trim-styles__trim-fs-sm .dapp-core-component__trim-styles__trim .dapp-core-component__trim-styles__ellipsis {
font-size: 0.875rem;
}
@media (max-width: 768px) {
.dapp-core-component__trim-styles__table .dapp-core-component__trim-styles__trim-size-xl .dapp-core-component__trim-styles__trim {
max-width: 13rem;
}
}`;document.head.appendChild(document.createElement("style")).appendChild(document.createTextNode(e));var r={trim:"dapp-core-component__trim-styles__trim",overflow:"dapp-core-component__trim-styles__overflow",ellipsis:"dapp-core-component__trim-styles__ellipsis",left:"dapp-core-component__trim-styles__left",right:"dapp-core-component__trim-styles__right","hidden-text-ref":"dapp-core-component__trim-styles__hidden-text-ref",hiddenTextRef:"dapp-core-component__trim-styles__hidden-text-ref","trim-wrapper":"dapp-core-component__trim-styles__trim-wrapper",trimWrapper:"dapp-core-component__trim-styles__trim-wrapper","text-primary":"dapp-core-component__trim-styles__text-primary",textPrimary:"dapp-core-component__trim-styles__text-primary",table:"dapp-core-component__trim-styles__table","trim-only-sm":"dapp-core-component__trim-styles__trim-only-sm",trimOnlySm:"dapp-core-component__trim-styles__trim-only-sm","trim-fs-sm":"dapp-core-component__trim-styles__trim-fs-sm",trimFsSm:"dapp-core-component__trim-styles__trim-fs-sm","trim-size-xl":"dapp-core-component__trim-styles__trim-size-xl",trimSizeXl:"dapp-core-component__trim-styles__trim-size-xl"};export{e as a,r as b};
//# sourceMappingURL=chunk-MGT45YJE.js.map