And I use it like
new CellList<MyObject>(listCell,
(CellList.Resources) GWT.create(MyResources.class));
On Monday, February 9, 2015 at 9:34:23 AM UTC+2, Ovidiu Faur wrote:
>
> Hello,
>
> I'm wondering if it's possible to use media queries with CellLists. For
> example:
>
> interface MyStyle extends Style {
> }
>
> public interface MyResources extends Resources {
> @Source({ Style.DEFAULT_CSS, "MyStyle.css" })
> MyStyle cellListStyle();
> }
>
> And then I have the CellList CSS file "MyStyle.css" :
> /* cell flow basic css style */
> .cellListWidget {
> }
>
> .cellListEvenItem {
> }
>
> .cellListOddItem {
> }
>
> .cellListEvenItem:hover,.cellListOddItem:hover {
> }
>
> .cellListKeyboardSelectedItem,.cellListSelectedItem:hover {
> }
>
> .cellListSelectedItem {
> }
>
>
> Is it possible to have something like this
> @media ( min-width : 768px) {
> .cellListEvenItem {
> height: 90px;
> }
> }
> inside MyStyle.css ? I tried and it doesn't seem to recognize it (no
> errors or warnings, but it doesn't work either).
>
> If the above is not possible is there any workaround to achieve this?
>
> Thank you.
>
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.