|
1 | | -/* Load after site-doc-layout (head-meta). Markup: navbar-item adt-header-icon-btn adt-header-site-logo |
2 | | - (same as other top bar icon buttons) + adt-header-site-logo for per-site / per-logo overrides. */ |
3 | | -/* Dark: light “button” fill so the full control matches the other top bar hit targets. */ |
4 | | -html.dark-theme .header.adt-header .navbar .navbar-item.adt-header-icon-btn.adt-header-site-logo, |
5 | | -html.dark-theme .header.adt-header .navbar a.adt-header-icon-btn.adt-header-site-logo { |
6 | | - background: #eef0f3 !important; |
7 | | - background-color: #eef0f3 !important; |
8 | | - box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1) !important; |
9 | | -} |
10 | | - |
11 | | -html.dark-theme .header.adt-header .navbar .adt-header-icon-btn.adt-header-site-logo:hover { |
12 | | - background: #dde1e6 !important; |
13 | | - background-color: #dde1e6 !important; |
14 | | - box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12) !important; |
15 | | -} |
16 | | - |
17 | | -/* site-doc-layout uses :focus { background: transparent } on all icon btn — re-apply the tile for the site logo. */ |
18 | | -html.dark-theme .header.adt-header .navbar .adt-header-icon-btn.adt-header-site-logo:focus, |
19 | | -html.dark-theme .header.adt-header .navbar .adt-header-icon-btn.adt-header-site-logo:focus-visible { |
20 | | - background: #eef0f3 !important; |
21 | | - background-color: #eef0f3 !important; |
22 | | -} |
23 | | - |
24 | | -/* antora-dark-theme: do not recolor the SVG */ |
| 1 | +/* Load after site-doc-layout (head-meta). Markup: navbar-item adt-header-icon-btn |
| 2 | + adt-header-site-logo — same as other top bar icon buttons. Optional hook: .adt-header-site-logo. */ |
| 3 | +/* In dark mode the logo button uses the same transparent bar as GitHub / theme (no light tile). */ |
| 4 | +/* antora-dark-theme ships filter on .adt-header-logo; keep the real SVG colors. */ |
25 | 5 | html.dark-theme .adt-header-site-logo .adt-header-logo, |
26 | 6 | html.dark-theme .adt-header-icon-btn.adt-header-site-logo .adt-header-logo, |
27 | 7 | html.dark-theme .adt-header-icon-btn.adt-header-site-logo > img { |
|
0 commit comments