-
Notifications
You must be signed in to change notification settings - Fork 2
/
universal-footer.html
71 lines (68 loc) · 1.69 KB
/
universal-footer.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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
<link rel="import" href="../polymer/polymer.html" />
<link rel="import" href="../paper-material/paper-material.html" />
<link rel="import" href="../font-roboto/roboto.html" />
<dom-module id="universal-footer">
<style>
:host {
background: var(--universal-footer-background-color, #F8BBD0);
color: var(--universal-footer-text-color, #C2185B);
display: block;
font-family: 'Roboto', sans-serif;
width: auto;
padding: var(--universal-footer-padding, 20px);
}
paper-material {
margin: 0px;
}
.copyright-center {
text-align: center;
font-size: 10px;
margin-top: 20px;
}
.multicol > ::content div {
display: flex;
flex-flow: row wrap;
}
.multicol > ::content [col] {
flex: 1;
display: inline-block;
margin: 20px auto;
min-width: 200px;
}
.multicol > ::content [row] {
display: block;
}
.multicol > ::content [left] {
text-align: left;
}
.multicol > ::content [right] {
text-align: right;
}
.multicol > ::content [center] {
text-align: center;
}
.multicol > ::content [title] {
font-weight: bold;
font-size: 20px;
margin-top: var(--universal-footer-col-title-margin-top, 20px);
color: var(--universal-footer-col-title-color, #C2185B);
}
.multicol > ::content [multicol] > [col] {
min-width: 10px;
margin: 0;
margin-right: 10px;
flex: auto;
}
</style>
<template>
<paper-material elevation="0" class="layout vertical">
<div class="flex multicol">
<content select="[multicol]"></content>
</div>
<div class="flex copyright-center">
<content select="[copyright-center]"></content>
</div>
</paper-material>
</template>
</dom-module>
<script src="universal-footer.js"></script>