From f6e48f9fe18119b6ab9249ed1c9fc6bc36082942 Mon Sep 17 00:00:00 2001 From: pat-s Date: Tue, 20 Sep 2022 13:17:57 +0200 Subject: [PATCH] adjust box-shadow of ssh cloning button when not in focus --- theme-github-auto.css | 16 ++++++++++++++++ theme-github.css | 16 ++++++++++++++++ 2 files changed, 32 insertions(+) diff --git a/theme-github-auto.css b/theme-github-auto.css index 08ca109..2d8bbf2 100644 --- a/theme-github-auto.css +++ b/theme-github-auto.css @@ -378,6 +378,22 @@ .ui.basic.inverted.button { color: #f9fafb !important; } + + // border color of SSH/https cloning buttons (non-focused) + .ui.basic.blue.button, + .ui.basic.blue.buttons .button, + .ui.basic.primary.button, + .ui.basic.primary.buttons .button { + box-shadow: inset 0 0 0 1px transparent !important; + } + + // same for hover + ui.basic.blue.button:hover, + .ui.basic.blue.buttons .button:hover, + .ui.basic.primary.button:hover, + .ui.basic.primary.buttons .button:hover { + box-shadow: inset 0 0 0 0px transparent !important; + } } @media (prefers-color-scheme: dark) { :root { diff --git a/theme-github.css b/theme-github.css index 014cbe9..66e06e9 100644 --- a/theme-github.css +++ b/theme-github.css @@ -372,3 +372,19 @@ a.muted { .ui.basic.inverted.button { color: #f9fafb !important; } + +// border color of SSH/https cloning buttons (non-focused) +.ui.basic.blue.button, +.ui.basic.blue.buttons .button, +.ui.basic.primary.button, +.ui.basic.primary.buttons .button { + box-shadow: inset 0 0 0 1px transparent !important; +} + +// same for hover +ui.basic.blue.button:hover, +.ui.basic.blue.buttons .button:hover, +.ui.basic.primary.button:hover, +.ui.basic.primary.buttons .button:hover { + box-shadow: inset 0 0 0 0px transparent !important; +}