2016-06-10 12:47:57 -07:00
|
|
|
<!--
|
|
|
|
Copyright (C) 2016 The Android Open Source Project
|
|
|
|
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
you may not use this file except in compliance with the License.
|
|
|
|
You may obtain a copy of the License at
|
|
|
|
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
See the License for the specific language governing permissions and
|
|
|
|
limitations under the License.
|
|
|
|
-->
|
|
|
|
<link rel="import" href="../../../bower_components/polymer/polymer.html">
|
|
|
|
|
|
|
|
<link rel="import" href="../gr-selection-action-box/gr-selection-action-box.html">
|
|
|
|
|
|
|
|
<dom-module id="gr-diff-highlight">
|
|
|
|
<template>
|
|
|
|
<style>
|
2016-06-06 12:20:31 -07:00
|
|
|
.contentWrapper ::content {
|
2016-06-10 12:47:57 -07:00
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
.contentWrapper ::content .range {
|
2016-07-14 12:31:09 -07:00
|
|
|
background-color: rgba(255,213,0,0.5);
|
2016-06-10 12:47:57 -07:00
|
|
|
display: inline;
|
|
|
|
}
|
|
|
|
.contentWrapper ::content .rangeHighlight {
|
2016-07-14 12:31:09 -07:00
|
|
|
background-color: rgba(255,255,0,0.5);
|
2016-06-10 12:47:57 -07:00
|
|
|
display: inline;
|
|
|
|
}
|
|
|
|
</style>
|
|
|
|
<div class="contentWrapper">
|
|
|
|
<content></content>
|
|
|
|
</div>
|
|
|
|
</template>
|
2016-07-11 11:07:31 -07:00
|
|
|
<script src="gr-annotation.js"></script>
|
2016-09-13 15:23:25 -07:00
|
|
|
<script src="gr-range-normalizer.js"></script>
|
2016-06-10 12:47:57 -07:00
|
|
|
<script src="gr-diff-highlight.js"></script>
|
|
|
|
</dom-module>
|