diff options
author | Wojtek Kosior <koszko@koszko.org> | 2021-09-01 11:45:06 +0200 |
---|---|---|
committer | Wojtek Kosior <koszko@koszko.org> | 2021-09-01 11:45:06 +0200 |
commit | 453ba03962ececcdff9264bea606b7bc488c1803 (patch) | |
tree | 169d81bb94e2c2849d1756c65ad3a528a9d944db /html/table.css | |
parent | 544c6df3ab1e331c6b6779b76ad33180a06b0b4d (diff) | |
download | browser-extension-453ba03962ececcdff9264bea606b7bc488c1803.tar.gz browser-extension-453ba03962ececcdff9264bea606b7bc488c1803.zip |
add styling for popup page\n\nThis does not include styling for contents of the import dialog
Diffstat (limited to 'html/table.css')
-rw-r--r-- | html/table.css | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/html/table.css b/html/table.css new file mode 100644 index 0000000..6296f83 --- /dev/null +++ b/html/table.css @@ -0,0 +1,46 @@ +.table_wrapper { + display: block; + background-color: #f0f0f0; + margin: 6px 0; +} + +.table_wrapper table { + border-collapse: unset; + width: 100%; +} + +.table_wrapper.tight_table, +.table_wrapper.tight_table>*, +.table_wrapper.tight_table>*>table { + width: -moz-min-content; + width: min-content; +} + +tr:nth-child(odd) { + background-color: #e5e5e5; +} + +td { + vertical-align: middle; + min-width: fit-content; + min-width: -moz-fit-content; +} + +.tight_table td { + width: 1%; +} + +td:first-child { + padding: 3px 10px 6px; + white-space: nowrap; +} + +.tight_table td:first-child { + width: 100%; +} + +td>div.button { + margin-right: 4px; + white-space: nowrap; + float: right; +} |