jQWidgets Forums

jQuery UI Widgets Forums General Discussions font style applied accross all widgets

Tagged: 

This topic contains 2 replies, has 2 voices, and was last updated by  Bentechsoft 11 years, 5 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • font style applied accross all widgets #29405

    Bentechsoft
    Participant

    Hi,

    I have a theme file which is perfect for me.  I have added all the classes that needed personnalisation.  I use them as my theme.

    My assumption is that the classes that are not im my theme file, are taken from the jqx.base.css…

    Now, the base font seems to be 13px accross the board (for regular text).  Is there a way to modify font-size=13px to font-size:12px or even 11px.  Withoug having to include all classes to my css theme.  Is there a master class or something that I can use.

    Would bringing the following into my theme file change the font-size for all widgets?

    .jqx-widget{ 
          font-family: Arial, helvetica, sans-serif; 
          font-style: normal; 
          font-size: 12px;
    }

    Thanks

    font style applied accross all widgets #29420

    Peter Stoev
    Keymaster

    Hi Bentechsoft,

    There are some general classes applied to all widgets and if you want to change the font-style, font-size, you should add them all.

    Ex:

    .jqx-widget-custom {
    font-size: 12px;
    font-family: 'segoe ui', arial, sans-serif;
    }
    .jqx-widget-content-custom{font-size: 12px; font-family: 'segoe ui', arial, sans-serif; }
    .jqx-widget-header-custom{font-size: 12px; font-family: 'segoe ui', arial, sans-serif; color: #767676; border-color:#e5e5e5; background-color:#f4f4f4;}
    .jqx-fill-state-normal-custom, .jqx-fill-state-hover-custom, .jqx-fill-state-pressed-custom{font-size: 12px; font-family: 'segoe ui', arial, sans-serif; }

    “custom” is the theme’s name.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

    font style applied accross all widgets #29502

    Bentechsoft
    Participant

    This is great! Thanks for the information, very usefull.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.