View Issue Details

This bug affects 1 person(s).
 6
IDProjectCategoryView StatusLast Update
03436Bug reportsTheme editorpublic2009-08-03 09:22
Reporteruser4084Assigned Toc_schmitz  
PrioritynormalSeverityminor 
Status closedResolutionfixed 
Product Version1.80+ 
Fixed in Version1.85+ 
Summary03436: Corrupted Progress Box in RTL Languages
Description

Corrupted Progress Box in RTL Languages
It looks like 0% and 100 % overlaps

Additional Information

i corrected this issue with this css in template.css
This Although do not correct the direction of the graph it self
it seems that the graph image doesn't have a css class !

#progress-graph div.zero
{
width: 2.6em;
margin-right: -1em;

}
#progress-graph div.graph
{
width: 10em;
height: 1.5em;
border: 1px solid rgb(50, 68, 85);
margin-top: -1.7em;
margin-left: 2.6em;
margin-right: 2.6em;
}
#progress-graph div.cent
{
width: 3em;
margin-top: -1.5em;
margin-left: 13.8em;
margin-right: 13.8em;
}

TagsNo tags attached.
Attached Files
limeSurvey.jpg (31,807 bytes)   
limeSurvey.jpg (31,807 bytes)   
template.css (17,809 bytes)   
* { margin:0; padding:0; }
body, div, span, p, a, img, ul, ol, li, table, th, tr, td, form, fieldset, legend, dl, dt, dd, blockquote, applet, object { border:0;border-style:none; }
body { 
  padding: 0 0; 
  background: #192d40 url('bg.jpg') repeat-x; 
  font-family: "arial",sans-serif; 
  font-size: 13px;
  line-height:24px;
  color: #e8eaeb; 
  /*text-align: center; */
}

table
{border-style:none;}
/* links --------------------------------------------------------------- */
a {color:#fff;}
a:link {color:#fff;}
a:hover {color:#fff; text-decoration: none;}
a:visited {color:#fff; text-decoration: none;}         

/* headings --------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 { margin:15px 0 10px 0; }
h1 { font-size:200%; }
h2 { font-size:160%; font-family: 'Trebuchet MS', 'Geneva CE', lucida, sans-serif; font-weight: normal; }
h3 { font-size:120%; margin-top: 25px; font-family: 'Trebuchet MS', 'Geneva CE', lucida, sans-serif;}
h4 { font-size:120%; }
h5 { font-size:100%; }



/* layout ---------------------------------------------------------------------- */
#layout { 
  width:790px; 
  margin:0 auto; 
  /*text-align:left; */
}
#container { 
padding-top: 12px;
}
.survey-survey-percent
{
	padding: 0.2em 0%;
}
#progress-graph
{
	color: #fff;
	line-height: 1.5em;
	width: 16.8em;
	font-size: 85%;
	margin-left: auto;
	margin-right: auto;
	margin-top: 0.2em;
	padding: 0.5em 0.5em 0.4em 1em;
	border-top: 0.1em solid rgb(50, 68, 85);
	border-bottom: 0.1em solid rgb(50, 68, 85);
	text-align: left;
}
.hide
{
	display: none;
	/*
	font-weight: normal;
	position: absolute;
	top: -9999px;
	left: -9999px;
	*/
	
}
#progress-graph div.zero
{
	width: 2.6em;
	margin-right: -1em;
	

}
#progress-graph div.graph
{
	width: 10em;
	height: 1.5em;
	border: 1px solid rgb(50, 68, 85);
	margin-top: -1.7em;
	margin-left: 2.6em;
	margin-right: 2.6em;

	
}
#progress-graph div.cent
{
	width: 3em;
	margin-top: -1.5em;
	margin-left: 13.8em;
	margin-right: 13.8em;


}

/* header ------------------------------------------------------------------ */

  
#logo {
font-family: Impact, 'Techno CE', sans-serif;
font-weight: normal;
color: #fff;
position: relative; 
overflow: hidden; 
height: 110px;
font-size:260%;
margin: 0;
line-height: 130px;
}

#logo a{
color: #fff;
text-decoration: none;
}

