From 2d8cf127f993de17e18348118e5d99375cdff03d Mon Sep 17 00:00:00 2001 From: luigser Date: Wed, 17 Feb 2016 18:39:15 +0100 Subject: [PATCH] postit and google card updates --- controllets/google-cards-controllet/google-card-controllet.html | 34 ++++++++++++++++++---------------- controllets/google-cards-controllet/google-card-creation-controllet.html | 0 controllets/google-cards-controllet/static/images/google-doc-icon.png | Bin 20291 -> 0 bytes controllets/google-cards-controllet/static/images/google-drawing-icon.png | Bin 6601 -> 0 bytes controllets/google-cards-controllet/static/images/google-presentation-icon.png | Bin 12697 -> 0 bytes controllets/google-cards-controllet/static/images/google-sheet-icon.png | Bin 17440 -> 0 bytes controllets/postit-container-controllet/postit-container-controllet.html | 339 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 7 files changed, 357 insertions(+), 16 deletions(-) mode change 100644 => 100755 controllets/google-cards-controllet/google-card-controllet.html mode change 100644 => 100755 controllets/google-cards-controllet/google-card-creation-controllet.html mode change 100644 => 100755 controllets/google-cards-controllet/static/images/google-doc-icon.png mode change 100644 => 100755 controllets/google-cards-controllet/static/images/google-drawing-icon.png mode change 100644 => 100755 controllets/google-cards-controllet/static/images/google-presentation-icon.png mode change 100644 => 100755 controllets/google-cards-controllet/static/images/google-sheet-icon.png create mode 100755 controllets/postit-container-controllet/postit-container-controllet.html diff --git a/controllets/google-cards-controllet/google-card-controllet.html b/controllets/google-cards-controllet/google-card-controllet.html old mode 100644 new mode 100755 index e7ab3b5..9d6a1a3 --- a/controllets/google-cards-controllet/google-card-controllet.html +++ b/controllets/google-cards-controllet/google-card-controllet.html @@ -5,7 +5,7 @@ - + @@ -23,7 +23,7 @@ #content { padding: 4px 4px 0px 4px; position:relative; - width: 100%; + width: 98%; height: 90%; } @@ -45,10 +45,14 @@ paper-fab#fullscreen-button { position: absolute; - z-index: 100; - top: -20px; - right: 8px; + /*z-index: 10;*/ + top: 0px; + right: 0px; --paper-fab-background:#2196F3; + padding : 0px; + margin: 0px; + height: 24px; + width: 24px; } paper-dialog { @@ -86,15 +90,12 @@
- + +
- -
@@ -153,15 +154,16 @@ _changeWidth: function(){ - this.style.width = this.width + "px"; - this.$.paper_card_container.style.width = this.width + "px"; - this.$.content.style.width = this.width - 8 + "px"; + //this.style.width = this.width + "px"; + //this.$.paper_card_container.style.width = this.width + "px"; + //this.$.content.style.width = this.width - 8 + "px"; }, _changeHeight: function(){ - this.style.height = this.height + 64 + "px"; - this.$.paper_card_container.style.height = this.height + "px"; - this.$.content.style.height = this.height - 4 + "px"; + this.style.height = this.height + "vh"; + //this.$.content.width = this.width - 4 + "vh"; + this.$.paper_card_container.style.height = this.height + "vh"; + this.$.content.style.height = this.height - 1 + "vh"; $(this.$.content).perfectScrollbar(); }, diff --git a/controllets/google-cards-controllet/google-card-creation-controllet.html b/controllets/google-cards-controllet/google-card-creation-controllet.html old mode 100644 new mode 100755 index a69b199..a69b199 --- a/controllets/google-cards-controllet/google-card-creation-controllet.html +++ b/controllets/google-cards-controllet/google-card-creation-controllet.html diff --git a/controllets/google-cards-controllet/static/images/google-doc-icon.png b/controllets/google-cards-controllet/static/images/google-doc-icon.png old mode 100644 new mode 100755 index 9cada25..9cada25 Binary files a/controllets/google-cards-controllet/static/images/google-doc-icon.png and b/controllets/google-cards-controllet/static/images/google-doc-icon.png differ diff --git a/controllets/google-cards-controllet/static/images/google-drawing-icon.png b/controllets/google-cards-controllet/static/images/google-drawing-icon.png old mode 100644 new mode 100755 index 510a291..510a291 Binary files a/controllets/google-cards-controllet/static/images/google-drawing-icon.png and b/controllets/google-cards-controllet/static/images/google-drawing-icon.png differ diff --git a/controllets/google-cards-controllet/static/images/google-presentation-icon.png b/controllets/google-cards-controllet/static/images/google-presentation-icon.png old mode 100644 new mode 100755 index 304f49c..304f49c Binary files a/controllets/google-cards-controllet/static/images/google-presentation-icon.png and b/controllets/google-cards-controllet/static/images/google-presentation-icon.png differ diff --git a/controllets/google-cards-controllet/static/images/google-sheet-icon.png b/controllets/google-cards-controllet/static/images/google-sheet-icon.png old mode 100644 new mode 100755 index 6ea5ff3..6ea5ff3 Binary files a/controllets/google-cards-controllet/static/images/google-sheet-icon.png and b/controllets/google-cards-controllet/static/images/google-sheet-icon.png differ diff --git a/controllets/postit-container-controllet/postit-container-controllet.html b/controllets/postit-container-controllet/postit-container-controllet.html new file mode 100755 index 0000000..7c67b92 --- /dev/null +++ b/controllets/postit-container-controllet/postit-container-controllet.html @@ -0,0 +1,339 @@ + + + + + + + + + + + + + + + + + + + + -- libgit2 0.21.4