new-chat.module.scss 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  1. @import "../styles/animation.scss";
  2. .new-chat {
  3. height: 100%;
  4. width: 100%;
  5. display: flex;
  6. align-items: center;
  7. justify-content: center;
  8. flex-direction: column;
  9. .mask-header {
  10. display: flex;
  11. justify-content: space-between;
  12. width: 100%;
  13. padding: 10px;
  14. box-sizing: border-box;
  15. animation: slide-in-from-top ease 0.3s;
  16. }
  17. .mask-cards {
  18. display: flex;
  19. margin-top: 5vh;
  20. margin-bottom: 20px;
  21. animation: slide-in ease 0.3s;
  22. .mask-card {
  23. padding: 20px 10px;
  24. border: var(--border-in-light);
  25. box-shadow: var(--card-shadow);
  26. border-radius: 14px;
  27. background-color: var(--white);
  28. transform: scale(1);
  29. &:first-child {
  30. transform: rotate(-15deg) translateY(5px);
  31. }
  32. &:last-child {
  33. transform: rotate(15deg) translateY(5px);
  34. }
  35. }
  36. }
  37. .title {
  38. font-size: 32px;
  39. font-weight: bolder;
  40. margin-bottom: 1vh;
  41. animation: slide-in ease 0.35s;
  42. }
  43. .sub-title {
  44. animation: slide-in ease 0.4s;
  45. }
  46. .actions {
  47. margin-top: 5vh;
  48. margin-bottom: 2vh;
  49. animation: slide-in ease 0.45s;
  50. display: flex;
  51. justify-content: center;
  52. font-size: 12px;
  53. .skip {
  54. margin-left: 10px;
  55. }
  56. }
  57. .masks {
  58. flex-grow: 1;
  59. width: 100%;
  60. overflow: auto;
  61. align-items: center;
  62. padding-top: 20px;
  63. $linear: linear-gradient(
  64. to bottom,
  65. rgba(0, 0, 0, 0),
  66. rgba(0, 0, 0, 1),
  67. rgba(0, 0, 0, 0)
  68. );
  69. -webkit-mask-image: $linear;
  70. mask-image: $linear;
  71. animation: slide-in ease 0.5s;
  72. .mask-row {
  73. display: flex;
  74. // justify-content: center;
  75. margin-bottom: 10px;
  76. @for $i from 1 to 10 {
  77. &:nth-child(#{$i * 2}) {
  78. margin-left: 50px;
  79. }
  80. }
  81. .mask {
  82. display: flex;
  83. align-items: center;
  84. padding: 10px 14px;
  85. border: var(--border-in-light);
  86. box-shadow: var(--card-shadow);
  87. background-color: var(--white);
  88. border-radius: 10px;
  89. margin-right: 10px;
  90. max-width: 8em;
  91. transform: scale(1);
  92. cursor: pointer;
  93. transition: all ease 0.3s;
  94. &:hover {
  95. transform: translateY(-5px) scale(1.1);
  96. z-index: 999;
  97. border-color: var(--primary);
  98. }
  99. .mask-name {
  100. margin-left: 10px;
  101. font-size: 14px;
  102. }
  103. }
  104. }
  105. }
  106. }