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

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

Issue 2318343004: MD History: Truncate long search terms in card title box (Closed)
Patch Set: rebase Created 4 years, 3 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 .card-title { 10 .card-title {
11 -webkit-padding-start: 20px;
12 align-items: center; 11 align-items: center;
13 border-bottom: 1px solid var(--card-border-color); 12 border-bottom: 1px solid var(--card-border-color);
14 border-radius: 2px 2px 0 0; 13 border-radius: 2px 2px 0 0;
15 color: var(--primary-text-color); 14 color: var(--primary-text-color);
16 display: flex; 15 display: flex;
17 font-size: 14px; 16 font-size: 14px;
18 font-weight: 500; 17 font-weight: 500;
19 height: 48px; 18 height: 48px;
19 line-height: 48px;
20 overflow: hidden;
21 padding: 0 20px;
22 text-overflow: ellipsis;
23 white-space: nowrap;
20 } 24 }
21 25
22 .centered-message { 26 .centered-message {
23 align-items: center; 27 align-items: center;
24 color: #b4b4b4; 28 color: #b4b4b4;
25 display: flex; 29 display: flex;
26 flex: 1; 30 flex: 1;
27 font-size: 14px; 31 font-size: 14px;
28 font-weight: 500; 32 font-weight: 500;
29 height: 100%; 33 height: 100%;
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 button.more-vert-button div { 77 button.more-vert-button div {
74 border: 2px solid var(--secondary-text-color); 78 border: 2px solid var(--secondary-text-color);
75 border-radius: 2px; 79 border-radius: 2px;
76 margin: 1px 10px; 80 margin: 1px 10px;
77 pointer-events: none; 81 pointer-events: none;
78 transform: scale(0.8); 82 transform: scale(0.8);
79 } 83 }
80 </style> 84 </style>
81 </template> 85 </template>
82 </dom-module> 86 </dom-module>
OLDNEW
« no previous file with comments | « chrome/browser/resources/md_history/history_item.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