styles.module.scss 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. @import "../../styles/vars";
  2. .list_container {
  3. //margin-top: 2.75rem;
  4. & .game_list {
  5. display: grid;
  6. grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  7. gap: 1.25rem .75rem;
  8. @media screen and (max-width: $width-mobile-max){
  9. grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  10. }
  11. }
  12. & .game_list_mobile{
  13. display: flex;
  14. flex-direction: column;
  15. //gap: .75rem;
  16. transition: all var(--transition);
  17. //will-change: transform;
  18. & .list_row{
  19. display: grid;
  20. gap: .75rem;
  21. grid-template-columns: repeat(3,1fr);
  22. transition: all var(--transition);
  23. //will-change: transform;
  24. margin-bottom: .75rem;
  25. }
  26. }
  27. & .page_con{
  28. display: flex;
  29. flex-direction: column;
  30. width: 100%;
  31. transition: all var(--transition);
  32. }
  33. & .page_progress {
  34. display: flex;
  35. align-items: center;
  36. justify-content: center;
  37. margin-bottom: 1.0625rem;
  38. margin-top: 3rem;
  39. & .progress {
  40. width: 5rem;
  41. height: .375rem;
  42. border-radius: var(--border-radius);
  43. background-color: #31343c;
  44. position: relative;
  45. margin: 0 .3125rem;
  46. & .green{
  47. position: absolute;
  48. left: 0;
  49. height: 100%;
  50. border-radius: var(--border-radius);
  51. top: 0;
  52. max-width: 100%;
  53. background-color: var(--primary-color);
  54. }
  55. }
  56. }
  57. & .show_more{
  58. display: flex;
  59. width: 100%;
  60. align-items: center;
  61. justify-content: center;
  62. & .more_btn{
  63. background: var(--nav-item-hover);
  64. border-radius: var(--border-radius);
  65. height: 44px;
  66. line-height: 44px;
  67. min-width: 148px;
  68. width: auto;
  69. margin: 0 auto;
  70. font-weight: 600;
  71. color: var(--header);
  72. &:disabled{
  73. opacity: .5;
  74. cursor: default;
  75. }
  76. }
  77. }
  78. }