ObsiGate 2.82.7 : barre v0.1.11 — marque monochrome, anneau avatar #56
@@ -37,13 +37,22 @@ def test_menu_des_applications_par_la_marque():
|
||||
# v0.1.3 : la marque ouvre le menu des applications
|
||||
# (changement d'app en mobile). v0.1.10 : la marque n'est plus
|
||||
# le glyphe ✦ à 24 px mais le logo Spark en img 26 px.
|
||||
# v0.1.11 : la marque n'est plus le logo rouge mais l'étoile
|
||||
# Spark monochrome (brand-spark.png) ; l'onglet agent, lui,
|
||||
# garde le logo rouge.
|
||||
html = _index()
|
||||
assert 'data-act="apps"' in html
|
||||
js = (FRONTEND / "draco-barre.js").read_text(encoding="utf-8")
|
||||
assert "draco-apps-menu" in js
|
||||
assert '<span class="draco-brand-mark"><img src="/static/img/logos/spark.png"' in html
|
||||
assert '<span class="draco-brand-mark"><img src="/static/img/brand-spark.png"' in html
|
||||
assert ".draco-brand-mark img" in _css()
|
||||
assert "width: 26px" in _css()
|
||||
assert "filter: brightness(0)" in _css()
|
||||
assert '[data-theme="dark"] .draco-bar .draco-brand-mark img { filter: none; }' in _css()
|
||||
assert 'data-icon="agent"><img src="/static/img/logos/spark.png"' in html
|
||||
assert "border: 3px solid var(--agent)" in _css()
|
||||
recherche = (FRONTEND / "recherche.html").read_text(encoding="utf-8")
|
||||
assert '<span class="draco-brand-mark"><img src="/static/img/brand-spark.png"' in recherche
|
||||
|
||||
|
||||
def test_panneau_spark_integre_218():
|
||||
|
||||
Reference in New Issue
Block a user