Chromium Code Reviews| 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 acbe3dc0115ea823423b694364c1ca39af02c2cc..23a70f4b25528e4b7fc2246cb4c672aac67e0856 100644 |
| --- a/chrome/browser/resources/settings/device_page/display_layout.html |
| +++ b/chrome/browser/resources/settings/device_page/display_layout.html |
| @@ -16,6 +16,8 @@ |
| position: relative; |
| width: 100%; |
| } |
| + /* Note: the size of the border / box shadow affects the style generated |
| + in getDivStyle_ and gitMirrorDivStyle_ */ |
|
michaelpg
2016/07/11 13:37:55
git => get
stevenjb
2016/07/11 19:45:35
Done.
|
| .display { |
| align-items: center; |
| background: var(--paper-grey-200); |
| @@ -30,6 +32,10 @@ |
| border: var(--google-blue-500) solid 2px; |
| box-shadow: none; |
| } |
| + .display.mirror { |
| + border: var(--google-blue-500) solid 1px; |
| + box-shadow: none; |
| + } |
| .highlight-left { |
| border-left: var(--google-blue-700) solid 1px; |
| } |
| @@ -45,6 +51,12 @@ |
| </style> |
| <div id="displayArea" on-iron-resize="calculateVisualScale_"> |
| <template is="dom-repeat" items="[[displays]]"> |
| + <div id="_mirror_[[item.id]]" class="display mirror" |
|
michaelpg
2016/07/11 13:37:55
do we consider these beginning underscores valid P
stevenjb
2016/07/11 19:45:35
I used an initial _ to explicitly differentiate th
|
| + hidden$="[[!mirroring]]" |
| + style$="[[getMirrorDivStyle_(item.id, item.bounds, visualScale)]]" |
| + </div> |
| + </template> |
| + <template is="dom-repeat" items="[[displays]]"> |
| <div id="_[[item.id]]" class="display" draggable="true" |
| style$="[[getDivStyle_(item.id, item.bounds, visualScale)]]" |
| selected$="[[isSelected_(item, selectedDisplay)]]" |