cell.wxss 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. .nut-theme-dark .nut-cell {
  2. background: #1b1b1b;
  3. color: #fff;
  4. box-shadow: none;
  5. }
  6. .nut-cell {
  7. position: relative;
  8. display: flex;
  9. width: 100%;
  10. line-height: 20px;
  11. padding: 13px 16px;
  12. background: #fff;
  13. border-radius: 6px;
  14. box-shadow: 0px 1px 7px 0px rgb(237, 238, 241);
  15. font-size: 14px;
  16. color: #666666;
  17. box-sizing: border-box;
  18. }
  19. .nut-cell--center {
  20. align-items: center;
  21. }
  22. .nut-cell--large {
  23. font-size: 16px;
  24. padding: 15px 16px;
  25. }
  26. .nut-cell--large .nut-cell__title-desc {
  27. font-size: 14px;
  28. }
  29. .nut-cell:last-child::after {
  30. border: 0 !important;
  31. }
  32. .nut-cell::after {
  33. position: absolute;
  34. box-sizing: border-box;
  35. content: " ";
  36. pointer-events: none;
  37. right: 16px;
  38. bottom: 0;
  39. left: 16px;
  40. transform: scaleY(0.5);
  41. }
  42. .nut-cell:active::before {
  43. opacity: 0.1;
  44. }
  45. .nut-cell--clickable {
  46. cursor: pointer;
  47. }
  48. .nut-cell--clickable::before {
  49. position: absolute;
  50. top: 50%;
  51. left: 50%;
  52. width: 100%;
  53. height: 100%;
  54. background-color: #000;
  55. border: inherit;
  56. border-color: #000;
  57. border-radius: inherit;
  58. transform: translate(-50%, -50%);
  59. opacity: 0;
  60. content: " ";
  61. }
  62. .nut-cell__icon {
  63. display: flex;
  64. flex-direction: row;
  65. margin-right: 0 4px 0 0px;
  66. }
  67. .nut-cell__title {
  68. display: flex;
  69. flex-direction: column;
  70. flex: 1;
  71. }
  72. .nut-cell__title-desc {
  73. font-size: 12px;
  74. }
  75. .nut-cell__value {
  76. display: inline-block;
  77. text-align: right;
  78. font-size: 14px;
  79. color: #cccccc;
  80. }
  81. .nut-cell__value--alone {
  82. color: #666666;
  83. }
  84. .nut-cell__link {
  85. color: #979797;
  86. }