changeset 381:387c8c5a3bee

bulma (styles): disable the delete cross on search input: on webkit/chromium based browsers, a delete cross is added automatically to search input. This patch remove it as we use our own when necessary, and to keep the cross consistent between browsers.
author Goffi <goffi@goffi.org>
date Fri, 18 Aug 2023 17:58:04 +0200
parents 788729e741cc
children c573917ce388
files sat_templates/templates/bulma/static/styles.css
diffstat 1 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/sat_templates/templates/bulma/static/styles.css	Fri Aug 18 11:19:40 2023 +0200
+++ b/sat_templates/templates/bulma/static/styles.css	Fri Aug 18 17:58:04 2023 +0200
@@ -18,6 +18,14 @@
     overflow: hidden;
 }
 
+
+input[type="search"]::-webkit-search-cancel-button {
+    /* We disable cancel button on webkit based browser for consistency, as we add our */
+    /* own when necessary */
+  display: none;
+}
+
+
 .is-full-below-menu {
     /* full viewport minus top menu height */
     position:relative;