Skip to content
Snippets Groups Projects
Commit f2da28e9 authored by Alexander Purr's avatar Alexander Purr Committed by Robert Lange
Browse files

refs #23830 [adlr_link] add better focus on tabbing trough sidebar facets

* replace $database-link-hover-color (color not part of color schema) by $link-hover-color (=azure)
* remove style from exclude-icon -> applied styles from parent now working
* add focus to facet group toggler
* out of topic: rewrite fieldset-border
parent f8d8a299
No related merge requests found
...@@ -56,7 +56,7 @@ ul { ...@@ -56,7 +56,7 @@ ul {
color: $asphalt; color: $asphalt;
&:hover { &:hover {
color: $database-link-hover-color; color: $link-hover-color;
} }
} }
} }
......
...@@ -71,7 +71,6 @@ $state-success-bg: $brand-info !default; ...@@ -71,7 +71,6 @@ $state-success-bg: $brand-info !default;
$state-info-bg: $brand-info !default; $state-info-bg: $brand-info !default;
$state-info-text: $asphalt !default; $state-info-text: $asphalt !default;
$state-info-border: $asphalt !default; $state-info-border: $asphalt !default;
$database-link-hover-color: #00359b;
$header-bg-color: $midnight; $header-bg-color: $midnight;
$a-visited-color: $black !default; $a-visited-color: $black !default;
$form-dropdown-focus-hover-color: #262626 !default; $form-dropdown-focus-hover-color: #262626 !default;
...@@ -187,7 +186,7 @@ $border-default-styles: 0px; ...@@ -187,7 +186,7 @@ $border-default-styles: 0px;
// **** C0 **** Default anchor/link styles general ***************** // **** C0 **** Default anchor/link styles general *****************
// ***************************************************************** // *****************************************************************
//$link-color: $brand-primary !default; //$link-color: $brand-primary !default;
//$link-hover-color: darken($link-color, 15%) !default; $link-hover-color: $azure;
$link-text-decoration: none; $link-text-decoration: none;
//$link-hover-decoration: underline !default; //$link-hover-decoration: underline !default;
//$link-on-dark-bg-color: invert($link-color) !default; //$link-on-dark-bg-color: invert($link-color) !default;
...@@ -226,6 +225,8 @@ $facet-range-form-padding: 0; ...@@ -226,6 +225,8 @@ $facet-range-form-padding: 0;
$form-control-height: em(60px); $form-control-height: em(60px);
$fielset-default-border: 1px solid $asphalt-dark;
// ***************************************************************** // *****************************************************************
// **** K5 **** Header and navbar ********************************* // **** K5 **** Header and navbar *********************************
...@@ -385,6 +386,7 @@ $sidebar-item-active-hover-bg: none; ...@@ -385,6 +386,7 @@ $sidebar-item-active-hover-bg: none;
$sidebar-or-facet-text-indent: 0; $sidebar-or-facet-text-indent: 0;
$sidebar-facet-active-text-inside-padding-left: 0; $sidebar-facet-active-text-inside-padding-left: 0;
$sidebar-facet-active-hover-color: $link-hover-color;
//// Sidebar item padding //// Sidebar item padding
//$sidebar-item-padding: .75em 1em !default; //$sidebar-item-padding: .75em 1em !default;
......
...@@ -53,8 +53,16 @@ ...@@ -53,8 +53,16 @@
border-bottom: 2px solid $violet; border-bottom: 2px solid $violet;
} }
.all-filters,
.remove-filter { .remove-filter {
color: $violet; color: $violet;
&:hover,
&:active,
&:focus,
{
color: $azure;
}
} }
.date-fields { .date-fields {
...@@ -96,6 +104,16 @@ ...@@ -96,6 +104,16 @@
} }
} }
// #23830 - add focus to facet group toggler
button.title {
&:hover,
&:active,
&:focus,
{
background-color: $seafoam;
}
}
.active-filters, .active-filters,
.switchtab-info { .switchtab-info {
@include default-border($violet !important); @include default-border($violet !important);
...@@ -246,25 +264,26 @@ ...@@ -246,25 +264,26 @@
margin-left: 0; margin-left: 0;
} }
// #23830 - remove all styles from nested i ...
.exclude i { .exclude i {
color: $black; color: revert;
&:hover, &:hover,
&:link, &:link,
&:active, &:active,
&:focus, &:focus,
&:visited { &:visited {
color: $black; color: revert;
} }
} }
a { // #23830 - ... to apply styles properly to exclude link
a.exclude {
// #17913 adjust BARF to adlr design // #17913 adjust BARF to adlr design
&.exclude { &:hover,
&:hover, &:active,
&:focus { &:focus {
outline: none; outline: none;
}
} }
} }
......
...@@ -87,7 +87,8 @@ ...@@ -87,7 +87,8 @@
<?php $excludeURL = $this->urlBase . $this->url->addFacet($this->group, $this->facet['value'], 'NOT'); ?> <?php $excludeURL = $this->urlBase . $this->url->addFacet($this->group, $this->facet['value'], 'NOT'); ?>
<?php /* finc: Barf for exclude facets #19392 */ ?> <?php /* finc: Barf for exclude facets #19392 */ ?>
<a href="<?=$excludeURL ?>" data-lightbox-ignore class="exclude" title="<?= $this->transEsc('exclude_filter', ['%%filter_name%%' => $this->facet['displayText']]) ?>, <?= $this->transEsc('page_reload_on_exclude_hint', ['%%filter_name%%' => $this->facet['displayText']]) ?>"> <a href="<?=$excludeURL ?>" data-lightbox-ignore class="exclude" title="<?= $this->transEsc('exclude_filter', ['%%filter_name%%' => $this->facet['displayText']]) ?>, <?= $this->transEsc('page_reload_on_exclude_hint', ['%%filter_name%%' => $this->facet['displayText']]) ?>">
<i class="fa fa-times" aria-hidden="true"></i> <?php // add adlr.link facet remove icon - #23830 ?>
<i class="icon icon-minus-circle" aria-hidden="true"></i>
<span class="sr-only"><?=$this->transEsc('exclude_filter', ['%%filter_name%%' => $this->facet['displayText']]) ?>, <?= $this->transEsc('page_reload_on_exclude_hint', ['%%filter_name%%' => $this->facet['displayText']]) ?></span> <span class="sr-only"><?=$this->transEsc('exclude_filter', ['%%filter_name%%' => $this->facet['displayText']]) ?>, <?= $this->transEsc('page_reload_on_exclude_hint', ['%%filter_name%%' => $this->facet['displayText']]) ?></span>
</a> </a>
<?php endif; ?> <?php endif; ?>
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment