| OLD | NEW |
| 1 html { | 1 html { |
| 2 /* This is needed because of chrome://theme/css/new_tab.css */ | 2 /* This is needed because of chrome://theme/css/new_tab.css */ |
| 3 height: 100%; | 3 height: 100%; |
| 4 } | 4 } |
| 5 | 5 |
| 6 body { | 6 body { |
| 7 margin: 0; | 7 margin: 0; |
| 8 height: 100%; | 8 height: 100%; |
| 9 overflow: auto; | 9 overflow: auto; |
| 10 -webkit-user-select: none; | 10 -webkit-user-select: none; |
| (...skipping 263 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 274 cursor: pointer; | 274 cursor: pointer; |
| 275 text-decoration: underline; | 275 text-decoration: underline; |
| 276 font-family: inherit; | 276 font-family: inherit; |
| 277 } | 277 } |
| 278 | 278 |
| 279 .section { | 279 .section { |
| 280 position: fixed; | 280 position: fixed; |
| 281 font-size: 12px; | 281 font-size: 12px; |
| 282 } | 282 } |
| 283 | 283 |
| 284 html[anim=true][enable-section-animations=true] .section { |
| 285 -webkit-transition: top .15s; |
| 286 } |
| 287 |
| 284 .section.disabled { | 288 .section.disabled { |
| 285 display: none !important; | 289 display: none !important; |
| 286 } | 290 } |
| 287 | 291 |
| 288 .section > h2 { | 292 .section > h2 { |
| 289 font-family: Helvetica, Arial, sans-serif; | 293 font-family: Helvetica, Arial, sans-serif; |
| 290 font-size: 16px; | 294 font-size: 16px; |
| 291 font-weight: normal; | 295 font-weight: normal; |
| 292 margin: 0; | 296 margin: 0; |
| 293 position: relative; | 297 position: relative; |
| 294 } | 298 } |
| 295 | 299 |
| 296 .section:not([noexpand]) > h2 { | 300 .section:not([noexpand]) > h2 { |
| 297 cursor: pointer; | 301 cursor: pointer; |
| 298 } | 302 } |
| 299 | 303 |
| 300 .section > h2 > .disclosure { | 304 .section > h2 > .disclosure { |
| 301 position: absolute; | 305 position: absolute; |
| 302 left: -15px; | 306 left: -15px; |
| 303 top: 4px; | 307 top: 4px; |
| 304 } | 308 } |
| 305 | 309 |
| 310 html[anim=true] .section > h2 > .disclosure { |
| 311 -webkit-transition: -webkit-transform .15s; |
| 312 } |
| 313 |
| 306 .section:not(.hidden) > h2 > .disclosure { | 314 .section:not(.hidden) > h2 > .disclosure { |
| 307 -webkit-transform:rotate(90deg); | 315 -webkit-transform:rotate(90deg); |
| 308 } | 316 } |
| 309 | 317 |
| 310 .section > h2 .back { | 318 .section > h2 .back { |
| 311 position: absolute; | 319 position: absolute; |
| 312 left: 0; | 320 left: 0; |
| 313 top: 9px; | 321 top: 9px; |
| 314 width: 100%; | 322 width: 100%; |
| 315 height: 24px; | 323 height: 24px; |
| (...skipping 30 matching lines...) Expand all Loading... |
| 346 } | 354 } |
| 347 | 355 |
| 348 .section.hidden > h2 .settings-wrapper { | 356 .section.hidden > h2 .settings-wrapper { |
| 349 display: none; | 357 display: none; |
| 350 } | 358 } |
| 351 | 359 |
| 352 .maxiview { | 360 .maxiview { |
| 353 padding: 5px 0 30px; | 361 padding: 5px 0 30px; |
| 354 position: absolute; | 362 position: absolute; |
| 355 -webkit-mask-attachment: fixed; | 363 -webkit-mask-attachment: fixed; |
| 364 opacity: 1; |
| 365 } |
| 366 |
| 367 .maxiview.hiding { |
| 368 opacity: 0; |
| 369 } |
| 370 |
| 371 .maxiview.hidden { |
| 372 display: none; |
| 373 } |
| 374 |
| 375 html[anim=true] .maxiview { |
| 376 -webkit-transition: opacity .15s; |
| 356 } | 377 } |
| 357 | 378 |
| 358 .section > .miniview { | 379 .section > .miniview { |
| 359 display: none; | 380 display: none; |
| 360 height: 24px; | |
| 361 margin: 10px 0 30px; | 381 margin: 10px 0 30px; |
| 362 overflow: hidden; | 382 white-space: nowrap; |
| 383 overflow-x: hidden; |
| 363 } | 384 } |
| 364 | 385 |
| 365 .section.hidden > * { | 386 .section.hidden > * { |
| 366 display: none; | 387 display: none; |
| 367 } | 388 } |
| 368 | 389 |
| 369 .section.hidden > h2, | 390 .section.hidden > h2, |
| 370 .section.hidden > .miniview { | 391 .section.hidden > .miniview { |
| 371 display: block; | 392 display: block; |
| 372 } | 393 } |
| 373 | 394 |
| 374 .section.hidden > h2 { | 395 .section.hidden > h2 { |
| 375 margin-right: 0; | 396 margin-right: 0; |
| 376 } | 397 } |
| 377 | 398 |
| 378 .maxiview.hidden { | |
| 379 display: none; | |
| 380 } | |
| 381 | |
| 382 .miniview > span { | 399 .miniview > span { |
| 383 display: inline-block; | 400 display: inline-block; |
| 384 max-width: 114px; /* Selected so that we can fit 5 items in EN-US */ | 401 max-width: 114px; /* Selected so that we can fit 5 items in EN-US */ |
| 385 white-space: nowrap; | 402 white-space: nowrap; |
| 386 overflow: hidden; | 403 overflow: hidden; |
| 387 text-overflow: ellipsis; | 404 text-overflow: ellipsis; |
| 388 font-size: 100%; | 405 font-size: 100%; |
| 389 margin: 0 10px; | 406 margin: 0 10px; |
| 390 } | 407 } |
| 391 | 408 |
| (...skipping 24 matching lines...) Expand all Loading... |
| 416 } | 433 } |
| 417 } | 434 } |
| 418 | 435 |
| 419 /* Ensure we have at least 10px horizontal marging. */ | 436 /* Ensure we have at least 10px horizontal marging. */ |
| 420 @media (max-width: 712px) { | 437 @media (max-width: 712px) { |
| 421 #main { | 438 #main { |
| 422 margin-left: 10px; | 439 margin-left: 10px; |
| 423 margin-right: 10px; | 440 margin-right: 10px; |
| 424 } | 441 } |
| 425 } | 442 } |
| OLD | NEW |