ability-panel.component.scss 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. .ability-panel-container{
  2. border: solid 1px var(--border-color);
  3. background-color: var(--field-background-color);
  4. box-shadow: var(--shadow-small);
  5. border-radius: 10px;
  6. height: 48rem;
  7. display:flex;
  8. flex-direction: column;
  9. }
  10. .tab-row{
  11. display: flex;
  12. flex: 0 0 3rem;
  13. > *{
  14. flex: 1 1 0;
  15. }
  16. > :first-child{
  17. border-radius: 10px 0 0 0
  18. }
  19. > :last-child{
  20. border-radius: 0 10px 0 0
  21. }
  22. }
  23. .tab-button{
  24. height: 2.25rem;
  25. font-size: 1.375rem;
  26. font-weight: 600;
  27. color: black;
  28. border: solid 1px var(--border-color);
  29. transition: all 0.25s ease-in-out;
  30. background-color: var(--primary-color-light);
  31. &.active{
  32. height: 2.75rem;
  33. background-color: var(--primary-color);
  34. }
  35. }
  36. .button-margin{
  37. margin: 1rem 0rem;
  38. }
  39. ability-table{
  40. flex: 0 0 calc(100% - 8rem);
  41. overflow: auto;
  42. }
  43. trait-table{
  44. flex: 0 0 calc(100% - 8rem);
  45. overflow: auto;
  46. }
  47. spellslots{
  48. flex: 0 0 calc(100% - 8rem);
  49. overflow: auto;
  50. }
  51. proficiencies-table{
  52. flex: 0 0 calc(100% - 8rem);
  53. overflow: auto;
  54. }
  55. // .ability-table-container{
  56. // display: flex;
  57. // flex-direction: column;
  58. // flex: 0 0 calc(100% - 3rem);
  59. // overflow: auto;
  60. // }
  61. // button:hover{
  62. // color: black;
  63. // background-color: var(--primary-color);
  64. // }
  65. // button.active{
  66. // // height: 4.5rem;
  67. // // font-size: 1.625rem;
  68. // background-color: var(--primary-color) !important;
  69. // }
  70. // li{
  71. // display: flex;
  72. // align-items: flex-start;
  73. // }