TableCell.module.scss
75 lines
| 1 | .tableCell { |
| 2 | position: relative; |
| 3 | padding-block-start: 1em; |
| 4 | padding-block-end: 2.75em; |
| 5 | padding-inline: 1em; |
| 6 | vertical-align: middle; |
| 7 | font-size: 0.875em; |
| 8 | font-weight: 600; |
| 9 | color: #333; |
| 10 | |
| 11 | & a { |
| 12 | text-decoration: none; |
| 13 | |
| 14 | &:focus, &:hover, &:active { |
| 15 | text-decoration: underline; |
| 16 | transition: all 0.05s ease-in-out; |
| 17 | } |
| 18 | } |
| 19 | |
| 20 | input[type="checkbox"]="checkbox""] { |
| 21 | margin: 0; |
| 22 | padding: 0; |
| 23 | transform: translateY(-1px); |
| 24 | } |
| 25 | } |
| 26 | |
| 27 | .tableRowHeader { |
| 28 | z-index: 1; |
| 29 | text-align: start; |
| 30 | |
| 31 | > a { |
| 32 | font-size: 1.125rem; |
| 33 | font-weight: 700; |
| 34 | text-decoration: none; |
| 35 | } |
| 36 | } |
| 37 | |
| 38 | .statusBadge { |
| 39 | display: flex; |
| 40 | justify-content: center; |
| 41 | align-items: center; |
| 42 | width: 7rem; |
| 43 | height: 2rem; |
| 44 | background-color: var(--give-primary-color); |
| 45 | border-radius: 0.1875rem; |
| 46 | color: #fff; |
| 47 | font-size: 0.8125rem; |
| 48 | font-weight: 600; |
| 49 | column-gap: 1rem; |
| 50 | text-transform: uppercase; |
| 51 | } |
| 52 | |
| 53 | .idBadge { |
| 54 | display: inline-flex; |
| 55 | flex-shrink: 0; |
| 56 | flex-grow: 0; |
| 57 | align-items: center; |
| 58 | background-color: #f3f2ec; |
| 59 | border: 0.0625rem solid #e0dfd9; |
| 60 | border-radius: 9999px; |
| 61 | color: #5f5f5f; |
| 62 | padding-block: 0.1em; |
| 63 | padding-inline: 0.5em; |
| 64 | text-align: center; |
| 65 | width: -webkit-fit-content; |
| 66 | width: -moz-fit-content; |
| 67 | width: fit-content; |
| 68 | } |
| 69 | |
| 70 | .idBadge::before { |
| 71 | content: '#'; |
| 72 | font-size: 0.615em; |
| 73 | padding-inline-end: 0.25em; |
| 74 | } |
| 75 |