style.css 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. body, html {
  2. height: 100%;
  3. margin: 0;
  4. }
  5. body {
  6. visibility: hidden;
  7. opacity: 0;
  8. transition: opacity 0.3s ease, visibility 0.3s ease;
  9. }
  10. .gjs-mdl-dialog {
  11. background-color: white;
  12. color: #333;
  13. }
  14. .gjs-cv-canvas-bg {
  15. width: 100%;
  16. }
  17. .gjs-pn-options {
  18. right: unset;
  19. left: 33%;
  20. }
  21. .gjs-pn-buttons {
  22. text-align: right;
  23. display:block;
  24. }
  25. /* 美化下拉选择框 */
  26. .custom-select {
  27. margin-left: 10px;
  28. padding: 3px 16px; /* 增加内边距,为下拉内容留出空位 */
  29. font-size: 14px; /* 字体大小 */
  30. color: #444; /* 字体颜色 */
  31. background-color: #fff; /* 背景颜色 */
  32. border: 1px solid #ddd; /* 边框 */
  33. border-radius: 4px; /* 圆角 */
  34. outline: none; /* 去掉聚焦时的默认边框 */
  35. cursor: pointer; /* 鼠标指针样式 */
  36. transition: all 0.3s ease; /* 过渡效果 */
  37. appearance: none; /* 移除默认的下拉箭头 */
  38. position: relative; /* 为下拉箭头定位 */
  39. width:200px;
  40. }
  41. /* 悬停效果 */
  42. .custom-select:hover {
  43. background-color: #f8f8f8; /* 悬停时的背景颜色 */
  44. border-color: #ccc; /* 悬停时的边框颜色 */
  45. }
  46. /* 聚焦效果 */
  47. .custom-select:focus {
  48. border-color: #ccc; /* 聚焦时的边框颜色 */
  49. box-shadow: 0 0 5px rgba(0, 123, 255, 0.2); /* 聚焦时的阴影 */
  50. }
  51. /* 下拉箭头样式 */
  52. .custom-select::after {
  53. content: '\f0d7'; /* FontAwesome 下拉箭头图标 */
  54. font-family: 'FontAwesome';
  55. position: absolute;
  56. right: 8px; /* 调整箭头位置,使其与右边距对齐 */
  57. top: 50%;
  58. transform: translateY(-50%);
  59. pointer-events: none; /* 防止点击事件 */
  60. color: #444; /* 下拉箭头颜色 */
  61. }