uni-th.wxss 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. @charset "UTF-8";
  2. /**
  3. * 下方引入的为Tuniao UI的集成样式文件,为scss预处理器,其中包含了一些"tn-"开头的自定义变量
  4. * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可
  5. * Tuniao UI自定义的css类名和scss变量,均以"tn-"开头,不会造成冲突,请放心使用
  6. */
  7. .uni-table-th {
  8. padding: 12px 10px;
  9. display: table-cell;
  10. box-sizing: border-box;
  11. font-size: 14px;
  12. font-weight: bold;
  13. color: #909399;
  14. border-bottom: 1px #ebeef5 solid;
  15. }
  16. .uni-table-th-row {
  17. display: flex;
  18. flex-direction: row;
  19. }
  20. .table--border {
  21. border-right: 1px #ebeef5 solid;
  22. }
  23. .uni-table-th-content {
  24. display: flex;
  25. align-items: center;
  26. flex: 1;
  27. }
  28. .arrow {
  29. display: block;
  30. position: relative;
  31. width: 10px;
  32. height: 8px;
  33. left: 5px;
  34. overflow: hidden;
  35. cursor: pointer;
  36. }
  37. .down {
  38. top: 3px;
  39. }
  40. .down ::after {
  41. content: '';
  42. width: 8px;
  43. height: 8px;
  44. position: absolute;
  45. left: 2px;
  46. top: -5px;
  47. -webkit-transform: rotate(45deg);
  48. transform: rotate(45deg);
  49. background-color: #ccc;
  50. }
  51. .down.active ::after {
  52. background-color: #007aff;
  53. }
  54. .up ::after {
  55. content: '';
  56. width: 8px;
  57. height: 8px;
  58. position: absolute;
  59. left: 2px;
  60. top: 5px;
  61. -webkit-transform: rotate(45deg);
  62. transform: rotate(45deg);
  63. background-color: #ccc;
  64. }
  65. .up.active ::after {
  66. background-color: #007aff;
  67. }