diff --git a/app/assets/stylesheets/contrib/RonRonnement-Classic.scss b/app/assets/stylesheets/contrib/RonRonnement-Classic.scss index 3246b5400..dbc4909ab 100644 --- a/app/assets/stylesheets/contrib/RonRonnement-Classic.scss +++ b/app/assets/stylesheets/contrib/RonRonnement-Classic.scss @@ -1016,6 +1016,13 @@ footer.actions { border-image: url("/favicon.png") 0 0 0 32; border-style: solid; } + &[href^="https://www.projets-libres.org"], + &[href^="https://projets-libres.org"] { + padding-left: 3px; + border-left: 16px; + border-image: url("/projets_libres.png") 0 0 0 32; + border-style: solid; + } } ul, ol { diff --git a/app/assets/stylesheets/parts/content.scss b/app/assets/stylesheets/parts/content.scss index e3a959221..18440d151 100644 --- a/app/assets/stylesheets/parts/content.scss +++ b/app/assets/stylesheets/parts/content.scss @@ -265,6 +265,13 @@ footer.actions { border-image: url("/favicon.png") 0 0 0 32; border-style: solid; } + &[href^="https://www.projets-libres.org"], + &[href^="https://projets-libres.org"] { + padding-left: 3px; + border-left: 16px; + border-image: url("/projets_libres.png") 0 0 0 32; + border-style: solid; + } } ul, ol { diff --git a/app/assets/stylesheets/parts/top_menu.scss b/app/assets/stylesheets/parts/top_menu.scss index 6d0e7430d..b6771ac3f 100644 --- a/app/assets/stylesheets/parts/top_menu.scss +++ b/app/assets/stylesheets/parts/top_menu.scss @@ -58,16 +58,14 @@ width: 125px; } input#search_submit { + background-image: none; background: no-repeat 0 transparent; - background-size: 22px; - background-image: url("/images/icones/glass.png"); - background-image: url("/images/icones/glass.svg"), none; - text-indent: -9998em; border: none; - width: 22px; - height: 22px; + text-indent: 0em; + padding-left: 0; padding-right: 0; - cursor: pointer; + content: "🔎"; + text-align: left; } } } diff --git a/app/views/layouts/_site.html.haml b/app/views/layouts/_site.html.haml index 6ce3c1117..4e7408588 100644 --- a/app/views/layouts/_site.html.haml +++ b/app/views/layouts/_site.html.haml @@ -9,10 +9,10 @@ %li{class: ("active" if controller_name == "diaries" || (controller_name == "users" && action_name == "show"))}= link_to "Journaux", '/journaux', title: "Journaux personnels de nos visiteurs" %li{class: ("active" if controller_name == "bookmarks" || (controller_name == "users" && action_name == "show"))}= link_to "Liens", '/liens', title: "Liens remarquables" %li{class: ("active" if controller_name == "forums" || controller_name == "posts")}= link_to "Forums", '/forums', title: "Questions‑rĂ©ponses, petites annonces" - %li{class: ("active" if controller_name == "wiki_pages" || controller_name == "wiki_versions")}= link_to "Wiki", '/wiki', title: "Pages wiki" %li{class: ("active" if current_page?("/redaction"))}= link_to "RĂ©daction", '/redaction', title: "Participez Ă  la rĂ©daction des dĂ©pĂȘches" + %li= link_to "đŸŽ™ïžÂ Projets Libres", 'https://www.projets-libres.org/', title: "Podcast/baladodiffusion Projets Libres", id: "podcast" = form_tag '/recherche', method: :get do .searchbox(role="search") - = submit_tag "Rechercher", name: nil, id: "search_submit", title: "Lancer la recherche sur le site" + = submit_tag "🔎", name: nil, id: "search_submit", title: "Lancer la recherche sur le site" diff --git a/public/projets_libres.png b/public/projets_libres.png new file mode 100644 index 000000000..2fbd065db Binary files /dev/null and b/public/projets_libres.png differ