index.css 532 B

1234567891011121314151617181920212223
  1. [class^="icon-"]{
  2. font-family: "iconfont" !important;
  3. /* 以下内容参照第三方图标库本身的规则 */
  4. font-size: 18px !important;
  5. font-style: normal;
  6. -webkit-font-smoothing: antialiased;
  7. -moz-osx-font-smoothing: grayscale;
  8. }
  9. .el-menu-item [class^=icon-] {
  10. margin-right: 5px;
  11. width: 24px;
  12. text-align: center;
  13. font-size: 18px;
  14. vertical-align: middle;
  15. }
  16. .el-submenu [class^=icon-] {
  17. vertical-align: middle;
  18. margin-right: 5px;
  19. width: 24px;
  20. text-align: center;
  21. font-size: 18px;
  22. }