Compare commits
8 Commits
Author | SHA1 | Date |
---|---|---|
Robert von Burg | cebb4f0a43 | |
Robert von Burg | ed29a40b09 | |
Robert von Burg | acf7f64c0d | |
Robert von Burg | 1666bd67d7 | |
Robert von Burg | c87159a7e2 | |
Robert von Burg | e3b8b8b72d | |
Robert von Burg | d0594a792c | |
Robert von Burg | 97126daa59 |
14
bower.json
14
bower.json
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "strolch-wc-plc",
|
||||
"description": "Strolch PLC WebComponents",
|
||||
"version": "0.3.13",
|
||||
"version": "0.3.22",
|
||||
"authors": ["Robert von Burg"],
|
||||
"keywords": [
|
||||
"strolch",
|
||||
|
@ -17,13 +17,13 @@
|
|||
"homepage": "https://github.com/strolch-li/strolch-wc-plc",
|
||||
"ignore": [],
|
||||
"dependencies": {
|
||||
"strolchjs": "strolch-li/strolchjs#^0.5.1",
|
||||
"strolch-wc-styles": "strolch-li/strolch-wc-styles#^0.3.1",
|
||||
"strolch-wc-debounced-input": "strolch-li/strolch-wc-debounced-input#^0.1.1",
|
||||
"strolch-wc-ws-observer": "strolch-li/strolch-wc-ws-observer#^0.2.9",
|
||||
"strolch-wc-localize-behavior": "strolch-li/strolch-wc-localize-behavior#^1.1.14",
|
||||
"strolchjs": "strolch-li/strolchjs#^0.5.3",
|
||||
"strolch-wc-styles": "strolch-li/strolch-wc-styles#^0.4.7",
|
||||
"strolch-wc-debounced-input": "strolch-li/strolch-wc-debounced-input#^0.1.6",
|
||||
"strolch-wc-ws-observer": "strolch-li/strolch-wc-ws-observer#^0.2.11",
|
||||
"strolch-wc-localize-behavior": "strolch-li/strolch-wc-localize-behavior#^1.1.17",
|
||||
|
||||
"polymer": "Polymer/polymer#^1.11.3",
|
||||
"polymer": "Polymer/polymer#^1.12.0",
|
||||
|
||||
"iron-ajax": "PolymerElements/iron-ajax#^1.4.4",
|
||||
"iron-pages": "PolymerElements/iron-pages#^1.0.9",
|
||||
|
|
|
@ -90,7 +90,7 @@
|
|||
return;
|
||||
}
|
||||
|
||||
this.fire("cx-show-info", {
|
||||
this.fire("strolch-show-info", {
|
||||
title: this.localize('confirmActionWarning'),
|
||||
line1: this.localize('confirmActionWarningMsg'),
|
||||
callback: function () {
|
||||
|
|
|
@ -27,6 +27,16 @@
|
|||
<template>
|
||||
|
||||
<style is="custom-style" include="strolch-wc-plc-style">
|
||||
:host {
|
||||
display: block;
|
||||
padding-left: 10px;
|
||||
padding-right: 10px;
|
||||
}
|
||||
|
||||
paper-card {
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.label {
|
||||
min-width: 300px;
|
||||
margin-right: 10px;
|
||||
|
|
|
@ -50,11 +50,11 @@
|
|||
<div class="g-flex-table-cell address-field no-grow">
|
||||
<template is="dom-if" if="[[isBoolean(address.valueType)]]">
|
||||
<template is="dom-if" if="[[address.value]]">
|
||||
<iron-icon style="color:#0b8043"
|
||||
<iron-icon class="active-icon"
|
||||
icon="icons:radio-button-checked"></iron-icon>
|
||||
</template>
|
||||
<template is="dom-if" if="[[!address.value]]">
|
||||
<iron-icon style="color:cornflowerblue"
|
||||
<iron-icon class="inactive-icon"
|
||||
icon="icons:radio-button-unchecked"></iron-icon>
|
||||
</template>
|
||||
</template>
|
||||
|
|
|
@ -31,8 +31,14 @@
|
|||
<template>
|
||||
|
||||
<style is="custom-style" include="strolch-wc-plc-style">
|
||||
h2 {
|
||||
margin-bottom: 10px;
|
||||
:host {
|
||||
display: block;
|
||||
padding-left: 10px;
|
||||
padding-right: 10px;
|
||||
}
|
||||
|
||||
h2:not(:first-of-type) {
|
||||
margin-top: 20px;
|
||||
}
|
||||
|
||||
.actions {
|
||||
|
|
|
@ -1,19 +1,22 @@
|
|||
<link rel="import" href="../polymer/polymer.html">
|
||||
<link rel="import" href="../paper-styles/color.html">
|
||||
<link rel="import" href="../paper-styles/paper-styles.html">
|
||||
|
||||
<link rel="import" href="../strolch-wc-styles/strolch-wc-styles.html">
|
||||
<link rel="import" href="../strolch-wc-styles/strolch-wc-app-style.html">
|
||||
|
||||
<dom-module id="strolch-wc-plc-style">
|
||||
<template>
|
||||
<style is="strolch-wc-plc-style" include="strolch-wc-styles">
|
||||
:host {
|
||||
display: block;
|
||||
<style is="strolch-wc-plc-style" include="strolch-wc-app-style">
|
||||
:root {
|
||||
--app-primary-color: #9965F4;
|
||||
--app-secondary-color: #616161;
|
||||
--primary-text-color: #212121;
|
||||
--secondary-text-color: #737373;
|
||||
}
|
||||
|
||||
paper-card {
|
||||
margin-bottom: 10px;
|
||||
display: block;
|
||||
padding: 10px;
|
||||
width: calc(100% - 20px);
|
||||
}
|
||||
|
||||
paper-icon-button, iron-icon {
|
||||
|
@ -22,6 +25,21 @@
|
|||
|
||||
paper-toggle-button {
|
||||
height: 35px;
|
||||
margin-left: 10px;
|
||||
margin-right: 5px;
|
||||
--paper-toggle-button-checked-button-color: var(--app-primary-color);
|
||||
}
|
||||
|
||||
paper-radio-button {
|
||||
--paper-radio-button-checked-color: var(--app-primary-color);
|
||||
}
|
||||
|
||||
.active-icon {
|
||||
color: var(--app-primary-color);
|
||||
}
|
||||
|
||||
.inactive-icon {
|
||||
color: var(--secondary-text-color);
|
||||
}
|
||||
|
||||
h2, h3 {
|
||||
|
|
Loading…
Reference in New Issue