From: Vladimír Vondruš Date: Mon, 18 Jun 2018 09:29:00 +0000 (+0200) Subject: doxygen: put search icon size directly into the markup. X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~cjwatson/git?a=commitdiff_plain;h=56cf8591ec0a18f7e71edaa43b30354c719afa68;p=blog.git doxygen: put search icon size directly into the markup. Fixes the problem with a giant magnifying glass when no style is present and also should fix the random layout bugs with top navbar being twice as high (which is probably caused by the browser not calculating the floating etc. properly due to such a huge change after the style is loaded). --- diff --git a/css/m-dark+doxygen.compiled.css b/css/m-dark+doxygen.compiled.css index 42b9bb91..83ac6b87 100644 --- a/css/m-dark+doxygen.compiled.css +++ b/css/m-dark+doxygen.compiled.css @@ -2059,7 +2059,6 @@ a.m-dox-search-icon { padding-right: 1rem; } a.m-dox-search-icon svg { - height: 0.9rem; fill: #ffffff; } body > header > nav #m-navbar-collapse a.m-dox-search-icon svg { diff --git a/css/m-dark.doxygen.compiled.css b/css/m-dark.doxygen.compiled.css index a2f649ae..f46197cf 100644 --- a/css/m-dark.doxygen.compiled.css +++ b/css/m-dark.doxygen.compiled.css @@ -180,7 +180,6 @@ a.m-dox-search-icon { padding-right: 1rem; } a.m-dox-search-icon svg { - height: 0.9rem; fill: #ffffff; } body > header > nav #m-navbar-collapse a.m-dox-search-icon svg { diff --git a/css/m-doxygen.css b/css/m-doxygen.css index c2300901..07a52418 100644 --- a/css/m-doxygen.css +++ b/css/m-doxygen.css @@ -184,7 +184,6 @@ a.m-dox-search-icon { padding-right: 1rem; } a.m-dox-search-icon svg { - height: 0.9rem; fill: var(--header-link-color); } body > header > nav #m-navbar-collapse a.m-dox-search-icon svg { diff --git a/css/m-light+doxygen.compiled.css b/css/m-light+doxygen.compiled.css index 668c06bc..3fd6bfb1 100644 --- a/css/m-light+doxygen.compiled.css +++ b/css/m-light+doxygen.compiled.css @@ -1995,7 +1995,6 @@ a.m-dox-search-icon { padding-right: 1rem; } a.m-dox-search-icon svg { - height: 0.9rem; fill: #000000; } body > header > nav #m-navbar-collapse a.m-dox-search-icon svg { diff --git a/css/m-light.doxygen.compiled.css b/css/m-light.doxygen.compiled.css index 27af5abb..c0e740ff 100644 --- a/css/m-light.doxygen.compiled.css +++ b/css/m-light.doxygen.compiled.css @@ -180,7 +180,6 @@ a.m-dox-search-icon { padding-right: 1rem; } a.m-dox-search-icon svg { - height: 0.9rem; fill: #000000; } body > header > nav #m-navbar-collapse a.m-dox-search-icon svg { diff --git a/doxygen/templates/base.html b/doxygen/templates/base.html index 6a265261..f9173172 100644 --- a/doxygen/templates/base.html +++ b/doxygen/templates/base.html @@ -24,7 +24,7 @@ {% if M_LINKS_NAVBAR1 or M_LINKS_NAVBAR2 or not M_SEARCH_DISABLED %}
{% if not M_SEARCH_DISABLED %} - + {% endif %} @@ -67,7 +67,7 @@ {% endif %} {% endfor %} {% if not M_SEARCH_DISABLED %} -
  • +
  • {% endif %} diff --git a/doxygen/test/layout/pages.html b/doxygen/test/layout/pages.html index 25c3c02e..9e354aa1 100644 --- a/doxygen/test/layout/pages.html +++ b/doxygen/test/layout/pages.html @@ -15,7 +15,7 @@
    A project is cool
    - + @@ -47,7 +47,7 @@
  • Classes
  • -
  • +
  • diff --git a/doxygen/test/layout_generated_doxyfile/index.html b/doxygen/test/layout_generated_doxyfile/index.html index 5fc7ba85..7df6c6ce 100644 --- a/doxygen/test/layout_generated_doxyfile/index.html +++ b/doxygen/test/layout_generated_doxyfile/index.html @@ -15,7 +15,7 @@
    My Project
    - + @@ -30,7 +30,7 @@
    1. Classes
    2. Files
    3. -
    4. +
    diff --git a/doxygen/test/layout_minimal/index.html b/doxygen/test/layout_minimal/index.html index 5fc7ba85..7df6c6ce 100644 --- a/doxygen/test/layout_minimal/index.html +++ b/doxygen/test/layout_minimal/index.html @@ -15,7 +15,7 @@
    My Project
    - + @@ -30,7 +30,7 @@
    1. Classes
    2. Files
    3. -
    4. +
    diff --git a/doxygen/test/layout_search_binary/index.html b/doxygen/test/layout_search_binary/index.html index c486e7a8..d2de11d4 100644 --- a/doxygen/test/layout_search_binary/index.html +++ b/doxygen/test/layout_search_binary/index.html @@ -13,7 +13,7 @@