0

KendoUI 工具栏 splitButton 自动突出显示(部分在提供的链接中,在我的情况下,完全)下拉列表中的第一个选项。 http://demos.telerik.com/kendo-ui/toolbar/index

在这个 url 中,如果我们观察到,插入选项将“插入上方”设置为蓝色而不是黑色。段落也是如此。我怎样才能让它们看起来都一样。

4

1 回答 1

2

你可以像这样自定义css

<style>
    .k-button.k-state-focused, .k-button:focus {
      border: 0px !important; 
      background-color: #ffffff !important;
    }

    .k-button.k-state-focused, .k-button:hover {
      background-color: #f4f4f4 !important;
    }

    .k-list-optionlabel.k-state-selected.k-state-focused{
      background-color: #ffffff !important;
      border: 0px !important; 
    }
    .k-list-optionlabel.k-state-selected.k-state-focused:hover{
      background-color: #f4f4f4 !important;
    }
</style>
于 2016-03-15T08:33:37.403 回答