Support #2354
Bug or it is intentionaly done this way?
0%
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 about 8 years ago
- Category deleted (
CSS Class) - Status changed from New to Open
- Target version set to 1.1.0
#2
Updated by Andriy Lesyuk about 8 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.