Files
mempool/frontend/src/styles.scss
T

1406 lines
24 KiB
SCSS
Raw Normal View History

2024-04-04 15:36:24 +09:00
/* Theme */
$bg: #1d1f31;
$active-bg: #11131f;
$hover-bg: #12131e;
$fg: #fff;
2024-05-08 18:25:29 +02:00
$nav-bg: $bg;
2023-01-03 05:24:14 -06:00
$title-fg: #4a68b9;
2024-04-04 15:36:24 +09:00
$taproot: #eba814;
$taproot-light: #d5a90a;
$taproot-dark: #9d7c05;
/* Bootstrap */
2024-04-04 15:36:24 +09:00
$body-bg: $bg;
$body-color: $fg;
$gray-800: $bg;
$gray-700: $fg;
2024-04-04 15:36:24 +09:00
$nav-tabs-link-active-bg: $active-bg;
2020-02-29 23:42:50 +07:00
$primary: #105fb0;
2020-02-17 20:39:20 +07:00
$secondary: #2d3348;
2024-04-04 15:36:24 +09:00
$tertiary: #653b9c;
2020-05-28 18:39:45 +07:00
$success: #1a9436;
2022-09-25 01:57:16 +04:00
$info: #1bd8f4;
2021-01-24 13:59:39 +07:00
$h5-font-size: 1.15rem !default;
$pagination-bg: $body-bg;
$pagination-border-color: $gray-800;
2024-04-04 15:36:24 +09:00
$pagination-disabled-bg: $fg;
$pagination-disabled-border-color: $bg;
$pagination-active-color: $fg;
$pagination-active-bg: $tertiary;
$pagination-hover-bg: $hover-bg;
$pagination-hover-border-color: $bg;
$pagination-disabled-bg: $bg;
2024-04-04 15:36:24 +09:00
$custom-select-indicator-color: $fg;
2021-01-16 00:10:23 +07:00
2020-10-07 20:15:42 +07:00
.input-group-text {
background-color: #1c2031 !important;
border: 1px solid #20263e !important;
}
2024-04-04 15:36:24 +09:00
$link-color: $info;
$link-decoration: none !default;
$link-hover-color: darken($link-color, 15%) !default;
$link-hover-decoration: underline !default;
2024-04-04 15:36:24 +09:00
$dropdown-bg: $bg;
$dropdown-link-color: $fg;
2020-05-10 16:03:22 +07:00
2024-04-04 15:36:24 +09:00
$dropdown-link-hover-color: $fg;
$dropdown-link-hover-bg: $active-bg;
2020-05-10 16:03:22 +07:00
2024-04-04 15:36:24 +09:00
$dropdown-link-active-color: $fg;
$dropdown-link-active-bg: $active-bg;
2020-05-10 16:03:22 +07:00
2023-07-18 13:38:33 +09:00
@import "bootstrap/scss/bootstrap";
@import 'tlite/tlite.css';
2024-04-04 15:36:24 +09:00
:root {
--bg: #{$bg};
--active-bg: #{$active-bg};
--hover-bg: #{$hover-bg};
--fg: #{$fg};
2024-05-08 18:25:29 +02:00
--nav-bg: #{$nav-bg};
2023-01-03 05:24:14 -06:00
--title-fg: #{$title-fg};
2024-04-04 15:36:24 +09:00
--primary: #{$primary};
--secondary: #{$secondary};
--tertiary: #{$tertiary};
--success: #{$success};
--info: #{$info};
2024-04-23 18:59:26 +02:00
--link-color: #{$link-color};
2024-04-22 12:36:43 +02:00
--link-hover-color: #{$link-hover-color};
2024-04-10 12:26:00 +09:00
--icon: #f1f1f1;
2024-04-23 18:59:26 +02:00
--skeleton-bg: #2e324e;
--skeleton-bg-light: #5d6182;
2024-04-04 15:36:24 +09:00
--box-bg: #24273e;
--stat-box-bg: #181b2d;
--alert-bg: #3a1c61;
2024-04-06 15:48:35 +09:00
--navbar-bg: #212121;
2024-04-04 15:36:24 +09:00
--transparent-fg: #ffffff66;
2024-04-05 16:07:25 +09:00
--fade-out-box-bg-start: rgba(36, 39, 62, 0);
--fade-out-box-bg-end: rgba(36, 39, 62, 1);
2024-04-23 18:59:26 +02:00
--opacity: 0.57;
2024-04-04 15:36:24 +09:00
--testnet: #1d486f;
--signet: #6f1d5d;
--liquid: #116761;
--liquidtestnet: #494a4a;
--mainnet-alt: #9339f4;
--testnet-alt: #183550;
--signet-alt: #471850;
--liquidtestnet-alt: #272e46;
--taproot: #eba814;
--taproot-light: #d5a90a;
--taproot-dark: #9d7c05;
--green: #3bcc49;
--red: #dc3545;
2024-04-23 18:59:26 +02:00
--yellow: #fff000;
2023-01-03 05:24:14 -06:00
--grey: #6c757d;
--tooltip-grey: #b1b1b1;
2024-04-10 14:39:29 +09:00
--orange: #b86d12;
2024-04-26 16:59:25 +02:00
--search-button: #4d2d77;
--search-button-border: #472a6e;
--search-button-focus: #533180;
--search-button-shadow: #7c58ab80;
2024-04-04 15:36:24 +09:00
}
2020-02-17 00:26:57 +07:00
html, body {
height: 100%;
}
body {
2024-04-04 15:36:24 +09:00
background-color: var(--active-bg);
padding-bottom: 60px;
}
2020-02-17 20:39:20 +07:00
.container {
position: relative;
}
2023-03-24 18:16:19 +09:00
2023-05-11 17:14:16 -05:00
main {
margin-top: 24px;
}
.full-height {
@media (max-width: 767.98px) {
min-height: 100vh;
}
}
2020-02-17 20:39:20 +07:00
:focus {
outline: none !important;
}
.box {
min-height: 1px;
padding: 1.25rem;
position: relative;
min-width: 0;
word-wrap: break-word;
2024-04-04 15:36:24 +09:00
background-color: var(--box-bg);
background-clip: border-box;
border: 1px solid rgba(0,0,0,.125);
box-shadow: 0.125rem 0.125rem 0.25rem rgba(0,0,0,0.075);
}
2022-07-27 18:13:37 +00:00
.preview-box {
2022-08-02 01:15:50 +00:00
min-height: 520px;
2022-09-01 17:01:31 +00:00
padding: 1rem 3rem 1.5rem;
2022-07-27 18:13:37 +00:00
}
2020-03-25 00:41:46 +07:00
@media (max-width: 767.98px) {
.box {
padding: 0.75rem;
}
}
.navbar-nav.liquid > .active {
2024-04-04 15:36:24 +09:00
background-color: var(--liquid) !important;
}
.navbar-nav.testnet > .active {
2024-04-04 15:36:24 +09:00
background-color: var(--testnet) !important;
}
2021-02-21 01:45:52 +07:00
.navbar-nav.signet > .active {
2024-04-04 15:36:24 +09:00
background-color: var(--signet) !important;
2021-02-21 01:45:52 +07:00
}
2021-12-31 02:33:18 +04:00
.navbar-nav.liquidtestnet > .active {
2024-04-04 15:36:24 +09:00
background-color: var(--liquidtestnet) !important;
2021-12-31 02:33:18 +04:00
}
.form-control {
2024-04-23 18:59:26 +02:00
color: var(--fg);
2024-04-04 15:36:24 +09:00
background-color: var(--secondary);
2023-01-11 13:37:49 +04:00
border: 1px solid rgba(17, 19, 31, 0.2);
}
2023-01-11 13:37:49 +04:00
.form-control:focus {
2024-04-23 18:59:26 +02:00
color: var(--fg);
2024-04-04 15:36:24 +09:00
background-color: var(--secondary);
2023-01-11 13:37:49 +04:00
}
.btn-purple {
2024-04-04 15:36:24 +09:00
background-color: var(--tertiary);
border-color: var(--tertiary);
2023-01-11 13:37:49 +04:00
}
.btn-purple:not(:disabled):not(.disabled):active, .btn-purple:not(:disabled):not(.disabled).active, .show > .btn-purple.dropdown-toggle {
color: #fff;
2024-04-26 16:59:25 +02:00
background-color: var(--search-button);
border-color: var(--search-button-border);
2023-01-11 13:37:49 +04:00
}
.btn-purple:focus, .btn-purple.focus {
color: #fff;
2024-04-26 16:59:25 +02:00
background-color: var(--search-button-focus);
border-color: var(--search-button);
box-shadow: 0 0 0 0.2rem var(--search-button-shadow);
2023-01-11 13:37:49 +04:00
}
.btn-purple:hover {
color: #fff;
2024-04-26 16:59:25 +02:00
background-color: var(--search-button-focus);
border-color: var(--search-button);
}
.form-control.form-control-secondary {
2024-04-23 18:59:26 +02:00
color: #fff;
2024-04-04 15:36:24 +09:00
background-color: var(--secondary);
border: 1px solid var(--secondary);
}
.form-control.form-control-secondary:focus {
2024-04-04 15:36:24 +09:00
color: var(--fg);
}
.h2-match-table {
padding-left: .65rem;
}
.skeleton-loader {
box-sizing: border-box;
/**
* `overflow` and `position` are required steps to make sure
* the component respects the specified dimensions
* given via `theme` object @Input attribute
*/
overflow: hidden;
position: relative;
animation: progress 2s ease-in-out infinite;
2024-04-23 18:59:26 +02:00
background: var(--skeleton-bg) no-repeat;
background-image: linear-gradient(
90deg,
rgba(255, 255, 255, 0),
2024-04-23 18:59:26 +02:00
var(--skeleton-bg-light),
rgba(255, 255, 255, 0)
);
background-size: 200px 100%;
border-radius: 4px;
width: 100%;
height: 14px;
display: inline-block;
&:after,
&:before {
box-sizing: border-box;
}
&.circle {
width: 40px;
height: 40px;
margin: 5px;
border-radius: 50%;
}
}
@keyframes progress {
0% {
background-position: -200px 0;
}
100% {
background-position: calc(200px + 100%) 0;
}
}
.symbol {
2024-04-04 15:36:24 +09:00
color: var(--transparent-fg);
2021-05-18 11:20:17 -03:00
font-size: 12px;
}
.progress-text {
span {
2024-04-23 18:59:26 +02:00
color: #fff !important;
2021-05-18 11:20:17 -03:00
}
}
.block-size, .blocks-container {
2023-06-15 15:16:49 -04:00
.symbol {
2021-05-18 11:20:17 -03:00
font-size: 16px;
2024-04-23 18:59:26 +02:00
color: #fff !important;
2021-05-18 11:20:17 -03:00
}
}
.break-all {
white-space: normal;
word-break: break-all;
}
.title-block {
2024-04-04 15:36:24 +09:00
color: var(--fg);
padding-top: 20px;
padding-bottom: 10px;
2024-04-04 15:36:24 +09:00
border-top: 3px solid var(--fg);
display: flex;
flex-direction: row;
justify-content: space-between;
2021-10-11 22:33:20 -03:00
}
.title-address, .title-asset {
2024-04-04 15:36:24 +09:00
color: var(--fg);
2021-10-11 22:33:20 -03:00
padding-bottom: 10px;
display: flex;
2021-10-26 21:47:17 -03:00
flex-direction: column;
margin-bottom: 7px;
@media (min-width: 576px) {
flex-direction: row;
margin-bottom: 0px;
}
h1 {
line-height: 1;
}
}
.smaller-text {
font-size: 14px;
}
.nowrap {
white-space: nowrap;
}
.table-xs th, .table-xs td {
padding: 0.1rem;
}
.table {
margin-bottom: 0;
font-size: 0.9rem;
@media (min-width: 576px) {
font-size: 1rem;
}
}
.table-fixed {
table-layout: fixed;
}
.close {
2024-04-04 15:36:24 +09:00
color: var(--fg);
}
.close:hover {
2024-04-04 15:36:24 +09:00
color: var(--fg);
}
2023-04-19 09:41:53 +09:00
.white-color {
color: white;
}
.green-color {
2024-04-04 15:36:24 +09:00
color: var(--green);
}
.red-color {
2024-04-04 15:36:24 +09:00
color: var(--red);
}
.yellow-color {
2024-04-04 15:36:24 +09:00
color: var(--yellow);
}
.table-striped tbody tr:nth-of-type(odd) {
2024-04-04 15:36:24 +09:00
background-color: var(--stat-box-bg);
}
.dual-col-striped tbody tr:nth-of-type(odd) td:not(.spacer) {
background-color: var(--stat-box-bg);
}
.dual-col-striped tbody tr td.spacer {
width: 30px;
}
.bordertop {
border-top: 1px solid #4c4c4c;
}
.smaller-text {
font-size: 14px;
}
html:lang(ru) .card-title {
font-size: 0.9rem;
}
2021-08-25 01:01:35 -03:00
/* MEMPOOL CHARTS - start */
.mempool-wrapper-tooltip-chart {
height: 250px;
2019-07-21 17:59:47 +03:00
}
.echarts {
height: 100%;
min-height: 180px;
}
2019-07-21 17:59:47 +03:00
2021-08-26 23:30:57 -03:00
.tx-wrapper-tooltip-chart,
.fees-wrapper-tooltip-chart {
2024-04-04 15:36:24 +09:00
background: rgba($active-bg, 0.95);
border-radius: 4px;
2021-08-26 23:30:57 -03:00
box-shadow: 1px 1px 10px rgba(0,0,0,0.5);
2023-01-03 05:24:14 -06:00
color: var(--tooltip-grey);
2021-08-25 01:01:35 -03:00
display: flex;
flex-direction: column;
justify-content: space-between;
padding: 10px 15px;
text-align: left;
2021-09-13 11:07:17 -03:00
width: 200px;
2021-08-26 23:30:57 -03:00
thead {
th {
font-size: 9px;
2023-01-03 05:24:14 -06:00
color: var(--tooltip-grey);
2021-08-26 23:30:57 -03:00
text-align: right;
&:first-child {
text-align: left;
left: -1px;
position: relative;
}
2021-10-26 21:47:17 -03:00
&:nth-child(4) {
2021-09-13 11:07:17 -03:00
display: none;
}
2021-08-26 23:30:57 -03:00
}
}
2021-08-25 01:01:35 -03:00
.title {
font-size: 12px;
font-weight: 700;
margin-bottom: 2px;
2024-04-23 18:59:26 +02:00
color: #fff;
2021-09-07 17:48:43 -03:00
.total-value {
float: right;
}
2021-08-25 01:01:35 -03:00
}
.active {
2024-04-23 18:59:26 +02:00
color: var(--yellow) !important;
2021-08-26 23:30:57 -03:00
.value,
.total-partial {
2024-04-23 18:59:26 +02:00
color: var(--yellow) !important;
2021-08-25 01:01:35 -03:00
.symbol {
2024-04-23 18:59:26 +02:00
color: var(--yellow) !important;
2021-08-25 01:01:35 -03:00
}
}
}
.item {
2021-08-26 23:30:57 -03:00
line-height: 0.8;
.indicator-container {
.indicator {
display: inline-block;
margin-right: 5px;
2021-08-26 23:50:32 -03:00
border-radius: 2px;
2021-08-26 23:30:57 -03:00
margin-top: 5px;
width: 9px;
height: 9px;
}
}
.value {
text-align: right;
2021-08-25 01:01:35 -03:00
.symbol {
color: #7e7e7e;
font-size: 9px !important;
}
}
2021-09-13 11:07:17 -03:00
.symbol {
font-size: 9px;
}
2021-08-26 23:30:57 -03:00
.total-partial {
font-size: 10px;
2021-09-13 11:07:17 -03:00
width: 58px;
text-align: right;
2021-08-26 23:30:57 -03:00
}
.total-percentage-bar {
padding-left: 8px;
}
2021-09-07 17:48:43 -03:00
.total-progress-percentage {
2021-09-13 11:07:17 -03:00
width: 45px;
height: 5px;
text-align: right;
display: none;
}
.total-progress-sum {
width: 58px;
2021-09-07 17:48:43 -03:00
text-align: right;
}
}
2021-08-25 01:01:35 -03:00
.total-label {
width: 100%;
text-align: left;
2024-04-23 18:59:26 +02:00
color: #fff;
2021-08-26 23:30:57 -03:00
margin-top: 5px;
font-size: 14px;
span {
float: right;
}
.symbol {
margin-left: 3px;
font-size: 9px;
position: relative;
top: 2px;
}
}
2021-09-13 11:07:17 -03:00
thead {
th {
font-size: 9px;
2023-01-03 05:24:14 -06:00
color: var(--tooltip-grey);
2021-09-13 11:07:17 -03:00
text-align: right;
&:first-child {
text-align: left;
left: -1px;
position: relative;
}
2021-10-26 21:47:17 -03:00
&:nth-child(4) {
2021-09-13 11:07:17 -03:00
display: none;
}
2021-10-26 21:47:17 -03:00
&:nth-child(5) {
2021-09-13 11:07:17 -03:00
display: none;
}
}
}
2021-08-26 23:30:57 -03:00
.total-percentage-bar {
margin: auto;
width: 35px;
position: relative;
2021-08-25 01:01:35 -03:00
span {
2021-08-26 23:30:57 -03:00
display: block;
background: #282d47;
height: 5px;
border-radius: 2px;
2021-08-25 01:01:35 -03:00
}
}
2021-08-26 23:30:57 -03:00
.total-parcial-active {
text-align: right;
margin: 5px auto 5px;
padding-left: 0px;
span {
font-size: 10px;
}
.symbol {
font-size: 9px;
}
.total-percentage-bar {
width: 100%;
span {
transition: 1000 all ease-in-out;
}
}
2021-09-07 17:48:43 -03:00
.progress-percentage {
float: left;
}
2021-08-26 23:30:57 -03:00
}
}
.tx-wrapper-tooltip-chart {
2021-09-13 11:07:17 -03:00
width: 115px;
2021-08-26 23:30:57 -03:00
.item {
display: flex;
}
.value {
margin-top: 5px;
}
.indicator-container {
border-radius: 2px;
}
}
.fee-distribution-chart {
height: 265px;
}
.fees-wrapper-tooltip-chart {
.item {
font-size: 9px;
2021-08-26 23:30:57 -03:00
line-height: 0.8;
2021-08-25 01:01:35 -03:00
margin: 0px;
}
.indicator {
margin-right: 5px !important;
2021-08-25 01:01:35 -03:00
border-radius: 1px !important;
margin-top: 0px !important;
}
2019-07-21 17:59:47 +03:00
}
2021-09-13 11:07:17 -03:00
.fees-wrapper-tooltip-chart-advanced,
.tx-wrapper-tooltip-chart-advanced {
width: 300px;
2024-04-04 15:36:24 +09:00
background: rgba($bg, 0.98);
2021-09-13 11:07:17 -03:00
thead {
th {
2021-10-26 21:47:17 -03:00
&:nth-child(4) {
2021-09-13 11:07:17 -03:00
display: table-cell;
}
2021-10-26 21:47:17 -03:00
&:nth-child(5) {
2021-09-13 11:07:17 -03:00
display: table-cell;
}
}
}
2021-08-25 01:01:35 -03:00
.title {
font-size: 15px;
margin-bottom: 5px;
}
.item {
2021-10-07 16:19:57 -03:00
line-height: 1.25;
font-size: 11px;
2021-08-25 01:01:35 -03:00
.value {
2021-09-13 11:07:17 -03:00
width: 60px;
2021-08-25 01:01:35 -03:00
.symbol {
2021-10-07 16:19:57 -03:00
font-size: 9px !important;
2021-09-13 11:07:17 -03:00
}
}
.total-partial {
font-size: 10px;
width: 58px;
text-align: right;
}
.total-progress-percentage {
width: 65px;
height: 4px;
padding: 0px 5px;
display: table-cell !important;
border-radius: 4px;
}
.total-progress-sum {
width: 65px;
height: 4px;
padding: 0px 5px;
border-radius: 4px;
}
.total-progress-percentage-bar,
.total-progress-sum-bar {
width: 35px;
height: 4px;
div {
width: 100%;
border-radius: 4px;
display: block;
background: #29324c94;
}
span {
height: 4px;
border-radius: 4px;
display: block;
2021-08-25 01:01:35 -03:00
}
}
}
.total-label {
margin-top: 5px;
font-size: 14px;
span {
2021-08-26 23:30:57 -03:00
float: right;
}
}
.total-parcial-active {
text-align: right;
margin: 5px auto 5px;
span {
font-size: 10px;
}
.total-percentage-bar {
width: 100%;
left: 0;
span {
transition: 1000 all ease-in-out;
}
2021-08-25 01:01:35 -03:00
}
}
2021-09-28 10:16:27 -03:00
.total-percentage-bar-background {
background-color: #282d47;
}
2021-08-25 01:01:35 -03:00
}
2021-09-13 11:07:17 -03:00
.tx-wrapper-tooltip-chart-advanced {
2021-08-26 23:30:57 -03:00
.indicator-container {
.indicator {
margin-right: 5px;
border-radius: 0px;
margin-top: 5px;
width: 9px;
height: 9px;
}
2021-08-25 01:01:35 -03:00
}
}
2019-07-21 17:59:47 +03:00
2021-08-25 01:01:35 -03:00
/* MEMPOOL CHARTS - end */
.grow {
flex-grow: 1;
}
2019-07-21 17:59:47 +03:00
hr {
border-top: 1px solid rgba(255, 255, 255, 0.1);
2019-11-10 16:44:00 +08:00
}
2020-03-05 16:13:46 +07:00
tr {
white-space: nowrap;
}
h1, h2, h3 {
2020-03-25 02:55:26 +07:00
margin-bottom: 1rem;
}
@media (max-width: 767.98px) {
h1 {
font-size: 2rem;
}
h2 {
font-size: 1.50rem;
}
}
@media (min-width: 992px) {
.lg-inline {
display: inline-block;
}
}
@media (min-width: 768px) {
2020-07-18 11:04:04 +07:00
.d-md-inline {
display: inline-block;
}
}
.header-bg {
font-size: 14px;
}
2020-05-10 21:50:32 +07:00
2021-01-12 20:45:41 +07:00
.progress {
position: relative;
}
.progress-text {
position: absolute;
2021-01-12 20:45:41 +07:00
top: 8.5px;
width: 100%;
text-align: center;
}
2020-05-10 21:50:32 +07:00
.progress-mempool {
2024-04-23 18:59:26 +02:00
background: repeating-linear-gradient(to right, var(--secondary), var(--secondary) 0%, var(--primary) 0%, var(--mainnet-alt) 100%);
2020-05-10 21:50:32 +07:00
}
.progress-mempool.testnet {
2024-04-23 18:59:26 +02:00
background: repeating-linear-gradient(to right, var(--secondary), var(--secondary) 0%, var(--testnet) 0%, var(--testnet-alt) 100%);
2020-05-10 21:50:32 +07:00
}
2021-02-21 01:45:52 +07:00
.progress-mempool.signet {
2024-04-23 18:59:26 +02:00
background: repeating-linear-gradient(to right, var(--secondary), var(--secondary) 0%, var(--signet) 0%, var(--signet-alt) 100%);
2021-02-21 01:45:52 +07:00
}
2020-05-10 21:50:32 +07:00
.progress-mempool.liquid {
2024-04-23 18:59:26 +02:00
background: repeating-linear-gradient(to right, var(--secondary), var(--secondary) 0%, var(--liquid) 0%, var(--testnet-alt) 100%);
2020-05-10 21:50:32 +07:00
}
2020-05-21 01:55:46 +07:00
2021-01-11 17:20:52 +07:00
.progress-dark {
2024-04-04 15:36:24 +09:00
background-color: var(--stat-box-bg);
2021-01-11 17:20:52 +07:00
}
.progress-darklight {
2024-04-04 15:36:24 +09:00
background-color: var(--box-bg);
2021-01-11 17:20:52 +07:00
}
2022-05-18 08:43:24 +04:00
.progress-light {
2024-04-23 18:59:26 +02:00
background-color: var(--skeleton-bg);
2022-05-18 08:43:24 +04:00
}
2022-10-28 10:33:15 -06:00
.progress.progress-health {
2024-04-23 18:59:26 +02:00
background: repeating-linear-gradient(to right, var(--secondary), var(--secondary) 0%, var(--primary) 0%, $success 100%);
2022-10-28 10:33:15 -06:00
justify-content: flex-end;
}
.progress-bar.progress-bar-health {
2024-04-04 15:36:24 +09:00
background: var(--secondary);
2022-10-28 10:33:15 -06:00
}
2020-05-21 01:55:46 +07:00
.mt-2-5, .my-2-5 {
margin-top: 0.75rem !important;
}
.alert-mempool {
2024-04-23 18:59:26 +02:00
color: #fff;
2024-04-04 15:36:24 +09:00
background-color: var(--tertiary);
border-color: var(--alert-bg);
2021-05-18 11:56:42 -03:00
width: 100%;
display: inline-flex;
flex-direction: column;
justify-content: space-between;
@media (min-width: 676px){
flex-direction: row;
}
}
2021-10-26 21:47:17 -03:00
.flex {
2021-05-18 11:56:42 -03:00
display: flex;
}
2020-07-16 14:36:02 +07:00
th {
white-space: nowrap;
}
// ASM opcode colors
2020-11-21 18:17:29 +09:00
.constants { color: #ff8c00 }
.control { color: #87ceeb }
.stack { color: #ffa500 }
.splice { color: #46b5e2 }
.logic { color: #46b5e2 }
.arithmetic { color: #cae8d0 }
.crypto { color: #fa3d3d }
.locktime { color: #ff8c00 }
.reserved { color: #ff8c00 }
2020-12-09 01:57:18 +01:00
2022-08-29 11:29:59 +02:00
.shortable-address {
font-family: monospace;
}
2023-03-06 19:59:56 -06:00
.full-container .card-header .formRadioGroup {
margin-top: 6px;
display: flex;
flex-direction: column;
@media (min-width: 991px) {
position: relative;
top: -100px;
}
@media (min-width: 830px) and (max-width: 991px) {
position: relative;
top: 0px;
}
@media (min-width: 830px) {
flex-direction: row;
float: right;
margin-top: 0px;
}
.btn-sm {
font-size: 9px;
@media (min-width: 830px) {
font-size: 14px;
}
}
}
.direction-ltr {
direction: ltr;
}
2020-12-09 01:57:18 +01:00
.rtl-layout {
2023-03-06 19:59:56 -06:00
text-align: start;
2021-11-01 11:11:50 -03:00
.navbar-brand {
margin-right: 0px;
text-align: right;
}
2022-04-05 20:37:18 +02:00
.nav-pills {
@extend .nav-pills;
display: inline-block;
}
.description {
direction: rtl;
}
2021-11-01 11:11:50 -03:00
.dropdown {
margin-right: 1rem;
margin-left: 0;
@media (min-width: 576px) {
margin-left: 1rem;
}
@media (min-width: 768px) {
margin-left: 0;
}
}
.dropdown-menu-right {
left: 0px;
right: auto;
}
2022-04-05 20:37:18 +02:00
.fa-circle-right {
@extend .fa-circle-right;
2021-10-26 21:47:17 -03:00
-webkit-transform: scaleX(-1);
transform: scaleX(-1);
}
2020-12-09 01:57:18 +01:00
2022-04-05 20:37:18 +02:00
.btn.ml-2 {
margin-right: 0.5rem !important;
}
.pool-name {
@extend .pool-name;
padding-right: 10px;
}
.endpoint-container {
@extend .endpoint-container;
.section-header {
@extend .section-header;
text-align: left;
}
}
2021-10-26 21:47:17 -03:00
.table td {
text-align: right;
.fiat {
@extend .fiat;
margin-left: 0px !important;
margin-right: 15px;
2020-12-09 01:57:18 +01:00
}
2021-10-26 21:47:17 -03:00
}
2020-12-09 01:57:18 +01:00
2024-07-29 02:11:12 +02:00
.beta {
@extend .beta;
margin: 24px -19px 0px 0px !important;
@media (max-width: 767.98px) {
margin: 30px -23px 0px 0px !important;
}
@media (max-width: 3429px) {
margin: 25px -23px 0px 0px !important;
}
@media (max-width: 369px) {
margin: 20px -23px 0px 0px !important;
}
}
.etaDeepMempool {
@extend .etaDeepMempool;
@media (max-width: 995px) {
justify-content: right !important;
}
@media (max-width: 849px) {
justify-content: left !important;
}
}
.nodes {
@extend .nodes;
direction: ltr !important;
}
.fee-rate {
@extend .fee-rate;
direction: rtl !important;
}
.bitcoin-satoshis-text {
direction: ltr !important;
}
2024-07-31 01:28:31 +02:00
.fee-graph {
@extend .fee-graph;
margin-left: 5em !important;
}
.acceleration-timeline {
@extend .acceleration-timeline;
direction: ltr !important;
.interval {
@extend .interval;
direction: rtl !important;
}
.time {
@extend .time;
direction: rtl !important;
}
}
2024-08-03 14:39:50 +02:00
.tracker-bar {
@extend .tracker-bar;
direction: ltr;
}
.confirmations {
@extend .confirmations;
margin-left: 0 !important;
margin-right: 1em;
}
.acceleration-tooltip {
@extend .acceleration-tooltip;
direction: rtl;
text-align: right !important;
.value {
@extend .value;
text-align: start !important;
}
}
2021-10-26 21:47:17 -03:00
.table th {
text-align: right;
}
2020-12-09 01:57:18 +01:00
2021-10-26 21:47:17 -03:00
.title-block {
text-align: right;
}
2020-12-09 01:57:18 +01:00
2021-10-26 21:47:17 -03:00
.mr-3 {
@extend .ml-3;
margin-right: 0 !important;
}
2020-12-09 01:57:18 +01:00
2021-10-26 21:47:17 -03:00
.mr-1 {
@extend .ml-1;
}
2020-12-09 01:57:18 +01:00
2024-07-31 01:28:31 +02:00
.mr-2 {
@extend .ml-2;
}
2021-10-26 21:47:17 -03:00
.float-left {
float: right !important;
}
2020-12-09 02:23:53 +01:00
2021-10-26 21:47:17 -03:00
.float-right {
float: left !important;
}
2020-12-09 02:23:53 +01:00
2021-10-26 21:47:17 -03:00
.text-left {
text-align: right !important;
}
2021-10-26 21:47:17 -03:00
.text-right {
text-align: left !important;
}
2021-09-15 10:56:30 +02:00
2021-10-26 21:47:17 -03:00
.bitcoin-block {
2021-11-01 11:11:50 -03:00
direction: rtl;
2021-10-26 21:47:17 -03:00
}
2021-09-15 10:56:30 +02:00
2021-10-26 21:47:17 -03:00
.next-previous-blocks {
@extend .next-previous-blocks;
direction: ltr;
}
2021-09-15 10:56:30 +02:00
2021-10-26 21:47:17 -03:00
.tx-link {
@extend .tx-link;
margin-left: 0px;
margin-right: 10px;
}
2021-09-15 10:56:30 +02:00
2021-10-26 21:47:17 -03:00
.pagination-container {
@extend .pagination-container;
ul {
@extend ul;
padding-left: 0px;
padding-right: 5px;
2021-09-15 10:56:30 +02:00
}
2021-10-26 21:47:17 -03:00
}
2021-10-26 21:47:17 -03:00
.search-box-container {
@extend .search-box-container;
margin-right: 0 !important;
margin-left: 0.5rem !important;
}
2021-10-26 21:47:17 -03:00
.code {
@extend .code;
text-align: left !important;
direction: ltr;
.subtitle {
@extend .subtitle;
direction: rtl;
text-align: right !important;
}
2021-10-26 21:47:17 -03:00
}
2023-03-06 19:59:56 -06:00
.chart {
direction: ltr;
}
.formRadioGroup {
@media (min-width: 830px) {
float: left;
}
2021-10-26 21:47:17 -03:00
}
2023-03-06 19:59:56 -06:00
.container-graph, .full-container, .toggle-holder {
@extend .container-graph;
2022-04-05 20:37:18 +02:00
.formRadioGroup {
@extend .formRadioGroup;
direction: ltr;
}
2023-03-06 19:59:56 -06:00
.card-header, h1, h2, h3 {
direction: rtl;
}
2022-04-05 20:37:18 +02:00
}
2022-06-26 02:20:36 +04:30
.fee-progress-bar {
@extend .fee-progress-bar;
&.priority {
@media (767px < width < 992px), (width < 576px) {
width: 100%;
}
width: 75%;
border-radius: 10px 0px 0px 10px !important;
}
}
.fees-wrapper-tooltip-chart {
@extend .fees-wrapper-tooltip-chart;
.title {
direction: rtl;
}
}
.btn-link {
padding: 0.1rem 0.5rem 0.25rem 0 !important;
}
.shortable-address {
direction: ltr;
2022-08-29 11:29:59 +02:00
font-family: monospace;
2022-06-26 02:20:36 +04:30
}
.lastest-blocks-table {
@extend .lastest-blocks-table;
.table-cell-mined {
@extend .table-cell-mined;
text-align: right !important;
}
}
2021-10-26 21:47:17 -03:00
.mempool-graph {
@extend .mempool-graph;
direction: ltr;
}
.title-block {
.title {
float: right;
2021-09-29 17:13:21 -03:00
}
2021-10-26 21:47:17 -03:00
}
.container-buttons {
float: left !important;
width: auto !important;
}
.tx-link {
margin-right: 0px;
@media (min-width: 768px) {
margin-right: 10px;
2021-09-29 17:13:21 -03:00
}
2021-10-26 21:47:17 -03:00
}
.btn-audit {
margin-left: .5em;
}
.sidenav {
@extend .sidenav;
margin-left: 0px !important;
margin-right: -250px;
}
.sidenav.open {
margin-right: 0px;
}
.profile_image_container {
@extend .profile_image_container;
margin-right: 0px !important;
margin-left: 15px;
}
#blockchain-container.with-menu {
width: calc(100% + 120px);
left: 120px;
}
2020-12-09 01:57:18 +01:00
}
2021-05-07 17:36:35 -03:00
.scriptmessage {
overflow: hidden;
display: inline-block;
text-overflow: ellipsis;
vertical-align: middle;
max-width: 50px;
width: auto;
text-align: left;
2021-05-07 17:36:35 -03:00
@media (min-width: 376px) {
max-width: 90px;
}
@media (min-width: 476px) {
max-width: 180px;
}
@media (min-width: 576px) {
max-width: 260px;
}
@media (min-width: 768px) {
max-width: 400px;
}
@media (min-width: 850px) {
max-width: 522px;
}
@media (min-width: 992px) {
max-width: 190px;
}
@media (min-width: 1200px) {
max-width: 250px;
}
}
.scriptmessage.longer {
max-width: 230px;
@media (min-width: 376px) {
max-width: 290px;
}
@media (min-width: 476px) {
max-width: 380px;
}
@media (min-width: 576px) {
max-width: 470px;
}
@media (min-width: 768px) {
max-width: 850px;
}
@media (min-width: 992px) {
max-width: 410px;
}
@media (min-width: 1200px) {
max-width: 480px;
}
2021-06-06 17:06:56 -03:00
}
.tab-pane {
.card {
background-color: transparent;
padding: 0;
2021-06-06 17:06:56 -03:00
button {
text-align: left;
display: block;
width: 100%;
padding: 1rem 2rem;
2024-04-23 18:59:26 +02:00
color: #fff;
2021-06-06 17:06:56 -03:00
font-weight: bold;
&:focus, &:hover, &:active {
text-decoration: none;
outline: none;
box-shadow: none;
}
}
2021-06-06 17:06:56 -03:00
.card-header {
padding: 0;
}
2021-10-26 21:47:17 -03:00
.collapsed {
2024-04-04 15:36:24 +09:00
background-color: var(--secondary);
color: var(--info);
2021-06-06 17:06:56 -03:00
}
}
2021-06-06 17:06:56 -03:00
.subtitle {
font-weight: bold;
margin-bottom: 3px;
button {
padding: 0px !important;
}
}
}
2021-07-05 16:28:56 -03:00
.pagination-container {
display: inline-block;
width: 100%;
justify-content: space-between;
2024-04-04 15:36:24 +09:00
background: var(--bg);
2021-07-05 16:28:56 -03:00
margin: 0;
@media (min-width: 550px) {
width: auto;
}
ul {
justify-content: space-evenly !important;
margin: 0;
@media (min-width: 400px) {
width: auto;
}
}
2024-04-19 17:08:19 +02:00
.page-link {
background-color: var(--bg);
border: 1px solid var(--bg);
}
.page-link:hover {
background-color: var(--active-bg);
}
.page-item.active .page-link {
background-color: var(--tertiary);
border: 1px solid var(--tertiary);
}
.page-item.disabled .page-link {
background-color: var(--bg);
border: 1px solid var(--bg);
}
2021-07-07 16:20:17 -03:00
}
.fee-estimation-wrapper {
.tooltip.show {
width: 220px;
}
}
2021-11-11 15:49:47 -03:00
// Blinking block
@keyframes shadowyBackground {
0% {
2024-04-04 15:36:24 +09:00
box-shadow: -10px -15px 75px rgba($taproot, 1);
2021-11-11 15:49:47 -03:00
}
50% {
2024-04-04 15:36:24 +09:00
box-shadow: -10px -15px 75px rgba($taproot, .3);
2021-11-11 15:49:47 -03:00
}
100% {
2024-04-04 15:36:24 +09:00
box-shadow: -10px -15px 75px rgba($taproot, 1);
2021-11-11 15:49:47 -03:00
}
}
.blink-bg {
2024-04-23 18:59:26 +02:00
color: #fff;
2024-04-04 15:36:24 +09:00
background: repeating-linear-gradient($taproot-dark, $taproot-dark 0.163525%, $taproot-light 100%) !important;
2021-11-11 15:49:47 -03:00
animation: shadowyBackground 1s infinite;
2024-04-04 15:36:24 +09:00
box-shadow: -10px -15px 75px rgba($taproot, 1);
2021-11-11 15:49:47 -03:00
transition: 100ms all ease-in;
}
2022-07-07 14:00:54 +02:00
.page-item {
font-family: monospace;
2022-08-29 19:02:22 +02:00
}
#divider {
background-image: url("data:image/svg+xml,%3csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3e%3crect width='104%25' height='100%25' fill='none' stroke='white' stroke-width='4' stroke-dasharray='10%2c17' stroke-dashoffset='18' stroke-linecap='square'/%3e%3c/svg%3e");
2022-11-28 16:32:27 +09:00
}
.visually-hidden {
display: none;
}
2023-03-24 18:16:19 +09:00
2024-03-17 18:22:38 +09:00
app-master-page, app-liquid-master-page {
2023-03-24 18:16:19 +09:00
display: flex;
flex-direction: column;
min-height: 100vh;
2024-04-23 18:59:26 +02:00
padding-bottom: 56px;
2023-03-24 18:32:33 +09:00
@media (min-width: 992px) {
padding-bottom: 0px;
}
2023-03-24 18:16:19 +09:00
}
2023-05-05 02:06:48 +04:00
app-global-footer {
margin-top: auto;
2023-05-11 17:14:16 -05:00
}
2023-07-17 17:41:38 +09:00
.btn-xs {
padding: 0.25rem 0.5rem;
font-size: 0.875rem;
line-height: 0.5;
border-radius: 0.2rem;
}
2024-01-12 09:50:33 +07:00
.info-link fa-icon {
color: rgba(255, 255, 255, 0.4);
2024-01-24 00:15:10 +07:00
margin-left: 5px;
2024-01-12 09:50:33 +07:00
}
2024-04-15 12:35:15 +02:00
.dropdown-menu {
background-color: var(--bg);
2024-04-23 18:59:26 +02:00
color: var(--fg);
2024-04-20 00:57:59 +02:00
.dropdown-item:hover, .dropdown-item:focus {
2024-04-15 12:35:15 +02:00
background-color: var(--active-bg);
2024-04-23 18:59:26 +02:00
color: var(--fg);
2024-04-15 12:35:15 +02:00
}
}
.btn-secondary {
background-color: var(--secondary);
border-color: var(--secondary);
2024-04-22 12:36:43 +02:00
}
a {
color: var(--link-color);
&:hover {
color: var(--link-hover-color);
}
2024-04-23 18:59:26 +02:00
}
.badge-primary {
color: var(--fg);
background-color: var(--primary);
}
.badge-info {
background-color: var(--info);
}
2024-04-26 16:59:25 +02:00
.btn-primary {
color: var(--fg);
background-color: var(--primary);
border-color: var(--primary);
}