summaryrefslogtreecommitdiff
path: root/chromium/chrome/browser/resources/options/language_options.css
blob: 89265c8806c4f8821ea3228f8db1c0b138c3a1b1 (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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
/* 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. */

#languagePage .content-area {
  width: 660px;
}

.language-options {
  display: -webkit-box;
  margin: 10px 0;
}

.language-options-lower-left button,
#language-options-details button {
  min-width: 70px;
}

.language-options h3 {
  -webkit-margin-start: 12px;
  font-size: 100%;
  font-weight: bold;
  margin-bottom: 12px;
  margin-top: 12px;
}

.language-options-contents  {
  min-height: 28px;
  padding: 0 12px 4px;
}

.language-options-contents >
    span:not(.input-method-label):not(.controlled-setting-indicator) {
  display: inline-block;
  margin: 1px;
  padding: 0.42em 10px;
}

.language-options-header,
.language-options-footer {
  margin: 10px 0;
}

#language-options-languages,
#language-options-details {
  border: 1px solid #ccc;
  height: 400px;
  padding: 0;
  vertical-align: top;
}

#language-options-languages {
  -webkit-box-orient: vertical;
  background-color: rgb(235, 239, 249);
  display: -webkit-box;
  width: 300px;
}

.language-options-lower-left {
  -webkit-box-flex: 0;
  -webkit-padding-start: 12px;
  padding-bottom: 10px;
}

#language-options-details {
  -webkit-box-flex: 1;
  /* To share the center line with the left pane. */
  -webkit-margin-start: -1px;
  overflow-y: auto;
}

#language-options-details h3:not(:first-of-type) {
  margin-top: 24px;
}

.language-options-notification  {
  background-color: rgb(255, 247, 193);
  margin: 0 0 4px;
  padding: 8px 30px 8px 12px;
}

.language-options-notification > div {
  margin-bottom: 4px;
}

#language-options-input-method-list button {
  -webkit-margin-start: 20px;
  display: block;
  /* Same margin as .settings-row. */
  margin-bottom: 0.65em;
  margin-top: 0.65em;
}

.language-options-ime-menu-desc {
  -webkit-margin-start: 22px;
  font-size: 80%;
  margin-top: -6px;
  padding-bottom: 2px;
}

#language-options-list {
  -webkit-box-flex: 1;
  outline: none;
  padding: 0;
  width: 100%;
}

#language-options-list .language-name {
  -webkit-box-flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#language-options-list li {
  -webkit-padding-start: 12px;
  padding-bottom: 2px;
  padding-top: 2px;
}

#language-options-list-dropmarker {
  background-clip: padding-box;
  background-color: hsl(214, 91%, 65%);
  border: 3px solid hsl(214, 91%, 65%);
  border-bottom-color: transparent;
  border-radius: 0;
  border-top-color: transparent;
  box-sizing: border-box;
  display: none;
  height: 8px;
  overflow: hidden;
  pointer-events: none;
  position: fixed;
  z-index: 10;
}

/* TODO(kochi): This is temporary copy from new_tab.css */
/* Notification */

#notification {
  -webkit-transition: opacity 150ms;
  background-color: hsl(52, 100%, 80%);
  border: 1px solid rgb(211, 211, 211);
  border-radius: 6px;
  color: black;
  display: table;
  font-weight: bold;
  /* Set the height and margin so that the element does not use any vertical
    space. */
  height: 16px;
  margin: -44px auto 12px auto;
  opacity: 0;
  padding: 7px 15px;
  pointer-events: none;
  position: relative;
  white-space: nowrap;
  z-index: 1;
}

#notification > * {
  display: table-cell;
  max-width: 500px;
  overflow: hidden;
  text-overflow: ellipsis;
}

#notification.show {
  -webkit-transition: opacity 1s;
  opacity: 1;
  pointer-events: all;
}

#notification .link {
  -webkit-appearance: none;
  -webkit-padding-start: 20px;
  background: none;
  border: 0;
  color: rgba(0, 102, 204, 0.3);
  cursor: pointer;
  text-decoration: underline;
}

#notification .link-color {
  color: rgb(0, 102, 204);
}

#chewing-max-chi-symbol-len {
  height: 30%;
  width: 100px;
}

#add-language-overlay-page .content-area {
  padding-bottom: 10px;
}

/* TODO(hshi): Remove this temporary hack once the bug is fixed in Chrome. */
#add-language-overlay-language-list {
  width: -webkit-calc(100% - 4px);
}