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 .language-options { | 5 .language-options { |
6 display: -webkit-box; | 6 display: -webkit-box; |
7 margin: 10px 0; | 7 margin: 10px 0; |
8 } | 8 } |
9 | 9 |
10 .language-options-lower-left button, | 10 .language-options-lower-left button, |
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
120 border-top-color: transparent; | 120 border-top-color: transparent; |
121 box-sizing: border-box; | 121 box-sizing: border-box; |
122 display: none; | 122 display: none; |
123 height: 8px; | 123 height: 8px; |
124 overflow: hidden; | 124 overflow: hidden; |
125 pointer-events: none; | 125 pointer-events: none; |
126 position: fixed; | 126 position: fixed; |
127 z-index: 10; | 127 z-index: 10; |
128 } | 128 } |
129 | 129 |
130 /* In ChromeOS we present the language choices as a big page of links. */ | |
131 <if expr="pp_ifdef('chromeos')"> | |
132 #add-language-overlay-language-list { | |
133 -webkit-column-count: 2; | |
134 -webkit-column-gap: 20px; | |
135 } | |
136 | |
137 #add-language-overlay-language-list > li > button.link-button { | |
138 padding-bottom: 8px; | |
139 padding-top: 8px; | |
140 } | |
141 | |
142 #add-language-overlay-page { | |
143 width: 800px; | |
144 } | |
145 | |
146 #add-language-overlay-page button.link-button { | |
147 padding-left: 0; | |
148 padding-right: 0; | |
149 text-align: left; | |
150 } | |
151 | |
152 #add-language-overlay-page ul { | |
153 margin: 0; | |
154 padding: 0; | |
155 } | |
156 </if> | |
157 | |
158 /* TODO(kochi): This is temporary copy from new_tab.css */ | 130 /* TODO(kochi): This is temporary copy from new_tab.css */ |
159 /* Notification */ | 131 /* Notification */ |
160 | 132 |
161 #notification { | 133 #notification { |
162 -webkit-transition: opacity 150ms; | 134 -webkit-transition: opacity 150ms; |
163 background-color: hsl(52, 100%, 80%); | 135 background-color: hsl(52, 100%, 80%); |
164 border: 1px solid rgb(211, 211, 211); | 136 border: 1px solid rgb(211, 211, 211); |
165 border-radius: 6px; | 137 border-radius: 6px; |
166 color: black; | 138 color: black; |
167 display: table; | 139 display: table; |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
210 width: 100px; | 182 width: 100px; |
211 } | 183 } |
212 | 184 |
213 #add-language-overlay-page .content-area { | 185 #add-language-overlay-page .content-area { |
214 padding-bottom: 10px; | 186 padding-bottom: 10px; |
215 } | 187 } |
216 | 188 |
217 .standalone-link-button { | 189 .standalone-link-button { |
218 padding: 0; | 190 padding: 0; |
219 } | 191 } |
OLD | NEW |