aboutsummaryrefslogtreecommitdiffstats
path: root/web_src/css
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2023-10-13 10:19:21 +0200
committerGitHub <noreply@github.com>2023-10-13 08:19:21 +0000
commit532f166c4dc7087a98e86aa1de5b697e6b5c6e4f (patch)
tree75a5ff4b1140823ce58c2d865163b3416bcc3044 /web_src/css
parent3e9a379d38eae8bec12ad49a4488b8e2940729d1 (diff)
downloadgitea-532f166c4dc7087a98e86aa1de5b697e6b5c6e4f.tar.gz
gitea-532f166c4dc7087a98e86aa1de5b697e6b5c6e4f.zip
Enable shorthands in `declaration-strict-value` linter (#27597)
Enable [shorthand matching](https://github.com/AndyOGo/stylelint-declaration-strict-value#expandshorthand) in this lint rule and match color properties by regex. Patterns like this will now fail lint: ```css background: #123456; border: 1px sold rgba(0,0,0,0); ```
Diffstat (limited to 'web_src/css')
-rw-r--r--web_src/css/base.css2
1 files changed, 1 insertions, 1 deletions
diff --git a/web_src/css/base.css b/web_src/css/base.css
index efb2553db4..9661cdecad 100644
--- a/web_src/css/base.css
+++ b/web_src/css/base.css
@@ -1801,7 +1801,7 @@ a.ui.basic.label:hover {
table th[data-sortt-asc]:hover,
table th[data-sortt-desc]:hover {
- background: rgba(0, 0, 0, 0.1) !important;
+ background: var(--color-hover) !important;
cursor: pointer !important;
}