From a87155532ad25124659464bc634dadb0eea53193 Mon Sep 17 00:00:00 2001
From: Olivier Maury <Olivier.Maury@inrae.fr>
Date: Wed, 5 Mar 2025 15:09:48 +0100
Subject: [PATCH] feat: mettre en forme le bouton de choix de fichier. fixes
 #9397

---
 .../sido/gwt/client/resources/css/sido.gss    | 33 +++++++++++++++++++
 1 file changed, 33 insertions(+)

diff --git a/sido-gwt/src/main/resources/fr/soeretempo/sido/gwt/client/resources/css/sido.gss b/sido-gwt/src/main/resources/fr/soeretempo/sido/gwt/client/resources/css/sido.gss
index 156c2d23..048fb0dc 100644
--- a/sido-gwt/src/main/resources/fr/soeretempo/sido/gwt/client/resources/css/sido.gss
+++ b/sido-gwt/src/main/resources/fr/soeretempo/sido/gwt/client/resources/css/sido.gss
@@ -5,6 +5,39 @@
  * @author $Author: omaury $
  * @version $Revision: 1290 $
  */
+input[type=file]::file-selector-button {
+	/* .btn-primary */
+	background-color: #337ab7;
+	background-image: linear-gradient(to bottom,#337ab7 0,#265a88 100%);
+	background-repeat: repeat-x;
+	box-shadow: inset 0 1px 0 rgba(255,255,255,.15),0 1px 1px rgba(0,0,0,.075);
+	border-color: #245580;
+	color: #fff;
+	text-shadow: 0 -1px 0 rgba(0,0,0,.2);
+	/* .btn */
+	display: inline-block;
+	padding: 6px 12px;
+	margin-bottom: 0;
+	font-size: 14px;
+	font-weight: 400;
+	line-height: 1.42857143;
+	text-align: center;
+	white-space: nowrap;
+	touch-action: manipulation;
+	cursor: pointer;
+	user-select: none;
+	border-radius: 4px;
+}
+
+input[type=file]::file-selector-button:hover {
+	/* .btn-primary */
+	background-color: #265a88;
+	background-position: 0 -15px;
+	color: #fff;
+	border-color: #204d74;
+	/* .btn */
+	text-decoration: none;
+}
 .center {
 	margin: 0px 0px 10px 0px;
 	display: inline-flex;
-- 
GitLab