Skip to content

Commit

Permalink
Fix issue 05002: Bullet list in choice-5-pt-radio, yes-no and gender …
Browse files Browse the repository at this point in the history
…question.

Dev Added more specific selectors for lists in all templates

git-svn-id: file:///Users/Shitiz/Downloads/lssvn/source/limesurvey@9873 b72ed6b6-b9f8-46b5-92b4-906544132732
  • Loading branch information
Tony Partner committed Mar 8, 2011
1 parent 3ed67c9 commit 560976c
Show file tree
Hide file tree
Showing 12 changed files with 772 additions and 767 deletions.
10 changes: 5 additions & 5 deletions templates/basic/template.css
Expand Up @@ -382,20 +382,20 @@ table.question tr.array1:hover,table.question tr.array2:hover {
,.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
.choice-5-pt-radio .answer ul,.list-radio-flexible .answer ul,.list-radio .answer ul,.list-with-comment .answer ul,.multiple-opt .answer ul,.multiple-opt-comments .answer ul,.multiple-short-txt .answer ul,.numeric-multi .answer ul,.yes-no .answer ul,.gender .answer 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
.choice-5-pt-radio .answer li,.list-radio-flexible .answer li,.list-radio .answer li,.list-with-comment .answer li,.multiple-opt .answer li,.multiple-opt-comments .answer li,.multiple-short-txt .answer li,.numeric-multi .answer li,.yes-no .answer li,.gender .answer 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,.yes-no li,.gender li
.choice-5-pt-radio .answer li,.list-radio-flexible .answer li,.list-radio .answer li,.list-with-comment .answer li,.yes-no .answer li,.gender .answer li
{
margin-left: 2em;
text-indent: -1.8em;
Expand All @@ -406,13 +406,13 @@ table.question tr.array1:hover,table.question tr.array2:hover {
/* STYLES NOT YET DEFINED - - - - -
.boilerplate {}
*/
.choice-5-pt-radio ul,.yes-no ul,.gender ul {
.choice-5-pt-radio .answer ul,.yes-no .answer ul,.gender .answer ul {
text-align: left;
margin-left: 0%;
padding-left: 0%;
}

.choice-5-pt-radio ul li,.yes-no ul li,.gender ul li {
.choice-5-pt-radio .answer ul li,.yes-no .answer ul li,.gender .answer ul li {
display: inline;
padding: 0% 2em 0% 0%;
margin-left: 0%;
Expand Down
21 changes: 13 additions & 8 deletions templates/bluengrey/template.css
Expand Up @@ -19,7 +19,7 @@ address,caption,cite,code,dfn,em,strong,th,var {
font-weight: normal;
}

ol,ul {
.answers ol, .answers ul {
list-style: none;
}

Expand Down Expand Up @@ -101,6 +101,11 @@ div.questiontext {
margin-bottom: 10px;
}

div.questiontext ul,
div.questiontext ol {
padding-left: 25px;
}

#groupheader {
margin: 1%;
font-style:italic;
Expand Down Expand Up @@ -515,20 +520,20 @@ td.clearall-result .warning-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
.choice-5-pt-radio .answers ul,.list-radio-flexible .answers ul,.list-radio .answers ul,.list-with-comment .answers ul,.multiple-opt .answers ul,.multiple-opt-comments .answers ul,.multiple-short-txt .answers ul,.numeric-multi .answers ul,.yes-no .answers ul,.gender .answers 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
.choice-5-pt-radio .answers li,.list-radio-flexible .answers li,.list-radio .answers li,.list-with-comment .answers li,.multiple-opt .answers li,.multiple-opt-comments .answers li,.multiple-short-txt .answers li,.numeric-multi .answers li,.yes-no .answers li,.gender .answers li
{
list-style-type: none;
text-align: left;
margin: 0 0 0.3em 0.5em;
}

.choice-5-pt-radio li,.list-radio-flexible li,.list-radio li,.list-with-comment li,.yes-no li,.gender li
.choice-5-pt-radio .answers li,.list-radio-flexible .answers li,.list-radio .answers li,.list-with-comment .answers li,.yes-no .answers li,.gender .answers li
{
margin-left: 2em;
text-indent: -1.7em;
Expand All @@ -539,14 +544,14 @@ td.clearall-result .warning-text {
/* STYLES NOT YET DEFINED - - - - -
.boilerplate {}
*/
.choice-5-pt-radio ul,.yes-no ul,.gender ul {
.choice-5-pt-radio .answers ul,.yes-no .answers ul,.gender .answers ul {
text-align: left;
margin-left: 0%;
padding-left: 0%;
font-size: 90%;
}

.choice-5-pt-radio ul li,.yes-no ul li,.gender ul li {
.choice-5-pt-radio .answers ul li,.yes-no .answers ul li,.gender .answers ul li {
display: inline;
padding: 0% 2em 0% 0%;
margin-left: 0%;
Expand Down Expand Up @@ -1021,12 +1026,12 @@ div.answers table {
font-size: 12px;
}

.choice-5-pt-radio li {
.choice-5-pt-radio .answers li {
display: inline;
margin-left: 0.5em;
}

.choice-5-pt-radio ul {
.choice-5-pt-radio .answers ul {
margin-bottom: 10px;
}

Expand Down

0 comments on commit 560976c

Please sign in to comment.