btcpayserver/BTCPayServer/wwwroot/main/site.css
Dennis Reimann f2870caed2
Payment redesign (#1967)
* Payment redesign

Guess who's back!

This reverts commit 4174fa648d.

* Refactor PullPayment state string

Compatible with this one: https://github.com/btcpayserver/btcpayserver/pull/1834/files#diff-a9136096252382b110b9a7ac7747b95aR41

* Use unified copy to clipboard function

* Refactor status text class to helper function
2020-10-13 09:58:46 +02:00

301 lines
5.6 KiB
CSS

/* General and site-wide Bootstrap modifications */
html {
position: relative;
min-height: 100%;
font-size: var(--btcpay-font-size-base);
}
.logo {
height: 45px;
}
.logo-brand-text {
fill: currentColor;
}
.hide-when-js,
.input-group-clear {
display: none;
}
.wraptextAuto {
max-width: 300px;
text-overflow: ellipsis;
overflow: hidden;
display: block;
white-space: nowrap;
}
@media (min-width: 768px) {
.wraptextAuto {
max-width: 600px;
}
}
.smMaxWidth {
max-width: 150px;
}
@media (min-width: 768px) {
.smMaxWidth {
max-width: 300px;
}
}
a {
transition-duration: 0.2s;
transition-property: background, color;
}
ol {
padding-left: 1.125em;
}
ul {
padding-left: 1em;
}
ul li {
padding-top: .2em;
padding-bottom: .2em;
}
.navbar .onion {
margin-right: auto;
}
.navbar-brand,
.navbar-brand:hover,
.navbar-brand:focus {
color: inherit;
}
.navbar-toggler {
color: inherit;
border-color: inherit;
opacity: .5;
}
.dropdown-toggle-split,
.dropdown-toggle-split:hover {
border-left: 1px solid var(--btcpay-color-white);
}
/* Admin Sidebar Navigation */
a.nav-link {
color: var(--btcpay-nav-color-link, var(--btcpay-color-neutral-600));
background: var(--btcpay-bg-nav-link, transparent);
}
a.nav-link:focus,
a.nav-link:hover {
color: var(--btcpay-nav-color-link-accent, var(--btcpay-color-neutral-700));
background: var(--btcpay-bg-nav-link-hover, transparent);
}
.col-md-3 .nav-pills {
margin-left: -1rem;
}
.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
color: var(--btcpay-nav-color-link-active, var(--btcpay-color-neutral-900));
background: var(--btcpay-bg-nav-link-active, var(--btcpay-color-primary-backdrop));
font-weight: 500;
border-left: 5px solid var(--btcpay-color-primary);
}
/* Homepage */
#services img {
margin-bottom: 1rem;
}
.social-row {
margin: 2rem 0;
}
.social-row > div {
margin-bottom: 3rem;
}
.social-row img {
height: 50px;
}
.social-row span {
display: block;
margin-top: 1rem;
}
/* Footer */
.footer {
position: absolute;
left: 0;
right: 0;
bottom: 0;
font-size: 12px;
overflow: hidden;
padding: .5em 0;
color: var(--btcpay-footer-color, var(--btcpay-color-neutral-100));
background: var(--btcpay-footer-bg, var(--btcpay-bg-dark));
}
/* 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;
}
pre {
color: var(--btcpay-preformatted-text-color);
}
.feedback-icon-loading {
color: orange;
}
.feedback-icon-success {
color: green;
}
.feedback-icon-failed {
color: red;
}
.pin-button {
height: 135px;
margin-top: 20px;
background-color: white;
border: solid lightgray 4px;
cursor: pointer;
}
.pin-button:hover {
background-color: lightgray;
}
/* Fix for small table showing unnecessary scrollbars */
.table-responsive .table-sm {
width: 100% !important;
}
[v-cloak] { display:none }
[v-cloak-loading] > * { display:none }
[v-cloak-loading]::before { content: "loading…" }
.cursor-pointer{
cursor: pointer;
}
.list-group-item a {
color: inherit;
}
.alerts-badge {
position: absolute;
margin-top: -36px;
margin-left: 16px;
}
.alert hr {
display: block;
width: unset;
height: 1px;
background: none;
}
.account-form {
max-width: 36em;
}
.content-wrapper {
padding: 50px 0;
}
@media screen and (min-width: 768px) {
.content-wrapper {
padding: 75px 0;
}
}
.btn-outline-onion {
background-image: none;
background-color: transparent;
border: 0;
}
.btn-outline-onion:hover {
color: #fff;
background-color: #7D4698;
}
.btn-outline-onion:focus,
.btn-outline-onion.focus {
color: #fff;
background-color: #7D4698;
box-shadow: 0 0 0 0.2rem #e6d5ee;
}
.btn-outline-onion:hover img,
.btn-outline-onion:focus img,
.btn-outline-onion.focus img {
filter: contrast(0) brightness(200%);
}
[class*="field-validation"]:not(:empty) {
display: inline-block;
margin-top: .5rem;
}
/* Chrome, Safari, Edge, Opera */
input[type=number].hide-number-spin::-webkit-outer-spin-button,
input[type=number].hide-number-spin::-webkit-inner-spin-button {
-webkit-appearance: none;
margin: 0;
}
/* Firefox */
input[type=number].hide-number-spin {
-moz-appearance: textfield;
}
/* Bootstrap Responsive Helper */
html[data-devenv]:before {
display: inline-block;
position: fixed;
z-index: 1000;
right: 0;
bottom: 0;
background: var(--btcpay-bg-dark);
color: var(--btcpay-color-dark-text);
opacity: .7;
padding: 4px 5px 3px 7px;
font-size: 10px;
border-top-left-radius: 4px;
}
@media (max-width: 575px) { html[data-devenv]:before { content: 'XS'; } }
@media (min-width: 576px) and (max-width: 767px) { html[data-devenv]:before { content: 'SM'; } }
@media (min-width: 768px) and (max-width: 991px) { html[data-devenv]:before { content: 'MD'; } }
@media (min-width: 992px) and (max-width: 1199px) { html[data-devenv]:before { content: 'LG'; } }
@media (min-width: 1200px) { html[data-devenv]:before { content: 'XL'; } }
@media print { html[data-devenv]:before { content: none; } }
/* Print */
@media print {
.jumbotron {
padding: 1rem 0 !important;
}
}
/* Richtext editor */
.note-editor .table.table-sm {
border-collapse: collapse !important;
}
.note-editor .table.table-sm th,
.note-editor .table.table-sm td {
border: 1px dotted var(--btcpay-color-neutral-400);
}