change button background color without using dynamic id and without using sap standard class
index.html :
<link rel="stylesheet" type="text/css" href="css/style.css">
==============================================================
view.xml
<Page title="Title">
<content>
<Toolbar>
<Button icon="sap-icon://search" class="gen1"></Button>
<Button icon="sap-icon://refresh" class="gen2"></Button>
</Toolbar>
</content>
</Page>
=================================================================
style.css :
.gen1>.sapMBtnInner {
background-color: green;
background-image: none;
outline: medium none !important;
}
.gen1>.sapMBtnInner>.sapMBtnIcon{
color : white;
}
.gen2>.sapMBtnInner {
background-color: #06997b ;
background-image: none;
outline: medium none !important;
}
.gen2>.sapMBtnInner>.sapMBtnIcon{
color : white;
}
output :
WinStar World Casino and Resort - JetBlue
ReplyDeleteSave big 포천 출장마사지 with JM 남양주 출장마사지 Hub's JSTARS® online 서귀포 출장샵 casino app! Earn rewards points on select 당진 출장안마 JSTARS® slots, table games, 광주광역 출장샵 and more!