Skip to content

Commit

Permalink
Console: dark theme cosmetics
Browse files Browse the repository at this point in the history
  • Loading branch information
vituperative committed Jan 21, 2025
1 parent 6954e21 commit e1681ae
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions installer/resources/themes/console/dark/console.css
Original file line number Diff line number Diff line change
Expand Up @@ -2467,7 +2467,7 @@ a[href^="/netdb"]:hover span{color:var(--hover)}
#routerinformation tr:nth-child(n+2) a:not(#revision){display:none}
#routerinformation table:hover tr:nth-child(n+2) a:not(#revision){display:inline}
#routerinformation #upnpstatus{margin:12px 0 0}
#cputype{margin:-2px 0 -2px 0;padding:2px 8px 1px 26px;display:inline-block;vertical-align:text-top;line-height:1.4;font-weight:700;text-transform:uppercase;border-radius:2px;background:#030 var(--cpu) no-repeat 4px center/16px}
#cputype{margin:-2px 0 -2px 0;padding:2px 8px 1px 26px;display:inline-block;vertical-align:text-top;line-height:1.4;font-weight:600;text-transform:uppercase;text-shadow:var(--txt_shadow);border-radius:2px;background:#030 var(--cpu) no-repeat 4px center/16px}
#routerinformation h3#version::before,#routerinformation #enviro+h3::before,#routerinformation h3#transports::before{margin:0 7px 0 2px;width:16px;height:16px;display:inline-block;vertical-align:middle;background:url(images/favicon.svg) no-repeat center center/16px;content:"";filter:saturate(.5)}
#routerinformation #enviro+h3::before{background-image:url(/themes/console/images/server.svg)}
#routerinformation h3#transports::before{background-image:url(/themes/console/images/globe.svg)}
Expand Down Expand Up @@ -2522,7 +2522,13 @@ table[id$="logs"] ul{margin:-6px 12px -5px -18px}
#logs li:nth-child(odd){border-left:2px solid #030;background:rgba(0,8,0,.4)}
#logs li:last-child{border-bottom:1px solid #001800}
#logs li:hover{text-shadow:var(--textshadow);box-shadow:inset 0 0 0 1px rgba(192,192,0,.4),inset 0 0 0 2px #000;border-color:rgba(192,192,0,.4);background:repeating-linear-gradient(90deg,rgba(0,0,0,.3) 2px,rgba(96,96,0,.3) 4px),repeating-linear-gradient(180deg,#002800 2px,#010 4px);background-size:4px 100%,100% 4px}
#logs li::before{margin-left:0;margin-right:5px;content:"";display:inline-block;width:6px;height:6px;vertical-align:calc(1px);color:#777;border-radius:50%;filter:saturate(1);transform:none;animation:linear ping .1s}
#logs li a:not(:hover){color:inherit}
#logs li a[href^="/netdb?ip"]::before{width:14px;background:url(/themes/console/images/globe.svg) no-repeat center center/14px}
#logs li a[href^="/netdb?l="]::before{margin:0 1px 0 -3px;white-space:nowrap;background:var(--key) no-repeat center center/12px}
#logs li a[href^="/netdb?r="]::before{background:var(--client) no-repeat center center/16px}
#logs li:hover span{text-shadow:none;box-shadow:none}
#logs li a::before{margin:0 3px 0 0;width:16px;height:16px;display:inline-block;vertical-align:text-bottom;content:"";mix-blend-mode:luminosity}
#logs .nologs{padding:5px 10px 7px}
#logs table{position:relative}
#logs table::before{width:calc(100% - 16px);transform:scaleX(0);height:2px;position:absolute;top:1px;left:8px;z-index:999;display:block;background:linear-gradient(to right,rgba(255,96,0,.3),#f50,rgba(255,96,0,.3));content:"";animation:bar .01s steps(2) reverse;backface-visibility:hidden;will-change:transform}
Expand Down Expand Up @@ -2550,13 +2556,6 @@ table[id$="logs"] ul{margin:-6px 12px -5px -18px}
#logRefreshInterval{margin:-1px -2px -1px 0;padding-left:28px;width:50px;background:#000 var(--refresh) no-repeat 6px center/16px}
#logRefreshInterval:focus,#logFilterInput:focus{box-shadow:var(--btn_shadow_active);filter:none!important;caret-color:#225;background-blend-mode:normal}
#logRefreshInterval:focus{background:var(--refresh) no-repeat 6px center/16px,var(--input_txt)}
#logs li::before{margin-left:0;margin-right:5px;content:"";display:inline-block;width:6px;height:6px;vertical-align:calc(1px);color:#777;border-radius:50%;filter:saturate(1);transform:none;animation:linear ping .1s}
#logs li a[href^="/netdb?l="]{white-space:nowrap}
#logs li a:not(:hover){color:inherit}
#logs li a::before{margin:0 3px 0 0;width:16px;height:16px;display:inline-block;vertical-align:text-bottom;content:"";mix-blend-mode:luminosity}
#logs li a[href^="/netdb?r="]::before{background:var(--client) no-repeat center center/16px}
#logs li a[href^="/netdb?ip"]::before{width:14px;background:url(/themes/console/images/globe.svg) no-repeat center center/14px}
#logs li a[href^="/netdb?l="]::before{margin:0 1px 0 -3px;background:var(--key) no-repeat center center/12px}

/* h1 */
h1::first-letter{margin-right:1px;font-size:110%}
Expand Down Expand Up @@ -2621,7 +2620,7 @@ body.hasExpandedElement #configinfo tr.config:not(.expanded) th{color:#770;trans
#configinfo tr:not(.config) td{border:1px solid #131;border-bottom-width:0;border-top:0}
#configinfo tr.section{margin-bottom:-1px;display:table-row!important;display:inline-block!important;border:1px solid #131}
#configinfo tr.section~tr.section{margin-top:15px}
#configinfo tr.section th{padding:8px 12px;line-height:1;text-transform:uppercase;letter-spacing:.08em;font-family:var(--bodyfont);color:var(--ink);text-shadow:1px 1px 1px #0004;background:#131}
#configinfo tr.section th{padding:8px 12px;line-height:1;text-transform:uppercase;letter-spacing:.08em;font-family:var(--bodyfont);color:var(--ink);text-shadow:var(--txt_shadow);background:#131}

#fullhistory a{display:inline-block;line-height:1.6;font-size:90%}
#fullhistory a:hover{color:var(--hover)}
Expand Down

0 comments on commit e1681ae

Please sign in to comment.