new-chat.module.scss 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  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: 5vh;
  49. animation: slide-in ease 0.45s;
  50. display: flex;
  51. justify-content: center;
  52. .more {
  53. font-size: 12px;
  54. margin-left: 10px;
  55. }
  56. }
  57. .masks {
  58. flex-grow: 1;
  59. width: 100%;
  60. overflow: hidden;
  61. align-items: center;
  62. padding-top: 20px;
  63. animation: slide-in ease 0.5s;
  64. .mask-row {
  65. margin-bottom: 10px;
  66. display: flex;
  67. justify-content: center;
  68. @for $i from 1 to 10 {
  69. &:nth-child(#{$i * 2}) {
  70. margin-left: 50px;
  71. }
  72. }
  73. .mask {
  74. display: flex;
  75. align-items: center;
  76. padding: 10px 14px;
  77. border: var(--border-in-light);
  78. box-shadow: var(--card-shadow);
  79. background-color: var(--white);
  80. border-radius: 10px;
  81. margin-right: 10px;
  82. max-width: 8em;
  83. transform: scale(1);
  84. cursor: pointer;
  85. transition: all ease 0.3s;
  86. &:hover {
  87. transform: translateY(-5px) scale(1.1);
  88. z-index: 999;
  89. border-color: var(--primary);
  90. }
  91. .mask-name {
  92. margin-left: 10px;
  93. font-size: 14px;
  94. }
  95. }
  96. }
  97. }
  98. }