On Mon, 2009-07-13 at 19:21 +0200, Loic Dachary wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Johan Euphrosine wrote: > > On Mon, 2009-07-13 at 18:36 +0200, Loic Dachary wrote: > >> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 > >> > >> Hi, > >> > >> There are a few modifications that can be done in jpoker in order > >> to allow for a more compact table layout ( ideally 760 x 530 > >> pixels ). I think it would be beneficial to add the following to > >> jpoker and use the default table as a demonstration where > >> possible. > >> > >> 1) The hole cards of the user need not be placed at the same > >> place or have the same size when they are face down or face up. I > >> think it is just a matter of changing the CSS and having smaller > >> image for the face down card. > > > > If you want them to be centered, the spacing between cards > > (controlled by card position in mockup.svg) would have to be > > changed too. > > > > We could either: - create another layout for smaller cards in > > mockup.svg or - create a board element and position/space cards > > with css.
You were right, the hole cards of the user already have a css class when they are face down: jpoker_card_back I tweaked the css and the image to display smaller ones: http://upstream.jspoker.pokersource.info/rev/fb1714379900 You can check out the result on this new skin case: http://jspoker.pokersource.info/work/jpoker/skin/table.html#jpoker_08_1_all_cardback Please note that additional work would be needed on their layout. -- Johan Euphrosine <[email protected]>
signature.asc
Description: This is a digitally signed message part
_______________________________________________ Pokersource-users mailing list [email protected] https://mail.gna.org/listinfo/pokersource-users
