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

Side by Side Diff: appengine/chromium_rietveld/new_static/components/cr-user-autocomplete.html

Issue 896313003: Use Menlo if available. (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@master
Patch Set: Created 5 years, 10 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 | « appengine/chromium_rietveld/new_static/components/cr-linkified-text.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 <!-- Copyright (c) 2014 The Chromium Authors. All rights reserved. 1 <!-- Copyright (c) 2014 The Chromium Authors. All rights reserved.
2 Use of this source code is governed by a BSD-style license that can be 2 Use of this source code is governed by a BSD-style license that can be
3 found in the LICENSE file. --> 3 found in the LICENSE file. -->
4 4
5 <link rel="import" href="cr-keyboard.html"> 5 <link rel="import" href="cr-keyboard.html">
6 6
7 <polymer-element name="cr-user-autocomplete" attributes="value"> 7 <polymer-element name="cr-user-autocomplete" attributes="value">
8 <template> 8 <template>
9 <style> 9 <style>
10 :host { 10 :host {
11 -webkit-user-select: none; 11 -webkit-user-select: none;
12 } 12 }
13 13
14 #completions { 14 #completions {
15 position: absolute; 15 position: absolute;
16 border: 1px solid #dcdcdc; 16 border: 1px solid #dcdcdc;
17 border-top: none; 17 border-top: none;
18 background-color: white; 18 background-color: white;
19 left: 0; 19 left: 0;
20 right: 0; 20 right: 0;
21 margin: 0 16px; 21 margin: 0 16px;
22 font-family: Monaco, monospace; 22 font-family: Menlo, Monaco, monospace;
23 font-size: 0.9em; 23 font-size: 0.9em;
24 z-index: 1; 24 z-index: 1;
25 cursor: default; 25 cursor: default;
26 } 26 }
27 27
28 .completion { 28 .completion {
29 padding: 0.5em 16px; 29 padding: 0.5em 16px;
30 } 30 }
31 31
32 .selected { 32 .selected {
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 this.didComplete = true; 163 this.didComplete = true;
164 }, 164 },
165 resetAutocomplete: function() { 165 resetAutocomplete: function() {
166 this.completions = []; 166 this.completions = [];
167 this.termRange = {}; 167 this.termRange = {};
168 this.active = false; 168 this.active = false;
169 }, 169 },
170 }); 170 });
171 </script> 171 </script>
172 </polymer-element> 172 </polymer-element>
OLDNEW
« no previous file with comments | « appengine/chromium_rietveld/new_static/components/cr-linkified-text.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698