Styles de boutons homogènes
This commit is contained in:
@@ -42,13 +42,13 @@ button {
|
|||||||
|
|
||||||
button.btn.btn-primary,
|
button.btn.btn-primary,
|
||||||
button.show-hide {
|
button.show-hide {
|
||||||
|
display: block;
|
||||||
border-radius: 3px;
|
border-radius: 3px;
|
||||||
outline: 0;
|
outline: 0;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
border: 0;
|
border: 0;
|
||||||
height: 30px;
|
height: 30px;
|
||||||
padding-top: 2px;
|
padding-top: 2px;
|
||||||
background-color: rgb(179, 56, 33) !important;
|
|
||||||
background-image: linear-gradient(
|
background-image: linear-gradient(
|
||||||
rgb(209, 96, 73),
|
rgb(209, 96, 73),
|
||||||
rgb(179, 56, 33) 26%,
|
rgb(179, 56, 33) 26%,
|
||||||
|
|||||||
@@ -109,6 +109,7 @@ layout = [
|
|||||||
html.Button(
|
html.Button(
|
||||||
"Téléchargement au format Excel",
|
"Téléchargement au format Excel",
|
||||||
id="btn-download-data-acheteur",
|
id="btn-download-data-acheteur",
|
||||||
|
className="btn btn-primary",
|
||||||
),
|
),
|
||||||
dcc.Download(id="download-data-acheteur"),
|
dcc.Download(id="download-data-acheteur"),
|
||||||
],
|
],
|
||||||
@@ -136,6 +137,7 @@ layout = [
|
|||||||
html.Button(
|
html.Button(
|
||||||
"Téléchargement désactivé au-delà de 65 000 lignes",
|
"Téléchargement désactivé au-delà de 65 000 lignes",
|
||||||
id="btn-download-filtered-data-acheteur",
|
id="btn-download-filtered-data-acheteur",
|
||||||
|
className="btn btn-primary",
|
||||||
disabled=True,
|
disabled=True,
|
||||||
),
|
),
|
||||||
dcc.Download(id="acheteur-download-filtered-data"),
|
dcc.Download(id="acheteur-download-filtered-data"),
|
||||||
|
|||||||
@@ -46,20 +46,20 @@ layout = html.Div(
|
|||||||
"width": "500px",
|
"width": "500px",
|
||||||
"border": "1px solid #ccc",
|
"border": "1px solid #ccc",
|
||||||
"borderRight": "none",
|
"borderRight": "none",
|
||||||
"borderRadius": "4px 0 0 4px",
|
"borderRadius": "3px 0 0 3px",
|
||||||
"padding": "5px 10px",
|
"padding": "5px 10px",
|
||||||
"outline": "none",
|
"outline": "none",
|
||||||
|
"height": "34px",
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
html.Button(
|
html.Button(
|
||||||
"🔍",
|
"=>",
|
||||||
id="search-button",
|
id="search-button",
|
||||||
|
className="btn btn-primary",
|
||||||
style={
|
style={
|
||||||
"border": "1px solid #ccc",
|
"border": "1px solid #ccc",
|
||||||
"borderRadius": "0 4px 4px 0",
|
"borderRadius": "0 3px 3px 0",
|
||||||
"marginLeft": "0",
|
"marginLeft": "0",
|
||||||
"backgroundColor": "#f0f0f0",
|
|
||||||
"cursor": "pointer",
|
|
||||||
"height": "auto", # Ensure it matches input height if necessary, often relying on padding/line-height
|
"height": "auto", # Ensure it matches input height if necessary, often relying on padding/line-height
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
|
|||||||
Reference in New Issue
Block a user