summaryrefslogtreecommitdiff
path: root/app/assets/stylesheets/pages/notes.scss
diff options
context:
space:
mode:
Diffstat (limited to 'app/assets/stylesheets/pages/notes.scss')
-rw-r--r--app/assets/stylesheets/pages/notes.scss29
1 files changed, 17 insertions, 12 deletions
diff --git a/app/assets/stylesheets/pages/notes.scss b/app/assets/stylesheets/pages/notes.scss
index 40f0104a2bf..e4e54501627 100644
--- a/app/assets/stylesheets/pages/notes.scss
+++ b/app/assets/stylesheets/pages/notes.scss
@@ -674,7 +674,7 @@ $note-form-margin-left: 72px;
.note-headline-meta {
.system-note-separator {
- color: $gray-700;
+ color: $gray-500;
}
.note-timestamp {
@@ -727,7 +727,7 @@ $note-form-margin-left: 72px;
display: inline-flex;
align-items: center;
margin-left: 10px;
- color: $gray-600;
+ color: $gray-400;
@include notes-media('max', map-get($grid-breakpoints, sm) - 1) {
float: none;
@@ -820,9 +820,7 @@ $note-form-margin-left: 72px;
}
}
-.add-diff-note {
- @include btn-comment-icon;
- opacity: 0;
+.tooltip-wrapper.add-diff-note {
margin-left: -52px;
position: absolute;
top: 50%;
@@ -830,6 +828,18 @@ $note-form-margin-left: 72px;
z-index: 10;
}
+.note-button.add-diff-note {
+ @include btn-comment-icon;
+ opacity: 0;
+
+ &[disabled] {
+ background: $white;
+ border-color: $gray-200;
+ color: $gl-gray-400;
+ cursor: not-allowed;
+ }
+}
+
.disabled-comment {
background-color: $gray-light;
border-radius: $border-radius-base;
@@ -867,7 +877,7 @@ $note-form-margin-left: 72px;
line-height: $gl-line-height;
svg {
- fill: $gray-700;
+ fill: $gray-500;
}
&.discussion-create-issue-btn {
@@ -904,7 +914,7 @@ $note-form-margin-left: 72px;
border-right: 0;
.line-resolve-btn {
- color: $gray-700;
+ color: $gray-500;
svg {
vertical-align: text-top;
@@ -989,11 +999,6 @@ $note-form-margin-left: 72px;
}
.discussion-filter-container {
- .btn > svg {
- width: $gl-col-padding;
- height: $gl-col-padding;
- }
-
.dropdown-menu {
margin-bottom: $gl-padding-4;