diff --git a/@salix/core/src/button/button.mdl.js b/@salix/core/src/button/button.mdl.js index 1f348cdb5..0ba20eb48 100644 --- a/@salix/core/src/button/button.mdl.js +++ b/@salix/core/src/button/button.mdl.js @@ -11,7 +11,7 @@ export function factory() { template: template, default: { label: 'Submit', - className: 'mdl-button mdl-js-button mdl-button--raised', + className: 'mdl-button mdl-js-button mdl-button--raised mdl-button--colored', enabled: 'true', typeName: 'button' } diff --git a/@salix/core/src/icon-button/icon-button.mdl.html b/@salix/core/src/icon-button/icon-button.mdl.html index 52b459664..bee2a4aaf 100644 --- a/@salix/core/src/icon-button/icon-button.mdl.html +++ b/@salix/core/src/icon-button/icon-button.mdl.html @@ -1,3 +1,3 @@ - \ No newline at end of file diff --git a/@salix/core/src/mdl-override.css b/@salix/core/src/mdl-override.css index 99a592d97..ee1c4af15 100644 --- a/@salix/core/src/mdl-override.css +++ b/@salix/core/src/mdl-override.css @@ -6,25 +6,18 @@ bottom: 10px; } -.mdl-button--raised { +/* TODO: No utilizar !important */ +.mdl-button { font-weight: bolder; - color: white; } -.mdl-button--raised, -.mdl-button--raised:focus, -.mdl-button--raised:active { - background-color: #ff9400 !important; +.mdl-button--colored { + color: white !important; } - -.mdl-button--icon { - background-color: #ff9400; - font-weight: bolder; - color: white; +.mdl-button--colored, +.mdl-button--colored:focus, +.mdl-button--colored:active { + background-color: #ffa410 !important; } -.mdl-button--icon:hover { - background-color: #ffa410; +.mdl-button--colored:hover { + background-color: #ffa410 !important; } - -.mdl-button--raised:hover { - background-color: #ffa410; -} \ No newline at end of file diff --git a/@salix/core/src/submit/submit.mdl.js b/@salix/core/src/submit/submit.mdl.js index f0aea49df..c739ec321 100644 --- a/@salix/core/src/submit/submit.mdl.js +++ b/@salix/core/src/submit/submit.mdl.js @@ -8,7 +8,7 @@ export function factory() { template: template, default: { label: 'Submit', - className: 'mdl-button mdl-js-button mdl-button--raised', + className: 'mdl-button mdl-js-button mdl-button--raised mdl-button--colored', enabled: 'true' } }