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

Side by Side Diff: chrome/browser/resources/md_history/shared_style.html

Issue 2583353003: MD History: Replace last usage of cr-shared-menu with cr-action-menu. (Closed)
Patch Set: Fix more Created 3 years, 12 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
OLDNEW
1 <link rel="import" href="chrome://history/shared_vars.html"> 1 <link rel="import" href="chrome://history/shared_vars.html">
2 2
3 <dom-module id="shared-style"> 3 <dom-module id="shared-style">
4 <template> 4 <template>
5 <style> 5 <style>
6 [hidden] { 6 [hidden] {
7 display: none !important; 7 display: none !important;
8 } 8 }
9 9
10 a { 10 a {
(...skipping 19 matching lines...) Expand all
30 align-items: center; 30 align-items: center;
31 color: var(--md-loading-message-color); 31 color: var(--md-loading-message-color);
32 display: flex; 32 display: flex;
33 flex: 1; 33 flex: 1;
34 font-size: 14px; 34 font-size: 14px;
35 font-weight: 500; 35 font-weight: 500;
36 height: 100%; 36 height: 100%;
37 justify-content: center; 37 justify-content: center;
38 } 38 }
39 39
40 .menu-item { 40 /* TODO(dpapad): Copied from MD Settings, find a way to re-use style. */
tsergeant 2016/12/21 00:39:36 Can it be moved into cr_elements/shared_style_css.
dpapad 2016/12/21 01:04:48 cr_elements/shared_style_css.html sounds better th
tsergeant 2016/12/21 02:37:34 Hmm, yeah, if there's nothing in settings that use
Dan Beam 2016/12/21 03:11:19 yes, i'd move the default dropdown-item (and hr) s
dpapad 2016/12/21 03:50:18 Done for dropdown-item. Did not move hr styling be
41 -webkit-user-select: none; 41 .dropdown-item {
42 align-items: center;
43 background: none;
44 border: none;
45 box-sizing: border-box;
46 color: var(--paper-grey-800);
42 cursor: pointer; 47 cursor: pointer;
48 display: flex;
43 font: inherit; 49 font: inherit;
44 white-space: nowrap; 50 min-height: 32px;
51 padding: 0 24px;
52 text-align: start;
53 width: 100%;
45 } 54 }
46 55
47 .website-icon { 56 .website-icon {
48 -webkit-margin-end: 16px; 57 -webkit-margin-end: 16px;
49 background-repeat: no-repeat; 58 background-repeat: no-repeat;
50 background-size: 16px; 59 background-size: 16px;
51 height: 16px; 60 height: 16px;
52 width: 16px; 61 width: 16px;
53 } 62 }
54 63
(...skipping 27 matching lines...) Expand all
82 button.more-vert-button div { 91 button.more-vert-button div {
83 border: 2px solid var(--secondary-text-color); 92 border: 2px solid var(--secondary-text-color);
84 border-radius: 2px; 93 border-radius: 2px;
85 margin: 1px 8px; 94 margin: 1px 8px;
86 pointer-events: none; 95 pointer-events: none;
87 transform: scale(0.8); 96 transform: scale(0.8);
88 } 97 }
89 </style> 98 </style>
90 </template> 99 </template>
91 </dom-module> 100 </dom-module>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698