Template button colour

105 views
Skip to first unread message

John Magill

unread,
Jun 7, 2017, 5:10:51 AM6/7/17
to Node-RED UI
Can anyone please tell me why the text and background colour seems to be having no effect, whereas the other attributes. eg. fontsize are ?

<style>
  .filled { height: 100%; padding: 0; margin: 0;}
   .rounded {border-radius: 20% 20% 20% 20%;}
   .bigfont { font-size: 36px;}
   .blue {background-color: #3498db;}
   .textred {color: #e74c3c;}
</style>
<md-button class="filled rounded bigfont blue textred" 

ng-click="send({payload: 'Hello World'})"> 
    Click<br/>me 
</md-button> 

Glenn

unread,
Jun 12, 2017, 8:29:02 PM6/12/17
to Node-RED UI
Have you tried adding !important in the CSS after the hex code

John Magill

unread,
Jun 13, 2017, 7:15:53 AM6/13/17
to Node-RED UI
Thanks Glenn, that worked.
Reply all
Reply to author
Forward
0 new messages