OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2015 The Chromium Authors. All rights reserved. | 2 * Copyright 2015 The Chromium Authors. All rights reserved. |
3 * Use of this source code is governed by a BSD-style license that can be | 3 * Use of this source code is governed by a BSD-style license that can be |
4 * found in the LICENSE file. | 4 * found in the LICENSE file. |
5 */ | 5 */ |
6 | 6 |
7 .devices-settings-tab .settings-tab.help-content { | 7 .devices-settings-tab .settings-tab.help-content { |
8 display: flex; | 8 display: flex; |
9 flex-direction: column; | 9 flex-direction: column; |
10 align-items: flex-start; | 10 align-items: flex-start; |
(...skipping 13 matching lines...) Expand all Loading... |
24 } | 24 } |
25 | 25 |
26 .devices-settings-tab .devices-button-row button { | 26 .devices-settings-tab .devices-button-row button { |
27 margin-right: 10px; | 27 margin-right: 10px; |
28 min-width: 120px; | 28 min-width: 120px; |
29 flex: none; | 29 flex: none; |
30 } | 30 } |
31 | 31 |
32 .devices-settings-tab .devices-list { | 32 .devices-settings-tab .devices-list { |
33 width: 350px; | 33 width: 350px; |
34 overflow-y: auto; | 34 margin-top: 10px; |
35 margin: 10px 0; | |
36 border: 1px solid rgb(231, 231, 231); | |
37 flex: auto 0 1; | |
38 } | 35 } |
39 | 36 |
40 .devices-settings-tab .devices-custom-separator { | 37 .devices-list-item { |
41 background: rgb(231, 231, 231); | 38 padding: 3px 5px 3px 5px; |
42 height: 1px; | |
43 } | |
44 | |
45 .devices-settings-tab .devices-list-item { | |
46 padding: 3px 0 3px 10px; | |
47 height: 30px; | 39 height: 30px; |
48 display: flex; | 40 display: flex; |
49 align-items: center; | 41 align-items: center; |
| 42 flex: auto 1 1; |
50 cursor: pointer; | 43 cursor: pointer; |
51 } | 44 } |
52 | 45 |
53 .devices-settings-tab .devices-list-item:hover { | 46 .devices-list-checkbox { |
54 background: hsl(0, 0%, 85%); | |
55 } | |
56 | |
57 .devices-settings-tab .devices-list-checkbox { | |
58 height: 12px; | 47 height: 12px; |
59 width: 12px; | 48 width: 12px; |
60 margin: 3px 5px 2px 2px; | 49 margin: 3px 5px 2px 2px; |
61 flex: none; | 50 flex: none; |
62 pointer-events: none; | 51 pointer-events: none; |
63 } | 52 } |
64 | 53 |
65 .devices-settings-tab .devices-list-title { | 54 .devices-list-title { |
66 overflow: hidden; | 55 overflow: hidden; |
67 white-space: nowrap; | 56 white-space: nowrap; |
68 text-overflow: ellipsis; | 57 text-overflow: ellipsis; |
69 flex: auto; | 58 flex: auto; |
70 -webkit-user-select: none; | 59 -webkit-user-select: none; |
71 color: #aaa; | 60 color: #aaa; |
72 } | 61 } |
73 | 62 |
74 .devices-settings-tab .device-list-item-show .devices-list-title { | 63 .device-list-item-show .devices-list-title { |
75 color: #222; | 64 color: #222; |
76 } | 65 } |
77 | 66 |
78 .devices-settings-tab .devices-list-remove, | 67 .devices-edit-fields { |
79 .devices-settings-tab .devices-list-edit { | |
80 background-image: url(Images/toolbarButtonGlyphs.png); | |
81 background-size: 352px 168px; | |
82 width: 32px; | |
83 height: 24px; | |
84 opacity: 0.5; | |
85 cursor: pointer; | |
86 flex: none; | |
87 visibility: hidden; | |
88 } | |
89 | |
90 .devices-settings-tab .devices-list:not(.devices-list-editing) .devices-list-ite
m:hover .devices-list-remove, | |
91 .devices-settings-tab .devices-list-item:hover .devices-list-edit { | |
92 visibility: visible; | |
93 } | |
94 | |
95 .devices-settings-tab .devices-list-remove:hover, | |
96 .devices-settings-tab .devices-list-edit:hover { | |
97 opacity: 0.7; | |
98 } | |
99 | |
100 @media (-webkit-min-device-pixel-ratio: 1.5) { | |
101 .devices-settings-tab .devices-list-remove, | |
102 .devices-settings-tab .devices-list-edit { | |
103 background-image: url(Images/toolbarButtonGlyphs_2x.png); | |
104 } | |
105 } /* media */ | |
106 | |
107 .devices-settings-tab .devices-list-remove { | |
108 background-position: -128px -24px; | |
109 } | |
110 | |
111 .devices-settings-tab .devices-list-edit { | |
112 background-position: -224px -72px; | |
113 } | |
114 | |
115 .devices-settings-tab .devices-edit-container { | |
116 display: flex; | |
117 flex-direction: row; | |
118 align-items: flex-start; | |
119 flex: none; | |
120 padding: 10px 20px 0 10px; | |
121 background: hsl(0, 0%, 95%); | |
122 } | |
123 | |
124 .devices-settings-tab .devices-edit-checkbox { | |
125 height: 12px; | |
126 width: 12px; | |
127 margin: 3px 5px 2px 2px; | |
128 flex: none; | |
129 cursor: pointer; | |
130 } | |
131 | |
132 .devices-settings-tab .devices-edit-fields { | |
133 flex: auto; | 68 flex: auto; |
134 display: flex; | 69 display: flex; |
135 flex-direction: column; | 70 flex-direction: column; |
136 align-items: stretch; | 71 align-items: stretch; |
| 72 margin-bottom: 5px; |
137 } | 73 } |
138 | 74 |
139 .devices-settings-tab .devices-edit-fields input { | 75 .devices-edit-fields input { |
140 margin-right: 10px; | 76 flex: auto; |
| 77 margin: 8px 5px 0 5px; |
| 78 height: 22px; |
| 79 border: 1px solid rgb(213, 213, 213); |
| 80 border-radius: 2px; |
| 81 color: #444444; |
| 82 padding: 3px; |
141 } | 83 } |
142 | 84 |
143 .devices-settings-tab .devices-edit-fields input.error-input { | 85 .devices-edit-fields input.device-edit-small { |
144 outline: auto 2px red; | 86 flex: 0 0 80px; |
145 background-color: white; | |
146 } | 87 } |
147 | |
148 .devices-settings-tab .devices-edit-fields > * { | |
149 flex: none; | |
150 margin-bottom: 10px; | |
151 } | |
152 | |
153 .devices-settings-tab .devices-edit-buttons > button { | |
154 margin-right: 10px; | |
155 } | |
156 | |
OLD | NEW |