217 lines
3.6 KiB
CSS
217 lines
3.6 KiB
CSS
.app {
|
|
padding: var(--spacer);
|
|
margin: 0 auto;
|
|
background: url('../../node_modules/@oceanprotocol/art/waves/waves.svg')
|
|
no-repeat center 13.5rem;
|
|
min-height: 100vh;
|
|
}
|
|
|
|
@media screen and (min-width: 50rem) {
|
|
.app {
|
|
padding: calc(var(--spacer) * 2);
|
|
}
|
|
}
|
|
|
|
.header,
|
|
.content,
|
|
.footer {
|
|
max-width: 70rem;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.footer {
|
|
padding: var(--spacer) 0;
|
|
}
|
|
|
|
.title {
|
|
margin-bottom: calc(var(--spacer) / 4);
|
|
font-size: 3rem;
|
|
}
|
|
|
|
.title,
|
|
.description {
|
|
text-align: center;
|
|
}
|
|
|
|
.description {
|
|
font-size: var(--font-size-large);
|
|
margin: 0 auto;
|
|
max-width: 50rem;
|
|
}
|
|
|
|
.grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
|
|
gap: var(--spacer);
|
|
}
|
|
|
|
.networkName {
|
|
margin-top: calc(var(--spacer) * 3);
|
|
margin-bottom: var(--spacer);
|
|
text-transform: capitalize;
|
|
line-height: 1;
|
|
}
|
|
|
|
.card {
|
|
padding: 1.5rem;
|
|
text-align: left;
|
|
color: inherit;
|
|
text-decoration: none;
|
|
background: var(--background-content);
|
|
border-radius: var(--border-radius);
|
|
box-shadow: 0 6px 17px 0 var(--box-shadow-color);
|
|
border: 1px solid var(--border-color);
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.titleComponent {
|
|
font-size: var(--font-size-large);
|
|
margin: 0;
|
|
width: 100%;
|
|
}
|
|
|
|
.titleComponent a {
|
|
color: inherit;
|
|
}
|
|
|
|
.titleComponent a:hover,
|
|
.titleComponent a:focus {
|
|
color: var(--color-primary);
|
|
}
|
|
|
|
.links {
|
|
width: calc(100% + 1rem);
|
|
margin-top: calc(var(--spacer) / 2);
|
|
font-size: var(--font-size-small);
|
|
text-align: right;
|
|
margin-bottom: -1.2rem;
|
|
margin-right: -1rem;
|
|
align-self: flex-end;
|
|
}
|
|
|
|
.links svg {
|
|
display: inline-block;
|
|
stroke: var(--color-secondary);
|
|
width: 1.2em;
|
|
height: 1.2em;
|
|
}
|
|
|
|
.links a:hover svg,
|
|
.links a:focus svg {
|
|
stroke: var(--color-primary);
|
|
}
|
|
|
|
.degraded {
|
|
border-color: var(--brand-alert-yellow);
|
|
}
|
|
|
|
.outage {
|
|
border-color: var(--brand-alert-red);
|
|
}
|
|
|
|
.version {
|
|
color: var(--color-secondary);
|
|
font-size: var(--font-size-small);
|
|
margin-left: calc(var(--spacer) / 4);
|
|
}
|
|
|
|
.logo {
|
|
fill: var(--font-color-heading);
|
|
height: 4rem;
|
|
width: 4rem;
|
|
margin: 0 auto calc(var(--spacer) / 2) auto;
|
|
}
|
|
|
|
.icon {
|
|
display: inline-block;
|
|
margin-right: calc(var(--spacer) / 6);
|
|
}
|
|
|
|
.check {
|
|
fill: var(--brand-alert-green);
|
|
}
|
|
|
|
.messages {
|
|
width: 100%;
|
|
list-style-type: square;
|
|
margin-left: 1rem;
|
|
margin-top: calc(var(--spacer) / 4);
|
|
color: var(--color-secondary);
|
|
font-size: var(--font-size-small);
|
|
}
|
|
|
|
.messages li {
|
|
display: list-item;
|
|
margin-top: calc(var(--spacer) / 8);
|
|
list-style-position: outside;
|
|
}
|
|
|
|
.degraded .messages {
|
|
color: var(--brand-alert-orange);
|
|
}
|
|
|
|
.outage .messages {
|
|
color: var(--brand-alert-red);
|
|
}
|
|
|
|
.contracts {
|
|
margin-top: var(--spacer);
|
|
}
|
|
|
|
.contracts summary {
|
|
cursor: pointer;
|
|
}
|
|
|
|
.contracts .titleComponent {
|
|
display: inline-block;
|
|
width: auto;
|
|
margin-bottom: calc(var(--spacer) / 2);
|
|
}
|
|
|
|
.contracts li {
|
|
padding: calc(var(--spacer) / 6) calc(var(--spacer) / 2);
|
|
border-top: 1px solid var(--border-color);
|
|
}
|
|
|
|
.contracts li:hover {
|
|
background: var(--background-highlight);
|
|
}
|
|
|
|
.contracts li:last-child {
|
|
border-bottom: 1px solid var(--border-color);
|
|
}
|
|
|
|
.contracts li code {
|
|
display: block;
|
|
word-wrap: break-word;
|
|
overflow-wrap: break-word;
|
|
white-space: pre-wrap;
|
|
}
|
|
|
|
@media screen and (min-width: 55rem) {
|
|
.contracts li {
|
|
display: grid;
|
|
grid-template-columns: 2fr 4fr;
|
|
}
|
|
}
|
|
|
|
.contracts .key {
|
|
font-weight: var(--font-weight-bold);
|
|
}
|
|
|
|
.loading {
|
|
margin-top: 30vh;
|
|
text-align: center;
|
|
}
|
|
|
|
.date {
|
|
display: inline;
|
|
margin-left: calc(var(--spacer) / 4);
|
|
font-size: var(--font-size-small);
|
|
color: var(--color-secondary);
|
|
text-transform: lowercase;
|
|
font-family: var(--font-family-base);
|
|
font-weight: var(--font-weight-base);
|
|
}
|