license_info.css 23 KB

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