Michael Davis | 5194655 | 2017-05-01 10:30:38 -0500 | [diff] [blame] | 1 | |
| 2 | // Table Header |
| 3 | .table-header { |
| 4 | width: 100%; |
| 5 | color: $black; |
| 6 | line-height: 30px; |
Michael Davis | 9486f54 | 2017-05-30 15:35:31 -0500 | [diff] [blame] | 7 | padding: .8em 0 0; |
| 8 | margin-bottom: .8em; |
| 9 | border-bottom: 1px solid $medgrey; |
| 10 | font-size: 1.25em; |
Michael Davis | 5194655 | 2017-05-01 10:30:38 -0500 | [diff] [blame] | 11 | @include mediaQuery(medium) { |
Michael Davis | 9486f54 | 2017-05-30 15:35:31 -0500 | [diff] [blame] | 12 | margin: 1.8em 0; |
Michael Davis | 5194655 | 2017-05-01 10:30:38 -0500 | [diff] [blame] | 13 | } |
| 14 | } |
| 15 | |
Michael Davis | 5194655 | 2017-05-01 10:30:38 -0500 | [diff] [blame] | 16 | // Table |
| 17 | .table { |
| 18 | width: 100%; |
| 19 | } |
| 20 | |
| 21 | .table__row { |
| 22 | display: flex; |
| 23 | width: 100%; |
Michael Davis | 9486f54 | 2017-05-30 15:35:31 -0500 | [diff] [blame] | 24 | max-width: calc(100vw - 10px); |
Michael Davis | 5194655 | 2017-05-01 10:30:38 -0500 | [diff] [blame] | 25 | flex-wrap: wrap; |
Michael Davis | 9486f54 | 2017-05-30 15:35:31 -0500 | [diff] [blame] | 26 | font-weight: 400; |
| 27 | position: relative; |
| 28 | &.disabled { |
| 29 | background-color: $disabled-row; |
| 30 | color: $disabled-row-txt; |
Michael Davis | 5194655 | 2017-05-01 10:30:38 -0500 | [diff] [blame] | 31 | } |
| 32 | } |
| 33 | |
Michael Davis | 9486f54 | 2017-05-30 15:35:31 -0500 | [diff] [blame] | 34 | .table__row-save { |
| 35 | position: absolute; |
| 36 | top: 0; |
| 37 | left: 0; |
| 38 | width: 100%; |
| 39 | height:100%; |
| 40 | background: $darkbg__primary; |
| 41 | z-index:200; |
| 42 | color: $white; |
| 43 | padding: .8em 1em; |
| 44 | text-align: center; |
| 45 | font-size: 1.5em; |
| 46 | font-weight: bold; |
| 47 | } |
| 48 | |
Michael Davis | 5194655 | 2017-05-01 10:30:38 -0500 | [diff] [blame] | 49 | .table__cell { |
| 50 | flex: 0 0 100%; |
Michael Davis | 9486f54 | 2017-05-30 15:35:31 -0500 | [diff] [blame] | 51 | line-height: 2.8em; |
| 52 | padding: .5em 1em; |
Michael Davis | 5194655 | 2017-05-01 10:30:38 -0500 | [diff] [blame] | 53 | white-space: nowrap; |
| 54 | overflow: hidden; |
| 55 | text-overflow: ellipsis; |
Michael Davis | 9486f54 | 2017-05-30 15:35:31 -0500 | [diff] [blame] | 56 | border-bottom: 1px solid $medgrey; |
Michael Davis | 5194655 | 2017-05-01 10:30:38 -0500 | [diff] [blame] | 57 | @include mediaQuery(small) { |
| 58 | flex: 1; |
Michael Davis | 5194655 | 2017-05-01 10:30:38 -0500 | [diff] [blame] | 59 | } |
Michael Davis | 9486f54 | 2017-05-30 15:35:31 -0500 | [diff] [blame] | 60 | // |
| 61 | //@include mediaQuery(large) { |
| 62 | // padding: 15px 30px; |
| 63 | //} |
Michael Davis | 5194655 | 2017-05-01 10:30:38 -0500 | [diff] [blame] | 64 | } |
| 65 | |
| 66 | .table__cell-label { |
| 67 | display: inline-block; |
| 68 | font-weight: 700; |
| 69 | min-width: 50%; |
| 70 | padding-right: 15px; |
| 71 | |
| 72 | @include mediaQuery(small) { |
| 73 | display: none; |
| 74 | } |
| 75 | } |
| 76 | |
| 77 | // Table Head |
| 78 | .table__head { |
| 79 | .table__row { |
| 80 | display: none; |
| 81 | font-weight: 700; |
| 82 | border-bottom: 1px solid $medgrey; |
| 83 | background-color: $darkbg__primary; |
| 84 | color: $white; |
| 85 | |
| 86 | @include mediaQuery(small) { |
| 87 | display: flex; |
| 88 | } |
| 89 | |
| 90 | .table__cell { |
| 91 | @include fastTransition-all(); |
| 92 | position: relative; |
Michael Davis | 9486f54 | 2017-05-30 15:35:31 -0500 | [diff] [blame] | 93 | border: 0; |
Michael Davis | 5194655 | 2017-05-01 10:30:38 -0500 | [diff] [blame] | 94 | &:last-child { |
| 95 | border: 0; |
| 96 | } |
| 97 | } |
| 98 | } |
| 99 | } |
| 100 | |
Michael Davis | 9486f54 | 2017-05-30 15:35:31 -0500 | [diff] [blame] | 101 | .table__row-uploading { |
| 102 | color: $darkgrey; |
| 103 | font-weight: 700; |
| 104 | @include indeterminate-bar; |
| 105 | } |
| 106 | |
Michael Davis | 6dc5f18 | 2017-06-26 13:07:27 -0500 | [diff] [blame] | 107 | .sort-heading { |
Michael Davis | 9486f54 | 2017-05-30 15:35:31 -0500 | [diff] [blame] | 108 | |
Michael Davis | 6dc5f18 | 2017-06-26 13:07:27 -0500 | [diff] [blame] | 109 | } |