2023-02-20 15:34:18 +01:00
|
|
|
$themes: (
|
|
|
|
'classic': (
|
|
|
|
primary: #673ab7,
|
|
|
|
secondary: #9c27b0,
|
|
|
|
dark: #1f2234,
|
|
|
|
info: #333646,
|
|
|
|
marginal-bg: #1f2234,
|
|
|
|
marginal-text: #fff
|
|
|
|
),
|
|
|
|
'bitcoin': (
|
|
|
|
primary: #ff9853,
|
|
|
|
secondary: #ff7353,
|
|
|
|
dark: #2d293b,
|
|
|
|
info: #333646,
|
|
|
|
marginal-bg: #2d293b,
|
|
|
|
marginal-text: #fff
|
|
|
|
),
|
|
|
|
'freedom': (
|
|
|
|
primary: #e22156,
|
|
|
|
secondary: #b91a45,
|
|
|
|
dark: #0a0a0a,
|
|
|
|
info: #1b1b1b,
|
|
|
|
marginal-bg: #2d293b,
|
|
|
|
marginal-text: #fff
|
|
|
|
),
|
2023-02-20 22:41:11 +00:00
|
|
|
'cyber': (
|
2023-02-20 23:17:40 +00:00
|
|
|
primary: #7cb342,
|
|
|
|
secondary: #558b2f,
|
2023-02-20 22:41:11 +00:00
|
|
|
dark: #0a0a0a,
|
|
|
|
info: #1b1b1b,
|
|
|
|
marginal-bg: #2d293b,
|
|
|
|
marginal-text: #fff
|
|
|
|
),
|
2023-02-20 15:34:18 +01:00
|
|
|
'mint': (
|
|
|
|
primary: #3ab77d,
|
|
|
|
secondary: #27b065,
|
|
|
|
dark: #1f342b,
|
|
|
|
info: #334642,
|
|
|
|
marginal-bg: #1f342b,
|
|
|
|
marginal-text: #fff
|
|
|
|
),
|
|
|
|
'autumn': (
|
|
|
|
primary: #b7763a,
|
|
|
|
secondary: #b07927,
|
|
|
|
dark: #34291f,
|
|
|
|
info: #463f33,
|
|
|
|
marginal-bg: #342a1f,
|
|
|
|
marginal-text: rgb(255, 255, 255)
|
|
|
|
),
|
|
|
|
'flamingo': (
|
2023-07-05 14:39:39 +02:00
|
|
|
primary: #ff00ff,
|
|
|
|
secondary: #fda3fd,
|
|
|
|
dark: #2f032f,
|
|
|
|
info: #bc23bc,
|
|
|
|
marginal-bg: #311231,
|
2023-02-20 15:34:18 +01:00
|
|
|
marginal-text: rgb(255, 255, 255)
|
|
|
|
),
|
|
|
|
'monochrome': (
|
|
|
|
primary: #494949,
|
|
|
|
secondary: #6b6b6b,
|
|
|
|
dark: #000,
|
|
|
|
info: rgb(39, 39, 39),
|
|
|
|
marginal-bg: #000,
|
|
|
|
marginal-text: rgb(255, 255, 255)
|
|
|
|
)
|
|
|
|
);
|
|
|
|
@each $theme, $colors in $themes {
|
|
|
|
@each $name, $color in $colors {
|
|
|
|
@if $name== 'dark' {
|
|
|
|
[data-theme='#{$theme}'] .q-drawer--dark,
|
|
|
|
body[data-theme='#{$theme}'].body--dark,
|
|
|
|
[data-theme='#{$theme}'] .q-menu--dark {
|
|
|
|
background: $color !important;
|
|
|
|
}
|
|
|
|
/* IF WANTING TO SET A DARKER BG COLOR IN THE FUTURE
|
2021-07-01 11:54:45 +01:00
|
|
|
// set a darker body bg for all themes, when in "dark mode"
|
|
|
|
body[data-theme='#{$theme}'].body--dark {
|
|
|
|
background: scale-color($color, $lightness: -60%);
|
|
|
|
}
|
|
|
|
*/
|
2021-06-29 01:19:35 +01:00
|
|
|
}
|
2023-02-20 15:34:18 +01:00
|
|
|
@if $name== 'info' {
|
|
|
|
[data-theme='#{$theme}'] .q-card--dark,
|
|
|
|
[data-theme='#{$theme}'] .q-stepper--dark {
|
|
|
|
background: $color !important;
|
|
|
|
}
|
2021-06-28 22:57:23 +01:00
|
|
|
}
|
2023-02-20 15:34:18 +01:00
|
|
|
}
|
|
|
|
[data-theme='#{$theme}'] {
|
|
|
|
@each $name, $color in $colors {
|
|
|
|
.bg-#{$name} {
|
|
|
|
background: $color !important;
|
|
|
|
}
|
|
|
|
.text-#{$name} {
|
|
|
|
color: $color !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2021-06-28 22:57:23 +01:00
|
|
|
}
|
2022-04-20 00:36:11 +01:00
|
|
|
|
|
|
|
[data-theme='freedom'] .q-drawer--dark {
|
2023-02-20 15:34:18 +01:00
|
|
|
background: #0a0a0a !important;
|
2022-04-20 00:36:11 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
[data-theme='freedom'] .q-header {
|
2023-02-20 15:34:18 +01:00
|
|
|
background: #0a0a0a !important;
|
2022-04-20 00:36:11 +01:00
|
|
|
}
|
|
|
|
|
2023-02-20 22:41:11 +00:00
|
|
|
[data-theme='cyber'] .q-drawer--dark {
|
2023-02-20 23:17:40 +00:00
|
|
|
background: #0a0a0a !important;
|
2023-02-20 22:41:11 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
[data-theme='cyber'] .q-header {
|
2023-02-20 23:17:40 +00:00
|
|
|
background: #0a0a0a !important;
|
2023-02-20 22:41:11 +00:00
|
|
|
}
|
|
|
|
|
2021-06-30 23:14:39 +01:00
|
|
|
[data-theme='salvador'] .q-drawer--dark {
|
2023-02-20 15:34:18 +01:00
|
|
|
background: #242424 !important;
|
2021-06-30 23:14:39 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
[data-theme='salvador'] .q-header {
|
2023-02-20 15:34:18 +01:00
|
|
|
background: #0f47af !important;
|
2021-06-30 23:14:39 +01:00
|
|
|
}
|
|
|
|
|
2020-03-04 23:11:15 +01:00
|
|
|
[v-cloak] {
|
2023-02-20 15:34:18 +01:00
|
|
|
display: none;
|
2020-03-04 23:11:15 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
body.body--dark .q-table--dark {
|
2023-02-20 15:34:18 +01:00
|
|
|
background: transparent;
|
2020-03-04 23:11:15 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
body.body--dark .q-field--error {
|
2023-02-20 15:34:18 +01:00
|
|
|
.text-negative,
|
|
|
|
.q-field__messages {
|
|
|
|
color: yellow !important;
|
|
|
|
}
|
2020-03-04 23:11:15 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.lnbits-drawer__q-list .q-item {
|
2023-02-20 15:34:18 +01:00
|
|
|
padding-top: 5px !important;
|
|
|
|
padding-bottom: 5px !important;
|
|
|
|
border-top-right-radius: 3px;
|
|
|
|
border-bottom-right-radius: 3px;
|
|
|
|
&.q-item--active {
|
|
|
|
color: inherit;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
2020-03-04 23:11:15 +01:00
|
|
|
}
|
2020-03-10 23:12:22 +01:00
|
|
|
|
2020-04-16 17:10:53 +02:00
|
|
|
.lnbits__dialog-card {
|
2023-02-20 15:34:18 +01:00
|
|
|
width: 500px;
|
2020-04-16 17:10:53 +02:00
|
|
|
}
|
|
|
|
|
2020-04-05 12:19:25 +02:00
|
|
|
.q-table--dense {
|
2023-02-20 15:34:18 +01:00
|
|
|
th:first-child,
|
|
|
|
td:first-child,
|
|
|
|
.q-table__bottom {
|
|
|
|
padding-left: 6px !important;
|
|
|
|
}
|
|
|
|
th:last-child,
|
|
|
|
td:last-child,
|
|
|
|
.q-table__bottom {
|
|
|
|
padding-right: 6px !important;
|
|
|
|
}
|
2020-04-05 12:19:25 +02:00
|
|
|
}
|
|
|
|
|
2020-04-21 08:18:31 +02:00
|
|
|
a.inherit {
|
2023-02-20 15:34:18 +01:00
|
|
|
color: inherit;
|
|
|
|
text-decoration: none;
|
2020-04-21 08:18:31 +02:00
|
|
|
}
|
|
|
|
|
2020-03-10 23:12:22 +01:00
|
|
|
// QR video
|
|
|
|
video {
|
2023-02-20 15:34:18 +01:00
|
|
|
border-radius: 3px;
|
2020-03-10 23:12:22 +01:00
|
|
|
}
|
2020-04-29 13:24:49 +02:00
|
|
|
|
|
|
|
.material-icons {
|
2023-02-20 15:34:18 +01:00
|
|
|
font-family: 'Material Icons';
|
|
|
|
font-weight: normal;
|
|
|
|
font-style: normal;
|
|
|
|
font-size: 24px;
|
|
|
|
line-height: 1;
|
|
|
|
letter-spacing: normal;
|
|
|
|
text-transform: none;
|
|
|
|
display: inline-block;
|
|
|
|
white-space: nowrap;
|
|
|
|
word-wrap: normal;
|
|
|
|
direction: ltr;
|
|
|
|
-moz-font-feature-settings: 'liga';
|
|
|
|
-moz-osx-font-smoothing: grayscale;
|
2020-04-29 13:24:49 +02:00
|
|
|
}
|
2020-09-29 15:43:11 -03:00
|
|
|
|
2023-01-03 19:35:24 +00:00
|
|
|
.q-rating__icon {
|
2023-02-20 15:34:18 +01:00
|
|
|
font-size: 1em;
|
2023-01-03 19:35:24 +00:00
|
|
|
}
|
|
|
|
|
2020-09-29 15:43:11 -03:00
|
|
|
// text-wrap
|
|
|
|
.text-wrap {
|
2023-02-20 15:34:18 +01:00
|
|
|
word-break: break-word;
|
2022-07-05 16:20:59 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.q-card {
|
|
|
|
code {
|
|
|
|
overflow-wrap: break-word;
|
|
|
|
}
|
2023-02-20 15:34:18 +01:00
|
|
|
}
|
2023-10-09 20:11:11 +01:00
|
|
|
|
2023-10-10 15:04:46 +01:00
|
|
|
// qrcode
|
2024-10-29 09:58:22 +01:00
|
|
|
.qrcode__wrapper {
|
2023-10-09 20:11:11 +01:00
|
|
|
position: relative;
|
2024-10-29 09:58:22 +01:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
}
|
|
|
|
.qrcode__wrapper canvas {
|
2023-10-10 15:04:46 +01:00
|
|
|
width: 100% !important; // important to override qrcode inline width
|
2024-10-29 09:58:22 +01:00
|
|
|
height: 100% !important;
|
|
|
|
max-width: 350px; // default width of <lnbits-qrcode> component
|
2023-10-09 20:11:11 +01:00
|
|
|
}
|
|
|
|
.qrcode__image {
|
2024-10-29 09:58:22 +01:00
|
|
|
position: absolute;
|
|
|
|
max-width: 52px;
|
2023-10-09 20:11:11 +01:00
|
|
|
width: 15%;
|
|
|
|
overflow: hidden;
|
2023-10-10 15:04:46 +01:00
|
|
|
background: #fff;
|
2023-10-09 20:11:11 +01:00
|
|
|
overflow: hidden;
|
2023-10-10 15:04:46 +01:00
|
|
|
padding: 0.2rem;
|
|
|
|
border-radius: 0.2rem;
|
2023-10-09 20:11:11 +01:00
|
|
|
}
|
2024-02-20 12:36:39 +00:00
|
|
|
|
|
|
|
.whitespace-pre-line {
|
|
|
|
white-space: pre-line;
|
|
|
|
}
|
2024-06-26 12:21:34 +01:00
|
|
|
.q-carousel__slide {
|
|
|
|
background-size: contain;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
}
|
|
|
|
.q-dialog__inner--minimized {
|
|
|
|
padding: 12px;
|
|
|
|
}
|