MediaWiki:Gadget-rosterswapPortal.css

/* Current rosters */ .rosterswap-current { text-align:center; width:23em; table-layout: fixed; }

.rosterswap-current .rosterswap-current-rolename { padding-left:0; padding-right:0; }

.rosterswap-current th.rosterswap-current-teamlogo-corner { width: 65px; padding-left: 0; padding-right: 0; }

.rosterswap-rumored { width:24em; }

.rosterswap-current-source { width:3em; }

.rosterswap-current .rosterswap-current-season { background-color:var(--zebra-light-heading-background); }

.rosterswap-current-leave { background-color:var(--color-down); }

.rosterswap-current-contract { background-color:var(--color-upwith2bye); }

.rosterswap-current-j, .rosterswap-current-a { background-color:var(--zebra-light); }

.rosterswap-current-t, .rosterswap-current-m, .rosterswap-current-s { background-color:var(--content-bg-color); border-top: 2px; }

.rosterswap-current-parity-1 { background-color:var(--content-bg-color); }

.rosterswap-current-roleswap { background-color:var(--color-staydown); }

.rosterswap-current-join { background-color:var(--color-up); }

.rosterswap-current .rosterswap-current-new { border-left: var(--zebra-heading-background) 4px solid; }

table .rosterswap-current-firstline > td { border-top:2px solid var(--table-border); }

.rosterswap-current .region-icon + a { margin-left:.2em; }

/* End current rosters */

.rosterswap-color-green, tr.rosterswap-color-green > * { background-color:var(--color-up)!important; }

.rosterswap-color-red, tr.rosterswap-color-red > * { background-color:var(--color-down)!important; }

.rosterswap-color-turqoise, tr.rosterswap-color-turqoise > * { background-color:var(--color-turqoise)!important; }

.rosterswap-color-blue, tr.rosterswap-color-blue > * { background-color:var(--color-mhside0)!important; }

/* NEW STUFF - October 2019 */

.roster-portal { table-layout:fixed; max-width:55em; /* chrome is a piece of shit browser that doesn't know how to recompute widths when elements wrap and there's rowspans so this tries to make it not be literal garbage */ }

.roster-portal-role { width:7em; }

.roster-portal-fa { text-align:center; }

.roster-portal-lastcell { position:relative; max-width:100px; }

.player-team-history-edit, .roster-portal-edit { position:absolute; right:calc(-2em - 3px); display:none; width:calc(2.5em + 1px); text-align:right; padding:3px; top:0; height:100%; }

.player-team-history-edit-ej, .roster-portal-edit-el { float:left; margin-left:4px; }

.player-team-history-edit-el, .roster-portal-edit-ej { float:right; }

tr:hover .player-team-history-edit, tr:hover .roster-portal-edit { display:unset; }

.roster-portal-sentence { padding:.3em; }

.roster-portal-sentence-span { float:right; }

.roster-portal-sentence-wrapper { width:30em; }

/* Rumors */ .roster-rumor-region, .roster-rumor-team, .roster-rumor-role { text-align:center; }

.roster-rumor-part-end { position:relative; }

.roster-rumor-not .roster-rumor-part-end::after { font-family:FontAwesome; content:'\f00d'; font-weight:500; position:absolute; right:calc(-3px - 0.5em); top:calc(-3px - 1.15em); width: 1em; height:1em; line-height: 1; display: block; text-align: center; }

.skin-hydra .roster-rumor-not .roster-rumor-part-end::after { color:var(--color-brightred); }

.roster-rumor-filter-link a:before { font-family:FontAwesome; content:'\f0b0'; font-weight:700; }

/* End Rumors */