OLD | NEW |
| (Empty) |
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 | |
3 * found in the LICENSE file. */ | |
4 | |
5 .bluetooth-device-list { | |
6 margin: 10px; | |
7 padding: 5px 10px; | |
8 } | |
9 | |
10 .bluetooth-device[paired] { | |
11 color: gray; | |
12 } | |
13 | |
14 #bluetooth-scanning { | |
15 -webkit-box-orient: horizontal; | |
16 display: -webkit-inline-box; | |
17 margin-bottom: 5px; | |
18 } | |
19 | |
20 #bluetooth-scanning-label { | |
21 -webkit-margin-start: 5px; | |
22 color: #999; | |
23 } | |
24 | |
25 #bluetooth-scanning-icon { | |
26 -webkit-margin-start: 10px; | |
27 height: 20px; | |
28 opacity: 0.66; | |
29 vertical-align: middle; | |
30 width: 20px; | |
31 } | |
32 | |
33 #bluetooth-paired-devices-list { | |
34 min-height: 96px !important; | |
35 } | |
36 | |
37 #bluetooth-paired-devices-list, | |
38 #bluetooth-unpaired-devices-list { | |
39 /* Prevent dialog from expanding if many devices are found. */ | |
40 max-height: 192px; | |
41 overflow-x: hidden; | |
42 overflow-y: auto; | |
43 } | |
44 | |
45 .bluetooth-empty-list-label { | |
46 box-sizing: border-box; | |
47 color: #999; | |
48 padding-top: 32px; | |
49 text-align: center; | |
50 } | |
51 | |
52 #bluetooth-paired-devices-list-empty-placeholder { | |
53 height: 96px; | |
54 } | |
55 | |
56 #bluetooth-unpaired-devices-list-empty-placeholder { | |
57 height: 192px; | |
58 } | |
59 | |
60 /* Fix the dimensions of the message area so that the dialog does not change | |
61 change size during the pairing process as the message changes. Sized | |
62 generously to accomodate the longest of the messages. */ | |
63 #bluetooth-pairing-message-area { | |
64 display: table; | |
65 height: 160px; | |
66 padding: 6px 0 !important; | |
67 width: 420px; | |
68 } | |
69 | |
70 /* Force the message to be vertical centered so that a shorter message does not | |
71 look out of place when there is room for a much longer message. */ | |
72 #bluetooth-pairing-message-contents { | |
73 display: table-cell; | |
74 vertical-align: middle; | |
75 } | |
76 | |
77 #bluetooth-pairing-instructions, | |
78 #bluetooth-pairing-passkey-display, | |
79 #bluetooth-pairing-passkey-entry, | |
80 #bluetooth-pairing-pincode-entry, | |
81 #bluetooth-passkey, | |
82 #bluetooth-pincode { | |
83 text-align: center; | |
84 } | |
85 | |
86 #bluetooth-pairing-instructions { | |
87 margin: 10px; | |
88 } | |
89 | |
90 #bluetooth-pairing-passkey-display, | |
91 #bluetooth-pairing-passkey-entry, | |
92 #bluetooth-pairing-pincode-entry { | |
93 margin: 40px 0; | |
94 } | |
95 | |
96 .bluetooth-keyboard-button { | |
97 -webkit-padding-end: 15px; | |
98 -webkit-padding-start: 15px; | |
99 background-image: -webkit-gradient(linear, | |
100 left top, | |
101 left bottom, | |
102 color-stop(0, #e9e9e9), | |
103 color-stop(1, #f5f5f5)); | |
104 border: 1px solid #d4d4d4; | |
105 border-radius: 4px; | |
106 box-shadow: 0 2px 5px rgba(0, 0, 0, 0.07), | |
107 inset 0 1px 1px 1px #fff, | |
108 inset 0 -1px 1px 1px #ddd; | |
109 color: #666; | |
110 display: inline-block; | |
111 font-size: 14px; | |
112 font-weight: 600; | |
113 height: 38px; | |
114 line-height: 38px; | |
115 margin: 0 10px 0 0; | |
116 position: relative; | |
117 text-align: center; | |
118 text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5); | |
119 vertical-align: baseline; | |
120 } | |
121 | |
122 .bluetooth-keyboard-button:last-child { | |
123 margin: 0; | |
124 } | |
125 | |
126 #bluetooth-enter-key { | |
127 min-width: 54px; | |
128 } | |
129 | |
130 .bluetooth-passkey-char { | |
131 -webkit-margin-start: 45px; | |
132 color: #999; | |
133 font-size: 20px; | |
134 font-weight: 600; /* semibold */ | |
135 padding-bottom: 5px; | |
136 } | |
137 | |
138 .bluetooth-passkey-char:first-child { | |
139 -webkit-margin-start: 0; | |
140 } | |
141 | |
142 .bluetooth-keyboard-button.key-typed { | |
143 border: 1px solid #ccc; | |
144 box-shadow: 0 0 0 1px #888, | |
145 inset 0 1px 1px 1px #fff, | |
146 inset 0 -1px 1px 1px #eee; | |
147 color: #222; | |
148 } | |
149 | |
150 .bluetooth-keyboard-button.key-pin { | |
151 color: #222; | |
152 } | |
OLD | NEW |