Browse Source

Fix incorrect Buefy checkbox colour.

Kailash Nadh 2 years ago
parent
commit
93db7c45bc
1 changed files with 9 additions and 0 deletions
  1. 9 0
      frontend/src/assets/style.scss

+ 9 - 0
frontend/src/assets/style.scss

@@ -44,6 +44,7 @@ $sidebar-width: 240px;
 $menu-item-active-background-color: $white-bis;
 $menu-item-active-color: $primary;
 
+
 /* Buefy */
 $modal-background-background-color: rgba(0, 0, 0, .30);
 
@@ -109,6 +110,14 @@ section {
   opacity: 0.30;
 }
 
+.b-checkbox.checkbox:hover input[type="checkbox"]:not(:disabled) + .check.is-primary:hover {
+  border-color: $primary;
+}
+.b-checkbox.checkbox input[type="checkbox"]:checked + .check.is-primary {
+  border-color: $primary;
+  background-color: $primary;
+}
+
 .box {
   background: $white;
   box-shadow: 2px 2px 0 #f3f3f3;