divider.wxss 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. .t-float-left {
  2. float: left;
  3. }
  4. .t-float-right {
  5. float: right;
  6. }
  7. @keyframes tdesign-fade-out {
  8. from {
  9. opacity: 1;
  10. }
  11. to {
  12. opacity: 0;
  13. }
  14. }
  15. .hotspot-expanded.relative {
  16. position: relative;
  17. }
  18. .hotspot-expanded::after {
  19. content: '';
  20. display: block;
  21. position: absolute;
  22. left: 0;
  23. top: 0;
  24. right: 0;
  25. bottom: 0;
  26. transform: scale(1.5);
  27. }
  28. .t-divider--horizontal {
  29. display: flex;
  30. align-items: center;
  31. color: #e7e7e7;
  32. border-color: #e7e7e7;
  33. border-style: solid;
  34. border-width: 0;
  35. margin-top: 20rpx;
  36. margin-bottom: 20rpx;
  37. }
  38. .t-divider--horizontal::before,
  39. .t-divider--horizontal::after {
  40. display: block;
  41. flex: 1;
  42. box-sizing: border-box;
  43. border-color: inherit;
  44. border-style: inherit;
  45. border-width: 1rpx 0 0;
  46. }
  47. .t-divider--horizontal::before {
  48. content: '';
  49. }
  50. .t-divider--vertical {
  51. display: flex;
  52. flex-direction: column;
  53. height: 1em;
  54. margin: 0 16rpx;
  55. color: #e7e7e7;
  56. border-color: #e7e7e7;
  57. border-style: solid;
  58. border-width: 0;
  59. }
  60. .t-divider--vertical::before,
  61. .t-divider--vertical::after {
  62. content: '';
  63. display: block;
  64. flex: 1;
  65. box-sizing: border-box;
  66. border-color: inherit;
  67. border-style: inherit;
  68. border-width: 0 1rpx 0 0;
  69. }
  70. .t-divider--vertical-center {
  71. display: flex;
  72. align-items: center;
  73. height: 100%;
  74. }
  75. .t-divider--dashed {
  76. border-style: dashed;
  77. }
  78. .t-divider__content {
  79. color: rgba(0, 0, 0, 0.4);
  80. }
  81. .t-divider--center::after,
  82. .t-divider--left::after,
  83. .t-divider--right::after {
  84. content: '';
  85. }
  86. .t-divider--left::before {
  87. max-width: 60rpx;
  88. }
  89. .t-divider--right::after {
  90. max-width: 60rpx;
  91. }