mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 10:04:11 +00:00
add a focus style for truncatable parts
This commit is contained in:
@@ -48,6 +48,7 @@ $h4-factor: strip-unit($h4-font-size);
|
|||||||
.clamp-default-#{$i} {
|
.clamp-default-#{$i} {
|
||||||
@include clamp-with-titles($i, $body-bg);
|
@include clamp-with-titles($i, $body-bg);
|
||||||
}
|
}
|
||||||
|
:focus .clamp-default-#{$i},
|
||||||
.ds-hover .clamp-default-#{$i} {
|
.ds-hover .clamp-default-#{$i} {
|
||||||
@include clamp-with-titles($i, $list-group-hover-bg);
|
@include clamp-with-titles($i, $list-group-hover-bg);
|
||||||
}
|
}
|
||||||
@@ -56,6 +57,7 @@ $h4-factor: strip-unit($h4-font-size);
|
|||||||
@include clamp-with-titles($i, $primary);
|
@include clamp-with-titles($i, $primary);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
:focus .clamp-primary-#{$i},
|
||||||
.ds-hover .clamp-primary-#{$i} {
|
.ds-hover .clamp-primary-#{$i} {
|
||||||
@include clamp-with-titles($i, darken($primary, 10%));
|
@include clamp-with-titles($i, darken($primary, 10%));
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user