btcpayserver/BTCPayServer/wwwroot/main/site.css

1066 lines
24 KiB
CSS
Raw Normal View History

/* Variables */
:root {
--chart-main-rgb: 68, 164, 49;
--chart-series-a-rgb: var(--chart-main-rgb);
--chart-series-b-rgb: 245, 0, 0;
--chart-series-c-rgb: 0, 109, 242;
--chart-series-d-rgb: 255, 188, 4;
--chart-series-e-rgb: 160, 98, 75;
}
2023-05-11 10:35:51 +02:00
/* Hide sensitive info */
[data-hide-sensitive-info="true"] [data-sensitive] {
display: inline-flex;
2023-05-11 10:35:51 +02:00
position: relative;
visibility: hidden;
overflow: hidden;
2023-05-11 10:35:51 +02:00
}
[data-hide-sensitive-info="true"] [data-sensitive]:before {
content: '***********************';
2023-05-11 10:35:51 +02:00
visibility: visible;
position: absolute;
top: .2em;
2023-05-11 10:35:51 +02:00
}
[data-hide-sensitive-info="true"] .store-wallet-balance .ct-label.ct-vertical.ct-start {
visibility: hidden;
}
/* General and site-wide Bootstrap modifications */
p {
margin-bottom: 1.5rem;
}
hr.primary {
width: 50px;
height: 3px;
background: var(--btcpay-primary);
display: inline-block;
}
.no-gutter > [class*='col-'] {
padding-right: 0;
padding-left: 0;
}
.hide-when-js,
.input-group-clear {
2019-01-14 22:43:29 +01:00
display: none;
}
2019-05-08 20:37:37 +02:00
.input-group-clear .icon {
--btn-icon-size: .65rem;
}
2021-11-15 15:41:25 +01:00
.note-editable {
color: var(--btcpay-form-text);
background-color: var(--btcpay-form-bg);
}
@media (min-width: 768px) {
.text-md-nowrap {
white-space: nowrap;
}
}
.smMaxWidth {
max-width: 150px;
}
@media (min-width: 768px) {
.smMaxWidth {
max-width: 300px;
}
}
@media (min-width: 1400px) {
.col-xxl-constrain {
max-width: 800px;
}
}
a.unobtrusive-link {
color: inherit;
text-decoration: inherit;
}
.btn.btn-link:focus {
box-shadow: none;
}
[aria-expanded] > svg.icon-caret-down {
flex-shrink: 0;
width: 24px;
height: 24px;
margin-left: auto;
transition: transform 0.2s ease-in-out;
}
[aria-expanded="true"] > svg.icon-caret-down {
transform: rotate(-180deg);
}
/* Badges */
.badge-pending,
.badge-new {
background: #d4edda;
color: #000;
}
.badge-expired {
background: #eee;
color: #000;
}
.badge-invalid {
background: #c94a47;
color: #fff;
}
.badge-processing {
background: #f1c332;
color: #000;
}
.badge-settled {
background: #329f80;
color: #fff;
}
/* Info icons in main headline */
2023-02-13 00:25:24 -08:00
svg.icon.icon-info {
position: relative;
2023-02-13 00:25:24 -08:00
top: -.05em;
color: var(--btcpay-neutral-500);
}
svg.icon.icon-info:hover {
color: var(--btcpay-primary);
}
h2 svg.icon.icon-info {
width: 1.2rem;
height: 1.2rem;
top: -.0125em;
}
#descriptor p {
max-width: 40em;
}
/* Invoices */
.invoice-details-row {
background: var(--btcpay-bg-tile);
}
.badge .dropdown-toggle {
cursor: pointer;
padding: 0;
}
@media (min-width: 1400px) {
#MassAction {
margin-top: -4rem;
}
}
/* Prevent layout from breaking on hyperlinks with very long URLs as the visible text */
.invoice-details a {
word-break: break-word;
}
#qrCode {
padding: 10px;
background: white;
display: inline-block;
}
.feedback-icon-loading {
color: orange;
}
.feedback-icon-success {
color: green;
}
.feedback-icon-failed {
color: red;
}
2019-11-21 16:38:43 +09:00
.pin-button {
height: 135px;
margin-top: 20px;
background-color: white;
border: solid lightgray 4px;
cursor: pointer;
}
.pin-button:hover {
background-color: lightgray;
}
Checkout v2 finetuning (#4276) * Indent all JSON files with two spaces * Upgrade Vue.js * Cheat mode improvements * Show payment details in case of expired invoice * Add logo size recommendation * Show clipboard copy hint cursor * Improve info area and wording * Update BIP21 wording * Invoice details adjustments * Remove form; switch payment methods via AJAX * UI updates * Decrease paddings to gain space * Tighten up padding between logo mark and the store title text * Add drop-shadow to the containers * Wording * Cheating improvements * Improve footer spacing * Cheating improvements * Display addresses * More improvements * Expire invoices * Customize invoice expiry * Footer improvements * Remove theme switch * Remove non-existing sourcemap references * Move inline JS to checkout.js file * Plugin compatibility See Kukks/btcpayserver#8 * Test fix * Upgrade vue-i18next * Extract translations into a separate file * Round QR code borders * Remove "Pay with Bitcoin" title in BIP21 case * Add copy hint to payment details * Cheating: Reduce margins * Adjust dt color * Hide addresses for first iteration * Improve View Details button * Make info section collapsible * Revert original en locale file * Checkout v2 tests * Result view link fixes * Fix BIP21 + lazy payment methods case * More result page link improvements * minor visual improvements * Update clipboard code Remove fallback for old browsers. https://caniuse.com/?search=navigator.clipboard * Transition copy symbol * Update info text color * Invert dark neutral colors Simplifies the dark theme quite a bit. * copy adjustments * updates QR border-radius * Add option to remove logo * More checkout v2 test cases * JS improvements * Remove leftovers * Update test * Fix links * Update tests * Update plugins integration * Remove obsolete url code * Minor view update * Update JS to not use arrow functions * Remove FormId from Checkout Appearance settings * Add English-only hint and feedback link * Checkout Appearance: Make options clearer, remove Custom CSS for v2 * Clipboard copy full URL instead of just address/BOLT11 * Upgrade JS libs, add content checks * Add test for BIP21 setting with zero amount invoice Co-authored-by: dstrukt <gfxdsign@gmail.com>
2022-11-24 00:53:32 +01:00
[v-cloak] { display: none !important; }
[v-cloak-loading] > * { display: none !important; }
[v-cloak-loading]::before { content: "loading…" }
2020-11-06 11:14:00 +01:00
.list-group-item a:not(.btn) {
color: inherit;
}
2020-05-03 17:42:01 -06:00
.list-group-item .icon-caret-right {
flex: 0 0 24px;
height: 24px;
align-self: center;
}
.content-wrapper {
padding: 50px 0;
}
@media screen and (min-width: 768px) {
.content-wrapper {
padding: 75px 0;
}
}
2020-07-13 19:09:21 +02:00
[class*="field-validation"]:not(:empty) {
display: inline-block;
margin-top: .5rem;
}
/* Print */
@media print {
section {
page-break-inside: avoid;
}
.table-responsive {
overflow: visible !important;
}
.table .text-truncate {
overflow: visible !important;
max-width: none !important;
white-space: unset !important;
word-wrap: break-word !important;
word-break: break-word !important;
}
.table td,
.table th {
background: transparent;
}
.bg-tile.h-100.p-3 {
padding: 1rem 0 !important;
}
.text-print-default {
color: inherit !important;
}
a {
text-decoration: none !important;
}
.toasted-container {
display: none !important;
}
#markStatusDropdownMenuButton {
border: 0;
background: transparent;
padding: 0 !important;
color: inherit;
font-weight: var(--btcpay-font-weight-normal);
font-size: var(--btcpay-body-font-size);
}
#markStatusDropdownMenuButton::after {
content: none;
}
}
/* Richtext editor */
.note-editor .table.table-sm {
border-collapse: collapse !important;
}
.note-editor .table.table-sm th,
.note-editor .table.table-sm td {
Bootstrap v5 migration (#2490) * Swap bootstrap asset files * Update themes and color definitions * Move general bootstrap customizations * Theme updates Theme updates * Remove BuildBundlerMinifier This lead to an error, because BuildBundlerMinifier and BundlerMinifier.Core seem to conflict here. Details: https://stackoverflow.com/a/61119586 * Rewplace btn-block class with w-100 * Update badge classes * Remove old font family head variable * Update margin classes * Cleanups * Update float classes * Update text classes * Update padding classes * Update border classes * UPdate dropdown classes * Update select classes * Update neutral custom props * Update bootstrap and customizations * Update ChromeDriver; disable smooth scroll https://github.com/SeleniumHQ/selenium/issues/8295 * Improve alert messages * Improve bootstrap customizations * Disable reduced motion See also 7358282f * Update Bootstrap data attributes * Update file inputs * Update input groups * Replace deprecated jumbotron class * Update variables; re-add negative margin util classes * Update cards * Update form labels * Debug alerts * Fix aria-labelledby associations * Dropdown-related test fixes * Fix CanUseWebhooks test * Test fixes * Nav updates * Fix nav usage in wallet send and payouts * Update alert and modal close buttons * Re-add backdrop properties * Upgrade Bootstrap to v5 final * Update screen reader classes * Update font-weight classes * Update monospace font classes * Update accordians * Update close icon usage * Cleanup * Update scripts and style integrations * Update input group texts * Update LN node setup page * Update more form control classes * Update inline forms * Add js specific test * Upgrade Vue.js * Remove unused JS * Upgrade Bootstrap to v5.0.1 * Try container related test updates * Separate jQuery bundle * Remove jQuery from LND seed backup page * Remove unused code * Refactor email autofill js * Refactor camera scanner JS * Re-add tests * Re-add BuildBundlerMinifier * Do not minify bundles containing Bootstrap Details https://github.com/madskristensen/BundlerMinifier/issues/558 * Update bundles * Cleanup JS test * Cleanup tests involving dropdowns * Cleanup tests involving collapses * Cleanup locale additions in ConfigureCore * Cleanup bundles * Remove duplicate status message * Cleanup formatting * Fix missing validation scripts * Remove unused unminified Bootstrap js files * Fix classic theme * Fix Casa theme * Fix PoS validation
2021-05-19 04:39:27 +02:00
border: 1px dotted var(--btcpay-neutral-400);
}
/* Icons */
svg.icon {
display: inline-block;
width: 1rem;
height: 1rem;
flex-shrink: 0 !important;
}
svg.icon-note {
Bootstrap v5 migration (#2490) * Swap bootstrap asset files * Update themes and color definitions * Move general bootstrap customizations * Theme updates Theme updates * Remove BuildBundlerMinifier This lead to an error, because BuildBundlerMinifier and BundlerMinifier.Core seem to conflict here. Details: https://stackoverflow.com/a/61119586 * Rewplace btn-block class with w-100 * Update badge classes * Remove old font family head variable * Update margin classes * Cleanups * Update float classes * Update text classes * Update padding classes * Update border classes * UPdate dropdown classes * Update select classes * Update neutral custom props * Update bootstrap and customizations * Update ChromeDriver; disable smooth scroll https://github.com/SeleniumHQ/selenium/issues/8295 * Improve alert messages * Improve bootstrap customizations * Disable reduced motion See also 7358282f * Update Bootstrap data attributes * Update file inputs * Update input groups * Replace deprecated jumbotron class * Update variables; re-add negative margin util classes * Update cards * Update form labels * Debug alerts * Fix aria-labelledby associations * Dropdown-related test fixes * Fix CanUseWebhooks test * Test fixes * Nav updates * Fix nav usage in wallet send and payouts * Update alert and modal close buttons * Re-add backdrop properties * Upgrade Bootstrap to v5 final * Update screen reader classes * Update font-weight classes * Update monospace font classes * Update accordians * Update close icon usage * Cleanup * Update scripts and style integrations * Update input group texts * Update LN node setup page * Update more form control classes * Update inline forms * Add js specific test * Upgrade Vue.js * Remove unused JS * Upgrade Bootstrap to v5.0.1 * Try container related test updates * Separate jQuery bundle * Remove jQuery from LND seed backup page * Remove unused code * Refactor email autofill js * Refactor camera scanner JS * Re-add tests * Re-add BuildBundlerMinifier * Do not minify bundles containing Bootstrap Details https://github.com/madskristensen/BundlerMinifier/issues/558 * Update bundles * Cleanup JS test * Cleanup tests involving dropdowns * Cleanup tests involving collapses * Cleanup locale additions in ConfigureCore * Cleanup bundles * Remove duplicate status message * Cleanup formatting * Fix missing validation scripts * Remove unused unminified Bootstrap js files * Fix classic theme * Fix Casa theme * Fix PoS validation
2021-05-19 04:39:27 +02:00
color: var(--btcpay-neutral-500);
}
/* Services */
.services-list {
display: flex;
flex-wrap: wrap;
gap: var(--btcpay-space-l);
}
.services-list .service {
--service-width: 100px;
flex: 0 0 var(--service-width);
text-align: center;
}
.services-list .service img {
width: var(--service-width);
height: var(--service-width);
}
.services-list .service h6 {
margin: var(--btcpay-space-m) 0 0 0;
}
/* Setup Guide */
#SetupGuide {
max-width: 30em;
}
#SetupGuide .list-group-item .icon {
width: 1.5rem;
height: 1.5rem;
margin: 1rem;
}
#SetupGuide .list-group-item .content {
flex: 1;
padding: 1rem 0;
}
/* Dashboard */
#Dashboard {
display: grid;
gap: var(--btcpay-space-m);
grid-template-columns: repeat(12, 1fr);
}
.widget {
--widget-padding: var(--btcpay-space-m);
--widget-chart-width: 100vw;
border: 1px solid var(--btcpay-body-border-light);
border-radius: var(--btcpay-border-radius-l);
padding: var(--widget-padding);
background: var(--btcpay-bg-tile);
grid-column-start: 1;
grid-column-end: 13;
}
.widget header {
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: space-between;
margin-bottom: var(--btcpay-space-s);
gap: var(--btcpay-space-s);
line-height: 1.2;
}
.widget header a,
.widget header .btn-link {
margin-top: var(--btcpay-space-xs);
font-weight: var(--btcpay-font-weight-semibold);
}
.widget h3,
.widget .h3 {
margin-bottom: 0;
}
.widget h6,
.widget .h6 {
font-weight: var(--btcpay-font-weight-semibold);
color: var(--btcpay-body-text-muted);
margin-bottom: 0;
}
.widget .currency-toggle .btn {
background-color: var(--btcpay-bg-tile);
border-color: var(--btcpay-body-border-light);
}
.widget .currency-toggle input:not(:checked) + .btn {
color: var(--btcpay-body-text-muted);
}
.widget .btn-group {
display: inline-flex;
gap: var(--btcpay-space-m);
align-items: center;
justify-content: space-between;
}
.widget .btn-link {
color: var(--btcpay-body-text-muted);
padding: 0;
font-weight: var(--btcpay-font-weight-semibold);
box-shadow: none !important;
text-decoration: none !important;
}
.widget input:checked + .btn-link {
color: var(--btcpay-body-link-accent);
}
.widget.store-lightning-balance .balances {
gap: 1.5rem 2.25rem;
}
.widget.store-lightning-services .services-list {
gap: var(--btcpay-space-m);
}
.widget.store-lightning-services .services-list .service {
--service-width: 3rem;
}
.widget.store-numbers {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
gap: var(--btcpay-space-l) var(--btcpay-space-xl);
}
.widget.store-numbers header {
justify-content: space-between;
}
.widget.store-numbers header h6 {
margin-right: var(--btcpay-space-s);
}
.widget header a,
.widget header .btn-link {
margin-top: 0;
}
.widget .store-number {
flex: 0 1 calc(50% - var(--btcpay-space-xl) / 2);
}
.widget .number {
font-weight: var(--btcpay-font-weight-bold);
}
.widget .table {
margin-left: -.5rem;
margin-right: -.5rem;
width: calc(100% + 1rem);
}
.widget .table th {
color: var(--btcpay-body-text-muted);
font-weight: var(--btcpay-font-weight-semibold);
}
.widget.app-top-items .ct-chart,
.widget.app-top-items .ct-chart .ct-chart-bar {
height: 30px;
}
.widget.app-top-items .ct-chart .ct-chart-bar {
margin-left: -.4rem;
margin-right: -.5rem;
width: calc(100% + 1rem) !important;
}
.widget.app-top-items .ct-bar {
stroke-linecap: round;
stroke-width: 10px;
}
.widget.app-top-items .ct-grids,
.widget.app-top-items .ct-labels {
display: none;
}
.widget.app-top-items .app-items {
display: flex;
flex-direction: column;
gap: var(--btcpay-space-s);
}
.widget.app-top-items .app-item {
display: flex;
flex-wrap: wrap;
gap: var(--btcpay-space-xs);
align-items: center;
justify-content: space-between;
}
.widget.app-top-items .app-item-point {
display: inline-block;
width: var(--btcpay-space-s);
height: var(--btcpay-space-s);
margin-right: var(--btcpay-space-s);
border-radius: 50%;
}
.widget.app-top-items .app-item-value {
font-weight: var(--btcpay-font-weight-semibold);
}
@media (max-width: 575px) {
.widget.store-lightning-services .services-list .service {
--service-width: 3rem;
}
.widget .store-number {
flex: 0 1 100%;
}
}
@media (min-width: 576px) {
.widget {
--widget-padding: var(--btcpay-space-l);
}
}
@media (min-width: 576px) and (max-width: 1199px) {
.widget.store-lightning-services .services-list {
gap: 1.5rem;
}
.widget.store-lightning-services .services-list .service {
--service-width: 4rem;
}
}
@media (max-width: 1199px) {
/* Reorder so that Lightning is below the wallet balance */
.widget.store-wallet-balance {
order: -3;
}
.widget.store-lightning-balance {
order: -2;
}
.widget.store-lightning-services {
order: -1;
}
}
@media (min-width: 1200px) {
.widget.app-sales,
.widget.setup-guide,
.widget.store-wallet-balance,
.widget.store-lightning-balance {
--widget-chart-width: 80vw;
grid-column-start: 1;
grid-column-end: 9;
}
.widget.store-lightning-services,
.widget.app-top-items,
.widget.store-numbers {
grid-column-start: 9;
grid-column-end: 13;
}
.widget.store-numbers {
flex-direction: column;
justify-content: start;
}
.widget .store-number {
flex: 0 1;
width: 100%;
}
.widget.store-numbers header {
justify-content: space-between;
}
.widget.store-numbers header h6 {
margin-right: 0;
}
}
#tradeModal .qty{ width: 41%; }
#tradeModal .btn-square{ padding: 0; width: 2.5rem; height: 2.5rem; }
#tradeModal .trade-qty {
display: flex;
justify-content: space-between;
}
#tradeModal .trade-qty .col-center {
flex: 0 0 2rem;
padding-left: 0;
padding-right: 0;
}
#tradeModal .trade-qty .col-side {
flex: 1;
}
.modal-footer .modal-footer-left{ margin-right: auto; }
/* List Select */
.btcpay-list-select {
display: flex;
flex-wrap: wrap;
gap: var(--btcpay-space-s);
}
.btcpay-list-select > input {
display: none;
}
.btcpay-list-select-item {
display: flex;
flex-wrap: wrap;
flex: 1 1 45%;
align-items: center;
padding: .75rem var(--btcpay-space-s);
cursor: pointer;
}
label.btcpay-list-select-item {
border: 1px solid var(--btcpay-form-border);
background-color: var(--btcpay-form-bg);
border-radius: var(--btcpay-border-radius);
transition: border-color 0.15s ease-in-out;
}
label.btcpay-list-select-item:hover {
border-color: var(--btcpay-form-border-hover);
background-color: var(--btcpay-form-bg-hover);
}
@media (max-width: 575px) {
.btcpay-list-select-item {
flex-basis: 100%;
}
}
.btcpay-list-select-item .icon {
width: 1.5rem;
height: 1.5rem;
margin: 0 var(--btcpay-space-s);
}
input:checked + label.btcpay-list-select-item {
border-color: var(--btcpay-form-border-focus);
}
.btcpay-list-select-item .note {
color: var(--btcpay-body-text-muted);
flex-basis: 100%;
margin-left: 2.5rem;
}
.btcpay-list-select-item:active {
background-color: var(--btcpay-form-bg-hover);
}
/* Public pages */
.public-page-wrap {
display: flex;
gap: 1.5rem;
margin: 0 auto;
padding: var(--btcpay-space-l) var(--btcpay-space-m);
}
/* gradually try to set better but less supported values and units */
.min-vh-100,
.public-page-wrap {
min-height: -webkit-fill-available !important;
min-height: 100dvh !important;
}
@media (max-width: 400px) {
.public-page-wrap {
padding-left: 0;
padding-right: 0;
}
}
.store-header {
display: flex;
flex-direction: column;
align-items: center;
gap: var(--btcpay-space-s);
}
.store-logo {
--logo-size: 3rem;
--logo-bg: transparent;
--logo-radius: 50%;
width: var(--logo-size);
height: var(--logo-size);
background: var(--logo-bg);
border-radius: var(--logo-radius);
}
.store-name {
font-size: 1.3rem;
}
.store-footer {
display: flex;
flex-direction: column;
align-items: center;
gap: var(--btcpay-space-m);
margin-top: auto;
color: var(--btcpay-body-text-muted);
padding: 1.5rem 1.5rem 0;
}
.store-footer,
.store-footer a {
color: var(--btcpay-body-text-muted);
}
2023-03-01 15:49:21 +09:00
a.store-powered-by {
display: flex;
align-items: center;
gap: var(--btcpay-space-s);
transition-duration: unset;
}
2023-03-01 15:49:21 +09:00
a.store-powered-by svg {
height: 2rem;
width: 4rem;
}
2023-03-01 15:49:21 +09:00
a.store-powered-by:hover {
color: var(--btcpay-body-text-hover);
}
2023-03-01 15:49:21 +09:00
a.store-powered-by:hover .logo-brand-light {
color: var(--btcpay-brand-secondary);
}
2023-03-01 15:49:21 +09:00
a.store-powered-by:hover .logo-brand-medium {
color: var(--btcpay-brand-primary);
}
2023-03-01 15:49:21 +09:00
a.store-powered-by:hover .logo-brand-dark {
color: var(--btcpay-brand-tertiary);
}
/* Payment Box */
.payment-box {
--qr-size: 256px;
--icon-size: 64px;
--icon-border-size: var(--btcpay-space-xs);
--icon-border-color: var(--btcpay-white);
max-width: 320px;
min-width: var(--qr-size);
margin: 0 auto;
text-align: center;
}
.payment-box .qr-container {
display: flex;
align-items: center;
justify-content: center;
position: relative;
min-height: var(--qr-size);
}
.payment-box .qr-container svg,
.payment-box .qr-container img.qr-code {
border-radius: var(--btcpay-border-radius);
background: var(--btcpay-white);
width: 100%;
}
.payment-box .qr-container svg {
padding: var(--btcpay-space-s);
}
.payment-box .qr-container img.qr-icon {
box-sizing: content-box;
position: absolute;
width: var(--icon-size);
border-radius: 50%;
padding: var(--icon-border-size);
background: var(--icon-border-color);
}
.payment-box .qr-container small {
display: none;
}
.payment-box .input-group {
align-items: flex-end;
}
.payment-box .input-group .form-control-plaintext {
padding-left: 3px;
padding-bottom: 0;
font-weight: var(--btcpay-font-weight-semibold);
}
.payment-box .input-group label {
padding-left: 0;
text-transform: uppercase;
letter-spacing: .1rem;
font-weight: var(--btcpay-font-weight-semibold);
}
.payment-box .input-group button {
padding: 0 0 var(--btcpay-space-xs) 0;
font-weight: var(--btcpay-font-weight-semibold);
}
/* Tom Select */
.ts-control, .ts-control input, .ts-dropdown {
color: var(--btcpay-body-text-muted) !important;
}
.ts-wrapper.form-control .ts-control {
gap: .5rem;
outline: 0 !important;
}
.ts-wrapper.form-control:not(.ts-inline) .ts-control {
padding: .5rem !important;
border-radius: var(--btcpay-border-radius) !important;
}
.ts-wrapper.form-control.focus:not(.ts-inline) .ts-control {
border-color: var(--btcpay-form-border-focus);
box-shadow: 0 0 0 1px var(--btcpay-form-border-focus) inset;
}
.ts-wrapper.form-control.ts-inline,
.ts-wrapper.form-control.ts-inline .ts-control {
padding: 0 !important;
border: none !important;
box-shadow: none !important;
min-height: auto !important;
background: transparent !important;
}
.form-floating .ts-wrapper {
margin-top: 1.85rem;
}
.form-floating input.ts-wrapper.form-control:not(.ts-hidden-accessible) {
padding: .5rem .75rem !important;
height: 39px;
}
.form-floating input.label-manager.form-control ~ label {
opacity: 0.65;
transform: scale(0.85) translateY(-0.5rem) translateX(0.15rem);
}
input.ts-wrapper.form-control:not(.ts-hidden-accessible,.ts-inline) {
padding: .5rem .75rem !important;
height: 46px;
}
.ts-dropdown.dropdown-menu,
.ts-dropdown.dropdown-menu.form-control,
.ts-dropdown.dropdown-menu.form-select {
color: var(--btcpay-dropdown-color);
background: var(--btcpay-dropdown-bg);
border: var(--btcpay-dropdown-border-width) solid var(--btcpay-dropdown-border-color);
border-radius: var(--btcpay-dropdown-border-radius);
padding: var(--btcpay-dropdown-padding-y) var(--btcpay-dropdown-padding-x);
min-width: var(--btcpay-dropdown-min-width);
}
.ts-dropdown.dropdown-menu .ts-dropdown-content {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: var(--btcpay-space-s);
padding: 0 var(--btcpay-space-s);
}
/* Transaction Labels */
.transaction-label,
.ts-dropdown.dropdown-menu .transaction-label,
.ts-dropdown.dropdown-menu .create.transaction-label,
.ts-wrapper.form-control .ts-control > .item.transaction-label {
display: inline-flex;
flex-wrap: nowrap;
align-items: center;
gap: var(--btcpay-space-xs);
color: var(--btcpay-body-text);
background: transparent;
border: 1px solid var(--label-bg, var(--btcpay-neutral-300));
border-radius: var(--btcpay-border-radius-l);
font-size: var(--btcpay-font-size-s);
margin: 0;
padding: 1px var(--btcpay-space-s);
text-align: left;
}
.transaction-label a {
display: inline-flex;
align-items: center;
color: var(--btcpay-body-text);
}
.transaction-label:focus,
.transaction-label:hover,
.transaction-label.active,
.ts-dropdown.dropdown-menu .transaction-label:focus,
.ts-dropdown.dropdown-menu .transaction-label:hover,
.ts-wrapper.multi .ts-control > .item.transaction-label:focus,
.ts-wrapper.multi .ts-control > .item.transaction-label:hover,
.ts-wrapper.multi .ts-control > .item.transaction-label.active {
color: var(--label-fg, var(--btcpay-body-text));
background: var(--label-bg, var(--btcpay-neutral-300));
}
.transaction-label:focus a,
.transaction-label:focus .transaction-label-info svg.icon,
.transaction-label:focus .transaction-label-action svg.icon,
.transaction-label:hover a,
.transaction-label:hover .transaction-label-info svg.icon,
.transaction-label:hover .transaction-label-action svg.icon,
.transaction-label.active a,
.transaction-label.active .transaction-label-info svg.icon,
.transaction-label.active .transaction-label-action svg.icon {
color: var(--label-fg);
}
.transaction-label-info,
.transaction-label-action,
.transaction-label form {
--button-size: .9rem;
display: inline-flex;
flex-wrap: nowrap;
align-items: center;
width: var(--button-size);
height: var(--button-size);
flex: 0 0 var(--button-size);
}
.transaction-label svg.icon {
display: block;
position: static;
width: 100%;
height: 100%;
color: var(--label-bg);
}
.transaction-label-action {
cursor: pointer;
border: 0;
background: transparent;
padding: 0;
}
.transaction-label-action svg.icon {
transform: scale(1.725);
}
.transaction-label-tooltip .tooltip-inner {
max-width: 15rem;
text-align: left;
}
.transaction-label-tooltip ul {
margin: 0;
padding-left: var(--btcpay-space-m);
}
/* Truncated text */
.truncate-center {
display: inline-flex;
align-items: center;
gap: var(--btcpay-space-s);
max-width: 100%;
}
.truncate-center--elastic .truncate-center-start {
flex: 0 1 auto;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.truncate-center-id {
font-family: var(--btcpay-font-monospace);
font-size: .875em;
}
.truncate-center-text {
word-wrap: break-word;
word-break: break-word;
}
.truncate-center a,
.truncate-center button {
line-height: 1;
}
.truncate-center-truncated {
text-align: left;
display: inline-flex;
max-width: 100%;
}
.truncate-center button.btn .icon {
--btn-icon-size: 1em;
}
.truncate-center--elastic .truncate-center-truncated {
max-width: 100%;
}
.truncate-center--elastic.truncate-center--copy .truncate-center-truncated {
max-width: calc(100% - 2em);
}
.truncate-center.form-control-plaintext {
padding-right: 3px;
}
.truncate-center.form-control-plaintext button.btn .icon {
--btn-icon-size: 1.25em;
}
@media screen {
.truncate-center-id {
background: var(--btcpay-neutral-100);
border: 1px solid var(--btcpay-neutral-200);
border-radius: var(--btcpay-border-radius-l);
padding: var(--btcpay-space-xs) var(--btcpay-space-s);
}
.truncate-center-text {
display: none;
}
}
@media print {
.truncate-center a,
.truncate-center button,
.truncate-center-truncated {
display: none;
}
}
/* Copy */
[data-clipboard],
[data-clipboard] input[readonly] {
cursor: copy;
}
[data-clipboard-hover] {
position: relative;
}
[data-clipboard-hover]::before {
content: '';
position: absolute;
top: .45rem;
left: calc(100% + var(--btcpay-space-s));
width: .75em;
height: .75em;
min-width: 1rem;
min-height: 1rem;
pointer-events: none;
opacity: 0;
transition: opacity var(--btcpay-transition-duration-fast);
background-repeat: no-repeat;
background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M13.3333 6H7.33333C6.59695 6 6 6.59695 6 7.33333V13.3333C6 14.0697 6.59695 14.6667 7.33333 14.6667H13.3333C14.0697 14.6667 14.6667 14.0697 14.6667 13.3333V7.33333C14.6667 6.59695 14.0697 6 13.3333 6Z' stroke='%236E7681' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M3.33203 10.0007H2.66536C2.31174 10.0007 1.9726 9.86018 1.72256 9.61013C1.47251 9.36008 1.33203 9.02094 1.33203 8.66732V2.66732C1.33203 2.3137 1.47251 1.97456 1.72256 1.72451C1.9726 1.47446 2.31174 1.33398 2.66536 1.33398H8.66536C9.01899 1.33398 9.35813 1.47446 9.60817 1.72451C9.85822 1.97456 9.9987 2.3137 9.9987 2.66732V3.33398' stroke='%236E7681' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
[data-clipboard-hover="start"]::before {
left: auto;
right: calc(100% + var(--btcpay-space-s));
}
[data-clipboard-hover][data-clipboard-confirming]::before {
background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M13.7808 4.21934C13.9213 4.35997 14.0002 4.55059 14.0002 4.74934C14.0002 4.94809 13.9213 5.13871 13.7808 5.27934L6.53082 12.5293C6.3902 12.6698 6.19957 12.7487 6.00082 12.7487C5.80207 12.7487 5.61145 12.6698 5.47082 12.5293L2.22082 9.27934C2.08834 9.13717 2.01622 8.94912 2.01965 8.75482C2.02308 8.56052 2.10179 8.37513 2.2392 8.23772C2.37661 8.10031 2.562 8.02159 2.7563 8.01816C2.9506 8.01474 3.13865 8.08686 3.28082 8.21934L6.00082 10.9393L12.7208 4.21934C12.8614 4.07889 13.0521 4 13.2508 4C13.4496 4 13.6402 4.07889 13.7808 4.21934Z' fill='%2351B13E'/%3E%3C/svg%3E ");
}
[data-clipboard-hover]:hover::before {
opacity: 1;
}
.btn[data-clipboard],
.btn[data-clipboard-target] {
color: var(--btcpay-body-text-muted);
}
.btn[data-clipboard]:hover,
.btn[data-clipboard-target]:hover {
color: var(--btcpay-body-link-accent);
}
.btn[data-clipboard-confirming] {
color: var(--btcpay-success) !important;
}