mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-03-08 19:32:10 +01:00
* Update layout structure and header * Implement store selector * Simplify homepage * Update layout * Use dropdown for store selector * Hide global nav in store context * Horizontal section nav * Remove outer section and container from content views * Update nav * Set store context for invoice and payment request lists * Test fixes * Persist menu collapse state on client-side * MainNav as view component * Update app routes to incorporate store context * Test fixes * Display ticker for altcoins build only * Plugins nav * Incorporate category for active page as well * Update invoice icon * Add apps list to nav * Add store context to app type controllers * Incorporate id for active page as well * Test fixes * AppsController cleanup * Nav: Display only apps for the current store * Remove leftover from merge * Nav styles optimization * Left-align content container * Increase sidebar padding on desktop * Use min-width for store selector menu * Store settings nav update * Update app and payment request routes * Test fixes * Refactor MainNav component to use StoresController * Set store context for invoice actions * Cleanups * Remove CurrentStore checks The response will be "Access denied" in case the CookieAuthorizationHandler cannot resolve the store. * Remove unnecessary store context setters * Test fix
222 lines
4.1 KiB
CSS
222 lines
4.1 KiB
CSS
/* Set scroll padding so that anchors don't disappear underneath the fixed navbar */
|
|
html {
|
|
scroll-padding-top: 5rem;
|
|
}
|
|
|
|
/* General and site-wide Bootstrap modifications */
|
|
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
|
|
font-weight: 600;
|
|
}
|
|
|
|
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 {
|
|
display: none;
|
|
}
|
|
|
|
.note-editable {
|
|
color: var(--btcpay-form-text);
|
|
background-color: var(--btcpay-form-bg);
|
|
}
|
|
|
|
.wraptextAuto {
|
|
max-width: 300px;
|
|
text-overflow: ellipsis;
|
|
overflow: hidden;
|
|
display: block;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
@media (min-width: 768px) {
|
|
.text-md-nowrap {
|
|
white-space: nowrap;
|
|
}
|
|
}
|
|
|
|
@media (min-width: 768px) {
|
|
.wraptextAuto {
|
|
max-width: 600px;
|
|
}
|
|
}
|
|
|
|
.smMaxWidth {
|
|
max-width: 150px;
|
|
}
|
|
|
|
@media (min-width: 768px) {
|
|
.smMaxWidth {
|
|
max-width: 300px;
|
|
}
|
|
}
|
|
|
|
/* Info icons in main headline */
|
|
h2 small .fa-question-circle-o {
|
|
position: relative;
|
|
top: -.1rem;
|
|
font-size: var(--btcpay-font-size-l);
|
|
}
|
|
|
|
/* Section Navigation */
|
|
#SectionNav {
|
|
--border-size: 2px;
|
|
|
|
width: 100%;
|
|
margin-top: calc(var(--btcpay-space-s) * -1);
|
|
margin-bottom: var(--btcpay-space-l);
|
|
border-bottom: var(--border-size) solid var(--btcpay-body-border-light);
|
|
}
|
|
|
|
#SectionNav .nav-link {
|
|
color: var(--btcpay-nav-link);
|
|
margin-right: var(--btcpay-space-l);
|
|
margin-bottom: calc(var(--border-size) * -1);
|
|
border-bottom: var(--border-size) solid transparent;
|
|
padding: var(--btcpay-space-m) 0;
|
|
font-weight: var(--btcpay-font-weight-semibold);
|
|
}
|
|
|
|
#SectionNav .nav-link:last-child {
|
|
margin-right: 0;
|
|
}
|
|
|
|
#SectionNav .nav-link:hover {
|
|
color: var(--btcpay-nav-link-accent);
|
|
}
|
|
|
|
#SectionNav .nav-link.active {
|
|
color: var(--btcpay-nav-link-active);
|
|
border-bottom-color: var(--btcpay-nav-border-active);
|
|
background: var(--btcpay-nav-bg-active);
|
|
}
|
|
|
|
/* 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;
|
|
}
|
|
|
|
.pin-button {
|
|
height: 135px;
|
|
margin-top: 20px;
|
|
background-color: white;
|
|
border: solid lightgray 4px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.pin-button:hover {
|
|
background-color: lightgray;
|
|
}
|
|
|
|
[v-cloak] { display:none }
|
|
[v-cloak-loading] > * { display:none }
|
|
[v-cloak-loading]::before { content: "loading…" }
|
|
|
|
.list-group-item a:not(.btn) {
|
|
color: inherit;
|
|
}
|
|
|
|
.list-group-item .icon-caret-right {
|
|
flex: 0 0 24px;
|
|
height: 24px;
|
|
align-self: center;
|
|
}
|
|
|
|
.account-form {
|
|
max-width: 36em;
|
|
}
|
|
|
|
.content-wrapper {
|
|
padding: 50px 0;
|
|
}
|
|
|
|
@media screen and (min-width: 768px) {
|
|
.content-wrapper {
|
|
padding: 75px 0;
|
|
}
|
|
}
|
|
|
|
[class*="field-validation"]:not(:empty) {
|
|
display: inline-block;
|
|
margin-top: .5rem;
|
|
}
|
|
|
|
/* Print */
|
|
@media print {
|
|
.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 {
|
|
border: 1px dotted var(--btcpay-neutral-400);
|
|
}
|
|
|
|
svg.icon {
|
|
display: inline-block;
|
|
width: 16px;
|
|
height: 16px;
|
|
}
|
|
|
|
svg.icon-note {
|
|
color: var(--btcpay-neutral-500);
|
|
}
|