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

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: 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
« no previous file with comments | « chrome/browser/resources/md_history/history_item.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://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-end: 20px;
tsergeant 2016/09/12 23:14:33 When you have multiple paddings/margins that are t
lshang 2016/09/13 05:08:45 Done.
11 -webkit-padding-start: 20px; 12 -webkit-padding-start: 20px;
12 align-items: center; 13 align-items: center;
13 border-bottom: 1px solid var(--card-border-color); 14 border-bottom: 1px solid var(--card-border-color);
14 border-radius: 2px 2px 0 0; 15 border-radius: 2px 2px 0 0;
15 color: var(--primary-text-color); 16 color: var(--primary-text-color);
16 display: flex; 17 display: flex;
17 font-size: 14px; 18 font-size: 14px;
18 font-weight: 500; 19 font-weight: 500;
19 height: 48px; 20 height: 48px;
21 line-height: 48px;
22 overflow: hidden;
23 text-overflow: ellipsis;
24 white-space: nowrap;
20 } 25 }
21 26
22 .centered-message { 27 .centered-message {
23 align-items: center; 28 align-items: center;
24 color: #b4b4b4; 29 color: #b4b4b4;
25 display: flex; 30 display: flex;
26 flex: 1; 31 flex: 1;
27 font-size: 14px; 32 font-size: 14px;
28 font-weight: 500; 33 font-weight: 500;
29 height: 100%; 34 height: 100%;
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 button.more-vert-button div { 78 button.more-vert-button div {
74 border: 2px solid var(--secondary-text-color); 79 border: 2px solid var(--secondary-text-color);
75 border-radius: 2px; 80 border-radius: 2px;
76 margin: 1px 10px; 81 margin: 1px 10px;
77 pointer-events: none; 82 pointer-events: none;
78 transform: scale(0.8); 83 transform: scale(0.8);
79 } 84 }
80 </style> 85 </style>
81 </template> 86 </template>
82 </dom-module> 87 </dom-module>
OLDNEW
« no previous file with comments | « chrome/browser/resources/md_history/history_item.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698