index.less 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  1. .content-class {
  2. padding-top: 40px !important;
  3. &::before {
  4. background-image: none !important;
  5. }
  6. .card-item-trigger-type {
  7. position: absolute;
  8. top: 0;
  9. left: -14px;
  10. height: 32px;
  11. padding: 0 30px;
  12. color: rgba(0, 0, 0, 0.65);
  13. line-height: 32px;
  14. background-color: rgba(0, 0, 0, 0.06);
  15. transform: skewX(-45deg);
  16. .card-item-trigger-type-text {
  17. display: flex;
  18. align-items: center;
  19. justify-content: center;
  20. transform: skewX(45deg);
  21. }
  22. }
  23. .card-item-content-box {
  24. .card-item-content-trigger {
  25. display: flex;
  26. .card-item-content-trigger-item {
  27. width: max-content;
  28. color: rgba(0, 0, 0, 0.85);
  29. font-weight: bold;
  30. font-size: 15px;
  31. &:not(:last-child) {
  32. margin-right: 10px;
  33. }
  34. }
  35. .trigger-device {
  36. color: rgba(47, 84, 235);
  37. font-weight: bold;
  38. font-size: 15px;
  39. }
  40. }
  41. .card-item-content-action-item {
  42. display: flex;
  43. margin-top: 5px;
  44. .card-item-content-action-item-left {
  45. width: 40px;
  46. margin-right: 20px;
  47. color: #6968be;
  48. font-weight: bold;
  49. font-size: 18px;
  50. }
  51. .card-item-content-action-item-right {
  52. width: calc(100% - 58px);
  53. padding: 5px;
  54. border: 1px solid rgba(0, 0, 0, 0.08);
  55. .card-item-content-action-item-right-item {
  56. display: flex;
  57. width: 100%;
  58. .trigger-contents {
  59. color: rgba(0, 0, 0, 0.85);
  60. }
  61. .right-item-left {
  62. width: 15%;
  63. .trigger-conditions {
  64. color: #fab247;
  65. }
  66. .trigger-shake {
  67. color: rgba(0, 0, 0, 0.55);
  68. }
  69. }
  70. .right-item-right {
  71. width: 85%;
  72. .right-item-right-item {
  73. display: flex;
  74. width: 100%;
  75. .trigger-ways {
  76. width: 70px;
  77. color: rgba(0, 0, 0, 0.85);
  78. font-size: 16px;
  79. }
  80. .right-item-right-item-contents {
  81. display: flex;
  82. width: calc(100% - 95px);
  83. overflow: hidden;
  84. .right-item-right-item-contents-item {
  85. display: flex;
  86. align-items: center;
  87. color: rgba(0, 0, 0, 0.65);
  88. }
  89. }
  90. }
  91. &:not(:first-child) {
  92. padding-left: 20px;
  93. }
  94. }
  95. }
  96. }
  97. }
  98. .trigger-actions-more {
  99. margin-top: 10px;
  100. color: rgba(0, 0, 0, 0.45);
  101. cursor: pointer;
  102. }
  103. .notify-text-highlight {
  104. margin-left: 5px;
  105. font-weight: bold;
  106. }
  107. .notify-img-highlight {
  108. margin: 0 5px;
  109. color: rgba(0, 0, 0, 0.8);
  110. font-weight: bold;
  111. }
  112. }
  113. .card-item-content-box-empty {
  114. color: #e50012;
  115. font-weight: bold;
  116. }
  117. }