@progressive-development/pd-page 0.0.15 → 0.0.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +5 -5
- package/src/PdFooter.js +16 -16
- package/src/PdMenu.js +5 -5
- package/src/PdTeaser.js +6 -6
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"description": "Progressive development page helper, teaser, menu, footer.",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE",
|
|
5
5
|
"author": "PD Progressive Development",
|
|
6
|
-
"version": "0.0.
|
|
6
|
+
"version": "0.0.17",
|
|
7
7
|
"main": "index.js",
|
|
8
8
|
"module": "index.js",
|
|
9
9
|
"scripts": {
|
|
@@ -18,10 +18,10 @@
|
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"lit": "^2.0.2",
|
|
21
|
-
"@progressive-development/pd-contact": "0.0.
|
|
22
|
-
"@progressive-development/pd-forms": "0.0.
|
|
23
|
-
"@progressive-development/pd-dialog": "0.0.
|
|
24
|
-
"@progressive-development/pd-icon": "0.0.
|
|
21
|
+
"@progressive-development/pd-contact": "0.0.5",
|
|
22
|
+
"@progressive-development/pd-forms": "0.0.16",
|
|
23
|
+
"@progressive-development/pd-dialog": "0.0.10",
|
|
24
|
+
"@progressive-development/pd-icon": "0.0.7"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
27
|
"@custom-elements-manifest/analyzer": "^0.4.17",
|
package/src/PdFooter.js
CHANGED
|
@@ -73,7 +73,7 @@ export class PdFooter extends LitElement {
|
|
|
73
73
|
}
|
|
74
74
|
|
|
75
75
|
.right-content li {
|
|
76
|
-
display: flex;
|
|
76
|
+
display: flex;
|
|
77
77
|
align-items: center;
|
|
78
78
|
padding: 0rem 1rem;
|
|
79
79
|
height: 100%;
|
|
@@ -90,35 +90,33 @@ export class PdFooter extends LitElement {
|
|
|
90
90
|
.version {
|
|
91
91
|
color: #9fbdc0;
|
|
92
92
|
font-style: italic;
|
|
93
|
-
font-size: 0.9rem;
|
|
93
|
+
font-size: 0.9rem;
|
|
94
94
|
}
|
|
95
95
|
|
|
96
|
-
.madeBy {
|
|
96
|
+
.madeBy {
|
|
97
97
|
color: white;
|
|
98
|
-
font-size: 0.9rem;
|
|
99
|
-
}
|
|
98
|
+
font-size: 0.9rem;
|
|
99
|
+
}
|
|
100
100
|
|
|
101
|
-
.madeBy:hover {
|
|
101
|
+
.madeBy:hover {
|
|
102
102
|
border-bottom: 1px solid #ffc857;
|
|
103
103
|
}
|
|
104
|
-
|
|
105
|
-
.madeBy:hover,
|
|
104
|
+
|
|
105
|
+
.madeBy:hover,
|
|
106
|
+
.item a:hover {
|
|
106
107
|
color: #ffc857;
|
|
107
|
-
cursor: pointer;
|
|
108
|
+
cursor: pointer;
|
|
108
109
|
}
|
|
109
110
|
|
|
110
111
|
/* Size Elements for small width */
|
|
111
|
-
@media (max-width: 450px) {
|
|
112
|
-
|
|
112
|
+
@media (max-width: 450px) {
|
|
113
113
|
.right-content ul {
|
|
114
114
|
height: 40%;
|
|
115
115
|
}
|
|
116
116
|
|
|
117
117
|
.right-content {
|
|
118
|
-
width: 30%;
|
|
118
|
+
width: 30%;
|
|
119
119
|
}
|
|
120
|
-
|
|
121
|
-
|
|
122
120
|
}
|
|
123
121
|
`;
|
|
124
122
|
}
|
|
@@ -132,7 +130,7 @@ export class PdFooter extends LitElement {
|
|
|
132
130
|
constructor() {
|
|
133
131
|
super();
|
|
134
132
|
this.version = undefined;
|
|
135
|
-
this._mailTo =
|
|
133
|
+
this._mailTo = 'info@progressive-development.com';
|
|
136
134
|
}
|
|
137
135
|
|
|
138
136
|
firstUpdated() {}
|
|
@@ -143,7 +141,9 @@ export class PdFooter extends LitElement {
|
|
|
143
141
|
<p>
|
|
144
142
|
© ticomi technics<br />
|
|
145
143
|
<span class="version">${this.version} development by</span><br />
|
|
146
|
-
<span class="madeBy" @click="${this._mailToProgressiveDevelopment}"
|
|
144
|
+
<span class="madeBy" @click="${this._mailToProgressiveDevelopment}"
|
|
145
|
+
>PD Progressive Development</span
|
|
146
|
+
>
|
|
147
147
|
</p>
|
|
148
148
|
</div>
|
|
149
149
|
|
package/src/PdMenu.js
CHANGED
|
@@ -63,7 +63,7 @@ export class PdMenu extends LitElement {
|
|
|
63
63
|
font-family: Oswald, sans-serif;
|
|
64
64
|
font-size: 1.2rem;
|
|
65
65
|
|
|
66
|
-
--
|
|
66
|
+
--pd-icon-fill: var(--my-header-text-color);
|
|
67
67
|
}
|
|
68
68
|
.item.active {
|
|
69
69
|
color: #ffc857;
|
|
@@ -76,11 +76,11 @@ export class PdMenu extends LitElement {
|
|
|
76
76
|
This is also the reason why icon-fill is defined for item, not for topMenuItem
|
|
77
77
|
Erkennbar: Farbe Icon leicht unterschiedlich zu Farbe Text nach hover icon.
|
|
78
78
|
*/
|
|
79
|
-
--
|
|
79
|
+
--pd-icon-fill: #ffc857;
|
|
80
80
|
}
|
|
81
81
|
|
|
82
82
|
.topItemLogo {
|
|
83
|
-
--
|
|
83
|
+
--pd-icon-size: 1.6rem;
|
|
84
84
|
--icon-transition: none;
|
|
85
85
|
pointer-events: none;
|
|
86
86
|
}
|
|
@@ -184,10 +184,10 @@ export class PdMenu extends LitElement {
|
|
|
184
184
|
@click="${this._menuItemClicked}"
|
|
185
185
|
>
|
|
186
186
|
${topItem.icon
|
|
187
|
-
? html`<
|
|
187
|
+
? html`<pd-icon
|
|
188
188
|
class="topItemLogo"
|
|
189
189
|
icon="${topItem.icon}"
|
|
190
|
-
></
|
|
190
|
+
></pd-icon>`
|
|
191
191
|
: ''}
|
|
192
192
|
${topItem.name}
|
|
193
193
|
</li>
|
package/src/PdTeaser.js
CHANGED
|
@@ -66,7 +66,7 @@ export class PdTeaser extends LitElement {
|
|
|
66
66
|
top: calc(var(--my-height) / 2);
|
|
67
67
|
left: 10px;
|
|
68
68
|
z-index: 1;
|
|
69
|
-
--
|
|
69
|
+
--pd-icon-fill: white;
|
|
70
70
|
}
|
|
71
71
|
|
|
72
72
|
.next {
|
|
@@ -74,7 +74,7 @@ export class PdTeaser extends LitElement {
|
|
|
74
74
|
top: calc(var(--my-height) / 2);
|
|
75
75
|
right: 10px;
|
|
76
76
|
z-index: 1;
|
|
77
|
-
--
|
|
77
|
+
--pd-icon-fill: white;
|
|
78
78
|
}
|
|
79
79
|
|
|
80
80
|
.content {
|
|
@@ -226,16 +226,16 @@ export class PdTeaser extends LitElement {
|
|
|
226
226
|
render() {
|
|
227
227
|
return html`
|
|
228
228
|
<div class="teaser-flex ${this._visible ? '' : 'in-active'}">
|
|
229
|
-
<
|
|
229
|
+
<pd-icon
|
|
230
230
|
icon="previousArrow"
|
|
231
231
|
class="previous"
|
|
232
232
|
@click="${this._prevContent}"
|
|
233
|
-
></
|
|
234
|
-
<
|
|
233
|
+
></pd-icon>
|
|
234
|
+
<pd-icon
|
|
235
235
|
icon="nextArrow"
|
|
236
236
|
class="next"
|
|
237
237
|
@click="${this._nextContent}"
|
|
238
|
-
></
|
|
238
|
+
></pd-icon>
|
|
239
239
|
|
|
240
240
|
${this.teaserObjects.map(
|
|
241
241
|
(teaserObj, index) => html`
|