Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(47)

Unified Diff: chrome/browser/resources/settings/printing_page/cups_printers.html

Issue 2867563002: [CUPS] Modify the "Add Printer" link to a button. (Closed)
Patch Set: Address michaelpg@'s comment. Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/settings/printing_page/cups_printers.html
diff --git a/chrome/browser/resources/settings/printing_page/cups_printers.html b/chrome/browser/resources/settings/printing_page/cups_printers.html
index 83949a7796423c5d78a7b613713aa1e3ebdc893d..ec48ab6b9aa9707cbd2e5d2638e26d065072b6b8 100644
--- a/chrome/browser/resources/settings/printing_page/cups_printers.html
+++ b/chrome/browser/resources/settings/printing_page/cups_printers.html
@@ -3,6 +3,7 @@
<link rel="import" href="chrome://resources/html/assert.html">
<link rel="import" href="chrome://resources/html/cr/ui/focus_without_ink.html">
<link rel="import" href="chrome://resources/html/polymer.html">
+<link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-button.html">
<link rel="import" href="cups_add_printer_dialog.html">
<link rel="import" href="cups_printers_list.html">
<link rel="import" href="../settings_shared_css.html">
@@ -18,6 +19,11 @@
color: var(--paper-grey-800);
font-size: 92.31%; /* 12px / 13px */
}
+
+ .settings-box .primary-button {
+ -webkit-margin-end: 0;
+ -webkit-margin-start: auto;
+ }
#message {
display: flex;
@@ -48,15 +54,13 @@
</style>
<div class="settings-box first">
- <a id="addPrinter" is="action-link" on-tap="onAddPrinterTap_"
- hidden="[[!canAddPrinter_]]">
+ <paper-button class="primary-button" id="addPrinter"
+ on-tap="onAddPrinterTap_" hidden="[[!canAddPrinter_]]">
$i18n{addCupsPrinter}
- </a>
+ </paper-button>
<div class="start" hidden="[[canAddPrinter_]]">
<span>$i18n{addCupsPrinter}</span>
- <div class="secondary">
- $i18n{requireNetworkMessage}
- </div>
+ <div class="secondary">$i18n{requireNetworkMessage}</div>
</div>
</div>
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698