license_info.css 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860
  1. /* 全局页面样式 */
  2. body {
  3. font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  4. margin: 0;
  5. padding: 0;
  6. background-color: #ffffff; /* iOS风格的浅灰背景 */
  7. }
  8. /* 头部样式 */
  9. header {
  10. display: flex;
  11. justify-content: space-between;
  12. align-items: center;
  13. background-color: #ffffff;
  14. color: #333;
  15. height: 100px; /* 根据需要调整高度 */
  16. padding: 0 20px; /* 调整左右内边距 */
  17. box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  18. }
  19. header h1 {
  20. flex: 1; /* 标题占据左边 */
  21. margin: 0;
  22. }
  23. .right-container {
  24. display: flex;
  25. flex: 1; /* 让右边部分占据剩余的空间 */
  26. justify-content: flex-end; /* 将右边的两个 div 靠右对齐 */
  27. }
  28. /* 调整 .right-container 内的 div 样式 */
  29. .right-container div {
  30. border: 1px solid #ccc;
  31. padding: 10px;
  32. margin-left: 10px; /* 两个子 div 之间的间距 */
  33. }
  34. /* iOS 风格 capture-license 按钮 */
  35. .capture-license-button {
  36. background-color: #76b2f1; /* iOS 风格蓝色 */
  37. color: white;
  38. padding: 12px 0; /* 让按钮的高度保持一致,内容居中 */
  39. border-radius: 15px; /* 圆角按钮 */
  40. font-size: 14px; /* 较小字体以适应60px的宽度 */
  41. font-weight: 600;
  42. cursor: pointer; /* 鼠标悬停时的手型指针 */
  43. transition: background-color 0.3s ease;
  44. border: none;
  45. width: 60px; /* 限制宽度为60px */
  46. text-align: center; /* 内容居中对齐 */
  47. line-height: 24px; /* 设置行高为24px,与padding相同 */
  48. /* overflow: hidden; 如果文字超过,隐藏多余部分 */
  49. /* white-space: nowrap; /* 避免换行 */
  50. /* text-overflow: ellipsis; /* 用省略号表示超出的文字 */
  51. margin-left: 10px; /* 跟其他 div 保持一致的间距 */
  52. flex-shrink: 0; /* 确保按钮不会缩放 */
  53. }
  54. .capture-license-button:hover {
  55. background-color: #005bb5; /* 悬停时的颜色变深 */
  56. }
  57. /* iOS 风格 login-button 按钮 */
  58. .login-button {
  59. background-color: #76b2f1; /* iOS 风格蓝色 */
  60. color: white;
  61. padding: 12px 0; /* 让按钮的高度保持一致,内容居中 */
  62. border-radius: 15px; /* 圆角按钮 */
  63. font-size: 14px; /* 较小字体以适应60px的宽度 */
  64. font-weight: 600;
  65. cursor: pointer; /* 鼠标悬停时的手型指针 */
  66. transition: background-color 0.3s ease;
  67. border: none;
  68. width: 60px; /* 限制宽度为60px */
  69. text-align: center; /* 内容居中对齐 */
  70. overflow: hidden; /* 如果文字超过,隐藏多余部分 */
  71. white-space: nowrap; /* 避免换行 */
  72. text-overflow: ellipsis; /* 用省略号表示超出的文字 */
  73. margin-left: 10px; /* 跟其他 div 保持一致的间距 */
  74. flex-shrink: 0; /* 确保按钮不会缩放 */
  75. }
  76. .login-button:hover {
  77. background-color: #005bb5; /* 悬停时的颜色变深 */
  78. }
  79. /* login-modal 样式 - 隐藏模态框 */
  80. /* iOS 风格的模态框背景 */
  81. .login-modal {
  82. display: none; /* 初始隐藏 */
  83. position: fixed;
  84. z-index: 1000;
  85. left: 0;
  86. top: 0;
  87. width: 100%;
  88. height: 100%;
  89. background-color: rgba(0, 0, 0, 0.4); /* iOS 风格的半透明背景 */
  90. justify-content: center;
  91. align-items: center;
  92. }
  93. /* iOS 风格的模态框内容 */
  94. .login-modal-content {
  95. background-color: #ffffff;
  96. padding: 20px;
  97. border-radius: 15px; /* iOS 风格的圆角 */
  98. box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2); /* iOS 风格的阴影效果 */
  99. max-width: 400px;
  100. width: 80%;
  101. text-align: center;
  102. animation: fadeIn 0.3s ease-in-out; /* 动画效果 */
  103. font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  104. position: relative; /* 设置相对定位 */
  105. }
  106. /* 关闭按钮 iOS 风格 */
  107. .login-modal-close {
  108. position: absolute;
  109. top: 10px;
  110. right: 10px;
  111. font-size: 24px;
  112. color: #007aff; /* iOS 蓝色 */
  113. cursor: pointer;
  114. font-weight: bold;
  115. z-index: 1001; /* 确保在模态框内容的上方 */
  116. }
  117. /* 模态框中的文本样式 */
  118. #userInfoContainer p {
  119. margin: 10px 0; /* 增加上下间距 */
  120. font-size: 16px; /* iOS 字体大小 */
  121. color: #333; /* 深灰色字体 */
  122. font-weight: 500;
  123. line-height: 1.5; /* 增加行高 */
  124. }
  125. /* iOS 风格的弹出动画 */
  126. @keyframes fadeIn {
  127. from {
  128. opacity: 0;
  129. transform: scale(0.95); /* 轻微缩放效果 */
  130. }
  131. to {
  132. opacity: 0;
  133. transform: scale(0.95); /* 轻微缩放效果 */
  134. }
  135. }
  136. /* iOS 风格退出按钮 */
  137. .logout-button {
  138. background-color: #ff3b30; /* iOS 风格红色 */
  139. color: white;
  140. padding: 12px 20px;
  141. border-radius: 15px; /* 圆角 */
  142. font-size: 16px;
  143. font-weight: 600;
  144. cursor: pointer;
  145. transition: background-color 0.3s ease;
  146. border: none;
  147. width: 100%; /* 占满模态框的宽度 */
  148. margin-top: 20px; /* 增加与其他元素的距离 */
  149. }
  150. .logout-button:hover {
  151. background-color: #d12a1f; /* 悬停时颜色稍深 */
  152. }
  153. /*----------------*/
  154. /* 容器布局:包含侧边栏和主内容 */
  155. .container {
  156. display: flex;
  157. /*height: calc(100vh - 70px); 视口高度减去头部高度 */
  158. height: 100vh;
  159. }
  160. /* 侧边栏样式 */
  161. /* 固定侧边栏 */
  162. aside {
  163. top: 0;
  164. left: 0;
  165. width: 200px; /* 侧边栏的宽度 */
  166. height: 100vh; /* 高度占满视口 */
  167. background-color: #2c3e50; /* 背景颜色 */
  168. color: #ffffff;
  169. display: flex;
  170. flex-direction: column;
  171. align-items: center;
  172. padding-top: 20px;
  173. box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1); /* 添加阴影效果 */
  174. }
  175. /* 侧边栏内的导航菜单 */
  176. nav ul {
  177. list-style: none; /* 去除默认的列表样式 */
  178. padding: 0;
  179. width: 100%; /* 使菜单项占满宽度 */
  180. }
  181. nav ul li {
  182. width: 100%; /* 每个菜单项占满整个宽度 */
  183. margin-bottom: 10px; /* 菜单项之间的间距 */
  184. }
  185. nav ul li a {
  186. display: flex; /* 使图标和文字并排显示 */
  187. align-items: center; /* 垂直居中 */
  188. padding: 15px 20px; /* 内边距 */
  189. color: #ffffff; /* 文字颜色 */
  190. text-decoration: none; /* 去掉下划线 */
  191. font-size: 16px; /* 字体大小 */
  192. font-weight: 500; /* 字体粗细 */
  193. transition: background 0.3s; /* 背景色的过渡效果 */
  194. }
  195. nav ul li a.active,
  196. nav ul li a:hover {
  197. background-color: #1abc9c; /* 激活和悬停状态的背景颜色 */
  198. color: #ffffff; /* 保持文字为白色 */
  199. border-radius: 5px; /* 添加圆角 */
  200. }
  201. /* 图标样式(假设使用 FontAwesome 或其他图标库) */
  202. nav ul li a i {
  203. font-size: 20px; /* 图标大小 */
  204. margin-right: 10px; /* 图标和文字的间距 */
  205. }
  206. /* 主内容区域 */
  207. main {
  208. flex: 1; /* 占据剩余宽度 */
  209. padding: 20px;
  210. overflow-y: scroll; /* 启用垂直滚动 */
  211. background-color: #ecf0f1; /* 浅灰色背景 */
  212. height: auto; /* 自动调整高度 */
  213. }
  214. /* 瀑布流容器样式,每行最多显示4个卡片 */
  215. .license-info-container {
  216. display: flex;
  217. flex-wrap: wrap;
  218. gap: 20px; /* 卡片之间的间距 */
  219. }
  220. /* 卡片样式 */
  221. .license-info-card {
  222. position: relative;
  223. width: calc(25% - 20px); /* 每行4个卡片,减去间距 */
  224. background-color: #ffffff; /* 白色背景 */
  225. border-radius: 15px; /* iOS风格的圆角 */
  226. box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05); /* 轻微柔和的阴影 */
  227. overflow: hidden;
  228. transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out; /* 过渡效果 */
  229. margin-bottom: 20px;
  230. font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; /* 字体 */
  231. padding-bottom: 20px; /* 添加底部填充,以防止内容溢出 */
  232. }
  233. /* 悬停效果 */
  234. .license-info-card:hover {
  235. transform: translateY(-3px); /* 悬停时轻微向上浮动 */
  236. box-shadow: 0 15px 25px rgba(0, 0, 0, 0.1); /* 悬停时增加阴影效果 */
  237. }
  238. /* 卡片顶部蓝色区域 */
  239. .license-info-card-header {
  240. background-color: #007aff; /* 蓝色 */
  241. height: 50px; /* 顶部蓝色部分的高度 */
  242. border-top-left-radius: 15px;
  243. border-top-right-radius: 15px;
  244. display: flex;
  245. justify-content: center;
  246. align-items: center;
  247. padding: 10px;
  248. text-align: center;
  249. color: white; /* 项目名称字体颜色为白色 */
  250. }
  251. /* 标题样式:现在位于蓝色区域 */
  252. .card-title {
  253. font-size: 20px; /* 标题字体加大 */
  254. font-weight: 600; /* 标题字体加粗 */
  255. color: white; /* 项目名称字体颜色为白色,和背景颜色形成对比 */
  256. margin: 0;
  257. line-height: 1.2; /* 行间距 */
  258. }
  259. /* 副标题和其他文本样式 */
  260. .license-info-card-content {
  261. padding: 20px;
  262. color: #333;
  263. }
  264. .card-text {
  265. margin: 10px 0; /* 增加字段之间的间距 */
  266. font-size: 18px; /* 提高字体大小 */
  267. color: #3a3a3c; /* 中灰色, */
  268. line-height: 1.6; /* 行间距调整,确保更好的可读性 */
  269. }
  270. /* 许可证状态的颜色 */
  271. .license-status-green {
  272. color: #34c759; /* 绿色 */
  273. }
  274. .license-status-yellow {
  275. color: #ffcc00; /* 黄色 */
  276. }
  277. .license-status-red {
  278. color: #ff3b30; /* 红色 */
  279. }
  280. /*这部分代码仅在设备屏幕宽度小于或等于 768 像素时生效
  281. */
  282. @media (max-width: 768px) {
  283. /* 小屏幕下卡片调整为每行显示2个 */
  284. .license-info-card {
  285. width: calc(50% - 20px);
  286. height: auto; /* 调整小屏幕下的高度 */
  287. }
  288. }
  289. /*-----------------*/
  290. /* 响应式设计,适配小屏幕 */
  291. @media (max-width: 768px) {
  292. .license-info-modal-content.show {
  293. width: 90vw; /* 在小屏设备中宽度为90% */
  294. height: 90vh; /* 高度为90% */
  295. }
  296. }
  297. /* 模态框样式,初始隐藏 */
  298. .license-info-modal {
  299. display: none; /* 初始隐藏模态框 */
  300. position: fixed; /* 固定位置,模态框将一直可见,随页面滚动保持位置 */
  301. top: 0;
  302. left: 0;
  303. width: 100%; /* 宽度占据整个屏幕 */
  304. height: 100%; /* 高度占据整个屏幕 */
  305. background-color: rgba(0, 0, 0, 0.2); /* 半透明背景,模态框弹出时背景变暗 */
  306. justify-content: center; /* 居中模态框水平 */
  307. align-items: center; /* 居中模态框垂直 */
  308. /* z-index: 1000; 保证模态框在所有元素之上显示 */
  309. overflow: hidden; /* 禁止模态框背景滚动 */
  310. }
  311. /* 模态框内容样式,带有圆角和阴影 */
  312. .license-info-modal-content {
  313. background-color: white; /* 模态框内部背景色为白色 */
  314. padding: 20px; /* 内部填充 */
  315. border-radius: 20px; /* 设置较大的圆角,符合iOS风格 */
  316. position: absolute; /* 使用绝对定位 */
  317. transform-origin: center; /* 动画从中心展开 */
  318. opacity: 0; /* 初始透明度为0,不可见 */
  319. transition: opacity 0.3s ease, transform 0.3s ease; /* 使用渐变效果使模态框逐渐显示 */
  320. box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); /* 模态框阴影,增加浮动感 */
  321. max-height: 80vh; /* 最大高度不超过视口的80% */
  322. overflow-y: auto; /* 如果内容超出高度则滚动 */
  323. }
  324. /* 模态框的初始缩放效果,配合过渡动画 */
  325. .license-info-modal-content {
  326. transform: scale(0.95); /* 初始有轻微缩放效果 */
  327. }
  328. /* 动画结束后的模态框样式,设置为80%大小且居中 */
  329. .license-info-modal-content.show {
  330. opacity: 1; /* 动画显示模态框 */
  331. width: 80vw; /* 宽度占据视口80% */
  332. height: 90vh; /* 高度占据视口70% */
  333. top: 50%; /* 垂直居中 */
  334. left: 50%; /* 水平居中 */
  335. transform: translate(-50%, -50%) scale(1); /* 完全居中,且带有缩放效果 */
  336. }
  337. /* 关闭按钮样式 */
  338. .license-info-close {
  339. position: absolute; /* 绝对定位,确保关闭按钮在模态框的右上角 */
  340. top: 10px;
  341. right: 20px;
  342. font-size: 28px; /* 关闭按钮的字体大小 */
  343. color: #007aff; /* iOS风格的蓝色 */
  344. cursor: pointer; /* 鼠标悬停时显示手指图标 */
  345. font-weight: 600; /* 设置按钮的字体粗细 */
  346. }
  347. /* 模态框上半部分的样式 */
  348. .license-info-modal-header {
  349. display: flex;
  350. flex-direction: column;
  351. align-items: center;
  352. margin-bottom: 20px;
  353. font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  354. }
  355. /* 标题的 风格 */
  356. .license-info-modal-header h2 {
  357. font-size: 24px;
  358. font-weight: 600;
  359. color: #333;
  360. margin-bottom: 10px;
  361. }
  362. /* 按钮组的样式 */
  363. .license-info-modal-button-group {
  364. display: flex;
  365. justify-content: space-around;
  366. width: 100%;
  367. margin-top: 10px;
  368. }
  369. /* 组样式:每组数据方框 */
  370. .license-info-group-box {
  371. border: 1px solid #ccc; /* 灰色边框 */
  372. border-radius: 8px; /* 设置圆角 */
  373. padding: 15px; /* 内部填充 */
  374. margin-bottom: 15px; /* 组之间的间隔 */
  375. background-color: #ffffff; /* 设置白色背景 */
  376. box-shadow: 0 2px 5px rgba(0, 0, 0, 0.6); /* 设置轻微的阴影 */
  377. }
  378. .license-info-group-box p {
  379. margin: 5px 0;
  380. font-size: 16px;
  381. color: #333;
  382. font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; /* 符合 iOS 风格的字体 */
  383. }
  384. .license-info-group-title {
  385. font-weight: 600;
  386. margin-bottom: 10px;
  387. color: #007aff; /* iOS 风格的蓝色标题 */
  388. }
  389. .license-info-modal-button {
  390. padding: 12px 20px;
  391. background-color: #007aff; /* iOS风格的蓝色按钮 */
  392. color: white; /* 按钮字体颜色为白色 */
  393. border: none;
  394. border-radius: 12px; /* 设置圆角按钮 */
  395. font-size: 16px;
  396. font-weight: 500;
  397. cursor: pointer; /* 鼠标悬停时显示手指图标 */
  398. transition: background-color 0.3s ease; /* 背景颜色过渡效果 */
  399. }
  400. .license-info-modal-button:hover {
  401. background-color: #005bb5; /* 按钮的悬停效果 */
  402. }
  403. .license-info-modal-button:disabled {
  404. background-color: #ccc;
  405. cursor: not-allowed;
  406. }
  407. /* 模态框下半部分的样式 */
  408. .license-info-modal-body {
  409. overflow-y: auto; /* 当内容超出容器时,启用垂直滚动条 */
  410. flex-grow: 1; /* 占据模态框的剩余空间 */
  411. font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  412. color: #3a3a3c; /* 字体颜色为深灰色 */
  413. font-size: 18px;
  414. line-height: 1.6; /* 行高 */
  415. }
  416. /* 添加滚动条样式,符合iOS的滑动效果 */
  417. .license-info-modal-body::-webkit-scrollbar {
  418. width: 6px;
  419. }
  420. .license-info-modal-body::-webkit-scrollbar-thumb {
  421. background-color: rgba(0, 0, 0, 0.2);
  422. border-radius: 3px;
  423. }
  424. /* 分页按钮组样式 */
  425. .license-info-modal-pagination {
  426. display: flex;
  427. justify-content: center;
  428. margin-top: 20px;
  429. }
  430. .license-info-modal-pagination button {
  431. padding: 10px 15px;
  432. margin: 0 5px;
  433. background-color: #007aff;
  434. color: white;
  435. border: none;
  436. border-radius: 5px;
  437. cursor: pointer;
  438. font-size: 16px;
  439. transition: background-color 0.3s ease;
  440. }
  441. .license-info-modal-pagination button:hover {
  442. background-color: #005bb5; /* 鼠标悬停时按钮背景颜色变深 */
  443. }
  444. .license-info-modal-pagination button:disabled {
  445. background-color: #ccc; /* 禁用时按钮为灰色 */
  446. cursor: not-allowed;
  447. }
  448. /* 分页下拉框样式 */
  449. .license-info-modal-pagination select {
  450. padding: 10px 15px;
  451. margin: 0 5px;
  452. background-color: #007aff;
  453. color: white;
  454. border: none;
  455. border-radius: 5px;
  456. cursor: pointer;
  457. font-size: 16px;
  458. transition: background-color 0.3s ease;
  459. }
  460. /* 下拉框中的选项样式 */
  461. .license-info-modal-pagination select option {
  462. background-color: white; /* 默认背景颜色 */
  463. color: black; /* 默认字体颜色 */
  464. }
  465. /* 鼠标悬停选项时 */
  466. .license-info-modal-pagination select option:hover {
  467. background-color: #007aff; /* 鼠标悬停时选项变为蓝色 */
  468. color: white; /* 悬停时字体颜色变为白色 */
  469. }
  470. /* 选中的选项的样式 */
  471. .license-info-modal-pagination select option:checked {
  472. background-color: #ccc; /* 当前选中的选项背景为蓝色 */
  473. color: white; /* 当前选中的选项字体颜色为白色 */
  474. }
  475. .license-info-modal-project-info {
  476. border: 1px solid #ccc; /* 设置边框样式 */
  477. padding: 5px; /* 设置内边距 */
  478. border-radius: 5px; /* 设置圆角 */
  479. background-color: #f9f9f9; /* 设置背景颜色 */
  480. }
  481. /* 侧边栏的菜单项与搜索框保持间距 */
  482. nav ul {
  483. padding-top: 20px;
  484. }
  485. /* 活跃菜单项样式 */
  486. nav ul li a.active {
  487. background-color: #007aff;
  488. color: white;
  489. }
  490. /*进度条-----------------------------------------------------*/
  491. /* 模态框的基础样式 */
  492. .loading-modal {
  493. position: fixed;
  494. z-index: 9999;
  495. left: 0;
  496. top: 0;
  497. width: 100%;
  498. height: 100%;
  499. background-color: rgba(0, 0, 0, 0.5);
  500. display: flex;
  501. justify-content: center;
  502. align-items: center;
  503. }
  504. .loading-modal-content {
  505. background-color: white;
  506. padding: 20px;
  507. border-radius: 8px;
  508. text-align: center;
  509. box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  510. }
  511. .spinner {
  512. border: 4px solid rgba(0, 0, 0, 0.1);
  513. border-left-color: #09f;
  514. border-radius: 50%;
  515. width: 40px;
  516. height: 40px;
  517. animation: spin 1s linear infinite;
  518. margin-bottom: 10px;
  519. }
  520. @keyframes spin {
  521. from { transform: rotate(0deg); }
  522. to { transform: rotate(360deg); }
  523. }
  524. /* Loading message text style */
  525. .loading-modal p {
  526. margin: 0;
  527. font-size: 16px;
  528. color: #333;
  529. }
  530. /* 用户管理模态框------------------------------------------------------ */
  531. /* 用户管理模态框的背景层 */
  532. /* 响应式设计,适配小屏幕 */
  533. /* 用户管理模态框的背景层 */
  534. /* 搜索栏样式*/
  535. /* 搜索框和下拉框容器样式 */
  536. .search-container {
  537. display: flex;
  538. align-items: center;
  539. justify-content: center;
  540. gap: 10px;
  541. padding: 10px 0;
  542. background-color: #ffffff;
  543. }
  544. /* License 状态下拉框、日期输入框和搜索框的样式 */
  545. #license-status-filter, #start-date, #end-date, #search-bar {
  546. width: 18%;
  547. padding: 12px;
  548. border-radius: 15px;
  549. border: none;
  550. background-color: #ffffff;
  551. box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  552. font-size: 16px;
  553. color: #333;
  554. transition: all 0.3s ease;
  555. }
  556. /* 日期框在获得焦点时的效果 */
  557. #start-date:focus, #end-date:focus {
  558. outline: none;
  559. box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  560. }
  561. /* 确定按钮样式 */
  562. /* 确定按钮和返回按钮的统一样式 */
  563. #submit-button,
  564. #reset-button {
  565. padding: 12px 20px;
  566. background-color: #007aff; /* iOS风格的蓝色按钮 */
  567. color: white;
  568. border: none;
  569. border-radius: 15px;
  570. font-size: 16px;
  571. cursor: pointer;
  572. transition: background-color 0.3s ease;
  573. }
  574. /* 鼠标悬停时按钮效果 */
  575. #submit-button:hover,
  576. #reset-button:hover {
  577. background-color: #005bb5;
  578. }
  579. /*-----------------分发*/
  580. /*------------分发历史模态框*/
  581. /* 分发历史模态框整体样式 */
  582. .distributionHistory-modal {
  583. display: none; /* 默认隐藏 */
  584. position: fixed;
  585. z-index: 1000;
  586. left: 0;
  587. top: 0;
  588. width: 100%;
  589. height: 100%;
  590. background-color: rgba(0, 0, 0, 0.5); /* 半透明背景 */
  591. justify-content: center;
  592. align-items: center;
  593. overflow: hidden;
  594. }
  595. /* 分发历史模态框内容样式 */
  596. .distributionHistory-modal-content {
  597. background-color: #fff;
  598. width: 400px; /* 模态框的宽度 */
  599. max-width: 90%; /* 最大宽度为视口的90% */
  600. padding: 20px;
  601. border-radius: 10px;
  602. box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3); /* 轻微阴影 */
  603. position: relative;
  604. text-align: center;
  605. }
  606. /* 分发历史模态框关闭按钮样式 */
  607. .distributionHistory-modal-close {
  608. position: absolute;
  609. top: 10px;
  610. right: 15px;
  611. font-size: 24px;
  612. color: #333;
  613. cursor: pointer;
  614. }
  615. /* 分发历史模态框标题样式 */
  616. .distributionHistory-modal-header h2,
  617. .distributionHistory-modal-body h2 {
  618. font-size: 20px;
  619. font-weight: bold;
  620. margin-bottom: 15px;
  621. color: #333;
  622. }
  623. /* 分发历史模态框邮箱部分样式 */
  624. .distributionHistory-modal-email-section {
  625. margin-bottom: 20px;
  626. }
  627. .distributionHistory-modal-email-section h2 {
  628. font-size: 18px;
  629. margin-bottom: 10px;
  630. color: #007bff;
  631. }
  632. /* 分发历史模态框用户部分样式 */
  633. .distributionHistory-modal-user-section {
  634. margin-top: 20px;
  635. }
  636. .distributionHistory-modal-user-section h2 {
  637. font-size: 18px;
  638. margin-bottom: 10px;
  639. color: #28a745;
  640. }
  641. /* 分发历史模态框的输入框区域样式 */
  642. .distributionHistory-modal-inputs,
  643. .distributionHistory-modal-user-inputs {
  644. display: flex;
  645. flex-direction: column;
  646. align-items: flex-start;
  647. }
  648. .distributionHistory-modal-inputs div,
  649. .distributionHistory-modal-user-inputs div {
  650. margin-bottom: 10px;
  651. }
  652. .distributionHistory-modal input[type="checkbox"] {
  653. margin-right: 10px;
  654. }
  655. .distributionHistory-modal-label {
  656. font-size: 16px;
  657. color: #555;
  658. cursor: pointer;
  659. }
  660. /* 分发历史模态框确认按钮样式 */
  661. .distributionHistory-modal-confirm-button {
  662. background-color: #007bff;
  663. color: white;
  664. padding: 10px 20px;
  665. border: none;
  666. border-radius: 5px;
  667. cursor: pointer;
  668. margin-top: 20px;
  669. font-size: 16px;
  670. }
  671. .distributionHistory-modal-confirm-button:hover {
  672. background-color: #0056b3;
  673. }
  674. /* 分发历史模态框用户选择框容器样式 */
  675. .distributionHistory-modal-user-select-container {
  676. margin-bottom: 15px;
  677. width: 100%;
  678. display: flex;
  679. justify-content: center; /* 居中 */
  680. }
  681. /* 分发历史模态框专属下拉框样式 */
  682. .distributionHistory-modal-user-select {
  683. width: 80%; /* 下拉框的宽度 */
  684. padding: 10px;
  685. border-radius: 8px;
  686. border: 1px solid #ccc;
  687. font-size: 16px;
  688. background-color: #f9f9f9; /* 浅灰背景 */
  689. color: #333; /* 字体颜色 */
  690. box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* 轻微阴影 */
  691. transition: border-color 0.3s ease;
  692. }
  693. .distributionHistory-modal-user-select:focus {
  694. border-color: #007bff; /* 焦点时的边框颜色 */
  695. outline: none; /* 去掉默认的焦点样式 */
  696. box-shadow: 0 0 5px rgba(0, 123, 255, 0.5); /* 焦点时的阴影效果 */
  697. }
  698. /* 下拉框的选项样式 */
  699. .distributionHistory-modal-user-select option {
  700. background-color: white; /* 默认背景颜色 */
  701. color: black; /* 默认字体颜色 */
  702. }
  703. /* 悬停选项时的样式 */
  704. .distributionHistory-modal-user-select option:hover {
  705. background-color: #007bff; /* 悬停时选项的背景颜色 */
  706. color: white; /* 悬停时字体颜色 */
  707. }
  708. /* 选中的选项的样式 */
  709. .distributionHistory-modal-user-select option:checked {
  710. background-color: #0056b3; /* 选中的选项的背景颜色 */
  711. color: white; /* 选中的选项的字体颜色 */
  712. }
  713. /* 分发历史模态框添加用户按钮样式 */
  714. .distributionHistory-modal-add-user-button {
  715. padding: 10px 15px;
  716. background-color: #007bff;
  717. color: white;
  718. border: none;
  719. border-radius: 5px;
  720. cursor: pointer;
  721. margin-top: 10px;
  722. transition: background-color 0.3s ease;
  723. }
  724. .distributionHistory-modal-add-user-button:hover {
  725. background-color: #0056b3;
  726. }