Upstream version 5.34.92.0
[platform/framework/web/crosswalk.git] / src / chrome / browser / resources / options / language_options.css
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 #languagePage .content-area {
6   width: 660px;
7 }
8
9 .language-options {
10   display: -webkit-box;
11   margin: 10px 0;
12 }
13
14 .language-options-lower-left button,
15 #language-options-details button {
16   min-width: 70px;
17 }
18
19 .language-options h3 {
20   -webkit-margin-start: 12px;
21   font-size: 100%;
22   font-weight: bold;
23   margin-bottom: 12px;
24   margin-top: 12px;
25 }
26
27 .language-options-contents  {
28   min-height: 28px;
29   padding: 0 12px 4px;
30 }
31
32 .language-options-contents > span:not(.input-method-label) {
33   display: inline-block;
34   margin: 1px;
35   padding: 0.42em 10px;
36 }
37
38 .language-options-header,
39 .language-options-footer {
40   line-height: 1.2em;
41   margin: 10px 0;
42 }
43
44 #language-options-languages,
45 #language-options-details {
46   border: 1px solid #ccc;
47   height: 400px;
48   padding: 0;
49   vertical-align: top;
50 }
51
52 #language-options-languages {
53   -webkit-box-orient: vertical;
54   background-color: rgb(235, 239, 249);
55   display: -webkit-box;
56   width: 300px;
57 }
58
59 .language-options-lower-left {
60   -webkit-box-flex: 0;
61   -webkit-padding-start: 12px;
62   padding-bottom: 10px;
63 }
64
65 #language-options-details {
66   -webkit-box-flex: 1;
67   /* To share the center line with the left pane. */
68   -webkit-margin-start: -1px;
69 }
70
71 #language-options-details h3:not(:first-of-type) {
72   margin-top: 24px;
73 }
74
75 .language-options-notification  {
76   background-color: rgb(255, 247, 193);
77   margin: 0 0 4px;
78   padding: 8px 30px 8px 12px;
79 }
80
81 .language-options-notification > div {
82   margin-bottom: 4px;
83 }
84
85 #language-options-input-method-list button {
86   -webkit-margin-start: 20px;
87   display: block;
88   /* Same margin as .settings-row. */
89   margin-bottom: 0.65em;
90   margin-top: 0.65em;
91 }
92
93 #language-options-list {
94   -webkit-box-flex: 1;
95   outline: none;
96   padding: 0;
97   width: 100%;
98 }
99
100 #language-options-list .language-name {
101   -webkit-box-flex: 1;
102   overflow: hidden;
103   text-overflow: ellipsis;
104   white-space: nowrap;
105 }
106
107 #language-options-list li {
108   -webkit-padding-start: 12px;
109   padding-bottom: 2px;
110   padding-top: 2px;
111 }
112
113 #language-options-list-dropmarker {
114   background-clip: padding-box;
115   background-color: hsl(214, 91%, 65%);
116   border: 3px solid hsl(214, 91%, 65%);
117   border-bottom-color: transparent;
118   border-radius: 0;
119   border-top-color: transparent;
120   box-sizing: border-box;
121   display: none;
122   height: 8px;
123   overflow: hidden;
124   pointer-events: none;
125   position: fixed;
126   z-index: 10;
127 }
128
129 /* TODO(kochi): This is temporary copy from new_tab.css */
130 /* Notification */
131
132 #notification {
133   -webkit-transition: opacity 150ms;
134   background-color: hsl(52, 100%, 80%);
135   border: 1px solid rgb(211, 211, 211);
136   border-radius: 6px;
137   color: black;
138   display: table;
139   font-weight: bold;
140   /* Set the height and margin so that the element does not use any vertical
141     space. */
142   height: 16px;
143   margin: -44px auto 12px auto;
144   opacity: 0;
145   padding: 7px 15px;
146   pointer-events: none;
147   position: relative;
148   white-space: nowrap;
149   z-index: 1;
150 }
151
152 #notification > * {
153   display: table-cell;
154   max-width: 500px;
155   overflow: hidden;
156   text-overflow: ellipsis;
157 }
158
159 #notification.show {
160   -webkit-transition: opacity 1s;
161   opacity: 1;
162   pointer-events: all;
163 }
164
165 #notification .link {
166   -webkit-appearance: none;
167   -webkit-padding-start: 20px;
168   background: none;
169   border: 0;
170   color: rgba(0, 102, 204, 0.3);
171   cursor: pointer;
172   text-decoration: underline;
173 }
174
175 #notification .link-color {
176   color: rgb(0, 102, 204);
177 }
178
179 #chewing-max-chi-symbol-len {
180   height: 30%;
181   width: 100px;
182 }
183
184 #add-language-overlay-page .content-area {
185   padding-bottom: 10px;
186 }
187
188 /* TODO(hshi): Remove this temporary hack once the bug is fixed in Chrome. */
189 #add-language-overlay-language-list {
190   width: -webkit-calc(100% - 4px);
191 }
192
193 .standalone-link-button {
194   padding: 0;
195 }