Browse Source

Fixed hover colors

1Mike21 1 year ago
parent
commit
d99a41237e
2 changed files with 4 additions and 2 deletions
  1. 2 1
      static/design_template/colors.css
  2. 2 1
      views.py

+ 2 - 1
static/design_template/colors.css

@@ -21,7 +21,8 @@
 }
 
 .btn-primary, .btn-outline-primary:hover{
-  color: var(--btn-hover-color);
+  background-color: var(--btn-hover-color);
+  border-color: var(--btn-hover-color);
 }
 
 .nav-pills .nav-link.active, .nav-pills .show>.nav-link{

+ 2 - 1
views.py

@@ -61,7 +61,8 @@ def change_colors(request):
 }}
 
 .btn-primary, .btn-outline-primary:hover{{
-  color: var(--btn-hover-color);
+  background-color: var(--btn-hover-color);
+  border-color: var(--btn-hover-color);
 }}
 
 .nav-pills .nav-link.active, .nav-pills .show>.nav-link{{