website: snap

This commit is contained in:
nym21
2026-04-06 22:30:02 +02:00
parent 02f543af38
commit e91f1386b1
35 changed files with 872 additions and 895 deletions
+10 -6
View File
@@ -54,11 +54,11 @@ aside {
/*overflow-y: auto;*/
flex: 1;
@media (max-width: 767px) {
html[data-layout="mobile"] & {
padding-bottom: calc(var(--main-padding) + 0.5rem);
}
@media (min-width: 768px) {
html[data-layout="desktop"] & {
border-left: 1px;
order: 2;
}
@@ -75,7 +75,7 @@ body {
flex-direction: column;
position: relative;
@media (min-width: 768px) {
html[data-layout="desktop"] & {
flex-direction: row;
html[data-display="standalone"] & {
@@ -267,9 +267,13 @@ summary {
}
}
@media (min-width: 768px) {
.md\:hidden {
display: none !important;
html[data-layout="desktop"] .md\:hidden {
display: none !important;
}
#pin-button {
@media (max-width: 767px) {
display: none;
}
}
+3 -3
View File
@@ -34,13 +34,13 @@ main {
);
}
@media (max-width: 767px) {
html[data-layout="mobile"] & {
flex: 1;
min-height: 0;
width: 100% !important;
}
@media (min-width: 768px) {
html[data-layout="desktop"] & {
min-width: 300px;
width: var(--default-main-width);
max-width: 65dvw;
@@ -134,7 +134,7 @@ main {
border-color: var(--off-color) !important;
}
@media (min-width: 768px) {
html[data-layout="desktop"] & {
display: block;
}
}
+131
View File
@@ -217,5 +217,136 @@
text-align: right;
word-break: break-all;
}
.transactions {
margin-top: 1rem;
.tx-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 0.5rem;
h2 {
font-size: var(--font-size-sm);
line-height: var(--line-height-sm);
}
}
.pagination {
display: flex;
align-items: center;
gap: 0.5rem;
button {
color: var(--off-color);
&:disabled {
opacity: 0.25;
pointer-events: none;
}
}
}
.tx {
border: 1px solid var(--border-color);
padding: 0.5rem;
margin-bottom: 0.5rem;
.tx-head {
display: flex;
justify-content: space-between;
gap: 0.5rem;
margin-bottom: 0.5rem;
padding-bottom: 0.5rem;
border-bottom: 1px solid var(--border-color);
.txid {
font-family: Lilex;
font-size: var(--font-size-xs);
line-height: var(--line-height-xs);
color: var(--off-color);
overflow: hidden;
text-overflow: ellipsis;
}
.tx-time {
flex-shrink: 0;
opacity: 0.5;
}
}
.tx-body {
display: flex;
gap: 0.5rem;
font-size: var(--font-size-xs);
line-height: var(--line-height-xs);
}
.tx-inputs,
.tx-outputs {
flex: 1;
min-width: 0;
display: flex;
flex-direction: column;
gap: 0.125rem;
}
.tx-outputs {
padding-left: 0.5rem;
border-left: 1px solid var(--border-color);
}
.tx-io {
display: flex;
justify-content: space-between;
gap: 0.5rem;
.addr {
display: flex;
min-width: 0;
white-space: nowrap;
color: var(--off-color);
.addr-head {
overflow: hidden;
text-overflow: ellipsis;
}
.addr-tail {
flex-shrink: 0;
}
&.coinbase {
color: var(--orange);
}
&.op-return {
opacity: 0.5;
}
}
.amount {
flex-shrink: 0;
text-align: right;
}
}
.tx-foot {
display: flex;
justify-content: space-between;
gap: 0.5rem;
margin-top: 0.5rem;
padding-top: 0.5rem;
border-top: 1px solid var(--border-color);
opacity: 0.5;
.total {
opacity: 1;
color: var(--orange);
}
}
}
}
}
}