.PlayerList { display: flex; position: relative; padding: 0.5em; user-select: none; flex-direction: column; margin: 0.25rem 0.25rem 0.25rem 0; } .PlayerList .Name { display: flex; flex-grow: 1; } .PlayerList .NoNetwork { display: flex; justify-self: flex-end; width: 1em; height: 1em; background-image: url("./assets/no-network.png"); background-size: contain; background-position: center; background-repeat: no-repeat; } .PlayerList .Unselected { display: flex; flex-direction: row; flex-wrap: wrap; } .PlayerList .Unselected > div { display: flex; flex-direction: column; align-items: center; margin: 0.25rem; padding: 0.25rem; } .PlayerList .Unselected .Self { background-color: rgba(255, 255, 0, 0.5); } .PlayerList .PlayerSelector .PlayerColor { width: 1em; height: 1em; } .PlayerList .PlayerSelector { display: inline-flex; flex-wrap: wrap; flex-direction: row; } .PlayerList .PlayerSelector.MuiList-padding { padding: 0; } .PlayerList .PlayerSelector .MuiTypography-body1 { font-size: 0.8rem; /* white-space: nowrap;*/ } .PlayerList .PlayerSelector .MuiTypography-body2 { font-size: 0.7rem; white-space: nowrap; } .PlayerList .PlayerEntry { border: 1px solid rgba(0,0,0,0); border-radius: 0.5em; min-width: 10em; } .PlayerList .PlayerSelector .PlayerEntry { flex: 1 1 0px; align-items: center; display: inline-flex; flex-direction: row; min-width: 10em; } .PlayerList .PlayerEntry[data-selectable=true]:hover { border-color: rgba(0,0,0,0.5); cursor: pointer; } .PlayerList .PlayerEntry[data-selected=true] { background-color: rgba(255, 255, 0, 0.5); } .PlayerList .PlayerEntry .MediaControl { display: flex; justify-self: flex-end; } .PlayerList .Players .PlayerToggle { min-width: 5em; display: inline-flex; align-items: flex-end; flex-direction: column; } .PlayerList .PlayerName { padding: 0.5em; } .PlayerList .Players > * { width: 100%; } .PlayerList .Players .nameInput { flex-grow: 1; }