On Thu, Oct 30, 2014 at 7:51 AM, Julien Dramaix <[email protected]>
wrote:

> If GSS was the default, we would have shipped only .gss files.
>

That's not true. We will still have a release where GSS is default and css
is supported but deprecated that requires css files to be there.


> What I want is to provide the .gss files for people using GSS and want to
> override some style class of cell widgets. We have this case at Arcbees
> where css guys want to use their existing mixins to style CellTable.
>
>
>
> On Wed Oct 29 2014 at 6:49:46 PM 'Goktug Gokdogan' via GWT Contributors <
> [email protected]> wrote:
>
>> The original idea to make the GSS default was to ship .gss files next to
>> .css files and let the generator automatically use the file with the gss
>> extension.
>> We can probably ship the gss files but I think it is optional at this
>> point.
>>
>> On Wed, Oct 29, 2014 at 5:50 AM, Julien Dramaix <[email protected]
>> > wrote:
>>
>>> Now that GSS will be shipped in GWT 2.7 as an experimental feature, I'm
>>> wondering if we shouldn't provide GSS files for all existing CssResource
>>> interfaces present in GWT. The idea is to keep the associated .css files
>>> and use them by default but also to provide GSS files in order that people
>>> can use GSS to style their widgets.
>>>
>>> Let take the cell widgets (CelTable, CellList...) as example. If you
>>> want to override default style, you do something like:
>>>
>>> public interface TableResources extends CellTable.Resources {
>>>     interface Style extends CellTable.Style {
>>>     }
>>>
>>>     @Override
>>>     @Source({ CellTable.Style.DEFAULT_CSS, "css/table.css"})
>>>     Style cellTableStyle();
>>> }
>>>
>>> In this case, it's impossible to use GSS because you cannot mix .css and
>>> .gss files on the same resource. So the only mean to use GSS is to first
>>> convert manually the default css file to gss and include it in your
>>> application or start from scratch.
>>>
>>> So I would like that GWT provides these gss files that user can use in
>>> their @Source annotations in order to override the default style.
>>>
>>> What do you guys think ?
>>>
>>
>>> Julien
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "GWT Contributors" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to [email protected]
>>> .
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/google-web-toolkit-contributors/CABb_3%3D6To8pLn%3D0EmgLRQdByrx_m0-CURafkr7FhZRMwxGXbqg%40mail.gmail.com
>>> <https://groups.google.com/d/msgid/google-web-toolkit-contributors/CABb_3%3D6To8pLn%3D0EmgLRQdByrx_m0-CURafkr7FhZRMwxGXbqg%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>  --
>> You received this message because you are subscribed to the Google Groups
>> "GWT Contributors" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/google-web-toolkit-contributors/CAN%3DyUA3wT52nZHx-9BZ3PcgjXAXMaPQZLdD4gJcnb%2BJpAsOxhw%40mail.gmail.com
>> <https://groups.google.com/d/msgid/google-web-toolkit-contributors/CAN%3DyUA3wT52nZHx-9BZ3PcgjXAXMaPQZLdD4gJcnb%2BJpAsOxhw%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>  --
> You received this message because you are subscribed to the Google Groups
> "GWT Contributors" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-web-toolkit-contributors/CABb_3%3D7vYxNejFdDC1jZnDHe-ft6xjsrP39jT%2Bf0zCnpgxVsxQ%40mail.gmail.com
> <https://groups.google.com/d/msgid/google-web-toolkit-contributors/CABb_3%3D7vYxNejFdDC1jZnDHe-ft6xjsrP39jT%2Bf0zCnpgxVsxQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Contributors" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit-contributors/CAN%3DyUA0NPT7BoVbnVDaazqi%2B5raebnKLn89pRzb%3DVnhtCb71Dw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to