debian-mirror-gitlab/app/assets/stylesheets/pages/notes.scss

934 lines
15 KiB
SCSS
Raw Normal View History

2018-12-13 13:39:08 +05:30
$system-note-icon-size: 32px;
$system-note-svg-size: 16px;
$note-form-margin-left: 72px;
2015-04-26 12:48:37 +05:30
2018-12-13 13:39:08 +05:30
@mixin vertical-line($left) {
&::before {
content: '';
2019-03-02 22:35:43 +05:30
border-left: 2px solid $gray-100;
2018-12-13 13:39:08 +05:30
position: absolute;
top: 0;
bottom: 0;
left: $left;
2018-11-08 19:23:39 +05:30
}
2018-12-13 13:39:08 +05:30
}
2018-11-08 19:23:39 +05:30
2018-12-13 13:39:08 +05:30
@mixin outline-comment() {
2019-02-15 15:39:39 +05:30
margin: $gl-padding $gl-padding 0;
2018-12-13 13:39:08 +05:30
border: 1px solid $border-color;
border-radius: $border-radius-default;
}
.note-wrapper {
padding: $gl-padding;
2018-11-08 19:23:39 +05:30
2018-12-13 13:39:08 +05:30
&.outlined {
@include outline-comment();
2018-11-08 19:23:39 +05:30
}
2015-04-26 12:48:37 +05:30
}
2019-02-15 15:39:39 +05:30
.issuable-discussion {
.main-notes-list {
@include vertical-line(36px);
}
2018-12-13 13:39:08 +05:30
}
.notes {
2015-04-26 12:48:37 +05:30
display: block;
list-style: none;
2016-06-02 11:05:42 +05:30
margin: 0;
padding: 0;
2018-12-13 13:39:08 +05:30
position: relative;
&.timeline > .timeline-entry {
border: 1px solid $border-color;
border-radius: $border-radius-default;
margin: $gl-padding 0;
&.system-note,
&.note-form {
border: 0;
}
&.note-form {
margin-left: 0;
@include notes-media('min', map-get($grid-breakpoints, md)) {
margin-left: $note-form-margin-left;
}
.timeline-icon {
@include notes-media('min', map-get($grid-breakpoints, sm)) {
margin-left: -$note-icon-gutter-width;
}
}
.timeline-content {
margin-left: 0;
}
}
.notes_content {
border: 0;
border-top: 1px solid $border-color;
}
}
> .note-discussion {
.card {
border: 0;
}
2019-02-15 15:39:39 +05:30
}
2018-12-13 13:39:08 +05:30
2019-02-15 15:39:39 +05:30
li.note {
border-bottom: 1px solid $border-color;
2018-12-13 13:39:08 +05:30
}
.replies-toggle {
background-color: $gray-light;
padding: $gl-padding-8 $gl-padding;
.collapse-replies-btn:hover {
color: $blue-600;
}
&.expanded {
border-bottom: 1px solid $border-color;
span {
cursor: pointer;
}
svg {
position: relative;
top: 3px;
}
}
&.collapsed {
color: $gl-text-color-secondary;
svg {
float: left;
position: relative;
top: $gl-padding-4;
margin-right: $gl-padding-8;
cursor: pointer;
}
img {
margin: -2px 4px 0 0;
}
.author-link {
color: $gl-text-color;
}
}
.user-avatar-link {
&:last-child img {
margin-right: $gl-padding-8;
}
}
.btn-link {
border: 0;
vertical-align: baseline;
}
}
2016-06-02 11:05:42 +05:30
2017-08-17 22:00:37 +05:30
.note-created-ago,
.note-updated-at {
2018-05-09 12:01:36 +05:30
white-space: normal;
2016-06-02 11:05:42 +05:30
}
2015-04-26 12:48:37 +05:30
2017-08-17 22:00:37 +05:30
.discussion-body {
2018-11-08 19:23:39 +05:30
.card {
2017-08-17 22:00:37 +05:30
margin-bottom: 0;
2015-09-25 12:07:36 +05:30
}
}
2015-04-26 12:48:37 +05:30
.discussion {
display: block;
2016-06-02 11:05:42 +05:30
position: relative;
2017-09-10 17:25:29 +05:30
2019-02-15 15:39:39 +05:30
.timeline-discussion-body {
margin-top: -$gl-padding-8;
overflow-x: auto;
overflow-y: hidden;
.note-body {
margin-top: $gl-padding-8;
}
}
2017-09-10 17:25:29 +05:30
.diff-content {
overflow: visible;
2018-11-08 19:23:39 +05:30
padding: 0;
2017-09-10 17:25:29 +05:30
}
2015-04-26 12:48:37 +05:30
}
2018-11-08 19:23:39 +05:30
> li {
2015-04-26 12:48:37 +05:30
display: block;
2016-06-02 11:05:42 +05:30
position: relative;
2017-09-10 17:25:29 +05:30
border-bottom: 0;
2017-08-17 22:00:37 +05:30
&.being-posted {
pointer-events: none;
opacity: 0.5;
2018-12-13 13:39:08 +05:30
padding: $gl-padding;
2017-08-17 22:00:37 +05:30
.dummy-avatar {
2018-12-05 23:21:45 +05:30
background-color: $gl-gray-200;
border: 1px solid darken($gl-gray-200, 25%);
2017-08-17 22:00:37 +05:30
}
.note-headline-light,
.fa-spinner {
margin-left: 3px;
}
}
2018-03-17 18:26:18 +05:30
.editing-spinner {
display: none;
}
&.is-requesting {
.note-timestamp {
display: none;
}
.editing-spinner {
display: inline-block;
}
}
2017-08-17 22:00:37 +05:30
&.is-editing {
2016-06-02 11:05:42 +05:30
.note-header,
.note-text,
.edited-text {
display: none;
}
.note-edit-form {
display: block;
&.current-note-edit-form + .note-awards {
display: none;
}
2016-06-02 11:05:42 +05:30
}
}
2015-09-11 14:41:01 +05:30
2015-04-26 12:48:37 +05:30
.note-body {
2017-08-17 22:00:37 +05:30
overflow-x: auto;
overflow-y: hidden;
2015-09-11 14:41:01 +05:30
2015-04-26 12:48:37 +05:30
.note-text {
2017-09-10 17:25:29 +05:30
word-wrap: break-word;
2015-04-26 12:48:37 +05:30
}
}
2015-09-11 14:41:01 +05:30
.note-awards {
.js-awards-block {
2017-09-10 17:25:29 +05:30
margin-top: 16px;
}
}
2015-04-26 12:48:37 +05:30
.note-header {
2018-11-08 19:23:39 +05:30
@include notes-media('max', map-get($grid-breakpoints, xs)) {
2016-06-22 15:30:34 +05:30
.inline {
display: block;
}
}
}
.note-emoji-button {
2017-08-17 22:00:37 +05:30
position: relative;
line-height: 1;
.fa-spinner {
display: none;
}
&.is-loading {
.fa-smile-o {
display: none;
}
.fa-spinner {
display: inline-block;
}
}
2015-04-26 12:48:37 +05:30
}
2017-08-17 22:00:37 +05:30
}
.system-note {
2018-12-13 13:39:08 +05:30
padding: 6px 21px;
margin: $gl-padding-24 0;
background-color: transparent;
2017-08-17 22:00:37 +05:30
.note-header-info {
padding-bottom: 0;
}
&.timeline-entry::after {
clear: none;
}
.system-note-message {
&::first-letter {
text-transform: lowercase;
}
a {
2018-11-20 20:47:30 +05:30
color: $blue-600;
2017-08-17 22:00:37 +05:30
}
p {
display: inline;
margin: 0;
&::first-letter {
text-transform: lowercase;
}
}
}
2017-09-10 17:25:29 +05:30
.timeline-content {
2018-11-08 19:23:39 +05:30
@include notes-media('min', map-get($grid-breakpoints, sm)) {
2017-09-10 17:25:29 +05:30
margin-left: 30px;
2017-08-17 22:00:37 +05:30
}
}
.note-header {
padding-bottom: 0;
}
.note-body {
overflow: hidden;
.system-note-commit-list-toggler {
2018-11-20 20:47:30 +05:30
color: $blue-600;
2017-08-17 22:00:37 +05:30
padding: 10px 0 0;
cursor: pointer;
position: relative;
z-index: 2;
&:hover {
2018-11-20 20:47:30 +05:30
color: $blue-600;
2017-08-17 22:00:37 +05:30
text-decoration: underline;
}
}
.note-text {
2017-09-10 17:25:29 +05:30
p:first-child {
2017-08-17 22:00:37 +05:30
display: none;
}
2018-03-17 18:26:18 +05:30
&.system-note-commit-list:not(.hide-shade) {
2017-08-17 22:00:37 +05:30
max-height: 70px;
overflow: hidden;
display: block;
ul {
margin: 3px 0 3px 16px !important;
}
p:first-child {
display: none;
}
&::after {
content: '';
2017-09-10 17:25:29 +05:30
height: 70px;
2017-08-17 22:00:37 +05:30
position: absolute;
2019-02-15 15:39:39 +05:30
left: $gl-padding-24;
right: 0;
2017-08-17 22:00:37 +05:30
bottom: 0;
background: linear-gradient(rgba($white-light, 0.1) -100px, $white-light 100%);
}
}
}
}
2015-04-26 12:48:37 +05:30
}
2019-05-18 00:54:41 +05:30
.system-note,
.discussion-filter-note {
.timeline-icon {
float: left;
display: flex;
align-items: center;
background-color: $white-light;
width: $system-note-icon-size;
height: $system-note-icon-size;
border: 1px solid $border-color;
border-radius: $system-note-icon-size;
margin: -6px $gl-padding 0 0;
svg {
width: $system-note-svg-size;
height: $system-note-svg-size;
fill: $gray-darkest;
display: block;
margin: 0 auto;
}
}
}
.discussion-filter-note {
.timeline-icon {
width: $system-note-icon-size + 6;
height: $system-note-icon-size + 6;
margin-top: -8px;
}
}
2015-04-26 12:48:37 +05:30
}
// Diff code in discussion view
.discussion-body .diff-file {
2016-11-03 12:29:30 +05:30
.file-title {
cursor: default;
2018-12-13 13:39:08 +05:30
line-height: 42px;
padding: 0 $gl-padding;
border-top: 1px solid $border-color;
border-radius: 0;
2016-11-03 12:29:30 +05:30
2019-02-15 15:39:39 +05:30
@media (min-width: map-get($grid-breakpoints, md)) {
top: 91px;
.with-performance-bar & {
top: 126px;
}
}
2016-11-03 12:29:30 +05:30
&:hover {
background-color: $gray-light;
}
2018-12-13 13:39:08 +05:30
.btn-clipboard {
top: 10px;
}
2016-11-03 12:29:30 +05:30
}
2015-04-26 12:48:37 +05:30
.line_content {
white-space: pre-wrap;
}
}
2018-12-13 13:39:08 +05:30
.tab-pane.notes {
.diff-file .notes .system-note {
margin: 0;
}
}
.tab-pane.diffs {
.system-note {
padding: 0 $gl-padding;
margin-left: 20px;
}
.notes > .note-discussion li.note.system-note {
border-bottom: 0;
padding: 0 $gl-padding;
}
}
2018-03-17 18:26:18 +05:30
.diff-file {
.is-over {
.add-diff-note {
display: inline-block;
}
}
2015-04-26 12:48:37 +05:30
2018-12-13 13:39:08 +05:30
.discussion-notes {
&:not(:last-child) {
margin-bottom: 0;
}
.system-note {
background-color: $white-light;
padding: $gl-padding;
}
}
2018-03-17 18:26:18 +05:30
// Merge request notes in diffs
// Diff is inline
.notes_content .note-header .note-headline-light {
display: inline-block;
position: relative;
}
2015-04-26 12:48:37 +05:30
2018-03-17 18:26:18 +05:30
.notes_holder {
2018-11-18 11:00:15 +05:30
font-family: $regular-font;
2016-06-02 11:05:42 +05:30
2018-03-17 18:26:18 +05:30
td {
2019-02-15 15:39:39 +05:30
border: 1px solid $border-color;
2018-03-17 18:26:18 +05:30
border-left: 0;
2016-06-02 11:05:42 +05:30
2018-03-17 18:26:18 +05:30
&.notes_content {
border-width: 1px 0;
padding: 0;
vertical-align: top;
white-space: normal;
&.parallel {
border-width: 1px;
2018-12-05 23:21:45 +05:30
&.new {
border-right-width: 0;
}
2017-08-17 22:00:37 +05:30
}
2018-03-17 18:26:18 +05:30
.notes {
background-color: $white-light;
}
2016-06-02 11:05:42 +05:30
2018-03-17 18:26:18 +05:30
a code {
top: 0;
margin-right: 0;
}
2016-06-02 11:05:42 +05:30
}
}
}
}
2018-12-13 13:39:08 +05:30
.diffs {
.discussion-notes {
margin-left: 0;
border-left: 0;
}
.note-wrapper {
&.system-note {
border: 0;
margin-left: 20px;
}
}
.discussion-reply-holder {
border-radius: 0 0 $border-radius-default $border-radius-default;
position: relative;
}
}
.commit-diff {
.notes_content {
background-color: $white-light;
}
}
2016-06-02 11:05:42 +05:30
.discussion-header,
2018-03-17 18:26:18 +05:30
.note-header-info {
2016-06-02 11:05:42 +05:30
a {
color: inherit;
&:hover {
2018-11-20 20:47:30 +05:30
color: $blue-600;
2017-08-17 22:00:37 +05:30
}
&:focus,
&:hover {
2016-06-02 11:05:42 +05:30
text-decoration: none;
2018-03-17 18:26:18 +05:30
.note-header-author-name {
text-decoration: underline;
}
2015-04-26 12:48:37 +05:30
}
}
2016-06-02 11:05:42 +05:30
2018-11-18 11:00:15 +05:30
.author-link {
2017-08-17 22:00:37 +05:30
color: $gl-text-color;
}
}
.discussion-header {
2018-12-13 13:39:08 +05:30
min-height: 72px;
.note-header-info {
padding-bottom: 0;
}
2019-05-18 00:54:41 +05:30
.timeline-content {
overflow-x: auto;
overflow-y: hidden;
}
2018-12-13 13:39:08 +05:30
}
.unresolved {
.note-header-info {
margin-top: $gl-padding-8;
}
2017-08-17 22:00:37 +05:30
}
.note-header {
display: flex;
justify-content: space-between;
}
.note-header-info {
min-width: 0;
2018-12-13 13:39:08 +05:30
padding-bottom: $gl-padding-8;
2018-03-17 18:26:18 +05:30
&.discussion {
padding-bottom: 0;
}
2017-08-17 22:00:37 +05:30
}
2017-09-10 17:25:29 +05:30
.system-note .note-header-info {
padding-bottom: 0;
}
2017-08-17 22:00:37 +05:30
.note-headline-light {
display: inline;
2018-11-08 19:23:39 +05:30
@include notes-media('max', map-get($grid-breakpoints, xs)) {
2017-08-17 22:00:37 +05:30
display: block;
2016-06-02 11:05:42 +05:30
}
}
.note-headline-light,
.discussion-headline-light {
2018-11-20 20:47:30 +05:30
color: $gl-text-color-secondary;
2016-06-02 11:05:42 +05:30
}
.discussion-headline-light {
a {
2018-11-20 20:47:30 +05:30
color: $blue-600;
2016-06-02 11:05:42 +05:30
}
2015-04-26 12:48:37 +05:30
}
2017-08-17 22:00:37 +05:30
.note-headline-meta {
2018-11-08 19:23:39 +05:30
.system-note-separator {
color: $gl-text-color-disabled;
}
2019-05-18 00:54:41 +05:30
.note-timestamp {
white-space: nowrap;
}
2018-03-17 18:26:18 +05:30
a:hover {
text-decoration: underline;
}
2017-08-17 22:00:37 +05:30
}
2015-04-26 12:48:37 +05:30
/**
* Actions for Discussions/Notes
*/
2017-08-17 22:00:37 +05:30
.discussion-actions {
2016-06-02 11:05:42 +05:30
float: right;
2017-08-17 22:00:37 +05:30
color: $gray-darkest;
2018-03-17 18:26:18 +05:30
2018-12-13 13:39:08 +05:30
@include media-breakpoint-down(xs) {
width: 100%;
margin: $gl-padding-8 0;
}
2018-03-17 18:26:18 +05:30
.btn-group > .discussion-next-btn {
margin-left: -1px;
}
2018-12-13 13:39:08 +05:30
svg {
height: 15px;
}
2016-06-02 11:05:42 +05:30
}
.note-actions {
2017-09-10 17:25:29 +05:30
align-self: flex-start;
2017-08-17 22:00:37 +05:30
flex-shrink: 0;
2017-09-10 17:25:29 +05:30
display: inline-flex;
align-items: center;
2017-08-17 22:00:37 +05:30
margin-left: 10px;
color: $gray-darkest;
2016-06-22 15:30:34 +05:30
2018-11-08 19:23:39 +05:30
@include notes-media('max', map-get($grid-breakpoints, sm) - 1) {
2017-08-17 22:00:37 +05:30
float: none;
margin-left: 0;
2016-06-22 15:30:34 +05:30
}
2017-09-10 17:25:29 +05:30
}
.more-actions {
display: flex;
align-items: flex-end;
.tooltip {
white-space: nowrap;
}
}
.more-actions-toggle {
&:hover .icon,
&:focus .icon {
color: $blue-600;
}
}
.more-actions-dropdown {
width: 180px;
min-width: 180px;
2016-06-02 11:05:42 +05:30
}
2015-04-26 12:48:37 +05:30
2017-09-10 17:25:29 +05:30
.note-actions-item {
2018-03-17 18:26:18 +05:30
margin-left: 12px;
2017-09-10 17:25:29 +05:30
display: flex;
align-items: center;
2017-09-10 17:25:29 +05:30
&.more-actions {
// compensate for narrow icon
margin-left: 10px;
}
2017-09-10 17:25:29 +05:30
}
.note-action-button {
2018-12-05 23:21:45 +05:30
@include emoji-menu-toggle-button;
2015-04-26 12:48:37 +05:30
}
2016-06-02 11:05:42 +05:30
.discussion-toggle-button {
2017-08-17 22:00:37 +05:30
padding: 0;
background-color: transparent;
border: 0;
2016-06-02 11:05:42 +05:30
line-height: 20px;
font-size: 13px;
2017-08-17 22:00:37 +05:30
transition: color 0.1s linear;
&:hover {
2018-11-20 20:47:30 +05:30
color: $blue-600;
2017-08-17 22:00:37 +05:30
}
&:focus {
text-decoration: underline;
outline: none;
2018-11-20 20:47:30 +05:30
color: $blue-600;
2017-08-17 22:00:37 +05:30
}
2016-06-02 11:05:42 +05:30
.fa {
margin-right: 3px;
font-size: 10px;
line-height: 18px;
vertical-align: top;
}
}
.note-role {
2018-03-17 18:26:18 +05:30
margin: 0 3px;
}
.note-role-special {
2016-06-02 11:05:42 +05:30
position: relative;
2018-03-17 18:26:18 +05:30
display: inline-block;
color: $gl-text-color-secondary;
2016-06-02 11:05:42 +05:30
font-size: 12px;
2018-03-17 18:26:18 +05:30
text-shadow: 0 0 15px $gl-text-color-inverted;
2016-06-02 11:05:42 +05:30
}
2015-04-26 12:48:37 +05:30
/**
* Line note button on the side of diffs
*/
2017-09-10 17:25:29 +05:30
.line_holder .is-over:not(.no-comment-btn) {
.add-diff-note {
opacity: 1;
2018-11-08 19:23:39 +05:30
z-index: 101;
2017-09-10 17:25:29 +05:30
}
}
2017-08-17 22:00:37 +05:30
.add-diff-note {
2018-03-17 18:26:18 +05:30
@include btn-comment-icon;
2017-09-10 17:25:29 +05:30
opacity: 0;
2019-05-18 00:54:41 +05:30
margin-left: -50px;
2017-08-17 22:00:37 +05:30
position: absolute;
2018-11-08 19:23:39 +05:30
top: 50%;
transform: translateY(-50%);
2017-08-17 22:00:37 +05:30
z-index: 10;
}
2015-04-26 12:48:37 +05:30
2016-06-02 11:05:42 +05:30
.disabled-comment {
background-color: $gray-light;
border-radius: $border-radius-base;
border: 1px solid $border-gray-normal;
color: $note-disabled-comment-color;
2017-09-10 17:25:29 +05:30
padding: 90px 0;
2016-06-02 11:05:42 +05:30
2018-03-17 18:26:18 +05:30
&.discussion-locked {
border: 0;
background-color: $white-light;
}
2016-06-02 11:05:42 +05:30
a {
2018-11-20 20:47:30 +05:30
color: $blue-600;
2016-06-02 11:05:42 +05:30
}
}
2016-09-13 17:45:13 +05:30
.line-resolve-all-container {
2018-11-08 19:23:39 +05:30
@include notes-media('min', map-get($grid-breakpoints, sm)) {
2017-08-17 22:00:37 +05:30
margin-right: 0;
}
> div {
white-space: nowrap;
}
2016-09-13 17:45:13 +05:30
.btn-group {
margin-left: -4px;
}
.discussion-next-btn {
border-top-left-radius: 0;
border-bottom-left-radius: 0;
}
2017-08-17 22:00:37 +05:30
2018-03-17 18:26:18 +05:30
.btn {
2018-12-13 13:39:08 +05:30
svg {
2018-03-17 18:26:18 +05:30
fill: $gray-darkest;
}
2017-08-17 22:00:37 +05:30
2018-03-17 18:26:18 +05:30
&.discussion-create-issue-btn {
margin-left: -4px;
border-radius: 0;
border-right: 0;
2017-08-17 22:00:37 +05:30
2018-03-17 18:26:18 +05:30
a {
padding: 0;
line-height: 0;
2017-08-17 22:00:37 +05:30
2018-03-17 18:26:18 +05:30
&:hover {
text-decoration: none;
border: 0;
}
}
2017-08-17 22:00:37 +05:30
}
}
2016-09-13 17:45:13 +05:30
}
.line-resolve-all {
2017-08-17 22:00:37 +05:30
vertical-align: middle;
2016-09-13 17:45:13 +05:30
display: inline-block;
2018-12-13 13:39:08 +05:30
padding: 6px 10px;
2017-08-17 22:00:37 +05:30
background-color: $gray-light;
2016-09-13 17:45:13 +05:30
border: 1px solid $border-color;
border-radius: $border-radius-default;
&.has-next-btn {
border-top-right-radius: 0;
border-bottom-right-radius: 0;
2017-08-17 22:00:37 +05:30
border-right: 0;
2016-09-13 17:45:13 +05:30
}
.line-resolve-btn {
margin-right: 5px;
2017-08-17 22:00:37 +05:30
svg {
vertical-align: middle;
}
}
2016-09-13 17:45:13 +05:30
}
.line-resolve-btn {
position: relative;
2017-08-17 22:00:37 +05:30
top: 0;
2016-09-13 17:45:13 +05:30
padding: 0;
background-color: transparent;
2018-03-17 18:26:18 +05:30
border: 0;
2016-09-13 17:45:13 +05:30
outline: 0;
2018-03-17 18:26:18 +05:30
color: $gray-darkest;
2017-09-10 17:25:29 +05:30
transition: color $general-hover-transition-duration $general-hover-transition-curve;
2016-09-13 17:45:13 +05:30
&.is-disabled {
cursor: default;
}
2017-09-10 17:25:29 +05:30
&:not(.is-disabled) {
&:hover,
&:focus {
2018-11-20 20:47:30 +05:30
color: $green-600;
2017-09-10 17:25:29 +05:30
}
}
2016-09-13 17:45:13 +05:30
&.is-active {
2018-11-20 20:47:30 +05:30
color: $green-600;
2016-09-13 17:45:13 +05:30
2017-09-10 17:25:29 +05:30
&:hover,
&:focus {
2018-11-20 20:47:30 +05:30
color: $green-700;
2016-09-13 17:45:13 +05:30
}
}
2017-08-17 22:00:37 +05:30
.loading {
margin: 0;
height: auto;
2016-09-13 17:45:13 +05:30
}
}
2018-11-08 19:23:39 +05:30
// Vue refactored diff discussion adjustments
.files {
.diff-discussions {
.note-discussion.timeline-entry {
padding-left: 0;
&:last-child {
border-bottom: 0;
}
> .timeline-entry-inner {
padding: 0;
> .timeline-content {
margin-left: 0;
}
> .timeline-icon {
display: none;
}
}
.discussion-body {
padding-top: 0;
.discussion-wrapper {
2018-12-05 23:21:45 +05:30
border: 0;
2018-11-08 19:23:39 +05:30
}
}
}
}
.diff-comment-form {
display: block;
}
.add-diff-note svg {
margin-top: 4px;
}
}
2018-12-13 13:39:08 +05:30
.discussion-filter-container {
.btn > svg {
width: $gl-col-padding;
height: $gl-col-padding;
}
.dropdown-menu {
margin-bottom: $gl-padding-4;
@include media-breakpoint-down(md) {
margin-left: $btn-side-margin + $contextual-sidebar-collapsed-width;
}
@include media-breakpoint-down(xs) {
margin-left: $btn-side-margin;
}
}
}
//This needs to be deleted when Snippet/Commit comments are convered to Vue
// See https://gitlab.com/gitlab-org/gitlab-ce/issues/53918#note_117038785
.unstyled-comments {
.discussion-header {
padding: $gl-padding;
border-bottom: 1px solid $border-color;
}
.discussion-form-container {
padding: $gl-padding;
}
}