license_info.css 27 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082
  1. /* 保持样式不变 */
  2. body {
  3. font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  4. background-color: #f8f8f8;
  5. margin: 0;
  6. padding: 0;
  7. display: flex;
  8. }
  9. header {
  10. display: flex;
  11. justify-content: space-between;
  12. align-items: center;
  13. padding: 20px;
  14. background-color: #1169ff;
  15. color: white;
  16. width: 100%;
  17. margin: 0; /* 移除上下左右的空隙 */
  18. box-sizing: border-box; /* 确保padding不会影响元素的宽度 */
  19. border: 4px solid #1169ff; /* 确保红框颜色填满 */
  20. border-width: 4px 0 4px 0; /* 只显示上下的红框颜色 */
  21. border-radius: 10px; /* 设置圆角 */
  22. }
  23. h1 {
  24. font-size: 24px;
  25. font-weight: 600;
  26. margin: 0;
  27. }
  28. .CaptureLicenseOnce-button {
  29. background-color: white;
  30. color: #007aff;
  31. border: 2px solid #007aff;
  32. padding: 10px 20px;
  33. border-radius: 10px;
  34. cursor: pointer;
  35. font-size: 16px;
  36. font-weight: 500;
  37. box-shadow: none;
  38. transition: background-color 0.3s, color 0.3s;
  39. float: right; /* 将按钮移动到左侧 */
  40. }
  41. .CaptureLicenseOnce-button:hover {
  42. background-color: #0eb3ff;
  43. color: white;
  44. }
  45. /* 扁平风格的选择框 */
  46. .flat-select {
  47. background-color: transparent; /* 背景色透明 */
  48. border: 1px solid #007aff; /* 边框颜色与按钮一致 */
  49. border-radius: 15px; /* 圆角边框 */
  50. padding: 5px 10px; /* 内边距 */
  51. font-size: 16px; /* 字体大小 */
  52. color: #007aff; /* 文字颜色 */
  53. outline: none; /* 移除默认的焦点样式 */
  54. appearance: none; /* 移除默认的下拉箭头样式 */
  55. -webkit-appearance: none; /* 对部分浏览器的兼容性处理 */
  56. -moz-appearance: none; /* 对部分浏览器的兼容性处理 */
  57. cursor: pointer; /* 鼠标指针样式 */
  58. margin-left: 10px; /* 添加左边距,使选择框与前面的元素有些距离 */
  59. box-shadow: none; /* 移除阴影效果 */
  60. transition: background-color 0.3s, color 0.3s; /* 添加过渡效果 */
  61. }
  62. /* 选择框在悬停时的效果 */
  63. .flat-select:hover {
  64. background-color: #007aff; /* 背景色变为蓝色 */
  65. color: white; /* 文字颜色变为白色 */
  66. }
  67. /* 选择框在聚焦时的效果 */
  68. .flat-select:focus {
  69. background-color: #e0f7ff; /* 聚焦时的背景颜色 */
  70. border-color: #0056b3; /* 聚焦时的边框颜色 */
  71. }
  72. /* 添加下拉箭头的样式 */
  73. .flat-select::after {
  74. content: '▼'; /* 使用字符作为下拉箭头 */
  75. position: absolute;
  76. right: 10px;
  77. pointer-events: none; /* 确保下拉箭头不会遮挡选择框 */
  78. }
  79. /* 扁平圆角风格的按钮样式 */
  80. .flat-rounded-button {
  81. background-color: white;
  82. color: #007aff;
  83. border: 2px solid #007aff;
  84. padding: 10px 20px;
  85. border-radius: 15px;
  86. cursor: pointer;
  87. font-size: 16px;
  88. font-weight: 500;
  89. box-shadow: none; /* 移除阴影效果 */
  90. transition: background-color 0.3s, color 0.3s;
  91. margin: 5px; /* 添加按钮之间的间距 */
  92. }
  93. /* 悬停时的效果 */
  94. .flat-rounded-button:hover {
  95. background-color: #0eb3ff;
  96. color: white;
  97. }
  98. /*lic 展示页 主行展开后变化*/
  99. .expanded-row {
  100. background-color: #0eb3ff; /* 展开时的背景颜色 */
  101. border-color: #04aa9c; /* 展开时的边框颜色 */
  102. border-width: 4px; /* 边框宽度 */
  103. border-radius: 35px; /* 边框圆角 */
  104. transition: all 0.2s ease; /* 添加过渡效果 */
  105. }
  106. /*苹果风格模态框*/
  107. .apple-modal-content {
  108. font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  109. padding: 20px;
  110. border-radius: 12px;
  111. background-color: white;
  112. box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  113. margin-bottom: 20px;
  114. min-width: 250px; /* 添加最小宽度 */
  115. }
  116. .apple-modal-title {
  117. font-size: 24px;
  118. font-weight: 600;
  119. color: #333;
  120. margin-bottom: 10px;
  121. }
  122. .apple-modal-subtitle {
  123. font-size: 20px;
  124. font-weight: 500;
  125. color: #555;
  126. margin-top: 20px;
  127. margin-bottom: 10px;
  128. }
  129. /* 苹果风格的文字样式 */
  130. .apple-modal-text {
  131. font-size: 16px;
  132. color: #555;
  133. line-height: 1.6;
  134. margin-bottom: 10px;
  135. }
  136. /* 强调部分 */
  137. .apple-modal-text strong {
  138. color: #333;
  139. }
  140. /* 苹果风格的模态框关闭按钮 */
  141. .apple-close {
  142. color: #aaa;
  143. font-size: 24px; /* 调整字体大小 */
  144. font-weight: bold;
  145. cursor: pointer;
  146. transition: color 0.3s;
  147. }
  148. .apple-close:hover {
  149. color: black;
  150. }
  151. /* 苹果风格的退出按钮 */
  152. .apple-logout-button {
  153. background-color: #007aff; /* 苹果风格的蓝色 */
  154. color: white;
  155. border: none;
  156. padding: 8px 16px; /* 减小内边距,使按钮更小 */
  157. border-radius: 10px; /* 圆角稍微减小 */
  158. font-size: 14px; /* 调整字体大小 */
  159. font-weight: 500;
  160. cursor: pointer;
  161. transition: background-color 0.3s, transform 0.3s;
  162. }
  163. .apple-logout-button:hover {
  164. background-color: #005bb5; /* 悬停时按钮颜色变深 */
  165. transform: scale(1.05); /* 悬停时按钮略微放大 */
  166. }
  167. .apple-logout-button:active {
  168. background-color: #003e7e; /* 点击时按钮颜色更深 */
  169. transform: scale(0.98); /* 点击时按钮略微缩小 */
  170. }
  171. .upload-button, .user-button {
  172. background-color: white;
  173. color: #007aff;
  174. border: none;
  175. padding: 10px 20px;
  176. border-radius: 10px;
  177. cursor: pointer;
  178. font-size: 16px;
  179. font-weight: 500;
  180. box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  181. transition: background-color 0.3s;
  182. }
  183. .upload-button:hover, .user-button:hover {
  184. background-color: #f0f0f0;
  185. }
  186. .sidebar {
  187. width: 200px;
  188. background-color: #f1f1f1;
  189. padding: 20px;
  190. box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
  191. height: 100vh;
  192. transition: transform 0.3s ease;
  193. }
  194. .sidebar.hidden {
  195. transform: translateX(-100%);
  196. }
  197. .sidebar button {
  198. width: 100%;
  199. padding: 10px;
  200. margin-bottom: 10px;
  201. background-color: white;
  202. color: #007aff;
  203. border: none;
  204. border-radius: 10px;
  205. cursor: pointer;
  206. font-size: 16px;
  207. font-weight: 500;
  208. box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  209. transition: background-color 0.3s;
  210. }
  211. .sidebar button:hover {
  212. background-color: #e0e0e0;
  213. }
  214. .content {
  215. flex-grow: 1;
  216. padding: 20px;
  217. transition: margin-left 0.3s ease;
  218. }
  219. .content.expanded {
  220. margin-left: -200px;
  221. }
  222. .toggle-sidebar {
  223. position: fixed;
  224. top: 50%; /* 垂直居中 */
  225. transform: translateY(-50%); /* 调整为居中对齐 */
  226. left: 0; /* 靠左对齐 */
  227. background-color: #007aff;
  228. color: white;
  229. border: none;
  230. padding: 10px;
  231. cursor: pointer;
  232. border-radius: 0 10px 10px 0; /* 右侧圆角,左侧保持平直 */
  233. width: 30px; /* 长条形箭头的宽度 */
  234. height: 60px; /* 长条形箭头的高度 */
  235. z-index: 1000;
  236. display: flex;
  237. align-items: center;
  238. justify-content: center;
  239. transition: all 0.3s ease; /* 添加动效 */
  240. }
  241. .sidebar.hidden + .content .toggle-sidebar {
  242. left: 0;
  243. transform: translateX(0) translateY(-50%);
  244. }
  245. /* 按钮容器的样式 */
  246. .button-container {
  247. display: inline-flex; /* 确保按钮在同一行 */
  248. align-items: center; /* 垂直居中对齐 */
  249. gap: 10px; /* 设置按钮之间的间距为10px,可以根据需要调整 */
  250. }
  251. /* 统一按钮的样式 */
  252. /* 通用按钮样式 */
  253. .license-status-btn {
  254. display: inline-block;
  255. padding: 5px 15px;
  256. font-size: 14px;
  257. font-weight: bold;
  258. color: white;
  259. text-align: center;
  260. border-radius: 15px; /* 圆角样式 */
  261. cursor: pointer;
  262. box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* 阴影效果 */
  263. transition: background-color 0.3s;
  264. border: none; /* 移除按钮边框 */
  265. }
  266. /* 查看详情按钮的特定样式 */
  267. .license-status-btn.view-details {
  268. background-color: #add8e6; /* 浅蓝色背景 */
  269. color: white;
  270. }
  271. /* 下载lic按钮的特定样式 */
  272. .license-status-btn.download-lic {
  273. background-color: #4CAF50; /* 绿色背景 */
  274. color: white;
  275. }
  276. /* 分发按钮样式 */
  277. .license-status-btn.distribute {
  278. background-color: #007bff; /* 蓝色背景 */
  279. }
  280. .license-status-btn.distribute:hover {
  281. background-color: #0056b3; /* 悬停时的颜色 */
  282. }
  283. /* 生成按钮样式 */
  284. .license-status-btn.generate {
  285. background-color: #ffc107; /* 黄色背景 */
  286. }
  287. .license-status-btn.generate:hover {
  288. background-color: #e0a800; /* 悬停时的颜色 */
  289. }
  290. /* 默认状态下的箭头图标 */
  291. .arrow-icon {
  292. width: 10px;
  293. height: 10px;
  294. border: solid #007aff;
  295. border-width: 0 3px 3px 0;
  296. display: inline-block;
  297. padding: 3px;
  298. transform: rotate(45deg); /* 初始方向向下 */
  299. transition: transform 0.3s ease; /* 添加旋转过渡效果 */
  300. cursor: pointer;
  301. }
  302. /* 当行展开时旋转箭头图标 */
  303. .rotate-arrow {
  304. transform: rotate(-135deg); /* 旋转方向向上 */
  305. }
  306. /*分发历史样式*/
  307. #distributionHistoryModal .centered-modal-content {
  308. background-color: #ffffff;
  309. border: none;
  310. border-radius: 15px;
  311. padding: 20px;
  312. box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  313. text-align: center;
  314. width: 30%; /* 设置宽度为屏幕的80% */
  315. max-width: 90%; /* 最大宽度设置为90%屏幕宽度 */
  316. height: auto; /* 高度自适应内容 */
  317. max-height: 80vh; /* 设置最大高度为屏幕的80% */
  318. overflow-y: auto; /* 如果内容超出则添加垂直滚动条 */
  319. overflow-x: hidden; /* 水平不出现滚动条 */
  320. margin: 0 auto; /* 居中显示 */
  321. }
  322. /* 设置用户和邮箱分发记录容器样式 */
  323. .distribution-container {
  324. padding: 20px;
  325. border: 1px solid #ddd;
  326. border-radius: 10px;
  327. background-color: #f9f9f9;
  328. margin-bottom: 20px;
  329. }
  330. /* 每条记录样式 */
  331. .distribution-item {
  332. margin-bottom: 10px;
  333. padding: 10px;
  334. border-bottom: 1px solid #ccc;
  335. }
  336. /* 最后一条记录不需要底部边框 */
  337. .distribution-item:last-child {
  338. border-bottom: none;
  339. }
  340. /* lic查看详细按钮样式 */
  341. .license-status-btn.view-details {
  342. background-color: #add8e6; /* 浅蓝色背景 */
  343. color: white; /* 白色文字 */
  344. border: none; /* 移除按钮边框 */
  345. padding: 8px 16px; /* 调整内边距,与“生成”按钮保持一致 */
  346. border-radius: 20px; /* 调整圆角,确保形状一致 */
  347. cursor: pointer;
  348. font-size: 14px; /* 调整字体大小,确保一致 */
  349. font-weight: 500; /* 字体权重,确保一致 */
  350. margin-left: 10px; /* 与其他按钮的间隔 */
  351. transition: background-color 0.3s, color 0.3s; /* 添加过渡效果 */
  352. }
  353. .license-status-btn.view-details:hover {
  354. background-color: #87ceeb; /* 悬停时颜色变深 */
  355. }
  356. /* 表格样式 */
  357. /* 表格容器 */
  358. /* 表格容器 */
  359. table {
  360. width: 100%;
  361. border-collapse: separate;
  362. border-spacing: 0 6px; /* 设置行间距为4px */
  363. /* background-color: transparent; 使表格背景透明,突出行间距效果 */
  364. margin: 20px 0;
  365. }
  366. th, td {
  367. padding: 20px 20px 15px 20px; /* 设置单元格内边距 */
  368. text-align: left;
  369. font-size: 16px;
  370. /* background-color: white; 单元格背景色 */
  371. }
  372. th {
  373. background-color: #f8f8f8; /* 表头背景色 */
  374. font-weight: bold;
  375. color: #333;
  376. border-color: #1169ff;
  377. text-align: center; /* 水平居中 */
  378. vertical-align: middle; /* 垂直居中 */
  379. }
  380. /* 加粗表头的第一个字段 */
  381. th:first-child {
  382. font-weight: bold;
  383. }
  384. td {
  385. text-align: center; /* 水平居中 */
  386. vertical-align: middle; /* 垂直居中 */
  387. border-bottom: 3px solid #e7e7e7; /* 设置底部边框线颜色为灰色 */
  388. color: #555;
  389. }
  390. /* 鼠标悬停时改变边框颜色 */
  391. tr:hover {
  392. background-color: #e3e5e7; /* 设置悬停时的背景颜色 */
  393. border-color: #1169ff; /* 设置悬停时的边框颜色 */
  394. border-width: 4px; /* 设置悬停时的边框大小 */
  395. border-radius: 15px; /* 设置悬停时的圆角 */
  396. }
  397. /* 表格行样式 */
  398. tr {
  399. background-color: rgb(255, 253, 253); /* 每行背景色 */
  400. box-shadow: 0 7px 10px rgba(1, 1, 1, 0.5); /* 设置阴影效果 */
  401. border-radius: 10px; /* 设置每行的圆角 */
  402. overflow: hidden; /* 确保圆角效果生效 */
  403. border: 2px solid transparent; /* 默认边框为透明 */
  404. transition: all 0.3s ease; /* 添加过渡效果 */
  405. }
  406. /* 将每行第一个字段的值加粗 */
  407. td:first-child {
  408. font-weight: bold; /* 设置字体加粗 */
  409. }
  410. /* 确保单元格也适应行的圆角 */
  411. tr:first-child td:first-child {
  412. border-top-left-radius: 10px;
  413. }
  414. tr:first-child td:last-child {
  415. border-top-right-radius: 10px;
  416. }
  417. tr:last-child td:first-child {
  418. border-bottom-left-radius: 10px;
  419. }
  420. tr:last-child td:last-child {
  421. border-bottom-right-radius: 10px;
  422. }
  423. /*添加用户样式*/
  424. .flat-rounded-input {
  425. width: calc(100% - 40px); /* 与其他输入框一致的宽度 */
  426. padding: 15px 20px; /* 更大的内边距 */
  427. font-size: 18px; /* 更大的字体 */
  428. border: 2px solid #e0e0e0; /* 边框颜色 */
  429. border-radius: 25px; /* 圆角边框 */
  430. box-sizing: border-box;
  431. margin-bottom: 20px;
  432. background-color: #f8f8f8; /* 背景色 */
  433. transition: border-color 0.3s, box-shadow 0.3s; /* 添加动画效果 */
  434. }
  435. .flat-rounded-input:focus {
  436. border-color: #007aff; /* 聚焦时的边框颜色 */
  437. box-shadow: 0 0 8px rgba(0, 122, 255, 0.2); /* 聚焦时的阴影效果 */
  438. outline: none; /* 去掉默认的聚焦样式 */
  439. }
  440. .flat-rounded-button {
  441. background-color: #007aff;
  442. color: white;
  443. border: none;
  444. padding: 15px 20px;
  445. border-radius: 25px;
  446. cursor: pointer;
  447. font-size: 18px;
  448. font-weight: bold;
  449. box-shadow: none; /* 移除阴影效果 */
  450. transition: background-color 0.3s, color 0.3s;
  451. }
  452. .flat-rounded-button:hover {
  453. background-color: #005bb5;
  454. }
  455. .form-group {
  456. display: flex;
  457. align-items: center;
  458. margin-bottom: 15px;
  459. }
  460. .form-group label {
  461. flex: 0 0 80px; /* 固定标签宽度 */
  462. text-align: right;
  463. margin-right: 10px; /* 标签与输入框之间的间距 */
  464. }
  465. .form-group input {
  466. flex: 1; /* 输入框占据剩余空间 */
  467. }
  468. /* 分页按钮样式 */
  469. .pagination button {
  470. padding: 10px 20px;
  471. margin: 0 5px;
  472. cursor: pointer;
  473. border: none;
  474. border-radius: 15px;
  475. background-color: #007aff;
  476. color: white;
  477. font-size: 16px;
  478. font-weight: 500;
  479. box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  480. transition: background-color 0.3s;
  481. }
  482. .pagination button:disabled {
  483. background-color: #b0c4de;
  484. cursor: not-allowed;
  485. }
  486. .pagination button:not(:disabled):hover {
  487. background-color: #005bb5;
  488. }
  489. .modal {
  490. display: none;
  491. position: fixed;
  492. z-index: 1;
  493. left: 0;
  494. top: 0;
  495. width: 100%;
  496. height: 100%;
  497. overflow: auto;
  498. background-color: rgba(0, 0, 0, 0.4);
  499. }
  500. .modal-content {
  501. position: fixed;
  502. top: 50%;
  503. left: 50%;
  504. transform: translate(-50%, -50%);
  505. background-color: #fefefe;
  506. padding: 20px;
  507. border: 1px solid #888;
  508. border-radius: 10px;
  509. box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  510. max-width: 100%;
  511. max-height: 90%;
  512. overflow-y: auto;
  513. }
  514. /*修改license信息的样式*/
  515. .modify-license-modal-content {
  516. position: fixed;
  517. top: 50%;
  518. left: 50%;
  519. transform: translate(-50%, -50%);
  520. background-color: #fefefe;
  521. padding: 50px;
  522. border: 1px solid #888;
  523. border-radius: 10px;
  524. box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  525. width: 400px;
  526. height: 80%; /* 设置为你希望的高度 */
  527. overflow-y: auto;
  528. text-align: center;
  529. }
  530. .modify-license-modal-content input[type="number"],
  531. .modify-license-modal-content input[type="date"],
  532. .modify-license-modal-content input[type="text"],
  533. .modify-license-modal-content input[type="email"],
  534. .modify-license-modal-content input[type="password"],
  535. .modify-license-modal-content textarea,
  536. .modify-license-modal-content select {
  537. width: calc(100% - 40px);
  538. padding: 15px 20px; /* 更大内边距 */
  539. font-size: 18px; /* 更大字体 */
  540. border: 2px solid #e0e0e0; /* 边框颜色 */
  541. border-radius: 25px; /* 圆形边框 */
  542. box-sizing: border-box;
  543. margin-bottom: 20px;
  544. background-color: #f8f8f8; /* 背景色更浅 */
  545. transition: border-color 0.3s, box-shadow 0.3s; /* 添加动画效果 */
  546. }
  547. .modify-license-modal-content input[type="number"]:focus,
  548. .modify-license-modal-content input[type="date"]:focus,
  549. .modify-license-modal-content input[type="text"]:focus,
  550. .modify-license-modal-content input[type="email"]:focus,
  551. .modify-license-modal-content input[type="password"]:focus,
  552. .modify-license-modal-content textarea:focus,
  553. .modify-license-modal-content select:focus {
  554. border-color: #007aff; /* 聚焦时的边框颜色 */
  555. box-shadow: 0 0 8px rgba(0, 122, 255, 0.2); /* 聚焦时的阴影效果 */
  556. outline: none; /* 去掉默认的聚焦样式 */
  557. }
  558. .modify-license-modal-content button {
  559. width: 100%;
  560. padding: 15px 20px;
  561. font-size: 18px;
  562. font-weight: bold;
  563. color: white;
  564. background-color: #007aff;
  565. border: none;
  566. border-radius: 25px;
  567. cursor: pointer;
  568. transition: background-color 0.3s;
  569. }
  570. .modify-license-modal-content button:hover {
  571. background-color: #005bb5; /* 鼠标悬停时的颜色变化 */
  572. }
  573. .modify-license-modal-content .close {
  574. color: #aaa;
  575. float: right;
  576. font-size: 30px;
  577. font-weight: bold;
  578. }
  579. .modify-license-modal-content .close:hover,
  580. .modify-license-modal-content .close:focus {
  581. color: black;
  582. text-decoration: none;
  583. cursor: pointer;
  584. }
  585. .modify-license-modal-content .extra-info {
  586. padding: 20px;
  587. background-color: white;
  588. border: 1px solid #ddd;
  589. border-radius: 10px;
  590. margin-top: 10px;
  591. box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  592. line-height: 1.5; /* 增加行高,保证字段间距 */
  593. }
  594. .modal-content input[type="number"] {
  595. width: calc(100% - 40px);
  596. padding: 15px 20px; /* 与其他输入框的内边距一致 */
  597. font-size: 18px; /* 与其他输入框的字体大小一致 */
  598. border: 2px solid #e0e0e0; /* 与其他输入框的边框颜色一致 */
  599. border-radius: 25px; /* 与其他输入框的圆角一致 */
  600. box-sizing: border-box;
  601. margin-bottom: 20px;
  602. background-color: #f8f8f8; /* 与其他输入框的背景色一致 */
  603. transition: border-color 0.3s, box-shadow 0.3s; /* 与其他输入框的过渡效果一致 */
  604. }
  605. .modal-content input[type="number"]:focus {
  606. border-color: #007aff; /* 与其他输入框获得焦点时的边框颜色一致 */
  607. box-shadow: 0 0 8px rgba(0, 122, 255, 0.2); /* 与其他输入框获得焦点时的阴影效果一致 */
  608. outline: none; /* 移除默认的焦点轮廓 */
  609. }
  610. .modal-content input[type="date"] {
  611. width: calc(100% - 40px);
  612. padding: 15px 20px; /* 与其他输入框的内边距一致 */
  613. font-size: 18px; /* 与其他输入框的字体大小一致 */
  614. border: 2px solid #e0e0e0; /* 与其他输入框的边框颜色一致 */
  615. border-radius: 25px; /* 与其他输入框的圆角一致 */
  616. box-sizing: border-box;
  617. margin-bottom: 20px;
  618. background-color: #f8f8f8; /* 与其他输入框的背景色一致 */
  619. transition: border-color 0.3s, box-shadow 0.3s; /* 与其他输入框的过渡效果一致 */
  620. }
  621. .modal-content input[type="date"]:focus {
  622. border-color: #007aff; /* 与其他输入框获得焦点时的边框颜色一致 */
  623. box-shadow: 0 0 8px rgba(0, 122, 255, 0.2); /* 与其他输入框获得焦点时的阴影效果一致 */
  624. outline: none; /* 移除默认的焦点轮廓 */
  625. }
  626. /* 输入框样式 */
  627. .modal-content input[type="text"],
  628. .modal-content input[type="email"],
  629. .modal-content input[type="password"],
  630. .modal-content textarea,
  631. .modal-content select {
  632. width: calc(100% - 40px);
  633. padding: 15px 20px; /* 更大内边距 */
  634. font-size: 18px; /* 更大字体 */
  635. border: 2px solid #e0e0e0; /* 边框颜色 */
  636. border-radius: 25px; /* 圆形边框 */
  637. box-sizing: border-box;
  638. margin-bottom: 20px;
  639. background-color: #f8f8f8; /* 背景色更浅 */
  640. transition: border-color 0.3s, box-shadow 0.3s; /* 添加动画效果 */
  641. }
  642. /* 输入框聚焦时的样式 */
  643. .modal-content input[type="text"]:focus,
  644. .modal-content input[type="email"]:focus,
  645. .modal-content input[type="password"]:focus,
  646. .modal-content textarea:focus,
  647. .modal-content select:focus {
  648. border-color: #007aff; /* 聚焦时的边框颜色 */
  649. box-shadow: 0 0 8px rgba(0, 122, 255, 0.2); /* 聚焦时的阴影效果 */
  650. outline: none; /* 去掉默认的聚焦样式 */
  651. }
  652. /* 按钮样式 */
  653. .modal-content button {
  654. width: 100%;
  655. padding: 15px 20px;
  656. font-size: 18px;
  657. font-weight: bold;
  658. color: white;
  659. background-color: #007aff;
  660. border: none;
  661. border-radius: 25px;
  662. cursor: pointer;
  663. transition: background-color 0.3s;
  664. }
  665. .modal-content button:hover {
  666. background-color: #005bb5; /* 鼠标悬停时的颜色变化 */
  667. }
  668. .close {
  669. color: #aaa;
  670. float: right;
  671. font-size: 30px;
  672. font-weight: bold;
  673. text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
  674. }
  675. .close:hover {
  676. color: #000; /* 悬停时颜色变为黑色 */
  677. transform: scale(1.1); /* 悬停时稍微放大 */
  678. }
  679. .close:focus {
  680. color: black;
  681. text-decoration: none;
  682. cursor: pointer;
  683. }
  684. .extra-info {
  685. padding: 2px;
  686. background-color: white;
  687. border: 1px solid #ddd;
  688. border-radius: 10px;
  689. margin-top: 2px;
  690. box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  691. line-height: 1.5; /* 增加行高,保证字段间距 */
  692. }
  693. .extra-info p {
  694. margin: 2px 0; /* 每个字段的间距 */
  695. word-wrap: break-word; /* 允许在单词内断行 */
  696. word-break: break-all; /* 允许在任何字符处断行 */
  697. white-space: pre-wrap; /* 保持空格和换行符 */
  698. border-bottom: 1px solid #f0f0f0; /* 每个字段下方加上细线 */
  699. padding-bottom: 2px; /* 加大下方内边距 */
  700. }
  701. /* 修改运维邮箱和销售邮箱的勾选框样式 */
  702. #emailInputs {
  703. display: flex;
  704. flex-direction: column; /* 确保每一行都垂直排列 */
  705. gap: 10px; /* 增加每行之间的间距 */
  706. }
  707. #emailInputs div {
  708. display: flex;
  709. align-items: center; /* 垂直居中 */
  710. }
  711. #emailInputs input[type="checkbox"] {
  712. appearance: none;
  713. background-color: #fff;
  714. margin: 0;
  715. font: inherit;
  716. color: #007aff;
  717. width: 1.15em;
  718. height: 1.15em;
  719. border: 0.15em solid #007aff;
  720. border-radius: 0.15em;
  721. transform: translateY(-0.075em);
  722. display: grid;
  723. place-content: center;
  724. }
  725. #emailInputs input[type="checkbox"]::before {
  726. content: "";
  727. width: 0.65em;
  728. height: 0.65em;
  729. clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 22%, 80% 0%, 43% 62%);
  730. transform: scale(0);
  731. transform-origin: bottom left;
  732. transition: transform 0.15s ease-in-out;
  733. box-shadow: inset 1em 1em #007aff;
  734. /* 使用淡蓝色与主题颜色匹配 */
  735. background-color: CanvasText;
  736. }
  737. #emailInputs input[type="checkbox"]:checked::before {
  738. transform: scale(1);
  739. }
  740. .user-info {
  741. position: absolute;
  742. width: 300px;
  743. background-color: white;
  744. padding: 20px;
  745. border: 1px solid #ddd;
  746. border-radius: 10px;
  747. box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  748. display: none;
  749. }
  750. .user-info .close {
  751. position: absolute;
  752. top: 10px;
  753. right: 10px;
  754. color: #aaa;
  755. font-size: 24px;
  756. font-weight: bold;
  757. cursor: pointer;
  758. }
  759. .user-info .close:hover,
  760. .user-info .close:focus {
  761. color: black;
  762. text-decoration: none;
  763. }
  764. .centered-modal-content {
  765. position: fixed;
  766. top: 50%;
  767. left: 50%;
  768. transform: translate(-50%, -50%);
  769. background-color: #fefefe;
  770. padding: 50px;
  771. border: 1px solid #888;
  772. border-radius: 10px;
  773. box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  774. width: 400px;
  775. height: 400px;
  776. overflow-y: auto;
  777. text-align: center;
  778. }
  779. .ios-button {
  780. width: 100%;
  781. padding: 10px;
  782. margin: 0;
  783. border: none;
  784. border-radius: 0;
  785. font-size: 16px;
  786. font-weight: 600;
  787. color: #007aff;
  788. background-color: transparent;
  789. text-align: center;
  790. cursor: pointer;
  791. transition: background-color 0.3s;
  792. }
  793. .ios-button:active {
  794. background-color: rgba(0, 122, 255, 0.1);
  795. }
  796. .email-modal-label {
  797. font-size: 18px;
  798. margin-bottom: 10px;
  799. display: block;
  800. }
  801. .email-modal-input {
  802. width: calc(100% - 20px);
  803. padding: 10px;
  804. font-size: 16px;
  805. border: 1px solid #ccc;
  806. border-radius: 5px;
  807. margin-bottom: 10px;
  808. }
  809. .email-modal .modal-content {
  810. width: 90%; /* 修改宽度 */
  811. max-width: 600px; /* 最大宽度 */
  812. height: auto; /* 自适应高度 */
  813. max-height: 80%; /* 最大高度,防止内容溢出屏幕 */
  814. overflow-y: auto; /* 添加垂直滚动条,如果内容超出 */
  815. }
  816. .add-email-button {
  817. display: block;
  818. width: 100%;
  819. padding: 10px 20px;
  820. margin-bottom: 10px;
  821. background-color: #007aff;
  822. color: white;
  823. border: none;
  824. text-align: center;
  825. font-size: 16px;
  826. cursor: pointer;
  827. border-radius: 5px;
  828. transition: background-color 0.3s;
  829. }
  830. .add-email-button:hover {
  831. background-color: #005bb5;
  832. }
  833. .action-modal-content {
  834. display: flex;
  835. flex-direction: column;
  836. align-items: flex-start;
  837. }
  838. .action-modal-content button {
  839. width: auto;
  840. padding: 10px 20px;
  841. margin: 5px 0;
  842. background-color: white;
  843. color: black;
  844. border: none;
  845. text-align: left;
  846. font-size: 16px;
  847. cursor: pointer;
  848. border-radius: 5px;
  849. transition: background-color 0.3s;
  850. }
  851. .action-modal-content button:hover {
  852. background-color: #f0f0f0;
  853. }
  854. .sort-button {
  855. background-color: transparent;
  856. border: none;
  857. color: #007aff;
  858. font-size: 16px;
  859. cursor: pointer;
  860. padding: 5px 10px;
  861. border-radius: 15px;
  862. transition: background-color 0.3s;
  863. }
  864. .sort-button:hover {
  865. background-color: rgba(0, 122, 255, 0.1);
  866. }
  867. #confirmGenerateModal .centered-modal-content {
  868. background-color: #ffffff;
  869. border: none;
  870. border-radius: 15px;
  871. padding: 20px;
  872. box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  873. text-align: center;
  874. }
  875. #confirmGenerateModal .centered-modal-content button {
  876. background-color: #007aff;
  877. color: white;
  878. border: none;
  879. border-radius: 10px;
  880. padding: 10px 20px;
  881. cursor: pointer;
  882. font-size: 16px;
  883. margin: 10px;
  884. transition: all 0.3s;
  885. }
  886. #confirmGenerateModal .centered-modal-content button:hover {
  887. background-color: #005bb5;
  888. border: 1px solid #007aff;
  889. }
  890. #role-management {
  891. padding: 20px;
  892. background-color: white;
  893. border-radius: 10px;
  894. box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  895. }
  896. /* 角色项的默认样式 */
  897. .role-item {
  898. background-color: white; /* 默认背景色 */
  899. box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1); /* 阴影效果 */
  900. border-radius: 10px; /* 圆角效果 */
  901. overflow: hidden; /* 确保圆角效果生效 */
  902. border: 2px solid transparent; /* 默认边框为透明 */
  903. transition: all 0.3s ease; /* 过渡效果 */
  904. margin-bottom: 20px; /* 每个角色之间的间距 */
  905. padding: 10px; /* 内边距 */
  906. }
  907. /* 置顶角色的样式 */
  908. .role-item.top-role {
  909. background-color: #d3d3d3; /* 灰色背景 */
  910. }
  911. /* 鼠标悬停时的样式 */
  912. .role-item:hover {
  913. background-color: #e6f7ff; /* 悬停时背景色 */
  914. border-color: #1169ff; /* 悬停时边框颜色 */
  915. border-width: 4px; /* 悬停时边框大小 */
  916. border-radius: 15px; /* 悬停时的圆角 */
  917. }
  918. /* 置顶角色在悬停时的样式 */
  919. .role-item.top-role:hover {
  920. background-color: #d3d3d3; /* 保持灰色背景不变 */
  921. border-color: #1169ff; /* 悬停时边框颜色 */
  922. border-width: 4px; /* 悬停时边框大小 */
  923. border-radius: 15px; /* 悬停时的圆角 */
  924. }
  925. .role-item h3 {
  926. margin-top: 0;
  927. }
  928. .role-item ul {
  929. padding-left: 20px;
  930. }
  931. .create-role-button {
  932. background-color: #007aff;
  933. color: white;
  934. border: none;
  935. padding: 10px 20px;
  936. border-radius: 10px;
  937. cursor: pointer;
  938. font-size: 16px;
  939. font-weight: 500;
  940. box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  941. transition: background-color 0.3s;
  942. margin-left: 20px; /* 与标题之间的间距 */
  943. }
  944. .create-role-button:hover {
  945. background-color: #005bb5;
  946. }