_inventory.scss 821 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. .inventoryHeader {
  2. @extend .header;
  3. margin-top: 1em;
  4. margin-left: 1ex;
  5. }
  6. .inventoryRow {
  7. display: flex;
  8. flex-direction: row;
  9. flex-wrap: nowrap;
  10. justify-content: space-between;
  11. align-content: stretch;
  12. align-items: stretch;
  13. &:hover {
  14. background-color: rgba(0,0,0, $dark1);
  15. }
  16. }
  17. .inventoryLink {
  18. @extend .textLink;
  19. white-space: nowrap;
  20. overflow: hidden;
  21. order: 2;
  22. flex: 0 0 auto;
  23. align-self: auto;
  24. padding: 0.6ex;
  25. padding-left: 1ex;
  26. padding-right: 1ex;
  27. &.name {
  28. text-overflow: ellipsis;
  29. padding-left: 1.5ex;
  30. order: 1;
  31. flex: 1 1 auto;
  32. &:hover{
  33. overflow: visible;
  34. white-space: initial;
  35. }
  36. }
  37. }
  38. .inventoryGold {
  39. text-align: center;
  40. font-size: 1rem;
  41. font-weight: normal;
  42. padding-top: 1ex;
  43. }
  44. #inventoryTarget {
  45. padding-bottom: 1ex;
  46. }