column_detail.css 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198
  1. /*一般公用样式*/
  2. ::-webkit-scrollbar {
  3. width: 0;
  4. }
  5. /*让页面平滑滚动*/
  6. body {
  7. scroll-behavior: smooth;
  8. margin: 0;
  9. -moz-user-select: none;
  10. -webkit-user-select: none;
  11. -ms-user-select: none;
  12. -khtml-user-select: none;
  13. user-select: none;
  14. }
  15. p {
  16. margin: 0;
  17. padding: 0;
  18. }
  19. /*表格公用样式*/
  20. table {
  21. /*设置相邻单元格的边框间的距离*/
  22. border-spacing: 0;
  23. /*表格设置合并边框模型*/
  24. border-collapse: collapse;
  25. display: table;
  26. width: 100%;
  27. border: 1px solid #d9e1ec;
  28. box-sizing: border-box;
  29. table-layout: fixed;
  30. }
  31. tr, td {
  32. border: 1px solid #d9e1ec;
  33. text-align: center;
  34. }
  35. td {
  36. padding: 1vh 0;
  37. overflow: hidden;
  38. text-overflow: ellipsis;
  39. word-break: break-all;
  40. box-sizing: border-box;
  41. }
  42. /*头部统计远离边界*/
  43. .statistics {
  44. width: 100%;
  45. margin: 0 auto;
  46. }
  47. .statistics ul {
  48. list-style: none;
  49. margin: 0;
  50. padding: 0;
  51. }
  52. .statistics li {
  53. text-align: center;
  54. color: #4b5162;
  55. padding: 1vh 0;
  56. }
  57. /*题头的字体颜色*/
  58. .table_title {
  59. color: #4b5162;
  60. }
  61. /*头部统计*/
  62. .flex_between {
  63. display: flex;
  64. display: -webkit-flex;
  65. justify-content: space-between;
  66. -webkit-justify-content: space-between;
  67. }
  68. /*优化表格样式*/
  69. .table_column {
  70. border: 1px;
  71. }
  72. .table_column td {
  73. color: #3d4f5e;
  74. background: linear-gradient(#f8fcff, #def2ff);
  75. border-color: #d9e1ec;
  76. }
  77. .content {
  78. display: block;
  79. overflow: scroll;
  80. table-layout: fixed;
  81. -webkit-overflow-scrolling: touch;
  82. height: 100px;
  83. }
  84. .table_content, .table_content tr:first-child, .table_content tr:first-child td {
  85. border-top: 0;
  86. }
  87. .table_content td {
  88. color: #4b5162;
  89. border-color: #d9e1ec;
  90. }
  91. .table_content tr:nth-child(odd) {
  92. background: #fff;
  93. }
  94. .table_content tr:nth-child(even) {
  95. background: #f7fbff;
  96. }
  97. .none {
  98. display: none;
  99. }
  100. .visibility-hidden {
  101. visibility: hidden;
  102. }
  103. /*选择序号进行跳转*/
  104. .table-serial-btn {
  105. width: 40px;;
  106. height: 40px;
  107. border-radius: 40px;
  108. font-size: 0.8rem;
  109. background: #157dfe;
  110. color: #fff;
  111. opacity: 0.5;
  112. outline: none;
  113. border: 0;
  114. position: fixed;
  115. margin-bottom: 1rem;
  116. margin-right: 1rem;
  117. bottom: 0;
  118. right: 0;
  119. }
  120. .serial-menu {
  121. width: 100%;
  122. }
  123. .serial-content {
  124. width: 90%;
  125. margin: 5px auto;
  126. display: flex;
  127. justify-content: space-between;
  128. flex-wrap: wrap;
  129. }
  130. .serial-btn {
  131. width: 80px;;
  132. height: 40px;
  133. font-size: 1rem;
  134. background: #157dfe;
  135. color: #fff;
  136. border-radius: 1rem;
  137. margin-bottom: 1rem;
  138. outline: none;
  139. border: 0;
  140. }
  141. .serial-box {
  142. width: 60%;
  143. margin-left: 20%;
  144. display: flex;
  145. display: -webkit-flex;
  146. justify-content: space-between;
  147. -webkit-justify-content: space-between;
  148. position: fixed;
  149. bottom: 0;
  150. }
  151. .serial-box .cancel {
  152. width: 30%;
  153. background: #f1f1f1;
  154. color: #939393;
  155. font-size: 0.8rem;
  156. padding: 0.6rem 0;
  157. }
  158. .serial-box .determine {
  159. width: 30%;
  160. background: #157dfe;
  161. color: #fff;
  162. font-size: 0.8rem;
  163. padding: 0.6rem 0;
  164. }