summaryrefslogtreecommitdiffstats
path: root/web_src/less/_base.less
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2021-05-12 08:16:22 +0200
committerGitHub <noreply@github.com>2021-05-12 07:16:22 +0100
commitdd81c290529eb5692b46553b2fac120820872a1c (patch)
treebf1d1b9ef950210abe62b0038b0ec1bd4e4cbfd1 /web_src/less/_base.less
parent2a565478d17f4a1b59a77b0e2251dd7b7de862c4 (diff)
downloadgitea-dd81c290529eb5692b46553b2fac120820872a1c.tar.gz
gitea-dd81c290529eb5692b46553b2fac120820872a1c.zip
Reaction improvements (#15836)
- Add some spacing to inline reactions - Adjust colors and add variables
Diffstat (limited to 'web_src/less/_base.less')
-rw-r--r--web_src/less/_base.less4
1 files changed, 3 insertions, 1 deletions
diff --git a/web_src/less/_base.less b/web_src/less/_base.less
index 0499547291..e356c01cc0 100644
--- a/web_src/less/_base.less
+++ b/web_src/less/_base.less
@@ -96,7 +96,7 @@
--color-input-border: #dedede;
--color-input-border-hover: #cecece;
--color-navbar: #f8f8f8;
- --color-light: #00000004;
+ --color-light: #00000006;
--color-light-border: #0000001d;
--color-hover: #0000000f;
--color-active: #00000014;
@@ -113,6 +113,8 @@
--color-editor-line-highlight: var(--color-primary-light-6);
--color-project-board-bg: var(--color-secondary-light-4);
--color-caret: var(--color-text-dark);
+ --color-reaction-bg: #0000000a;
+ --color-reaction-active-bg: var(--color-primary-alpha-20);
/* backgrounds */
--checkbox-mask-checked: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="-1 -1 18 18" width="16" height="16"><path fill-rule="evenodd" d="M13.78 4.22a.75.75 0 010 1.06l-7.25 7.25a.75.75 0 01-1.06 0L2.22 9.28a.75.75 0 011.06-1.06L6 10.94l6.72-6.72a.75.75 0 011.06 0z"></path></svg>');
--checkbox-mask-indeterminate: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M2 7.75A.75.75 0 012.75 7h10a.75.75 0 010 1.5h-10A.75.75 0 012 7.75z"></path></svg>');