utilities.css 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. @utility no-scrollbar {
  2. &::-webkit-scrollbar {
  3. display: none;
  4. }
  5. & {
  6. -ms-overflow-style: none; /* IE and Edge */
  7. scrollbar-width: none; /* Firefox */
  8. }
  9. }
  10. @utility truncate-start {
  11. text-overflow: ellipsis;
  12. overflow: hidden;
  13. white-space: nowrap;
  14. direction: rtl;
  15. text-align: left;
  16. }
  17. @utility fade-up-text {
  18. animation: fadeUp 0.4s ease-out forwards;
  19. opacity: 0;
  20. &:nth-child(1) {
  21. animation-delay: 0.1s;
  22. }
  23. &:nth-child(2) {
  24. animation-delay: 0.2s;
  25. }
  26. &:nth-child(3) {
  27. animation-delay: 0.3s;
  28. }
  29. &:nth-child(4) {
  30. animation-delay: 0.4s;
  31. }
  32. &:nth-child(5) {
  33. animation-delay: 0.5s;
  34. }
  35. &:nth-child(6) {
  36. animation-delay: 0.6s;
  37. }
  38. &:nth-child(7) {
  39. animation-delay: 0.7s;
  40. }
  41. &:nth-child(8) {
  42. animation-delay: 0.8s;
  43. }
  44. &:nth-child(9) {
  45. animation-delay: 0.9s;
  46. }
  47. &:nth-child(10) {
  48. animation-delay: 1s;
  49. }
  50. &:nth-child(11) {
  51. animation-delay: 1.1s;
  52. }
  53. &:nth-child(12) {
  54. animation-delay: 1.2s;
  55. }
  56. &:nth-child(13) {
  57. animation-delay: 1.3s;
  58. }
  59. &:nth-child(14) {
  60. animation-delay: 1.4s;
  61. }
  62. &:nth-child(15) {
  63. animation-delay: 1.5s;
  64. }
  65. &:nth-child(16) {
  66. animation-delay: 1.6s;
  67. }
  68. &:nth-child(17) {
  69. animation-delay: 1.7s;
  70. }
  71. &:nth-child(18) {
  72. animation-delay: 1.8s;
  73. }
  74. &:nth-child(19) {
  75. animation-delay: 1.9s;
  76. }
  77. &:nth-child(20) {
  78. animation-delay: 2s;
  79. }
  80. &:nth-child(21) {
  81. animation-delay: 2.1s;
  82. }
  83. &:nth-child(22) {
  84. animation-delay: 2.2s;
  85. }
  86. &:nth-child(23) {
  87. animation-delay: 2.3s;
  88. }
  89. &:nth-child(24) {
  90. animation-delay: 2.4s;
  91. }
  92. &:nth-child(25) {
  93. animation-delay: 2.5s;
  94. }
  95. &:nth-child(26) {
  96. animation-delay: 2.6s;
  97. }
  98. &:nth-child(27) {
  99. animation-delay: 2.7s;
  100. }
  101. &:nth-child(28) {
  102. animation-delay: 2.8s;
  103. }
  104. &:nth-child(29) {
  105. animation-delay: 2.9s;
  106. }
  107. &:nth-child(30) {
  108. animation-delay: 3s;
  109. }
  110. }