Skip to content

Commit

Permalink
Fixed issue : Last browser version show ranking rigth to left and not…
Browse files Browse the repository at this point in the history
… left ro right

Dev: rtl , not ltr ... but only only in w3c draft actually
Dev: removed the little ie7 hack and fix tab to space
  • Loading branch information
Shnoulle committed Sep 27, 2016
1 parent 4348c76 commit 6028f97
Showing 1 changed file with 12 additions and 14 deletions.
26 changes: 12 additions & 14 deletions styles-public/ranking.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,14 @@
.ranking-answers{width:100%;}
.dragDropTable {width: 100%;}
.dragDropTable .SortableTitle{display:block}
.dragDropTable .columns2{width:50%;float:left;margin:0;padding:0;
*width:49%;/* IE7 round up, all other round down */
}
:dir(ltr) .dragDropTable .columns2{float:right}
.dragDropTable .columns2{width:50%;float:left;margin:0;padding:0;}
:dir(rtl) .dragDropTable .columns2{float:right}
.dragDropTable .clear{clear:both}


.dragDropTable .dragDropChoices,
.dragDropTable .dragDropRanks {
margin: 5px 0 0 0;
margin: 5px 0 0 0;
background: transparent none;
}

Expand All @@ -25,25 +23,25 @@
padding-bottom:2em;
list-style-type: none;
list-style-position:outside;
display: block; /* Force the li to full width */
display: block; /* Force the li to full width */
}

.dragDropTable ul.dragDropChoiceList li,
.dragDropTable ol.dragDropRankList li {
margin: 3px;
margin-top:0;
padding: 3px;
min-height: 1.3em;
*height:1.3em;
font-weight: normal;
cursor: move;
clear:both;
background-image: none;
min-height: 1.3em;
font-weight: normal;
cursor: move;
clear:both;
background-image: none;
}
.dragDropTable ul.dragDropChoiceList li.ui-sortable-placeholder,
.dragDropTable ol.dragDropRankList li.ui-sortable-placeholder {
border: 1px dotted #CCC;
border: 1px dotted #CCC;
}
/* Must remove it and find a BS class */
.dragDropTable .error {
border-color: fuchsia;
border-color: fuchsia;
}

0 comments on commit 6028f97

Please sign in to comment.