Styles de boutons homogènes

This commit is contained in:
Colin Maudry
2026-01-30 20:05:58 +01:00
parent 965aef06f9
commit 55bb92468e
3 changed files with 8 additions and 6 deletions
+1 -1
View File
@@ -42,13 +42,13 @@ button {
button.btn.btn-primary,
button.show-hide {
display: block;
border-radius: 3px;
outline: 0;
color: #fff;
border: 0;
height: 30px;
padding-top: 2px;
background-color: rgb(179, 56, 33) !important;
background-image: linear-gradient(
rgb(209, 96, 73),
rgb(179, 56, 33) 26%,
+2
View File
@@ -109,6 +109,7 @@ layout = [
html.Button(
"Téléchargement au format Excel",
id="btn-download-data-acheteur",
className="btn btn-primary",
),
dcc.Download(id="download-data-acheteur"),
],
@@ -136,6 +137,7 @@ layout = [
html.Button(
"Téléchargement désactivé au-delà de 65 000 lignes",
id="btn-download-filtered-data-acheteur",
className="btn btn-primary",
disabled=True,
),
dcc.Download(id="acheteur-download-filtered-data"),
+5 -5
View File
@@ -46,20 +46,20 @@ layout = html.Div(
"width": "500px",
"border": "1px solid #ccc",
"borderRight": "none",
"borderRadius": "4px 0 0 4px",
"borderRadius": "3px 0 0 3px",
"padding": "5px 10px",
"outline": "none",
"height": "34px",
},
),
html.Button(
"🔍",
"=>",
id="search-button",
className="btn btn-primary",
style={
"border": "1px solid #ccc",
"borderRadius": "0 4px 4px 0",
"borderRadius": "0 3px 3px 0",
"marginLeft": "0",
"backgroundColor": "#f0f0f0",
"cursor": "pointer",
"height": "auto", # Ensure it matches input height if necessary, often relying on padding/line-height
},
),