Skip to content

Commit

Permalink
Fixed issue #06793: Button is only partly shown
Browse files Browse the repository at this point in the history
Dev: Moved question idex below navigator
  • Loading branch information
tpartner committed Nov 12, 2012
1 parent dc0e27c commit a8acfd7
Show file tree
Hide file tree
Showing 9 changed files with 632 additions and 374 deletions.
110 changes: 72 additions & 38 deletions templates/basic/template.css
Expand Up @@ -1070,62 +1070,96 @@ div.questionTitle {
}

/* Question Index */
.withindex .outerframe{
margin-left: 1em;
margin-right: 26em;
}
.allinone .outerframe{
margin:0;
}

#index {
position: absolute;
right: 0;
width: 25em;
top: 0;
overflow-y: scroll;
overflow-x: hidden;
height: 100%;
background: #eee;
border-left: 1px solid #ccc;
margin: 1em 1px 1px 1px;
padding-bottom: 1em;
border: 1px solid #AAAAAA;
}

#index h2 {
text-align: center;
font-weight: normal;
#index .container {
margin: 0 auto 0 auto;
background-color: #FFFFFF;
}

#index h3 { margin: 0.5em 0 0 0.5em; }
#index h2 {
margin: 1px;
padding: 0.5em 0;
font-size: 14px;
text-align: center;
background-color: #CCCCCC;
}

#index .container {
width: 24em;
.groupbygroup #index h2 {
margin-bottom: 1.25em;
}

#index h3 {
margin: 1em 0 0.25em 0;
color: #666666;
font-family: Verdana,Arial,Helvetica,sans-serif;
font-size: small;
font-weight: bold;
text-align: center;
}

#index .container .row {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
text-align: left;
border-top: 1px solid #fff;
margin: 0 2em;
padding: 0.2em 0;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
text-align: left;
border-top: 1px solid #fff;
background-color: #F7F7F7;
}

#index .container .row.odd {
background: #EEEEEE;
}
#index .container .row.current {
font-weight: bold;
}
#index .container .row.missing {
color: #FF0000;
}

#index .container .row:hover {
text-decoration: underline;
cursor: pointer;
color: blue;
text-decoration: underline;
cursor: pointer;
background-color: #A7A9D1;
}

#index .container .row.current:hover {
text-decoration: none;
cursor: default;
}

#index .container .row .hdr {
width: 3em;
text-align: right;
display: inline-block;
padding: 0 0.5em 0 0;
width: 2.5em;
display: inline-block;
padding: 0 0 0 0.5em;
font-style: italic;
}
#index .container input {
display: block;
margin: 1em auto 0 auto;
padding: 2px 5px;
border: 1px solid #A0A0A0;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
cursor: pointer;
color: #333333;
background-color: E6E6E6;
}
#index .container input:hover {
background-color: #DADADA;
}

#index .container .row.odd { background: #CCC; }
#index .container .row.current { background: #000; color: #fff; }
#index .container .row.missing { background: #CC0000; color: #fff; }
#index .container input { margin: 1em; }
.outerframe.withindex div.missing td.questiontext {
/*color: #FF0000;*/
}

/* Tips / Validation Messages */
/* If the question is invalid, but has not been submitted, give it a pleasant warning color */
Expand Down
120 changes: 76 additions & 44 deletions templates/bluengrey/template.css
Expand Up @@ -1390,70 +1390,102 @@ table.assessments th{
}

/* Question Index */
.withindex .outerframe{
margin-left: 1em;
margin-right: 26em;
}
.allinone .outerframe{
margin:0;

#index {background-color: #FFFFFF;
border: 1px solid #2F5376;
margin: 20px auto;
padding: 0.5em;
width: 96%;
}

#index {
position: absolute;
right: 0;
width: 25em;
top: 0;
overflow-y: scroll;
overflow-x: hidden;
height: 100%;
background: #E9E9E9;
border-left: 1px solid #000;
#index .container {
margin: 0 auto 0 auto;
padding-bottom: 0.5em;
background-color: #FFFFFF;
}

#index h2 {
text-align: center;
font-weight: bold;
padding: 1em;
color: #FFF;
background: #2F5376;
margin: -0.5em;
padding: 0.5em 0;
font-family: Verdana,Arial,Helvetica,sans-serif;
font-size: 14px;
font-weight: bold;
text-align: center;
color: #FFFFFF;
background-color: #2F5376;
}

#index h3 {
margin: 0.5em 0 0 0.5em;
color: #444;
font-family: Verdana;
font-size: 12px;
.groupbygroup #index h2 {
margin-bottom: 0.75em;
}

#index .container {
width: 24em;
#index h3 {
margin: 1em 0 0.25em 0;
padding-bottom: 0;
color: #666666;
font-family: Verdana,Arial,Helvetica,sans-serif;
font-size: small;
font-weight: bold;
text-align: center;
}

#index .container .row {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
text-align: left;
border-top: 1px solid #fff;
margin: 0 2em;
padding: 0.2em 0;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
text-align: left;
border-top: 1px solid #fff;
background-color: #F7F7F7;
}

#index .container .row.odd {
background: #EEEEEE;
}
#index .container .row.current {
font-weight: bold;
}
#index .container .row.missing {
color: #FF0000;
}

#index .container .row:hover {
text-decoration: underline;
cursor: pointer;
color: blue;
text-decoration: underline;
cursor: pointer;
background-color: #A7A9D1;
}

#index .container .row.current:hover {
text-decoration: none;
cursor: default;
}

#index .container .row .hdr {
width: 3em;
text-align: right;
display: inline-block;
padding: 0 0.5em 0 0;
width: 2.5em;
display: inline-block;
padding: 0 0 0 0.5em;
font-style: italic;
}
#index .container input {
display: block;
margin: 1em auto 0 auto;
border: 1px solid #A0A0A0;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
cursor: pointer;
background-color: #FAFAFA;
padding: 2px 5px;
}

#index .container input:hover {
background-color: #EBEBEB;
}

#index .container .row.odd { background: #CCC; }
#index .container .row.current { background: #444; color: #fff; }
#index .container .row.missing { background: #CC0000; color: #fff; }
#index .container input { margin: 1em; }
.outerframe.withindex div.missing td.questiontext {
/*color: #FF0000;*/
}

/* Tips / Validation Messages */
/* If the question is invalid, but has not been submitted, give it a pleasant warning color */
Expand Down

0 comments on commit a8acfd7

Please sign in to comment.