Merge branch 'wip-MDL-44139-master' of git://github.com/ds125v/moodle
[moodle.git] / theme / standard / style / admin.css
index 9594e8f..a95c048 100644 (file)
 #page-admin-index .adminwarning {background-color:#f3f2aa;}
 #page-admin-index .adminerror {background-color:#ffd3d9;}
 #page-admin-index .c0 {background-color: #FAFAFA;}
-.path-admin .blockstable .r0 {background-color: #F0F0F0;}
-.path-admin .blockstable .r1 {background-color: #FAFAFA;}
+.path-admin .blockstable > tbody > tr:nth-of-type(odd) {background-color: #F0F0F0;}
+.path-admin .blockstable > tbody > tr:nth-of-type(even) {background-color: #FAFAFA;}
 .path-admin .incompatibleblockstable td.c0 {color: #ff0000;}
-table.flexible  .r0 {background-color: #F0F0F0;}
-table.flexible .r1 {background-color: #FAFAFA;}
+table.flexible > tbody > tr:nth-of-type(odd) {background-color: #F0F0F0;}
+table.flexible > tbody > tr:nth-of-type(even) {background-color: #FAFAFA;}
 #page-admin-report-security-index #timewarning {text-align:center;}
 
 #adminsettings fieldset {background-color: #EEE;border:1px solid #BBB;color: #000;}
@@ -104,8 +104,8 @@ table.flexible .r1 {background-color: #FAFAFA;}
 #page-admin-qtypes .cell.c3 {font-size: 0.7em;}
 
 #page-admin-lang .translator {border-color: #DDDDDD;}
-#page-admin-lang .translator tr.r0 {background-color: #F0F0F0;}
-#page-admin-lang .translator tr.r1 {background-color: #FAFAFA;}
+#page-admin-lang .translator > tbody > tr:nth-of-type(odd) {background-color: #F0F0F0;}
+#page-admin-lang .translator > tbody > tr:nth-of-type(even) {background-color: #FAFAFA;}
 #page-admin-lang .translator .strkey {color: #666666;}
 #page-admin-lang .translator .bothmissing {background-color: #EF6868;}
 #page-admin-lang .translator .mastermissing {background-color: #FEFF7F;}