summaryrefslogtreecommitdiffstats
path: root/web_src/less/_review.less
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2020-11-05 02:51:17 +0100
committerGitHub <noreply@github.com>2020-11-04 20:51:17 -0500
commit05efb335950c53a22415856aab3a970be0893113 (patch)
treeef94197d29c16c3ffa6205a8bf6da965ee420761 /web_src/less/_review.less
parentd7e09837809d92e6c876b4ccf18e19b69d6fee95 (diff)
downloadgitea-05efb335950c53a22415856aab3a970be0893113.tar.gz
gitea-05efb335950c53a22415856aab3a970be0893113.zip
Various style tweaks (#13418)
- Change code review '+' to SVG and increase size slightly - Set placeholder color in both themes - Set proper font for textareas - Fix black code in arc-green - Various arc-green fixes
Diffstat (limited to 'web_src/less/_review.less')
-rw-r--r--web_src/less/_review.less21
1 files changed, 7 insertions, 14 deletions
diff --git a/web_src/less/_review.less b/web_src/less/_review.less
index 1163b831ce..eb216970ee 100644
--- a/web_src/less/_review.less
+++ b/web_src/less/_review.less
@@ -1,19 +1,16 @@
.ui.button.add-code-comment {
- font-size: 14px;
- height: 16px;
- line-height: 12px !important;
- padding: 0;
- position: relative;
- width: 16px;
+ padding: 2px;
+ position: absolute;
+ margin-left: -22px;
z-index: 5;
- float: left;
- margin: 2px -10px 2px -20px;
opacity: 0;
transition: transform .1s ease-in-out;
- transform: scale(1, 1);
+ transform: scale(1);
+ box-shadow: none !important;
+ border: none !important;
&:hover {
- transform: scale(1.2, 1.2);
+ transform: scale(1.1);
}
}
@@ -71,10 +68,6 @@
cursor: pointer;
}
- .ui.form textarea {
- border: 0;
- }
-
.ui.active.tab {
padding: .5em;