#2803 Style of some elements

1.330
closed-fixed
nobody
None
5
2008-02-22
2007-04-09
baka
No

How can I change style of radiobutton, checkbox and browse button?

Styles in CSS not work
input[type="radio"]
input[type="checkbox"]
input[type="file"]

Discussion

  • Jamie Cameron

    Jamie Cameron - 2007-04-10

    Logged In: YES
    user_id=129364
    Originator: NO

    Are you trying to create your own theme? What CSS are you using exactly?

     
  • baka

    baka - 2007-04-11

    Logged In: YES
    user_id=1742417
    Originator: YES

    Yes, I'm trying to create my theme. Style of all elements I include in html, as <style>.
    Other elements change style normaly.
    For example, trying input[type="file"], input.file no effect.
    Google say, that for change style of radiobutton, checkbox, select and browse button need defined class for tis elements. Think that need add some variable in config to define classes for this conrtols(as tb).

     
  • Jamie Cameron

    Jamie Cameron - 2007-04-12

    Logged In: YES
    user_id=129364
    Originator: NO

    Do you need for the input elements to have a class= tag for this to work?

     
  • baka

    baka - 2007-04-16

    Logged In: YES
    user_id=1742417
    Originator: YES

    Yes I need.

     
  • Jamie Cameron

    Jamie Cameron - 2007-04-16

    Logged In: YES
    user_id=129364
    Originator: NO

    Ok .. I am working on converting all Webmin UI code to use common functions for generating HTML inputs, but it is a work in progress that will take a long time. Once it is done, adding these classes will be trivial.

     
  • Jamie Cameron

    Jamie Cameron - 2008-02-22

    Logged In: YES
    user_id=129364
    Originator: NO

    *Most* modules have been converted to use the new UI library, which allows a theme to completely override the code that generates inputs. That is the recommended method for doing this..

     
  • Jamie Cameron

    Jamie Cameron - 2008-02-22
    • status: open --> closed-fixed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks