From 92a7536741cf17c923f520602912f1ad26b88ac2 Mon Sep 17 00:00:00 2001 From: MattIPv4 Date: Tue, 30 May 2023 21:29:01 +0100 Subject: [PATCH] Fix code toolbar styling while we're here --- src/nginxconfig/scss/_code.scss | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/src/nginxconfig/scss/_code.scss b/src/nginxconfig/scss/_code.scss index 03bb695..b738129 100644 --- a/src/nginxconfig/scss/_code.scss +++ b/src/nginxconfig/scss/_code.scss @@ -1,5 +1,5 @@ /* -Copyright 2020 DigitalOcean +Copyright 2023 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at @@ -63,6 +63,22 @@ pre { .code-toolbar { > .toolbar { right: calc(.2em + 16px); + + > .toolbar-item { + > button { + background: rgba($input, .9); + border: 1px solid $input-border; + color: rgba($input-border, .75); + cursor: pointer; + transition: color $transition, background $transition; + + &:hover, + &:focus { + background: $input; + color: $input-border; + } + } + } } }