2012-02-26 17:41:53 -05:00
|
|
|
/**
|
|
|
|
* Notes
|
|
|
|
*/
|
2013-05-16 12:15:26 -04:00
|
|
|
|
2014-01-01 13:53:44 -05:00
|
|
|
@-webkit-keyframes targe3-note {
|
2016-11-30 08:25:25 -05:00
|
|
|
from { background: $note-targe3-outside; }
|
|
|
|
50% { background: $note-targe3-inside; }
|
|
|
|
to { background: $note-targe3-outside; }
|
2013-05-16 12:15:26 -04:00
|
|
|
}
|
|
|
|
|
2012-11-17 18:41:30 -05:00
|
|
|
ul.notes {
|
2012-11-23 11:33:43 -05:00
|
|
|
display: block;
|
|
|
|
list-style: none;
|
2016-03-16 19:29:47 -04:00
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
2012-12-02 14:53:50 -05:00
|
|
|
|
2016-10-24 16:22:06 -04:00
|
|
|
.note-created-ago,
|
|
|
|
.note-updated-at {
|
2016-02-29 10:49:48 -05:00
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
|
2017-04-06 14:41:30 -04:00
|
|
|
.discussion-body {
|
2017-05-22 15:00:56 -04:00
|
|
|
padding-top: 8px;
|
|
|
|
|
|
|
|
.panel {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
2017-04-06 14:41:30 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.discussion {
|
|
|
|
display: block;
|
|
|
|
position: relative;
|
2017-06-07 14:33:50 -04:00
|
|
|
|
|
|
|
.diff-content {
|
|
|
|
overflow: visible;
|
|
|
|
}
|
2017-04-06 14:41:30 -04:00
|
|
|
}
|
|
|
|
|
2017-06-21 22:22:08 -04:00
|
|
|
> li { // .timeline-entry
|
|
|
|
padding: 0;
|
2017-04-06 14:41:30 -04:00
|
|
|
display: block;
|
|
|
|
position: relative;
|
2017-06-21 22:22:08 -04:00
|
|
|
border-bottom: 0;
|
|
|
|
|
|
|
|
@include notes-media('min', $screen-sm-min) {
|
|
|
|
padding-left: $note-icon-gutter-width;
|
|
|
|
}
|
2017-04-06 14:41:30 -04:00
|
|
|
|
2017-06-21 22:22:08 -04:00
|
|
|
.timeline-entry-inner {
|
|
|
|
padding: $gl-padding $gl-btn-padding;
|
2017-05-26 15:01:42 -04:00
|
|
|
border-bottom: 1px solid $white-normal;
|
|
|
|
}
|
|
|
|
|
2017-06-21 22:22:08 -04:00
|
|
|
&:target,
|
|
|
|
&.target {
|
|
|
|
border-bottom: 1px solid $white-normal;
|
|
|
|
|
|
|
|
&:not(:first-child) {
|
|
|
|
border-top: 1px solid $white-normal;
|
|
|
|
margin-top: -1px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.timeline-entry-inner {
|
|
|
|
border-bottom: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.timeline-icon {
|
|
|
|
@include notes-media('min', $screen-sm-min) {
|
|
|
|
margin-left: -$note-icon-gutter-width;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.timeline-content {
|
|
|
|
margin-left: $note-icon-gutter-width;
|
|
|
|
|
|
|
|
@include notes-media('min', $screen-sm-min) {
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-05-05 06:57:29 -04:00
|
|
|
&.being-posted {
|
|
|
|
pointer-events: none;
|
|
|
|
opacity: 0.5;
|
|
|
|
|
|
|
|
.dummy-avatar {
|
|
|
|
background-color: $kdb-border;
|
|
|
|
border: 1px solid darken($kdb-border, 25%);
|
|
|
|
}
|
|
|
|
|
|
|
|
.note-headline-light,
|
|
|
|
.fa-spinner {
|
|
|
|
margin-left: 3px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-04-06 14:41:30 -04:00
|
|
|
&.note-discussion {
|
2017-06-21 22:22:08 -04:00
|
|
|
.timeline-entry-inner {
|
2017-05-22 15:00:56 -04:00
|
|
|
padding: $gl-padding 10px;
|
2017-04-06 14:41:30 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-08-22 20:31:17 -04:00
|
|
|
.editing-spinner {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.is-requesting {
|
|
|
|
.note-timestamp {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.editing-spinner {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-05-03 13:41:16 -04:00
|
|
|
&.is-editing {
|
2017-04-06 14:41:30 -04:00
|
|
|
.note-header,
|
|
|
|
.note-text,
|
|
|
|
.edited-text {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.note-edit-form {
|
|
|
|
display: block;
|
|
|
|
|
|
|
|
&.current-note-edit-form + .note-awards {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.note-body {
|
|
|
|
overflow-x: auto;
|
|
|
|
overflow-y: hidden;
|
|
|
|
|
|
|
|
.note-text {
|
|
|
|
@include md-typography;
|
|
|
|
// Reset ul style types since we're nested inside a ul already
|
|
|
|
@include bulleted-list;
|
2017-07-12 00:59:39 -04:00
|
|
|
word-wrap: break-word;
|
|
|
|
|
2017-04-06 14:41:30 -04:00
|
|
|
ul.task-list {
|
|
|
|
ul:not(.task-list) {
|
|
|
|
padding-left: 1.3em;
|
|
|
|
}
|
|
|
|
}
|
2017-04-27 07:28:53 -04:00
|
|
|
|
|
|
|
table {
|
|
|
|
@include markdown-table;
|
|
|
|
}
|
2017-04-06 14:41:30 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.note-awards {
|
|
|
|
.js-awards-block {
|
2017-05-26 15:01:42 -04:00
|
|
|
margin-top: 16px;
|
2017-04-06 14:41:30 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.note-header {
|
|
|
|
|
2017-05-25 00:32:37 -04:00
|
|
|
@include notes-media('max', $screen-xs-min) {
|
2017-04-06 14:41:30 -04:00
|
|
|
.inline {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.note-emoji-button {
|
2017-04-12 20:34:22 -04:00
|
|
|
position: relative;
|
|
|
|
line-height: 1;
|
|
|
|
|
2017-04-06 14:41:30 -04:00
|
|
|
.fa-spinner {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.is-loading {
|
|
|
|
.fa-smile-o {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.fa-spinner {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-09-08 10:11:41 -04:00
|
|
|
.system-note {
|
|
|
|
font-size: 14px;
|
2016-10-08 02:50:28 -04:00
|
|
|
clear: both;
|
|
|
|
|
2017-05-22 15:00:56 -04:00
|
|
|
.note-header-info {
|
2017-04-25 13:13:59 -04:00
|
|
|
padding-bottom: 0;
|
|
|
|
}
|
|
|
|
|
2016-10-08 02:50:28 -04:00
|
|
|
&.timeline-entry::after {
|
|
|
|
clear: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.system-note-message {
|
2016-12-28 10:56:37 -05:00
|
|
|
display: inline;
|
2016-11-21 14:26:47 -05:00
|
|
|
|
|
|
|
&::first-letter {
|
|
|
|
text-transform: lowercase;
|
|
|
|
}
|
2016-10-08 02:50:28 -04:00
|
|
|
|
|
|
|
a {
|
|
|
|
color: $gl-link-color;
|
|
|
|
}
|
2016-11-21 14:26:47 -05:00
|
|
|
|
|
|
|
p {
|
2016-12-28 10:56:37 -05:00
|
|
|
display: inline;
|
2016-11-21 14:26:47 -05:00
|
|
|
margin: 0;
|
|
|
|
|
|
|
|
&::first-letter {
|
|
|
|
text-transform: lowercase;
|
|
|
|
}
|
|
|
|
}
|
2016-10-08 02:50:28 -04:00
|
|
|
}
|
|
|
|
|
2017-05-26 15:01:42 -04:00
|
|
|
.timeline-icon {
|
|
|
|
float: left;
|
|
|
|
|
2017-06-21 22:22:08 -04:00
|
|
|
@include notes-media('min', $screen-sm-min) {
|
|
|
|
margin-left: 0;
|
|
|
|
width: auto;
|
|
|
|
}
|
|
|
|
|
2017-05-26 15:01:42 -04:00
|
|
|
svg {
|
|
|
|
width: 16px;
|
|
|
|
height: 16px;
|
|
|
|
fill: $gray-darkest;
|
2017-06-21 22:22:08 -04:00
|
|
|
margin-top: 2px;
|
2017-05-26 15:01:42 -04:00
|
|
|
}
|
|
|
|
}
|
2017-04-12 15:20:31 -04:00
|
|
|
|
2017-05-26 15:01:42 -04:00
|
|
|
.timeline-content {
|
2017-05-25 00:32:37 -04:00
|
|
|
@include notes-media('min', $screen-sm-min) {
|
2017-05-26 15:01:42 -04:00
|
|
|
margin-left: 30px;
|
2017-04-12 15:20:31 -04:00
|
|
|
}
|
2016-10-08 02:50:28 -04:00
|
|
|
}
|
|
|
|
|
2017-04-06 14:41:30 -04:00
|
|
|
.note-header {
|
|
|
|
padding-bottom: 0;
|
|
|
|
}
|
|
|
|
|
2016-10-08 02:50:28 -04:00
|
|
|
.note-body {
|
|
|
|
overflow: hidden;
|
|
|
|
|
|
|
|
.system-note-commit-list-toggler {
|
2017-02-14 21:30:07 -05:00
|
|
|
color: $gl-link-color;
|
2016-10-08 02:50:28 -04:00
|
|
|
display: none;
|
|
|
|
padding: 10px 0 0;
|
|
|
|
cursor: pointer;
|
2016-11-23 10:39:38 -05:00
|
|
|
position: relative;
|
|
|
|
z-index: 2;
|
2016-11-21 14:26:47 -05:00
|
|
|
|
|
|
|
&:hover {
|
|
|
|
color: $gl-link-color;
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
2016-10-08 02:50:28 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.note-text {
|
2017-07-09 04:30:05 -04:00
|
|
|
p:first-child {
|
2016-10-08 02:50:28 -04:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2017-10-29 11:24:11 -04:00
|
|
|
&.system-note-commit-list:not(.hide-shade) {
|
2016-11-29 07:07:20 -05:00
|
|
|
max-height: 70px;
|
2016-10-08 02:50:28 -04:00
|
|
|
overflow: hidden;
|
|
|
|
display: block;
|
|
|
|
|
|
|
|
ul {
|
2016-11-29 07:05:21 -05:00
|
|
|
margin: 3px 0 3px 16px !important;
|
2016-10-08 02:50:28 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
p:first-child {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
&::after {
|
|
|
|
content: '';
|
|
|
|
width: 100%;
|
2017-06-20 09:33:39 -04:00
|
|
|
height: 70px;
|
2016-10-08 02:50:28 -04:00
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
2016-11-23 10:39:38 -05:00
|
|
|
bottom: 0;
|
2016-12-07 13:37:41 -05:00
|
|
|
background: linear-gradient(rgba($white-light, 0.1) -100px, $white-light 100%);
|
2016-10-08 02:50:28 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2012-12-02 14:53:50 -05:00
|
|
|
}
|
|
|
|
}
|
2012-11-17 18:41:30 -05:00
|
|
|
|
2015-03-14 14:20:40 -04:00
|
|
|
// Diff code in discussion view
|
2015-03-26 02:21:13 -04:00
|
|
|
.discussion-body .diff-file {
|
2016-10-14 08:39:20 -04:00
|
|
|
.file-title {
|
|
|
|
cursor: default;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background-color: $gray-light;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-03-26 02:21:13 -04:00
|
|
|
.line_content {
|
2016-04-20 12:48:24 -04:00
|
|
|
white-space: pre-wrap;
|
2015-03-26 02:21:13 -04:00
|
|
|
}
|
2015-03-14 14:20:40 -04:00
|
|
|
}
|
|
|
|
|
2017-07-12 05:50:26 -04:00
|
|
|
.diff-file {
|
|
|
|
.is-over {
|
|
|
|
.add-diff-note {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
}
|
2012-11-17 18:41:30 -05:00
|
|
|
|
2017-07-12 05:50:26 -04:00
|
|
|
// Merge request notes in diffs
|
|
|
|
// Diff is inline
|
|
|
|
.notes_content .note-header .note-headline-light {
|
|
|
|
display: inline-block;
|
|
|
|
position: relative;
|
|
|
|
}
|
2012-11-20 11:46:55 -05:00
|
|
|
|
2017-07-12 05:50:26 -04:00
|
|
|
.notes_holder {
|
|
|
|
font-family: $regular_font;
|
2016-04-11 11:00:45 -04:00
|
|
|
|
2017-07-12 05:50:26 -04:00
|
|
|
td {
|
|
|
|
border: 1px solid $white-normal;
|
2017-11-02 19:59:51 -04:00
|
|
|
border-left: 0;
|
2016-04-11 11:00:45 -04:00
|
|
|
|
2017-07-12 05:50:26 -04:00
|
|
|
&.notes_line {
|
|
|
|
vertical-align: middle;
|
|
|
|
text-align: center;
|
|
|
|
padding: 10px 0;
|
|
|
|
background: $gray-light;
|
|
|
|
color: $text-color;
|
|
|
|
}
|
2016-04-11 11:00:45 -04:00
|
|
|
|
2017-07-12 05:50:26 -04:00
|
|
|
&.notes_line2 {
|
|
|
|
text-align: center;
|
|
|
|
padding: 10px 0;
|
|
|
|
border-left: 1px solid $note-line2-border !important;
|
2014-09-12 12:43:44 -04:00
|
|
|
}
|
2016-04-11 11:00:45 -04:00
|
|
|
|
2017-07-12 05:50:26 -04:00
|
|
|
&.notes_content {
|
|
|
|
background-color: $gray-light;
|
|
|
|
border-width: 1px 0;
|
|
|
|
padding: 0;
|
|
|
|
vertical-align: top;
|
|
|
|
white-space: normal;
|
|
|
|
|
|
|
|
&.parallel {
|
|
|
|
border-width: 1px;
|
2017-03-30 22:34:14 -04:00
|
|
|
}
|
|
|
|
|
2017-07-12 05:50:26 -04:00
|
|
|
.discussion-notes {
|
|
|
|
&:not(:first-child) {
|
|
|
|
border-top: 1px solid $white-normal;
|
|
|
|
margin-top: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:not(:last-child) {
|
|
|
|
border-bottom: 1px solid $white-normal;
|
|
|
|
margin-bottom: 20px;
|
|
|
|
}
|
2017-03-30 22:34:14 -04:00
|
|
|
}
|
|
|
|
|
2017-07-12 05:50:26 -04:00
|
|
|
.notes {
|
|
|
|
background-color: $white-light;
|
|
|
|
}
|
2016-05-06 10:21:04 -04:00
|
|
|
|
2017-07-12 05:50:26 -04:00
|
|
|
a code {
|
|
|
|
top: 0;
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
2016-05-06 10:21:04 -04:00
|
|
|
}
|
2012-11-20 11:46:55 -05:00
|
|
|
}
|
2012-11-17 18:41:30 -05:00
|
|
|
}
|
|
|
|
}
|
2012-12-02 14:53:50 -05:00
|
|
|
|
2016-03-29 11:25:26 -04:00
|
|
|
.discussion-header,
|
2017-08-10 15:25:43 -04:00
|
|
|
.note-header-info {
|
2016-03-29 11:25:26 -04:00
|
|
|
a {
|
|
|
|
color: inherit;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
color: $gl-link-color;
|
2017-03-07 02:10:11 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
&:focus,
|
|
|
|
&:hover {
|
2016-03-29 11:25:26 -04:00
|
|
|
text-decoration: none;
|
2017-12-04 06:00:52 -05:00
|
|
|
|
|
|
|
.note-header-author-name {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
2016-03-29 11:25:26 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-04-21 03:54:24 -04:00
|
|
|
.author_link {
|
2016-12-30 15:18:27 -05:00
|
|
|
color: $gl-text-color;
|
2016-04-21 03:54:24 -04:00
|
|
|
}
|
2016-03-29 11:25:26 -04:00
|
|
|
}
|
|
|
|
|
2016-10-08 02:50:28 -04:00
|
|
|
.discussion-header {
|
|
|
|
font-size: 14px;
|
|
|
|
}
|
|
|
|
|
2017-04-12 02:46:51 -04:00
|
|
|
.note-header {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
2017-05-05 10:47:02 -04:00
|
|
|
|
2017-05-25 00:32:37 -04:00
|
|
|
@include notes-media('max', $screen-xs-max) {
|
2017-05-05 10:47:02 -04:00
|
|
|
flex-flow: row wrap;
|
|
|
|
}
|
2017-04-12 02:46:51 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.note-header-info {
|
|
|
|
min-width: 0;
|
2017-05-22 15:00:56 -04:00
|
|
|
padding-bottom: 8px;
|
2017-08-17 20:27:50 -04:00
|
|
|
|
|
|
|
&.discussion {
|
|
|
|
padding-bottom: 0;
|
|
|
|
}
|
2017-04-12 02:46:51 -04:00
|
|
|
}
|
|
|
|
|
2017-05-21 16:38:33 -04:00
|
|
|
.system-note .note-header-info {
|
|
|
|
padding-bottom: 0;
|
|
|
|
}
|
|
|
|
|
2017-05-25 00:57:33 -04:00
|
|
|
.note-header-author-name {
|
2017-05-25 00:32:37 -04:00
|
|
|
@include notes-media('max', $screen-xs-max) {
|
2017-05-25 00:57:33 -04:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-12-28 10:56:37 -05:00
|
|
|
.note-headline-light {
|
|
|
|
display: inline;
|
|
|
|
|
2017-05-25 00:32:37 -04:00
|
|
|
@include notes-media('max', $screen-xs-min) {
|
2016-12-28 10:56:37 -05:00
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-03-29 11:25:26 -04:00
|
|
|
.note-headline-light,
|
|
|
|
.discussion-headline-light {
|
2016-03-30 03:48:39 -04:00
|
|
|
color: $notes-light-color;
|
2016-03-29 11:25:26 -04:00
|
|
|
}
|
|
|
|
|
2016-04-14 09:50:48 -04:00
|
|
|
.discussion-headline-light {
|
|
|
|
a {
|
|
|
|
color: $gl-link-color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-04-12 02:46:51 -04:00
|
|
|
.note-headline-meta {
|
|
|
|
display: inline-block;
|
|
|
|
white-space: nowrap;
|
2017-04-21 15:32:51 -04:00
|
|
|
|
|
|
|
.system-note-message {
|
|
|
|
white-space: normal;
|
|
|
|
}
|
2017-12-04 06:00:52 -05:00
|
|
|
|
|
|
|
a:hover {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
2017-04-12 02:46:51 -04:00
|
|
|
}
|
|
|
|
|
2012-12-02 14:53:50 -05:00
|
|
|
/**
|
2012-12-03 15:43:17 -05:00
|
|
|
* Actions for Discussions/Notes
|
2012-12-02 14:53:50 -05:00
|
|
|
*/
|
2012-12-03 15:43:17 -05:00
|
|
|
|
2017-04-12 02:46:51 -04:00
|
|
|
.discussion-actions {
|
2016-03-29 11:25:26 -04:00
|
|
|
float: right;
|
|
|
|
margin-left: 10px;
|
2016-12-12 16:49:12 -05:00
|
|
|
color: $gray-darkest;
|
2017-10-10 19:43:55 -04:00
|
|
|
|
2017-07-12 05:50:26 -04:00
|
|
|
@include notes-media('max', $screen-md-max) {
|
|
|
|
float: none;
|
|
|
|
margin-left: 0;
|
2017-10-10 19:43:55 -04:00
|
|
|
}
|
2017-11-05 18:13:11 -05:00
|
|
|
|
|
|
|
.btn-group > .discussion-next-btn {
|
|
|
|
margin-left: -1px;
|
|
|
|
}
|
2016-03-29 10:17:20 -04:00
|
|
|
}
|
2012-12-02 14:53:50 -05:00
|
|
|
|
2016-06-01 07:33:32 -04:00
|
|
|
.note-actions {
|
2017-07-18 01:09:04 -04:00
|
|
|
align-self: flex-start;
|
2017-04-12 02:46:51 -04:00
|
|
|
flex-shrink: 0;
|
2017-07-18 01:09:04 -04:00
|
|
|
display: inline-flex;
|
|
|
|
align-items: center;
|
2017-04-12 02:46:51 -04:00
|
|
|
margin-left: 10px;
|
|
|
|
color: $gray-darkest;
|
2016-06-13 12:52:34 -04:00
|
|
|
|
2017-05-25 00:32:37 -04:00
|
|
|
@include notes-media('max', $screen-xs-max) {
|
2017-05-05 10:47:02 -04:00
|
|
|
float: none;
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
2017-06-07 14:33:50 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.more-actions {
|
2017-07-18 01:09:04 -04:00
|
|
|
display: flex;
|
|
|
|
align-items: flex-end;
|
2017-06-07 14:33:50 -04:00
|
|
|
|
|
|
|
.tooltip {
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.more-actions-toggle {
|
|
|
|
&:hover .icon,
|
|
|
|
&:focus .icon {
|
|
|
|
color: $blue-600;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.more-actions-dropdown {
|
|
|
|
width: 180px;
|
|
|
|
min-width: 180px;
|
2016-06-01 07:33:32 -04:00
|
|
|
}
|
|
|
|
|
2017-07-18 01:09:04 -04:00
|
|
|
.note-actions-item {
|
2017-08-15 10:58:48 -04:00
|
|
|
margin-left: 12px;
|
2017-07-18 01:09:04 -04:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
&.more-actions {
|
|
|
|
// compensate for narrow icon
|
|
|
|
margin-left: 10px;
|
2016-04-14 09:56:05 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-05-10 18:41:46 -04:00
|
|
|
.note-action-button {
|
2017-07-18 01:09:04 -04:00
|
|
|
line-height: 1;
|
|
|
|
padding: 0;
|
|
|
|
min-width: 16px;
|
|
|
|
color: $gray-darkest;
|
2017-10-17 13:04:33 -04:00
|
|
|
fill: $gray-darkest;
|
2016-06-01 07:33:32 -04:00
|
|
|
|
2016-03-29 10:17:20 -04:00
|
|
|
.fa {
|
2016-03-31 11:18:45 -04:00
|
|
|
position: relative;
|
2017-07-18 01:09:04 -04:00
|
|
|
font-size: 16px;
|
2016-03-31 11:18:45 -04:00
|
|
|
}
|
|
|
|
|
2017-04-06 09:38:09 -04:00
|
|
|
svg {
|
2017-11-28 14:07:25 -05:00
|
|
|
@include btn-svg;
|
2017-04-06 09:38:09 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.award-control-icon-positive,
|
|
|
|
.award-control-icon-super-positive {
|
|
|
|
position: absolute;
|
2017-04-12 20:34:22 -04:00
|
|
|
top: 0;
|
|
|
|
left: 0;
|
2017-04-06 09:38:09 -04:00
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&.is-active {
|
2016-08-04 11:53:05 -04:00
|
|
|
.danger-highlight {
|
|
|
|
color: $gl-text-red;
|
2016-04-01 15:27:39 -04:00
|
|
|
}
|
|
|
|
|
2016-08-04 11:53:05 -04:00
|
|
|
.link-highlight {
|
|
|
|
color: $gl-link-color;
|
2017-10-17 13:04:33 -04:00
|
|
|
fill: $gl-link-color;
|
2017-04-06 09:38:09 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.award-control-icon-neutral {
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.award-control-icon-positive {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.is-active {
|
|
|
|
.award-control-icon-positive {
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.award-control-icon-super-positive {
|
|
|
|
opacity: 1;
|
2016-04-01 15:27:39 -04:00
|
|
|
}
|
2016-03-29 10:17:20 -04:00
|
|
|
}
|
2016-03-29 11:25:26 -04:00
|
|
|
}
|
2012-12-02 14:53:50 -05:00
|
|
|
|
2016-03-29 11:25:26 -04:00
|
|
|
.discussion-toggle-button {
|
2017-03-14 01:02:30 -04:00
|
|
|
padding: 0;
|
|
|
|
background-color: transparent;
|
|
|
|
border: 0;
|
2016-03-29 11:25:26 -04:00
|
|
|
line-height: 20px;
|
|
|
|
font-size: 13px;
|
2017-03-14 01:02:30 -04:00
|
|
|
transition: color 0.1s linear;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
color: $gl-link-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:focus {
|
|
|
|
text-decoration: underline;
|
|
|
|
outline: none;
|
|
|
|
color: $gl-link-color;
|
|
|
|
}
|
2016-03-29 10:17:20 -04:00
|
|
|
|
2016-03-29 11:25:26 -04:00
|
|
|
.fa {
|
|
|
|
margin-right: 3px;
|
|
|
|
font-size: 10px;
|
|
|
|
line-height: 18px;
|
|
|
|
vertical-align: top;
|
2012-12-02 14:53:50 -05:00
|
|
|
}
|
|
|
|
}
|
2016-03-29 10:17:20 -04:00
|
|
|
|
|
|
|
.note-role {
|
2017-12-07 04:11:41 -05:00
|
|
|
margin: 0 3px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.note-role-special {
|
2016-03-29 10:17:20 -04:00
|
|
|
position: relative;
|
2017-08-15 09:21:27 -04:00
|
|
|
display: inline-block;
|
2017-12-07 04:11:41 -05:00
|
|
|
color: $gl-text-color-secondary;
|
2016-03-29 10:17:20 -04:00
|
|
|
font-size: 12px;
|
2017-12-07 04:11:41 -05:00
|
|
|
text-shadow: 0 0 15px $gl-text-color-inverted;
|
2016-03-29 10:17:20 -04:00
|
|
|
}
|
|
|
|
|
2012-11-20 11:46:55 -05:00
|
|
|
/**
|
2012-12-03 15:43:17 -05:00
|
|
|
* Line note button on the side of diffs
|
2012-11-20 11:46:55 -05:00
|
|
|
*/
|
2012-12-03 15:43:17 -05:00
|
|
|
|
2017-06-12 14:43:21 -04:00
|
|
|
.line_holder .is-over:not(.no-comment-btn) {
|
|
|
|
.add-diff-note {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-02-22 12:30:17 -05:00
|
|
|
.add-diff-note {
|
2017-10-07 00:25:17 -04:00
|
|
|
@include btn-comment-icon;
|
2017-06-12 14:43:21 -04:00
|
|
|
opacity: 0;
|
2017-02-22 12:30:17 -05:00
|
|
|
margin-top: -2px;
|
|
|
|
margin-left: -55px;
|
|
|
|
position: absolute;
|
|
|
|
z-index: 10;
|
|
|
|
}
|
2012-07-27 04:22:05 -04:00
|
|
|
|
2017-05-21 16:38:33 -04:00
|
|
|
.discussion-body,
|
|
|
|
.diff-file {
|
|
|
|
.notes .note {
|
2017-06-21 22:22:08 -04:00
|
|
|
border-bottom: 1px solid $white-normal;
|
2017-05-26 15:01:42 -04:00
|
|
|
|
2017-06-21 22:22:08 -04:00
|
|
|
.timeline-entry-inner {
|
|
|
|
padding-left: $gl-padding;
|
|
|
|
padding-right: $gl-padding;
|
2017-11-02 19:59:51 -04:00
|
|
|
border-bottom: 0;
|
2017-05-21 16:38:33 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-04-04 06:00:29 -04:00
|
|
|
.disabled-comment {
|
|
|
|
background-color: $gray-light;
|
|
|
|
border-radius: $border-radius-base;
|
|
|
|
border: 1px solid $border-gray-normal;
|
|
|
|
color: $note-disabled-comment-color;
|
2017-05-26 15:01:42 -04:00
|
|
|
padding: 90px 0;
|
2016-04-04 06:00:29 -04:00
|
|
|
|
2017-08-31 06:38:43 -04:00
|
|
|
&.discussion-locked {
|
2017-11-02 19:59:51 -04:00
|
|
|
border: 0;
|
2017-08-31 06:38:43 -04:00
|
|
|
background-color: $white-light;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2016-04-04 06:00:29 -04:00
|
|
|
a {
|
|
|
|
color: $gl-link-color;
|
|
|
|
}
|
|
|
|
}
|
2016-06-30 12:21:57 -04:00
|
|
|
|
2016-07-27 04:27:00 -04:00
|
|
|
.line-resolve-all-container {
|
2017-05-25 00:32:37 -04:00
|
|
|
@include notes-media('min', $screen-sm-min) {
|
2017-04-18 21:56:24 -04:00
|
|
|
margin-right: 0;
|
|
|
|
padding-left: $gl-padding;
|
|
|
|
}
|
|
|
|
|
|
|
|
> div {
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
|
2016-07-27 04:27:00 -04:00
|
|
|
.btn-group {
|
|
|
|
margin-left: -4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.discussion-next-btn {
|
|
|
|
border-top-left-radius: 0;
|
|
|
|
border-bottom-left-radius: 0;
|
|
|
|
}
|
2017-02-27 10:01:56 -05:00
|
|
|
|
2017-09-20 15:39:15 -04:00
|
|
|
.btn {
|
|
|
|
svg path {
|
|
|
|
fill: $gray-darkest;
|
|
|
|
}
|
|
|
|
|
2017-09-23 11:04:17 -04:00
|
|
|
&.discussion-create-issue-btn {
|
|
|
|
margin-left: -4px;
|
|
|
|
border-radius: 0;
|
|
|
|
border-right: 0;
|
2017-02-27 10:01:56 -05:00
|
|
|
|
2017-09-23 11:04:17 -04:00
|
|
|
a {
|
|
|
|
padding: 0;
|
|
|
|
line-height: 0;
|
2017-02-27 10:01:56 -05:00
|
|
|
|
2017-09-23 11:04:17 -04:00
|
|
|
&:hover {
|
|
|
|
text-decoration: none;
|
|
|
|
border: 0;
|
|
|
|
}
|
2017-02-27 10:01:56 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2016-07-27 04:27:00 -04:00
|
|
|
}
|
|
|
|
|
2016-06-30 12:21:57 -04:00
|
|
|
.line-resolve-all {
|
2017-01-09 15:52:28 -05:00
|
|
|
vertical-align: middle;
|
2016-07-27 04:27:00 -04:00
|
|
|
display: inline-block;
|
2017-05-26 10:13:18 -04:00
|
|
|
padding: 5px 10px 6px;
|
2016-12-12 17:26:21 -05:00
|
|
|
background-color: $gray-light;
|
2016-06-30 12:21:57 -04:00
|
|
|
border: 1px solid $border-color;
|
2016-07-04 10:00:39 -04:00
|
|
|
border-radius: $border-radius-default;
|
2016-06-30 12:21:57 -04:00
|
|
|
|
2016-07-27 04:27:00 -04:00
|
|
|
&.has-next-btn {
|
|
|
|
border-top-right-radius: 0;
|
|
|
|
border-bottom-right-radius: 0;
|
2017-01-09 15:52:28 -05:00
|
|
|
border-right: 0;
|
2016-07-27 04:27:00 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.line-resolve-btn {
|
|
|
|
margin-right: 5px;
|
2017-05-26 10:13:18 -04:00
|
|
|
|
|
|
|
svg {
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
2016-06-30 12:21:57 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.line-resolve-btn {
|
|
|
|
position: relative;
|
2017-05-17 15:55:56 -04:00
|
|
|
top: 0;
|
2016-06-30 12:21:57 -04:00
|
|
|
padding: 0;
|
|
|
|
background-color: transparent;
|
2017-11-02 19:59:51 -04:00
|
|
|
border: 0;
|
2016-06-30 12:21:57 -04:00
|
|
|
outline: 0;
|
2017-09-13 12:08:12 -04:00
|
|
|
color: $gray-darkest;
|
2017-08-24 21:28:44 -04:00
|
|
|
transition: color $general-hover-transition-duration $general-hover-transition-curve;
|
2016-06-30 12:21:57 -04:00
|
|
|
|
2016-07-26 10:57:14 -04:00
|
|
|
&.is-disabled {
|
|
|
|
cursor: default;
|
|
|
|
}
|
|
|
|
|
2017-08-24 21:28:44 -04:00
|
|
|
&:not(.is-disabled) {
|
|
|
|
&:hover,
|
|
|
|
&:focus {
|
|
|
|
color: $gl-text-green;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-06-30 12:21:57 -04:00
|
|
|
&.is-active {
|
2016-07-27 04:27:00 -04:00
|
|
|
color: $gl-text-green;
|
2016-06-30 12:21:57 -04:00
|
|
|
|
2017-08-24 21:28:44 -04:00
|
|
|
&:hover,
|
|
|
|
&:focus {
|
|
|
|
color: $gl-text-green-hover;
|
2016-06-30 12:21:57 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-04-12 02:42:50 -04:00
|
|
|
.loading {
|
|
|
|
margin: 0;
|
|
|
|
height: auto;
|
|
|
|
}
|
2016-06-30 12:21:57 -04:00
|
|
|
}
|
2016-07-27 04:27:00 -04:00
|
|
|
|
2017-05-26 10:13:18 -04:00
|
|
|
.line-resolve-text {
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|