Compare commits

...

6 Commits

Author SHA1 Message Date
mrliptontea
fc5b48aabe Release v2.7.0 2019-06-13 20:51:48 +01:00
Grzegorz Rajchman
5e04839cfd Merge pull request #126 from mrliptontea/issue-124/support-issue-id-plugin
Support issue-id plugin
2019-06-13 20:41:51 +01:00
mrliptontea
ad138b9331 Support issue-id plugin
Resolves #124
http://projects.andriylesyuk.com/project/redmine/issue-id
2019-06-13 20:36:12 +01:00
mrliptontea
6a78cb45c1 Release v2.6.0 2019-06-13 00:04:08 +01:00
Grzegorz Rajchman
b14206a585 Merge pull request #122 from mrliptontea/issue-121/support-redmine_wiki_page_tree-plugin
Add support for redmine_wiki_page_tree plugin
2019-06-13 00:03:40 +01:00
mrliptontea
a1d18834d3 Add support for redmine_wiki_page_tree plugin
Resolves #121
2019-06-13 00:01:01 +01:00
5 changed files with 132 additions and 11 deletions

View File

@@ -56,6 +56,14 @@ If you need to customize styles for [Redmine Backlogs][redmine_backlogs] remembe
## Changelog ## Changelog
v2.7.0 (2019-06-13):
* Resolved #124: added support for [issue-id](http://projects.andriylesyuk.com/projects/issue-id/) plugin.
v2.6.0 (2019-06-13):
* Resolved #121: added support for [redmine_wiki_page_tree](https://github.com/ledsun/redmine_wiki_page_tree) plugin.
v2.5.0 (2019-06-05): v2.5.0 (2019-06-05):
* Fixed #117, #118 and added many improvements to the responsive layout. * Fixed #117, #118 and added many improvements to the responsive layout.

View File

@@ -168,6 +168,8 @@
@if $sidebar-position == "right" { @if $sidebar-position == "right" {
margin-left: 3px; margin-left: 3px;
} @else {
margin-right: 0;
} }
li { li {
@@ -184,10 +186,6 @@
margin-left: $sidebar-padding-horizontal / 2 + 3px; margin-left: $sidebar-padding-horizontal / 2 + 3px;
} }
} }
@if $sidebar-position == "left" {
margin-right: 0;
}
} }
} }
} }
@@ -203,6 +201,110 @@
margin-left: 0; margin-left: 0;
} }
} }
// For plugin https://github.com/ledsun/redmine_wiki_page_tree
div.page-tree {
margin: 0;
padding: 0;
.page-tree__title {
margin-left: 0;
}
.page-tree__list {
.page-tree__list {
margin-left: $sidebar-padding-horizontal + 3px;
border-left: 2px solid $gray-400;
@if $sidebar-position == "right" {
margin-left: 3px;
} @else {
margin-right: 0;
}
.page-tree__list {
margin-left: $sidebar-padding-horizontal / 2 + 3px;
}
summary {
padding-left: $sidebar-padding-horizontal + 8px;
@if $sidebar-position == "right" {
margin-left: 0;
}
&::before {
left: 6px;
}
}
}
li {
> a:not(.icon-only) {
padding-right: $sidebar-padding-horizontal / 2;
padding-left: $sidebar-padding-horizontal / 2;
@if $sidebar-position == "right" {
margin-left: 0;
}
&:hover {
text-decoration: underline;
}
}
}
}
details {
summary {
display: block;
position: relative;
padding: 0 $sidebar-padding-horizontal;
padding-left: $sidebar-padding-horizontal * 1.5 + 8px;
@if $sidebar-position == "left" {
border-radius: $border-radius-large 0 0 $border-radius-large;
} @else {
margin-left: -($sidebar-padding-horizontal);
border-radius: 0 $border-radius-large $border-radius-large 0;
}
&::-webkit-details-marker {
display: none;
}
&::before {
content: "";
position: absolute;
top: ($sidebar-padding-vertical + 1px) + ($line-height-computed - 16px) / 2;
left: $sidebar-padding-horizontal / 2 + 6px;
width: 16px;
height: 16px;
background-image: inline-svg("chevron-right.svg", (path: (fill: $btn-default-icon-color)));
background-repeat: no-repeat;
}
&:hover {
background-color: $sidebar-link-hover-bg;
}
a {
display: inline-block;
padding-top: ($sidebar-padding-vertical + 1px);
padding-bottom: ($sidebar-padding-vertical + 1px);
&:hover {
color: $sidebar-link-hover-text;
text-decoration: underline;
}
}
}
&[open] > summary::before {
transform: rotate(90deg);
}
}
}
} }
#footer { #footer {

View File

@@ -50,13 +50,17 @@ table.list {
} }
&.id, &.id,
&.issue_id,
&.legacy_id,
&.parent, &.parent,
&.relations, &.relations,
&.tracker { &.tracker {
width: 2%; width: 2%;
} }
&.id { &.id,
&.issue_id,
&.legacy_id {
font-weight: $font-weight-bold; font-weight: $font-weight-bold;
} }
@@ -81,10 +85,6 @@ table.list {
} }
} }
&.id {
text-align: right;
}
&.activity, &.activity,
&.assigned_to, &.assigned_to,
&.attachments, &.attachments,
@@ -108,6 +108,8 @@ table.list {
text-align: left; text-align: left;
} }
&.id,
&.legacy_id,
&.estimated_hours, &.estimated_hours,
&.float, &.float,
&.int, &.int,
@@ -384,6 +386,8 @@ tr.entry {
@if $color-trackers { @if $color-trackers {
tr.issue .id > a, tr.issue .id > a,
tr.issue .issue_id > a,
tr.issue .legacy_id > a,
a.issue, a.issue,
.relations > span > a.issue, .relations > span > a.issue,
.parent > a.issue { .parent > a.issue {
@@ -432,7 +436,8 @@ tr.entry {
} }
} }
tr.issue .id > a { tr.issue .id > a,
tr.issue .legacy_id > a {
display: block; display: block;
padding: $tracker-list-padding; padding: $tracker-list-padding;
@@ -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 { @each $tracker-id, $tracker-colors in $tracker-colors-map {
@include tracker( @include tracker(
".tracker-#{$tracker-id}", ".tracker-#{$tracker-id}",

View File

@@ -27,6 +27,7 @@
@mixin tracker($parent, $background, $color) { @mixin tracker($parent, $background, $color) {
tr#{$parent} .id > a, tr#{$parent} .id > a,
tr#{$parent} .issue_id > a,
a#{$parent}, a#{$parent},
.relations > span > a#{$parent}, .relations > span > a#{$parent},
.parent > a#{$parent} { .parent > a#{$parent} {

File diff suppressed because one or more lines are too long