OLD | NEW |
1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 /* Copyright (c) 2012 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 .user-list-table { | 5 .user-list-table { |
6 border: 1px solid lightgrey; | 6 border: 1px solid lightgrey; |
7 border-collapse: collapse; | 7 border-collapse: collapse; |
8 border-spacing: 0; | 8 border-spacing: 0; |
9 } | 9 } |
10 | 10 |
11 .user-name-edit-row { | 11 .user-name-edit-row { |
| 12 background-color: rgb(235, 239, 250); |
12 border: 1px solid lightgrey; | 13 border: 1px solid lightgrey; |
13 background-color: rgb(235, 239, 250); | |
14 padding: 5px; | 14 padding: 5px; |
15 } | 15 } |
16 | 16 |
17 .user-list-item { | 17 .user-list-item { |
18 padding: 2px; | 18 padding: 2px; |
19 } | 19 } |
20 | 20 |
21 .user-icon { | 21 .user-icon { |
22 border: 1px solid black; | 22 border: 1px solid black; |
| 23 height: 26px; |
23 width: 26px; | 24 width: 26px; |
24 height: 26px; | |
25 } | 25 } |
26 | 26 |
27 .user-email-label { | 27 .user-email-label { |
28 -webkit-margin-start: 10px; | 28 -webkit-margin-start: 10px; |
29 } | 29 } |
30 | 30 |
31 .user-name-label { | 31 .user-name-label { |
| 32 -webkit-margin-start: 10px; |
32 color: darkgray; | 33 color: darkgray; |
33 -webkit-margin-start: 10px; | |
34 } | 34 } |
35 | 35 |
36 .user-email-name-block { | 36 .user-email-name-block { |
37 -webkit-box-flex: 1; | 37 -webkit-box-flex: 1; |
38 max-width: 318px; | 38 max-width: 318px; |
39 overflow: hidden; | 39 overflow: hidden; |
40 text-overflow: ellipsis; | 40 text-overflow: ellipsis; |
41 white-space: nowrap; | 41 white-space: nowrap; |
42 } | 42 } |
43 | 43 |
44 .remove-user-button { | 44 .remove-user-button { |
45 background-image: url('../../../../../ui/resources/close_bar.png'); | 45 background-image: url('../../../../../ui/resources/close_bar.png'); |
| 46 height: 16px; |
46 width: 16px; | 47 width: 16px; |
47 height: 16px; | |
48 } | 48 } |
49 | 49 |
50 .remove-user-button:hover { | 50 .remove-user-button:hover { |
51 background-image: url('../../../../../ui/resources/close_bar_h.png'); | 51 background-image: url('../../../../../ui/resources/close_bar_h.png'); |
52 } | 52 } |
53 | 53 |
54 #userList { | 54 #userList { |
| 55 height: 166px; |
55 padding: 5px; | 56 padding: 5px; |
56 width: 366px; | 57 width: 366px; |
57 height: 166px; | |
58 } | 58 } |
59 | 59 |
60 #userList[disabled], | 60 #userList[disabled], |
61 #userList[disabled] > [selected], | 61 #userList[disabled] > [selected], |
62 #userList[disabled] > :hover { | 62 #userList[disabled] > :hover { |
63 border-color: hsl(0, 0%, 85%); | 63 border-color: hsl(0, 0%, 85%); |
64 } | 64 } |
65 | 65 |
66 #userList[disabled] > [selected], | 66 #userList[disabled] > [selected], |
67 #userList[disabled] > :hover { | 67 #userList[disabled] > :hover { |
68 background-color: hsl(0, 0%, 90%); | 68 background-color: hsl(0, 0%, 90%); |
69 } | 69 } |
70 | 70 |
71 #userList[disabled] .remove-user-button { | 71 #userList[disabled] .remove-user-button { |
72 visibility: hidden; | 72 visibility: hidden; |
73 } | 73 } |
74 | 74 |
75 #userNameEdit { | 75 #userNameEdit { |
76 border: 1px solid lightgrey; | 76 border: 1px solid lightgrey; |
77 width: 366px; | 77 width: 366px; |
78 } | 78 } |
79 | 79 |
80 #ownerOnlyWarning { | 80 #ownerOnlyWarning { |
| 81 -webkit-padding-start: 20px; |
| 82 background-image: url('warning.png'); |
| 83 background-repeat: no-repeat; |
| 84 margin-bottom: 10px; |
81 margin-top: 10px; | 85 margin-top: 10px; |
82 margin-bottom: 10px; | |
83 padding-bottom: 1px; | 86 padding-bottom: 1px; |
84 -webkit-padding-start: 20px; | |
85 background-repeat: no-repeat; | |
86 background-image: url('warning.png'); | |
87 } | 87 } |
88 | 88 |
89 input#userNameEdit:invalid { | 89 input#userNameEdit:invalid { |
90 background-color: rgb(255, 102, 102); | 90 background-color: rgb(255, 102, 102); |
91 } | 91 } |
OLD | NEW |