From 22a8be5f96488fdbe5dd1fcba090fc1355ccd106 Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Sat, 20 Nov 2021 02:16:30 -0500 Subject: [PATCH] [frio] Make accordions keyboard actionable --- view/theme/frio/css/style.css | 10 ++++- .../templates/admin/blocklist/contact.tpl | 8 ++-- view/theme/frio/templates/admin/features.tpl | 4 +- view/theme/frio/templates/admin/site.tpl | 40 +++++++++---------- view/theme/frio/templates/admin/storage.tpl | 4 +- view/theme/frio/templates/contact_edit.tpl | 12 +++--- .../frio/templates/settings/connectors.tpl | 4 +- .../theme/frio/templates/settings/display.tpl | 16 ++++---- .../frio/templates/settings/features.tpl | 4 +- .../frio/templates/settings/profile/index.tpl | 16 ++++---- .../frio/templates/settings/settings.tpl | 32 +++++++-------- 11 files changed, 78 insertions(+), 72 deletions(-) diff --git a/view/theme/frio/css/style.css b/view/theme/frio/css/style.css index ed2bd66cf3..3891f6d24e 100644 --- a/view/theme/frio/css/style.css +++ b/view/theme/frio/css/style.css @@ -2901,13 +2901,13 @@ ul li:hover .contact-wrapper .contact-action-link:hover { padding: 1px 10px; } details.profile-jot-net[open] summary:before, -.panel .section-subtitle-wrapper a.accordion-toggle:before { +.panel .section-subtitle-wrapper .accordion-toggle:before { font-family: ForkAwesome; content: "\f0d7"; padding-right: 5px; } details.profile-jot-net summary:before, -.panel .section-subtitle-wrapper a.accordion-toggle.collapsed:before { +.panel .section-subtitle-wrapper .accordion-toggle.collapsed:before { font-family: ForkAwesome; content: "\f0da"; } @@ -2965,6 +2965,12 @@ details.profile-jot-net[open] summary:before { margin-bottom: 10px; } +.section-subtitle-wrapper > h3 { + font-size: 16px; + margin-top: 8px; + margin-bottom: 8px; +} + .fakelink > h3:before { padding-right: 10px; } diff --git a/view/theme/frio/templates/admin/blocklist/contact.tpl b/view/theme/frio/templates/admin/blocklist/contact.tpl index 8f9fd282fc..e6acce2e9d 100644 --- a/view/theme/frio/templates/admin/blocklist/contact.tpl +++ b/view/theme/frio/templates/admin/blocklist/contact.tpl @@ -11,9 +11,9 @@
@@ -37,9 +37,9 @@
diff --git a/view/theme/frio/templates/admin/features.tpl b/view/theme/frio/templates/admin/features.tpl index 13db0a300c..3fe63bdc28 100644 --- a/view/theme/frio/templates/admin/features.tpl +++ b/view/theme/frio/templates/admin/features.tpl @@ -8,9 +8,9 @@
diff --git a/view/theme/frio/templates/admin/site.tpl b/view/theme/frio/templates/admin/site.tpl index e17dd57ac1..3bd1a49af2 100644 --- a/view/theme/frio/templates/admin/site.tpl +++ b/view/theme/frio/templates/admin/site.tpl @@ -29,9 +29,9 @@
@@ -64,9 +64,9 @@
@@ -93,9 +93,9 @@
@@ -118,9 +118,9 @@
@@ -179,9 +179,9 @@
@@ -209,9 +209,9 @@
@@ -235,9 +235,9 @@
@@ -265,9 +265,9 @@
@@ -290,9 +290,9 @@
@@ -331,9 +331,9 @@
diff --git a/view/theme/frio/templates/admin/storage.tpl b/view/theme/frio/templates/admin/storage.tpl index 04d2e4cf27..1a63d1817f 100644 --- a/view/theme/frio/templates/admin/storage.tpl +++ b/view/theme/frio/templates/admin/storage.tpl @@ -15,9 +15,9 @@
diff --git a/view/theme/frio/templates/contact_edit.tpl b/view/theme/frio/templates/contact_edit.tpl index 5353801ee5..3457be6997 100644 --- a/view/theme/frio/templates/contact_edit.tpl +++ b/view/theme/frio/templates/contact_edit.tpl @@ -68,9 +68,9 @@
@@ -127,9 +127,9 @@
@@ -161,9 +161,9 @@
diff --git a/view/theme/frio/templates/settings/connectors.tpl b/view/theme/frio/templates/settings/connectors.tpl index 1f49743491..1138a9d553 100644 --- a/view/theme/frio/templates/settings/connectors.tpl +++ b/view/theme/frio/templates/settings/connectors.tpl @@ -11,9 +11,9 @@
diff --git a/view/theme/frio/templates/settings/display.tpl b/view/theme/frio/templates/settings/display.tpl index 35a1f061df..004f1884e2 100644 --- a/view/theme/frio/templates/settings/display.tpl +++ b/view/theme/frio/templates/settings/display.tpl @@ -7,9 +7,9 @@
@@ -31,9 +31,9 @@
@@ -50,9 +50,9 @@
@@ -77,9 +77,9 @@
diff --git a/view/theme/frio/templates/settings/features.tpl b/view/theme/frio/templates/settings/features.tpl index 61fecf57f7..106f197e49 100644 --- a/view/theme/frio/templates/settings/features.tpl +++ b/view/theme/frio/templates/settings/features.tpl @@ -8,9 +8,9 @@
diff --git a/view/theme/frio/templates/settings/profile/index.tpl b/view/theme/frio/templates/settings/profile/index.tpl index 95fcbe4b53..3c3834c311 100644 --- a/view/theme/frio/templates/settings/profile/index.tpl +++ b/view/theme/frio/templates/settings/profile/index.tpl @@ -52,9 +52,9 @@
{{* for the $detailed_profile we use bootstraps collapsable panel-groups to have expandable groups *}} @@ -78,9 +78,9 @@
@@ -118,9 +118,9 @@
@@ -145,9 +145,9 @@
diff --git a/view/theme/frio/templates/settings/settings.tpl b/view/theme/frio/templates/settings/settings.tpl index 5c66e4600e..bf129cc12e 100644 --- a/view/theme/frio/templates/settings/settings.tpl +++ b/view/theme/frio/templates/settings/settings.tpl @@ -12,9 +12,9 @@
@@ -38,9 +38,9 @@
@@ -63,9 +63,9 @@
@@ -102,9 +102,9 @@
@@ -126,9 +126,9 @@
@@ -210,9 +210,9 @@
@@ -231,9 +231,9 @@