style: use DECODE brand blue (#283273) for logo, sort toggle, details button
Browse files- build_network.py +3 -3
build_network.py
CHANGED
|
@@ -280,7 +280,7 @@ body {{ font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans
|
|
| 280 |
.sort-btn {{ flex: 1; padding: 4px 0; font-size: 11px; font-weight: 500; border: 1px solid #ddd; background: #f8f8f8; cursor: pointer; color: #777; transition: all 0.12s; }}
|
| 281 |
.sort-btn:first-child {{ border-radius: 4px 0 0 4px; }}
|
| 282 |
.sort-btn:last-child {{ border-radius: 0 4px 4px 0; }}
|
| 283 |
-
.sort-btn.active {{ background: #
|
| 284 |
|
| 285 |
.sidebar-list {{ flex: 1; overflow-y: auto; }}
|
| 286 |
|
|
@@ -310,7 +310,7 @@ body {{ font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans
|
|
| 310 |
.tabs {{ position: absolute; bottom: 16px; left: 24px; z-index: 10; display: flex; gap: 4px; }}
|
| 311 |
.tab-btn {{ padding: 6px 14px; font-size: 12px; font-weight: 500; border: 1px solid #ddd; background: #fff; border-radius: 6px; cursor: pointer; color: #555; transition: all 0.15s; }}
|
| 312 |
.tab-btn:hover {{ background: #f0f0f0; }}
|
| 313 |
-
.tab-btn.active {{ background: #
|
| 314 |
|
| 315 |
.details-panel {{ position: absolute; bottom: 0; left: 0; right: 0; z-index: 20; background: #fff; border-top: 1px solid #e0e0e0; box-shadow: 0 -4px 20px rgba(0,0,0,0.08); transform: translateY(100%); transition: transform 0.25s ease; max-height: 45vh; overflow-y: auto; }}
|
| 316 |
.details-panel.open {{ transform: translateY(0); }}
|
|
@@ -490,7 +490,7 @@ document.addEventListener('DOMContentLoaded', function() {{
|
|
| 490 |
|
| 491 |
<div class="header">
|
| 492 |
<div class="header-left">
|
| 493 |
-
<svg class="decode-logo" viewBox="0 0 160 21" xmlns="http://www.w3.org/2000/svg"><path d="M0,0.69 L0,19.5 L10.2,19.5 C15.83,19.5 19.72,16.02 19.72,9.81 C19.72,2.8 14.52,0.69 10.2,0.69 L0,0.69 Z M3.78,4.47 L10.2,4.47 C13.14,4.47 15.94,5.59 15.94,10.02 C15.94,13.84 13.51,15.72 10.2,15.72 L3.78,15.72 L3.78,4.47 Z M28.69,0.69 L28.69,19.5 L45.82,19.5 L45.82,15.72 L32.46,15.72 L32.46,11.66 L41.98,11.66 L41.98,7.88 L32.46,7.88 L32.46,4.47 L45.39,4.47 L45.39,0.69 L28.69,0.69 Z M73.57,3.67 C71.57,2.25 68.92,0.11 64.05,0.11 C58.82,0.11 52.72,3.45 52.72,10.1 C52.72,16.63 57.95,20.08 64.27,20.08 C67.18,20.08 71.24,19.1 73.89,17.14 L72.19,13.65 C70.63,14.85 67.65,16.31 64.31,16.31 C58.9,16.31 56.5,13 56.5,10.21 C56.5,7.16 59.22,3.89 63.87,3.89 C67.54,3.89 70.12,5.96 71.35,6.97 L73.57,3.67 Z M92.96,20.08 C100.33,20.08 104.5,15.36 104.5,10.1 C104.5,4.79 100.4,0.11 92.96,0.11 C85.55,0.11 81.41,4.83 81.41,10.1 C81.41,15.36 85.59,20.08 92.96,20.08 Z M92.96,16.31 C88.27,16.31 85.19,13.36 85.19,10.1 C85.19,6.86 88.27,3.89 92.96,3.89 C97.64,3.89 100.73,6.83 100.73,10.1 C100.73,13.36 97.64,16.31 92.96,16.31 Z M113.94,0.69 L113.94,19.5 L124.15,19.5 C129.78,19.5 133.66,16.02 133.66,9.81 C133.66,2.8 128.47,0.69 124.15,0.69 L113.94,0.69 Z M117.72,4.47 L124.15,4.47 C127.09,4.47 129.88,5.59 129.88,10.02 C129.88,13.84 127.45,15.72 124.15,15.72 L117.72,15.72 L117.72,4.47 Z M142.63,0.69 L142.63,19.5 L159.77,19.5 L159.77,15.72 L146.41,15.72 L146.41,11.66 L155.93,11.66 L155.93,7.88 L146.41,7.88 L146.41,4.47 L159.33,4.47 L159.33,0.69 L142.63,0.69 Z" fill="#
|
| 494 |
</div>
|
| 495 |
<div class="header-center">
|
| 496 |
<h1>{client_name} · {brand_name} · {country_name} · {category_name}</h1>
|
|
|
|
| 280 |
.sort-btn {{ flex: 1; padding: 4px 0; font-size: 11px; font-weight: 500; border: 1px solid #ddd; background: #f8f8f8; cursor: pointer; color: #777; transition: all 0.12s; }}
|
| 281 |
.sort-btn:first-child {{ border-radius: 4px 0 0 4px; }}
|
| 282 |
.sort-btn:last-child {{ border-radius: 0 4px 4px 0; }}
|
| 283 |
+
.sort-btn.active {{ background: #283273; color: #fff; border-color: #283273; }}
|
| 284 |
|
| 285 |
.sidebar-list {{ flex: 1; overflow-y: auto; }}
|
| 286 |
|
|
|
|
| 310 |
.tabs {{ position: absolute; bottom: 16px; left: 24px; z-index: 10; display: flex; gap: 4px; }}
|
| 311 |
.tab-btn {{ padding: 6px 14px; font-size: 12px; font-weight: 500; border: 1px solid #ddd; background: #fff; border-radius: 6px; cursor: pointer; color: #555; transition: all 0.15s; }}
|
| 312 |
.tab-btn:hover {{ background: #f0f0f0; }}
|
| 313 |
+
.tab-btn.active {{ background: #283273; color: #fff; border-color: #283273; }}
|
| 314 |
|
| 315 |
.details-panel {{ position: absolute; bottom: 0; left: 0; right: 0; z-index: 20; background: #fff; border-top: 1px solid #e0e0e0; box-shadow: 0 -4px 20px rgba(0,0,0,0.08); transform: translateY(100%); transition: transform 0.25s ease; max-height: 45vh; overflow-y: auto; }}
|
| 316 |
.details-panel.open {{ transform: translateY(0); }}
|
|
|
|
| 490 |
|
| 491 |
<div class="header">
|
| 492 |
<div class="header-left">
|
| 493 |
+
<svg class="decode-logo" viewBox="0 0 160 21" xmlns="http://www.w3.org/2000/svg"><path d="M0,0.69 L0,19.5 L10.2,19.5 C15.83,19.5 19.72,16.02 19.72,9.81 C19.72,2.8 14.52,0.69 10.2,0.69 L0,0.69 Z M3.78,4.47 L10.2,4.47 C13.14,4.47 15.94,5.59 15.94,10.02 C15.94,13.84 13.51,15.72 10.2,15.72 L3.78,15.72 L3.78,4.47 Z M28.69,0.69 L28.69,19.5 L45.82,19.5 L45.82,15.72 L32.46,15.72 L32.46,11.66 L41.98,11.66 L41.98,7.88 L32.46,7.88 L32.46,4.47 L45.39,4.47 L45.39,0.69 L28.69,0.69 Z M73.57,3.67 C71.57,2.25 68.92,0.11 64.05,0.11 C58.82,0.11 52.72,3.45 52.72,10.1 C52.72,16.63 57.95,20.08 64.27,20.08 C67.18,20.08 71.24,19.1 73.89,17.14 L72.19,13.65 C70.63,14.85 67.65,16.31 64.31,16.31 C58.9,16.31 56.5,13 56.5,10.21 C56.5,7.16 59.22,3.89 63.87,3.89 C67.54,3.89 70.12,5.96 71.35,6.97 L73.57,3.67 Z M92.96,20.08 C100.33,20.08 104.5,15.36 104.5,10.1 C104.5,4.79 100.4,0.11 92.96,0.11 C85.55,0.11 81.41,4.83 81.41,10.1 C81.41,15.36 85.59,20.08 92.96,20.08 Z M92.96,16.31 C88.27,16.31 85.19,13.36 85.19,10.1 C85.19,6.86 88.27,3.89 92.96,3.89 C97.64,3.89 100.73,6.83 100.73,10.1 C100.73,13.36 97.64,16.31 92.96,16.31 Z M113.94,0.69 L113.94,19.5 L124.15,19.5 C129.78,19.5 133.66,16.02 133.66,9.81 C133.66,2.8 128.47,0.69 124.15,0.69 L113.94,0.69 Z M117.72,4.47 L124.15,4.47 C127.09,4.47 129.88,5.59 129.88,10.02 C129.88,13.84 127.45,15.72 124.15,15.72 L117.72,15.72 L117.72,4.47 Z M142.63,0.69 L142.63,19.5 L159.77,19.5 L159.77,15.72 L146.41,15.72 L146.41,11.66 L155.93,11.66 L155.93,7.88 L146.41,7.88 L146.41,4.47 L159.33,4.47 L159.33,0.69 L142.63,0.69 Z" fill="#283273"/></svg>
|
| 494 |
</div>
|
| 495 |
<div class="header-center">
|
| 496 |
<h1>{client_name} · {brand_name} · {country_name} · {category_name}</h1>
|