From 5cf5319b2e602be8e515c94fea6635278ae5b6a7 Mon Sep 17 00:00:00 2001 From: mateuswetah Date: Mon, 3 Jun 2019 16:42:30 -0300 Subject: [PATCH] Makes accessibility labels translatable. Adds accessibility button colors to customizer. Fixes color on customizer for header menu. --- src/functions/customizer.php | 12 ++++++++++++ src/header.php | 20 ++++++++++---------- 2 files changed, 22 insertions(+), 10 deletions(-) diff --git a/src/functions/customizer.php b/src/functions/customizer.php index 4db9e8f..6317d43 100644 --- a/src/functions/customizer.php +++ b/src/functions/customizer.php @@ -609,12 +609,24 @@ function tainacan_get_color_scheme_css( $colors ) { nav.menu-belowheader #menubelowHeader > ul > li.menu-item a:hover::before { background-color: {$colors['tainacan_link_color']}; } + nav.menu-belowheader #menubelowHeader ul > li.current_page_item > a, + nav.menu-belowheader #menubelowHeader ul > li.current-menu-item > a { + border-color: {$colors['tainacan_link_color']} !important; + } nav.menu-belowheader #menubelowHeader ul.show > li.current_page_item > a, nav.menu-belowheader #menubelowHeader ul.show > li.current-menu-item > a { border-color: {$colors['tainacan_link_color']}; background-color: {$colors['backtransparent']}; } + .accessibility-bar { + border-bottom-color: {$colors['tainacan_link_color']}; + } + .accessibility-bar .accessibility-shortcuts a span, + .accessibility-bar .accessibility-options button:not(.button-high-contrast) { + background-color: {$colors['tainacan_link_color']}; + } + .tainacan-single-post #comments .title-leave, .tainacan-single-post article .title-content-items, .tainacan-single-post article .tainacan-content h1 { diff --git a/src/header.php b/src/header.php index ae700f7..e775377 100644 --- a/src/header.php +++ b/src/header.php @@ -11,32 +11,32 @@ > - +
- +