From 6fe3b8a955b1ba3b03e7e88936b9f7882e619568 Mon Sep 17 00:00:00 2001 From: maxpozdeev Date: Sun, 20 Aug 2023 16:05:45 +0300 Subject: [PATCH] experiments with group style in settings --- src/content/theme/style.css | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/src/content/theme/style.css b/src/content/theme/style.css index e674734..c42dda6 100644 --- a/src/content/theme/style.css +++ b/src/content/theme/style.css @@ -990,6 +990,22 @@ li.mtt-item-hidden { display:none; } vertical-align:top; display: flex; } +.mtt-settings-table .group { + margin-top: 0.5rem; + margin-bottom: 0.5rem; + border-radius: 1rem; + background-color: var(--color-settings-row); +} +.mtt-settings-table .group .tr { + margin: 0 1rem; + padding: 1rem 0; +} +.mtt-settings-table .group .th { + padding-left: 0; +} +.mtt-settings-table .group .td { + padding-right: 0; +} .mtt-settings-table .tr:not(:last-child) { border-bottom:1px solid var(--color-row-underlinig); } @@ -1208,6 +1224,15 @@ li.mtt-item-hidden { display:none; } padding:10px 15px; margin-bottom: 5px; } + .mtt-settings-table .group .tr { + border-radius: 0; + padding: 1rem 0; + margin: 0 1rem; + margin-bottom: 5px; + } + .mtt-settings-table .group .tr:not(:last-child) { + border-bottom:1px solid var(--color-border-default); + } .mtt-settings-table .th { width: auto; padding-left: 0px;