2016-03-14 52 views

回答

1

您可以自定義的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> 
+0

感謝您的建議。我是網絡編程的新手。我沒有改變CSS文件,但是,只有主菜單按鈕被更改,但沒有選項。我像這樣添加... – Sailoosha

+0

Html:

css文件:#rpt-toolbarOptions .k-button.k-state-focused,#rpt-toolbarOptions .k-button:focus { border:0px; background-color:#9FC5F8; } #rpt-toolbarOptions .k-button.k-state-focused,#rpt-toolbarOptions .k-button:hover { background-color:#c1d4d1; }和其他選項以類似的方式 – Sailoosha

+0

在角度上,我添加了按鈕。 $ scope.toolbarOptions = {項目:[{ 類型 : 「splitButton」, 文字: 「新報告」, menuButtons:[{ 文字: 「插入」},{ 文字: 「創建」},{ 文本:「下載」} ], 選擇:「false」 }] – Sailoosha

相關問題