123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146 |
- .mapRow {
- padding: 0;
- margin: 0;
- list-style: none;
- display: flex;
- flex-flow: row;
- justify-content: center;
- margin-top: 1ex;
- z-index: 1;
- }
- .mapRoom {
- z-index: 2;
- opacity: 0.5;
- max-width: 4.5ex;
- color: white;
- flex: 1 0 auto;
- margin-left: 1ex;
- height:auto;
- &:last-child {
- margin-right: 1ex;
- }
- position: relative;
- &.linked:hover {
- opacity: 1;
- cursor: pointer;
- }
- &.current {
- opacity: 1;
- &:hover {
- //opacity: 1;
- cursor: auto;
- }
- &::after {
- display: block;
- position: absolute;
- content: '';
- //top: 15%;
- //left: 15%;
- //height: 70%;
- //width: 70%;
- //background-image: inline-image("PlayerIcon.png");
- //background-size: contain;
- border: solid 2px #000;
- box-sizing: border-box;
- height: 100%;
- width: 100%;
- }
- }
- &.unknown {
- opacity: 0;
- pointer-events: none;
- }
- &::before {
- content:'';
- float:left;
- padding-top:100%;
- }
- }
- .mapRoomConnection {
- pointer-events: none;
- display: block;
- background-color: black;
- position: absolute;
- z-index: 3;
- }
- .mapRoomConnectionEast {
- @extend .mapRoomConnection;
- width: 1ex;
- height: 0.6ex;
- right: -1ex;
- top: 50%;
- margin-top: -0.3ex;
- }
- .mapRoomConnectionWest {
- @extend .mapRoomConnection;
- width: 1ex;
- height: 0.6ex;
- left: -1ex;
- top: 50%;
- margin-top: -0.3ex;
- }
- .mapRoomConnectionNorth {
- @extend .mapRoomConnection;
- width: 0.6ex;
- height: 1ex;
- left: 50%;
- top: -1ex;
- margin-left: -0.3ex;
- }
- .mapRoomConnectionSouth {
- @extend .mapRoomConnection;
- width: 0.6ex;
- height: 1ex;
- left: 50%;
- bottom: -1ex;
- margin-left: -0.3ex;
- }
- .mapRoomName {
- display: none;
- position: absolute;
- text-align: center;
- bottom: 105%;
- right: 5%;
- padding:5%;
- white-space: nowrap;
- margin: auto;
- background-color: white;
- color: #000;
- font-weight: bold;
- border: solid 2px #000;
- z-index: 4;
- pointer-events: none;
- }
- .mapRoom.linked:hover > .mapRoomName {
- display: block;
- }
- .tomato {
- background: tomato;
- }
- .bloo {
- background: blue;
- }
- .blocked {
- background-color: black;
- &.unknown {
- opacity: 1;
- }
- }
|