license_info_distribution.css 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294
  1. /*公共*/
  2. .date-time {
  3. color: #808080; /* 浅灰色 */
  4. font-size: 1.2em; /* 放大字体 */
  5. font-weight: bold; /* 加粗字体 */
  6. }
  7. /*---------------------------------------------------------*/
  8. /* 分发模态框基础样式 */
  9. .DistributeModal {
  10. display: none; /* 初始隐藏 */
  11. position: fixed;
  12. z-index: 1000;
  13. left: 0;
  14. top: 0;
  15. width: 100%;
  16. height: 100%;
  17. background-color: rgba(0, 0, 0, 0.5); /* 半透明背景 */
  18. justify-content: center;
  19. align-items: center;
  20. }
  21. .DistributeModal-content {
  22. background-color: white;
  23. padding: 20px;
  24. width: 400px;
  25. max-width: 90%;
  26. border-radius: 10px;
  27. box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  28. position: relative;
  29. text-align: center;
  30. }
  31. /* 关闭按钮 */
  32. .DistributeModal-close {
  33. position: absolute;
  34. top: 10px;
  35. right: 15px;
  36. font-size: 24px;
  37. color: #333;
  38. cursor: pointer;
  39. }
  40. /* 分发模态框上、下两个部分的样式 */
  41. .DistributeModal-section {
  42. margin-bottom: 20px;
  43. padding: 15px;
  44. border: 1px solid #ccc; /* 细边框 */
  45. border-radius: 5px;
  46. box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* 阴影效果 */
  47. }
  48. /* 输入框样式 */
  49. .DistributeModal-email-input-wrapper {
  50. display: flex;
  51. align-items: center;
  52. margin-bottom: 10px;
  53. }
  54. .DistributeModal-email-input {
  55. flex: 1;
  56. padding: 10px;
  57. border: 1px solid #ccc;
  58. border-radius: 15px;
  59. background-color: #f5f5f5; /* iOS 风格背景 */
  60. box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
  61. font-size: 16px;
  62. font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  63. }
  64. /* 删除按钮样式 */
  65. .DistributeModal-remove-email-btn {
  66. background-color: #ff3b30; /* iOS 风格红色按钮 */
  67. color: white;
  68. border: none;
  69. border-radius: 50%;
  70. width: 25px;
  71. height: 25px;
  72. display: flex;
  73. justify-content: center;
  74. align-items: center;
  75. cursor: pointer;
  76. flex-shrink: 0; /* 确保按钮不会缩小 */
  77. }
  78. .DistributeModal-remove-email-btn:hover {
  79. background-color: #d32f2f; /* 更深的红色 */
  80. }
  81. /* 布局:将新增邮箱和确认分发按钮放在一行 */
  82. .DistributeModal-email-button-wrapper {
  83. display: flex;
  84. justify-content: space-between; /* 按钮之间均匀分布 */
  85. gap: 5px; /* 将按钮之间的间距缩小为 5px */
  86. margin-bottom: 10px; /* 与输入框部分保持一定距离 */
  87. }
  88. /* 按钮样式 */
  89. .DistributeModal-button {
  90. background-color: #007aff; /* iOS风格的蓝色按钮 */
  91. color: white;
  92. padding: 10px;
  93. border: none;
  94. border-radius: 5px;
  95. cursor: pointer;
  96. margin-top: 10px;
  97. flex: 1; /* 使按钮占据相同宽度 */
  98. }
  99. .DistributeModal-button:hover {
  100. background-color: #0056b3;
  101. }
  102. /* 复选框容器样式 */
  103. .DistributeModal-checkbox-wrapper {
  104. display: flex;
  105. justify-content: space-between;
  106. margin-top: 10px;
  107. }
  108. /* 复选框标签样式 */
  109. .DistributeModal-checkbox-label {
  110. display: flex;
  111. align-items: center;
  112. font-size: 16px;
  113. color: #333;
  114. cursor: pointer;
  115. }
  116. /* 隐藏默认复选框 */
  117. .DistributeModal-checkbox {
  118. appearance: none;
  119. -webkit-appearance: none;
  120. position: absolute;
  121. opacity: 0;
  122. }
  123. /* 自定义复选框样式 */
  124. .DistributeModal-checkbox-custom {
  125. width: 40px;
  126. height: 20px;
  127. background-color: #ccc;
  128. border-radius: 10px;
  129. position: relative;
  130. transition: background-color 0.3s;
  131. }
  132. /* 复选框选中后的样式 */
  133. .DistributeModal-checkbox:checked + .DistributeModal-checkbox-custom {
  134. background-color: #007aff; /* iOS 风格的蓝色 */
  135. }
  136. /* 滑动的圆点 */
  137. .DistributeModal-checkbox-custom::before {
  138. content: "";
  139. position: absolute;
  140. top: 2px;
  141. left: 2px;
  142. width: 16px;
  143. height: 16px;
  144. background-color: white;
  145. border-radius: 50%;
  146. transition: transform 0.3s;
  147. }
  148. /* 复选框选中后,圆点移动 */
  149. .DistributeModal-checkbox:checked + .DistributeModal-checkbox-custom::before {
  150. transform: translateX(20px);
  151. }
  152. /* 分发用户 */
  153. /* 布局:将新增下拉框和确认用户分发按钮放在一行 */
  154. .DistributeModal-user-button-wrapper {
  155. display: flex;
  156. justify-content: space-between; /* 按钮均匀分布 */
  157. gap: 10px; /* 间距 */
  158. margin-bottom: 10px;
  159. }
  160. /* iOS 风格下拉框样式 */
  161. .distributeUser-select {
  162. flex: 1; /* 使下拉框占据剩余空间 */
  163. max-width: 80%; /* 确保下拉框不会占据过多空间 */
  164. padding: 5px;
  165. border-radius: 10px;
  166. background-color: #f5f5f5; /* iOS 风格浅色背景 */
  167. border: 1px solid #ccc;
  168. font-size: 14px;
  169. -webkit-appearance: none; /* 移除默认下拉箭头样式 */
  170. appearance: none;
  171. margin-right: 10px; /* 留出与关闭按钮的间距 */
  172. }
  173. .distributeUser-select-wrapper {
  174. display: flex;
  175. align-items: center;
  176. margin-bottom: 10px;
  177. }
  178. /* 自定义下拉箭头 */
  179. .distributeUser-select-wrapper::after {
  180. content: '▼';
  181. position: absolute;
  182. right: 10px;
  183. top: 50%;
  184. transform: translateY(-50%);
  185. pointer-events: none; /* 让箭头不可点击 */
  186. }
  187. /*分发历史模态框----------*/
  188. /* 模态框背景 */
  189. /* 模态框背景 */
  190. .distributionHistory-modal {
  191. display: none; /* 默认隐藏 */
  192. position: fixed;
  193. z-index: 999;
  194. left: 0;
  195. top: 0;
  196. width: 100%;
  197. height: 100%;
  198. background-color: rgba(0, 0, 0, 0.5); /* 半透明黑色背景 */
  199. }
  200. /* 模态框内容 */
  201. .distributionHistory-modal-content {
  202. position: absolute;
  203. top: 50%;
  204. left: 50%;
  205. transform: translate(-50%, -50%);
  206. background-color: #ffffff;
  207. border-radius: 12px; /* 圆角 */
  208. box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  209. width: 90%;
  210. max-width: 500px;
  211. padding: 20px; /* 内边距 */
  212. border: 4px solid #02556e;
  213. }
  214. /* 关闭按钮 */
  215. .distributionHistory-modal-close {
  216. color: #888;
  217. float: right;
  218. font-size: 24px;
  219. font-weight: bold;
  220. cursor: pointer;
  221. }
  222. /* 标题 */
  223. .distributionHistory-modal h2 {
  224. margin: 0;
  225. font-size: 20px;
  226. font-weight: bold;
  227. text-align: center;
  228. }
  229. /* 用户记录和邮箱记录容器 */
  230. .distributionHistory-user-content,
  231. .distributionHistory-email-content {
  232. margin-top: 15px; /* 上外边距 */
  233. margin-bottom: 15px; /* 下外边距 */
  234. border: 1px solid #02556e; /* 边框 */
  235. border-radius: 8px; /* 圆角 */
  236. padding: 10px; /* 内边距 */
  237. background-color: #ffffff; /* 背景色 */
  238. }
  239. /* 记录内容样式 */
  240. .distributionHistoryModal-record {
  241. padding: 10px;
  242. border-bottom: 1px solid #eee9e9;
  243. }
  244. /* 最后一个记录没有底部边框 */
  245. /* .distributionHistoryModal-record:last-child {
  246. border-bottom: none;
  247. } */
  248. /* 无记录提示 */
  249. .distributionHistoryModal-no-record {
  250. text-align: center;
  251. color: #999;
  252. padding: 10px;
  253. }