lichess-org / lila-openingexplorer

Opening explorer for lichess.org that can handle all the variants and trillions of unique positions
http://lichess.org/analysis#explorer
GNU Affero General Public License v3.0
135 stars 34 forks source link

ui #19

Closed niklasf closed 8 years ago

niklasf commented 8 years ago




ornicar commented 8 years ago

inconsistency: P@c3 from the api, @c3 in move list

That's because the move list uses a chess font that doesn't have a char for pawns.

niklasf commented 8 years ago

tooltips also done. nice

Unihedro commented 8 years ago

re cutting off the percent sign: will elevating the z-index and giving it a unique presentation (strong text shadow?) work?

niklasf commented 8 years ago

it might. for reference, here's the situation: image

Unihedro commented 8 years ago

for the record, I tried this tweak, not sure if it's helpful:

`element.style` {
    margin-left: -2.8%; /* inline? */
}
.explorer_box .bar span span.overflow {
    z-index: 3;
    position: absolute;
    display: block;
    border: none;
    text-shadow: 0 0 5px black;
}

I wrapped the text in an additional span such that the outer span takes up space while the inner span positions the text..