style.css 1.6 KB

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