Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(161)

Side by Side Diff: chrome/browser/resources/settings/settings_shared_css.html

Issue 2535573002: Reduce usage of webkit CSS prefixes in chrome/browser/resources (Closed)
Patch Set: CSSOM Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 /* Included here so we don't have to include "iron-positioning" in every 8 /* Included here so we don't have to include "iron-positioning" in every
9 * stylesheet. See crbug.com/498405. */ 9 * stylesheet. See crbug.com/498405. */
10 [hidden] { 10 [hidden] {
(...skipping 405 matching lines...) Expand 10 before | Expand all | Expand 10 after
416 align-items: center; 416 align-items: center;
417 background-color: var(--paper-yellow-500); 417 background-color: var(--paper-yellow-500);
418 border-radius: 2px; 418 border-radius: 2px;
419 padding: 4px 10px; 419 padding: 4px 10px;
420 text-align: center; 420 text-align: center;
421 width: 100px; 421 width: 100px;
422 } 422 }
423 423
424 /* Provides the arrow which points at the anchor element. */ 424 /* Provides the arrow which points at the anchor element. */
425 .search-bubble-innards::after { 425 .search-bubble-innards::after {
426 -webkit-transform: rotate(-45deg);
427 background-color: var(--paper-yellow-500); 426 background-color: var(--paper-yellow-500);
428 content: ''; 427 content: '';
429 height: 10px; 428 height: 10px;
430 left: 55px; 429 left: 55px;
431 position: absolute; 430 position: absolute;
432 top: -5px; 431 top: -5px;
432 transform: rotate(-45deg);
433 width: 10px; 433 width: 10px;
434 z-index: -1; 434 z-index: -1;
435 } 435 }
436 436
437 /* Turns the arrow direction downwards, when the bubble is placed above 437 /* Turns the arrow direction downwards, when the bubble is placed above
438 * the anchor element */ 438 * the anchor element */
439 .search-bubble-innards.above::after { 439 .search-bubble-innards.above::after {
440 -webkit-transform: rotate(-135deg);
441 bottom: -5px; 440 bottom: -5px;
442 top: auto; 441 top: auto;
442 transform: rotate(-135deg);
443 } 443 }
444 </style> 444 </style>
445 </template> 445 </template>
446 </dom-module> 446 </dom-module>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698