#logo .leaf {
position: absolute;
left: 0; top: 20px; 
width: 120px; height: 80px;
z-index: 1; 
background: url('Logo_LimeSurvey_transparent_25x25.png') 60px 5px no-repeat; 
cursor: pointer;
}

#logo .light {
color: #3f576e;
}
	
.content {
  margin-left:auto; 
  margin-right:auto; 
  padding: 0 0 0 0;
  width:570px;
  z-index: 10;
}
.content .in{
  padding: 0 0 0 10px;
}

/* columns ----------------------------------------------------------------- */
#panel-left { float:left; width:200px; }
.panel .in { padding: 10px; }

#panel-left span  { color: #515f6a; }

#panel-left p  { margin-top: 5px; }

/* footer ----------------------------------------------------------------- */
#footer {
  clear:both;
  height: 30px;
  margin-top: 20px;
  border-top: 1px solid #324455;
  padding:10px 3px;
  color: #a0a9b0;
  font-size: 90%;
}

#footer a {
  color: #a0a9b0;
}

  #footer p { margin:0; padding-top:10px; }




/* paragraphs -------------------------------------------------------------------- */
p { margin:15px 0; }

/* tables --------------------------------------------------------------------- */
table { border-collapse:collapse; border-spacing:0; font-size:100%; width: 100%;}

/* lists --------------------------------------------------------------------- */
ul, ol { display:block; margin:15px 0 15px 40px; }
ul ul, ul ul ul, ol ol, ol ol ol { margin:0; margin-left:20px; }
ol { list-style-type:decimal; }
ol ol { list-style-type:upper-alpha; }
ol ol ol {list-style-type:lower-alpha; }
li { display:list-item; }
ul li a { text-decoration:underline; }

/* definitions -------------------------------------------------------------------- */
dl { margin:15px 0; }
dt { font-weight:bold; }
dd { margin-left:30px; }

