commit | fd84b1b6a2f04f1ecee1602e258c47c1ed202bb2 | [log] [tgz] |
---|---|---|
author | Anton Swifton <swifton@google.com> | Fri Feb 25 23:48:50 2022 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Feb 25 23:48:50 2022 |
tree | b3427d65eec4460945b7bc1de9aa5139e585a8e2 | |
parent | 6f1a4ac82e64fb9643d5b7a07ea0629221a582a9 [diff] |
Shimless: add button styling for dialogs https://screenshot.googleplex.com/5pJRt7Dqk7Q4z9Y https://screenshot.googleplex.com/9izirzQ7iuw7Qgd https://screenshot.googleplex.com/56VCCXpeR6Hfedn https://screenshot.googleplex.com/3kC93Uopvf8FveZ Bug: 1198187 Test: local Change-Id: I1e82adb210897be2bfa88f3818aea92a019ad120 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3491421 Reviewed-by: Gavin Williams <gavinwill@chromium.org> Commit-Queue: Anton Swifton <swifton@google.com> Cr-Commit-Position: refs/heads/main@{#975347}
diff --git a/ash/webui/shimless_rma/resources/onboarding_network_page.html b/ash/webui/shimless_rma/resources/onboarding_network_page.html index 5fad7e2..609d9fc 100644 --- a/ash/webui/shimless_rma/resources/onboarding_network_page.html +++ b/ash/webui/shimless_rma/resources/onboarding_network_page.html
@@ -68,9 +68,9 @@ <cr-button id="cancelButton" on-click="closeConfig_"> [[i18n('connectNetworkDialogCancelButtonText')]] </cr-button> - <cr-button id="connectButton" on-click="connectNetwork_" - disabled="[[!enableConnect_]]"> - [[i18n('connectNetworkDialogConnectButtonText')]] + <cr-button id="connectButton" class="action-button" + on-click="connectNetwork_" disabled="[[!enableConnect_]]"> + [[i18n('connectNetworkDialogConnectButtonText')]] </cr-button> </div> </div>
diff --git a/ash/webui/shimless_rma/resources/shimless_rma_shared_css.html b/ash/webui/shimless_rma/resources/shimless_rma_shared_css.html index bafecc6f..2ad10b7 100644 --- a/ash/webui/shimless_rma/resources/shimless_rma_shared_css.html +++ b/ash/webui/shimless_rma/resources/shimless_rma_shared_css.html
@@ -74,6 +74,10 @@ line-height: var(--shimless-dialog-body-line-height); } + cr-dialog cr-button { + border-radius: 4px; + } + cr-radio-button { --cr-radio-button-size: 20px; padding-bottom: 8px;
diff --git a/ash/webui/shimless_rma/resources/wrapup_repair_complete_page.html b/ash/webui/shimless_rma/resources/wrapup_repair_complete_page.html index 5cdc97a..3a4f7bdc 100644 --- a/ash/webui/shimless_rma/resources/wrapup_repair_complete_page.html +++ b/ash/webui/shimless_rma/resources/wrapup_repair_complete_page.html
@@ -156,7 +156,7 @@ <cr-button id="closeLogDialogButton" on-click="onCancelClick_"> [[i18n('rmaLogsCancelButtonText')]] </cr-button> - <cr-button id="rmaLogButton" class="text-button pill" + <cr-button id="rmaLogButton" class="text-button action-button" on-click="onRmaLogButtonClick_"> [[i18n('rmaLogsSaveToUsbButtonText')]] </cr-button>