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

Unified Diff: chrome/browser/resources/chromeos/quick_unlock/pin_keyboard.html

Issue 2357743002: chromeos: Backspace and enter key works as intended. (Closed)
Patch Set: Nit. Created 4 years, 3 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 | chrome/browser/resources/chromeos/quick_unlock/pin_keyboard.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/chromeos/quick_unlock/pin_keyboard.html
diff --git a/chrome/browser/resources/chromeos/quick_unlock/pin_keyboard.html b/chrome/browser/resources/chromeos/quick_unlock/pin_keyboard.html
index 7ed9b51c45170603933a1f1ab9f0da0c8fe466af..a3ff836ad0e8bef63b714fe2fbacb119cbb913ed 100644
--- a/chrome/browser/resources/chromeos/quick_unlock/pin_keyboard.html
+++ b/chrome/browser/resources/chromeos/quick_unlock/pin_keyboard.html
@@ -76,30 +76,12 @@
opacity: var(--dark-primary-opacity);
}
- .digit-button.backspace-button[disabled] {
+ .digit-button.backspace-button:not([has-content]) {
color: #000;
opacity: 0.26;
padding: 14px;
}
- .digit-button.submit-button {
- color: var(--google-blue-500);
- height: 43px;
- left: 137px;
- margin: 0;
- min-height: 43px;
- min-width: 43px;
- opacity: var(--light-primary-opacity);
- padding: 11.5px 10px;
- position: absolute;
- width: 43px;
- }
-
- .digit-button.submit-button[disabled] {
- color: #000;
- opacity: 0.26;
- }
-
.digit-button inner-text {
color: var(--paper-blue-grey-700);
display: flex;
@@ -215,7 +197,7 @@
<inner-text>$i18n{pinKeyboard0}</inner-text>
</paper-button>
<paper-icon-button class="digit-button backspace-button"
- disabled="[[!hasInput_(value)]]"
+ has-content$="[[hasInput_(value)]]"
icon="pin-keyboard:backspace"
on-pointerdown="onBackspacePointerDown_"
on-pointerout="onBackspacePointerOut_"
« no previous file with comments | « no previous file | chrome/browser/resources/chromeos/quick_unlock/pin_keyboard.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698