You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

116 lines
3.3 KiB

2 years ago
  1. @tailwind base;
  2. @tailwind components;
  3. @tailwind utilities;
  4. @layer base {
  5. *,
  6. ::before,
  7. ::after {
  8. --tw-backdrop-blur: ;
  9. --tw-backdrop-brightness: ;
  10. --tw-backdrop-contrast: ;
  11. --tw-backdrop-grayscale: ;
  12. --tw-backdrop-hue-rotate: ;
  13. --tw-backdrop-invert: ;
  14. --tw-backdrop-opacity: ;
  15. --tw-backdrop-saturate: ;
  16. --tw-backdrop-sepia: ;
  17. }
  18. h1,
  19. .t28 {
  20. @apply tw-text-[28px] tw-font-medium tw-leading-9;
  21. }
  22. h2,
  23. .t24 {
  24. @apply tw-text-[24px] tw-font-bold tw-leading-[31px];
  25. }
  26. .t20 {
  27. @apply tw-text-[20px] tw-font-bold tw-leading-[26px];
  28. }
  29. h3,
  30. .t18 {
  31. @apply tw-text-[18px] tw-font-bold tw-leading-[23px];
  32. }
  33. h4,
  34. .t16 {
  35. @apply tw-text-[16px] tw-font-bold tw-leading-[21px];
  36. }
  37. .t14 {
  38. @apply tw-text-[14px] tw-font-medium tw-leading-[18px];
  39. }
  40. .t12 {
  41. @apply tw-text-[12px] tw-font-medium tw-leading-[16px];
  42. }
  43. .t10 {
  44. @apply tw-text-[10px] tw-font-medium tw-leading-normal;
  45. }
  46. .tw-body-1 {
  47. @apply tw-text-[24px] tw-font-medium tw-leading-[31px];
  48. }
  49. .tw-body-2 {
  50. @apply tw-text-[18px] tw-font-medium tw-leading-[23px];
  51. }
  52. .tw-body-3 {
  53. @apply tw-text-[16px] tw-font-medium tw-leading-[21px];
  54. }
  55. .tw-body-4 {
  56. @apply tw-text-[14px] tw-font-medium tw-leading-[18px];
  57. }
  58. .tw-body-5 {
  59. @apply tw-text-[12px] tw-font-medium tw-leading-[16px];
  60. }
  61. .tw-head-title {
  62. @apply tw-text-[14px] tw-font-medium tw-leading-[18px];
  63. }
  64. .tw-head-body {
  65. @apply tw-text-[14px] tw-font-normal tw-leading-[18px];
  66. }
  67. .tw-footer-title {
  68. @apply tw-text-[14px] tw-font-medium tw-leading-[18px];
  69. }
  70. .tw-footer-body {
  71. @apply tw-text-[14px] tw-font-normal tw-leading-[18px];
  72. }
  73. .tw-btn {
  74. @apply tw-text-[14px] tw-text-neutrals-100 tw-font-normal tw-leading-[18px];
  75. }
  76. .tw-btn-md {
  77. @apply tw-text-[16px] tw-text-neutrals-100 tw-font-normal tw-leading-[21px];
  78. }
  79. .tw-btn-xl {
  80. @apply tw-text-[18px] tw-text-neutrals-100 tw-font-normal tw-leading-[23px];
  81. }
  82. }
  83. @layer components {
  84. label {
  85. @apply t14 tw-font-medium tw-text-black;
  86. }
  87. .required {
  88. @apply tw-text-error-default tw-inline-block;
  89. }
  90. button:disabled {
  91. @apply tw-border tw-border-solid tw-text-neutrals-300 tw-border-neutrals-300 tw-bg-neutrals-0 tw-pointer-events-none;
  92. }
  93. .element input[type="text"],
  94. .element input[type="email"],
  95. .element input[type="tel"],
  96. .element input[type="street"],
  97. .element input[type="zip"] {
  98. @apply tw-body-4 tw-text-black tw-outline-none tw-px-[20px] tw-py-[12px] tw-border-solid tw-border tw-border-neutrals-200 tw-rounded hover:tw-border-primary-2 focus:tw-border-primary-2;
  99. }
  100. .element textarea {
  101. @apply tw-body-4 tw-text-black tw-outline-none tw-px-[10px] tw-py-[10px] tw-border-solid tw-border tw-border-neutrals-200 tw-rounded hover:tw-border-primary-2 focus:tw-border-primary-2;
  102. }
  103. .element .country-selector__input,
  104. .element .input-tel__input {
  105. @apply tw-body-4 tw-text-black hover:tw-border-primary-2 focus:tw-border-primary-2 focus:tw-shadow-none !important;
  106. }
  107. .element .vue-phone-number-input {
  108. @apply tw-flex;
  109. }
  110. .element .country-selector__label {
  111. @apply tw-pointer-events-none;
  112. }
  113. .element select {
  114. @apply tw-body-4 tw-text-black tw-outline-none tw-px-[20px] tw-py-[12px] tw-border-solid tw-border tw-border-neutrals-200 tw-rounded hover:tw-border-primary-2 focus:tw-border-primary-2;
  115. }
  116. }