comparison examples/common/default/default.css @ 1010:0967a3ef14cf draft

Fixed table header should be higher z-index than elements with ipacity
author HIROSE Yuuji <yuuji@gentei.org>
date Fri, 19 May 2023 08:20:21 +0900
parents 47b3e770372d
children 1ffaa8b2b1bf
comparison
equal deleted inserted replaced
1009:40021967c23e 1010:0967a3ef14cf
321 div.lcto td:nth-child(3), /* title */ 321 div.lcto td:nth-child(3), /* title */
322 div.lcto td:nth-child(4) /* owner */ 322 div.lcto td:nth-child(4) /* owner */
323 {max-width: 14em;} 323 {max-width: 14em;}
324 /* https://curecode.jp/tech/css-table-position-sticky-with-background-border-vanished/ */ 324 /* https://curecode.jp/tech/css-table-position-sticky-with-background-border-vanished/ */
325 div.dumptable table.dumpblogs th { 325 div.dumptable table.dumpblogs th {
326 position: sticky; top: 0; z-index: 0; background: #fcf0f0; 326 position: sticky; top: 0; z-index: 1; background: #fcf0f0;
327 border: 1px solid black; border-collapse: collapse; 327 border: 1px solid black; border-collapse: collapse;
328 background-clip: padding-box; 328 background-clip: padding-box;
329 } 329 }
330 330
331 table.dumpblogs tr.凍結 td:nth-child(n+2) {opacity: 0.5;} 331 table.dumpblogs tr.凍結 td:nth-child(n+2) {opacity: 0.5;}

yatex.org