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 {
|
2017-11-07 11:19:34 -05:00
|
|
|
opacity: 1;
|
2016-10-24 15:29:44 -04:00
|
|
|
filter: alpha(opacity = 100);
|
2015-01-15 01:42:58 -05:00
|
|
|
}
|
|
|
|
}
|
2016-10-14 16:39:08 -04:00
|
|
|
|
2015-01-15 01:42:58 -05:00
|
|
|
.diff-file,
|
|
|
|
.discussion {
|
2016-03-29 13:17:31 -04:00
|
|
|
.new-note {
|
2015-01-15 01:42:58 -05:00
|
|
|
margin: 0;
|
2017-11-02 19:59:51 -04:00
|
|
|
border: 0;
|
2015-01-15 01:42:58 -05:00
|
|
|
}
|
|
|
|
}
|
2016-03-29 13:17:31 -04:00
|
|
|
|
2016-10-24 16:22:06 -04:00
|
|
|
.new-note,
|
|
|
|
.note-edit-form {
|
2015-12-02 08:46:15 -05:00
|
|
|
.note-form-actions {
|
2017-08-10 15:09:29 -04:00
|
|
|
@include new-style-dropdown;
|
|
|
|
|
2016-11-16 14:18:01 -05:00
|
|
|
position: relative;
|
2017-05-26 15:01:42 -04:00
|
|
|
margin: $gl-padding 0 0;
|
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-12-30 15:18:27 -05:00
|
|
|
color: $gl-text-color;
|
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-12-12 17:26:21 -05:00
|
|
|
border: 1px solid $border-color;
|
2016-03-30 05:00:43 -04:00
|
|
|
border-radius: $border-radius-base;
|
2016-04-15 04:47:46 -04:00
|
|
|
transition: border-color ease-in-out 0.15s,
|
|
|
|
box-shadow ease-in-out 0.15s;
|
2016-03-30 05:19:58 -04:00
|
|
|
|
|
|
|
&.is-focused {
|
2016-04-15 04:47:46 -04:00
|
|
|
@extend .form-control:focus;
|
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;
|
2016-04-13 04:09:10 -04:00
|
|
|
box-shadow: 0 0 2px $black-transparent,
|
2016-04-13 13:14:01 -04:00
|
|
|
0 0 4px $gl-success-focus;
|
2016-04-13 04:08:34 -04:00
|
|
|
|
|
|
|
.comment-toolbar,
|
|
|
|
.nav-links {
|
|
|
|
border-color: $gl-success;
|
|
|
|
}
|
|
|
|
}
|
2016-03-30 05:00:43 -04:00
|
|
|
}
|
2015-01-15 01:42:58 -05:00
|
|
|
}
|
|
|
|
|
2016-06-03 17:00:04 -04:00
|
|
|
.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;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-09-14 07:01:07 -04:00
|
|
|
.issuable-note-warning {
|
2017-08-07 19:56:16 -04:00
|
|
|
color: $orange-600;
|
2017-09-22 20:06:18 -04:00
|
|
|
background-color: $orange-100;
|
2017-08-07 19:56:16 -04:00
|
|
|
border-radius: $border-radius-default $border-radius-default 0 0;
|
|
|
|
border: 1px solid $border-gray-normal;
|
2017-11-02 19:59:51 -04:00
|
|
|
border-bottom: 0;
|
2017-06-20 09:58:30 -04:00
|
|
|
padding: 3px 12px;
|
|
|
|
margin: auto;
|
|
|
|
align-items: center;
|
2017-10-06 07:32:39 -04:00
|
|
|
|
2017-11-05 18:13:11 -05:00
|
|
|
.icon {
|
|
|
|
margin-right: $issuable-warning-icon-margin;
|
2017-11-16 11:44:16 -05:00
|
|
|
vertical-align: text-bottom;
|
|
|
|
fill: $orange-600;
|
2017-11-05 18:13:11 -05:00
|
|
|
}
|
|
|
|
|
2017-07-12 05:50:26 -04:00
|
|
|
+ .md-area {
|
|
|
|
border-top-left-radius: 0;
|
|
|
|
border-top-right-radius: 0;
|
2017-09-27 10:46:09 -04:00
|
|
|
}
|
2017-11-05 18:13:11 -05:00
|
|
|
|
|
|
|
.disabled-comment {
|
2017-11-06 18:51:23 -05:00
|
|
|
border: 0;
|
2017-11-05 18:13:11 -05:00
|
|
|
border-radius: $label-border-radius;
|
|
|
|
padding-top: $gl-vert-padding;
|
|
|
|
padding-bottom: $gl-vert-padding;
|
|
|
|
|
|
|
|
.icon svg {
|
|
|
|
position: relative;
|
|
|
|
top: 2px;
|
|
|
|
margin-right: $btn-xs-side-margin;
|
|
|
|
width: $gl-font-size;
|
|
|
|
height: $gl-font-size;
|
|
|
|
fill: $orange-600;
|
|
|
|
}
|
|
|
|
}
|
2017-09-27 10:46:09 -04:00
|
|
|
}
|
|
|
|
|
2017-11-16 11:44:16 -05:00
|
|
|
.sidebar-item-icon {
|
|
|
|
border-radius: $border-radius-default;
|
|
|
|
margin: 0 3px 0 -4px;
|
|
|
|
vertical-align: middle;
|
|
|
|
|
|
|
|
&.is-active {
|
|
|
|
fill: $orange-600;
|
2017-06-20 09:58:30 -04:00
|
|
|
}
|
2017-08-07 19:56:16 -04:00
|
|
|
}
|
2017-06-20 09:58:30 -04:00
|
|
|
|
2017-11-16 11:44:16 -05:00
|
|
|
.sidebar-collapsed-icon .sidebar-item-icon {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.sidebar-item-value .sidebar-item-icon {
|
|
|
|
fill: $theme-gray-700;
|
|
|
|
}
|
|
|
|
|
2017-09-14 07:01:07 -04:00
|
|
|
.sidebar-item-warning-message {
|
2017-08-07 19:56:16 -04:00
|
|
|
line-height: 1.5;
|
|
|
|
padding: 16px;
|
|
|
|
|
2017-09-15 05:19:43 -04:00
|
|
|
.text {
|
2017-09-14 07:01:07 -04:00
|
|
|
color: $text-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
.sidebar-item-warning-message-actions {
|
2017-08-07 19:56:16 -04:00
|
|
|
display: flex;
|
|
|
|
|
2017-09-15 05:19:43 -04:00
|
|
|
.btn {
|
2017-08-07 19:56:16 -04:00
|
|
|
flex-grow: 1;
|
|
|
|
}
|
2017-06-20 09:58:30 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-03-30 08:39:41 -04:00
|
|
|
.discussion-form {
|
2016-04-11 11:00:45 -04:00
|
|
|
background-color: $white-light;
|
2016-03-30 08:39:41 -04:00
|
|
|
}
|
|
|
|
|
2017-10-07 00:25:17 -04:00
|
|
|
.discussion-form-container {
|
|
|
|
padding: $gl-padding-top $gl-padding $gl-padding;
|
|
|
|
}
|
|
|
|
|
2017-05-26 15:01:42 -04:00
|
|
|
.discussion-notes .disabled-comment {
|
|
|
|
padding: 6px 0;
|
|
|
|
}
|
|
|
|
|
2017-06-21 22:22:08 -04:00
|
|
|
.notes.notes-form > li.timeline-entry {
|
|
|
|
@include notes-media('max', $screen-sm-max) {
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.timeline-content {
|
|
|
|
@include notes-media('max', $screen-sm-max) {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.timeline-entry-inner {
|
|
|
|
border: 0;
|
|
|
|
}
|
2017-05-26 15:01:42 -04:00
|
|
|
}
|
|
|
|
|
2015-01-15 01:42:58 -05:00
|
|
|
.note-edit-form {
|
|
|
|
display: none;
|
2016-12-02 14:43:33 -05:00
|
|
|
font-size: 14px;
|
2015-01-15 01:42:58 -05:00
|
|
|
|
2016-06-02 06:24:53 -04:00
|
|
|
.md-area {
|
2016-11-30 08:25:25 -05:00
|
|
|
background-color: $white-light;
|
2015-01-15 01:42:58 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.js-note-attachment-delete {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.parallel-comment {
|
|
|
|
padding: 6px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.error-alert > .alert {
|
|
|
|
margin-top: 5px;
|
|
|
|
margin-bottom: 5px;
|
2017-02-24 11:18:08 -05:00
|
|
|
|
|
|
|
&.alert-dismissable {
|
|
|
|
.close {
|
|
|
|
color: $white-light;
|
|
|
|
opacity: 0.85;
|
2017-08-24 10:13:24 -04:00
|
|
|
font-weight: $gl-font-weight-normal;
|
2017-02-24 11:18:08 -05:00
|
|
|
|
|
|
|
&:hover {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2015-01-15 01:42:58 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.discussion-body,
|
|
|
|
.diff-file {
|
|
|
|
.discussion-reply-holder {
|
2016-03-31 11:56:22 -04:00
|
|
|
background-color: $white-light;
|
|
|
|
padding: 10px 16px;
|
2017-08-17 20:23:05 -04:00
|
|
|
|
|
|
|
&.is-replying {
|
|
|
|
padding-bottom: $gl-padding;
|
|
|
|
}
|
2016-07-14 11:55:44 -04:00
|
|
|
}
|
|
|
|
}
|
2016-07-14 09:28:58 -04:00
|
|
|
|
2016-07-14 11:55:44 -04:00
|
|
|
.discussion-with-resolve-btn {
|
|
|
|
display: table;
|
|
|
|
width: 100%;
|
|
|
|
border-collapse: separate;
|
|
|
|
table-layout: auto;
|
|
|
|
|
|
|
|
.btn-group {
|
|
|
|
display: table-cell;
|
|
|
|
float: none;
|
|
|
|
width: 1%;
|
2016-07-14 09:28:58 -04:00
|
|
|
|
2016-07-14 11:55:44 -04:00
|
|
|
&:first-child {
|
2016-07-14 09:28:58 -04:00
|
|
|
width: 100%;
|
2016-07-14 11:55:44 -04:00
|
|
|
padding-right: 5px;
|
2016-07-14 09:28:58 -04:00
|
|
|
}
|
2016-12-22 07:31:12 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.discussion-actions {
|
|
|
|
display: table;
|
|
|
|
|
2017-10-10 19:43:55 -04:00
|
|
|
.btn-default path {
|
2016-12-22 07:31:12 -05:00
|
|
|
fill: $gray-darkest;
|
|
|
|
}
|
|
|
|
|
|
|
|
.btn-group {
|
|
|
|
display: table-cell;
|
|
|
|
|
|
|
|
&:first-child {
|
|
|
|
padding-right: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:first-child:not(:last-child) > div {
|
|
|
|
border-right: 0;
|
|
|
|
}
|
2016-07-14 09:28:58 -04:00
|
|
|
}
|
2015-01-15 01:42:58 -05:00
|
|
|
}
|
2016-07-14 11:55:44 -04:00
|
|
|
|
|
|
|
.btn {
|
|
|
|
width: 100%;
|
|
|
|
}
|
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
|
|
|
}
|
2016-10-14 16:39:08 -04:00
|
|
|
|
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-12-30 15:18:27 -05:00
|
|
|
color: $gl-text-color-secondary;
|
2016-03-30 05:00:43 -04:00
|
|
|
border-top: 1px solid $border-color;
|
|
|
|
}
|
|
|
|
|
2016-05-26 10:47:36 -04:00
|
|
|
.md-helper {
|
|
|
|
padding-top: 10px;
|
|
|
|
}
|
|
|
|
|
2016-03-30 05:00:43 -04:00
|
|
|
.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;
|
2017-05-16 04:52:17 -04:00
|
|
|
margin-top: 2px;
|
2016-03-30 05:19:58 -04:00
|
|
|
|
|
|
|
@media (min-width: $screen-md-min) {
|
|
|
|
float: left;
|
|
|
|
}
|
2015-01-15 03:15:12 -05:00
|
|
|
}
|
2016-06-20 03:47:38 -04:00
|
|
|
|
|
|
|
.note-form-actions {
|
|
|
|
@media (max-width: $screen-xs-max) {
|
|
|
|
.btn {
|
|
|
|
float: none;
|
|
|
|
width: 100%;
|
|
|
|
|
|
|
|
&:not(:last-child) {
|
|
|
|
margin-bottom: 10px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2016-11-16 14:18:01 -05:00
|
|
|
|
|
|
|
.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;
|
|
|
|
}
|
|
|
|
}
|
2017-04-05 11:58:01 -04:00
|
|
|
|
|
|
|
.comment-type-dropdown {
|
2017-04-07 14:37:12 -04:00
|
|
|
.comment-btn {
|
|
|
|
width: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dropdown-toggle {
|
|
|
|
float: right;
|
|
|
|
|
|
|
|
.toggle-icon {
|
|
|
|
color: $white-light;
|
|
|
|
padding-right: 2px;
|
|
|
|
margin-top: 2px;
|
|
|
|
}
|
2017-04-05 11:58:01 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.dropdown-menu {
|
|
|
|
top: initial;
|
2017-09-27 14:07:49 -04:00
|
|
|
bottom: 100%;
|
2017-04-06 10:56:51 -04:00
|
|
|
width: 298px;
|
2017-04-05 11:58:01 -04:00
|
|
|
}
|
|
|
|
|
2017-04-07 14:37:12 -04:00
|
|
|
|
|
|
|
@media (max-width: $screen-xs-max) {
|
|
|
|
display: flex;
|
|
|
|
width: 100%;
|
2017-04-24 07:30:55 -04:00
|
|
|
margin-bottom: 10px;
|
2017-04-07 14:37:12 -04:00
|
|
|
|
|
|
|
.comment-btn {
|
|
|
|
flex-grow: 1;
|
|
|
|
flex-shrink: 0;
|
|
|
|
width: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dropdown-toggle {
|
|
|
|
flex-grow: 0;
|
|
|
|
flex-shrink: 1;
|
|
|
|
width: auto;
|
|
|
|
}
|
|
|
|
}
|
2017-04-05 11:58:01 -04:00
|
|
|
}
|
2017-05-16 04:52:17 -04:00
|
|
|
|
|
|
|
.uploading-container {
|
|
|
|
float: right;
|
|
|
|
|
|
|
|
@media (max-width: $screen-xs-max) {
|
|
|
|
float: left;
|
|
|
|
margin-top: 5px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.uploading-error-icon,
|
|
|
|
.uploading-error-message {
|
|
|
|
color: $gl-text-red;
|
|
|
|
}
|
|
|
|
|
|
|
|
.uploading-error-message {
|
|
|
|
@media (max-width: $screen-xs-max) {
|
|
|
|
&::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;
|
|
|
|
}
|