TableCell.module.scss
69 lines
| 1 | .tableCell { |
| 2 | position: relative; |
| 3 | padding-block-start: 1em; |
| 4 | padding-block-end: 2.5em; |
| 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 | |
| 21 | .tableRowHeader { |
| 22 | z-index: 1; |
| 23 | text-align: start; |
| 24 | |
| 25 | > a { |
| 26 | font-size: 1.125rem; |
| 27 | font-weight: 700; |
| 28 | text-decoration: none; |
| 29 | } |
| 30 | } |
| 31 | |
| 32 | .statusBadge { |
| 33 | display: flex; |
| 34 | justify-content: center; |
| 35 | align-items: center; |
| 36 | width: 7rem; |
| 37 | height: 2rem; |
| 38 | background-color: var(--give-primary-color); |
| 39 | border-radius: 0.1875rem; |
| 40 | color: #fff; |
| 41 | font-size: 0.8125rem; |
| 42 | font-weight: 600; |
| 43 | column-gap: 1rem; |
| 44 | text-transform: uppercase; |
| 45 | } |
| 46 | |
| 47 | .idBadge { |
| 48 | display: inline-flex; |
| 49 | flex-shrink: 0; |
| 50 | flex-grow: 0; |
| 51 | align-items: center; |
| 52 | background-color: #f3f2ec; |
| 53 | border: 0.0625rem solid #e0dfd9; |
| 54 | border-radius: 9999px; |
| 55 | color: #5f5f5f; |
| 56 | padding-block: 0.1em; |
| 57 | padding-inline: 0.5em; |
| 58 | text-align: center; |
| 59 | width: -webkit-fit-content; |
| 60 | width: -moz-fit-content; |
| 61 | width: fit-content; |
| 62 | } |
| 63 | |
| 64 | .idBadge::before { |
| 65 | content: '#'; |
| 66 | font-size: 0.615em; |
| 67 | padding-inline-end: 0.25em; |
| 68 | } |
| 69 |