2015-01-15 01:42:58 -05:00
|
|
|
/**
|
|
|
|
* Note Form
|
|
|
|
*/
|
2016-03-31 11:56:22 -04:00
|
|
|
.comment-btn {
|
|
|
|
@extend .btn-create;
|
|
|
|
}
|
|
|
|
|
2015-01-15 01:42:58 -05:00
|
|
|
.diff-file .diff-content {
|
|
|
|
tr.line_holder:hover > td .line_note_link {
|
|
|
|
opacity: 1.0;
|
|
|
|
filter: alpha(opacity=100);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.diff-file,
|
|
|
|
.discussion {
|
2016-03-29 13:17:31 -04:00
|
|
|
.new-note {
|
2015-01-15 01:42:58 -05:00
|
|
|
margin: 0;
|
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
}
|
2016-03-29 13:17:31 -04:00
|
|
|
|
|
|
|
.new-note {
|
2015-01-15 01:42:58 -05:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2016-03-29 13:17:31 -04:00
|
|
|
.new-note, .note-edit-form {
|
2015-12-02 08:46:15 -05:00
|
|
|
.note-form-actions {
|
|
|
|
margin-top: $gl-padding;
|
2015-01-15 01:42:58 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.note-preview-holder {
|
|
|
|
> p {
|
|
|
|
overflow-x: auto;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-01-22 14:24:05 -05:00
|
|
|
img {
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
2015-01-15 01:42:58 -05:00
|
|
|
}
|
|
|
|
|
2016-03-30 03:28:06 -04:00
|
|
|
.note-textarea {
|
2016-04-13 04:08:34 -04:00
|
|
|
display: block;
|
2016-03-30 05:19:58 -04:00
|
|
|
padding: 10px 0;
|
2016-03-30 03:28:06 -04:00
|
|
|
font-family: $regular_font;
|
2016-03-30 05:00:43 -04:00
|
|
|
border: 0;
|
2016-03-30 03:28:06 -04:00
|
|
|
|
|
|
|
&:focus {
|
|
|
|
outline: 0;
|
|
|
|
}
|
2015-01-15 01:42:58 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.note-image-attach {
|
|
|
|
@extend .col-md-4;
|
|
|
|
margin-left: 45px;
|
|
|
|
float: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.common-note-form {
|
2016-03-30 05:00:43 -04:00
|
|
|
.md-area {
|
|
|
|
padding: $gl-padding-top $gl-padding;
|
2016-04-04 06:00:29 -04:00
|
|
|
border: 1px solid $note-form-border-color;
|
2016-03-30 05:00:43 -04:00
|
|
|
border-radius: $border-radius-base;
|
2016-03-30 05:19:58 -04:00
|
|
|
|
|
|
|
&.is-focused {
|
2016-04-04 06:00:29 -04:00
|
|
|
border-color: $focus-border-color;
|
2016-03-30 09:03:14 -04:00
|
|
|
box-shadow: 0 0 2px rgba(#000, .2),
|
2016-04-04 06:00:29 -04:00
|
|
|
0 0 4px rgba($focus-border-color, .4);
|
2016-03-30 05:19:58 -04:00
|
|
|
|
|
|
|
.comment-toolbar,
|
|
|
|
.nav-links {
|
2016-04-04 06:00:29 -04:00
|
|
|
border-color: $focus-border-color;
|
2016-03-30 05:19:58 -04:00
|
|
|
}
|
|
|
|
}
|
2016-04-11 11:00:45 -04:00
|
|
|
|
2016-04-13 04:08:34 -04:00
|
|
|
&.is-dropzone-hover {
|
|
|
|
border-color: $gl-success;
|
|
|
|
box-shadow: 0 0 2px rgba(#000, .2),
|
|
|
|
0 0 4px rgba($gl-success, .4);
|
|
|
|
|
|
|
|
.comment-toolbar,
|
|
|
|
.nav-links {
|
|
|
|
border-color: $gl-success;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-04-11 11:00:45 -04:00
|
|
|
p {
|
|
|
|
code {
|
|
|
|
white-space: normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
pre {
|
|
|
|
code {
|
|
|
|
white-space: pre;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2016-03-30 05:00:43 -04:00
|
|
|
}
|
2015-01-15 01:42:58 -05:00
|
|
|
}
|
|
|
|
|
2016-03-30 08:39:41 -04:00
|
|
|
.discussion-form {
|
|
|
|
padding: $gl-padding-top $gl-padding;
|
2016-04-11 11:00:45 -04:00
|
|
|
background-color: $white-light;
|
2016-03-30 08:39:41 -04:00
|
|
|
}
|
|
|
|
|
2015-01-15 01:42:58 -05:00
|
|
|
.note-edit-form {
|
|
|
|
display: none;
|
2015-09-21 10:30:19 -04:00
|
|
|
font-size: 15px;
|
2015-01-15 01:42:58 -05:00
|
|
|
|
|
|
|
.form-actions {
|
|
|
|
padding-left: 20px;
|
|
|
|
|
|
|
|
.btn-save {
|
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
|
|
|
|
.note-form-option {
|
|
|
|
float: left;
|
|
|
|
padding: 2px 0 0 25px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.js-note-attachment-delete {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.parallel-comment {
|
|
|
|
padding: 6px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.error-alert > .alert {
|
|
|
|
margin-top: 5px;
|
|
|
|
margin-bottom: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.discussion-body,
|
|
|
|
.diff-file {
|
|
|
|
.notes .note {
|
|
|
|
padding: 10px 15px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.discussion-reply-holder {
|
2016-03-31 11:56:22 -04:00
|
|
|
background-color: $white-light;
|
|
|
|
padding: 10px 16px;
|
2015-01-15 01:42:58 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.discussion-notes-count {
|
|
|
|
font-size: 16px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.edit_note {
|
|
|
|
.markdown-area {
|
|
|
|
min-height: 140px;
|
2016-02-01 16:55:00 -05:00
|
|
|
max-height: 500px;
|
2015-01-15 01:42:58 -05:00
|
|
|
}
|
|
|
|
.note-form-actions {
|
2015-01-15 02:09:30 -05:00
|
|
|
background: transparent;
|
2015-01-15 01:42:58 -05:00
|
|
|
}
|
|
|
|
}
|
2015-01-15 03:15:12 -05:00
|
|
|
|
2016-03-30 05:00:43 -04:00
|
|
|
.comment-toolbar {
|
|
|
|
padding-top: $gl-padding-top;
|
2016-04-04 06:00:29 -04:00
|
|
|
color: $note-toolbar-color;
|
2016-03-30 05:00:43 -04:00
|
|
|
border-top: 1px solid $border-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
.toolbar-button {
|
|
|
|
padding: 0;
|
|
|
|
background: none;
|
|
|
|
border: 0;
|
|
|
|
font-size: 14px;
|
|
|
|
line-height: 16px;
|
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:focus {
|
|
|
|
color: $gl-link-color;
|
|
|
|
outline: 0;
|
|
|
|
}
|
|
|
|
|
2016-03-30 05:19:58 -04:00
|
|
|
@media (min-width: $screen-md-min) {
|
|
|
|
float: left;
|
|
|
|
margin-right: $gl-padding;
|
|
|
|
|
|
|
|
&:last-child {
|
|
|
|
float: right;
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
2016-03-30 05:00:43 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.toolbar-button-icon {
|
|
|
|
position: relative;
|
|
|
|
top: 1px;
|
|
|
|
margin-right: 3px;
|
|
|
|
color: inherit;
|
|
|
|
font-size: 16px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.toolbar-text {
|
|
|
|
font-size: 14px;
|
|
|
|
line-height: 16px;
|
2016-03-30 05:19:58 -04:00
|
|
|
|
|
|
|
@media (min-width: $screen-md-min) {
|
|
|
|
float: left;
|
|
|
|
}
|
2015-01-15 03:15:12 -05:00
|
|
|
}
|