tabulator .tabulator-row-even 被覆盖但 .tabulator-row-odd 不是

tabulator .tabulator-row-even overridden but .tabulator-row-odd is not

我正在尝试在制表符上设置“.tabulator-row-even”和“.tabulator-row-odd”颜色table。

".tabulator-row-even" 被 tabulator.scss

覆盖

".tabulator-row-odd" 没有被覆盖,我可以改变这个颜色。

我的 style.css 有这些行:

.tabulator-row-odd {
    background-color: #553333;
}
.tabulator-row-even {
    background-color: #335533;
}

Safari 上的计算属性:

#553333.tabulator-row-odd   style.css:23
#fff.tabulator-row  tabulator.scss:1001
#fff.tabulator .…lator-table    tabulator.scss:1001

#efefef.tabulator-r…or-row-even tabulator.scss:1001
#335533.tabulator-row-even  style.css:26
#fff.tabulator-row  tabulator.scss:1001

你尝试了吗?

.tabulator-row-odd {
    background-color: #553333 !important;
}
.tabulator-row-even {
    background-color: #335533 !important;
}