character-picker.component.scss 1.6 KB

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