style.scss 961 B

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