Adding CSS to buttons in your application
The following instructions explain how to apply CSS to table buttons.
Procedure
-
Create a HCL Domino Leap application.
-
Add a Table to the canvas.
-
In the Table properties, set the Button Style to Show Labels.
-
Navigate to the Style tab and add the following custom CSS:
.lfMn.lotusui30dojo .aggregationListBtn:not(.lfMn.lotusui30dojo .lfFormBtnDisabled.dijitButtonDisabled){ background-color: gold; color: black; border-style: solid black; }Note
.lfMn.lotusui30dojo.aggregationListBtnis the class for a Table's enabled button like the Add button.lfMn.lotusui30dojo.lfFormBtnDisabled.dijitButtonDisabledis the class for a Table's disabled button. By default, Edit and Delete are not clickable.
-
Save and deploy the application.
Parent topic: Using custom style sheets