app.css 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. /* html, body { */
  2. /* @apply text-[18px] leading-6 min-h-[unset]; */
  3. /* } */
  4. /* #root { */
  5. /* @apply p-4; */
  6. /* } */
  7. /* @media (platform: android) { */
  8. /* ion-content { */
  9. /* --ion-safe-area-top: 25px; */
  10. /* } */
  11. /* } */
  12. /* html.plt-capacitor.plt-iphone { */
  13. /* --ion-safe-area-top: 40px; */
  14. /* ion-toolbar { */
  15. /* @apply my-1 py-1; */
  16. /* } */
  17. /* } */
  18. html.plt-capacitor.plt-android {
  19. --ion-safe-area-top: 40px;
  20. ion-button, ion-tab-button {
  21. --ripple-color: rgba(0, 0, 0, .08); /* 设置涟漪颜色为透明 */
  22. }
  23. ion-app {
  24. margin-top: 0;
  25. }
  26. ion-nav {
  27. .header-md {
  28. box-shadow: 0 2px 8px #eee;
  29. border-bottom: .5px solid rgba(0, 0, 0, .15);
  30. }
  31. }
  32. }
  33. ul {
  34. @apply !list-disc ml-1 mt-2 list-inside;
  35. li {
  36. @apply pl-0;
  37. }
  38. }
  39. ion-textarea {
  40. textarea {
  41. @apply !p-1 min-h-[120px];
  42. }
  43. }
  44. .ui__notifications {
  45. @apply fixed top-8 pointer-events-none w-full;
  46. z-index: 9999;
  47. &-content {
  48. @apply inset-0 flex items-end justify-center px-4 py-2
  49. pointer-events-none sm:px-6 sm:py-2 sm:items-start sm:justify-end;
  50. }
  51. .notification-area {
  52. @apply border;
  53. background-color: var(--ion-color-light-tint);
  54. }
  55. }
  56. [type='text']:focus, [type='email']:focus, [type='url']:focus,
  57. [type='password']:focus, [type='number']:focus, [type='date']:focus, [type='datetime-local']:focus,
  58. [type='month']:focus, [type='search']:focus, [type='tel']:focus, [type='time']:focus, [type='week']:focus,
  59. [multiple]:focus, textarea:focus, select:focus {
  60. box-shadow: none;
  61. }
  62. :root {
  63. --ls-page-title-size: 26px;
  64. --ion-color-primary: #000000;
  65. }