diff --git a/app.py b/app.py index 9df099e..7b9562e 100644 --- a/app.py +++ b/app.py @@ -23,5 +23,5 @@ app.layout = layout if __name__ == "__main__": - app.run(host="0.0.0.0", port=8050, debug=True) + app.run(host="0.0.0.0", port=8050, debug=False) diff --git a/assets/custom.css b/assets/custom.css index b849ed8..aa9832c 100644 --- a/assets/custom.css +++ b/assets/custom.css @@ -30,11 +30,10 @@ } /* Removed any margin between consecutive .btn-secondary buttons */ - .hover-button { border: 4px solid transparent; - /* Keeps border width consistent */ - transition: border-color 0.2s ease-in-out, outline-width 0.2s ease-in-out; + /* Keeps border width consistent if needed for layout */ + transition: box-shadow 0.2s ease-in-out; box-sizing: border-box; /* Prevents padding/border from shifting layout */ } @@ -42,8 +41,6 @@ /* Applies when hovered or when the button is marked as selected */ .hover-button:hover, .hover-button.selected { - border-color: black !important; - /* Changes border color */ - outline: 3px solid black; - /* Adds extra thickness */ + box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.5); + /* A stronger shadow effect */ } \ No newline at end of file diff --git a/src/callbacks/explanation_callbacks.py b/src/callbacks/explanation_callbacks.py index 621939f..1875f5c 100644 --- a/src/callbacks/explanation_callbacks.py +++ b/src/callbacks/explanation_callbacks.py @@ -64,7 +64,7 @@ def determine_hex_color(arg): style={ "margin": "5px", "backgroundColor": determine_hex_color(arg), # Set background color - # "border": "1px solid gray", # Border matches color + "border": "1px solid gray", # Border matches color "color": "black", # Text color }, )