2015-01-15 06:42:58 +00:00
|
|
|
/**
|
|
|
|
* Note Form
|
|
|
|
*/
|
|
|
|
.diff-file .diff-content {
|
|
|
|
tr.line_holder:hover > td .line_note_link {
|
2017-11-07 16:19:34 +00:00
|
|
|
opacity: 1;
|
2016-10-24 19:29:44 +00:00
|
|
|
filter: alpha(opacity = 100);
|
2015-01-15 06:42:58 +00:00
|
|
|
}
|
|
|
|
}
|
2016-10-14 20:39:08 +00:00
|
|
|
|
2015-01-15 06:42:58 +00:00
|
|
|
.diff-file,
|
|
|
|
.discussion {
|
2016-03-29 17:17:31 +00:00
|
|
|
.new-note {
|
2015-01-15 06:42:58 +00:00
|
|
|
margin: 0;
|
2017-11-02 23:59:51 +00:00
|
|
|
border: 0;
|
2015-01-15 06:42:58 +00:00
|
|
|
}
|
|
|
|
}
|
2016-03-29 17:17:31 +00:00
|
|
|
|
2016-10-24 20:22:06 +00:00
|
|
|
.new-note,
|
|
|
|
.note-edit-form {
|
2015-12-02 13:46:15 +00:00
|
|
|
.note-form-actions {
|
2016-11-16 19:18:01 +00:00
|
|
|
position: relative;
|
2017-05-26 19:01:42 +00:00
|
|
|
margin: $gl-padding 0 0;
|
2015-01-15 06:42:58 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.note-preview-holder {
|
|
|
|
> p {
|
|
|
|
overflow-x: auto;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-01-22 19:24:05 +00:00
|
|
|
img {
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
2015-01-15 06:42:58 +00:00
|
|
|
}
|
|
|
|
|
2016-03-30 07:28:06 +00:00
|
|
|
.note-textarea {
|
2016-04-13 08:08:34 +00:00
|
|
|
display: block;
|
2016-03-30 09:19:58 +00:00
|
|
|
padding: 10px 0;
|
2016-12-30 20:18:27 +00:00
|
|
|
color: $gl-text-color;
|
2018-07-24 21:17:49 +00:00
|
|
|
font-family: $regular-font;
|
2016-03-30 09:00:43 +00:00
|
|
|
border: 0;
|
2016-03-30 07:28:06 +00:00
|
|
|
|
|
|
|
&:focus {
|
|
|
|
outline: 0;
|
|
|
|
}
|
2015-01-15 06:42:58 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.note-image-attach {
|
2018-04-09 15:26:28 +00:00
|
|
|
@extend .col-lg-4;
|
2015-01-15 06:42:58 +00:00
|
|
|
margin-left: 45px;
|
|
|
|
float: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.common-note-form {
|
2016-03-30 09:00:43 +00:00
|
|
|
.md-area {
|
|
|
|
padding: $gl-padding-top $gl-padding;
|
2016-12-12 22:26:21 +00:00
|
|
|
border: 1px solid $border-color;
|
2016-03-30 09:00:43 +00:00
|
|
|
border-radius: $border-radius-base;
|
2016-04-15 08:47:46 +00:00
|
|
|
transition: border-color ease-in-out 0.15s,
|
2019-02-25 19:03:21 +00:00
|
|
|
box-shadow ease-in-out 0.15s;
|
2020-03-31 00:08:09 +00:00
|
|
|
background-color: $white;
|
2016-03-30 09:19:58 +00:00
|
|
|
|
|
|
|
&.is-focused {
|
2020-07-03 15:09:13 +00:00
|
|
|
border-color: $input-focus-border-color;
|
|
|
|
box-shadow: $input-focus-box-shadow;
|
2016-03-30 09:19:58 +00:00
|
|
|
|
|
|
|
.comment-toolbar,
|
|
|
|
.nav-links {
|
2018-08-09 18:11:56 +00:00
|
|
|
border-color: $blue-300;
|
2016-03-30 09:19:58 +00:00
|
|
|
}
|
|
|
|
}
|
2016-04-11 15:00:45 +00:00
|
|
|
|
2016-04-13 08:08:34 +00:00
|
|
|
&.is-dropzone-hover {
|
2018-08-21 17:52:31 +00:00
|
|
|
border-color: $green-500;
|
2016-04-13 08:09:10 +00:00
|
|
|
box-shadow: 0 0 2px $black-transparent,
|
2019-02-25 19:03:21 +00:00
|
|
|
0 0 4px $green-500-focus;
|
2016-04-13 08:08:34 +00:00
|
|
|
|
|
|
|
.comment-toolbar,
|
|
|
|
.nav-links {
|
2018-08-21 17:52:31 +00:00
|
|
|
border-color: $green-500;
|
2016-04-13 08:08:34 +00:00
|
|
|
}
|
|
|
|
}
|
2016-03-30 09:00:43 +00:00
|
|
|
}
|
2015-01-15 06:42:58 +00:00
|
|
|
}
|
|
|
|
|
2016-06-03 21:00:04 +00:00
|
|
|
.md-header .nav-links {
|
|
|
|
display: flex;
|
|
|
|
flex-flow: row wrap;
|
|
|
|
width: 100%;
|
|
|
|
|
2018-04-09 15:26:28 +00:00
|
|
|
.float-right {
|
2016-06-03 21:00:04 +00:00
|
|
|
// Flexbox quirk to make sure right-aligned items stay right-aligned.
|
|
|
|
margin-left: auto;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-09-14 11:01:07 +00:00
|
|
|
.issuable-note-warning {
|
2017-08-07 23:56:16 +00:00
|
|
|
color: $orange-600;
|
2020-09-09 06:08:55 +00:00
|
|
|
background-color: $orange-50;
|
2017-08-07 23:56:16 +00:00
|
|
|
border-radius: $border-radius-default $border-radius-default 0 0;
|
|
|
|
border: 1px solid $border-gray-normal;
|
2017-11-02 23:59:51 +00:00
|
|
|
border-bottom: 0;
|
2017-06-20 13:58:30 +00:00
|
|
|
padding: 3px 12px;
|
|
|
|
margin: auto;
|
|
|
|
align-items: center;
|
2017-10-06 11:32:39 +00:00
|
|
|
|
2019-06-06 10:37:02 +00:00
|
|
|
a {
|
|
|
|
color: $orange-600;
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
|
2017-11-05 23:13:11 +00:00
|
|
|
.icon {
|
|
|
|
margin-right: $issuable-warning-icon-margin;
|
2017-11-16 16:44:16 +00:00
|
|
|
vertical-align: text-bottom;
|
|
|
|
fill: $orange-600;
|
2017-11-05 23:13:11 +00:00
|
|
|
}
|
|
|
|
|
2017-07-12 09:50:26 +00:00
|
|
|
+ .md-area {
|
|
|
|
border-top-left-radius: 0;
|
|
|
|
border-top-right-radius: 0;
|
2017-09-27 14:46:09 +00:00
|
|
|
}
|
2017-11-05 23:13:11 +00:00
|
|
|
|
|
|
|
.disabled-comment {
|
2017-11-06 23:51:23 +00:00
|
|
|
border: 0;
|
2017-11-05 23:13:11 +00:00
|
|
|
border-radius: $label-border-radius;
|
|
|
|
padding-top: $gl-vert-padding;
|
|
|
|
padding-bottom: $gl-vert-padding;
|
|
|
|
|
|
|
|
.icon svg {
|
|
|
|
position: relative;
|
|
|
|
top: 2px;
|
2018-06-12 20:19:01 +00:00
|
|
|
margin-right: $btn-margin-5;
|
2017-11-05 23:13:11 +00:00
|
|
|
width: $gl-font-size;
|
|
|
|
height: $gl-font-size;
|
|
|
|
fill: $orange-600;
|
|
|
|
}
|
|
|
|
}
|
2017-09-27 14:46:09 +00:00
|
|
|
}
|
|
|
|
|
2017-11-16 16:44:16 +00:00
|
|
|
.sidebar-item-icon {
|
|
|
|
border-radius: $border-radius-default;
|
2017-12-02 03:59:11 +00:00
|
|
|
margin: 0 5px 0 0;
|
|
|
|
vertical-align: text-bottom;
|
2017-11-16 16:44:16 +00:00
|
|
|
|
|
|
|
&.is-active {
|
|
|
|
fill: $orange-600;
|
2017-06-20 13:58:30 +00:00
|
|
|
}
|
|
|
|
|
2017-12-02 03:59:11 +00:00
|
|
|
.sidebar-collapsed-icon & {
|
|
|
|
margin: 0;
|
|
|
|
}
|
2017-11-16 16:44:16 +00:00
|
|
|
|
2017-12-02 03:59:11 +00:00
|
|
|
.sidebar-item-value & {
|
2020-08-17 21:09:56 +00:00
|
|
|
fill: $gray-500;
|
2017-12-02 03:59:11 +00:00
|
|
|
}
|
2017-11-16 16:44:16 +00:00
|
|
|
}
|
|
|
|
|
2017-09-14 11:01:07 +00:00
|
|
|
.sidebar-item-warning-message {
|
2017-08-07 23:56:16 +00:00
|
|
|
line-height: 1.5;
|
|
|
|
padding: 16px;
|
|
|
|
|
2017-09-15 09:19:43 +00:00
|
|
|
.text {
|
2017-09-14 11:01:07 +00:00
|
|
|
color: $text-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
.sidebar-item-warning-message-actions {
|
2017-08-07 23:56:16 +00:00
|
|
|
display: flex;
|
|
|
|
|
2017-09-15 09:19:43 +00:00
|
|
|
.btn {
|
2017-08-07 23:56:16 +00:00
|
|
|
flex-grow: 1;
|
|
|
|
}
|
2017-06-20 13:58:30 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-03-30 12:39:41 +00:00
|
|
|
.discussion-form {
|
2020-03-31 00:08:09 +00:00
|
|
|
background-color: $white;
|
2019-06-06 15:51:04 +00:00
|
|
|
|
|
|
|
@include media-breakpoint-down(xs) {
|
|
|
|
.user-avatar-link {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.note-edit-form {
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
|
|
|
}
|
2018-04-12 15:10:40 +00:00
|
|
|
}
|
|
|
|
|
2018-11-13 20:53:10 +00:00
|
|
|
table {
|
|
|
|
.discussion-form-container {
|
2018-11-16 17:05:34 +00:00
|
|
|
padding: $gl-padding;
|
2018-11-13 20:53:10 +00:00
|
|
|
}
|
2017-10-07 04:25:17 +00:00
|
|
|
}
|
|
|
|
|
2017-05-26 19:01:42 +00:00
|
|
|
.discussion-notes .disabled-comment {
|
|
|
|
padding: 6px 0;
|
|
|
|
}
|
|
|
|
|
2017-06-22 02:22:08 +00:00
|
|
|
.notes.notes-form > li.timeline-entry {
|
2018-04-16 17:28:52 +00:00
|
|
|
@include notes-media('max', map-get($grid-breakpoints, md) - 1) {
|
2017-06-22 02:22:08 +00:00
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.timeline-content {
|
2018-04-16 17:28:52 +00:00
|
|
|
@include notes-media('max', map-get($grid-breakpoints, md) - 1) {
|
2017-06-22 02:22:08 +00:00
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.timeline-entry-inner {
|
|
|
|
border: 0;
|
|
|
|
}
|
2017-05-26 19:01:42 +00:00
|
|
|
}
|
|
|
|
|
2015-01-15 06:42:58 +00:00
|
|
|
.note-edit-form {
|
|
|
|
display: none;
|
2016-12-02 19:43:33 +00:00
|
|
|
font-size: 14px;
|
2015-01-15 06:42:58 +00:00
|
|
|
|
2016-06-02 10:24:53 +00:00
|
|
|
.md-area {
|
2020-03-31 00:08:09 +00:00
|
|
|
background-color: $white;
|
2015-01-15 06:42:58 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.js-note-attachment-delete {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.error-alert > .alert {
|
|
|
|
margin-top: 5px;
|
|
|
|
margin-bottom: 5px;
|
2017-02-24 16:18:08 +00:00
|
|
|
|
|
|
|
&.alert-dismissable {
|
|
|
|
.close {
|
2020-03-31 00:08:09 +00:00
|
|
|
color: $white;
|
2017-02-24 16:18:08 +00:00
|
|
|
opacity: 0.85;
|
2017-08-24 14:13:24 +00:00
|
|
|
font-weight: $gl-font-weight-normal;
|
2017-02-24 16:18:08 +00:00
|
|
|
|
|
|
|
&:hover {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2015-01-15 06:42:58 +00:00
|
|
|
}
|
|
|
|
|
2018-11-16 17:05:34 +00:00
|
|
|
.discussion-body,
|
2018-11-20 10:22:08 +00:00
|
|
|
.diff-file,
|
2018-11-16 17:05:34 +00:00
|
|
|
.commit-diff {
|
2015-01-15 06:42:58 +00:00
|
|
|
.discussion-reply-holder {
|
2019-06-06 15:51:04 +00:00
|
|
|
background-color: $gray-light;
|
2018-11-14 17:09:43 +00:00
|
|
|
border-radius: 0 0 3px 3px;
|
2018-11-16 17:05:34 +00:00
|
|
|
padding: $gl-padding;
|
2020-05-22 12:08:15 +00:00
|
|
|
border-top: 1px solid $gray-50;
|
2019-06-06 15:51:04 +00:00
|
|
|
|
|
|
|
+ .new-note {
|
|
|
|
background-color: $gray-light;
|
2020-05-22 12:08:15 +00:00
|
|
|
border-top: 1px solid $gray-50;
|
2019-06-06 15:51:04 +00:00
|
|
|
}
|
2018-04-12 15:10:40 +00:00
|
|
|
|
|
|
|
&.is-replying {
|
|
|
|
padding-bottom: $gl-padding;
|
|
|
|
}
|
2019-06-06 15:51:04 +00:00
|
|
|
|
|
|
|
.user-avatar-link {
|
|
|
|
img {
|
|
|
|
margin-top: -3px;
|
|
|
|
}
|
|
|
|
}
|
2016-07-14 15:55:44 +00:00
|
|
|
}
|
|
|
|
}
|
2016-07-14 13:28:58 +00:00
|
|
|
|
2016-07-14 15:55:44 +00:00
|
|
|
.discussion-with-resolve-btn {
|
2018-11-08 07:58:45 +00:00
|
|
|
@include media-breakpoint-up(sm) {
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
|
2016-12-22 12:31:12 +00:00
|
|
|
.discussion-actions {
|
|
|
|
display: table;
|
|
|
|
|
2018-11-08 07:58:45 +00:00
|
|
|
svg {
|
2020-08-17 21:09:56 +00:00
|
|
|
fill: $gray-500;
|
2016-12-22 12:31:12 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.btn-group {
|
|
|
|
display: table-cell;
|
|
|
|
|
|
|
|
&:first-child {
|
|
|
|
padding-right: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:first-child:not(:last-child) > div {
|
|
|
|
border-right: 0;
|
|
|
|
}
|
2016-07-14 13:28:58 +00:00
|
|
|
}
|
2015-01-15 06:42:58 +00:00
|
|
|
}
|
2016-07-14 15:55:44 +00:00
|
|
|
|
2018-12-05 17:03:20 +00:00
|
|
|
@include media-breakpoint-down(xs) {
|
|
|
|
.btn {
|
|
|
|
width: 100%;
|
|
|
|
}
|
2016-07-14 15:55:44 +00:00
|
|
|
}
|
2018-11-08 07:58:45 +00:00
|
|
|
|
|
|
|
.btn-text-field {
|
|
|
|
@include media-breakpoint-down(xs) {
|
|
|
|
margin-bottom: $gl-padding-8;
|
|
|
|
}
|
|
|
|
}
|
2015-01-15 06:42:58 +00:00
|
|
|
}
|
|
|
|
|
2016-03-30 09:00:43 +00:00
|
|
|
.comment-toolbar {
|
|
|
|
padding-top: $gl-padding-top;
|
2016-12-30 20:18:27 +00:00
|
|
|
color: $gl-text-color-secondary;
|
2016-03-30 09:00:43 +00:00
|
|
|
border-top: 1px solid $border-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
.toolbar-button {
|
|
|
|
padding: 0;
|
|
|
|
background: none;
|
|
|
|
border: 0;
|
|
|
|
font-size: 14px;
|
|
|
|
line-height: 16px;
|
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:focus {
|
2018-08-14 16:44:08 +00:00
|
|
|
color: $blue-600;
|
2016-03-30 09:00:43 +00:00
|
|
|
outline: 0;
|
|
|
|
}
|
|
|
|
|
2018-04-09 15:26:28 +00:00
|
|
|
@include media-breakpoint-up(md) {
|
2016-03-30 09:19:58 +00:00
|
|
|
float: left;
|
|
|
|
margin-right: $gl-padding;
|
|
|
|
|
|
|
|
&:last-child {
|
|
|
|
float: right;
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
2016-03-30 09:00:43 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.toolbar-text {
|
|
|
|
font-size: 14px;
|
|
|
|
line-height: 16px;
|
2017-05-16 08:52:17 +00:00
|
|
|
margin-top: 2px;
|
2016-03-30 09:19:58 +00:00
|
|
|
|
2018-04-09 15:26:28 +00:00
|
|
|
@include media-breakpoint-up(md) {
|
2016-03-30 09:19:58 +00:00
|
|
|
float: left;
|
|
|
|
}
|
2015-01-15 08:15:12 +00:00
|
|
|
}
|
2016-06-20 07:47:38 +00:00
|
|
|
|
|
|
|
.note-form-actions {
|
2018-10-17 17:52:12 +00:00
|
|
|
color: $gl-text-color;
|
|
|
|
|
2018-04-09 15:26:28 +00:00
|
|
|
@include media-breakpoint-down(xs) {
|
2016-06-20 07:47:38 +00:00
|
|
|
.btn {
|
|
|
|
float: none;
|
|
|
|
width: 100%;
|
|
|
|
|
|
|
|
&:not(:last-child) {
|
|
|
|
margin-bottom: 10px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2016-11-16 19:18:01 +00:00
|
|
|
|
|
|
|
.note-edit-warning.settings-message {
|
|
|
|
display: none;
|
|
|
|
padding: 5px 10px;
|
|
|
|
position: absolute;
|
|
|
|
left: 127px;
|
|
|
|
top: 2px;
|
|
|
|
|
2018-04-09 15:26:28 +00:00
|
|
|
@include media-breakpoint-down(xs) {
|
2016-11-16 19:18:01 +00:00
|
|
|
position: relative;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
margin-bottom: 10px;
|
|
|
|
}
|
|
|
|
}
|
2017-04-05 15:58:01 +00:00
|
|
|
|
|
|
|
.comment-type-dropdown {
|
2019-01-10 17:57:11 +00:00
|
|
|
.btn-success {
|
2017-04-07 18:37:12 +00:00
|
|
|
width: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dropdown-toggle {
|
|
|
|
float: right;
|
|
|
|
|
2018-01-16 19:31:17 +00:00
|
|
|
i {
|
2020-03-31 00:08:09 +00:00
|
|
|
color: $white;
|
2019-07-16 16:03:29 +00:00
|
|
|
padding-right: 2px;
|
2017-04-07 18:37:12 +00:00
|
|
|
margin-top: 2px;
|
|
|
|
}
|
2018-01-16 19:31:17 +00:00
|
|
|
|
|
|
|
&[disabled] {
|
|
|
|
i {
|
|
|
|
color: $gl-text-color-disabled;
|
|
|
|
}
|
|
|
|
}
|
2017-04-05 15:58:01 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.dropdown-menu {
|
|
|
|
top: initial;
|
2017-09-27 18:07:49 +00:00
|
|
|
bottom: 100%;
|
2017-04-06 14:56:51 +00:00
|
|
|
width: 298px;
|
2017-04-05 15:58:01 +00:00
|
|
|
}
|
|
|
|
|
2018-04-09 15:26:28 +00:00
|
|
|
@include media-breakpoint-down(xs) {
|
2017-04-07 18:37:12 +00:00
|
|
|
display: flex;
|
|
|
|
width: 100%;
|
2017-04-24 11:30:55 +00:00
|
|
|
margin-bottom: 10px;
|
2017-04-07 18:37:12 +00:00
|
|
|
|
2019-01-10 17:57:11 +00:00
|
|
|
.btn-success {
|
2017-04-07 18:37:12 +00:00
|
|
|
flex-grow: 1;
|
|
|
|
flex-shrink: 0;
|
|
|
|
width: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dropdown-toggle {
|
|
|
|
flex-grow: 0;
|
|
|
|
flex-shrink: 1;
|
|
|
|
width: auto;
|
|
|
|
}
|
|
|
|
}
|
2017-04-05 15:58:01 +00:00
|
|
|
}
|
2017-05-16 08:52:17 +00:00
|
|
|
|
|
|
|
.uploading-container {
|
|
|
|
float: right;
|
|
|
|
|
2018-04-09 15:26:28 +00:00
|
|
|
@include media-breakpoint-down(xs) {
|
2017-05-16 08:52:17 +00:00
|
|
|
float: left;
|
|
|
|
margin-top: 5px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.uploading-error-icon,
|
|
|
|
.uploading-error-message {
|
2018-08-14 16:44:08 +00:00
|
|
|
color: $red-500;
|
2017-05-16 08:52:17 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.uploading-error-message {
|
2018-04-09 15:26:28 +00:00
|
|
|
@include media-breakpoint-down(xs) {
|
2017-05-16 08:52:17 +00:00
|
|
|
&::after {
|
2019-02-25 19:03:21 +00:00
|
|
|
content: '\a';
|
2017-05-16 08:52:17 +00:00
|
|
|
white-space: pre;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.uploading-progress {
|
|
|
|
margin-right: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.markdown-selector {
|
2018-08-14 16:44:08 +00:00
|
|
|
color: $blue-600;
|
2017-05-16 08:52:17 +00:00
|
|
|
}
|