SHA256
1
0
forked from cockpit/cockpit
Commit Graph

1 Commits

Author SHA256 Message Date
23b9028c58 Accepting request 982641 from home:dgdavid:branches:systemsmanagement:cockpit
Start loading a custom CSS file

In order to override Cockpit's default styling, another CSS file is loaded in every HTML page. It works, but as a workaround already discussed with upstream [1].

We will revert this patch when Cockpit provides better technique [2]. For now, it fulfills the requirements of [3].

Note that the empty css-overrides.css file is placed into /usr/share/cockpit/static because, at least during the prototype phase, the cockpit-suse-theme will put
the real css-overrides.css file in /usr/share/cockpit/branding/default instead of using a specific
release $ID (i.e, no /usr/share/cockpit/branding/opensuse-tumbleweed/css-overrides.css by now). See [4].

[1] https://github.com/cockpit-project/cockpit/pull/17437
[2] https://github.com/cockpit-project/cockpit/issues/16359
[3] https://en.opensuse.org/openSUSE:ALP/Workgroups/SysMngmnt
[4] 
https://github.com/cockpit-project/cockpit/blob/main/doc/branding.md

OBS-URL: https://build.opensuse.org/request/show/982641
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:cockpit/cockpit?expand=0&rev=91
2022-06-17 10:06:35 +00:00