From 1dfead1eef5b9577e7565e5b43e393a8c23b8334 Mon Sep 17 00:00:00 2001 From: chriswatt Date: Sun, 7 Feb 2016 04:20:11 +0000 Subject: [PATCH 1/3] Add avatar arrows to new both new issue comment forms --- public/less/_repository.less | 55 +++++++++++++++++++++++------------- 1 file changed, 35 insertions(+), 20 deletions(-) diff --git a/public/less/_repository.less b/public/less/_repository.less index 659be635e9..11ea9ef1f5 100644 --- a/public/less/_repository.less +++ b/public/less/_repository.less @@ -268,9 +268,14 @@ } .content { margin-left: 4em; + #avatararrow; + &:after { + border-right-color: #fff; + } .markdown { font-size: 14px; } + } .metas { min-width: 220px; @@ -376,26 +381,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; - } + #avatararrow; font-weight: normal; padding: auto 15px; position: relative; @@ -498,6 +484,12 @@ .field:first-child { clear: none; } + .form { + #avatararrow; + &:after { + border-right-color: #fff; + } + } .tab.segment { border: none; padding: 0; @@ -1249,6 +1241,29 @@ } } +#avatararrow { + &: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 { From 16270ee9a43219aaa87e0d21ef93463a8cd1c8fe Mon Sep 17 00:00:00 2001 From: chriswatt Date: Sun, 7 Feb 2016 06:10:57 +0000 Subject: [PATCH 2/3] Add avatar arrow to pull request form --- public/less/_repository.less | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/public/less/_repository.less b/public/less/_repository.less index 11ea9ef1f5..18d019446b 100644 --- a/public/less/_repository.less +++ b/public/less/_repository.less @@ -275,7 +275,6 @@ .markdown { font-size: 14px; } - } .metas { min-width: 220px; @@ -589,6 +588,14 @@ padding-right: 10px; } } + .comment.form { + .content { + #avatararrow; + &:after { + border-right-color: #fff; + } + } + } } .filter.dropdown .menu { From 133397ee0d89921a4f5910324cec42ce15b57695 Mon Sep 17 00:00:00 2001 From: chriswatt Date: Sun, 7 Feb 2016 16:41:11 +0000 Subject: [PATCH 3/3] Rename #avatararrow to #avatar-arrow --- public/less/_repository.less | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/public/less/_repository.less b/public/less/_repository.less index 18d019446b..da4cb7d874 100644 --- a/public/less/_repository.less +++ b/public/less/_repository.less @@ -268,7 +268,7 @@ } .content { margin-left: 4em; - #avatararrow; + #avatar-arrow; &:after { border-right-color: #fff; } @@ -380,7 +380,7 @@ .content { margin-left: 4em; .header { - #avatararrow; + #avatar-arrow; font-weight: normal; padding: auto 15px; position: relative; @@ -484,7 +484,7 @@ clear: none; } .form { - #avatararrow; + #avatar-arrow; &:after { border-right-color: #fff; } @@ -590,7 +590,7 @@ } .comment.form { .content { - #avatararrow; + #avatar-arrow; &:after { border-right-color: #fff; } @@ -1248,7 +1248,7 @@ } } -#avatararrow { +#avatar-arrow { &:before, &:after { right: 100%; top: 20px;