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

Side by Side Diff: ui/webui/resources/cr_elements/shared_vars_css.html

Issue 2578793004: MD Settings: Fix size and padding of expand button (Closed)
Patch Set: Rebase Created 4 years 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
OLDNEW
1 <link rel="import" href="chrome://resources/polymer/v1_0/paper-styles/color.html "> 1 <link rel="import" href="chrome://resources/polymer/v1_0/paper-styles/color.html ">
2 2
3 <!-- Common css variables for Material Design WebUI. --> 3 <!-- Common css variables for Material Design WebUI. -->
4 <style is="custom-style"> 4 <style is="custom-style">
5 :root { 5 :root {
6 --cr-actionable: { 6 --cr-actionable: {
7 cursor: pointer; 7 cursor: pointer;
8 }; 8 };
9 --cr-focused-item-color: var(--google-grey-300); 9 --cr-focused-item-color: var(--google-grey-300);
10 /* Same padding as paper-icon-button. */ 10 /* Same padding as paper-icon-button. */
11 --cr-icon-padding: 8px; 11 --cr-icon-padding: 8px;
12 --cr-icon-size: { 12
13 height: 20px; 13 /* The inner icon is 20px in size. paper-icon-button has 8px padding. */
14 width: 20px; 14 --cr-icon-ripple-size: 36px;
15 --cr-icon-size: 20px;
16
17 --cr-icon-height-width: {
18 height: var(--cr-icon-size);
19 width: var(--cr-icon-size);
15 } 20 }
21
22 --cr-paper-icon-button-margin: {
23 -webkit-margin-end: -8px; /* Allow ripple to overlap the end. */
24 -webkit-margin-start: 16px;
25 }
26
16 --cr-selectable-focus: { 27 --cr-selectable-focus: {
17 background-color: var(--cr-focused-item-color); 28 background-color: var(--cr-focused-item-color);
18 outline: none; 29 outline: none;
19 } 30 }
20 --cr-separator-line: 1px solid rgba(0, 0, 0, 0.06); 31 --cr-separator-line: 1px solid rgba(0, 0, 0, 0.06);
21 --paper-checkbox-ink-size: 40px; 32 --paper-checkbox-ink-size: 40px;
22 } 33 }
23 </style> 34 </style>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698