要件の説明
以下のスタイルはすべて
ant design vue
スタイルの調整であり、いくつかのインターフェイスの最適化が実行されます。
左側のナビゲーション バーを変更して色を変更します (選択および一時停止)
如果你想修改左侧导航选中后 以及鼠标悬浮在某个菜单栏上改变样式时,把下面的三段代码复制到
あなたのプロジェクトの下にpublic文件夹下的index.html文件里,注意要把这段代码放到<style></style>标签里
メニューをクリックした後の背景色を変更する
.ant-menu-item-selected{
background: linear-gradient(270.00deg, rgba(125,178,217,0.50),rgba(196,196,196,0.00) 100%) !important;
}
マウス選択後に色を変更する
.ant-table-tbody > tr:hover:not(.ant-table-expanded-row) > td,.ant-table-row-hover,.ant-table-row-hover>td{
background-color: rgb(239, 242, 245) !important;
}
.ant-menu-inline .ant-menu-item::after{
border-right: 3px solid rgb(18, 92, 179)!important;
}
マウスクリックメニュー後のフォントの色を変更する
プロジェクトの下のsrc--->components--->layouts--->TabLayout.vue
ファイルに変更を加えます
.ant-menu-item-selected > a, .ant-menu-item-selected > a:hover{
color: #125CB3 !important;
}
マウスホバーメニューのフォントの色を変更する
プロジェクトの下のsrc--->components--->layouts--->TabLayout.vue
ファイルに変更を加えます
.ant-menu-inline > a, .ant-menu-item > a:hover{
color: #125CB3 !important;
}
a-table テーブルのフォントの色を変更する
.ant-table-tbody > tr > td {
color: white;
background: #3071b9 !important;
}
ページ番号の色を変更する
.ant-pagination-item-active a{
color: #125CB3 !important;
}