mirror of https://github.com/twbs/bootstrap.git
				
				
				
			more nesting in table.less
This commit is contained in:
		
							parent
							
								
									798e64cebf
								
							
						
					
					
						commit
						463343af63
					
				| 
						 | 
				
			
			@ -152,14 +152,18 @@ table {
 | 
			
		|||
// Exact selectors below required to override `.table-striped` and prevent
 | 
			
		||||
// inheritance to nested tables.
 | 
			
		||||
 | 
			
		||||
.table > thead > tr,
 | 
			
		||||
.table > tbody > tr,
 | 
			
		||||
.table > tfoot > tr {
 | 
			
		||||
  > td.active,
 | 
			
		||||
  > th.active,
 | 
			
		||||
  &.active > td,
 | 
			
		||||
  &.active > th  {
 | 
			
		||||
    background-color: @table-bg-active;
 | 
			
		||||
.table {
 | 
			
		||||
  > thead,
 | 
			
		||||
  > tbody,
 | 
			
		||||
  > tfoot {
 | 
			
		||||
    > tr {
 | 
			
		||||
      > td.active,
 | 
			
		||||
      > th.active,
 | 
			
		||||
      &.active > td,
 | 
			
		||||
      &.active > th  {
 | 
			
		||||
        background-color: @table-bg-active;
 | 
			
		||||
      }
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue