Skip to content

Commit 0dcf4c6

Browse files
authored
Update fast-search-card.js
1 parent f432034 commit 0dcf4c6

File tree

1 file changed

+20
-21
lines changed

1 file changed

+20
-21
lines changed

dist/fast-search-card.js

Lines changed: 20 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -579,10 +579,10 @@ class FastSearchCard extends HTMLElement {
579579
580580
581581
.clear-button {
582-
width: 24px;
583-
height: 24px;
582+
width: 44px;
583+
height: 44px;
584584
border: none;
585-
background: rgba(255, 255, 255, 0.15);
585+
background: rgba(0, 0, 0, 0.15);
586586
border-radius: 50%;
587587
cursor: pointer;
588588
display: none;
@@ -599,13 +599,13 @@ class FastSearchCard extends HTMLElement {
599599
}
600600
601601
.clear-button:hover {
602-
background: rgba(255, 255, 255, 0.25);
602+
background: rgba(0, 0, 0, 0.25);
603603
transform: scale(1.1);
604604
}
605605
606606
.clear-button svg {
607-
width: 12px;
608-
height: 12px;
607+
width: 24px;
608+
height: 24px;
609609
stroke: var(--text-secondary);
610610
stroke-width: 2;
611611
}
@@ -700,7 +700,7 @@ class FastSearchCard extends HTMLElement {
700700
display: flex;
701701
align-items: center;
702702
gap: 3px;
703-
background: rgba(0, 0, 0, 0.4);
703+
background: rgba(255, 255, 255, 0.08);
704704
border-radius: 60px;
705705
padding: 10px 0px 10px 0px;
706706
border: 0px solid rgba(255, 255, 255, 0);
@@ -743,7 +743,7 @@ class FastSearchCard extends HTMLElement {
743743
}
744744
745745
.filter-button.active {
746-
background: rgba(0, 0, 0, 0.35);
746+
background: var(--accent-light);
747747
}
748748
749749
.filter-button svg {
@@ -783,7 +783,7 @@ class FastSearchCard extends HTMLElement {
783783
}
784784
785785
.subcategory-chip {
786-
padding: 5px 15px 5px 15px;
786+
padding: 10px 15px 10px 15px;
787787
background: rgba(255, 255, 255, 0.08);
788788
border: 0px solid rgba(255, 255, 255, 0.15);
789789
border-radius: 12px;
@@ -806,7 +806,6 @@ class FastSearchCard extends HTMLElement {
806806
807807
.subcategory-chip:hover {
808808
background: rgba(255, 255, 255, 0.2);
809-
transform: translateY(-1px);
810809
}
811810
812811
.chip-content {
@@ -818,12 +817,12 @@ class FastSearchCard extends HTMLElement {
818817
}
819818
820819
.subcategory-name {
821-
font-size: 12px;
820+
font-size: 16px;
822821
font-weight: 600;
823822
}
824823
825824
.subcategory-status {
826-
font-size: 12px;
825+
font-size: 16px;
827826
color: var(--text-secondary);
828827
opacity: 0.9;
829828
min-height: 13px;
@@ -885,7 +884,7 @@ class FastSearchCard extends HTMLElement {
885884
.device-card {
886885
background: rgba(255, 255, 255, 0.08);
887886
border: 0px solid rgba(255, 255, 255, 0.12);
888-
border-radius: 20px;
887+
border-radius: 30px;
889888
padding: 16px;
890889
cursor: pointer;
891890
aspect-ratio: 1;
@@ -931,7 +930,7 @@ class FastSearchCard extends HTMLElement {
931930
}
932931
933932
.device-name {
934-
font-size: 13px;
933+
font-size: 18px;
935934
font-weight: 600;
936935
color: var(--text-primary);
937936
margin: 0 0 0 0;
@@ -942,7 +941,7 @@ class FastSearchCard extends HTMLElement {
942941
}
943942
944943
.device-status {
945-
font-size: 13px;
944+
font-size: 18px;
946945
color: var(--text-secondary);
947946
margin: 0;
948947
opacity: 0.8;
@@ -1883,10 +1882,10 @@ class FastSearchCard extends HTMLElement {
18831882
}
18841883
18851884
.device-list-icon {
1886-
width: 48px;
1887-
height: 48px;
1885+
width: 68px;
1886+
height: 68px;
18881887
background: rgba(255, 255, 255, 0.15);
1889-
border-radius: 16px;
1888+
border-radius: 60px;
18901889
display: flex;
18911890
align-items: center;
18921891
justify-content: center;
@@ -1909,7 +1908,7 @@ class FastSearchCard extends HTMLElement {
19091908
}
19101909
19111910
.device-list-name {
1912-
font-size: 15px;
1911+
font-size: 18px;
19131912
font-weight: 600;
19141913
color: var(--text-primary);
19151914
margin: 0;
@@ -1920,7 +1919,7 @@ class FastSearchCard extends HTMLElement {
19201919
}
19211920
19221921
.device-list-status {
1923-
font-size: 15px;
1922+
font-size: 18px;
19241923
color: var(--text-secondary);
19251924
margin: 0;
19261925
opacity: 0.8;
@@ -1933,7 +1932,7 @@ class FastSearchCard extends HTMLElement {
19331932
}
19341933
19351934
.device-list-area {
1936-
font-size: 15px;
1935+
font-size: 18px;
19371936
color: var(--text-secondary);
19381937
opacity: 0.7;
19391938
text-align: left;

0 commit comments

Comments
 (0)