|
| 1 | +.popup-tablediv { |
| 2 | + overflow: auto; |
| 3 | +} |
| 4 | + |
| 5 | +.popup-table { |
| 6 | + table-layout: auto; |
| 7 | + width: 100%; |
| 8 | + font-size: .9em; |
| 9 | +} |
| 10 | + |
| 11 | +table th { |
| 12 | + font-weight: normal; |
| 13 | + text-align: left; |
| 14 | + padding-left: .3em; |
| 15 | + color: #444; |
| 16 | + background-color: #efefef; |
| 17 | + border-bottom: 1px solid #afafaf; |
| 18 | + border-top: 1px solid #afafaf; |
| 19 | + text-transform: uppercase; |
| 20 | + vertical-align: middle; |
| 21 | + line-height: 1.5em; |
| 22 | +} |
| 23 | + |
| 24 | +table td { |
| 25 | + vertical-align: middle; |
| 26 | + padding-left: .3em; |
| 27 | + padding-right: .2em; |
| 28 | + border-bottom: 1px solid #efefef; |
| 29 | + text-align: left; |
| 30 | + empty-cells: show; |
| 31 | + white-space: nowrap; |
| 32 | + vertical-align: middle; |
| 33 | +} |
| 34 | + |
| 35 | +table.popup-table tr:hover { |
| 36 | + background-color: #eee; |
| 37 | + cursor: pointer; |
| 38 | +} |
| 39 | + |
| 40 | +.row-style { |
| 41 | + cursor: pointer; |
| 42 | +} |
| 43 | + |
| 44 | +.table-header { |
| 45 | + width: 15px; |
| 46 | +} |
| 47 | + |
| 48 | +/* Accumulator */ |
| 49 | + |
| 50 | +.popup-control { |
| 51 | + display: flex; |
| 52 | + flex-wrap: wrap; |
| 53 | + justify-content: space-evenly; |
| 54 | + gap: 8px; |
| 55 | + padding: 8px; |
| 56 | + border-top: 2px solid #444; |
| 57 | + background-color: #eee; |
| 58 | +} |
| 59 | + |
| 60 | +button { |
| 61 | + min-width: 3em; |
| 62 | +} |
| 63 | + |
| 64 | +@media (pointer: coarse) { |
| 65 | + /* make min width 48px (3em*16px/em) on touch screens */ |
| 66 | + button { |
| 67 | + min-height: 3em; |
| 68 | + } |
| 69 | + table td { padding-block: 2em; } |
| 70 | +} |
| 71 | + |
| 72 | +.popup-apply { |
| 73 | + background-color: #c1cee6; |
| 74 | + font-weight: bold; |
| 75 | + min-width: 7em; |
| 76 | +} |
| 77 | + |
| 78 | +/* Pagination */ |
| 79 | + |
| 80 | +.popup-pagination { |
| 81 | + display: flex; |
| 82 | + justify-content: space-evenly; |
| 83 | + padding: 8px; |
| 84 | +} |
| 85 | + |
| 86 | +.popup-pagination button { |
| 87 | + min-width: 40px; |
| 88 | + width: 30%; |
| 89 | + cursor: pointer; |
| 90 | + color: blue; |
| 91 | +} |
| 92 | + |
| 93 | +.popup-pagination button:disabled { |
| 94 | + color: gray; |
| 95 | + opacity: 0.4; |
| 96 | + cursor: default; |
| 97 | +} |
| 98 | + |
| 99 | +/* Search */ |
| 100 | +.popup-search { |
| 101 | + border-bottom: 2px solid #444; |
| 102 | +} |
| 103 | + |
| 104 | +.search-label { |
| 105 | + text-transform: capitalize; |
| 106 | + font-weight: bold; |
| 107 | +} |
| 108 | + |
| 109 | +.search-button { |
| 110 | + background-color: #c1cee6; |
| 111 | + font-weight: bold; |
| 112 | + min-width: 7em; |
| 113 | +} |
| 114 | + |
| 115 | +.reset-button { |
| 116 | + margin-left: 60px; |
| 117 | +} |
| 118 | + |
| 119 | +.flex-container { |
| 120 | + margin: 0; |
| 121 | + display: flex; |
| 122 | + flex-direction: column; |
| 123 | + height: 100%; |
| 124 | +} |
| 125 | + |
| 126 | +.separator { |
| 127 | + flex-grow: 1; |
| 128 | +} |
| 129 | + |
| 130 | +.search-error input { |
| 131 | + border: 2px solid red; |
| 132 | +} |
| 133 | + |
| 134 | +.search-error > .error-message { |
| 135 | + color: red; |
| 136 | + font-size: 14px; |
| 137 | + margin-left: 4px; |
| 138 | + padding-block-start: 0.25em; |
| 139 | +} |
| 140 | + |
| 141 | +*:focus-visible { outline-offset: 3px; } |
0 commit comments