IE theme looks more like html.a now

This commit is contained in:
Til Schmitter 2026-06-03 21:05:50 +02:00
parent e63dd45902
commit 72540e268e
3 changed files with 56 additions and 26 deletions

View file

@ -1,5 +1,6 @@
:root { :root {
color-scheme: dark; color-scheme: dark;
color: #b9bdc1;
--transparent: transparent; --transparent: transparent;
--font-mono: monospace; --font-mono: monospace;
@ -432,7 +433,7 @@ html,body,tr,th,td,#files,a,#blogout {
border: none; border: none;
} }
body { body {
background: #e4edf8; background: #1a1c20;
} }
@supports (background: var(--bg)) { @supports (background: var(--bg)) {
body { body {
@ -510,6 +511,7 @@ html .ayjump:focus-visible {
white-space: nowrap; white-space: nowrap;
overflow-x: auto; overflow-x: auto;
overflow-y: hidden; overflow-y: hidden;
background: #3a3d41;
background: var(--bg-u2); background: var(--bg-u2);
border-radius: 5px; border-radius: 5px;
border-radius: var(--radius); border-radius: var(--radius);
@ -579,6 +581,7 @@ html.y #path {
color: var(--tab-alt); color: var(--tab-alt);
} }
a, #blogout, #files tbody div a:last-child { a, #blogout, #files tbody div a:last-child {
color: #d7dbe0;
color: var(--fg); color: var(--fg);
padding: .2em; padding: .2em;
text-decoration: none; text-decoration: none;
@ -634,6 +637,7 @@ a:hover {
background: color-mix(in oklab, var(--a) 15%, transparent); background: color-mix(in oklab, var(--a) 15%, transparent);
} }
a.dir { a.dir {
color: #3584e4;
color: var(--a); color: var(--a);
} }
tr.dir td:nth-child(2) a::before { tr.dir td:nth-child(2) a::before {
@ -676,6 +680,7 @@ html.y #files tr.fade a {
color: rgba(0, 0, 0, 0.4); color: rgba(0, 0, 0, 0.4);
} }
#files tr:nth-child(2n) td { #files tr:nth-child(2n) td {
background: #24272b;
background: var(--row-alt); background: var(--row-alt);
} }
#files td+td { #files td+td {
@ -685,10 +690,12 @@ html.y #files tr.fade a {
box-shadow: 1px 0 0 0 rgba(128,128,128,var(--f-sh1)) inset, 0 1px 0 rgba(0,0,0,var(--f-sh3)) inset, 0 -1px 0 rgba(0,0,0,var(--f-sh3)) inset; box-shadow: 1px 0 0 0 rgba(128,128,128,var(--f-sh1)) inset, 0 1px 0 rgba(0,0,0,var(--f-sh3)) inset, 0 -1px 0 rgba(0,0,0,var(--f-sh3)) inset;
} }
#files td:first-child { #files td:first-child {
border-radius: 5px 0 0 5px;
border-radius: var(--radius) 0 0 var(--radius); border-radius: var(--radius) 0 0 var(--radius);
white-space: nowrap; white-space: nowrap;
} }
#files td:last-child { #files td:last-child {
border-radius: 0 5px 5px 0;
border-radius: 0 var(--radius) var(--radius) 0; border-radius: 0 var(--radius) var(--radius) 0;
} }
#files tbody td:nth-child(3) { #files tbody td:nth-child(3) {
@ -771,7 +778,7 @@ html.y #path a:hover {
display: none; display: none;
} }
.logue.raw { .logue.raw {
background: #ccc; background: #1a1c20;
background: var(--transparent); background: var(--transparent);
white-space: pre; white-space: pre;
font-family: 'scp', 'consolas', monospace; font-family: 'scp', 'consolas', monospace;
@ -934,7 +941,7 @@ tr.play td:nth-child(1) a {
} }
#ggrid>a { #ggrid>a {
display: inline-block; display: inline-block;
width: 10em; width: 9em;
width: var(--grid-sz); width: var(--grid-sz);
vertical-align: top; vertical-align: top;
overflow-wrap: break-word; overflow-wrap: break-word;
@ -954,9 +961,16 @@ tr.play td:nth-child(1) a {
background: var(--g-f-bg); background: var(--g-f-bg);
border-color: var(--g-f-b1); border-color: var(--g-f-b1);
box-shadow: 0 .1em .3em var(--g-sh); box-shadow: 0 .1em .3em var(--g-sh);
.gselchk { }
display: block; #ggrid>a:hover {
} background: #303337;
}
#ggrid>a:focus-visible .gselchk{
display: block;
}
#ggrid>a:hover .gselchk {
/* separate to allow IE to only use this rule */
display: block;
} }
#ggrid>a.play .thumb, #ggrid>a.play .thumb,
#ggrid>a.play img { #ggrid>a.play img {
@ -1117,7 +1131,7 @@ html:not(.e) #ggrid>a.thumbed.dir:before {
#ggrid>a.sel, #ggrid>a.sel,
#ggrid>a[tt].sel { #ggrid>a[tt].sel {
color: var(--g-sel-fg); color: var(--g-sel-fg);
background: #8af; background: #172e55;
background: var(--g-sel-bg); background: var(--g-sel-bg);
border-color: var(--g-sel-b1); border-color: var(--g-sel-b1);
} }
@ -1251,9 +1265,9 @@ html:not(.e) #ggrid>a.thumbed.dir:before {
.open #up_quick_more, .open #up_quick_more,
#wtoggle, #wtoggle,
#widgeti { #widgeti {
background: #cde; background: #2f3236;
background: var(--bg-u2); background: var(--bg-u2);
border: 1px solid #222; border: 1px solid #3a3d41;
border: 1px solid var(--bg-u3); border: 1px solid var(--bg-u3);
} }
#widgeti { #widgeti {
@ -1267,6 +1281,7 @@ html:not(.e) #ggrid>a.thumbed.dir:before {
line-height: 1.2em; line-height: 1.2em;
vertical-align: bottom; vertical-align: bottom;
padding: .05em .5em .1em .3em; padding: .05em .5em .1em .3em;
border-radius: 5px 0 0 0;
border-radius: var(--radius) 0 0 0; border-radius: var(--radius) 0 0 0;
pointer-events: all; pointer-events: all;
border-width: 1px 0 0 1px; border-width: 1px 0 0 1px;
@ -1298,6 +1313,7 @@ html:not(.e) #ggrid>a.thumbed.dir:before {
overflow-y: hidden; overflow-y: hidden;
margin: 0 .1em .1em .2em; margin: 0 .1em .1em .2em;
box-shadow: 0 0 .5em var(--mp-sh); box-shadow: 0 0 .5em var(--mp-sh);
border-radius: 5px;
border-radius: var(--radius); border-radius: var(--radius);
} }
#up_quick { #up_quick {
@ -1544,6 +1560,7 @@ html:not(.e):not(.d) #up_quick .btn.on {
} }
#barpos, #barpos,
#barbuf { #barbuf {
border-radius: 10px;
border-radius: var(--radius); border-radius: var(--radius);
position: absolute; position: absolute;
top: 0; top: 0;
@ -1728,8 +1745,9 @@ html.b #mu_outer {
#ops input[type=submit], #ops input[type=submit],
#ops a { #ops a {
/* fallback if emojis don't render */ /* fallback if emojis don't render */
border: #777 solid 1px; border: #3a3e42 solid 1px;
border-radius: 5px; border-radius: 5px;
min-width: 1em;
border: var(--transparent) solid 0px; border: var(--transparent) solid 0px;
color: #07c; color: #07c;
@ -1816,7 +1834,7 @@ html.y #ops svg circle {
/* aspect-ratio: 1 / 1; */ /* aspect-ratio: 1 / 1; */
min-width: 1.25em; min-width: 1.25em;
background: #ccc; background: #3584e4;
color: #000; color: #000;
background: var(--btn-1-bg); background: var(--btn-1-bg);
@ -1824,6 +1842,7 @@ html.y #ops svg circle {
color: var(--bg); color: var(--bg);
border: var(--btn-bg-a) solid 1px; border: var(--btn-bg-a) solid 1px;
border-radius: 5px;
border-radius: var(--radius); border-radius: var(--radius);
justify-content: center; justify-content: center;
display: flex; display: flex;
@ -1859,10 +1878,11 @@ html.y #ops svg circle {
.opview input[type=color], .opview input[type=color],
.opview input[type=date] { .opview input[type=date] {
color: var(--fg); color: var(--fg);
background: #222529;
background: var(--txt-bg); background: var(--txt-bg);
border: none; border: none;
box-shadow: 0 0 2px var(--txt-sh); box-shadow: 0 0 2px var(--txt-sh);
border-bottom: 1px solid #999; border-bottom: 1px solid #3584e4;
border-color: var(--a); border-color: var(--a);
border-radius: 5px; border-radius: 5px;
border-radius: var(--radius); border-radius: var(--radius);
@ -2111,28 +2131,29 @@ html {
z-index: 25; z-index: 25;
top: 0; top: 0;
bottom: 0; bottom: 0;
left: - 5px; margin-left: -5px;
left: calc(var(--nav-sz) - 5px);
width: 10px; width: 10px;
opacity: 0; opacity: 0;
background: #8888; background: #888;
cursor: ew-resize; cursor: ew-resize;
touch-action: none; touch-action: none;
user-select: none; user-select: none;
transition: opacity .1s; transition: opacity .1s;
} }
#reszbar:hover{ #reszbar:hover{
opacity: .6; opacity: .3;
} }
.resz, .resz,
.resz * { .resz * {
transition: none !important; transition: none !important;
} }
.btn { .btn {
color: #3584e4;
color: var(--btn-fg); color: var(--btn-fg);
background: #eee; background: rgba(70, 73, 77, 0.5);
background: var(--btn-bg); background: var(--btn-bg);
box-shadow: var(--btn-bs); box-shadow: var(--btn-bs);
border: 1px solid #3a3d41;
border: 1px solid var(--bg-u3); border: 1px solid var(--bg-u3);
border-bottom: var(--btn-bb); border-bottom: var(--btn-bb);
border-radius: 5px; border-radius: 5px;
@ -2235,6 +2256,7 @@ html.b .btn {
color: var(--fg-max); color: var(--fg-max);
} }
#tree ul a { #tree ul a {
border-radius: 5px;
border-radius: var(--radius); border-radius: var(--radius);
display: inline-block; display: inline-block;
vertical-align: middle; vertical-align: middle;
@ -2375,7 +2397,7 @@ html.b .btn {
} }
.ghead { .ghead {
position: sticky; position: sticky;
background: #fff; background: #1a1c20;
background: var(--bg-u2); background: var(--bg-u2);
border-radius: 5px; border-radius: 5px;
border-radius: var(--radius); border-radius: var(--radius);
@ -2426,13 +2448,16 @@ html.b .btn {
} }
.ghead details .setting { .ghead details .setting {
position: absolute; position: absolute;
background: #2f3236;
background: var(--bg-u2); background: var(--bg-u2);
border: 1px solid var(--bg-u3); border: 1px solid var(--bg-u3);
border-bottom: var(--btn-bb); border-bottom: var(--btn-bb);
border-radius: 5px;
border-radius: var(--radius); border-radius: var(--radius);
max-width: 11em; max-width: 11em;
max-height: 30vh; max-height: 30vh;
overflow-y: auto; overflow-y: auto;
z-index: 11;
} }
#hcol_content:has(#hcolsh.on) { #hcol_content:has(#hcolsh.on) {
margin-top: 3.5em; margin-top: 3.5em;
@ -3003,7 +3028,7 @@ html.y #bbox-overlay figcaption a {
border-radius: 10px; border-radius: 10px;
border-radius: var(--radius); border-radius: var(--radius);
border: var(--a) solid 1px; border: var(--a) solid 1px;
background: #fff; background: #1a1c20;
background: var(--bg); background: var(--bg);
max-width: 66.6em; max-width: 66.6em;
position: relative; position: relative;
@ -3029,13 +3054,13 @@ html.c .modalcontent {
.winbtn, .winbtn,
.close{ .close{
position: absolute; position: absolute;
cursor: default; cursor: pointer;
top: 0; top: 0;
right: 0; right: 0;
margin: .3em; margin: .3em;
color: var(--fg); color: var(--fg);
height: 1.8em; height: 1.8em;
aspect-ratio: 1 / 1; width: 1.8em;
text-align: center; text-align: center;
display: block; display: block;
padding: 0; padding: 0;
@ -3621,10 +3646,12 @@ details:not(.open) .setting {
} }
summary { summary {
cursor: pointer; cursor: pointer;
background: #ccc; background: #303337;
background: var(--bg-u1); background: var(--bg-u1);
color: #3584e4;
color: var(--a); color: var(--a);
padding: .3em; padding: .3em;
border-radius: 5px;
border-radius: var(--radius); border-radius: var(--radius);
font-size: large; font-size: large;
} }
@ -3662,7 +3689,7 @@ html.dz .opview input.i {
} }
#tree, #tree,
#treesuperh { #treesuperh {
background: #fff; background: #2f3236;
background: var(--bg-u2); background: var(--bg-u2);
} }
html.c #treepar, html.c #treepar,
@ -3814,6 +3841,7 @@ html.a * {
} }
html.a #path, html.a #path,
html.a #ops { html.a #ops {
background: #2f3236;
background: color-mix(in oklab, var(--bg-u5), transparent); background: color-mix(in oklab, var(--bg-u5), transparent);
} }
html.a #treepar { html.a #treepar {
@ -3823,6 +3851,7 @@ html.a #treepar {
} }
html.d #path i, html.d #path i,
html.a #path i { html.a #path i {
border-right: #3584e4 solid 2px;
border-right: var(--a) solid 2px; border-right: var(--a) solid 2px;
height: 1.5em; height: 1.5em;
margin: -.4em .3em -.4em -1.7em; margin: -.4em .3em -.4em -1.7em;
@ -3831,6 +3860,7 @@ html.dy .ghead,
html.a .ghead { html.a .ghead {
background: var(--bg); background: var(--bg);
padding: .2em 0; padding: .2em 0;
border-bottom: #303337 solid 1px;
border-bottom: var(--btn-bb); border-bottom: var(--btn-bb);
border-radius: 0; border-radius: 0;
margin: 0 -.5em 1.5em -.5em; margin: 0 -.5em 1.5em -.5em;
@ -5161,7 +5191,7 @@ html.e #actionsArea {
cursor: default; cursor: default;
pointer-events: all; pointer-events: all;
max-width: max-content; max-width: max-content;
background: #fff; background: #2f3236;
background: var(--transparent); background: var(--transparent);
} }
#rtt_latency { #rtt_latency {
@ -5182,7 +5212,7 @@ html.b #spaceUsed_bar {
#spaceTotal_bar { #spaceTotal_bar {
position: relative; position: relative;
margin-bottom: .5em; margin-bottom: .5em;
background: #ccc; background: #24272b;
background: var(--bg-u1); background: var(--bg-u1);
} }
#spaceMax { #spaceMax {

View file

@ -8156,6 +8156,7 @@ var treectl = (function () {
ebi('tree_footer').style.width = (iw - 2) + 'em'; ebi('tree_footer').style.width = (iw - 2) + 'em';
ebi('tree_footer').style.display = 'block'; ebi('tree_footer').style.display = 'block';
ebi('wrap').style.marginLeft = w; ebi('wrap').style.marginLeft = w;
ebi('reszbar').style.left = w;
ebi('widget').style.marginLeft = (iw /1.4) + 'em'; ebi('widget').style.marginLeft = (iw /1.4) + 'em';
onwidgetresize(); onwidgetresize();
setTimeout(onscroll, 1); setTimeout(onscroll, 1);

View file

@ -39,7 +39,6 @@ html {
} }
#middle { #middle {
display: flex; display: flex;
flex-direction: column;
margin: auto; margin: auto;
justify-content: center; justify-content: center;
} }