/* universal --------------------------------------------------------------------- */
fieldset { margin:15px 0; padding:10px; border:1px solid #CCC; }
legend { margin-left:10px; font-size:100%; font-weight:bold; color:#000; }
abbr, acronym, .help { border-bottom:1px dotted #CCC; cursor:help; }
blockquote { margin:15px 20px; font-style:italic; }
del, .del { text-decoration:line-through; }
strong, .strong { font-weight:bold; }
cite, em, q, var { font-style:italic; }
code, kbd, samp  {font-family:monospace; font-size:110%; }
hr { display:block; height:1px; margin:10px 0; padding:0; border:0 solid #CCC; background:#CCC; color:#CCC;} 
.f-left {float:left;}
.f-right {float:right;}
.a-left, tr.a-left td {text-align:left;}
.a-center, tr.a-center td {text-align:center;}
.a-right, tr.a-right td {text-align:right;}
.a-justify {text-align:justify;}
.va-top {vertical-align:top;}
.va-middle {vertical-align:middle;}
.va-bottom {vertical-align:bottom;}
.clear { clear:both; }
.box { min-height:1px; }
.box:after { display:block; visibility:hidden; clear:both; line-height:0; font-size:0; content:"."; }
.noscreen { display:none; }

.foto{  display: block;}
.survey-privacy 
{margin-top:30px;}

.survey-survey-percent {
width:160px;
text-align:center;
margin:0 auto;
}

.graph table {
border-collapse: separate;
border-top:1px solid #324455 !important;
border-bottom:1px solid #324455 !important;
}


.innergraph img {
height:12px;
vertical-align:top;
}

.innergraph table {
height:12px;
border:1px solid #324455;
table-layout:fixed !important;
border-collapse:collapse;
}

.innergraph tr {
height:12px;
border-top-style:solid;
border-bottom-style:solid;
margin:0px;
padding-top:0;

}

.innergraph table td {
height:12px;
font-size:1px;
line-height:5px;
}

.survey-groupdescription {
font-weight:400;
border-bottom:1px solid #ddd;
margin:0 0 30px;
padding:0 0 2px 3px;
}

.survey-groupname {
font-weight:700;
font-size:16px;
border-top:1px solid #ddd;
margin:10px 0 0;
padding:2px 0 0 3px;
}

.survey-question {

border-top:1px solid #a0a9b0;
margin:5px 0 20px 0%;

}

.survey-question-answer {
display:block;
font-weight:400;
margin:10px;
}

.survey-question-answer button{
height:24px;

}

.survey-question-help {
line-height:24px;
margin:2px 0 0 2px;
clear: both;
}

.survey-question-help img {
padding:0 10px 0 0;
}

.survey-question-space {
height:5px;
}

.survey-question-text {
display:block;
font-weight:700;
}

.answertext
{
 padding-left:5px;
 padding-right:5px;
 text-align: left;
}

.textarea
{
   width:700px;
   height:120px;
}

.register td
{ 
  padding: 2px;
}

.register table
{
width:auto;
}

.array1 {
background-color:#192D40;
text-align:center;
}

.array2 {
background-color:#0C1C2B;
text-align:center;
}

select
{
  min-width: 150px;
}

.errormandatory
{
    color:#A33D41;
}


/* -------------------------------------------------
   START: Question styles  ------------------------- */

/* =====================================
== Full list of question classes =======

 .boilerplate
,.numeric
,.choice-5-pt-radio
,.yes-no
,.gender
,.date
,.numeric-multi
,.numeric
,.list-radio
,.list-radio-flexible
,.list-with-comment
,.list-dropdown
,.list-dropdown-flexible
,.ranking
,.numeric-multi
,.language
,.multiple-opt-comments
,.multiple-short-txt
,.text-short
,.text-long
,.text-huge
,.numeric-multi
,.array-5-pt
,.array-10-pt
,.array-yes-uncertain-no
,.array-increase-same-decrease 
,.array-flexible-row 
,.array-flexible-column 
,.slider 
,.array-multi-flexi 
,.array-multi-flexi-text
,.array-flexible-duel-scale 
*/

/* - - -  - - -  - - -  - - - - - -  - - -  - - - -
   START: General list styles - - -  - - -  - - - - */
 .choice-5-pt-radio ul
,.list-radio-flexible ul
,.list-radio ul
,.list-with-comment ul
,.multiple-opt ul
,.multiple-opt-comments ul
,.multiple-short-txt ul
,.numeric-multi ul
,.yes-no ul
,.gender ul
{
	margin-left: 0%;
	padding-left: 0%;
}

 .choice-5-pt-radio li
,.list-radio-flexible li
,.list-radio li
,.list-with-comment li
,.multiple-opt li
,.multiple-opt-comments li
,.multiple-short-txt li
,.numeric-multi li
,.yes-no li
,.gender li
{
	list-style-type: none;
	/*text-align: left;*/
	margin: 0% 0% 0.5em 0.5em;
}
 .choice-5-pt-radio li
,.list-radio-flexible li
,.list-radio li
,.list-with-comment li
{
	margin-left: 2em;
	text-indent: -1.7em;
}


.list-dropdown optgroup option
{
	margin-left: 1.5em;
}
/* END:  General list styles - - - -  - - -  - - - -
- - - - -  - - -  - - -  - - - - - -  - - -  - - - - */


/* STYLES NOT YET DEFINED - - - - -
.boilerplate {}
*/

 .choice-5-pt-radio ul
,.yes-no ul
,.gender ul
{
	text-align: left;
}
 .choice-5-pt-radio ul li
,.yes-no ul li
,.gender ul li
{
	display: inline;
	padding: 0% 1em;
}


/* STYLES NOT YET DEFINED - - - - -
.date {}
*/
.date p.question { margin-left: 1em; }
.date p.question select.day {}
.date p.question select.month {}
.date p.question select.year {}

 .date p.tip
,.numeric-multi p.tip
,.numeric p.tip
{
	margin-left: 1.5em;
	font-size: 80%;
	font-style: italic;
	line-height: 150%;
	color: #e8eaeb
}

 .numeric-multi p.tip.error
,.numeric-multi input.tip.error
{
	color: #f70;
	font-weight: bold;
}
 .numeric-multi p.tip.good
,.numeric-multi input.tip.good

{
	color: #090;
	font-weight: bold;
}

/* DEFINED ABOVE UNDER "General list styles" - - - - -
.list-radio-flexible
.list-radio
*/

  ul.cols-2 , table.cols-2
, ul.cols-3 , table.cols-3
, ul.cols-4 , table.cols-4
, ul.cols-5 , table.cols-5
, ul.cols-6 , table.cols-6
, ul.cols-7 , table.cols-7
, ul.cols-8 , table.cols-8
{
	width: 98%;
	margin: 0% auto 0% auto;
}
  ul.cols-2 li , ul.cols-2-ul
, ul.cols-3 li , ul.cols-3-ul
, ul.cols-4 li , ul.cols-4-ul
, ul.cols-5 li , ul.cols-5-ul
, ul.cols-6 li , ul.cols-6-ul
, ul.cols-7 li , ul.cols-7-ul
, ul.cols-8 li , ul.cols-8-ul
{
	float: left;
	padding: 0% 0.5em;
	white-space: normal
}

ul.cols-2 li , ul.cols-2-ul , table.cols-2 td { width: 48%; }
ul.cols-3 li , ul.cols-3-ul , table.cols-3 td { width: 30.5%; }
ul.cols-4 li , ul.cols-4-ul , table.cols-4 td { width: 23%; }
ul.cols-5 li , ul.cols-5-ul , table.cols-5 td { width: 19%; }
ul.cols-6 li , ul.cols-6-ul , table.cols-6 td { width: 15%; }
ul.cols-7 li , ul.cols-7-ul , table.cols-7 td { width: 13%; }
ul.cols-8 li , ul.cols-8-ul , table.cols-8 td { width: 11.5%; }

.list-dropdown-flexible p.question
{
	margin-left: 1em;
}
/* STYLES NOT YET DEFINED - - - - -
.list-dropdown {}
*/
.list-with-comment div.list
{
	width: 47%;
	float: left;
	padding: 0.5em;
}
.list-with-comment p.select
{
	width: 47%;
	float: left;
	padding: 0.5em;
	margin: 0%;
}
.list-with-comment div.list p
{
	margin: 0%;
	text-align: left;
}
.list-with-comment p.comment
{
	margin: 0%;
	padding: 0.5em;
	text-align: left;
	float: left;
	width: 47%;
}
.list-with-comment p.comment textarea
{
	width: 100%;
}


.ranking {}

/* DEFINED ABOVE UNDER "General list styles" - - - - -
.multiple-opt
*/

.language {}

/* The following styles only apply to modern (relatively) complete CSS2 compliant browsers. (Not less than IE 8) */
 .multiple-opt-comments td.answer
,.multiple-short-txt td.answer
,.numeric-multi td.answer
{
}
 .multiple-opt-comments ul
,.multiple-short-txt ul
,.numeric-multi ul
{
	display: table;
	padding: 0%;
	margin: 1em;
}
.numeric-multi ul	{	margin: 0% 1em 1.5em 1em;	}

.numeric-multi ul.computed
{
	float:left;
	padding-right: 2em;
}
.numeric-multi ul.slider.computed
{
	width: 22em;
}
 .multiple-opt-comments ul li
,.multiple-short-txt ul li
,.numeric-multi ul li
{
	display: table-row;
}
 .multiple-opt-comments ul li span.option
{
	padding: 0.3em 1em 0% 1.8em;
	text-indent: -1.8em;
	display: table-cell;
	vertical-align: baseline;
}
 .multiple-short-txt ul li label
,.numeric-multi ul li label
{
	padding: 0.3em 1em 0% 0%;
	display: table-cell;
	vertical-align: baseline;
}
.numeric-multi ul.computed li label
.numeric-multi ul.slider.computed li label
{
	padding-right: 0%;
}

 .multiple-opt-comments ul li span.comment
,.multiple-short-txt ul li span
,.numeric-multi ul li span
{
	padding: 0.3em 0% 0% 1em;
	display: table-cell;
	vertical-align: baseline;
	white-space: nowrap;
}
.multiple-opt-comments ul li span
{
	padding: 0.3em 1em 0% 0%;
}
.numeric-multi div.multinum-slider
{
    margin-top: 1.5em;
	width: 16em;
}

 .numeric-multi ul.multiplenumerichelp
,.numeric-multi ul.multiplenumerichelp.slider	{	display: table; font-size: 90%;	}
.numeric-multi ul.multiplenumerichelp.slider li	{	display: table-row;	}

 .numeric-multi ul.multiplenumerichelp li label
,.numeric-multi ul.multiplenumerichelp.slider li label
{
	padding: 0.3em 0% 0% 0%;
	display: table-cell;
}
 .numeric-multi ul.multiplenumerichelp li span
,.numeric-multi ul.multiplenumerichelp.slider li span
{
	padding: 0% 0% 0% 0.5em;
	display: table-cell;
}
.numeric-multi ul.multiplenumerichelp span input {
    border: none;
    background-color: #192D40;
    color: #e8eaeb;
    padding: 0%;
    width: 7em;
}



 .text-short input
,.text-long textarea
,.text-huge textarea
{
	margin-left: 1em;
}
/* STYLES NOT YET DEFINED - - - - -
.yes-no {}
.gender {}
*/

 #limesurvey table.question thead th
,#limesurvey table.question .repeat th
{
	text-align: center;
	vertical-align: bottom;
	font-weight: normal;
}
#limesurvey .survey-question-answer table.question tbody td
{
	text-align: center;
}
 #limesurvey table.question tbody th.answertext
,#limesurvey table.question tbody th.arraycaptionleft
{
	text-align: right;
	font-weight: normal;
}
.array-flexible-column tbody th.arraycaptionleft
{
	padding-right: 1em;
}
#limesurvey table.question tbody th.answertextright
{
	text-align: left;
	font-weight: normal;
}
/*
.array-increase-same-decrease {}
.array-flexible-row {}
.array-flexible-column {}
.slider {}
.array-multi-flexi {}
.array-flexible-duel-scale {}
*/
.array-flexible-column col.odd
,.array-flexible-column th.odd
{
	background-color: #0c1c2b;
	padding: 0% 0.3em;
}

.survey-question
{
	float: left;
	width: 98.5%;
	margin-bottom: 1em;
}

  /* Jquery CSS
 */
/** UI Base **/
.ui-wrapper { 
    border: 1px solid #50A029; 
}
.ui-wrapper input, .ui-wrapper textarea { 
    border: 0; 
}
/** UI Slider **/
.ui-slider-handle { 
    position: absolute; 
    height: 23px; 
    width: 12px !important; 
    top: 0px; 
    left: 0px; 
}

.ui-slider-1 { 
    width: 200px; 
    height: 9px; 
    margin-bottom: 20px; 
}


.ui-widget-content { border: 1px solid #a6c9e2; background: #123 url(images/ui-bg_inset-hard_100_fcfdfd_1x100.png) 50% bottom repeat-x; color: #222222; }

.ui-slider-2 { 
    width: 200px; 
    height: 23px; 
    position: relative; 
    background-image: url(../../images/slider-bg-2.png); 
    background-repeat: no-repeat; 
    background-position: center center; 
}

.slider_callout { 
    height: 20px; 
    width: 100px; 
    overflow: hidden; 
    position: absolute; 
    top: -22px; 
    margin-left:10px; 
    font-family: 'Arial'; 
    font-size: 10pt; 
    color: #eeeeff; 
    font-weight: bold; 
    text-align: left;
}


#tokenform
{
  margin-top:1em;
}

#tokenform input
{
}

#tokenform label {  
float: left;  
width: 20em;  
margin-right: 0.5em;  
text-align: right;
}

#tokenform li
{
  padding-bottom:5px;
}

#tokenform img
{
  margin-bottom:-5px;
  margin-right: 5px;
}


p#tokenmessage
{
  margin:20px;
}


p#tokenmessage
{
  margin:20px;
  text-align:center;
}


div#wrapper{
  width:600px;
  margin:0 auto;
}


#tokenform input.submit
{
 margin-left:18em;
 margin-top:1em;
 margin-bottom:1em;
}


#statsContainer {
	width:80%;
	margin:8px auto;
	padding: 0px;
	min-width: 690px;
	border: 1px solid #666;
}

#statsHeader{
	color:#FFF;
	text-align:center;
	padding: 10px 0px;
	height:96px;
	background: url('limesurvey_logo.png') -5px 45px no-repeat; 
}

.statsSurveyTitle {
	font-size:1.1em;
	font-weight:bold;
	padding: 24px 0px 0px 0px;
	width:100%;
	text-align:center;
	font-family:Verdana,Arial,Helvetica,sans-serif;
}

.statsNumRecords {
	font-size:1em;
	clear:right;
	float:right;
	width:100%;
	text-align:center;
	font-family:Verdana,Arial,Helvetica,sans-serif;
	color:#CCCCCC;
	padding-top:10px;
}

table.statisticstable{
	width: 90%; 
	text-align:left;
	margin:0px auto;
	padding-bottom: 8px;
	font-family:Verdana,Arial,Helvetica,sans-serif;
	border: 1px solid #666;
	color:#FFF;

	
}

table.statisticstable td{
	padding-top: 4px;
	padding-bottom: 4px;
	border-bottom: 1px solid #666;
	font-size:12px;
}

table.statisticstable img{
	margin:12px auto;
}

table.statisticstable strong{
	font-weight: bold;
}

div.fieldSummary{
	font-size:0.9em;
	padding: 0px 0px 0px 6px;
	text-align:left;
	color: #FFEFB0;
}
div.questionTitle{
	font-size:1em;
	padding: 20px 20px 20px 20px;
	font-weight: bold;
	line-height: 1.5em;
	color:#FFF4D5;
	background-color:#091724;
}

td.statsImageholder {
	background-color:#EFEFEF;
}


.survey-question-answer li{
	/*padding: 3px 10px 3px 350px;*/
	/*float:left;*/
	/*text-align: left;*/
}
template.css (17,809 bytes)   
Bug heat6
Complete LimeSurvey version number (& build)
I will donate to the project if issue is resolved
Browser
Database type & versionXammp
Server OS (if known)windows vista
Webserver software & version (if known)apache
PHP Version5

Users monitoring this issue

There are no users monitoring this issue.

Activities

user372

2009-07-05 18:28

  ~08768

1) Do you really use v1.80+? If yes, why don't you upgrade to v1.85+?
2) Is the problem also reproduceable at v1.85?
3) Which template do you use?
4) Please attach a before & after screenshot of your template problem.

