From 936c085f051d90dfe896bab853e1e9be501ff218 Mon Sep 17 00:00:00 2001 From: David <72449192+rekt-hard@users.noreply.github.com> Date: Thu, 18 Aug 2022 18:32:09 +0200 Subject: [PATCH] css: adapt skip-to-main button (#280) --- .../semantic-ui/less/invenio_theme_tugraz/header.less | 7 +++++++ .../semantic-ui/less/invenio_theme_tugraz/variables.less | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/invenio_theme_tugraz/assets/semantic-ui/less/invenio_theme_tugraz/header.less b/invenio_theme_tugraz/assets/semantic-ui/less/invenio_theme_tugraz/header.less index fa29e38..4f983c2 100644 --- a/invenio_theme_tugraz/assets/semantic-ui/less/invenio_theme_tugraz/header.less +++ b/invenio_theme_tugraz/assets/semantic-ui/less/invenio_theme_tugraz/header.less @@ -255,3 +255,10 @@ span.home-inline{ border: solid @notificationBorder 1px; z-index: 100000; } + +#skip-to-main { + background-color: @primaryButton; + &:focus { + background-color: @primaryButtonInverted; + } +} diff --git a/invenio_theme_tugraz/assets/semantic-ui/less/invenio_theme_tugraz/variables.less b/invenio_theme_tugraz/assets/semantic-ui/less/invenio_theme_tugraz/variables.less index 0b9223d..02d8ab9 100644 --- a/invenio_theme_tugraz/assets/semantic-ui/less/invenio_theme_tugraz/variables.less +++ b/invenio_theme_tugraz/assets/semantic-ui/less/invenio_theme_tugraz/variables.less @@ -46,7 +46,7 @@ @primaryLinkHoverBackground : @primaryText; @primaryButton : @primaryBackground; @primaryButtonHoverBackground : @primaryText; -@primaryButtonInverted : #000f; +@primaryButtonInverted : @primaryText;