page-daily.component_20241201190816.scss 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. .button-container {
  2. position: absolute; /* 绝对定位 */
  3. top: 6px; /* 距离顶部的距离 */
  4. left: 6px; /* 距离左侧的距离 */
  5. display: flex; /* 使用flexbox布局 */
  6. flex-direction: row; /* 垂直排列 */
  7. }
  8. .custom-button {
  9. font-size: 12px; /* 按钮字体大小 */
  10. border-radius: 6px; /* 圆角按钮 */
  11. color: rgb(245, 82, 82); /* 字体颜色 */
  12. transition: opacity 0.3s, color 0.3s; /* 添加过渡效果 */
  13. }
  14. /* 添加按钮的悬停效果 */
  15. .custom-button:hover {
  16. opacity: 0.5 !important; /* 悬停时透明度变化 */
  17. color:aqua !important;
  18. }
  19. ion-content {
  20. --background: #ffcccb; /* 设置背景颜色为粉色 */
  21. color: black; /* 设置文本颜色为黑色,确保可读性 */
  22. }
  23. ion-header {
  24. background-color: #f19595; /* 设置背景颜色为淡粉色 */
  25. color: black; /* 设置文本颜色为黑色 */
  26. margin: auto;
  27. }
  28. ion-toolbar {
  29. --background: transparent; /* 如果需要透明效果,可以设置为透明 */
  30. width: 200px;
  31. margin: auto;
  32. }
  33. .rating-container {
  34. border: 1px solid #d3d3d3; /* 边框颜色 */
  35. border-radius: 8px; /* 圆角 */
  36. padding: 16px; /* 内边距 */
  37. margin-bottom: 16px; /* 下边距 */
  38. margin-top: 16px;
  39. background-color: #f6b7b7; /* 背景颜色 */
  40. }
  41. .tag-container {
  42. border: 1px solid #d3d3d3; /* 边框颜色 */
  43. border-radius: 8px; /* 圆角 */
  44. padding: 16px; /* 内边距 */
  45. background-color: #f6b7b7; /* 背景颜色 */
  46. }