I'm looking for a part-time remote job.

Hire me


I'm the author of:

Mastering Redmine is a comprehensive guide with tips, tricks and best practices, and an easy-to-learn structure.

Check the book's project or

Buy the book

Social pages of the book:

By buying this book you also donate to Redmine (see this page).


Follow me:

Support #2354

Bug or it is intentionaly done this way?

Added by Ivan Cenov almost 10 years ago. Updated almost 7 years ago.

Status:
Won't Fix
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Start date:
07 Jan 2015
Due date:
% Done:

0%

Redmine version:
External issue:

Description

I compared blocks’ definitions in wiking.css and red-andy.css. Here they are:
red-andy.css:

div.wiking.warning {
    background-position: 6px 4px;
}
div.wiking.notice {
    background-image: url(../images/red-andy/notice.png);
    background-position: 6px 5px;
    background-color: #e9facd;
    border-color: #b8d573;
    color: #005f00;
}
div.wiking.tip {
    background-image: url(../images/notice.png);
    background-color: #ddedf2;
    border-color: #759fcf;
    color: #00365f;
}

wiking.css:
div.wiking.warning {
    background-image: url(../images/warning.png);
    color: #863D09;
}
div.wiking.notice {
    background-image: url(../images/notice.png);
    background-color: #c5e7f8;
    border-color: #759fcf;
    color: #00365f;
}
div.wiking.tip {
    background-image: url(../images/tip.png);
    background-repeat: no-repeat;
    background-color: #eee;
    border-color: #bbb;
}

In red-andy.css, notice.png is referred only, while in wiking.css all three notice.png, warning.png and tip.png are referred. Is this OK or it is a bug?

I saw this when adding another block (“question” in my case and added new picture “question.png”).

History

#1 Updated by Andriy Lesyuk almost 7 years ago

  • Category deleted (CSS Class)
  • Status changed from New to Open
  • Target version set to 1.1.0

#2 Updated by Andriy Lesyuk almost 7 years ago

  • Tracker changed from Bug to Support
  • Status changed from Open to Won't Fix
  • Target version deleted (1.1.0)

It’s intentional. For the Red-Andy theme both these files are loaded – red-andy.css just modifies what’s declared in wiking.css.

Here, for Red-Andy I used a different image for notice and the original notice image for tip.

Also available in: Atom PDF

Terms of use | Privacy policy