feat(widget): simplify search and user card widgets
This commit is contained in:
1 parent
8a23a3d526
commit
1067b9717b
3 files changed
+118
-171
No files matched your search
@@ -434,6 +434,23 @@
|
||||
padding: 0;
|
||||
}
|
||||
.aksrt-search-widget__history-clear:hover { color: var(--color-primary, #3b82f6); }
|
||||
.aksrt-search-widget__kw-refresh {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
padding: 0;
|
||||
border: 0;
|
||||
border-radius: 50%;
|
||||
background: transparent;
|
||||
color: var(--muted-2-color, #999);
|
||||
cursor: pointer;
|
||||
}
|
||||
.aksrt-search-widget__kw-refresh:hover,
|
||||
.aksrt-search-widget__kw-refresh:focus-visible { color: var(--color-primary, #3b82f6); }
|
||||
.aksrt-search-widget__kw-refresh.is-refreshing i { animation: aksrt-search-keyword-refresh .2s linear; }
|
||||
@keyframes aksrt-search-keyword-refresh { to { transform: rotate(360deg); } }
|
||||
.aksrt-search-widget__kw-list,
|
||||
.aksrt-search-widget__history-list { display: flex; flex-wrap: wrap; gap: 6px; }
|
||||
.aksrt-search-widget__kw,
|
||||
@@ -450,8 +467,6 @@
|
||||
font-size: 12px;
|
||||
color: var(--muted-2-color, #999);
|
||||
}
|
||||
.aksrt-search-widget__more { margin-top: 8px; text-align: right; font-size: 12px; }
|
||||
.aksrt-search-widget__more a { color: var(--color-primary, #3b82f6); text-decoration: none; }
|
||||
|
||||
/* Product list widgets (batch6) */
|
||||
.aksrt-product-widget { margin-bottom: 8px; }
|
||||
|
||||
Reference in new issue
Block a user