oxen-observer/static/style.css

338 lines
5.2 KiB
CSS

body {
margin: 0;
padding: 0;
font-size: 80%;
background-color: #1a1a1a;
font-family: sans-serif;
color: white;
}
h1, h2, h3, h4, h5, h6 {
text-align: left;
font-weight: normal;
margin-bottom: 0.2em;
}
.general_info {
font-size: 12px;
margin-top: 5px;
margin-bottom: 3px;
}
.info_list>span:not(:first-child):before {
content: " | ";
}
.info_list>span {
font-weight: bold;
}
.info_list>span>label {
font-weight: normal;
}
p>label, span>label, h3>label, h4>label, td>label, .info-item>label {
color: #30a532;
}
.nowrap-spans {
text-indent: -2em;
padding-left: 2em;
}
.nowrap-spans>span {
white-space: nowrap;
}
.info-item:before {
content: " | ";
white-space: nowrap;
}
.info-item {
word-wrap: break-word;
padding-left: 6em;
text-indent: -4em;
}
.info-item>label {
white-space: nowrap;
}
.Subtitle {
font-size: 1.0em;
color: rgba(255, 255, 255, 0.8);
margin: 0;
margin-top: 0.5em;
margin-bottom: 0.5em;
}
.PaginationControl,
.PageButton {
background-color: #008522;
min-height: 1.5em;
padding: 5px;
padding-top: 8px;
margin-right: 1em;
font-weight: bold;
font-size: 1em;
color: white;
border: none;
font-family: sans-serif;
}
.PageButton.disabled {
background-color: #808080;
}
.PaginationControl select {
font-size: inherit;
background-color: #1a1a1a;
color: #008522;
border: none;
padding: 0;
margin: 0;
}
.PageButton:hover {
background-color: #006a1b;
}
.PageButton.disabled:hover {
background-color: #707070;
}
.Wrapper {
width: 80%;
margin: auto;
}
.Header {
margin: 0;
}
.Header > a:link {
text-decoration: none;
color: white; !important
}
.Table {
width: 100%;
}
table thead tr,
.TableHeader {
font-weight: bold;
background-color: #008522;
}
.TitleUnderliner {
height: 2px;
width: 100%;
background-color: #008522;
margin-bottom: 1em;
}
.TitleDivider {
height: 2px;
width: 100%;
background-color: #008522;
margin: 1em 0;
}
.LinkNoUnderline {
text-decoration: none !important;
}
.LinkNoUnderline:hover {
color: white;
}
.center {
margin: auto;
width: 96%;
/*border: 1px solid #73AD21;
padding: 10px;*/
}
tr, li, #pages, .info {
height: 2em;
margin: auto;
}
#pages {
margin-top: 1em;
margin-bottom: 1em;
display: flex;
justify-content: center;
}
td {
text-align: center;
}
a:link, a:visited {
text-decoration: underline;
color: white;
}
a:hover {
text-decoration: underline;
color: #78be20;
}
form {
display: inline-block;
}
.style-1 input[type="text"] {
padding: 2px;
border: solid 1px rgba(255, 255, 255, 0.25);
background-color: #1a1a1a;
height: 2em;
width: 80%;
font-size: 1em;
color: white;
}
.style-1 input[type="text"]:focus,
.style-1 input[type="text"].focus {
border: solid 1px #008522;
}
h1, h2, h3, h4, h5, h6 { color: white; }
.tabs {
position: relative;
min-height: 220px; /* This part sucks */
clear: both;
margin: 25px 0;
}
.tab {
float: left;
}
.tab label {
background: rgba(0, 133, 34, 0.5);
padding: 10px;
margin-right: 2px;
margin-left: -1px;
position: relative;
left: 1px;
}
.tab [type=radio] {
display: none;
}
.content {
position: absolute;
top: 28px;
left: 0;
background: #1a1a1a;
right: 0;
bottom: 0;
padding-top: 20px;
padding-right: 20px;
padding-bottom: 20px;
border-top: 2px solid #008522;
}
[type=radio]:checked ~ label {
background: #008522 ;
z-index: 2;
}
[type=radio]:checked ~ label ~ .content {
z-index: 1;
}
input#toggle-1[type=checkbox] {
position: absolute;
/*top: -9999px;*/
left: -9999px;
}
label#show-decoded-inputs {
/*-webkit-appearance: push-button;*/
/*-moz-appearance: button;*/
/*margin: 60px 0 10px 0;*/
cursor: pointer;
display: block;
}
div#decoded-inputs{
}
/* Toggled State */
input#toggle-1[type=checkbox]:checked ~ div#decoded-inputs {
display: block;
}
.Table.metadata td {
text-align: left;
}
.Table.metadata label {
text-align: right;
display: inline-block;
width: 50%;
}
td.sn-more {
font-style: italic;
font-size: 125%;
}
p.state-change-pubkey {
font-size: 120%;
}
th.voter-signature, td.voter-signature {
max-width: 300px;
}
td.voter-signature {
overflow: hidden;
text-overflow: ellipsis;
}
td.quorum-pubkey span {
display: inline-block;
width: 80ex;
text-align: left;
}
th.subheader {
text-align: left;
border-bottom: 2px solid #008522;
}
td span.checkpoint-signed { color: #008522; }
td span.checkpoint-not-signed { color: #c50022; }
.omg {
font-weight: bold;
}
.pending-mempool-stakes .tx {
max-width: 100px;
overflow: hidden;
text-overflow: ellipsis;
}
h3 .sn-count {
font-weight: bold;
}
.TXType {
font-family: initial;
}
span.icon {
cursor: help;
}
.syntax-highlight>pre {
font-size: 125%;
overflow-x: auto;
tab-size: 4;
-o-tab-size: 4;
-moz-tab-size: 4;
border: 1px solid #008522;
padding: 10px;
}
.tx-inputs, .tx-outputs {
max-width: 1000px;
margin: auto;
}