Bienvenue, Invité
Nom d'utilisateur : Mot de passe : Se souvenir de moi
  • Page :
  • 1
  • 2

SUJET : progress bar percentage on next line

Re: progress bar percentage on next line il y a 1 an 9 mois #91656

  • dweisser
  • Portrait de dweisser
  • Hors ligne
  • Bronze Donor
  • Messages : 205
  • Remerciements reçus 5
  • Karma: 5
Not sure if this will help anyone, but I was having this same problem in version 2.0.

The .css file to change was ina different place thn what is listed above: limesurvey/styles-public/lime-progress.css"

Also, the style changes I made produce the desired effect - at least in Chrome - but they are slightly different.for noob/non-coders like me, I included the original .css markup that ships with 2.0 (commented out) along with the additions I made.

/*****
Default styles for the jQuery UI progress bar
*****/

/*
#progress-wrapper {
width: 252px;
height: 2em;
margin: 10px auto 0 auto;
font-size: 12px;
}
*/

#progress-wrapper {
width: 25em;
height: 2em;
padding:0;
margin: 1em auto 0 auto;
font-size: 12px;
}


/*
#progress-wrapper #progress-pre {
float: left;
margin: 0 5px 0 0;
width: 45px;
text-align: right;
}
*/

#progress-wrapper #progress-pre {
float: left;
margin: 0 0.5em 0 0;
width: 4em;
text-align: right;
}


#progress-wrapper .ui-widget-content {
float: left;
width: 150px;
height: 1em;
text-align: left;
border: 1px solid #666666;
}

#progress-wrapper .ui-widget-header {
background-color: #AAAAAA;
background-image: none;
border: 1px solid #666666;
}

/*
#progress-wrapper #progress-post {
float: left;
margin: 0 0 0 5px;
width: 45px;
text-align: left;
}
*/
#progress-wrapper #progress-post {
float: left;
margin: 0 0 0 0.5em;
width: 4em;
text-align: left;
}

/*New addition*/
#progress-wrapper #progressbar {width:15em;margin:0;font-size:12px}

Seems to work.
-Nebraska David
L'administrateur a désactivé l'accès en écriture pour le public.
Cet utilisateur a été remercié pour son message par: arpsh

Re: progress bar percentage on next line il y a 1 an 9 mois #91676

  • tpartner
  • Portrait de tpartner
  • Hors ligne
  • LimeSurvey Team
  • Messages : 4281
  • Remerciements reçus 807
  • Karma: 370
Keep this up and you're going to have to drop the "noob/non-coder" bit :cheer:
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.
L'administrateur a désactivé l'accès en écriture pour le public.

Re: progress bar percentage on next line il y a 1 an 6 mois #94451

  • arpsh
  • Portrait de arpsh
  • Hors ligne
  • Fresh Lemon
  • Messages : 11
  • Karma: 0
Thanks David - that tweak works great in limesurvey 2 with the limespired template - I have checked it in chrome, firefox and IE.

The problem had niggled me for a while, but being a 'noob/non-coder' felt ill equipped to tackle the problem - I think you did yourself down with that label! ;)
L'administrateur a désactivé l'accès en écriture pour le public.
  • Page :
  • 1
  • 2
Modérateurs: ITEd
Temps de génération de la page : 0.122 secondes
Donation Image