Skip to content

tiski's BlockDAG Explorer by xchng

Screenshot of tiski's BlockDAG Explorer

Details

Authorxchng

LicenseNo License

Categorybdagscan.com

Created

Updated

Size7.9 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

A userstyle for the BlockDAG Explorer (alpha testnet)

Notes

This is a proposal for the BLockDAG Explorer. This is not for production since it is far from being finished. It's pure for indicative purposes to see what a refreshed, lighter theme looks like. There are many more improvements I'd like to achieve, but for that I need access to the front-end repository and possibly also redesign portion of the brand identity.

Source code

/* ==UserStyle==
@name           tiski's blockdag explorer?
@namespace      github.com/openstyles/stylus
@version        1.0.0
@description    A userstyle for the blockdag explorer (alpha testnet)
@author         tiski (tiski@xch.ng)
==/UserStyle== */
@-moz-document domain("bdagscan.com") {

    @import url('https://fonts.googleapis.com/css2?family=Afacad+Flux:wght@100..1000&display=swap');

    .afacad-flux-tiski {
        font-family: "Afacad Flux", sans-serif;
        font-optical-sizing: auto;
        font-weight: 300;
        font-style: normal;
        font-variation-settings: "slnt" 0;
    }
    body {
        background: #cedbe5 url("https://www.toptal.com/designers/subtlepatterns/uploads/45degreee_fabric.png") !important;
    }
    /* vars */
    .color-blue {
        color: #0094FF !important;
    }
    /* logo area*/
    .style_sidebar__bCJrI .style_logo__rR_Sx img {
        min-width: unset;
        height: unset;
        width: unset;
        opacity: unset;
    }
    .style_sidebar__bCJrI .style_logo__rR_Sx {
        height: calc(var(--1)*183);
    }
    a.__className_27f603:nth-child(2) > span:nth-child(2) {
        display: none;
    }
    a.__className_27f603:nth-child(2) {
        width: 200px;
        margin: 0 auto;
    }
    .style_sideFoot__XLKfI > p:nth-child(2) {
        color: #0d0d0d;
    }
    /* topBar */
    .style_topbar__23s_z {
        background: #fff;
        border: none;
    }
    html body.__className_252da5.antialiased main.style_main__zYIqd div.style_wrapper__OhGxi div.style_topbar__23s_z p.__className_27f603 {
        font-size: 2em;
    }
    /* gradient in topBar */
    .style_cubeArea__3dufe > span {
        display: none;
    }
    .style_cube__xEZUG {
        opacity:0.2;
    }
    .style_topbar__23s_z{
        /* background: #fff url("https://roffanova.com/img/character.png") !important; */
        background-repeat: no-repeat !important;
        background-position-x: right 20px !important;
        background-position-y: center !important;
        background-size: 130px !important;
    }
    .style_topbar__23s_z > p:nth-child(1) {
        color: #0D0D0D;
    }
    .__className_27f603 {
        font-family: "Afacad Flux", sans-serif !important;
        font-weight: 300 !important;
    }
    .style_search__041vg > input:nth-child(1),
    .style_selectedMethod__s6kr8 {
        background: #eee !important;
        color: #0D0D0D !important;
        font-weight: 600 !important;
    }
    .style_topbar__23s_z .style_searchArea__3RRWt .style_search__041vg .style_searchIcon__zCc_G svg {
        color: #0094FF;
    }    
    /* sideBar */
    .style_nav__9IN5s {
        border: none !important;
        background: #fff !important;
        box-shadow: none !important;
    }
    .style_active__32VXW {
        color: #fff !important;
    }
    /* navItems*/
    .style_sidebar__bCJrI ul.style_nav__9IN5s li a {
        color: #0D0D0D;
    }
    /* dashboardSummary */
    /* dashboardSummary title */
    section.style_section__09_zn:nth-child(2) > div:nth-child(1),
    section.style_section__09_zn:nth-child(3) > div:nth-child(1) {
        font-size: 1em !important;
        border: unset !important;
        border-bottom: 1px solid #fff !important;
        background: #0094FF !important;
        background: linear-gradient(45deg, rgba(0,148,255,1) 0%, rgba(0,148,255,1) 35%, rgba(0,65,112,1) 100%) !important;
    }
    /* dashboardSummary title content */
    section.style_section__09_zn:nth-child(2) > div:nth-child(1) > span > p,
    section.style_section__09_zn:nth-child(3) > div:nth-child(1) > span:nth-child(1) > p:nth-child(1) > span > p,
    section.style_section__09_zn:nth-child(3) > div:nth-child(1) > span:nth-child(1) > p:nth-child(1) {
        color: #fff !important;
        font-weight: 600 !important;
        height: unset !important;
    }
    section.style_section__09_zn:nth-child(n) > div:nth-child(1) > span:nth-child(1) > p:nth-child(1)::before {
        background-color: #fff !important;
    }
    /* dashboardSummary content*/
    section.style_section__09_zn > div,
    section.style_section__09_zn > div {
        background: #fff !important;
        color: #0d0d0d !important;
        border: none;
    }
    .style_overview__iPKe6 {
        border: unset !important;
    }
    section.style_section__09_zn > div {
        border: unset !important;
    }
    div.box > div:nth-child(2) {
        margin-top: 5px;
    }
    div.box > div > p,
    .style_chartTop__VIyMD > div > p {
        font-size: 1.5em !important;
        font-weight: 600 !important;
        color: #0d0d0d !important;
    }
    div.box > div > p:nth-child(2),
    .style_chartTop__VIyMD > div:nth-child(2) > p:nth-child(2) {
        font-size: 3em !important;
        font-weight: 200 !important;
    }
    html body.__className_252da5.antialiased main.style_main__zYIqd div.style_wrapper__OhGxi section.style_section__09_zn div.style_content__18REd div.style_tableTabs__xK876 a.style_tableTabItem__W8PUY {
        color: #0094FF;
        opacity: 1;
    }
    a.style_tableTabItem__W8PUY.style_active__ZB_gd {
        color: #fff !important;
    }
    div.box p {
        color: #0d0d0d !important;
    }
    .style_icon__jwMyF svg {
        width: 50px !important;
        height: inherit !important;
    }
    .style_tablegasscale__ySPak {
        background: #ccc;
    }
    div.style_tablerow__UWT7Y > div:nth-child(2) {
        background: #0094FF;
        color: #fff;
        border: none;
    }
    section.style_section__09_zn > div:nth-child(1) > span:nth-child(1) > p:nth-child(1)::before {
        background: #0094FF !important;
    }
    .style_tableTabs__xK876 {
        border-bottom: none;
    }

    /* latest */
    .style_table__UOflo {
        background: unset !important;
    }
    div.style_tablerow__UWT7Y:nth-child(odd) {
        background: #eee;
        color: #0d0d0d !important;
        border: unset;
    }
    div.style_tablerow__UWT7Y:nth-child(even) {
        background: #fff;
        color: #0d0d0d !important;
        border: unset;
    }
    div.style_tablerow__UWT7Y > div > div > div {
        color: #0d0d0d !important
    }
    section.style_section__09_zn:nth-child(6) > div:nth-child(1) > span:nth-child(1) > p:nth-child(1) {
        color: #0094FF;
        height: unset;
    }
    section.style_section__09_zn:nth-child(6) > div:nth-child(1) > span:nth-child(1) > p:nth-child(1)::before {
        background-color: #0094FF !important;
    }
    /* total */
    .style_section__09_zn .style_titleArea__Qk6S5 {
        border: unset;
        background: #fff;
        color: #0d0d0d;
    }
    .style_footer__gp24T {
        background: #0d0d0d;
    }
    /* transaction summary */
    div.style_content__18REd > div > div > div:nth-child(2) > p.style_title__VJGg6.__className_27f603.color-blue.style_md__tEuBB.uppercase {
        color:#0d0d0d !important;
    }
    .style_wrapper__OhGxi > section > div.style_content__18REd > div > div > div:nth-child(2) > p.style_text__Z44aT.color-white.font-weight-400.style_md__ZQhe4 {
        color: #0d0d0d;
    }
    .style_wrapper__OhGxi > section:nth-child(4) > div > span > p {
        color: #0d0d0d;
    }
    .style_summary__qWA7Q .style_summaryItem__TbqRL .style_icon__XfSuE svg viewbox {
        width: 150px;
    }
    .style_left__4wkkl > a {
        background: #0094FF !important;
        color: #fff;
        opacity:0.5!important;
    }
    .style_right__Eqbj0 > a {
        background: #0094FF !important;
        color: #fff;
    }
    .style_dropdown__DHb_P > a:nth-child(2) {
        background: #fff;  
        color: #0094FF;
    }
}

Reviews

No reviews yet.