Skip to content

Commit

Permalink
few adjustments
Browse files Browse the repository at this point in the history
  • Loading branch information
mrliptontea committed Feb 22, 2015
1 parent 09a63b4 commit 6dfbb71
Show file tree
Hide file tree
Showing 6 changed files with 33 additions and 7 deletions.
2 changes: 1 addition & 1 deletion plugins/redmine_backlogs/master_backlog.css

Large diffs are not rendered by default.

4 changes: 3 additions & 1 deletion src/sass/components/_list.scss
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ tr.entry {
/**
* Priorities
*/

// scss-lint:disable SpaceAfterComma
@if $color-priorities {
@include priority(".priority-lowest", $priority-lowest-bg, $priority-lowest-text, $priority-lowest-link);
@include priority(".priority-default", $priority-default-bg, $priority-default-text, $priority-default-link);
Expand Down Expand Up @@ -321,12 +321,14 @@ tr.group {

.count {
display: inline-block;
min-width: 1em;
margin: 0 5px;
padding: 1px 4px;
border-radius: $border-radius-small;
background-color: $brand-primary;
color: $brand-text;
font-size: $font-size-small;
text-align: center;
}
}

Expand Down
6 changes: 6 additions & 0 deletions src/sass/components/_progress.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ table.progress {
border: 1px solid rgba(#000, .1);
empty-cells: show;

td.done_ratio & {
float: none;
margin-right: auto;
margin-left: auto;
}

td {
height: 12px;
padding: 0;
Expand Down
20 changes: 17 additions & 3 deletions src/sass/mixins/_issues.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,12 @@

tr#{$parent} {
background: $background;
color: $color;

@if ".priority-default" == $parent {
color: $color;
} @else {
color: darken($color, 10%);
}

&.odd {
background: darken($background, 3%);
Expand Down Expand Up @@ -79,7 +84,12 @@

> .attachments {
border-top-color: lighten($border-color, 5%);
background-color: lighten($background, 5%);

@if ".priority-default" == $parent {
background-color: lighten($issue-bg, 1.5%);
} @else {
background-color: lighten($background, 5%);
}

span.author {
color: mix($color, $gray, 25%);
Expand All @@ -106,7 +116,11 @@
color: $color;

&:hover {
background-color: darken($background, 10%);
@if hue($background) > 15deg and hue($background) < 40deg {
background-color: darken(adjust-hue($background, -8deg), 8%);
} @else {
background-color: darken($background, 10%);
}
color: $color;
text-decoration: none;
}
Expand Down
6 changes: 5 additions & 1 deletion src/sass/plugins/redmine_backlogs/master_backlog.scss
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,11 @@ $story-sp-input-width: 50px;
}

&:hover {
background-color: darken($background, 10%);
@if hue($background) > 15deg and hue($background) < 40deg {
background-color: darken(adjust-hue($background, -8deg), 8%);
} @else {
background-color: darken($background, 10%);
}
text-decoration: none;
}
}
Expand Down
2 changes: 1 addition & 1 deletion stylesheets/application.css

Large diffs are not rendered by default.

0 comments on commit 6dfbb71

Please sign in to comment.