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

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

Issue 2123683002: MD History: Address design nits (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 5 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 <dom-module id="shared-style"> 1 <dom-module id="shared-style">
2 <template> 2 <template>
3 <style> 3 <style>
4 :root { 4 :root {
5 --card-border-color: rgba(0, 0, 0, 0.14); 5 --card-border-color: rgba(0, 0, 0, 0.14);
6 --card-first-last-item-padding: 8px; 6 --card-first-last-item-padding: 8px;
7 --card-max-width: 960px; 7 --card-max-width: 960px;
8 --card-min-width: 550px; 8 --card-min-width: 550px;
9 --card-padding-between: 20px; 9 --card-padding-between: 20px;
10 --card-padding-side: 24px; 10 --card-padding-side: 24px;
11 --first-card-padding-top: 24px; 11 --first-card-padding-top: 24px;
12 --item-height: 44px;
13 --primary-text-color: #333;
14 --secondary-text-color: #757575;
12 --side-bar-width: 256px; 15 --side-bar-width: 256px;
13 --toolbar-grouped-height: 101px; 16 --toolbar-grouped-height: 101px;
14 --toolbar-height: 56px; 17 --toolbar-height: 56px;
15 } 18 }
16 19
17 [hidden] { 20 [hidden] {
18 display: none !important; 21 display: none !important;
19 } 22 }
20 23
21 .card-title { 24 .card-title {
22 @apply(--layout-center); 25 @apply(--layout-center);
23 @apply(--layout-horizontal); 26 @apply(--layout-horizontal);
24 -webkit-padding-start: 20px; 27 -webkit-padding-start: 20px;
25 background: #fafafa;
26 border-bottom: 1px solid var(--card-border-color); 28 border-bottom: 1px solid var(--card-border-color);
27 border-radius: 2px 2px 0 0; 29 border-radius: 2px 2px 0 0;
28 color: #333; 30 color: var(--primary-text-color);
29 font-size: 14px; 31 font-size: 14px;
30 font-weight: 500; 32 font-weight: 500;
31 height: 48px; 33 height: 48px;
32 } 34 }
33 35
34 .centered-message { 36 .centered-message {
35 align-items: center; 37 align-items: center;
36 color: #b4b4b4; 38 color: #b4b4b4;
37 display: flex; 39 display: flex;
38 flex: 1; 40 flex: 1;
39 font-size: 14px; 41 font-size: 14px;
40 font-weight: 500; 42 font-weight: 500;
41 height: 100%; 43 height: 100%;
42 justify-content: center; 44 justify-content: center;
43 } 45 }
44 46
45 .website-icon { 47 .website-icon {
46 -webkit-margin-end: 16px; 48 -webkit-margin-end: 16px;
47 background-repeat: no-repeat; 49 background-repeat: no-repeat;
48 background-size: 16px; 50 background-size: 16px;
49 height: 16px; 51 height: 16px;
50 width: 16px; 52 width: 16px;
51 } 53 }
52 54
53 .website-title { 55 .website-title {
54 color: #333; 56 color: var(--primary-text-color);
55 overflow: hidden; 57 overflow: hidden;
56 text-decoration: none; 58 text-decoration: none;
57 text-overflow: ellipsis; 59 text-overflow: ellipsis;
58 white-space: nowrap; 60 white-space: nowrap;
59 } 61 }
60 62
61 .website-title:hover { 63 .website-title:hover {
62 text-decoration: underline; 64 text-decoration: underline;
63 } 65 }
64 </style> 66 </style>
65 </template> 67 </template>
66 </dom-module> 68 </dom-module>
OLDNEW
« no previous file with comments | « chrome/browser/resources/md_history/history_toolbar.html ('k') | chrome/browser/resources/md_history/synced_device_card.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698