Page 2 of 2

CSS Font Theme Overwritten by Appery

Posted: Sun Dec 22, 2013 12:55 am
by Illya Stepanov

Hi Bahar - how you implement this font in your app?


CSS Font Theme Overwritten by Appery

Posted: Sun Dec 22, 2013 1:35 am
by Michael4771079

Hi Bahar,
I had a prob with themeroller, it turned out I was using themeroller 1.4, Maryna pointed out that my theme should be 1.3 release, I changed it in themeroller and all was sorted, hope this helps, if not don't blame me :)


CSS Font Theme Overwritten by Appery

Posted: Mon Dec 23, 2013 8:11 am
by Kateryna Grynko

Hi,

To make a style more important add this to your CSS code:pre!important/pre


CSS Font Theme Overwritten by Appery

Posted: Mon Dec 23, 2013 2:03 pm
by bahar.wadia

Katya, you are the queen. That works!

Is there a generic class for the Label component. For example Button is .ui-btn. What is it for Label. I can't seem to find it. I hate the though of going through my entire app and add a Class name to all the labels.

Thank you so much. I have been trying to resolve this for months.


CSS Font Theme Overwritten by Appery

Posted: Mon Dec 23, 2013 2:14 pm
by Kateryna Grynko

Hi Bahar,

To access all the Label components in your app you can select by attribute instead of class:pre[data-role="appery-label"]/pre


CSS Font Theme Overwritten by Appery

Posted: Mon Dec 23, 2013 3:49 pm
by bahar.wadia

I tried applying the following CSS with "appery-label".

.appery-label{
font-family:"robotolight" !important;
font-weight:100
}

The above does not work.

However when I add my own Class name (eg. My-Label) to the label it works.

.My-Label{
font-family:"robotolight" !important;
font-weight:100
}

How do I get ".appery-label to work ?


CSS Font Theme Overwritten by Appery

Posted: Mon Dec 23, 2013 7:45 pm
by Maryna Brodina

Hello! You have pre.appery-label{ ... }/pre and that means style for all elements with this class, but there is no such class for label. Try this way pre[data-role="appery_label"]{
font-family:"robotolight" !important;
font-weight:100 !important;
}/pre


CSS Font Theme Overwritten by Appery

Posted: Mon Dec 23, 2013 8:18 pm
by bahar.wadia

Works like a charm. Awesome!

Also where can I find a list of "data-role" for Appery specific components ?


CSS Font Theme Overwritten by Appery

Posted: Mon Dec 23, 2013 9:59 pm
by Maryna Brodina

There is no such list. You can inspect element you need in dev console to find out its data-role.


CSS Font Theme Overwritten by Appery

Posted: Mon Dec 23, 2013 10:40 pm
by bahar.wadia

Thank you for the response.

As a suggestion...it would be great if you could publish such a list.

Thanks