Browse Source

Merge pull request #2576 from chriswatt/commentarrows

Add avatar arrows to both pull request and issue forms
for-closed-social
Unknwon 8 years ago
parent
commit
3b102a71a2
1 changed files with 42 additions and 20 deletions
  1. +42
    -20
      public/less/_repository.less

+ 42
- 20
public/less/_repository.less View File

@ -268,6 +268,10 @@
} }
.content { .content {
margin-left: 4em; margin-left: 4em;
#avatar-arrow;
&:after {
border-right-color: #fff;
}
.markdown { .markdown {
font-size: 14px; font-size: 14px;
} }
@ -376,26 +380,7 @@
.content { .content {
margin-left: 4em; margin-left: 4em;
.header { .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; font-weight: normal;
padding: auto 15px; padding: auto 15px;
position: relative; position: relative;
@ -498,6 +483,12 @@
.field:first-child { .field:first-child {
clear: none; clear: none;
} }
.form {
#avatar-arrow;
&:after {
border-right-color: #fff;
}
}
.tab.segment { .tab.segment {
border: none; border: none;
padding: 0; padding: 0;
@ -597,6 +588,14 @@
padding-right: 10px; padding-right: 10px;
} }
} }
.comment.form {
.content {
#avatar-arrow;
&:after {
border-right-color: #fff;
}
}
}
} }
.filter.dropdown .menu { .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, #transfer-repo-modal,
#delete-repo-modal { #delete-repo-modal {
.ui.message { .ui.message {

Loading…
Cancel
Save