index.acss 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. .divider-index {
  2. display: block;
  3. height: initial;
  4. }
  5. @import "../common/index.acss";
  6. .divider-index .van-divider {
  7. display: -webkit-flex;
  8. display: flex;
  9. -webkit-align-items: center;
  10. align-items: center;
  11. margin: 16px 0;
  12. margin: var(--divider-margin, 16px 0);
  13. color: #969799;
  14. color: var(--divider-text-color, #969799);
  15. font-size: 14px;
  16. font-size: var(--divider-font-size, 14px);
  17. line-height: 24px;
  18. line-height: var(--divider-line-height, 24px);
  19. border: 0 solid #ebedf0;
  20. border-color: var(--divider-border-color, #ebedf0);
  21. }
  22. .divider-index .van-divider:after,
  23. .divider-index .van-divider:before {
  24. display: block;
  25. -webkit-flex: 1;
  26. flex: 1;
  27. box-sizing: border-box;
  28. height: 1px;
  29. border-color: inherit;
  30. border-style: inherit;
  31. border-width: 1px 0 0;
  32. }
  33. .divider-index .van-divider:before {
  34. content: "";
  35. }
  36. .divider-index .van-divider--hairline:after,
  37. .divider-index .van-divider--hairline:before {
  38. -webkit-transform: scaleY(0.5);
  39. transform: scaleY(0.5);
  40. }
  41. .divider-index .van-divider--dashed {
  42. border-style: dashed;
  43. }
  44. .divider-index .van-divider--center:before,
  45. .divider-index .van-divider--left:before,
  46. .divider-index .van-divider--right:before {
  47. margin-right: 16px;
  48. margin-right: var(--divider-content-padding, 16px);
  49. }
  50. .divider-index .van-divider--center:after,
  51. .divider-index .van-divider--left:after,
  52. .divider-index .van-divider--right:after {
  53. content: "";
  54. margin-left: 16px;
  55. margin-left: var(--divider-content-padding, 16px);
  56. }
  57. .divider-index .van-divider--left:before {
  58. max-width: 10%;
  59. max-width: var(--divider-content-left-width, 10%);
  60. }
  61. .divider-index .van-divider--right:after {
  62. max-width: 10%;
  63. max-width: var(--divider-content-right-width, 10%);
  64. }