Commit 2e70b732 by Damien Moulard

enhance action buttons style

parent 2f35b724
Pipeline #1259 failed with stage
in 1 minute 23 seconds
...@@ -127,17 +127,13 @@ ...@@ -127,17 +127,13 @@
#actions_buttons_wrapper { #actions_buttons_wrapper {
position: relative; position: relative;
margin-left: 5px; margin-right: 5px;
} }
#toggle_action_buttons { #toggle_action_buttons {
width: 250px; width: 250px;
border: 1px solid black;
position: relative; position: relative;
} }
#toggle_action_buttons:hover {
background-color: #c7cace;
}
.toggle_action_buttons_icon { .toggle_action_buttons_icon {
position: absolute; position: absolute;
...@@ -157,9 +153,6 @@ ...@@ -157,9 +153,6 @@
.action_button { .action_button {
width: 100%; width: 100%;
min-height: 45px; min-height: 45px;
border-color: black;
border-style: solid;
border-width: 0 1px 1px 1px;
} }
/* -- Order data */ /* -- Order data */
......
...@@ -715,7 +715,7 @@ function generate_inventory() { ...@@ -715,7 +715,7 @@ function generate_inventory() {
$('#toggle_action_buttons').notify( $('#toggle_action_buttons').notify(
"Inventaire créé !", "Inventaire créé !",
{ {
elementPosition:"bottom right", elementPosition:"bottom center",
className: "success", className: "success",
} }
); );
......
...@@ -41,11 +41,9 @@ ...@@ -41,11 +41,9 @@
<i class="fas fa-arrow-left"></i>&nbsp; Retour <i class="fas fa-arrow-left"></i>&nbsp; Retour
</button> </button>
<div class="right_action_buttons"> <div class="right_action_buttons">
<a class='btn--success link_as_button' id="access_metabase" style="display:none;" href="{{metabase_url}}" target="_blank">
Stats Métabase
</a>
<div id="actions_buttons_wrapper"> <div id="actions_buttons_wrapper">
<button type="button" class='btn' id="toggle_action_buttons"> <button type="button" class='btn--primary' id="toggle_action_buttons">
<span class="button_content"> <span class="button_content">
Actions Actions
</span> </span>
...@@ -62,6 +60,9 @@ ...@@ -62,6 +60,9 @@
</button> </button>
</div> </div>
</div> </div>
<a class='btn--warning link_as_button' id="access_metabase" style="display:none;" href="{{metabase_url}}" target="_blank">
Stats Métabase
</a>
</div> </div>
</div> </div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment