From 7e835531422b8885fe33a542a57fb3642fb67ace Mon Sep 17 00:00:00 2001 From: andrpet Date: Fri, 18 Dec 2015 17:53:34 +0100 Subject: [PATCH] generic cards container controllet --- controllets/fullsize-page-with-card-controllet/fullsize-page-with-card-controllet.html | 7 ++++++- controllets/generic-cards-container-controllet/generic-cards-container-controllet.html | 8 ++++++++ datalets/leafletjs-datalet/leafletjs-datalet.html | 67 +++++++++++++++++++++++++++++++++++-------------------------------- 3 files changed, 49 insertions(+), 33 deletions(-) diff --git a/controllets/fullsize-page-with-card-controllet/fullsize-page-with-card-controllet.html b/controllets/fullsize-page-with-card-controllet/fullsize-page-with-card-controllet.html index 1dd53f2..e065d51 100755 --- a/controllets/fullsize-page-with-card-controllet/fullsize-page-with-card-controllet.html +++ b/controllets/fullsize-page-with-card-controllet/fullsize-page-with-card-controllet.html @@ -38,7 +38,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
@@ -122,6 +122,11 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN _computeFixedBackgroundClass: function(color) { this.$.fixed = color; + }, + + attached: function() + { + this.fire('fullsize-page-with-card-controllet_attached'); } }); diff --git a/controllets/generic-cards-container-controllet/generic-cards-container-controllet.html b/controllets/generic-cards-container-controllet/generic-cards-container-controllet.html index 7a8e621..9fb1788 100755 --- a/controllets/generic-cards-container-controllet/generic-cards-container-controllet.html +++ b/controllets/generic-cards-container-controllet/generic-cards-container-controllet.html @@ -91,6 +91,14 @@ Example: display: none; } + ::content .card_grid .modify{ + display: none; + } + + ::content .card_grid .open{ + display: none; + } + ::content .empty{ position: absolute; right: 0; diff --git a/datalets/leafletjs-datalet/leafletjs-datalet.html b/datalets/leafletjs-datalet/leafletjs-datalet.html index 106b6bb..2ba78a2 100755 --- a/datalets/leafletjs-datalet/leafletjs-datalet.html +++ b/datalets/leafletjs-datalet/leafletjs-datalet.html @@ -52,7 +52,7 @@ Example: