|
|
MD Settings: make custom UIs look "actionable"
Currently, that just entails a cursor: pointer; but may involve e.g. a
:hover effect in the future.
This introduces the shared variable:
--settings-actionable: {
cursor: pointer;
};
which can be used from places that don't want all the settings shared
style (which generally applies to the sections in the middle).
.my-custom-thing {
@apply(--settings-actionable);
}
For stuff inside of <settings-main> (or code otherwise using
settings-shared), it's probably easier to just use the new:
[actionable] {
@apply(--settings-actionable);
}
and just annotate your element with that attribute, i.e.
<div id="frobber" on-tap="onFrobberTap_" actionable>
FYI: This CL is semi-automatedly generated via:
vim -p `git grep -l on-tap -- chrome/browser/resources/settings`
and lots of hacking.
R=dpapad@chromium.org
BUG= 611826
CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:closure_compilation
Committed: https://crrev.com/a298aa9c3276b78073a61613787909a0b2427302
Committed: https://crrev.com/ed68883804c25965c677a99278d1ab4c2d98af96
Cr-Original-Commit-Position: refs/heads/master@{#401763}
Cr-Commit-Position: refs/heads/master@{#402042}
Total comments: 16
Total comments: 8
Total comments: 3
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+103 lines, -52 lines) |
Patch |
 |
M |
chrome/browser/resources/settings/about_page/about_page.html
|
View
|
|
3 chunks |
+8 lines, -6 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/resources/settings/appearance_page/appearance_fonts_page.html
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/resources/settings/appearance_page/appearance_page.html
|
View
|
1
|
3 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/resources/settings/bluetooth_page/bluetooth_device_list_item.html
|
View
|
1
|
2 chunks |
+7 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/resources/settings/default_browser_page/default_browser_page.html
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/resources/settings/device_page/device_page.html
|
View
|
|
1 chunk |
+5 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/resources/settings/device_page/keyboard.html
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/resources/settings/internet_page/network_proxy_exclusions.html
|
View
|
|
3 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/resources/settings/internet_page/network_summary_item.html
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/resources/settings/languages_page/languages_page.html
|
View
|
1
2
|
3 chunks |
+8 lines, -3 lines |
1 comment
|
Download
|
 |
M |
chrome/browser/resources/settings/languages_page/languages_page.js
|
View
|
1
2
|
1 chunk |
+14 lines, -5 lines |
2 comments
|
Download
|
 |
M |
chrome/browser/resources/settings/on_startup_page/startup_urls_page.html
|
View
|
1
2
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/resources/settings/passwords_and_forms_page/autofill_section.html
|
View
|
1
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/resources/settings/passwords_and_forms_page/passwords_and_forms_page.html
|
View
|
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/resources/settings/passwords_and_forms_page/passwords_section.html
|
View
|
1
2
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/resources/settings/people_page/people_page.html
|
View
|
1
|
4 chunks |
+7 lines, -13 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/resources/settings/people_page/sync_page.html
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/resources/settings/privacy_page/privacy_page.html
|
View
|
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/resources/settings/reset_page/reset_page.html
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/resources/settings/settings_main/settings_main.html
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/resources/settings/settings_menu/settings_menu.html
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/resources/settings/settings_root_css.html
|
View
|
1
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/resources/settings/settings_shared_css.html
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/resources/settings/site_settings/site_list.html
|
View
|
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/resources/settings/site_settings_page/site_settings_page.html
|
View
|
1
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
Total messages: 35 (15 generated)
|