flyzto 7 tháng trước cách đây
mục cha
commit
32ff4ff8d7
1 tập tin đã thay đổi với 18 bổ sung12 xóa
  1. 18 12
      web/apps/web-antd/src/views/match/related/index.vue

+ 18 - 12
web/apps/web-antd/src/views/match/related/index.vue

@@ -253,7 +253,7 @@ onMounted(() => {
 
         <div class="match-action">
           <Button type="link" class="action-btn" @click="removeGamesRelation(id)">
-            <i class="delete-icon"></i>
+            <i class="action-icon delete-icon"></i>
           </Button>
         </div>
       </div>
@@ -291,7 +291,7 @@ onMounted(() => {
       </div>
       <div class="match-action">
         <Button type="link" class="action-btn" v-if="showRelationButton" @click="setGamesRelation">
-          <i class="link-icon"></i>
+          <i class="action-icon link-icon"></i>
         </Button>
       </div>
     </div>
@@ -387,22 +387,25 @@ onMounted(() => {
   }
 }
 
-.link-icon {
+.action-icon {
   display: inline-block;
   width: 16px;
   height: 16px;
-  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"></path><path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"></path></svg>');
   background-size: cover;
-  opacity: 0.5;
+}
+
+.link-icon {
+  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23333" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"></path><path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"></path></svg>');
+  .dark & {
+    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23fff" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"></path><path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"></path></svg>');
+  }
 }
 
 .delete-icon {
-  display: inline-block;
-  width: 16px;
-  height: 16px;
-  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="3 6 5 6 21 6"></polyline><path d="M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6m3 0V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2"></path></svg>');
-  background-size: cover;
-  opacity: 0.5;
+  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23333" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="3 6 5 6 21 6"></polyline><path d="M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6m3 0V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2"></path></svg>');
+  .dark & {
+    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23fff" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"></path><path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"></path></svg>');
+  }
 }
 
 .list-empty {
@@ -439,9 +442,12 @@ onMounted(() => {
   }
 
   .action-btn {
-    color: #fff;
+    .action-icon {
+      filter: brightness(0.5);
+    }
   }
 
+
 }
 
 @media (max-width: 768px) {