Код: Выделить всё
.rows-container{
border-bottom:2px ridge grey;
}
.row{
height:30px;width:100%;
&:hover div{
background-color:lightgrey;
}
&:nth-child(odd){
background: white;
}
&:nth-child(even){
background: #e0e0e0;
}
}
Код: Выделить всё
//white
//grey
//white
//grey etc...
Код: Выделить всё
{{each rows}}
//parent row
{{each childs}}
//several rows from the same table which have a parent_id connected to the current row.
{{#each}}
{{#each}}
Есть ли способ стилизовать нечетные/четные .rows, но исключить .subitems из вращения нечетных/четных? Я думал, что, возможно, есть способ использовать :not() в scss, но пока мне это не удалось.
Подробнее здесь: https://stackoverflow.com/questions/441 ... t-selector
Мобильная версия