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

Side by Side Diff: chrome/browser/resources/settings/settings_shared_css.html

Issue 2373713004: Fix style issues with MD accessibility page (Closed)
Patch Set: Got rid of redundant -webkit-any Created 4 years, 2 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 unified diff | Download patch
« no previous file with comments | « chrome/browser/resources/settings/a11y_page/manage_a11y_page.html ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <link rel="import" href="chrome://resources/cr_elements/shared_style_css.html"> 1 <link rel="import" href="chrome://resources/cr_elements/shared_style_css.html">
2 <link rel="import" href="/settings_vars_css.html"> 2 <link rel="import" href="/settings_vars_css.html">
3 3
4 <!-- Common styles for Material Design settings. --> 4 <!-- Common styles for Material Design settings. -->
5 <dom-module id="settings-shared"> 5 <dom-module id="settings-shared">
6 <template> 6 <template>
7 <style include="cr-shared-style"> 7 <style include="cr-shared-style">
8 /* Use <h2> as the "sub-header" mentioned in the UX design docs. */ 8 /* Use <h2> as the "sub-header" mentioned in the UX design docs. */
9 h2 { 9 h2 {
10 align-items: center; 10 align-items: center;
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 95
96 span ~ a { 96 span ~ a {
97 -webkit-margin-start: 4px; 97 -webkit-margin-start: 4px;
98 } 98 }
99 99
100 [is='action-link'], 100 [is='action-link'],
101 [is='action-link']:active, 101 [is='action-link']:active,
102 [is='action-link']:hover, 102 [is='action-link']:hover,
103 [is='action-link']:visited, 103 [is='action-link']:visited,
104 .primary-button, 104 .primary-button,
105 .tertiary-button { 105 .tertiary-button,
106 a[href] {
106 color: var(--google-blue-700); 107 color: var(--google-blue-700);
107 } 108 }
108 109
109 .primary-button, 110 .primary-button,
110 .tertiary-button { 111 .tertiary-button {
111 --paper-button-flat-keyboard-focus: { 112 --paper-button-flat-keyboard-focus: {
112 background: rgba(51, 103, 214, .12); /* --google-blue-700 */ 113 background: rgba(51, 103, 214, .12); /* --google-blue-700 */
113 }; 114 };
114 } 115 }
115 116
117 a[href],
116 [is='action-link']:hover { 118 [is='action-link']:hover {
117 text-decoration: none; 119 text-decoration: none;
118 } 120 }
119 121
120 /* There are three main button styles, .primary-button, .secondary-button, 122 /* There are three main button styles, .primary-button, .secondary-button,
121 * and .tertiary-button. The primary is the action button (e.g. "edit", 123 * and .tertiary-button. The primary is the action button (e.g. "edit",
122 * "delete") while the secondary is often a "Cancel" button. A tertiary 124 * "delete") while the secondary is often a "Cancel" button. A tertiary
123 * button may be used to get more information or similar, that we expect 125 * button may be used to get more information or similar, that we expect
124 * most users will not need. */ 126 * most users will not need. */
125 .primary-button { 127 .primary-button {
(...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after
384 /* Turns the arrow direction downwards, when the bubble is placed above 386 /* Turns the arrow direction downwards, when the bubble is placed above
385 * the anchor element */ 387 * the anchor element */
386 .search-bubble-innards.above::after { 388 .search-bubble-innards.above::after {
387 -webkit-transform: rotate(-135deg); 389 -webkit-transform: rotate(-135deg);
388 bottom: -5px; 390 bottom: -5px;
389 top: auto; 391 top: auto;
390 } 392 }
391 </style> 393 </style>
392 </template> 394 </template>
393 </dom-module> 395 </dom-module>
OLDNEW
« no previous file with comments | « chrome/browser/resources/settings/a11y_page/manage_a11y_page.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698