|
1 | 1 | /* https://github.com/microsoft/vscode-css/issues/33 */
|
| 2 | +/* https://github.com/microsoft/vscode-css/issues/22 */ |
2 | 3 |
|
3 | 4 | table thead tr:nth-child(odd of :not([hidden])),
|
4 | 5 | table:has(thead tr:last-child:nth-child(even of :not([hidden]))) tbody tr:nth-child(odd of :not([hidden])),
|
5 | 6 | table:has(thead tr:last-child:nth-child(odd of :not([hidden]))) tbody tr:nth-child(even of :not([hidden])),
|
6 | 7 | table:has(thead tr:last-child:nth-child(even of :not([hidden]))):has(tbody tr:last-child:nth-child(odd of :not([hidden]))) tfoot tr:nth-child(even of :not([hidden])),
|
7 |
| -table:has(thead tr:last-child:nth-child(even of :not([hidden]))):has(tbody tr:last-child:nth-child(even of :not([hidden]))) tfoot tr:nth-child(odd of :not([hidden])), |
| 8 | +table:has(thead tr:last-child:nth-last-child(even of :not([hidden]))):has(tbody tr:last-child:nth-child(even of :not([hidden]))) tfoot tr:nth-child(odd of :not([hidden])), |
8 | 9 | table:has(thead tr:last-child:nth-child(odd of :not([hidden]))):has(tbody tr:last-child:nth-child(odd of :not([hidden]))) tfoot tr:nth-child(odd of :not([hidden])),
|
9 | 10 | table:has(thead tr:last-child:nth-child(odd of :not([hidden]))):has(tbody tr:last-child:nth-child(even of :not([hidden]))) tfoot tr:nth-child(even of :not([hidden])) {
|
10 | 11 | background-color: #f0f0f0;
|
11 | 12 | }
|
| 13 | + |
| 14 | +.highlight:nth-child(2), |
| 15 | +:nth-child(2 of .highlight), |
| 16 | +:nth-child(4 of .highlight, .sale) { |
| 17 | + gap:0; |
| 18 | +} |
| 19 | + |
| 20 | +tr:nth-child(even of :not([hidden])) { |
| 21 | + background-color: lightgrey; |
| 22 | +} |
| 23 | + |
| 24 | +li:nth-child(-n + 3 of :not([hidden]):has(.class) ) { |
| 25 | + border: 2px solid orange; |
| 26 | + margin-bottom: 1px; |
| 27 | +} |
| 28 | + |
| 29 | +li:nth-child(even) { |
| 30 | + background-color: lightyellow; |
| 31 | +} |
| 32 | + |
| 33 | +:nth-child(-n + 3 of li.important) { |
| 34 | + gap:0 |
| 35 | +} |
| 36 | + |
| 37 | +li:nth-last-child(even of .noted) { |
| 38 | + background-color: tomato; |
| 39 | + border-bottom-color: seagreen; |
| 40 | +} |
| 41 | + |
| 42 | + |
| 43 | + |
| 44 | +.item > div:nth-child(1 of :not(.hidden)) { |
| 45 | + padding-left: var(--item_margin); |
| 46 | +} |
| 47 | + |
| 48 | +.item > div:nth-last-child(1 of :not(.hidden)) { |
| 49 | + padding-right: var(--item_margin); |
| 50 | +} |
0 commit comments