2012-02-26 23:41:53 +01:00
|
|
|
/**
|
|
|
|
* Notes
|
|
|
|
*/
|
2012-11-18 00:41:30 +01:00
|
|
|
ul.notes {
|
2012-11-23 17:33:43 +01:00
|
|
|
display: block;
|
|
|
|
list-style: none;
|
|
|
|
margin: 0px;
|
|
|
|
padding: 0px;
|
2012-12-02 20:53:50 +01:00
|
|
|
|
|
|
|
.discussion-header,
|
|
|
|
.note-header {
|
|
|
|
@extend .cgray;
|
|
|
|
padding-top: 5px;
|
|
|
|
padding-bottom: 15px;
|
|
|
|
|
|
|
|
.avatar {
|
|
|
|
float: left;
|
|
|
|
margin-right: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.discussion-last-update,
|
|
|
|
.note-last-update {
|
|
|
|
font-style: italic;
|
|
|
|
}
|
2013-01-17 21:35:45 +01:00
|
|
|
.author {
|
2012-12-02 20:53:50 +01:00
|
|
|
color: $style_color;
|
|
|
|
font-weight: bold;
|
|
|
|
&:hover {
|
|
|
|
color: $primary_color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.discussion {
|
|
|
|
padding: 8px 0;
|
|
|
|
overflow: hidden;
|
|
|
|
display: block;
|
|
|
|
position:relative;
|
|
|
|
|
|
|
|
.discussion-body {
|
|
|
|
margin-left: 50px;
|
|
|
|
|
2012-12-01 13:49:21 +01:00
|
|
|
.file,
|
2012-12-02 20:53:50 +01:00
|
|
|
.discussion-hidden,
|
|
|
|
.notes {
|
|
|
|
@extend .borders;
|
|
|
|
background-color: #F9F9F9;
|
|
|
|
}
|
2012-12-01 13:49:21 +01:00
|
|
|
.file .notes {
|
2012-12-02 20:43:39 +01:00
|
|
|
/* reset */
|
|
|
|
background: inherit;
|
|
|
|
border: none;
|
|
|
|
@include box-shadow(none);
|
|
|
|
|
2012-12-02 20:53:50 +01:00
|
|
|
}
|
|
|
|
.discussion-hidden .note {
|
|
|
|
@extend .cgray;
|
|
|
|
padding: 8px;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
.notes .note {
|
|
|
|
border-color: #ddd;
|
|
|
|
padding: 8px;
|
|
|
|
}
|
2012-12-02 20:43:39 +01:00
|
|
|
.reply-btn {
|
|
|
|
margin-top: 8px;
|
|
|
|
}
|
2012-12-02 20:53:50 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.note {
|
|
|
|
padding: 8px 0;
|
|
|
|
overflow: hidden;
|
|
|
|
display: block;
|
|
|
|
position:relative;
|
|
|
|
p { color: $style_color; }
|
|
|
|
|
|
|
|
.avatar {
|
2012-11-22 03:20:41 +01:00
|
|
|
margin-top: 3px;
|
|
|
|
}
|
|
|
|
.attachment {
|
2013-01-15 10:12:17 +01:00
|
|
|
font-size: 14px;
|
2012-11-22 03:20:41 +01:00
|
|
|
margin-top: -20px;
|
2012-12-02 20:53:50 +01:00
|
|
|
}
|
|
|
|
.note-body {
|
2012-11-22 03:20:41 +01:00
|
|
|
margin-left: 45px;
|
2012-12-02 20:53:50 +01:00
|
|
|
}
|
|
|
|
.note-header {
|
|
|
|
padding-bottom: 5px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2012-11-18 00:41:30 +01:00
|
|
|
// paint top or bottom borders depending on notes direction
|
|
|
|
&:not(.reversed) .note,
|
|
|
|
&:not(.reversed) .discussion {
|
|
|
|
border-bottom: 1px solid #eee;
|
|
|
|
}
|
|
|
|
&.reversed .note,
|
|
|
|
&.reversed .discussion {
|
|
|
|
border-top: 1px solid #eee;
|
|
|
|
}
|
2012-12-02 20:53:50 +01:00
|
|
|
}
|
2012-11-18 00:41:30 +01:00
|
|
|
|
2012-12-01 13:49:21 +01:00
|
|
|
.file .notes_holder {
|
2012-11-18 00:41:30 +01:00
|
|
|
font-family: $sansFontFamily;
|
|
|
|
font-size: 13px;
|
|
|
|
line-height: 18px;
|
|
|
|
|
2012-11-20 17:46:55 +01:00
|
|
|
td {
|
|
|
|
border: 1px solid #ddd;
|
|
|
|
border-left: none;
|
|
|
|
|
|
|
|
&.notes_line {
|
|
|
|
text-align: center;
|
|
|
|
padding: 10px 0;
|
|
|
|
}
|
|
|
|
&.notes_content {
|
|
|
|
background-color: $white;
|
|
|
|
border-width: 1px 0;
|
|
|
|
padding-top: 0;
|
|
|
|
}
|
2012-11-18 00:41:30 +01:00
|
|
|
}
|
|
|
|
|
2012-12-02 20:43:39 +01:00
|
|
|
.reply-btn {
|
2012-11-18 00:41:30 +01:00
|
|
|
margin-top: 8px;
|
|
|
|
}
|
|
|
|
}
|
2012-12-02 20:53:50 +01:00
|
|
|
|
|
|
|
/**
|
2012-12-03 21:43:17 +01:00
|
|
|
* Actions for Discussions/Notes
|
2012-12-02 20:53:50 +01:00
|
|
|
*/
|
2012-12-03 21:43:17 +01:00
|
|
|
|
2012-12-02 20:53:50 +01:00
|
|
|
.discussion,
|
|
|
|
.note {
|
|
|
|
&.note:hover {
|
|
|
|
.note-actions { display: block; }
|
|
|
|
}
|
|
|
|
.discussion-header:hover {
|
|
|
|
.discussion-actions { display: block; }
|
|
|
|
}
|
|
|
|
|
|
|
|
.discussion-actions,
|
|
|
|
.note-actions {
|
|
|
|
display: none;
|
|
|
|
float: right;
|
|
|
|
|
|
|
|
[class^="icon-"],
|
|
|
|
[class*="icon-"] {
|
|
|
|
font-size: 16px;
|
|
|
|
line-height: 16px;
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
|
|
|
@extend .cgray;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
color: $primary_color;
|
|
|
|
&.danger { @extend .cred; }
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2012-12-01 13:49:21 +01:00
|
|
|
.file .note .note-actions {
|
2012-12-02 20:53:50 +01:00
|
|
|
right: 0;
|
|
|
|
top: 0;
|
2011-11-12 12:04:43 +01:00
|
|
|
}
|
|
|
|
|
2012-09-13 02:12:44 +02:00
|
|
|
|
2011-12-28 00:29:53 +01:00
|
|
|
|
2012-11-20 17:46:55 +01:00
|
|
|
/**
|
2012-12-03 21:43:17 +01:00
|
|
|
* Line note button on the side of diffs
|
2012-11-20 17:46:55 +01:00
|
|
|
*/
|
2012-12-03 21:43:17 +01:00
|
|
|
|
2012-12-01 13:49:21 +01:00
|
|
|
.file tr.line_holder {
|
2012-11-20 17:46:55 +01:00
|
|
|
.add-diff-note {
|
2012-11-21 23:18:12 +01:00
|
|
|
background: url("diff_note_add.png") no-repeat left 0;
|
|
|
|
height: 22px;
|
|
|
|
margin-left: -65px;
|
|
|
|
position: absolute;
|
|
|
|
width: 22px;
|
|
|
|
z-index: 10;
|
|
|
|
|
|
|
|
// "hide" it by default
|
2012-11-20 17:46:55 +01:00
|
|
|
opacity: 0.0;
|
|
|
|
filter: alpha(opacity=0);
|
2012-02-13 23:20:23 +01:00
|
|
|
|
2012-11-20 17:46:55 +01:00
|
|
|
&:hover {
|
|
|
|
opacity: 1.0;
|
|
|
|
filter: alpha(opacity=100);
|
|
|
|
}
|
2012-02-13 23:20:23 +01:00
|
|
|
}
|
2012-07-27 10:22:05 +02:00
|
|
|
|
2012-11-21 23:18:12 +01:00
|
|
|
// "show" the icon also if we just hover somwhere over the line
|
2012-11-20 17:46:55 +01:00
|
|
|
&:hover > td {
|
|
|
|
background: $hover !important;
|
|
|
|
|
|
|
|
.add-diff-note {
|
|
|
|
opacity: 1.0;
|
|
|
|
filter: alpha(opacity=100);
|
2012-07-27 10:22:05 +02:00
|
|
|
}
|
2012-07-10 19:15:33 +02:00
|
|
|
}
|
2012-02-13 23:20:23 +01:00
|
|
|
}
|
|
|
|
|
2012-11-20 17:46:55 +01:00
|
|
|
/**
|
2012-12-03 21:43:17 +01:00
|
|
|
* Note Form
|
2012-11-20 17:46:55 +01:00
|
|
|
*/
|
|
|
|
|
2013-01-29 21:18:19 +01:00
|
|
|
.comment-btn {
|
2013-01-29 21:29:21 +01:00
|
|
|
@extend .btn-create;
|
2013-01-29 21:18:19 +01:00
|
|
|
}
|
2012-12-02 20:43:39 +01:00
|
|
|
.reply-btn {
|
2013-01-29 21:29:21 +01:00
|
|
|
@extend .btn-primary;
|
2012-11-20 17:46:55 +01:00
|
|
|
}
|
2012-12-01 13:49:21 +01:00
|
|
|
.file .content tr.line_holder:hover > td { background: $hover !important; }
|
|
|
|
.file .content tr.line_holder:hover > td .line_note_link {
|
|
|
|
opacity: 1.0;
|
|
|
|
filter: alpha(opacity=100);
|
|
|
|
}
|
|
|
|
.file,
|
2012-12-02 20:47:09 +01:00
|
|
|
.discussion {
|
|
|
|
.new_note {
|
|
|
|
margin: 8px 5px 8px 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.new_note {
|
2012-12-02 20:43:39 +01:00
|
|
|
display: none;
|
|
|
|
|
2012-12-02 20:47:09 +01:00
|
|
|
.buttons {
|
|
|
|
float: left;
|
|
|
|
margin-top: 8px;
|
|
|
|
}
|
2012-12-03 22:34:50 +01:00
|
|
|
.clearfix {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
2012-12-02 20:47:09 +01:00
|
|
|
.note_text_and_preview {
|
|
|
|
// makes the "absolute" position for links relative to this
|
|
|
|
position: relative;
|
2012-12-02 20:43:39 +01:00
|
|
|
|
2012-12-02 20:47:09 +01:00
|
|
|
// preview/edit buttons
|
|
|
|
> a {
|
|
|
|
font-size: 24px;
|
|
|
|
padding: 4px;
|
|
|
|
position: absolute;
|
2013-01-15 10:12:17 +01:00
|
|
|
right: 10px;
|
2012-12-02 20:43:39 +01:00
|
|
|
}
|
2012-12-02 20:47:09 +01:00
|
|
|
.note_preview {
|
|
|
|
background: #f5f5f5;
|
|
|
|
border: 1px solid #ddd;
|
|
|
|
@include border-radius(4px);
|
|
|
|
min-height: 80px;
|
|
|
|
padding: 4px 6px;
|
|
|
|
}
|
|
|
|
.note_text {
|
2013-01-15 00:52:25 +01:00
|
|
|
border: 1px solid #DDD;
|
|
|
|
box-shadow: none;
|
2012-12-02 20:47:09 +01:00
|
|
|
font-size: 14px;
|
|
|
|
height: 80px;
|
|
|
|
width: 98.6%;
|
2012-12-02 20:43:39 +01:00
|
|
|
}
|
2012-11-20 17:46:55 +01:00
|
|
|
}
|
2012-12-03 21:43:17 +01:00
|
|
|
}
|
2012-11-20 17:46:55 +01:00
|
|
|
|
2012-12-03 21:43:17 +01:00
|
|
|
/* loading indicator */
|
|
|
|
.notes-busy {
|
|
|
|
margin: 18px;
|
2012-12-02 20:43:39 +01:00
|
|
|
}
|
2013-01-15 10:12:17 +01:00
|
|
|
|
|
|
|
.note-image-attach {
|
|
|
|
@extend .span4;
|
|
|
|
@extend .thumbnail;
|
|
|
|
margin-left: 45px;
|
|
|
|
}
|
2013-01-31 10:22:06 +01:00
|
|
|
|
|
|
|
|
2013-02-11 14:47:01 +01:00
|
|
|
|
2013-01-31 10:22:06 +01:00
|
|
|
.note-form-actions {
|
|
|
|
background: #F9F9F9;
|
|
|
|
height: 45px;
|
|
|
|
padding: 0 5px;
|
|
|
|
|
|
|
|
.note-form-option {
|
|
|
|
margin-top: 8px;
|
|
|
|
margin-left: 15px;
|
|
|
|
@extend .pull-left;
|
|
|
|
@extend .span4;
|
|
|
|
}
|
|
|
|
}
|