aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2016-02-07 11:45:37 -0500
committerUnknwon <u@gogs.io>2016-02-07 11:45:37 -0500
commit3b102a71a2cef4a3cdb748bbc6e0499fdec5e3b4 (patch)
tree42341f7a1ecae443a3149257d50d29477b543584
parente2b4a24cb63fe0a99237030509be3d24d0f40f0f (diff)
parent133397ee0d89921a4f5910324cec42ce15b57695 (diff)
downloadgitea-3b102a71a2cef4a3cdb748bbc6e0499fdec5e3b4.tar.gz
gitea-3b102a71a2cef4a3cdb748bbc6e0499fdec5e3b4.zip
Merge pull request #2576 from chriswatt/commentarrows
Add avatar arrows to both pull request and issue forms
-rw-r--r--public/less/_repository.less62
1 files changed, 42 insertions, 20 deletions
diff --git a/public/less/_repository.less b/public/less/_repository.less
index 659be635e9..da4cb7d874 100644
--- a/public/less/_repository.less
+++ b/public/less/_repository.less
@@ -268,6 +268,10 @@
}
.content {
margin-left: 4em;
+ #avatar-arrow;
+ &:after {
+ border-right-color: #fff;
+ }
.markdown {
font-size: 14px;
}
@@ -376,26 +380,7 @@
.content {
margin-left: 4em;
.header {
- &:before, &:after {
- right: 100%;
- top: 50%;
- border: solid transparent;
- content: " ";
- height: 0;
- width: 0;
- position: absolute;
- pointer-events: none;
- }
- &:before {
- border-right-color: #D4D4D5;
- border-width: 9px;
- margin-top: -9px;
- }
- &:after {
- border-right-color: #f7f7f7;
- border-width: 8px;
- margin-top: -8px;
- }
+ #avatar-arrow;
font-weight: normal;
padding: auto 15px;
position: relative;
@@ -498,6 +483,12 @@
.field:first-child {
clear: none;
}
+ .form {
+ #avatar-arrow;
+ &:after {
+ border-right-color: #fff;
+ }
+ }
.tab.segment {
border: none;
padding: 0;
@@ -597,6 +588,14 @@
padding-right: 10px;
}
}
+ .comment.form {
+ .content {
+ #avatar-arrow;
+ &:after {
+ border-right-color: #fff;
+ }
+ }
+ }
}
.filter.dropdown .menu {
@@ -1249,6 +1248,29 @@
}
}
+#avatar-arrow {
+ &:before, &:after {
+ right: 100%;
+ top: 20px;
+ border: solid transparent;
+ content: " ";
+ height: 0;
+ width: 0;
+ position: absolute;
+ pointer-events: none;
+ }
+ &:before {
+ border-right-color: #D4D4D5;
+ border-width: 9px;
+ margin-top: -9px;
+ }
+ &:after {
+ border-right-color: #f7f7f7;
+ border-width: 8px;
+ margin-top: -8px;
+ }
+}
+
#transfer-repo-modal,
#delete-repo-modal {
.ui.message {