tabselect.scss 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  1. .nut-tabselect {
  2. .nut-tab {
  3. background: none;
  4. border: none;
  5. padding: 0;
  6. }
  7. .nav-bar {
  8. display: none;
  9. }
  10. .nut-tab-item {
  11. padding: 0;
  12. }
  13. .nut-tab-link {
  14. font-size: 14px;
  15. }
  16. .nut-tab-title {
  17. border: none;
  18. height: auto;
  19. line-height: auto;
  20. padding-left: 18px;
  21. .nut-title-nav-list {
  22. flex: none;
  23. padding: 0 13px;
  24. height: 30px;
  25. line-height: 30px;
  26. border: 1px solid #333;
  27. border-radius: 15px;
  28. margin-right: 15px;
  29. a {
  30. color: #333;
  31. }
  32. }
  33. .nut-tab-active {
  34. border-color: #e2231a;
  35. background: #fcedeb;
  36. a {
  37. color: #e2231a;
  38. }
  39. }
  40. }
  41. .nut-tab-inner {
  42. .nut-tab-title-leftnav {
  43. min-width: 158px;
  44. }
  45. .nut-title-nav {
  46. height: 40px;
  47. line-height: 40px;
  48. background: #f4f4f4;
  49. padding-left: 18px;
  50. }
  51. .nut-tab-active {
  52. background: #fff;
  53. }
  54. .nut-tab-link {
  55. line-height: inherit;
  56. font-size: 14px;
  57. }
  58. .nut-tab-item {
  59. padding: 0 10px 0 17px;
  60. }
  61. .nut-tab-panel {
  62. max-height: 280px;
  63. overflow-y: auto;
  64. }
  65. }
  66. .nut-tab-title-leftnav {
  67. border: none;
  68. max-height: 280px;
  69. overflow-y: auto;
  70. overflow-x: hidden;
  71. .nut-title-nav {
  72. border: none;
  73. }
  74. }
  75. .nut-tabselect-main-title {
  76. margin: 12px 0 8px 18px;
  77. font-size: 18px;
  78. line-height: 25px;
  79. color: #000;
  80. font-weight: bold;
  81. }
  82. .nut-tabselect-sub-title {
  83. margin: 22px 0 11px 18px;
  84. line-height: 20px;
  85. color: #666;
  86. font-size: 14px;
  87. }
  88. .nut-tab-panel li {
  89. height: 29px;
  90. line-height: 29px;
  91. color: #333;
  92. border: 1px solid #999999;
  93. padding-left: 15px;
  94. margin-bottom: 10px;
  95. border-radius: 2px;
  96. cursor: pointer;
  97. &.nut-tab-panel-list-active {
  98. color: #e2231a;
  99. border: 1px solid #e2231a;
  100. background: #fcedeb;
  101. }
  102. }
  103. .popup-bottom.round {
  104. border-radius: 12px 12px 0px 0px;
  105. }
  106. .nut-tabselect-btn {
  107. display: flex;
  108. background: #fff;
  109. position: absolute;
  110. bottom: 0;
  111. left: 0;
  112. right: 0;
  113. padding: 12px 18px;
  114. a {
  115. flex: 1;
  116. height: 30px;
  117. line-height: 30px;
  118. background: linear-gradient(
  119. 135deg,
  120. rgba(242, 20, 12, 1) 0%,
  121. rgba(242, 39, 12, 1) 70%,
  122. rgba(242, 77, 12, 1) 100%
  123. );
  124. border-radius: 15px;
  125. color: #fff;
  126. text-align: center;
  127. }
  128. }
  129. }