?
avatar brianteeman
brianteeman
29 Mar 2021

The images referenced in the css below do not exist. Not sure if this is a missing files problem or a bad css problem

/* System Standard Messages */
#system-message > .message > ul {
background-color: #c3d2e5;
background-image: url("../images/notice-info.png");
}
/* System Error Messages */
#system-message > .error > ul,
#system-message > .warning > ul,
#system-message > .notice > ul {
color: #c00;
}
#system-message > .error > ul {
background-color: #e6c0c0;
background-image: url("../images/notice-alert.png");
border-color: #de7a7b;
}
/* System Warning Messages */
#system-message > .warning > ul {
background-color: #e6c8a6;
background-image: url("../images/notice-note.png");
border-color: #fb0;
}
/* System Notice Messages */
#system-message > .notice > ul {
background-color: #efe7b8;
background-image: url("../images/notice-note.png");
border-color: #f0dc7e;
}

avatar brianteeman brianteeman - open - 29 Mar 2021
avatar joomla-cms-bot joomla-cms-bot - change - 29 Mar 2021
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 29 Mar 2021
avatar richard67
richard67 - comment - 29 Mar 2021

Looks like either a copy and paste issue or an upmerge issue, or some old historical stuff from times when the Atum template was created.

Images with such names only exist in 3.x:

richard@vmkubu02:~/lamp/public_html/joomla-cms$ find ./ -type f -name "notice*\.png"
./administrator/templates/hathor/images/notice-alert.png
./administrator/templates/hathor/images/notice-note.png
./administrator/templates/hathor/images/notice-info.png
./templates/beez3/images/system/notice-alert.png
./templates/beez3/images/system/notice-note_rtl.png
./templates/beez3/images/system/notice-alert_rtl.png
./templates/beez3/images/system/notice-note.png
./templates/beez3/images/system/notice-info.png
./templates/beez3/images/system/notice-info_rtl.png
./media/system/images/notice-alert.png
./media/system/images/notice-note.png
./media/system/images/notice-info.png
./media/system/images/notice-download.png
richard@vmkubu02:~/lamp/public_html/joomla-cms$

In the 4.0-dev branch are no images with names like notice*.png.

avatar richard67
richard67 - comment - 29 Mar 2021

Hmm, no upmerge issue. This file joomla-cms/administrator/templates/system/scss/system.scss has been added with PR #31221 . => Ping @dgrammatiko .

avatar dgrammatiko
dgrammatiko - comment - 29 Mar 2021

All these files are totally useless. I mean frames (not iframes!!!) are not supported anymore. Actually I was thinking to totally remove the system templates and patch the one place where these things are used (as fallbacks) with a prerendered html (as we re doing for the other hard fails)

avatar Fedik
Fedik - comment - 30 Mar 2021

This is from joomla 2.5, or even older 1.5
At that time we did not have layouts system. This style was loaded to keep styled "important parts" in fallbacks when the default template do not have index.php or component.php.

In joomla 4 the messages styles loaded with layout

Factory::getDocument()->getWebAssetManager()
->useStyle('webcomponent.joomla-alert')
->useScript('webcomponent.joomla-alert');

I think whole part with #system-message in system.css can be removed, or even whole system.css.

avatar Piyussshh
Piyussshh - comment - 1 Apr 2021

@brianteeman I checked the images directory there were no such images named "notice-alert.png", "notice-note.png"

avatar brianteeman
brianteeman - comment - 1 Apr 2021

@Piyussshh thats exactly what I said

avatar Piyussshh
Piyussshh - comment - 1 Apr 2021

@Piyussshh thats exactly what I said
Then this is a missing file problem

avatar brianteeman brianteeman - change - 23 Apr 2021
Status New Closed
Closed_Date 0000-00-00 00:00:00 2021-04-23 08:07:33
Closed_By brianteeman
avatar brianteeman brianteeman - close - 23 Apr 2021
avatar brianteeman
brianteeman - comment - 23 Apr 2021

Closed as we have a PR

Add a Comment

Login with GitHub to post a comment