Update tag styles (#1437)

This commit is contained in:
toasted-nutbread 2021-02-23 18:42:04 -05:00 committed by GitHub
parent 28585e6ec6
commit 0a76de1b44
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -69,6 +69,7 @@
--tag-border-size: calc(1em * (var(--tag-border-size-no-units) / var(--font-size-no-units))); --tag-border-size: calc(1em * (var(--tag-border-size-no-units) / var(--font-size-no-units)));
--tag-border-style: solid; --tag-border-style: solid;
--tag-font-weight: bold; --tag-font-weight: bold;
--tag-border-radius: 0.25em;
--compact-list-separator: ' | '; --compact-list-separator: ' | ';
--list-padding1: 1.4em; --list-padding1: 1.4em;
@ -690,7 +691,7 @@ button.action-button[data-icon=source-term]::before {
flex-flow: row nowrap; flex-flow: row nowrap;
align-items: center; align-items: center;
background-color: var(--tag-color); background-color: var(--tag-color);
border-radius: 0.25em; border-radius: var(--tag-border-radius);
padding: calc(2.5em / var(--font-size-no-units)) 0.375em calc(2.5em / var(--font-size-no-units)) 0.375em; padding: calc(2.5em / var(--font-size-no-units)) 0.375em calc(2.5em / var(--font-size-no-units)) 0.375em;
color: var(--tag-text-color); color: var(--tag-text-color);
cursor: pointer; cursor: pointer;
@ -713,7 +714,7 @@ button.action-button[data-icon=source-term]::before {
top: 0; top: 0;
bottom: 0; bottom: 0;
right: 0; right: 0;
border-radius: 0.25em; border-radius: var(--tag-border-radius);
border: var(--tag-border-size) var(--tag-border-style) var(--tag-color); border: var(--tag-border-size) var(--tag-border-style) var(--tag-color);
border-left: none; border-left: none;
border-top-left-radius: 0; border-top-left-radius: 0;