summaryrefslogtreecommitdiff
path: root/app/assets/stylesheets/pages/labels.scss
diff options
context:
space:
mode:
authorRajat Jain <rjain@gitlab.com>2019-04-02 12:46:21 +0200
committerJan Provaznik <jprovaznik@gitlab.com>2019-04-04 08:06:48 +0200
commit97ab8539968d52b709cd61c2dd4229d404903e14 (patch)
treecbb0638954f81cfe927f65c22a255206bd2fc1f5 /app/assets/stylesheets/pages/labels.scss
parentd0a0d3d3d5043d1497a5cd42e6c6bc073f6a5b58 (diff)
downloadgitlab-ce-97ab8539968d52b709cd61c2dd4229d404903e14.tar.gz
[frontend] backport of scoped labels
Scoped labels in EE require additional changes in CE code.
Diffstat (limited to 'app/assets/stylesheets/pages/labels.scss')
-rw-r--r--app/assets/stylesheets/pages/labels.scss36
1 files changed, 36 insertions, 0 deletions
diff --git a/app/assets/stylesheets/pages/labels.scss b/app/assets/stylesheets/pages/labels.scss
index 6f98b4f7f13..e7fd7fab32b 100644
--- a/app/assets/stylesheets/pages/labels.scss
+++ b/app/assets/stylesheets/pages/labels.scss
@@ -402,3 +402,39 @@
.priority-labels-empty-state .svg-content img {
max-width: $priority-label-empty-state-width;
}
+
+.scoped-label-tooltip-title {
+ color: $indigo-300;
+}
+
+.scoped-label-wrapper {
+ &.label-link .color-label a {
+ color: inherit;
+ }
+
+ .color-label {
+ padding-right: $gl-padding-24;
+ }
+
+ .scoped-label {
+ position: absolute;
+ top: 4px;
+ right: 8px;
+ padding: 0;
+ margin: 0;
+ line-height: $gl-line-height;
+ }
+}
+
+// Label inside title of Delete Label Modal
+.modal-header .page-title {
+ .scoped-label-wrapper {
+ .scoped-label {
+ line-height: 20px;
+ }
+
+ span.color-label {
+ padding-right: $gl-padding-24;
+ }
+ }
+}