Update content of files

This commit is contained in:
GitHub Action 2024-10-22 15:06:38 +00:00
parent 6549d9fe69
commit a6eae4899c
2 changed files with 40 additions and 3 deletions

View file

@ -71,6 +71,9 @@
--header-tab-color-active: #fff;
--unavail-color-rgb: 255, 88, 99;
--unavail-color: rgb(var(--unavail-color-rgb));
--warning-color-rgb: 255, 88, 99;
--warning-bg-color: rgba(var(--warning-color-rgb), .14);
--warning-text-color: rgb(var(--warning-color-rgb));
}
html.header-tabs {
@ -1720,6 +1723,11 @@ a.tm-menu-link:focus {
color: var(--unavail-color);
background-color: rgba(var(--unavail-color-rgb), .1);
}
.table-cell-status-thin.tm-status-banned,
.tm-section-header-status.tm-status-banned {
color: var(--warning-text-color);
background-color: rgba(var(--warning-color-rgb), .1);
}
.table-cell-status-thin.tm-status-taken,
.tm-section-header-status.tm-status-taken {
color: #ff9953;
@ -1761,6 +1769,15 @@ a.tm-menu-link:focus {
.tm-blockquote-header .tm-label-new {
vertical-align: top;
}
.tm-section-blockquote.tm-warning {
color: var(--warning-text-color);
background-color: var(--warning-bg-color);
border-left-color: rgb(var(--warning-color-rgb));
margin: 30px 0 -10px;
}
.tm-section-blockquote.tm-warning .tm-blockquote-header {
color: var(--warning-text-color);
}
.tm-section-tabs-wrap {
display: flex;
@ -2272,6 +2289,16 @@ a.tm-table-action-link:hover {
text-overflow: ellipsis;
overflow: hidden;
}
.tm-auction-section.tm-banned-nft .tm-section-header-domain {
color: var(--warning-text-color);
}
.tm-auction-section.tm-banned-nft .tm-section-buttons .btn-primary {
color: var(--warning-text-color);
background-color: var(--warning-bg-color);
}
.tm-auction-section.tm-banned-nft .tm-section-buttons .btn .icon-ton:before {
background-image: var(--image-url-warn-ton-btn-icon);
}
.tm-list {
font-size: 13px;
@ -3163,7 +3190,8 @@ a.tm-table-action-link:hover {
border-radius: 16px;
background-color: var(--field-bg-color);
}
.gift-premium-popup-container.iam-sender .tm-form-checkbox-item {
.gift-premium-popup-container.iam-sender .tm-form-checkbox-item,
.gift-premium-popup-container.bot-recipient .tm-form-checkbox-item {
display: none;
}
.preview-sender-shown,
@ -4388,6 +4416,8 @@ a.tm-table-action-link:hover {
--image-url-ton-btn-icon: url('data:image/svg+xml,%3Csvg%20height%3D%2219%22%20viewBox%3D%220%200%2015%2019%22%20width%3D%2215%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22m1.74%204.5h11.51c.24%200%20.44.2.44.44%200%20.08-.02.15-.05.22l-5.46%209.9c-.24.43-.78.59-1.21.35-.15-.08-.27-.21-.36-.36l-5.26-9.9c-.12-.21-.04-.48.18-.6.07-.03.14-.05.21-.05zm5.76%2010.67v-10.67z%22%20fill%3D%22none%22%20stroke%3D%22%23fff%22%20stroke-width%3D%221.5%22%2F%3E%3C%2Fsvg%3E');
--image-url-warn-ton-btn-icon: url('data:image/svg+xml,%3Csvg%20height%3D%2219%22%20viewBox%3D%220%200%2015%2019%22%20width%3D%2215%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22m1.74%204.5h11.51c.24%200%20.44.2.44.44%200%20.08-.02.15-.05.22l-5.46%209.9c-.24.43-.78.59-1.21.35-.15-.08-.27-.21-.36-.36l-5.26-9.9c-.12-.21-.04-.48.18-.6.07-.03.14-.05.21-.05zm5.76%2010.67v-10.67z%22%20fill%3D%22none%22%20stroke%3D%22%23ff5863%22%20stroke-width%3D%221.5%22%2F%3E%3C%2Fsvg%3E');
--image-url-ton-text-icon: url('data:image/svg+xml,%3Csvg%20height%3D%2220%22%20viewBox%3D%220%200%2016%2020%22%20width%3D%2216%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22m2.68%205h10.63c.22%200%20.4.18.4.41%200%20.07-.01.14-.05.2l-5.04%209.08c-.22.4-.72.54-1.11.32-.14-.08-.25-.19-.32-.33l-4.87-9.08c-.1-.2-.03-.45.17-.55.06-.03.12-.05.19-.05zm5.32%209.78v-9.78z%22%20fill%3D%22none%22%20stroke%3D%22%238c9aa9%22%20stroke-width%3D%221.39%22%2F%3E%3C%2Fsvg%3E');
--image-url-stars-icon: url('data:image/svg+xml,%3Csvg%20height%3D%2220%22%20viewBox%3D%220%200%2020%2020%22%20width%3D%2220%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%3Cdefs%3E%3Cpath%20id%3D%22a%22%20d%3D%22m6.02%204.99%202.21-4.42c.25-.51.86-.72%201.37-.46.2.1.36.27.46.47l2.08%204.26c.17.34.5.58.88.63l4.36.52c.59.08%201.02.62.95%201.22-.03.24-.14.47-.32.65l-3.45%203.42c-.14.13-.2.33-.18.53l.57%204.61c.09.66-.38%201.27-1.03%201.35-.25.03-.5-.02-.72-.14l-3.64-2c-.26-.14-.58-.15-.85-.01l-3.77%201.95c-.53.27-1.18.06-1.45-.48-.11-.2-.14-.43-.11-.65l.3-2.12c.15-1.04.79-1.93%201.71-2.41l4.19-2.15c.11-.06.15-.2.1-.31-.05-.09-.14-.14-.24-.12l-5.12.74c-.78.11-1.58-.11-2.19-.62l-1.71-1.4c-.49-.4-.56-1.12-.17-1.62.19-.22.45-.37.74-.41l4.38-.57c.28-.03.52-.21.65-.46z%22%2F%3E%3ClinearGradient%20id%3D%22b%22%20x1%3D%2225%25%22%20x2%3D%2274.92%25%22%20y1%3D%22.825%25%22%20y2%3D%22107.86%25%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%23ffd951%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23ffb222%22%2F%3E%3C%2FlinearGradient%3E%3ClinearGradient%20id%3D%22c%22%20x1%3D%2250%25%22%20x2%3D%2250%25%22%20y1%3D%220%25%22%20y2%3D%2299.8%25%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%23e58f0d%22%2F%3E%3Cstop%20offset%3D%22.9996%22%20stop-color%3D%22%23eb7915%22%2F%3E%3C%2FlinearGradient%3E%3Cfilter%20id%3D%22d%22%20height%3D%22110.6%25%22%20width%3D%22110.3%25%22%20x%3D%22-5.2%25%22%20y%3D%22-5.3%25%22%3E%3CfeOffset%20dx%3D%221%22%20dy%3D%221%22%20in%3D%22SourceAlpha%22%20result%3D%22shadowOffsetInner1%22%2F%3E%3CfeComposite%20in%3D%22shadowOffsetInner1%22%20in2%3D%22SourceAlpha%22%20k2%3D%22-1%22%20k3%3D%221%22%20operator%3D%22arithmetic%22%20result%3D%22shadowInnerInner1%22%2F%3E%3CfeColorMatrix%20in%3D%22shadowInnerInner1%22%20type%3D%22matrix%22%20values%3D%220%200%200%200%201%200%200%200%200%201%200%200%200%200%201%200%200%200%200.657%200%22%2F%3E%3C%2Ffilter%3E%3C%2Fdefs%3E%3Cg%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%20transform%3D%22translate%281.389%201.389%29%22%3E%3Cuse%20fill%3D%22url%28%23b%29%22%20fill-rule%3D%22evenodd%22%20xlink%3Ahref%3D%22%23a%22%2F%3E%3Cuse%20fill%3D%22%23000%22%20filter%3D%22url%28%23d%29%22%20xlink%3Ahref%3D%22%23a%22%2F%3E%3Cuse%20stroke%3D%22url%28%23c%29%22%20stroke-width%3D%22.89%22%20xlink%3Ahref%3D%22%23a%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E');

View file

@ -599,6 +599,7 @@ var Login = {
var Wallet = {
init: function(options) {
Aj.globalState.tonConnectAuthAddress = options.address || false;
Aj.globalState.tonConnectLoggedIn = options.logged_in || false;
Aj.globalState.tonConnectProof = options.ton_proof || '';
Aj.globalState.tonConnectVersion = options.version || 1;
if (Aj.globalState.tonConnectVersion == 2) {
@ -717,14 +718,19 @@ var Wallet = {
}
},
eTonAuth: function(e) {
e.stopImmediatePropagation();
e.preventDefault();
if (Aj.globalState.tonConnectVersion == 2) {
var tonConnectUI = Aj.globalState.tonConnectUI;
if (!tonConnectUI.connected) {
e.stopImmediatePropagation();
e.preventDefault();
tonConnectUI.openModal();
}
} else {
if (Aj.globalState.tonConnectLoggedIn) {
return true;
}
e.stopImmediatePropagation();
e.preventDefault();
QR.showPopup({
request: {
method: 'getTonAuthLink'
@ -2948,6 +2954,7 @@ var Stars = {
$('.js-buy-stars-content', Aj.state.$starsBuyPopup).html(result.content);
$('.js-buy-stars-button', Aj.state.$starsBuyPopup).html(result.button);
Aj.state.$starsBuyPopup.toggleClass('iam-sender', result.myself);
Aj.state.$starsBuyPopup.toggleClass('bot-recipient', result.to_bot);
Aj.state.starsPrice = result.amount;
Aj.state.itemTitle = result.item_title;
Aj.state.$starsBuyForm.field('id').value(result.req_id);