Welcome, Guest
Username: Password: Remember me

TOPIC: New jquery ui theme

New jquery ui theme 3 years 4 months ago #62625

  • Earl
  • Earl's Avatar
  • OFFLINE
  • Senior Lime
  • Posts: 42
  • Thank you received: 1
  • Karma: 3
Hello,

I would like to have my own jquery ui theme for my surveys to change the looks of sliders, keypads, some other stuff I made etc.
Can somebody please tell my which files I will have to replace.
What problems might occur?
I am using 1.91 and a template based on mint-idea.

Thank You
Earl
The administrator has disabled public write access.

Re: New jquery ui theme 3 years 4 months ago #62628

  • DenisChenu
  • DenisChenu's Avatar
  • OFFLINE
  • Moderator Lime
  • Posts: 6451
  • Thank you received: 844
  • Karma: 249
Hello,

CSS => Cascading Style Sheet

Then add your jquery-ui.css and image directory in your template (by ftp), and add the css link to the head (startpage.pstpl).

:)
The administrator has disabled public write access.

Aw: Re: New jquery ui theme 3 years 4 months ago #62641

  • Earl
  • Earl's Avatar
  • OFFLINE
  • Senior Lime
  • Posts: 42
  • Thank you received: 1
  • Karma: 3
Hi,
Thank You!
This works fine on most part. But it is still confusing.
My progress-bar still looks the same, so i asked 'firebug'and he tells me that it gets styles from:
1: template.css => thats ok
2: jquery-ui-...custom.css => ok thats my theme
3: jquery-ui.css ??
4: jquery-ui #2 ??no idea what that is !???

Same with my drag&drop rankings, but they look the way I want

I have some 'drag-stuff-around-and-drop-it-on-positions-of-your-choice'-questions. The draggables do not get any jquery-ui styles??? - but they should.

I wonder if I should replace '...limesurvey/scripts/js/start/css/jquery-ui.css' (and '..../images')with my theme.
Could there be any unwanted side effects if I do so??

I hope somebody can understand my poor english.

Thanks
Earl
Last Edit: 3 years 4 months ago by Earl.
The administrator has disabled public write access.

Re: Aw: Re: New jquery ui theme 3 years 3 months ago #62647

  • tpartner
  • tpartner's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 4281
  • Thank you received: 807
  • Karma: 370
In startpage.pstpl, did you add the link to your custom ui.css file after the {TEMPLATECSS} placeholder? If so, it should override all other files.
Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

LimeSurvey is open-source and run entirely by volunteers so please consider donating to support the project.
The administrator has disabled public write access.

Aw: Re: Aw: Re: New jquery ui theme 3 years 3 months ago #62656

  • Earl
  • Earl's Avatar
  • OFFLINE
  • Senior Lime
  • Posts: 42
  • Thank you received: 1
  • Karma: 3
Yes, I did add it after {TEMPLATECSS}.
Maybe I should go through all my codes and stuff to see where I messed up things and clean it up. I think I was doing too much 'change here a little bit, add stuff here and there'...loosing track of the whole structure.

One last question to understand things better:
How does my survey get styles from '...limesurvey/scripts/js/start/css/jquery-ui.css'? I cannot find any link to that.

Thank You Guys
Earl
The administrator has disabled public write access.

Re: Aw: Re: Aw: Re: New jquery ui theme 3 years 3 months ago #62669

  • tpartner
  • tpartner's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 4281
  • Thank you received: 807
  • Karma: 370
That link is inserted by the core code (common_functions.php).
Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

LimeSurvey is open-source and run entirely by volunteers so please consider donating to support the project.
The administrator has disabled public write access.

Aw: Re: Aw: Re: Aw: Re: New jquery ui theme 3 years 3 months ago #62784

  • Earl
  • Earl's Avatar
  • OFFLINE
  • Senior Lime
  • Posts: 42
  • Thank you received: 1
  • Karma: 3
Thank You!!
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.132 seconds
Donation Image