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

Unified Diff: chrome/browser/resources/settings/device_page/display_layout.html

Issue 2885363006: MD Settings: Remove usage of paper-material. (Closed)
Patch Set: Created 3 years, 7 months 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/settings/device_page/display_layout.html
diff --git a/chrome/browser/resources/settings/device_page/display_layout.html b/chrome/browser/resources/settings/device_page/display_layout.html
index fddffb8111989885474f1d839532863f16eec614..ded9ec1ee6f46913a2abced64e96c10d2a7f412f 100644
--- a/chrome/browser/resources/settings/device_page/display_layout.html
+++ b/chrome/browser/resources/settings/device_page/display_layout.html
@@ -1,14 +1,14 @@
<link rel="import" href="chrome://resources/html/polymer.html">
<link rel="import" href="chrome://resources/polymer/v1_0/iron-resizable-behavior/iron-resizable-behavior.html">
-<link rel="import" href="chrome://resources/polymer/v1_0/paper-material/paper-material.html">
+<link rel="import" href="chrome://resources/polymer/v1_0/paper-material/paper-material-shared-styles.html">
<link rel="import" href="drag_behavior.html">
<link rel="import" href="layout_behavior.html">
<link rel="import" href="../settings_shared_css.html">
<dom-module id="display-layout">
<template>
- <style include="settings-shared">
+ <style include="settings-shared paper-material-shared-styles">
/* Use relative position with no offset so that display divs (children),
which have absolute positions, are offset from the displayArea div. */
#displayArea {
@@ -52,6 +52,10 @@
.highlight-bottom {
border-bottom: var(--google-blue-700) solid 1px;
}
+
+ .display.elevate {
+ @apply(--shadow-elevation-2dp);
+ }
</style>
<div id="displayArea" on-iron-resize="calculateVisualScale_">
<template is="dom-repeat" items="[[displays]]">
@@ -61,12 +65,12 @@
</div>
</template>
<template is="dom-repeat" items="[[displays]]">
- <paper-material id="_[[item.id]]" class="display" elevation="1"
+ <div id="_[[item.id]]" class="display elevate"
draggable="[[dragEnabled]]" on-tap="onSelectDisplayTap_"
style$="[[getDivStyle_(item.id, item.bounds, visualScale)]]"
selected$="[[isSelected_(item, selectedDisplay)]]">
[[item.name]]
- </paper-material>
+ </div>
</template>
</div>
</template>
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698