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 {
|
2018-03-17 18:26:18 +05:30
|
|
|
opacity: 1;
|
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;
|
2018-03-17 18:26:18 +05:30
|
|
|
border: 0;
|
2015-04-26 12:48:37 +05:30
|
|
|
}
|
|
|
|
}
|
2016-06-02 11:05:42 +05:30
|
|
|
|
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;
|
2017-09-10 17:25:29 +05:30
|
|
|
margin: $gl-padding 0 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;
|
2018-11-18 11:00:15 +05:30
|
|
|
font-family: $regular-font;
|
2016-06-02 11:05:42 +05:30
|
|
|
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 {
|
2018-11-08 19:23:39 +05:30
|
|
|
@extend .col-lg-4;
|
2015-04-26 12:48:37 +05:30
|
|
|
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%;
|
|
|
|
|
2018-11-08 19:23:39 +05:30
|
|
|
.float-right {
|
2016-06-16 23:09:34 +05:30
|
|
|
// Flexbox quirk to make sure right-aligned items stay right-aligned.
|
|
|
|
margin-left: auto;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-03-17 18:26:18 +05:30
|
|
|
.issuable-note-warning {
|
2017-09-10 17:25:29 +05:30
|
|
|
color: $orange-600;
|
2018-03-17 18:26:18 +05:30
|
|
|
background-color: $orange-100;
|
2017-09-10 17:25:29 +05:30
|
|
|
border-radius: $border-radius-default $border-radius-default 0 0;
|
|
|
|
border: 1px solid $border-gray-normal;
|
2018-03-17 18:26:18 +05:30
|
|
|
border-bottom: 0;
|
2016-06-16 23:09:34 +05:30
|
|
|
padding: 3px 12px;
|
|
|
|
margin: auto;
|
2017-09-10 17:25:29 +05:30
|
|
|
align-items: center;
|
2018-03-17 18:26:18 +05:30
|
|
|
|
|
|
|
.icon {
|
|
|
|
margin-right: $issuable-warning-icon-margin;
|
|
|
|
vertical-align: text-bottom;
|
|
|
|
fill: $orange-600;
|
|
|
|
}
|
|
|
|
|
|
|
|
+ .md-area {
|
|
|
|
border-top-left-radius: 0;
|
|
|
|
border-top-right-radius: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.disabled-comment {
|
|
|
|
border: 0;
|
|
|
|
border-radius: $label-border-radius;
|
|
|
|
padding-top: $gl-vert-padding;
|
|
|
|
padding-bottom: $gl-vert-padding;
|
|
|
|
|
|
|
|
.icon svg {
|
|
|
|
position: relative;
|
|
|
|
top: 2px;
|
2018-11-08 19:23:39 +05:30
|
|
|
margin-right: $btn-margin-5;
|
2018-03-17 18:26:18 +05:30
|
|
|
width: $gl-font-size;
|
|
|
|
height: $gl-font-size;
|
|
|
|
fill: $orange-600;
|
|
|
|
}
|
|
|
|
}
|
2017-09-10 17:25:29 +05:30
|
|
|
}
|
|
|
|
|
2018-03-17 18:26:18 +05:30
|
|
|
.sidebar-item-icon {
|
|
|
|
border-radius: $border-radius-default;
|
|
|
|
margin: 0 5px 0 0;
|
|
|
|
vertical-align: text-bottom;
|
|
|
|
|
|
|
|
&.is-active {
|
|
|
|
fill: $orange-600;
|
|
|
|
}
|
|
|
|
|
|
|
|
.sidebar-collapsed-icon & {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.sidebar-item-value & {
|
|
|
|
fill: $theme-gray-700;
|
2017-09-10 17:25:29 +05:30
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-03-17 18:26:18 +05:30
|
|
|
.sidebar-item-warning-message {
|
2017-09-10 17:25:29 +05:30
|
|
|
line-height: 1.5;
|
|
|
|
padding: 16px;
|
|
|
|
|
2018-03-17 18:26:18 +05:30
|
|
|
.text {
|
|
|
|
color: $text-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
.sidebar-item-warning-message-actions {
|
2017-09-10 17:25:29 +05:30
|
|
|
display: flex;
|
|
|
|
|
2018-03-17 18:26:18 +05:30
|
|
|
.btn {
|
2017-09-10 17:25:29 +05:30
|
|
|
flex-grow: 1;
|
|
|
|
}
|
2016-06-16 23:09:34 +05:30
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-03-17 18:26:18 +05:30
|
|
|
.discussion-form {
|
|
|
|
background-color: $white-light;
|
2017-09-10 17:25:29 +05:30
|
|
|
}
|
|
|
|
|
2018-03-17 18:26:18 +05:30
|
|
|
.discussion-form-container {
|
2017-09-10 17:25:29 +05:30
|
|
|
padding: $gl-padding-top $gl-padding $gl-padding;
|
2016-06-02 11:05:42 +05:30
|
|
|
}
|
|
|
|
|
2017-09-10 17:25:29 +05:30
|
|
|
.discussion-notes .disabled-comment {
|
|
|
|
padding: 6px 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.notes.notes-form > li.timeline-entry {
|
2018-11-08 19:23:39 +05:30
|
|
|
@include notes-media('max', map-get($grid-breakpoints, md) - 1) {
|
2017-09-10 17:25:29 +05:30
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.timeline-content {
|
2018-11-08 19:23:39 +05:30
|
|
|
@include notes-media('max', map-get($grid-breakpoints, md) - 1) {
|
2017-09-10 17:25:29 +05:30
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.timeline-entry-inner {
|
|
|
|
border: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
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;
|
2018-03-17 18:26:18 +05:30
|
|
|
font-weight: $gl-font-weight-normal;
|
2017-08-17 22:00:37 +05:30
|
|
|
|
|
|
|
&:hover {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2015-04-26 12:48:37 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
.discussion-body,
|
|
|
|
.diff-file {
|
|
|
|
.discussion-reply-holder {
|
2016-06-02 11:05:42 +05:30
|
|
|
background-color: $white-light;
|
|
|
|
padding: 10px 16px;
|
2018-03-17 18:26:18 +05:30
|
|
|
|
|
|
|
&.is-replying {
|
|
|
|
padding-bottom: $gl-padding;
|
|
|
|
}
|
2015-04-26 12:48:37 +05:30
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-09-13 17:45:13 +05:30
|
|
|
.discussion-with-resolve-btn {
|
2017-08-17 22:00:37 +05:30
|
|
|
.discussion-actions {
|
|
|
|
display: table;
|
|
|
|
|
2018-03-17 18:26:18 +05:30
|
|
|
.btn-default path {
|
2017-08-17 22:00:37 +05:30
|
|
|
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;
|
|
|
|
}
|
|
|
|
|
2018-11-08 19:23:39 +05:30
|
|
|
@include media-breakpoint-up(md) {
|
2016-06-02 11:05:42 +05:30
|
|
|
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;
|
2017-09-10 17:25:29 +05:30
|
|
|
margin-top: 2px;
|
2016-06-02 11:05:42 +05:30
|
|
|
|
2018-11-08 19:23:39 +05:30
|
|
|
@include media-breakpoint-up(md) {
|
2016-06-02 11:05:42 +05:30
|
|
|
float: left;
|
|
|
|
}
|
2015-04-26 12:48:37 +05:30
|
|
|
}
|
2016-06-22 15:30:34 +05:30
|
|
|
|
|
|
|
.note-form-actions {
|
2018-11-08 19:23:39 +05:30
|
|
|
@include media-breakpoint-down(xs) {
|
2016-06-22 15:30:34 +05:30
|
|
|
.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;
|
|
|
|
|
2018-11-08 19:23:39 +05:30
|
|
|
@include media-breakpoint-down(xs) {
|
2017-08-17 22:00:37 +05:30
|
|
|
position: relative;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
margin-bottom: 10px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.comment-type-dropdown {
|
|
|
|
.comment-btn {
|
|
|
|
width: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dropdown-toggle {
|
|
|
|
float: right;
|
|
|
|
|
2018-03-17 18:26:18 +05:30
|
|
|
i {
|
2017-08-17 22:00:37 +05:30
|
|
|
color: $white-light;
|
|
|
|
padding-right: 2px;
|
|
|
|
margin-top: 2px;
|
|
|
|
}
|
2018-03-17 18:26:18 +05:30
|
|
|
|
|
|
|
&[disabled] {
|
|
|
|
i {
|
|
|
|
color: $gl-text-color-disabled;
|
|
|
|
}
|
|
|
|
}
|
2017-08-17 22:00:37 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
.dropdown-menu {
|
|
|
|
top: initial;
|
2018-03-17 18:26:18 +05:30
|
|
|
bottom: 100%;
|
2017-08-17 22:00:37 +05:30
|
|
|
width: 298px;
|
|
|
|
}
|
|
|
|
|
2018-11-08 19:23:39 +05:30
|
|
|
@include media-breakpoint-down(xs) {
|
2017-08-17 22:00:37 +05:30
|
|
|
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;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2017-09-10 17:25:29 +05:30
|
|
|
|
|
|
|
.uploading-container {
|
|
|
|
float: right;
|
|
|
|
|
2018-11-08 19:23:39 +05:30
|
|
|
@include media-breakpoint-down(xs) {
|
2017-09-10 17:25:29 +05:30
|
|
|
float: left;
|
|
|
|
margin-top: 5px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.uploading-error-icon,
|
|
|
|
.uploading-error-message {
|
|
|
|
color: $gl-text-red;
|
|
|
|
}
|
|
|
|
|
|
|
|
.uploading-error-message {
|
2018-11-08 19:23:39 +05:30
|
|
|
@include media-breakpoint-down(xs) {
|
2017-09-10 17:25:29 +05:30
|
|
|
&::after {
|
|
|
|
content: "\a";
|
|
|
|
white-space: pre;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.uploading-progress {
|
|
|
|
margin-right: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.attach-new-file,
|
|
|
|
.button-attach-file,
|
|
|
|
.retry-uploading-link {
|
|
|
|
color: $gl-link-color;
|
|
|
|
padding: 0;
|
|
|
|
background: none;
|
|
|
|
border: 0;
|
|
|
|
font-size: 14px;
|
|
|
|
line-height: 16px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.markdown-selector {
|
|
|
|
color: $gl-link-color;
|
|
|
|
}
|