character-picker.component.scss 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. // HEADER
  2. .header {
  3. height: 8rem;
  4. background-image: url("/assets/images/background-30.jpg");
  5. border-bottom: var(--gold-dark-2);
  6. box-shadow: var(--shadow);
  7. z-index: 5;
  8. // position: relative;
  9. display: flex;
  10. align-items: center;
  11. justify-content: center;
  12. @media (height < 900px) {
  13. height: 6rem;
  14. }
  15. }
  16. ::ng-deep body {
  17. background-image: url("/assets/images/background-0.jpg");
  18. }
  19. .okay-button {
  20. background: var(--accept);
  21. width: 8rem;
  22. height: 2.5rem;
  23. border-radius: 10px;
  24. box-shadow: var(--shadow);
  25. &:hover {
  26. background: var(--accept-hover);
  27. scale: 1.03;
  28. }
  29. }
  30. // CARDS
  31. .character-card-container {
  32. width: 1300px;
  33. margin: auto;
  34. display: flex;
  35. flex-direction: row;
  36. justify-content: space-evenly;
  37. flex-wrap: wrap;
  38. padding-top: 2.5rem;
  39. padding-bottom: 2.5rem;
  40. overflow: auto;
  41. column-gap: 2rem;
  42. row-gap: 3rem;
  43. height: calc(100% - 8rem);
  44. @media (height < 900px) {
  45. height: calc(100% - 6rem);
  46. }
  47. }
  48. character-card {
  49. cursor: pointer;
  50. max-height: 20rem;
  51. }
  52. .card-placeholder {
  53. height: 20rem;
  54. width: 35rem;
  55. background-color: lightgrey;
  56. border-radius: 10px;
  57. box-shadow: var(--shadow);
  58. border: var(--gold-3);
  59. display: flex;
  60. justify-content: center;
  61. align-items: center;
  62. font-size: 1.5rem;
  63. font-weight: 600;
  64. transition: all 0.2s ease-in-out;
  65. &:hover {
  66. background-color: rgb(191, 191, 191);
  67. }
  68. }
  69. @mixin button {
  70. color: black;
  71. border: none;
  72. border-radius: 10px;
  73. box-shadow: var(--shadow);
  74. height: 4rem;
  75. width: 10rem;
  76. font-size: 1.125rem;
  77. font-weight: 600;
  78. transition: all 0.2s ease-in-out;
  79. }
  80. .button-row {
  81. display: flex;
  82. justify-content: space-around;
  83. margin-top: 1rem;
  84. }
  85. .delete-button {
  86. background: var(--delete);
  87. @include button;
  88. &:hover {
  89. background: var(--delete-hover);
  90. scale: 1.03;
  91. }
  92. }