feedback-help.component.scss 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. // ion-list {
  2. // margin: 10px;
  3. // }
  4. // ion-item {
  5. // cursor: pointer;
  6. // }
  7. ion-header {
  8. background-color: #f8f9fa; /* 设置头部背景颜色 */
  9. box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* 添加阴影效果 */
  10. }
  11. ion-toolbar {
  12. --background: transparent; /* 使工具栏背景透明 */
  13. }
  14. ion-title {
  15. font-size: 1.5em; /* 设置标题字体大小 */
  16. font-weight: bold; /* 加粗标题 */
  17. color: #3880ff; /* 设置标题颜色 */
  18. }
  19. ion-button {
  20. --background: #3880ff; /* 设置按钮背景颜色 */
  21. --color: white; /* 设置按钮文字颜色 */
  22. font-size: 1em; /* 设置按钮文字大小 */
  23. border-radius: 5px; /* 设置按钮圆角 */
  24. }
  25. ion-button:hover {
  26. --background: #3171e0; /* 鼠标悬停时的背景颜色 */
  27. }
  28. ion-button:active {
  29. --background: #2c6bbf; /* 按钮按下时的背景颜色 */
  30. }
  31. ion-content {
  32. padding: 16px; /* 设置内容内边距 */
  33. }
  34. ion-list {
  35. margin: 0; /* 移除默认的 margin */
  36. }
  37. ion-item {
  38. background-color: #ffffff; /* 设置列表项背景颜色 */
  39. border-radius: 8px; /* 设置列表项圆角 */
  40. margin-bottom: 12px; /* 添加底部间距 */
  41. box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* 添加阴影效果 */
  42. transition: transform 0.2s; /* 添加过渡效果 */
  43. }
  44. ion-item:hover {
  45. transform: translateY(-2px); /* 鼠标悬停时上移 */
  46. }
  47. ion-modal {
  48. --background: #ffffff; /* 设置模态框背景颜色 */
  49. }
  50. ion-modal ion-header {
  51. background-color: #f8f9fa; /* 设置模态框头部背景颜色 */
  52. }
  53. ion-modal ion-title {
  54. color: #3880ff; /* 设置模态框标题颜色 */
  55. }
  56. ion-modal ion-button {
  57. --background: transparent; /* 设置模态框关闭按钮背景透明 */
  58. --color: #3880ff; /* 设置模态框关闭按钮文字颜色 */
  59. }
  60. ion-modal ion-content {
  61. padding: 16px; /* 设置模态框内容内边距 */
  62. }