license_info.css 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850
  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: 1;
  132. transform: scale(1);
  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; /* iOS 系统字体 */
  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; /* iOS风格的蓝色 */
  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; /* 中灰色,符合iOS风格 */
  267. line-height: 1.6; /* 行间距调整,确保更好的可读性 */
  268. }
  269. /* 许可证状态的颜色 */
  270. .license-status-green {
  271. color: #34c759; /* iOS的绿色 */
  272. }
  273. .license-status-yellow {
  274. color: #ffcc00; /* iOS的黄色 */
  275. }
  276. .license-status-red {
  277. color: #ff3b30; /* iOS的红色 */
  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: 70vh; /* 高度占据视口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. /* 标题的 iOS 风格 */
  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: #f9f9f9; /* 设置浅灰色背景 */
  375. box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* 设置轻微的阴影 */
  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. /* 侧边栏的菜单项与搜索框保持间距 */
  475. nav ul {
  476. padding-top: 20px;
  477. }
  478. /* 活跃菜单项样式 */
  479. nav ul li a.active {
  480. background-color: #007aff;
  481. color: white;
  482. }
  483. /*进度条-----------------------------------------------------*/
  484. /* 模态框的基础样式 */
  485. .loading-modal {
  486. position: fixed;
  487. z-index: 9999;
  488. left: 0;
  489. top: 0;
  490. width: 100%;
  491. height: 100%;
  492. background-color: rgba(0, 0, 0, 0.5);
  493. display: flex;
  494. justify-content: center;
  495. align-items: center;
  496. }
  497. .loading-modal-content {
  498. background-color: white;
  499. padding: 20px;
  500. border-radius: 8px;
  501. text-align: center;
  502. box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  503. }
  504. .spinner {
  505. border: 4px solid rgba(0, 0, 0, 0.1);
  506. border-left-color: #09f;
  507. border-radius: 50%;
  508. width: 40px;
  509. height: 40px;
  510. animation: spin 1s linear infinite;
  511. margin-bottom: 10px;
  512. }
  513. @keyframes spin {
  514. from { transform: rotate(0deg); }
  515. to { transform: rotate(360deg); }
  516. }
  517. /* Loading message text style */
  518. .loading-modal p {
  519. margin: 0;
  520. font-size: 16px;
  521. color: #333;
  522. }
  523. /* 用户管理模态框------------------------------------------------------ */
  524. /* 用户管理模态框的背景层 */
  525. /* 响应式设计,适配小屏幕 */
  526. /* 用户管理模态框的背景层 */
  527. /* 搜索栏样式*/
  528. /* 搜索框和下拉框容器样式 */
  529. .search-container {
  530. display: flex;
  531. align-items: center;
  532. justify-content: center;
  533. gap: 10px;
  534. padding: 10px 0;
  535. background-color: #ffffff;
  536. }
  537. /* License 状态下拉框、日期输入框和搜索框的样式 */
  538. #license-status-filter, #start-date, #end-date, #search-bar {
  539. width: 18%;
  540. padding: 12px;
  541. border-radius: 15px;
  542. border: none;
  543. background-color: #ffffff;
  544. box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  545. font-size: 16px;
  546. color: #333;
  547. transition: all 0.3s ease;
  548. }
  549. /* 日期框在获得焦点时的效果 */
  550. #start-date:focus, #end-date:focus {
  551. outline: none;
  552. box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  553. }
  554. /* 确定按钮样式 */
  555. /* 确定按钮和返回按钮的统一样式 */
  556. #submit-button,
  557. #reset-button {
  558. padding: 12px 20px;
  559. background-color: #007aff; /* iOS风格的蓝色按钮 */
  560. color: white;
  561. border: none;
  562. border-radius: 15px;
  563. font-size: 16px;
  564. cursor: pointer;
  565. transition: background-color 0.3s ease;
  566. }
  567. /* 鼠标悬停时按钮效果 */
  568. #submit-button:hover,
  569. #reset-button:hover {
  570. background-color: #005bb5;
  571. }
  572. /*-----------------分发*/
  573. /*------------分发历史模态框*/
  574. /* 分发历史模态框整体样式 */
  575. .distributionHistory-modal {
  576. display: none; /* 默认隐藏 */
  577. position: fixed;
  578. z-index: 1000;
  579. left: 0;
  580. top: 0;
  581. width: 100%;
  582. height: 100%;
  583. background-color: rgba(0, 0, 0, 0.5); /* 半透明背景 */
  584. justify-content: center;
  585. align-items: center;
  586. overflow: hidden;
  587. }
  588. /* 分发历史模态框内容样式 */
  589. .distributionHistory-modal-content {
  590. background-color: #fff;
  591. width: 400px; /* 模态框的宽度 */
  592. max-width: 90%; /* 最大宽度为视口的90% */
  593. padding: 20px;
  594. border-radius: 10px;
  595. box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3); /* 轻微阴影 */
  596. position: relative;
  597. text-align: center;
  598. }
  599. /* 分发历史模态框关闭按钮样式 */
  600. .distributionHistory-modal-close {
  601. position: absolute;
  602. top: 10px;
  603. right: 15px;
  604. font-size: 24px;
  605. color: #333;
  606. cursor: pointer;
  607. }
  608. /* 分发历史模态框标题样式 */
  609. .distributionHistory-modal-header h2,
  610. .distributionHistory-modal-body h2 {
  611. font-size: 20px;
  612. font-weight: bold;
  613. margin-bottom: 15px;
  614. color: #333;
  615. }
  616. /* 分发历史模态框邮箱部分样式 */
  617. .distributionHistory-modal-email-section {
  618. margin-bottom: 20px;
  619. }
  620. .distributionHistory-modal-email-section h2 {
  621. font-size: 18px;
  622. margin-bottom: 10px;
  623. color: #007bff;
  624. }
  625. /* 分发历史模态框用户部分样式 */
  626. .distributionHistory-modal-user-section {
  627. margin-top: 20px;
  628. }
  629. .distributionHistory-modal-user-section h2 {
  630. font-size: 18px;
  631. margin-bottom: 10px;
  632. color: #28a745;
  633. }
  634. /* 分发历史模态框的输入框区域样式 */
  635. .distributionHistory-modal-inputs,
  636. .distributionHistory-modal-user-inputs {
  637. display: flex;
  638. flex-direction: column;
  639. align-items: flex-start;
  640. }
  641. .distributionHistory-modal-inputs div,
  642. .distributionHistory-modal-user-inputs div {
  643. margin-bottom: 10px;
  644. }
  645. .distributionHistory-modal input[type="checkbox"] {
  646. margin-right: 10px;
  647. }
  648. .distributionHistory-modal-label {
  649. font-size: 16px;
  650. color: #555;
  651. cursor: pointer;
  652. }
  653. /* 分发历史模态框确认按钮样式 */
  654. .distributionHistory-modal-confirm-button {
  655. background-color: #007bff;
  656. color: white;
  657. padding: 10px 20px;
  658. border: none;
  659. border-radius: 5px;
  660. cursor: pointer;
  661. margin-top: 20px;
  662. font-size: 16px;
  663. }
  664. .distributionHistory-modal-confirm-button:hover {
  665. background-color: #0056b3;
  666. }
  667. /* 分发历史模态框用户选择框容器样式 */
  668. .distributionHistory-modal-user-select-container {
  669. margin-bottom: 15px;
  670. width: 100%;
  671. display: flex;
  672. justify-content: center; /* 居中 */
  673. }
  674. /* 分发历史模态框专属下拉框样式 */
  675. .distributionHistory-modal-user-select {
  676. width: 80%; /* 下拉框的宽度 */
  677. padding: 10px;
  678. border-radius: 8px;
  679. border: 1px solid #ccc;
  680. font-size: 16px;
  681. background-color: #f9f9f9; /* 浅灰背景 */
  682. color: #333; /* 字体颜色 */
  683. box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* 轻微阴影 */
  684. transition: border-color 0.3s ease;
  685. }
  686. .distributionHistory-modal-user-select:focus {
  687. border-color: #007bff; /* 焦点时的边框颜色 */
  688. outline: none; /* 去掉默认的焦点样式 */
  689. box-shadow: 0 0 5px rgba(0, 123, 255, 0.5); /* 焦点时的阴影效果 */
  690. }
  691. /* 下拉框的选项样式 */
  692. .distributionHistory-modal-user-select option {
  693. background-color: white; /* 默认背景颜色 */
  694. color: black; /* 默认字体颜色 */
  695. }
  696. /* 悬停选项时的样式 */
  697. .distributionHistory-modal-user-select option:hover {
  698. background-color: #007bff; /* 悬停时选项的背景颜色 */
  699. color: white; /* 悬停时字体颜色 */
  700. }
  701. /* 选中的选项的样式 */
  702. .distributionHistory-modal-user-select option:checked {
  703. background-color: #0056b3; /* 选中的选项的背景颜色 */
  704. color: white; /* 选中的选项的字体颜色 */
  705. }
  706. /* 分发历史模态框添加用户按钮样式 */
  707. .distributionHistory-modal-add-user-button {
  708. padding: 10px 15px;
  709. background-color: #007bff;
  710. color: white;
  711. border: none;
  712. border-radius: 5px;
  713. cursor: pointer;
  714. margin-top: 10px;
  715. transition: background-color 0.3s ease;
  716. }
  717. .distributionHistory-modal-add-user-button:hover {
  718. background-color: #0056b3;
  719. }