- Posts: 10210
- Thank you received: 3632
Ask the community, share ideas, and connect with other LimeSurvey users!
var thisQuestionHelp = $('img[alt="Help"]', thisQuestion).parent();
/* Card Sort */ /* https://www.limesurvey.org/manual/Workarounds:_Manipulating_a_survey_at_runtime_using_Javascript#Card_Sorting */ .card-sort-question ul.subquestions-list { /*display: none; clear: both;*/ } .card-sort-question .items-start { float: left; width: 100%; /* width: 340px;*/ /* height: 317px;*/ margin-top: 8px; border: 0px solid #666; -moz-border-radius: 6px; -webkit-border-radius: 6px; -khtml-border-radius: 6px; border-radius: 6px; } .card-sort-question .items-start.target-hover { background:#C9C9C9; } .card-sort-question .items-end-wrapper { clear: left; margin-left: 8px; /* width: 340px;*/ /* width: 100%;*/ } .card-sort-question .items-end { /*width: 338px;*/ width: 140px; min-height: 60px; margin-bottom: 10px; padding-bottom: 5px; border: 1px solid #666; -moz-border-radius: 6px; -webkit-border-radius: 6px; -khtml-border-radius: 6px; border-radius: 6px; background: #EBEBEB; } .card-sort-question .items-end.target-hover { background: #C9C9C9; } .card-sort-question .items-end.ui-state-disabled { opacity: 1; filter:alpha(opacity=100); } .card-sort-question .items-end-text { /*width: 338px;*/ padding-top: 8px; padding-bottom: 5px; background: #FFFFFF; font-size: 100%; font-weight: bold; } .card-sort-question .card { display: inline-block; width: 140px; height: auto; margin: 5px 8px; padding: 3px; border: 1px solid #2F4354; -moz-border-radius: 8px; -webkit-border-radius: 8px; -khtml-border-radius: 8px; border-radius: 8px; background-color: #ffcccc; /* background-color: #43b3d1;*/ /* color: #2f4354;*/ /* font-weight: bold; */ text-align: center; line-height: normal; } .card-sort-question .items-end .card { margin: 5px 7px; /* float: left; */ } .card-sort-question div.answer { clear: both; padding-top: 1px; margin-top: 0; }
/* Card Sort */ .card-sort-question ul.subquestions-list { display: none; clear: both; } .card-sort-question .items-start { min-height: 30px; margin-top: 8px; min-width: 640px; } .card-sort-question .items-start.target-hover { background:#C9C9C9; } .card-sort-question .items-end-wrapper { min-width: 640px; } .card-sort-question .items-end-inner { float: left; width: 23%; margin: 20px 1% 0 1%; } .card-sort-question .items-end { min-height: 73px; margin-bottom: 10px; padding-bottom: 5px; border: 1px solid #666; -moz-border-radius: 6px; -webkit-border-radius: 6px; -khtml-border-radius: 6px; border-radius: 6px; background: #EBEBEB; } .card-sort-question .items-end.target-hover { background: #C9C9C9; } .card-sort-question .items-end.ui-state-disabled { opacity: 1; filter:alpha(opacity=100); } .card-sort-question .items-end-text { padding-bottom: 5px; background: #FFFFFF; font-size: 110%; font-weight: bold; } .card-sort-question .card { display: inline-block; width: 120px; height: auto; margin: 5px 8px; padding: 3px; border: 2px solid #2F4354; -moz-border-radius: 8px; -webkit-border-radius: 8px; -khtml-border-radius: 8px; border-radius: 8px; background-color: #43b3d1; color: #2f4354; font-weight: bold; text-align: center; line-height: normal; } .card-sort-question .items-end .card { margin: 5px 7px; } .card-sort-question div.answer { clear: both; padding-top: 1px; margin-top: 0; }