blob: 04b3e91aee8e003e3845af15874a7e8e7ffc8d57 (
plain)
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
37
38
39
40
41
42
43
44
45
46
47
48
|
<link rel="import" href="../../html/polymer.html">
<link rel="import" href="chrome://resources/polymer/v1_0/iron-icon/iron-icon.html">
<link rel="import" href="chrome://resources/polymer/v1_0/paper-styles/color.html">
<link rel="import" href="../../cr_elements/icons.html">
<link rel="import" href="../../cr_elements/shared_vars_css.html">
<link rel="import" href="../../html/i18n_behavior.html">
<link rel="import" href="../../html/load_time_data.html">
<dom-module id="managed-footnote">
<template>
<style>
:host {
align-items: center;
border-top: 1px solid var(--cr-separator-color);
color: var(--cr-secondary-text-color);
display: none;
/* Should be 13px when <html> font-size is 16px */
font-size: 0.8125rem;
justify-content: center;
padding: 0 24px;
}
:host([is-managed_]) {
display: flex;
}
a[href] {
color: var(--cr-link-color);
text-decoration: none;
}
iron-icon {
align-self: flex-start;
flex-shrink: 0;
height: 20px;
padding-inline-end: var(--managed-footnote-icon-padding, 8px);
width: 20px;
}
</style>
<template is="dom-if" if="[[isManaged_]]">
<iron-icon icon="cr:domain"></iron-icon>
<div id="content" inner-h-t-m-l="[[message_]]"></div>
</template>
</template>
<script src="managed_footnote.js"></script>
</dom-module>
|