main.scss 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. @import '@shared/styles/main.css';
  2. .Content,
  3. .ProseMirror {
  4. div[data-signature-marker] {
  5. display: none;
  6. }
  7. &:focus-visible {
  8. outline: none;
  9. }
  10. blockquote {
  11. @apply border-l-4 border-l-gray-200 px-3 py-2;
  12. }
  13. ol {
  14. list-style: decimal;
  15. }
  16. ul {
  17. list-style: disc;
  18. }
  19. ol,
  20. ul {
  21. @apply ltr:pl-2 rtl:pr-2;
  22. list-style-position: inside;
  23. p {
  24. display: inline-block;
  25. }
  26. }
  27. h1 {
  28. @apply mb-2 mt-1 text-2xl font-bold;
  29. }
  30. h2 {
  31. @apply my-1 text-xl font-bold;
  32. }
  33. h3 {
  34. @apply my-1 text-lg font-bold;
  35. }
  36. a {
  37. @apply text-blue;
  38. }
  39. }
  40. @layer base {
  41. [type='text'],
  42. [type='password'],
  43. [type='email'],
  44. [type='number'],
  45. [type='url'],
  46. [type='date'],
  47. [type='datetime-local'],
  48. [type='time'],
  49. [type='search'],
  50. [type='tel'],
  51. select,
  52. select[multiple] {
  53. @apply p-2;
  54. }
  55. textarea {
  56. @apply px-2 py-1;
  57. }
  58. }
  59. @layer components {
  60. .absolute-floating-input:focus-within label,
  61. .absolute-floating-input.formkit-outer[data-populated] label {
  62. @apply -translate-y-2 scale-75 opacity-75 ltr:translate-x-[2px] rtl:translate-x-6;
  63. }
  64. .floating-input.formkit-outer[data-populated] label {
  65. @apply text-xs opacity-75;
  66. }
  67. .floating-textarea:focus-within label,
  68. .floating-textarea.formkit-outer[data-populated] label {
  69. @apply translate-y-0 text-xs opacity-75;
  70. }
  71. }