[Minor] Styling fixes
This commit is contained in:
parent
6d6e6e1df8
commit
3e20b9926c
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"name": "strolch-wc-information-dialog",
|
"name": "strolch-wc-information-dialog",
|
||||||
"description": "Strolch WebComponent Information Dialog",
|
"description": "Strolch WebComponent Information Dialog",
|
||||||
"version": "0.1.11",
|
"version": "0.1.12",
|
||||||
"authors": [
|
"authors": [
|
||||||
"Robert von Burg"
|
"Robert von Burg"
|
||||||
],
|
],
|
||||||
|
@ -20,9 +20,10 @@
|
||||||
"ignore": [],
|
"ignore": [],
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"strolchjs": "strolch-li/strolchjs#^0.5.1",
|
"strolchjs": "strolch-li/strolchjs#^0.5.1",
|
||||||
|
"strolch-wc-styles": "strolch-li/strolch-wc-styles#^0.4.2",
|
||||||
"strolch-wc-localize-behavior": "strolch-li/strolch-wc-localize-behavior#^1.1.14",
|
"strolch-wc-localize-behavior": "strolch-li/strolch-wc-localize-behavior#^1.1.14",
|
||||||
|
|
||||||
"polymer": "Polymer/polymer#^1.11.3",
|
"polymer": "Polymer/polymer#^1.12.0",
|
||||||
|
|
||||||
"iron-a11y-keys": "PolymerElements/iron-a11y-keys#^1.0.9",
|
"iron-a11y-keys": "PolymerElements/iron-a11y-keys#^1.0.9",
|
||||||
|
|
||||||
|
|
|
@ -6,24 +6,22 @@
|
||||||
<link rel="import" href="../paper-dialog/paper-dialog.html">
|
<link rel="import" href="../paper-dialog/paper-dialog.html">
|
||||||
|
|
||||||
<link rel="import" href="../strolch-wc-localize-behavior/strolch-wc-localize-behavior.html">
|
<link rel="import" href="../strolch-wc-localize-behavior/strolch-wc-localize-behavior.html">
|
||||||
|
<link rel="import" href="../strolch-wc-styles/strolch-wc-app-style.html">
|
||||||
|
|
||||||
<dom-module id="strolch-wc-information-dialog">
|
<dom-module id="strolch-wc-information-dialog">
|
||||||
<template>
|
<template>
|
||||||
|
|
||||||
<!-- Style -->
|
<!-- Style -->
|
||||||
<style is="custom-style">
|
<style is="custom-style">
|
||||||
:host {
|
.title {
|
||||||
--button-text-color: var(--app-primary-color);
|
color: var(--paper-dialog-button-color);
|
||||||
}
|
}
|
||||||
|
|
||||||
paper-button {
|
|
||||||
color: var(--button-text-color);
|
|
||||||
}
|
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<paper-dialog id="dlg" modal>
|
<paper-dialog id="dlg" modal>
|
||||||
<iron-a11y-keys keys="esc" on-keys-pressed="close"></iron-a11y-keys>
|
<iron-a11y-keys keys="esc" on-keys-pressed="close"></iron-a11y-keys>
|
||||||
<h2>[[title]]</h2>
|
<h2 class="title">[[title]]</h2>
|
||||||
|
|
||||||
<p>[[line1]]</p>
|
<p>[[line1]]</p>
|
||||||
|
|
||||||
|
@ -59,7 +57,7 @@
|
||||||
<script>
|
<script>
|
||||||
Polymer({
|
Polymer({
|
||||||
|
|
||||||
is: "strolch-wc-information-dialog",
|
is: 'strolch-wc-information-dialog',
|
||||||
behaviors: [
|
behaviors: [
|
||||||
StrolchLocalizeBehavior
|
StrolchLocalizeBehavior
|
||||||
],
|
],
|
||||||
|
|
Loading…
Reference in New Issue