Labels |
Added:
?
|
Can someone else with a Mac please confirm or deny this please
Info: My test was done with macOS 10.12.6 and Safari 12.1.2, therefore not the exact conditions of original poster.
I managed to install catalina on an older mac(macOS 10.15.2 Safari 13.0.4) and l confirm the issue with Safari ! It can already be seen at install time. Setting as release blocker.
Labels |
Added:
?
|
Title |
|
Mofified title for better info
Could one of you test modifying the css in template.css (if you do not use npm) after setting debug system on?
Line 3194
Add quotes in order to have
background: var(--atum-bg-dark) url('../images/select-bg.svg') no-repeat right center/116rem;
I can confirm the issue but I'm having a hard time navigating in developer. I don't believe the issue is the background image. I believe it's the way the input(s) are contained.
Why are these control-groups(s) instead of input-group(s) ?
Safari is referencing the image in the root directory and not relative to the administration images directory. Could this be a Safari bug? It is fine using Firefox.
No because it works in Firefox but not in Safari on the same machine.
Status | New | ⇒ | Confirmed |
@C-Lodder @ciar4n Do you know why Safari and Microsoft Edge load images in the root directory and not relative to the atum
directory in these css files?
http://localhost/joomla-cms-4.0-dev/administrator/templates/atum/css/template.css
background: var(--atum-bg-dark) url(../images/select-bg.svg) no-repeat right center/116rem;
http://localhost/joomla-cms-4.0-dev/administrator/templates/atum/css/system/searchtools/searchtools.css
background: var(--atum-bg-dark) url(../../../images/select-bg-active.svg) no-repeat right center;
http://localhost/joomla-cms-4.0-dev/images/select-bg.svg
http://localhost/images/select-bg-active.svg
A temporary solution is to copy these images to the images
directory in the root.
The URL to the image looks fine. I think the issue is how the CSS property is been defined. Edge can have trouble with vars inside shorthand properties like background
Try defining the properties separately.
background-image: url("../images/select-bg.svg");
background-color: var(--atum-bg-dark) ;
background-repeat: no-repeat;
background-position: center/116rem;
Macintosh Microsoft edge: I have no issue here.
@ciar4n @C-Lodder Thanks for the hint. The fix is to declare color on its own.
Change
background: $custom-select-bg $custom-select-background;
to
background: $custom-select-background;
background-color: $custom-select-bg;
This line is in the following files:
\media\vendor\bootstrap\scss\_custom-forms.scss
\node_modules\bootstrap\scss\_custom-forms.scss
Should this be fixed upstream or be overridden in a custom file?
Looks like it is a bit more complex:
We should not forget that we have also the rtl equivalent, therefore it concerns 4 files.
select-bg-active-rtl.svg
select-bg-active.svg
select-bg-rtl.svg
select-bg.svg
Also we have specific variables for atum
$custom-select-indicator: url(../images/select-bg.svg);
$custom-select-indicator-active: url(../../../images/select-bg-active.svg);
$custom-select-indicator-active-rtl: url(../../../images/select-bg-active-rtl.svg);
(Where we should also add imho $custom-select-indicator-rtl: url(../images/select-bg-rtl.svg);
and use accordingly.)
For example, the variable $custom-select-indicator
is used in searchtools.scss
and cassiopea _chosen.scss.
Also, we do import in the Installation template
@import "../../../administrator/templates/atum/scss/vendor/bootstrap/custom-forms";
which uses background-image: url(../images/select-bg-rtl.svg);
=> this should be tested in Safari catalina although my guess is that that part works fine.
Status | Confirmed | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2020-02-04 01:21:55 |
Closed_By | ⇒ | Quy |
Status | Closed | ⇒ | New |
Closed_Date | 2020-02-04 01:21:55 | ⇒ | |
Closed_By | Quy | ⇒ |
Status | New | ⇒ | Confirmed |
Status | Confirmed | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2020-02-08 03:44:22 |
Closed_By | ⇒ | Quy |
Labels |
Removed:
?
|
I can’t reproduce this.