style.scss 882 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. .hc-nav-back-bar {
  2. position: relative;
  3. display: flex;
  4. align-items: center;
  5. padding: 0.7rem 1.25rem;
  6. background: white;
  7. .back {
  8. position: absolute;
  9. display: flex;
  10. align-items: center;
  11. margin-left: -18rpx;
  12. color: var(--hc-nav-back, #484848);
  13. z-index: 2;
  14. .icon {
  15. font-size: 40rpx;
  16. }
  17. .text {
  18. margin-left: -8rpx;
  19. }
  20. }
  21. .title {
  22. flex: 1;
  23. z-index: 1;
  24. position: relative;
  25. text-align: center;
  26. padding: 0 150rpx;
  27. }
  28. .right {
  29. position: absolute;
  30. right: 1.25rem;
  31. z-index: 2;
  32. display: flex;
  33. align-items: center;
  34. justify-content: flex-end;
  35. }
  36. &.data-table-nav-bar {
  37. background: transparent;
  38. --hc-nav-back: white;
  39. color: white;
  40. }
  41. }