body { padding: 2em 0 4em; margin: 0; box-sizing: border-box; font-family: sans-serif; font-size: 140%; background-image: url('assets/Dash-logo.svg'), linear-gradient(to bottom right, hsl(208, 73%, 43%), hsl(208, 86.5%, 21.5%)); background-size: 50vmin auto, cover; background-position: center; background-attachment: fixed; background-repeat: no-repeat; background-color: hsl(208, 73%, 43%); color: white; min-height: 100vh; overflow: hidden; } * { box-sizing: inherit; } a { color: inherit; text-decoration: none; } #transactionList { padding: 0 1em; } #connectionStatus.is-connected ~ #transactionList:empty:before { content: 'Waiting for first transaction...'; display: block; text-align: center; font-size: 2em; opacity: 0.5; } .tx { position: relative; margin: 4px auto; border-radius: 4px; width: 20em; min-width: 80%; max-width: 100%; z-index: 1; } .txValue { display: block; flex: 0 0 auto; line-height: 1.25; } .txOutputs { display: flex; flex-wrap: nowrap; flex-direction: row; align-content: stretch; } .txOut { position: relative; flex: 1 1 auto; border-bottom: 2px solid white; border-width: 0 2px 2px 0; text-align: right; height: 0.25em; } .txOut:after { content: ''; width: 2px; height: 0.75em; background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,0.5) 80%, white); position: absolute; right: 0; bottom: 0; } .blockDivider { display: block; margin: 1em -1em -1.5em; background: linear-gradient(to top, rgba(255,255,255,0), rgba(255,255,255,0.125)); padding: 0.125em 1em 1.5em; color: rgba(0,0,0,0); text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .blockDivider:hover, .blockDivider:focus { color: inherit; } #muteToggle, #connectionStatus { position: fixed; top: 0; width: 8em; background: white; border: solid black; padding: 0.5em; font-size: 0.8em; text-transform: uppercase; font-weight: bold; text-align: center; color: black; } #muteToggle { left: 0; border-radius: 0 0 0.5em 0; border-width: 0 0.1em 0.1em 0; transition: opacity 0.5s; transition-delay: 1s; opacity: 0; cursor: pointer; } #muteToggle:hover { opacity: 1; transition-delay: 0s; } #muteToggle:before { content: 'Mute'; } #muteToggle.is-muted:before { content: 'Un-mute'; } #connectionStatus { right: 0; border-radius: 0 0 0 0.5em; border-width: 0 0 0.1em 0.1em; transition: transform 0.5s; transform: none; } #connectionStatus.is-disconnected:before { content: 'Disconnected'; color: red; } #connectionStatus.is-connecting:before { content: 'Connecting...'; color: black; } #connectionStatus.is-connected:before { content: 'Connected'; color: green; } #connectionStatus.is-connected { transition: transform 0.5s; transition-delay: 2s; transform: translate3d(0, -100%, 0); }