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 body:not(.uber-frame) { | 5 body:not(.uber-frame) { |
6 color: rgb(48, 57, 66); | 6 color: rgb(48, 57, 66); |
7 margin: 0 8px 0 8px; | 7 margin: 0 8px 0 8px; |
8 } | 8 } |
9 | 9 |
10 html[dir=rtl] body.uber-frame > .page { | 10 html[dir=rtl] body.uber-frame > .page { |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
49 #filter-controls select { | 49 #filter-controls select { |
50 -webkit-margin-end: 0; | 50 -webkit-margin-end: 0; |
51 } | 51 } |
52 | 52 |
53 html[dir=rtl] #range-today, | 53 html[dir=rtl] #range-today, |
54 html[dir=rtl] #range-previous, | 54 html[dir=rtl] #range-previous, |
55 html[dir=rtl] #range-next { | 55 html[dir=rtl] #range-next { |
56 float: left; | 56 float: left; |
57 } | 57 } |
58 | 58 |
| 59 #range-next img, |
| 60 #range-previous img { |
| 61 position: relative; |
| 62 top: 1px; |
| 63 } |
| 64 |
| 65 #range-next:disabled img, |
| 66 #range-previous:disabled img { |
| 67 opacity: 0.4; |
| 68 } |
| 69 |
59 #display-filter-controls { | 70 #display-filter-controls { |
60 float: right; | 71 float: right; |
61 } | 72 } |
62 | 73 |
63 #display-filter-controls label { | 74 #display-filter-controls label { |
64 -webkit-margin-start: 6px; | 75 -webkit-margin-start: 6px; |
65 } | 76 } |
66 | 77 |
67 #display-filter-controls label:not(:last-child) { | 78 #display-filter-controls label:not(:last-child) { |
68 -webkit-border-end: 1px solid rgb(151, 156, 160); | 79 -webkit-border-end: 1px solid rgb(151, 156, 160); |
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
190 * 'embed' makes the engine set the text in the parentheses as LTR even | 201 * 'embed' makes the engine set the text in the parentheses as LTR even |
191 * when the layout is set to RTL, which makes using -webkit-*-start | 202 * when the layout is set to RTL, which makes using -webkit-*-start |
192 * impossible. So use margins and dir='rtl'. | 203 * impossible. So use margins and dir='rtl'. |
193 */ | 204 */ |
194 direction: rtl; | 205 direction: rtl; |
195 unicode-bidi: embed; | 206 unicode-bidi: embed; |
196 } | 207 } |
197 | 208 |
198 .number-visits { | 209 .number-visits { |
199 color: rgb(151, 156, 160); | 210 color: rgb(151, 156, 160); |
200 margin-left: 0.3em; | |
201 } | 211 } |
202 | 212 |
203 .drop-down { | 213 .drop-down { |
204 -webkit-margin-end: 5px; | 214 -webkit-margin-end: 5px; |
205 margin-top: 1px; | 215 margin-top: 1px; |
206 } | 216 } |
207 | 217 |
208 html[dir='rtl'] .entry .title, | 218 html[dir='rtl'] .entry .title, |
209 html[dir='rtl'] .site-domain { | 219 html[dir='rtl'] .site-domain { |
210 /* Put the favicon on the right. */ | 220 /* Put the favicon on the right. */ |
(...skipping 29 matching lines...) Expand all Loading... |
240 .entry-box:hover input[type=checkbox], | 250 .entry-box:hover input[type=checkbox], |
241 .entry-box input[type=checkbox]:focus { | 251 .entry-box input[type=checkbox]:focus { |
242 opacity: 1; | 252 opacity: 1; |
243 } | 253 } |
244 | 254 |
245 .entry-box input[type=checkbox]:focus { | 255 .entry-box input[type=checkbox]:focus { |
246 -webkit-transition: opacity 150ms; | 256 -webkit-transition: opacity 150ms; |
247 } | 257 } |
248 </if> | 258 </if> |
249 | 259 |
| 260 #range-previous img { |
| 261 -webkit-transform: scaleX(-1); |
| 262 } |
| 263 |
250 .entry-box { | 264 .entry-box { |
251 background-color: none; | 265 background-color: none; |
252 } | 266 } |
253 | 267 |
254 .entry-box:hover, | 268 .entry-box:hover, |
255 .entry-box.contains-focus { | 269 .entry-box.contains-focus { |
256 background-color: rgb(252, 252, 252); | 270 background-color: rgb(252, 252, 252); |
257 border-radius: 2px; | 271 border-radius: 2px; |
258 } | 272 } |
259 | 273 |
260 .entry .title { | 274 .entry .title { |
261 -webkit-box-flex: 1; | 275 -webkit-box-flex: 1; |
262 overflow: hidden; | 276 overflow: hidden; |
263 text-overflow: ellipsis; | 277 text-overflow: ellipsis; |
264 white-space: nowrap; | 278 white-space: nowrap; |
265 } | 279 } |
266 | 280 |
267 .day-results > .entry .title, | 281 .day-results > .entry .title, |
268 .search-results > .entry .title, | 282 .search-results > .entry .title, |
269 .site-domain { | 283 .site-domain { |
270 /* Make room for the favicon. */ | 284 /* Make room for the favicon. */ |
271 -webkit-padding-start: 20px; | 285 -webkit-padding-start: 20px; |
272 | 286 |
273 /* Control the favicon appearance. */ | 287 /* Control the favicon appearance. */ |
274 background-position-y: 3px; | 288 background-position-y: 3px; |
275 background-repeat: no-repeat; | 289 background-repeat: no-repeat; |
276 background-size: 16px; | 290 background-size: 16px; |
277 } | 291 } |
278 | 292 |
| 293 .site-domain button { |
| 294 color: rgb(48, 57, 66); |
| 295 } |
| 296 |
| 297 .site-domain button:hover { |
| 298 text-decoration: none; |
| 299 } |
| 300 |
279 .site-domain-arrow { | 301 .site-domain-arrow { |
280 -webkit-transition: -webkit-transform 300ms linear; | 302 -webkit-transition: -webkit-transform 300ms linear; |
| 303 background: url('../disclosure_triangle_small.png') no-repeat; |
| 304 background-position: 5px 5px; |
281 color: rgb(143, 143, 143); | 305 color: rgb(143, 143, 143); |
282 height: 21px; | 306 height: 21px; |
283 margin-right: 2px; | 307 margin-right: 2px; |
| 308 opacity: 0.58; |
284 text-align: center; | 309 text-align: center; |
285 width: 21px; | 310 width: 21px; |
286 } | 311 } |
287 | 312 |
288 .site-domain-arrow.collapse { | 313 .site-domain-arrow.collapse { |
289 -webkit-transform: rotate(0); | 314 -webkit-transform: rotate(0); |
290 } | 315 } |
291 | 316 |
292 .site-domain-arrow.expand { | 317 .site-domain-arrow.expand { |
293 -webkit-transform: rotate(90deg); | 318 -webkit-transform: rotate(90deg); |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
329 | 354 |
330 .menu-button.drop-down { | 355 .menu-button.drop-down { |
331 position: relative; | 356 position: relative; |
332 top: 2px; | 357 top: 2px; |
333 } | 358 } |
334 | 359 |
335 #action-menu > :not(hr) { | 360 #action-menu > :not(hr) { |
336 line-height: 29px; | 361 line-height: 29px; |
337 outline: none; | 362 outline: none; |
338 } | 363 } |
OLD | NEW |