index.acss 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. .nav-bar-index {
  2. display: block;
  3. height: initial;
  4. }
  5. @import "../common/index.acss";
  6. .nav-bar-index .van-nav-bar {
  7. position: relative;
  8. text-align: center;
  9. -webkit-user-select: none;
  10. user-select: none;
  11. height: 46px;
  12. height: var(--nav-bar-height, 46px);
  13. line-height: 46px;
  14. line-height: var(--nav-bar-height, 46px);
  15. background-color: #fff;
  16. background-color: var(--nav-bar-background-color, #fff);
  17. }
  18. .nav-bar-index .van-nav-bar__content {
  19. position: relative;
  20. height: 100%;
  21. }
  22. .nav-bar-index .van-nav-bar__text {
  23. display: inline-block;
  24. vertical-align: middle;
  25. margin: 0 -16px;
  26. margin: 0 -var(--padding-md, 16px);
  27. padding: 0 16px;
  28. padding: 0 var(--padding-md, 16px);
  29. color: #1989fa;
  30. color: var(--nav-bar-text-color, #1989fa);
  31. }
  32. .nav-bar-index .van-nav-bar__text--hover {
  33. background-color: #f2f3f5;
  34. background-color: var(--active-color, #f2f3f5);
  35. }
  36. .nav-bar-index .van-nav-bar__arrow {
  37. vertical-align: middle;
  38. font-size: 16px !important;
  39. font-size: var(--nav-bar-arrow-size, 16px) !important;
  40. color: #1989fa !important;
  41. color: var(--nav-bar-icon-color, #1989fa) !important;
  42. }
  43. .nav-bar-index .van-nav-bar__arrow + .van-nav-bar__text {
  44. margin-left: -20px;
  45. padding-left: 25px;
  46. }
  47. .nav-bar-index .van-nav-bar--fixed {
  48. position: fixed;
  49. top: 0;
  50. left: 0;
  51. width: 100%;
  52. }
  53. .nav-bar-index .van-nav-bar__title {
  54. max-width: 60%;
  55. margin: 0 auto;
  56. color: #323233;
  57. color: var(--nav-bar-title-text-color, #323233);
  58. font-weight: 500;
  59. font-weight: var(--font-weight-bold, 500);
  60. font-size: 16px;
  61. font-size: var(--nav-bar-title-font-size, 16px);
  62. }
  63. .nav-bar-index .van-nav-bar__left,
  64. .nav-bar-index .van-nav-bar__right {
  65. position: absolute;
  66. top: 0;
  67. bottom: 0;
  68. display: -webkit-flex;
  69. display: flex;
  70. -webkit-align-items: center;
  71. align-items: center;
  72. font-size: 14px;
  73. font-size: var(--font-size-md, 14px);
  74. }
  75. .nav-bar-index .van-nav-bar__left {
  76. left: 16px;
  77. left: var(--padding-md, 16px);
  78. }
  79. .nav-bar-index .van-nav-bar__right {
  80. right: 16px;
  81. right: var(--padding-md, 16px);
  82. }