summaryrefslogtreecommitdiff
path: root/chromium/chrome/browser/resources/options/chromeos/display_options.css
blob: 73a78e45833622c4636e0c1b3954cfe08023deed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
/* Copyright (c) 2012 The Chromium Authors. All rights reserved.
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file. */

#display-options-page {
  background-color: rgb(240, 240, 240);
}

#display-options-content-area {
  padding: 0;
}

#display-options-displays-view-host {
  padding: 20px 0 20px 0;
}

#display-options-displays-view {
  overflow: hidden;
  position: relative;
  width: 100%;
}

#display-configurations {
  -webkit-padding-end: 0;
  -webkit-padding-start: 15px;
  border-top: 1px solid lightgrey;
  padding-top: 15px;
}

/* The arrow at the border #display-configurations to point the focused display.
 * This is achieved by a square rotated by 45-deg, and it has border at the
 * upper-half, which were left/top before the rotation. */
#display-configuration-arrow {
  -webkit-transform: rotate(45deg);
  border-left: 1px solid lightgrey;
  border-top: 1px solid lightgrey;
  height: 20px;
  position: absolute;
  width: 20px;
  z-index: 1;
}

#display-configurations,
#display-configuration-arrow,
#display-options-page .action-area {
  background-color: white;
}

#display-options-page .action-area {
  /* Because this element has a background-color, we need to emulate the
   * parent's border-radius (otherwise there's sharp corners). */
  border-bottom-left-radius: inherit;
  border-bottom-right-radius: inherit;
}

#selected-display-data-container {
  z-index: 2;
}

#selected-display-name {
  font-size: large;
  font-weight: normal;
  margin-top: 5px;
  padding: 0;
}

.selected-display-option-row {
  margin-top: 10px;
}

.selected-display-option-title {
  display: inline-block;
  margin-right: 10px;
}

.displays-display {
  -webkit-user-select: none;
  background: rgb(240, 240, 240);
  border: solid 1px;
  box-sizing: border-box;
  font-weight: bold;
  position: absolute;
  text-align: center;
  z-index: 2;
}

.display-mirrored {
  border: solid 1px;
}

.displays-focused {
  border: solid 2px rgb(0, 138, 255);
  color: rgb(0, 138, 255);
}

#display-options-toggle-mirroring {
  margin-right: 5px;
}

.display-options-button {
  width: 130px;
}