aboutsummaryrefslogtreecommitdiffstats
path: root/web_src
diff options
context:
space:
mode:
authorMike L <cl.jeremy@qq.com>2020-08-28 19:39:41 +0200
committerGitHub <noreply@github.com>2020-08-28 13:39:41 -0400
commit1fe909757cead6c043f0831314b92234fa368ed8 (patch)
tree00775f4e0b798f85533a1bcf6d9d590e0dd4a297 /web_src
parent3bf1c4fad0f46868ecd75d780800c7ab026d7169 (diff)
downloadgitea-1fe909757cead6c043f0831314b92234fa368ed8.tar.gz
gitea-1fe909757cead6c043f0831314b92234fa368ed8.zip
Apply #12576 to top right reaction picker (#12623)
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Diffstat (limited to 'web_src')
-rw-r--r--web_src/less/_repository.less19
-rw-r--r--web_src/less/themes/theme-arc-green.less4
2 files changed, 10 insertions, 13 deletions
diff --git a/web_src/less/_repository.less b/web_src/less/_repository.less
index 80fb8edcf7..c29d0925da 100644
--- a/web_src/less/_repository.less
+++ b/web_src/less/_repository.less
@@ -2360,11 +2360,19 @@
font-size: 1.5em;
width: 39px;
left: 13px;
+ border-radius: 6px;
+ display: flex;
+ justify-content: center;
+ align-items: center;
img.emoji {
margin-right: 0;
}
}
+
+ > .item:hover {
+ background: #4183c4;
+ }
}
}
@@ -2408,17 +2416,6 @@
&:not(.active) a {
display: none;
}
-
- .item {
- border-radius: 6px;
- display: flex;
- justify-content: center;
- align-items: center;
- }
-
- .item:hover {
- background: #4183c4;
- }
}
&:hover .select-reaction a {
diff --git a/web_src/less/themes/theme-arc-green.less b/web_src/less/themes/theme-arc-green.less
index 0367e12436..0b03425ac8 100644
--- a/web_src/less/themes/theme-arc-green.less
+++ b/web_src/less/themes/theme-arc-green.less
@@ -710,8 +710,8 @@ a.ui.basic.green.label:hover {
border-color: #404552 !important;
}
-.repository .segment.reactions .select-reaction .item:hover {
- background: #305020;
+.repository .select-reaction .item:hover {
+ background: #305020 !important;
}
.ui.menu .item > .label {