user4084

2009-07-05 21:15

  ~08770

Last edited: 2009-07-05 21:20

-This problem exists in all 1.x versions i tested
-The template is "minty idea"

  • attached a screen shot of the problem and after partially correcting it

user4084

2009-07-05 21:18

  ~08771

Last edited: 2009-07-05 21:21

I uploaded a modified template.css file that addresses many RTL bugs i faced but not all i am afraid

the problem is the inheritence of text-align property in many classes from higher classes, which doesn't work with RTL Dir in HTML

user372

2009-07-05 22:00

  ~08773

@ c_schmitz: please review attached template.css

c_schmitz

c_schmitz

2009-07-29 11:33

administrator   ~08982

Thank you very much!

Issue History

Date Modified Username Field Change
2009-07-04 23:55 user4084 New Issue
2009-07-04 23:55 user4084 Status new => assigned
2009-07-04 23:55 user4084 Assigned To => user372
2009-07-04 23:55 user4084 Database & DB-Version => Xammp
2009-07-04 23:55 user4084 Operating System (Server) => windows vista
2009-07-04 23:55 user4084 Webserver => apache
2009-07-04 23:55 user4084 PHP Version => 5
2009-07-05 18:28 user372 Note Added: 08768
2009-07-05 18:28 user372 Status assigned => feedback
2009-07-05 21:12 user4084 File Added: limeSurvey.jpg
2009-07-05 21:15 user4084 Note Added: 08770
2009-07-05 21:16 user4084 File Added: template.css
2009-07-05 21:18 user4084 Note Added: 08771
2009-07-05 21:20 user4084 Note Edited: 08770
2009-07-05 21:21 user4084 Note Edited: 08771
2009-07-05 21:22 user4084 Issue Monitored: user4084
2009-07-05 22:00 user372 Note Added: 08773
2009-07-05 22:02 user372 Status feedback => assigned
2009-07-05 22:02 user372 Assigned To user372 => c_schmitz
2009-07-29 11:33 c_schmitz Status assigned => resolved
2009-07-29 11:33 c_schmitz Fixed in Version => 1.85+
2009-07-29 11:33 c_schmitz Resolution open => fixed
2009-07-29 11:33 c_schmitz Note Added: 08982
2009-08-03 09:22 c_schmitz Status resolved => closed
2015-12-11 14:40 c_schmitz Category Templates => Theme editor