-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
repo-available.html
36 lines (35 loc) · 1.02 KB
/
repo-available.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<dom-module id="repo-available">
<template>
<style include="repo-styles">
:host{
display: table;
}
.content, .label{
color:var(--paper-orange-500);
font-weight: 500;
padding:4px 0;
}
.updateBadge{
background: var(--paper-orange-700);
color:var(--paper-orange-100);
padding:4px 6px;
text-align: center;
z-index:100;
margin-left:-104px;
}
</style>
<span class="updateBadge">updated</span>
<span class="label">Latest Version</span>
<span class="content">
<slot></slot>
</span>
</template>
<script>
class RepoAvailable extends Polymer.Element {
static get is() {
return 'repo-available';
}
}
window.customElements.define(RepoAvailable.is, RepoAvailable);
</script>
</dom-module>