|
24 | 24 | right: 0;
|
25 | 25 | }
|
26 | 26 | polymer-ui-toolbar {
|
27 |
| - padding-left: 10px; |
28 |
| - padding-right: 10px; |
| 27 | + padding-left: 8px; |
| 28 | + padding-right: 8px; |
29 | 29 | }
|
30 | 30 | .clip {
|
31 | 31 | background: #eeeeee;
|
32 | 32 | overflow: hidden;
|
33 | 33 | position: relative;
|
34 | 34 | }
|
35 |
| - #listContainer { |
36 |
| - position: absolute; |
37 |
| - top: 0; |
38 |
| - right: 0; |
39 |
| - left: 0; |
40 |
| - bottom: 0; |
41 |
| - background-color: rgb(242, 242, 242), |
42 |
| - min-width: 320px; |
43 |
| - overflow-y: scroll; |
44 |
| - } |
45 | 35 | polymer-list {
|
46 | 36 | height: 100%;
|
47 | 37 | }
|
48 | 38 | .contactItem {
|
49 |
| - font-size: 18px; |
50 |
| - font-family: 'Helvetica Neue Medium', HelveticaNeue-Medium, Helvetica, sans-serif; |
| 39 | + font-size: 14px; |
| 40 | + font-family: 'Helvetica Neue', HelveticaNeue, Helvetica, sans-serif; |
51 | 41 | }
|
52 | 42 | .contactItem.sticky {
|
53 | 43 | position: absolute;
|
|
58 | 48 | opacity: 0.95;
|
59 | 49 | }
|
60 | 50 | .contactItem.header {
|
61 |
| - background: #f2f2f2 -webkit-linear-gradient(top, rgba(197,197,197,0), rgba(197,197,197,0.15)); |
62 |
| - background: #f2f2f2 -moz-linear-gradient(top, rgba(197,197,197,0), rgba(197,197,197,0.15)); |
63 |
| - background: #f2f2f2 -ms-linear-gradient(top, rgba(197,197,197,0), rgba(197,197,197,0.15)); |
| 51 | + background: #f0f0f0; |
64 | 52 | border-style: solid;
|
65 |
| - border-color: rgba(0, 0, 0, 0.14902); |
| 53 | + border-color: rgba(0, 0, 0, 0.15); |
66 | 54 | border-width: 0 0 1px;
|
67 | 55 | box-sizing: border-box;
|
68 |
| - color: #9f9f9f; |
| 56 | + color: #999; |
69 | 57 | font-variant: small-caps;
|
70 |
| - height: 60px; |
71 |
| - padding: 20px; |
| 58 | + padding: 16px; |
72 | 59 | }
|
| 60 | + .contactItem .firstName { |
| 61 | + font-weight: bold; |
| 62 | + } |
73 | 63 | [wideLayout] .contactItem.polymer-selected {
|
74 |
| - background: #f2f2f2 -webkit-linear-gradient(top, rgba(197,197,197,0), rgba(197,197,197,0.15)); |
75 |
| - background: #f2f2f2 -moz-linear-gradient(top, rgba(197,197,197,0), rgba(197,197,197,0.15)); |
76 |
| - background: #f2f2f2 -ms-linear-gradient(top, rgba(197,197,197,0), rgba(197,197,197,0.15)); |
| 64 | + background: #f0f0f0; |
77 | 65 | }
|
78 | 66 | .contactItemControls {
|
79 | 67 | position: absolute;
|
|
86 | 74 | border-color: rgba(0, 0, 0, 0.14902);
|
87 | 75 | border-width: 0 0 1px;
|
88 | 76 | text-align: right;
|
89 |
| - padding: 21px 30px; |
| 77 | + padding: 17px 24px; |
90 | 78 | }
|
91 | 79 | .contactItemControls.active {
|
92 | 80 | background: #f5565a;
|
|
98 | 86 | border-color: rgba(0, 0, 0, 0.14902);
|
99 | 87 | border-width: 0 0 1px 1px;
|
100 | 88 | box-sizing: border-box;
|
101 |
| - height: 80px; |
102 |
| - padding: 0 20px; |
| 89 | + padding: 16px; |
103 | 90 | }
|
104 | 91 | .addButton {
|
105 | 92 | position: absolute;
|
|
166 | 153 | <div class="contactItemBody" on-click="{{activateAction}}">
|
167 | 154 | <polymer-flex-layout align="center"></polymer-flex-layout>
|
168 | 155 | <contacts-icon contact="{{contact}}"></contacts-icon>
|
169 |
| - <div>{{contact.name}}</div> |
| 156 | + <div><span class="firstName">{{contact.firstName}}</span> {{contact.surname}}</div> |
170 | 157 | </div>
|
171 | 158 | </div>
|
172 | 159 | </template>
|
|
209 | 196 | </template>
|
210 | 197 | <script>
|
211 | 198 | Polymer('contacts-list', {
|
212 |
| - applyAuthorStyles: true, |
213 | 199 | wideLayout: true,
|
214 | 200 | stickyContent: 'A',
|
215 | 201 | selectedContact: null,
|
|
0 commit comments