我们已经设置了一个 FIORI Launchpad 并创建了一个自定义主题,总体上效果很好。
现在,我意识到 1. 仅在 IE 中,custom.css 中的一些 CSS 规则被 library.css 覆盖 2. 与只有一个用户(到目前为止)一样,使用最新的 chrome 版本。
不知道有没有人遇到过类似的效果,有没有已知的解决方法。我希望 custom.css 成为负责人。
Custom.css 在目前遇到的所有其他情况下都被引用。 IE 开发者工具显示 custom.css 中的 CSS 规则被删除。
自定义.css .sapMeCalendarApproval > .sapMeCalendarMonth > div.sapMeCalendarMonthDays > .sapMeCalendarType01.sapMeCalendarMonthDay { 背景色:绿色;
库.css .sapMeCalendarApproval > .sapMeCalendarMonth > div.sapMeCalendarMonthDays > .sapMeCalendarType01.sapMeCalendarMonthDay { 背景颜色:蓝色;
=> 结果是蓝色背景,应该是绿色。
最佳答案
您可以尝试使用 the "!important" rule , 此声明覆盖任何其他声明。
关于css - FIORI 自定义主题被部分用户的 library.css 覆盖,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/55517032/