Actions

Translations

Theme editor/275/en: Difference between revisions

From LimeSurvey Manual

(Importazione di una nuova versione da una fonte esterna)
 
(Importing a new version from external source)
Line 1: Line 1:
{| class="wikitable alternance"
|+ Global classes
|-
! scope="col" | Class name
! scope="col" | Part
! scope="col" | Question type
! scope="col" | Examples
! scope="col" | Note
|-
! scope="row" | .question
| All question block
| All question type
|<p class="question">, <ul class="question">, <table class="question">
|
|-
! scope="row" | .subquestions-list
| List of subquestion
| Multi choice question, array question type
| <ul class="subquestions-list">, <table class="subquestions-list">
| .questions-list is used too
|-
! scope="row" | .answers-list
| List of answers
| Single choice question, array question type, Multi input text question
| <ul class="answers-list">, <table class="answers-list">
|
|-
! scope="row" | .answer-item
| The answer part: one answer
| Single choice question, array question type, Multi input text question
| <li class="answer-item">, <td class="answer-item">
|
|-
! scope="row" | .noanswer-item
| The answer part for no answer
| Single choice question, array question type
| <li class="noanswer-item">, <td class="noanswer-item">
| No answer is an answer too, then have double class noanswer-item and answer-item
|-
! scope="row" | .question-item
| The question part: one question
| Multi text question, array question type
| <li class="question-item">, <tr class="question-item">
| Some answer are question too, then we have a lot of class="question-item answer-item"
|-
! scope="row" | .checkbox-list
| A list of checkbox
| Multi choice question, array number (checkbox) question type
| <ul class="checkbox-list">, <tr class="checkbox-list">
| Some question type have multi list class: like checkbox with comment : class="checkbox-list text-list"
|-
! scope="row" | .checkbox-item
| The answer part with a checkbox
| Multi choice question, array number (checkbox) question type
| <li class="checkbox-item">, <td class="checkbox-item">
|
|-
! scope="row" | .radio-list
| A list of radio item
| Single choice question, array question type
| <ul class="radio-list">, <tr class="radio-list">
|
|-
! scope="row" | .radio-item
| The answer part with a radio
| Single choice question, array question type
| &lt;li class="radio-item">, <td class="radio-item">
|
|-
! scope="row" | .text-list
| A list of text input
| Multi text question type, array of text
| &lt;ul class="text-list">, &lt;tr class="text-list">
|
|-
! scope="row" | .text-item
| The answer part of a text input
| Multi text question type, array of text
| &lt;li class="text-item">, <td class="text-item">
|
|-
! scope="row" | .numeric-list
| A list of text input with numeric only answer
| Multi numeric question type, array of number
| &lt;ul class="text-list numeric-list">, &lt;tr class="text-list numeric-list">
|
|-
! scope="row" | .numeric-item
| The answer part of a numeric input
| Multi numeric question type, array of number
| &lt;li class="numeric-item">, &lt;td class="numeric-item">
|
|-
! scope="row" | .select-list
| A list of select
| Array numbers, Dual scale array (select)
| &lt;table class="select-list">
|
|-
! scope="row" | .select-item
| The answer part of a select
| Array numbers, Dual scale array (select), single choice with select
| &lt;p class="select-item">, &lt;td class="select-item">
|
|-
! scope="row" | .hide
| Used for accessibility: hidden with css but read by screenreader
| Short text question
| &lt;label class="hide">
| Can be used for other purpose
|-
! scope="row" | .dontread
| Used for accessibility: not be read by screenreader
| Array question type
| &lt;th class="dontread">
|
|-
! scope="row" | .checkbox
| input[type=checkbox]
| Question with checkbox
| &lt;input type="checkbox" class="checkbox">
| With modern browser: not needed but some old browser need this
|-
! scope="row" | .radio
| input[type=radio]
| Question with radio
| &lt;input type="radio" class="radio">
| With modern browser: not needed but some old browser need this
|-
! scope="row" | .text
| input[type=text]
| Question with input text, or textarea
| &lt;textarea class="text">
|
|-
! scope="row" | .answertext
| Array question </code>type
| Answer part of array question type
| &lt;th class="answertext">
|
|-
! scope="row" | .col-answers
| Array question type
| Column of answet
| &lt;col class="col-answers">
|
|-
! scope="row" | .odd .even
| Array question type
| Alternation for column
| &lt;col class="odd">
|
|-
! scope="row" | .odd .even
| Array question type
| Alternation for column
| &lt;col class="odd">
|
|-
! scope="row" | .array1 .array2
| Array question type
| Alternation for line
| &lt;tr class="array1">
|
|}
=== Some example of question part with classes===
=== Some example of question part with classes===

Revision as of 12:46, 26 August 2013

Message definition (Theme editor)
==== Some examples of question part with classes====

Some example of question part with classes