new-chat.module.scss 2.2 KB

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