| OLD | NEW |
| 1 <link rel="import" href="chrome://resources/cr_elements/shared_style_css.html"> | 1 <link rel="import" href="chrome://resources/cr_elements/shared_style_css.html"> |
| 2 <link rel="import" href="/settings_vars_css.html"> | 2 <link rel="import" href="/settings_vars_css.html"> |
| 3 | 3 |
| 4 <!-- Common styles for Material Design settings. --> | 4 <!-- Common styles for Material Design settings. --> |
| 5 <dom-module id="settings-shared"> | 5 <dom-module id="settings-shared"> |
| 6 <template> | 6 <template> |
| 7 <style include="cr-shared-style"> | 7 <style include="cr-shared-style"> |
| 8 h2 { | 8 h2 { |
| 9 align-items: center; | 9 align-items: center; |
| 10 display: flex; | 10 display: flex; |
| (...skipping 325 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 336 } | 336 } |
| 337 | 337 |
| 338 .favicon-image { | 338 .favicon-image { |
| 339 background-repeat: no-repeat; | 339 background-repeat: no-repeat; |
| 340 background-size: contain; | 340 background-size: contain; |
| 341 height: 16px; | 341 height: 16px; |
| 342 width: 16px; | 342 width: 16px; |
| 343 } | 343 } |
| 344 | 344 |
| 345 .search-bubble { | 345 .search-bubble { |
| 346 pointer-events: none; | |
| 347 position: absolute; | 346 position: absolute; |
| 348 z-index: 1; | 347 z-index: 1; |
| 349 } | 348 } |
| 350 | 349 |
| 351 .search-bubble-innards { | 350 .search-bubble-innards { |
| 352 align-items: center; | 351 align-items: center; |
| 353 background-color: var(--paper-yellow-500); | 352 background-color: var(--paper-yellow-500); |
| 354 border-radius: 2px; | 353 border-radius: 2px; |
| 355 padding: 4px 10px; | 354 padding: 4px 10px; |
| 356 text-align: center; | 355 text-align: center; |
| 357 width: 100px; | 356 width: 100px; |
| 358 } | 357 } |
| 359 | 358 |
| 360 /* Provides the arrow which points at the anchor element. */ | 359 /* Provides the arrow which points at the anchor element. */ |
| 361 .search-bubble-innards::after { | 360 .search-bubble-innards::after { |
| 362 -webkit-transform: rotate(-45deg); | 361 -webkit-transform: rotate(-45deg); |
| 363 background-color: var(--paper-yellow-500); | 362 background-color: var(--paper-yellow-500); |
| 364 content: ''; | 363 content: ''; |
| 365 height: 10px; | 364 height: 10px; |
| 366 left: 55px; | 365 left: 55px; |
| 367 position: absolute; | 366 position: absolute; |
| 368 top: -5px; | 367 top: -5px; |
| 369 width: 10px; | 368 width: 10px; |
| 370 } | 369 } |
| 370 |
| 371 /* Turns the arrow direction downwards, when the bubble is placed above |
| 372 * the anchor element */ |
| 373 .search-bubble-innards.above::after { |
| 374 -webkit-transform: rotate(-135deg); |
| 375 bottom: -5px; |
| 376 top: auto; |
| 377 } |
| 371 </style> | 378 </style> |
| 372 </template> | 379 </template> |
| 373 </dom-module> | 380 </dom-module> |
| OLD | NEW |