|
<SfToolbar CssClass="fill-class" Width="100%" OverflowMode="@OverflowMode.Popup">
<ToolbarItems> <ToolbarItem Type="@ItemType.Button" Text="List All" /> <ToolbarItem Type="@ItemType.Button" Text="Authorize" /> <ToolbarItem Type="@ItemType.Button" Text="Revoke" /> <ToolbarItem Type="@ItemType.Button" Text="More" /> </ToolbarItems> </SfToolbar>
<style>
/*To Apply background color to Toolbar items*/ .e-toolbar.fill-class, .e-toolbar.fill-class .e-toolbar-items, .e-toolbar.fill-class .e-toolbar-items .e-toolbar-item, .e-toolbar.fill-class .e-toolbar-items .e-toolbar-item button { background-color: aquamarine !important; } /*To Apply background color while select/hover/focus the Toolbar button*/ .e-toolbar.fill-class .e-toolbar-items .e-toolbar-item .e-tbar-btn.e-btn:hover, .e-toolbar.fill-class .e-toolbar-items .e-toolbar-item .e-tbar-btn.e-btn:active, .e-toolbar.fill-class .e-toolbar-items .e-toolbar-item .e-tbar-btn.e-btn:focus { background-color: gray !important; } </style> |