2015-04-26 12:48:37 +05:30
|
|
|
/**
|
|
|
|
* Note Form
|
|
|
|
*/
|
|
|
|
.comment-btn {
|
|
|
|
@extend .btn-create;
|
|
|
|
}
|
2016-06-02 11:05:42 +05:30
|
|
|
|
2015-04-26 12:48:37 +05:30
|
|
|
.diff-file .diff-content {
|
|
|
|
tr.line_holder:hover > td .line_note_link {
|
|
|
|
opacity: 1.0;
|
2017-08-17 22:00:37 +05:30
|
|
|
filter: alpha(opacity = 100);
|
2015-04-26 12:48:37 +05:30
|
|
|
}
|
|
|
|
}
|
2016-11-03 12:29:30 +05:30
|
|
|
|
2015-04-26 12:48:37 +05:30
|
|
|
.diff-file,
|
|
|
|
.discussion {
|
2016-06-02 11:05:42 +05:30
|
|
|
.new-note {
|
2015-04-26 12:48:37 +05:30
|
|
|
margin: 0;
|
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
}
|
2016-06-02 11:05:42 +05:30
|
|
|
|
|
|
|
.new-note {
|
2015-04-26 12:48:37 +05:30
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2017-08-17 22:00:37 +05:30
|
|
|
.new-note,
|
|
|
|
.note-edit-form {
|
2015-12-23 02:04:40 +05:30
|
|
|
.note-form-actions {
|
2017-08-17 22:00:37 +05:30
|
|
|
position: relative;
|
|
|
|
margin: $gl-padding 0;
|
2015-04-26 12:48:37 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
.note-preview-holder {
|
|
|
|
> p {
|
|
|
|
overflow-x: auto;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
img {
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
2016-06-02 11:05:42 +05:30
|
|
|
}
|
2015-04-26 12:48:37 +05:30
|
|
|
|
2016-06-02 11:05:42 +05:30
|
|
|
.note-textarea {
|
|
|
|
display: block;
|
|
|
|
padding: 10px 0;
|
2017-08-17 22:00:37 +05:30
|
|
|
color: $gl-text-color;
|
2016-06-02 11:05:42 +05:30
|
|
|
font-family: $regular_font;
|
|
|
|
border: 0;
|
2015-11-26 14:37:03 +05:30
|
|
|
|
2016-06-02 11:05:42 +05:30
|
|
|
&:focus {
|
|
|
|
outline: 0;
|
2015-11-26 14:37:03 +05:30
|
|
|
}
|
2015-04-26 12:48:37 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
.note-image-attach {
|
|
|
|
@extend .col-md-4;
|
|
|
|
margin-left: 45px;
|
|
|
|
float: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.common-note-form {
|
2016-06-02 11:05:42 +05:30
|
|
|
.md-area {
|
|
|
|
padding: $gl-padding-top $gl-padding;
|
2017-08-17 22:00:37 +05:30
|
|
|
border: 1px solid $border-color;
|
2016-06-02 11:05:42 +05:30
|
|
|
border-radius: $border-radius-base;
|
|
|
|
transition: border-color ease-in-out 0.15s,
|
|
|
|
box-shadow ease-in-out 0.15s;
|
|
|
|
|
|
|
|
&.is-focused {
|
|
|
|
@extend .form-control:focus;
|
|
|
|
|
|
|
|
.comment-toolbar,
|
|
|
|
.nav-links {
|
|
|
|
border-color: $focus-border-color;
|
|
|
|
}
|
|
|
|
}
|
2015-04-26 12:48:37 +05:30
|
|
|
|
2016-06-02 11:05:42 +05:30
|
|
|
&.is-dropzone-hover {
|
|
|
|
border-color: $gl-success;
|
|
|
|
box-shadow: 0 0 2px $black-transparent,
|
|
|
|
0 0 4px $gl-success-focus;
|
2015-04-26 12:48:37 +05:30
|
|
|
|
2016-06-02 11:05:42 +05:30
|
|
|
.comment-toolbar,
|
|
|
|
.nav-links {
|
|
|
|
border-color: $gl-success;
|
|
|
|
}
|
2015-04-26 12:48:37 +05:30
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-06-16 23:09:34 +05:30
|
|
|
.md-header .nav-links {
|
|
|
|
display: flex;
|
|
|
|
display: -webkit-flex;
|
|
|
|
flex-flow: row wrap;
|
|
|
|
-webkit-flex-flow: row wrap;
|
|
|
|
width: 100%;
|
|
|
|
|
|
|
|
.pull-right {
|
|
|
|
// Flexbox quirk to make sure right-aligned items stay right-aligned.
|
|
|
|
margin-left: auto;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.confidential-issue-warning {
|
|
|
|
background-color: $gray-normal;
|
|
|
|
border-radius: 3px;
|
|
|
|
padding: 3px 12px;
|
|
|
|
margin: auto;
|
|
|
|
margin-top: 0;
|
|
|
|
text-align: center;
|
2017-08-17 22:00:37 +05:30
|
|
|
font-size: 12px;
|
2016-06-16 23:09:34 +05:30
|
|
|
|
2017-08-17 22:00:37 +05:30
|
|
|
@media (max-width: $screen-sm-max) {
|
2016-06-16 23:09:34 +05:30
|
|
|
// On smaller devices the warning becomes the fourth item in the list,
|
|
|
|
// rather than centering, and grows to span the full width of the
|
|
|
|
// comment area.
|
|
|
|
order: 4;
|
|
|
|
-webkit-order: 4;
|
|
|
|
margin: 6px auto;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-06-02 11:05:42 +05:30
|
|
|
.discussion-form {
|
|
|
|
padding: $gl-padding-top $gl-padding;
|
|
|
|
background-color: $white-light;
|
|
|
|
}
|
|
|
|
|
2015-04-26 12:48:37 +05:30
|
|
|
.note-edit-form {
|
|
|
|
display: none;
|
2017-08-17 22:00:37 +05:30
|
|
|
font-size: 14px;
|
2015-04-26 12:48:37 +05:30
|
|
|
|
2016-06-16 23:09:34 +05:30
|
|
|
.md-area {
|
2017-08-17 22:00:37 +05:30
|
|
|
background-color: $white-light;
|
2015-04-26 12:48:37 +05:30
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.js-note-attachment-delete {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.parallel-comment {
|
|
|
|
padding: 6px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.error-alert > .alert {
|
|
|
|
margin-top: 5px;
|
|
|
|
margin-bottom: 5px;
|
2017-08-17 22:00:37 +05:30
|
|
|
|
|
|
|
&.alert-dismissable {
|
|
|
|
.close {
|
|
|
|
color: $white-light;
|
|
|
|
opacity: 0.85;
|
|
|
|
font-weight: normal;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2015-04-26 12:48:37 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
.discussion-body,
|
|
|
|
.diff-file {
|
|
|
|
.notes .note {
|
|
|
|
padding: 10px 15px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.discussion-reply-holder {
|
2016-06-02 11:05:42 +05:30
|
|
|
background-color: $white-light;
|
|
|
|
padding: 10px 16px;
|
2015-04-26 12:48:37 +05:30
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-09-13 17:45:13 +05:30
|
|
|
.discussion-with-resolve-btn {
|
|
|
|
display: table;
|
|
|
|
width: 100%;
|
|
|
|
border-collapse: separate;
|
|
|
|
table-layout: auto;
|
|
|
|
|
|
|
|
.btn-group {
|
|
|
|
display: table-cell;
|
|
|
|
float: none;
|
|
|
|
width: 1%;
|
|
|
|
|
|
|
|
&:first-child {
|
|
|
|
width: 100%;
|
|
|
|
padding-right: 5px;
|
|
|
|
}
|
|
|
|
|
2017-08-17 22:00:37 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
.discussion-actions {
|
|
|
|
display: table;
|
|
|
|
|
|
|
|
.new-issue-for-discussion path {
|
|
|
|
fill: $gray-darkest;
|
|
|
|
}
|
|
|
|
|
|
|
|
.btn-group {
|
|
|
|
display: table-cell;
|
|
|
|
|
|
|
|
&:first-child {
|
|
|
|
padding-right: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:first-child:not(:last-child) > div {
|
|
|
|
border-right: 0;
|
|
|
|
}
|
2016-09-13 17:45:13 +05:30
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.btn {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-04-26 12:48:37 +05:30
|
|
|
.discussion-notes-count {
|
|
|
|
font-size: 16px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.edit_note {
|
|
|
|
.markdown-area {
|
|
|
|
min-height: 140px;
|
2016-02-05 20:25:01 +05:30
|
|
|
max-height: 500px;
|
2015-04-26 12:48:37 +05:30
|
|
|
}
|
2016-11-03 12:29:30 +05:30
|
|
|
|
2015-04-26 12:48:37 +05:30
|
|
|
.note-form-actions {
|
|
|
|
background: transparent;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-06-02 11:05:42 +05:30
|
|
|
.comment-toolbar {
|
|
|
|
padding-top: $gl-padding-top;
|
2017-08-17 22:00:37 +05:30
|
|
|
color: $gl-text-color-secondary;
|
2016-06-02 11:05:42 +05:30
|
|
|
border-top: 1px solid $border-color;
|
|
|
|
}
|
|
|
|
|
2016-08-24 12:49:21 +05:30
|
|
|
.md-helper {
|
|
|
|
padding-top: 10px;
|
|
|
|
}
|
|
|
|
|
2016-06-02 11:05:42 +05:30
|
|
|
.toolbar-button {
|
|
|
|
padding: 0;
|
|
|
|
background: none;
|
|
|
|
border: 0;
|
|
|
|
font-size: 14px;
|
|
|
|
line-height: 16px;
|
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:focus {
|
|
|
|
color: $gl-link-color;
|
|
|
|
outline: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (min-width: $screen-md-min) {
|
|
|
|
float: left;
|
|
|
|
margin-right: $gl-padding;
|
|
|
|
|
|
|
|
&:last-child {
|
|
|
|
float: right;
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.toolbar-button-icon {
|
|
|
|
position: relative;
|
|
|
|
top: 1px;
|
|
|
|
margin-right: 3px;
|
|
|
|
color: inherit;
|
|
|
|
font-size: 16px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.toolbar-text {
|
|
|
|
font-size: 14px;
|
|
|
|
line-height: 16px;
|
|
|
|
|
|
|
|
@media (min-width: $screen-md-min) {
|
|
|
|
float: left;
|
|
|
|
}
|
2015-04-26 12:48:37 +05:30
|
|
|
}
|
2016-06-22 15:30:34 +05:30
|
|
|
|
|
|
|
.note-form-actions {
|
|
|
|
@media (max-width: $screen-xs-max) {
|
|
|
|
.btn {
|
|
|
|
float: none;
|
|
|
|
width: 100%;
|
|
|
|
|
|
|
|
&:not(:last-child) {
|
|
|
|
margin-bottom: 10px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2017-08-17 22:00:37 +05:30
|
|
|
|
|
|
|
.note-edit-warning.settings-message {
|
|
|
|
display: none;
|
|
|
|
padding: 5px 10px;
|
|
|
|
position: absolute;
|
|
|
|
left: 127px;
|
|
|
|
top: 2px;
|
|
|
|
|
|
|
|
@media (max-width: $screen-xs-max) {
|
|
|
|
position: relative;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
margin-bottom: 10px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.comment-type-dropdown {
|
|
|
|
.comment-btn {
|
|
|
|
width: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dropdown-toggle {
|
|
|
|
float: right;
|
|
|
|
|
|
|
|
.toggle-icon {
|
|
|
|
color: $white-light;
|
|
|
|
padding-right: 2px;
|
|
|
|
margin-top: 2px;
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.dropdown-menu {
|
|
|
|
top: initial;
|
|
|
|
bottom: 40px;
|
|
|
|
width: 298px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.description {
|
|
|
|
display: inline-block;
|
|
|
|
white-space: normal;
|
|
|
|
margin-left: 8px;
|
|
|
|
padding-right: 33px;
|
|
|
|
}
|
|
|
|
|
|
|
|
li {
|
|
|
|
padding-top: 6px;
|
|
|
|
|
|
|
|
& > a {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
color: inherit;
|
|
|
|
border-radius: 0;
|
|
|
|
text-overflow: inherit;
|
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:focus {
|
|
|
|
background-color: inherit;
|
|
|
|
color: inherit;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:focus {
|
|
|
|
background-color: $dropdown-hover-color;
|
|
|
|
color: $white-light;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.droplab-item-selected i {
|
|
|
|
visibility: visible;
|
|
|
|
}
|
|
|
|
|
|
|
|
i {
|
|
|
|
visibility: hidden;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
i {
|
|
|
|
display: inline-block;
|
|
|
|
vertical-align: top;
|
|
|
|
padding-top: 2px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.divider {
|
|
|
|
margin: 0 8px;
|
|
|
|
padding: 0;
|
|
|
|
border-top: $gray-darkest;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: $screen-xs-max) {
|
|
|
|
display: flex;
|
|
|
|
width: 100%;
|
|
|
|
margin-bottom: 10px;
|
|
|
|
|
|
|
|
.comment-btn {
|
|
|
|
flex-grow: 1;
|
|
|
|
flex-shrink: 0;
|
|
|
|
width: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dropdown-toggle {
|
|
|
|
flex-grow: 0;
|
|
|
|
flex-shrink: 1;
|
|
|
|
width: auto;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|