1
1

_room.scss 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. .roomName {
  2. @extend .header;
  3. font-size: 1.2rem;
  4. margin-bottom: 1ex;
  5. }
  6. .roomDescription {
  7. text-indent: 1rem;
  8. text-align: justify;
  9. margin-top: 1ex;
  10. }
  11. .roomExitsHeader {
  12. @extend .header;
  13. margin-top: 2ex;
  14. }
  15. .roomExit {
  16. text-indent: 1.5rem;
  17. margin-top: 1ex;
  18. }
  19. .roomObject, .roomDirection {
  20. @extend .textLink;
  21. }
  22. .rememberedRoomRow {
  23. display: flex;
  24. flex-direction: row;
  25. flex-wrap: nowrap;
  26. justify-content: space-between;
  27. align-content: stretch;
  28. align-items: stretch;
  29. &:hover {
  30. background-color: rgba(0,0,0, $dark1);
  31. }
  32. &.currentRoom {
  33. & > .rememberedRoomLink {
  34. color: #000;
  35. display: none;
  36. &:hover {
  37. cursor: auto;
  38. }
  39. &.name{
  40. display: initial;
  41. }
  42. }
  43. }
  44. }
  45. .rememberedRoomLink {
  46. @extend .textLink;
  47. white-space: nowrap;
  48. overflow: hidden;
  49. order: 2;
  50. flex: 0 0 auto;
  51. align-self: auto;
  52. padding: 0.6ex;
  53. padding-left: 1ex;
  54. padding-right: 1ex;
  55. &.name {
  56. text-overflow: ellipsis;
  57. padding-left: 1.5ex;
  58. order: 1;
  59. flex: 1 1 auto;
  60. &:hover{
  61. overflow: visible;
  62. white-space: initial;
  63. }
  64. }
  65. }