动态菜单和动态路由的 antd pro

index.less 485B

12345678910111213141516171819202122232425262728293031323334
  1. @import '~antd/lib/style/themes/default.less';
  2. .toolbar {
  3. position: fixed;
  4. width: 100%;
  5. bottom: 0;
  6. right: 0;
  7. height: 56px;
  8. line-height: 56px;
  9. box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.03);
  10. background: #fff;
  11. border-top: 1px solid @border-color-split;
  12. padding: 0 24px;
  13. z-index: 9;
  14. &:after {
  15. content: '';
  16. display: block;
  17. clear: both;
  18. }
  19. .left {
  20. float: left;
  21. }
  22. .right {
  23. float: right;
  24. }
  25. button + button {
  26. margin-left: 8px;
  27. }
  28. }