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 #display-options { | |
6 background-color: #f0f0f0; | |
7 } | |
8 | |
9 #display-options-content-area { | |
10 padding: 0; | |
11 } | |
12 | |
5 #display-options-displays-view-host { | 13 #display-options-displays-view-host { |
6 padding: 20px; | 14 padding: 20px 0 20px 0; |
7 } | 15 } |
8 | 16 |
9 #display-options-displays-view { | 17 #display-options-displays-view { |
10 height: 300px; | |
11 position: relative; | 18 position: relative; |
12 } | 19 } |
13 | 20 |
14 #display-configurations { | 21 #display-configurations { |
15 border-top: 1px solid blue; | 22 background-color: white; |
16 padding-top: 20px; | 23 border-top: 1px solid lightgrey; |
17 text-align: right; | 24 height: 65px; |
25 padding: 15px; | |
26 } | |
27 | |
28 /* The arrow at the border #display-configurations to point the focused display. | |
James Hawkins
2012/08/06 16:44:43
/* First
* last.
*/
Jun Mukai
2012/08/07 00:31:31
Done.
| |
29 This is achieved by a square rotated by 45-deg, and it has border at the | |
30 upper-half, which were left/top before the rotation. */ | |
31 #display-configuration-arrow { | |
32 -webkit-transform: rotate(45deg); | |
James Hawkins
2012/08/06 16:44:43
Won't we need to rotate by -45deg in RTL then?
Jun Mukai
2012/08/07 00:31:31
I checked with arabic language and working fine.
| |
33 background-color: white; | |
34 border-left: 1px solid lightgrey; | |
35 border-top: 1px solid lightgrey; | |
36 height: 20px; | |
37 position: absolute; | |
38 width: 20px; | |
39 z-index: 1; | |
40 } | |
41 | |
42 #display-options-buttons-container { | |
43 float: right; | |
44 z-index: 2; | |
45 } | |
46 | |
47 html[dir=rtl] #display-options-buttons-container { | |
48 float: left; | |
49 } | |
50 | |
51 | |
52 #selected-display-data-container { | |
53 float: left; | |
54 line-height: 200%; | |
55 z-index: 2; | |
56 } | |
57 | |
58 html[dir=rtl] #selected-display-data-container { | |
59 float: right; | |
60 } | |
61 | |
62 #selected-display-name { | |
63 font-weight: bold; | |
64 } | |
65 | |
66 #display-launcher { | |
67 background-color: lightgrey; | |
68 bottom: 0; | |
69 height: 10px; | |
70 position: absolute; | |
18 } | 71 } |
19 | 72 |
20 .displays-display { | 73 .displays-display { |
21 background-color: white; | 74 background: #f0f0f0; |
22 border: dashed 1px; | 75 border: solid 1px; |
76 font-weight: bold; | |
23 position: absolute; | 77 position: absolute; |
24 text-align: center; | 78 text-align: center; |
25 vertical-align: middle; | 79 vertical-align: middle; |
80 z-index: 2; | |
26 } | 81 } |
27 | 82 |
28 .displays-primary { | 83 .display-mirrored { |
29 border: solid 1px blue; | 84 border: dashed 1px; |
30 } | 85 } |
31 | 86 |
32 .displays-focused { | 87 .displays-focused { |
33 border: solid 2px; | 88 border: solid 2px rgb(0, 138, 255); |
James Hawkins
2012/08/06 16:44:43
Be consistent and use hex (hex is used in the rest
Jun Mukai
2012/08/07 00:31:31
Rather changed to use rgb() in the rest of the fil
| |
89 color: rgb(0, 138, 255); | |
34 } | 90 } |
91 | |
92 .display-options-single-button-container { | |
93 margin: 5px 0 5px 0; | |
94 } | |
95 | |
96 .display-options-button { | |
97 width: 120px; | |
98 } | |
OLD | NEW |