Skip to content

Commit

Permalink
Support issue-id plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
mrliptontea committed Jun 13, 2019
1 parent 6a78cb4 commit ad138b9
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 7 deletions.
22 changes: 16 additions & 6 deletions src/sass/components/_list.scss
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,17 @@ table.list {
}

&.id,
&.issue_id,
&.legacy_id,
&.parent,
&.relations,
&.tracker {
width: 2%;
}

&.id {
&.id,
&.issue_id,
&.legacy_id {
font-weight: $font-weight-bold;
}

Expand All @@ -81,10 +85,6 @@ table.list {
}
}

&.id {
text-align: right;
}

&.activity,
&.assigned_to,
&.attachments,
Expand All @@ -108,6 +108,8 @@ table.list {
text-align: left;
}

&.id,
&.legacy_id,
&.estimated_hours,
&.float,
&.int,
Expand Down Expand Up @@ -384,6 +386,8 @@ tr.entry {

@if $color-trackers {
tr.issue .id > a,
tr.issue .issue_id > a,
tr.issue .legacy_id > a,
a.issue,
.relations > span > a.issue,
.parent > a.issue {
Expand Down Expand Up @@ -432,7 +436,8 @@ tr.entry {
}
}

tr.issue .id > a {
tr.issue .id > a,
tr.issue .legacy_id > a {
display: block;
padding: $tracker-list-padding;

Expand All @@ -442,6 +447,11 @@ tr.entry {
}
}

tr.issue .issue_id > a {
display: inline-block;
padding: $tracker-list-padding;
}

@each $tracker-id, $tracker-colors in $tracker-colors-map {
@include tracker(
".tracker-#{$tracker-id}",
Expand Down
1 change: 1 addition & 0 deletions src/sass/mixins/_issues.scss
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@

@mixin tracker($parent, $background, $color) {
tr#{$parent} .id > a,
tr#{$parent} .issue_id > a,
a#{$parent},
.relations > span > a#{$parent},
.parent > a#{$parent} {
Expand Down
2 changes: 1 addition & 1 deletion stylesheets/application.css

Large diffs are not rendered by default.

0 comments on commit ad138b9

Please sign in to comment.