chore: initialize monorepo with project scaffolding, configs, and CI setup
This commit is contained in:
229
apps/explorer-web/public/css/layout.css
Normal file
229
apps/explorer-web/public/css/layout.css
Normal file
@ -0,0 +1,229 @@
|
||||
.site-header {
|
||||
background: rgba(22, 27, 34, 0.95);
|
||||
border-bottom: 1px solid rgba(125, 196, 255, 0.2);
|
||||
position: sticky;
|
||||
top: 0;
|
||||
z-index: 1000;
|
||||
}
|
||||
|
||||
.site-header__inner {
|
||||
margin: 0 auto;
|
||||
max-width: 1200px;
|
||||
padding: 0.75rem 1.5rem;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
align-items: center;
|
||||
gap: 1rem;
|
||||
}
|
||||
|
||||
.site-header__brand {
|
||||
font-weight: 600;
|
||||
font-size: 1.15rem;
|
||||
}
|
||||
|
||||
.site-header__title {
|
||||
flex: 1 1 auto;
|
||||
font-size: 1.25rem;
|
||||
color: rgba(244, 246, 251, 0.92);
|
||||
}
|
||||
|
||||
.site-header__controls {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.75rem;
|
||||
}
|
||||
|
||||
.data-mode-toggle {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.25rem;
|
||||
font-size: 0.85rem;
|
||||
}
|
||||
|
||||
.data-mode-toggle select {
|
||||
border-radius: var(--radius-sm);
|
||||
border: 1px solid var(--color-border);
|
||||
background: var(--color-surface);
|
||||
color: inherit;
|
||||
padding: 0.25rem 0.5rem;
|
||||
}
|
||||
|
||||
.data-mode-toggle small {
|
||||
color: var(--color-text-muted);
|
||||
}
|
||||
|
||||
.site-header__nav {
|
||||
display: flex;
|
||||
gap: 0.75rem;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.site-header__nav a {
|
||||
padding: 0.35rem 0.75rem;
|
||||
border-radius: 999px;
|
||||
transition: background 150ms ease;
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.site-header__nav a:hover,
|
||||
.site-header__nav a:focus {
|
||||
background: rgba(125, 196, 255, 0.15);
|
||||
}
|
||||
|
||||
.site-header__nav a:focus-visible {
|
||||
box-shadow: 0 0 0 2px rgba(125, 196, 255, 0.7);
|
||||
}
|
||||
|
||||
.page {
|
||||
margin: 0 auto;
|
||||
max-width: 1200px;
|
||||
padding: 2rem 1.5rem 4rem;
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.site-header__inner {
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.site-header__controls {
|
||||
width: 100%;
|
||||
justify-content: flex-start;
|
||||
}
|
||||
|
||||
.site-header__nav {
|
||||
width: 100%;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.site-header__nav a {
|
||||
flex: 1 1 auto;
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
|
||||
.section-header {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.5rem;
|
||||
margin-bottom: 1.5rem;
|
||||
}
|
||||
|
||||
.addresses__table,
|
||||
.blocks__table,
|
||||
.transactions__table,
|
||||
.receipts__table {
|
||||
background: rgba(18, 22, 29, 0.85);
|
||||
border-radius: 0.75rem;
|
||||
overflow: hidden;
|
||||
border: 1px solid rgba(125, 196, 255, 0.12);
|
||||
}
|
||||
|
||||
.overview__grid {
|
||||
display: grid;
|
||||
gap: 1.5rem;
|
||||
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
|
||||
}
|
||||
|
||||
.card {
|
||||
background: rgba(18, 22, 29, 0.85);
|
||||
border: 1px solid rgba(125, 196, 255, 0.12);
|
||||
border-radius: 0.75rem;
|
||||
padding: 1.25rem;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.5rem;
|
||||
}
|
||||
|
||||
.stat-list {
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.stat-list li + li {
|
||||
margin-top: 0.35rem;
|
||||
}
|
||||
|
||||
.addresses__search {
|
||||
display: grid;
|
||||
gap: 0.75rem;
|
||||
margin-bottom: 1.5rem;
|
||||
background: rgba(18, 22, 29, 0.7);
|
||||
border-radius: 0.5rem;
|
||||
padding: 1rem 1.25rem;
|
||||
border: 1px solid rgba(125, 196, 255, 0.12);
|
||||
}
|
||||
|
||||
.addresses__input-group {
|
||||
display: flex;
|
||||
gap: 0.75rem;
|
||||
}
|
||||
|
||||
.addresses__input-group input,
|
||||
.addresses__input-group button {
|
||||
border-radius: 0.5rem;
|
||||
border: 1px solid rgba(125, 196, 255, 0.25);
|
||||
padding: 0.5rem 0.75rem;
|
||||
background: rgba(12, 15, 20, 0.85);
|
||||
color: inherit;
|
||||
outline: none;
|
||||
transition: border-color 150ms ease, box-shadow 150ms ease;
|
||||
}
|
||||
|
||||
.addresses__input-group input:focus-visible {
|
||||
border-color: rgba(125, 196, 255, 0.6);
|
||||
box-shadow: 0 0 0 2px rgba(125, 196, 255, 0.3);
|
||||
}
|
||||
|
||||
.addresses__input-group button {
|
||||
cursor: not-allowed;
|
||||
}
|
||||
|
||||
.receipts__controls {
|
||||
display: grid;
|
||||
gap: 0.75rem;
|
||||
margin-bottom: 1.5rem;
|
||||
background: rgba(18, 22, 29, 0.7);
|
||||
border-radius: 0.5rem;
|
||||
padding: 1rem 1.25rem;
|
||||
border: 1px solid rgba(125, 196, 255, 0.12);
|
||||
}
|
||||
|
||||
.receipts__input-group {
|
||||
display: flex;
|
||||
gap: 0.75rem;
|
||||
}
|
||||
|
||||
.receipts__input-group input,
|
||||
.receipts__input-group button {
|
||||
border-radius: 0.5rem;
|
||||
border: 1px solid rgba(125, 196, 255, 0.25);
|
||||
padding: 0.5rem 0.75rem;
|
||||
background: rgba(12, 15, 20, 0.85);
|
||||
color: inherit;
|
||||
outline: none;
|
||||
transition: border-color 150ms ease, box-shadow 150ms ease;
|
||||
}
|
||||
|
||||
.receipts__input-group input:focus-visible {
|
||||
border-color: rgba(125, 196, 255, 0.6);
|
||||
box-shadow: 0 0 0 2px rgba(125, 196, 255, 0.3);
|
||||
}
|
||||
|
||||
.receipts__input-group button {
|
||||
cursor: not-allowed;
|
||||
}
|
||||
|
||||
.site-footer {
|
||||
margin: 0;
|
||||
border-top: 1px solid rgba(125, 196, 255, 0.2);
|
||||
background: rgba(22, 27, 34, 0.95);
|
||||
}
|
||||
|
||||
.site-footer__inner {
|
||||
margin: 0 auto;
|
||||
max-width: 1200px;
|
||||
padding: 1.25rem 1.5rem;
|
||||
color: rgba(244, 246, 251, 0.7);
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
Reference in New Issue
Block a user