|
| 1 | +/*! |
| 2 | + * lightable v0.0.1 |
| 3 | + * Copyright 2020 Hao Zhu |
| 4 | + * Licensed under MIT (https://github.com/haozhu233/kableExtra/blob/master/LICENSE) |
| 5 | + */ |
| 6 | + |
| 7 | +.lightable-minimal { |
| 8 | + border-collapse: separate; |
| 9 | + border-spacing: 16px 1px; |
| 10 | + width: 100%; |
| 11 | + margin-bottom: 10px; |
| 12 | +} |
| 13 | + |
| 14 | +.lightable-minimal td { |
| 15 | + margin-left: 5px; |
| 16 | + margin-right: 5px; |
| 17 | +} |
| 18 | + |
| 19 | +.lightable-minimal th { |
| 20 | + margin-left: 5px; |
| 21 | + margin-right: 5px; |
| 22 | +} |
| 23 | + |
| 24 | +.lightable-minimal thead tr:last-child th { |
| 25 | + border-bottom: 2px solid #00000050; |
| 26 | + empty-cells: hide; |
| 27 | + |
| 28 | +} |
| 29 | + |
| 30 | +.lightable-minimal tbody tr:first-child td { |
| 31 | + padding-top: 0.5em; |
| 32 | +} |
| 33 | + |
| 34 | +.lightable-minimal.lightable-hover tbody tr:hover { |
| 35 | + background-color: #f5f5f5; |
| 36 | +} |
| 37 | + |
| 38 | +.lightable-minimal.lightable-striped tbody tr:nth-child(even) { |
| 39 | + background-color: #f5f5f5; |
| 40 | +} |
| 41 | + |
| 42 | +.lightable-classic { |
| 43 | + border-top: 0.16em solid #111111; |
| 44 | + border-bottom: 0.16em solid #111111; |
| 45 | + width: 100%; |
| 46 | + margin-bottom: 10px; |
| 47 | + margin: 10px 5px; |
| 48 | +} |
| 49 | + |
| 50 | +.lightable-classic tfoot tr td { |
| 51 | + border: 0; |
| 52 | +} |
| 53 | + |
| 54 | +.lightable-classic tfoot tr:first-child td { |
| 55 | + border-top: 0.14em solid #111111; |
| 56 | +} |
| 57 | + |
| 58 | +.lightable-classic caption { |
| 59 | + color: #222222; |
| 60 | +} |
| 61 | + |
| 62 | +.lightable-classic td { |
| 63 | + padding-left: 5px; |
| 64 | + padding-right: 5px; |
| 65 | + color: #222222; |
| 66 | +} |
| 67 | + |
| 68 | +.lightable-classic th { |
| 69 | + padding-left: 5px; |
| 70 | + padding-right: 5px; |
| 71 | + font-weight: normal; |
| 72 | + color: #222222; |
| 73 | +} |
| 74 | + |
| 75 | +.lightable-classic thead tr:last-child th { |
| 76 | + border-bottom: 0.10em solid #111111; |
| 77 | +} |
| 78 | + |
| 79 | +.lightable-classic.lightable-hover tbody tr:hover { |
| 80 | + background-color: #F9EEC1; |
| 81 | +} |
| 82 | + |
| 83 | +.lightable-classic.lightable-striped tbody tr:nth-child(even) { |
| 84 | + background-color: #f5f5f5; |
| 85 | +} |
| 86 | + |
| 87 | +.lightable-classic-2 { |
| 88 | + border-top: 3px double #111111; |
| 89 | + border-bottom: 3px double #111111; |
| 90 | + width: 100%; |
| 91 | + margin-bottom: 10px; |
| 92 | +} |
| 93 | + |
| 94 | +.lightable-classic-2 tfoot tr td { |
| 95 | + border: 0; |
| 96 | +} |
| 97 | + |
| 98 | +.lightable-classic-2 tfoot tr:first-child td { |
| 99 | + border-top: 3px double #111111; |
| 100 | +} |
| 101 | + |
| 102 | +.lightable-classic-2 caption { |
| 103 | + color: #222222; |
| 104 | +} |
| 105 | + |
| 106 | +.lightable-classic-2 td { |
| 107 | + padding-left: 5px; |
| 108 | + padding-right: 5px; |
| 109 | + color: #222222; |
| 110 | +} |
| 111 | + |
| 112 | +.lightable-classic-2 th { |
| 113 | + padding-left: 5px; |
| 114 | + padding-right: 5px; |
| 115 | + font-weight: normal; |
| 116 | + color: #222222; |
| 117 | +} |
| 118 | + |
| 119 | +.lightable-classic-2 tbody tr:last-child td { |
| 120 | + border-bottom: 3px double #111111; |
| 121 | +} |
| 122 | + |
| 123 | +.lightable-classic-2 thead tr:last-child th { |
| 124 | + border-bottom: 1px solid #111111; |
| 125 | +} |
| 126 | + |
| 127 | +.lightable-classic-2.lightable-hover tbody tr:hover { |
| 128 | + background-color: #F9EEC1; |
| 129 | +} |
| 130 | + |
| 131 | +.lightable-classic-2.lightable-striped tbody tr:nth-child(even) { |
| 132 | + background-color: #f5f5f5; |
| 133 | +} |
| 134 | + |
| 135 | +.lightable-material { |
| 136 | + min-width: 100%; |
| 137 | + white-space: nowrap; |
| 138 | + table-layout: fixed; |
| 139 | + font-family: Roboto, sans-serif; |
| 140 | + border: 1px solid #EEE; |
| 141 | + border-collapse: collapse; |
| 142 | + margin-bottom: 10px; |
| 143 | +} |
| 144 | + |
| 145 | +.lightable-material tfoot tr td { |
| 146 | + border: 0; |
| 147 | +} |
| 148 | + |
| 149 | +.lightable-material tfoot tr:first-child td { |
| 150 | + border-top: 1px solid #EEE; |
| 151 | +} |
| 152 | + |
| 153 | +.lightable-material th { |
| 154 | + height: 56px; |
| 155 | + padding-left: 16px; |
| 156 | + padding-right: 16px; |
| 157 | +} |
| 158 | + |
| 159 | +.lightable-material td { |
| 160 | + height: 52px; |
| 161 | + padding-left: 16px; |
| 162 | + padding-right: 16px; |
| 163 | + border-top: 1px solid #eeeeee; |
| 164 | +} |
| 165 | + |
| 166 | +.lightable-material.lightable-hover tbody tr:hover { |
| 167 | + background-color: #f5f5f5; |
| 168 | +} |
| 169 | + |
| 170 | +.lightable-material.lightable-striped tbody tr:nth-child(even) { |
| 171 | + background-color: #f5f5f5; |
| 172 | +} |
| 173 | + |
| 174 | +.lightable-material.lightable-striped tbody td { |
| 175 | + border: 0; |
| 176 | +} |
| 177 | + |
| 178 | +.lightable-material.lightable-striped thead tr:last-child th { |
| 179 | + border-bottom: 1px solid #ddd; |
| 180 | +} |
| 181 | + |
| 182 | +.lightable-material-dark { |
| 183 | + min-width: 100%; |
| 184 | + white-space: nowrap; |
| 185 | + table-layout: fixed; |
| 186 | + font-family: Roboto, sans-serif; |
| 187 | + border: 1px solid #FFFFFF12; |
| 188 | + border-collapse: collapse; |
| 189 | + margin-bottom: 10px; |
| 190 | + background-color: #363640; |
| 191 | +} |
| 192 | + |
| 193 | +.lightable-material-dark tfoot tr td { |
| 194 | + border: 0; |
| 195 | +} |
| 196 | + |
| 197 | +.lightable-material-dark tfoot tr:first-child td { |
| 198 | + border-top: 1px solid #FFFFFF12; |
| 199 | +} |
| 200 | + |
| 201 | +.lightable-material-dark th { |
| 202 | + height: 56px; |
| 203 | + padding-left: 16px; |
| 204 | + padding-right: 16px; |
| 205 | + color: #FFFFFF60; |
| 206 | +} |
| 207 | + |
| 208 | +.lightable-material-dark td { |
| 209 | + height: 52px; |
| 210 | + padding-left: 16px; |
| 211 | + padding-right: 16px; |
| 212 | + color: #FFFFFF; |
| 213 | + border-top: 1px solid #FFFFFF12; |
| 214 | +} |
| 215 | + |
| 216 | +.lightable-material-dark.lightable-hover tbody tr:hover { |
| 217 | + background-color: #FFFFFF12; |
| 218 | +} |
| 219 | + |
| 220 | +.lightable-material-dark.lightable-striped tbody tr:nth-child(even) { |
| 221 | + background-color: #FFFFFF12; |
| 222 | +} |
| 223 | + |
| 224 | +.lightable-material-dark.lightable-striped tbody td { |
| 225 | + border: 0; |
| 226 | +} |
| 227 | + |
| 228 | +.lightable-material-dark.lightable-striped thead tr:last-child th { |
| 229 | + border-bottom: 1px solid #FFFFFF12; |
| 230 | +} |
| 231 | + |
| 232 | +.lightable-paper { |
| 233 | + width: 100%; |
| 234 | + margin-bottom: 10px; |
| 235 | + color: #444; |
| 236 | +} |
| 237 | + |
| 238 | +.lightable-paper tfoot tr td { |
| 239 | + border: 0; |
| 240 | +} |
| 241 | + |
| 242 | +.lightable-paper tfoot tr:first-child td { |
| 243 | + border-top: 1px solid #00000020; |
| 244 | +} |
| 245 | + |
| 246 | +.lightable-paper thead tr:last-child th { |
| 247 | + color: #666; |
| 248 | + vertical-align: bottom; |
| 249 | + border-bottom: 1px solid #00000020; |
| 250 | + line-height: 1.15em; |
| 251 | + padding: 10px 5px; |
| 252 | +} |
| 253 | + |
| 254 | +.lightable-paper td { |
| 255 | + vertical-align: middle; |
| 256 | + border-bottom: 1px solid #00000010; |
| 257 | + line-height: 1.15em; |
| 258 | + padding: 7px 5px; |
| 259 | +} |
| 260 | + |
| 261 | +.lightable-paper.lightable-hover tbody tr:hover { |
| 262 | + background-color: #F9EEC1; |
| 263 | +} |
| 264 | + |
| 265 | +.lightable-paper.lightable-striped tbody tr:nth-child(even) { |
| 266 | + background-color: #00000008; |
| 267 | +} |
| 268 | + |
| 269 | +.lightable-paper.lightable-striped tbody td { |
| 270 | + border: 0; |
| 271 | +} |
| 272 | + |
0 commit comments