NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: Rene Simons on July 18, 2018, 05:26:41 AM

Title: new class for buttons
Post by: Rene Simons on July 18, 2018, 05:26:41 AM
Hi Bruce,

For my project I need a check-button without the check icon.
I.e. only when a line in the browse is tagged the check sign needs to show.
I want the button to look in the same style as when the check icon is shown.

I asked around and a collegue came up with:

.my-icon-class { background-image: none !important; }

which works fine for me. I add it to the button conditionally, depending on the outcome of a test.
When the test says reveals checked= TRUE then the ui-icon-check class is used.

Maybe you could add a class like this to theme.css ??

Cheers,
Rene.

Btw: The advice you gave me during the webinar of july 13th works great. Thanks again!
Title: Re: new class for buttons
Post by: DonRidley on July 18, 2018, 05:46:56 PM
Couldn't you place your css class in a custom.css file in your styles folder?

Include custom.css in webserver extension, styles, files.

Run gzipall.bat and you're done.

 :)

Don
Title: Re: new class for buttons
Post by: Rene Simons on July 18, 2018, 09:24:53 PM
Hi Don,

I have, but I think it would be nice to have this one issued as a standard class .

Rene
Title: Re: new class for buttons
Post by: Bruce on July 23, 2018, 08:46:07 PM
I've added "blank" as a valid icon name to the jQuery icons. So anywhere you see a prompt for jQuery Icon you can put
'blank'
In 10.27

cheers
Bruce
Title: Re: new class for buttons
Post by: Rene Simons on July 25, 2018, 03:56:41 AM
Thanks!