diff options
| -rw-r--r-- | themes/clouds/css-2.0.0/style.css | 14 | ||||
| -rw-r--r-- | themes/webtrees/css-2.0.0/style.css | 12 |
2 files changed, 22 insertions, 4 deletions
diff --git a/themes/clouds/css-2.0.0/style.css b/themes/clouds/css-2.0.0/style.css index 5d6ee6ebf9..1ab52b1394 100644 --- a/themes/clouds/css-2.0.0/style.css +++ b/themes/clouds/css-2.0.0/style.css @@ -294,6 +294,10 @@ a > .wt-icon-arrow-up:hover::before { border-bottom: thin solid #79c; } +.wt-header-wrapper .dropdown-item.active { + font-weight: bold; +} + .wt-header-container { margin-top: 0.5rem; } @@ -377,7 +381,12 @@ a > .wt-icon-arrow-up:hover::before { .wt-primary-menu .dropdown-item { /* Space between icons and align with submenu icons */ - padding: 0; + padding: 0 5px 0 0; +} + +[dir=rtl] .wt-primary-menu .dropdown-item { + /* Space between icons and align with submenu icons */ + padding: 0 0 0 5px; } .wt-primary-menu .dropdown-item::before { @@ -385,9 +394,10 @@ a > .wt-icon-arrow-up:hover::before { height: 22px; width: 22px; /* Align icons and text */ - vertical-align: top; + vertical-align: text-top; /* Space between icon and text */ padding: 0 .25rem; + line-height: 1.8; } .wt-primary-menu .nav-item::before { diff --git a/themes/webtrees/css-2.0.0/style.css b/themes/webtrees/css-2.0.0/style.css index eb8620abf7..5a37c11edb 100644 --- a/themes/webtrees/css-2.0.0/style.css +++ b/themes/webtrees/css-2.0.0/style.css @@ -371,11 +371,19 @@ a > .wt-icon-arrow-up:hover::before { } .wt-primary-menu .dropdown-item { - padding: 0; + /* Space between icons and align with submenu icons */ + padding: 0 5px 0 0; +} + +[dir=rtl] .wt-primary-menu .dropdown-item { + /* Space between icons and align with submenu icons */ + padding: 0 0 0 5px; } .wt-primary-menu .dropdown-item::before { - vertical-align: top; + vertical-align: text-top; + line-height: 2.4; + padding: 0 .25rem; } .menu-tree .nav-link::before { |
