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

Unified Diff: chrome/browser/resources/settings/a11y_page/manage_a11y_page.html

Issue 2772743002: UI change for adjustable large cursor (Closed)
Patch Set: Use variable for indent. Created 3 years, 9 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 | « chrome/app/settings_strings.grdp ('k') | chrome/browser/resources/settings/controls/settings_slider.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/settings/a11y_page/manage_a11y_page.html
diff --git a/chrome/browser/resources/settings/a11y_page/manage_a11y_page.html b/chrome/browser/resources/settings/a11y_page/manage_a11y_page.html
index bae3a89445623f7e086756dcc420b09334f91fb4..c4d2e2d8b546def1989d57e6614cdc133bc20a1d 100644
--- a/chrome/browser/resources/settings/a11y_page/manage_a11y_page.html
+++ b/chrome/browser/resources/settings/a11y_page/manage_a11y_page.html
@@ -18,6 +18,10 @@
-webkit-margin-start: 16px;
}
+ .sub-item > .start {
+ -webkit-margin-start: var(--settings-indent-width);
+ }
+
h2 ~ .settings-box {
-webkit-margin-end: var(--settings-box-row-padding);
-webkit-margin-start: var(--settings-box-row-indent);
@@ -149,12 +153,14 @@
label="$i18n{largeMouseCursorLabel}">
</settings-toggle-button>
<template is="dom-if" if="[[enableAdjustableLargeCursor_]]">
- <div class="list-item">
- <div>$i18n{largeMouseCursorSizeLabel}</div>
+ <div class="list-item sub-item">
+ <div class="start">$i18n{largeMouseCursorSizeLabel}</div>
<settings-slider
- disabled="[[!prefs.settings.a11y.large_cursor_enabled.value]]"
+ disabled$="[[!prefs.settings.a11y.large_cursor_enabled.value]]"
pref="{{prefs.settings.a11y.large_cursor_dip_size}}"
- min="25" max="64"></settings-slider>
+ min="25" max="64" label-min="$i18n{largeMouseCursorSizeSmallLabel}"
+ label-max="$i18n{largeMouseCursorSizeLargeLabel}">
+ </settings-slider>
</div>
</template>
<settings-toggle-button
« no previous file with comments | « chrome/app/settings_strings.grdp ('k') | chrome/browser/resources/settings/controls/settings_slider.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698