mirror of
https://github.com/vbenjs/vue-vben-admin.git
synced 2025-08-27 19:29:04 +08:00
perf(logo): optimize logo code
This commit is contained in:
@@ -73,7 +73,7 @@
|
||||
|
||||
&.is-link,
|
||||
a {
|
||||
font-weight: 700;
|
||||
font-weight: 500;
|
||||
color: @text-color-base;
|
||||
text-decoration: none;
|
||||
transition: color 0.2s cubic-bezier(0.645, 0.045, 0.355, 1);
|
||||
|
@@ -48,7 +48,7 @@
|
||||
const searchClass = computed(() => {
|
||||
const cls: string[] = [];
|
||||
cls.push(props.theme ? `menu-search-input__search--${props.theme}` : '');
|
||||
// cls.push(props.collapsed ? 'hide-search-icon' : '');
|
||||
cls.push(props.collapsed ? 'hide-search-icon' : '');
|
||||
return cls;
|
||||
});
|
||||
|
||||
@@ -66,12 +66,13 @@
|
||||
.menu-search-input {
|
||||
margin: 12px 8px;
|
||||
|
||||
// &.hide-search-icon {
|
||||
// .ant-input,
|
||||
// .ant-input-suffix {
|
||||
// opacity: 0;
|
||||
// }
|
||||
// }
|
||||
&.hide-search-icon {
|
||||
.ant-input,
|
||||
.ant-input-suffix {
|
||||
opacity: 0;
|
||||
transition: all 0.5s;
|
||||
}
|
||||
}
|
||||
|
||||
&__search--dark {
|
||||
.ant-input-affix-wrapper,
|
||||
|
Reference in New Issue
Block a user