浏览代码

Fix incorrect Buefy checkbox colour.

Kailash Nadh 2 年之前
父节点
当前提交
93db7c45bc
共有 1 个文件被更改,包括 9 次插入0 次删除
  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-background-color: $white-bis;
 $menu-item-active-color: $primary;
 $menu-item-active-color: $primary;
 
 
+
 /* Buefy */
 /* Buefy */
 $modal-background-background-color: rgba(0, 0, 0, .30);
 $modal-background-background-color: rgba(0, 0, 0, .30);
 
 
@@ -109,6 +110,14 @@ section {
   opacity: 0.30;
   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 {
 .box {
   background: $white;
   background: $white;
   box-shadow: 2px 2px 0 #f3f3f3;
   box-shadow: 2px 2px 0 #f3f3f3;