From 3a165134c01992002d6fab32c27f6546ba699b52 Mon Sep 17 00:00:00 2001 From: Nathan Date: Wed, 26 Feb 2014 13:12:55 -0400 Subject: [PATCH 1/4] Added Window Export and Import functions --- popup.css | 20 ++++- popup.html | 23 +++-- popup.js | 122 +++++++++++++++++-------- saveas/filesaver.js | 213 ++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 330 insertions(+), 48 deletions(-) create mode 100644 saveas/filesaver.js diff --git a/popup.css b/popup.css index 53e1b5e..36944ee 100644 --- a/popup.css +++ b/popup.css @@ -115,7 +115,7 @@ li:hover > .delete { margin-left: 20px; } -.undo:hover { +.undo:hover { cursor: pointer; } @@ -126,14 +126,18 @@ li:hover > .delete { margin: 5px; } -input { +input, label { padding: 3px; font-weight: bold; - font-size:100%; + font-size: 100%; border: 3px solid #ccc; border-radius: 5px; } +label { + background-color: #DDD; +} + input:focus { outline: none; } @@ -160,3 +164,13 @@ input:focus { #update { display: none; } + +#export, label { + color: black; + padding: 0px 5px; + cursor: pointer; +} + +#import { + display: none; +} \ No newline at end of file diff --git a/popup.html b/popup.html index e0a4dfa..79227e3 100644 --- a/popup.html +++ b/popup.html @@ -1,9 +1,9 @@ - - - + + + @@ -12,12 +12,12 @@
- Save as: + Save as:
Note: you can't save incognito windows.
- - - + + + + + +
+ + + + +