├── README.md
├── chrome_store_pictures
├── alzheimer_1.png
├── alzheimer_2_.png
├── alzheimer_3.png
├── alzheimer_4.png
├── promotional.png
└── promotional2.png
├── content_script.js
├── crypto_helpers.js
├── css
├── normalize.css
└── skeleton.css
├── custom.css
├── img
└── icon.png
├── js
├── jquery-ui.min.js
├── jquery.imgpreload.min.js
└── jquery.min.js
├── lib
└── pbkdf2.js
├── main.js
├── manifest.json
├── options.html
├── options.js
└── theme
├── images
├── icons_16.png
├── jGrowl-close.png
├── modalClose.png
├── modalClose@2x.png
├── slider_handles.png
├── slider_handles@2x.png
├── ui-bg_flat_0_aaaaaa_40x100.png
├── ui-bg_flat_75_ffffff_40x100.png
├── ui-bg_glass_55_fbf9ee_1x400.png
├── ui-bg_glass_65_ffffff_1x400.png
├── ui-bg_glass_75_dadada_1x400.png
├── ui-bg_glass_75_e6e6e6_1x400.png
├── ui-bg_glass_95_fef1ec_1x400.png
├── ui-bg_highlight-soft_75_cccccc_1x100.png
├── ui-icons_222222_256x240.png
├── ui-icons_2e83ff_256x240.png
├── ui-icons_454545_256x240.png
├── ui-icons_888888_256x240.png
├── ui-icons_FFFFFF_256x240.png
└── ui-icons_cd0a0a_256x240.png
└── jquery-ui.css
/README.md:
--------------------------------------------------------------------------------
1 | # Alzheimer password generator
2 |
3 | ##Chrome extension for domain dependent password generation.
4 |
5 |
6 | [https://chrome.google.com/webstore/detail/alzheimer-password-genera/emclcafdgdeodlhpenmejdapecfgenof](https://chrome.google.com/webstore/detail/alzheimer-password-genera/emclcafdgdeodlhpenmejdapecfgenof "Alzheimer password generator")
7 |
8 | Final password is cryptographically derived from web page URL address, salt and user provided secret passphrase.
9 | The salt should be stored physically, so you can recover it in the future.
10 |
11 | Work in progress. The crypto part works fine, but there are some jQuery/css issues on some pages (iframes, jQuery dialog etc.)
12 |
13 | Current Threat Model:
14 |
15 | - No one with an access to the PC with installed extension should be able to authenticate without knowing the correct passphrase.
16 |
17 | - The same passphrase used in two different web browsers should produce two different passwords (cryptographic salt will solve this problem).
18 |
19 | - If an attacker obtains password for some websites, she should not be able to derive passwords for another websites using that knowledge.
20 |
21 | - Attacker should not be able to brute force master passphrase from the salt and knowledge of one password (PBKDF with lots of iterations).
22 |
23 | - it provides protection against basic keyloggers (but they can read our salt from the memory / file...)
24 |
25 |
26 | Options page:
27 | 
28 |
29 | Call Alzheimer pop-up:
30 | 
31 |
32 | Enter password:
33 | 
34 |
35 | Derived strong password is placed to the form:
36 | 
37 |
38 | TODO:
39 |
40 | - better parse url address (remove www, etc...)
41 | - change icon
42 | - create css for options page
43 | - focus cursor on the passphrase input
44 | - notify user (red alert) that the site is not using HTTPS instead of banning key generations...
45 | - show "Wait..." information when generating password...
46 | - generate random salt upon installation (but user can rewrite that value)
47 | - how to retrieve salt later?
48 | - Generate Passphrase to clipboard (when you need it outside of browser)
49 | - deal with forbidden right click...
50 |
51 | KNOWN BUGS:
52 |
53 | - send by Enter not always working
54 | - some pages rewrite my dialog css...
55 |
56 |
57 | Version 2:
58 |
59 | - user should be able to choose what kind of characters are included in the password
60 | - salt in the Options page should be not readable by default
61 |
62 |
63 | Libraries used:
64 | [Delta-jQuery-UI-Theme](https://github.com/kiandra/Delta-jQuery-UI-Theme)
65 |
--------------------------------------------------------------------------------
/chrome_store_pictures/alzheimer_1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/viralpoetry/alzheimer-password-generator/57bb598ad65090ca99abdd1035e85158541b4421/chrome_store_pictures/alzheimer_1.png
--------------------------------------------------------------------------------
/chrome_store_pictures/alzheimer_2_.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/viralpoetry/alzheimer-password-generator/57bb598ad65090ca99abdd1035e85158541b4421/chrome_store_pictures/alzheimer_2_.png
--------------------------------------------------------------------------------
/chrome_store_pictures/alzheimer_3.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/viralpoetry/alzheimer-password-generator/57bb598ad65090ca99abdd1035e85158541b4421/chrome_store_pictures/alzheimer_3.png
--------------------------------------------------------------------------------
/chrome_store_pictures/alzheimer_4.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/viralpoetry/alzheimer-password-generator/57bb598ad65090ca99abdd1035e85158541b4421/chrome_store_pictures/alzheimer_4.png
--------------------------------------------------------------------------------
/chrome_store_pictures/promotional.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/viralpoetry/alzheimer-password-generator/57bb598ad65090ca99abdd1035e85158541b4421/chrome_store_pictures/promotional.png
--------------------------------------------------------------------------------
/chrome_store_pictures/promotional2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/viralpoetry/alzheimer-password-generator/57bb598ad65090ca99abdd1035e85158541b4421/chrome_store_pictures/promotional2.png
--------------------------------------------------------------------------------
/content_script.js:
--------------------------------------------------------------------------------
1 | // for backward compatibility
2 | if (!chrome.runtime) {
3 | // Chrome 20-21
4 | chrome.runtime = chrome.extension;
5 | } else if (!chrome.runtime.onMessage) {
6 | // Chrome 22-25
7 | chrome.runtime.onMessage = chrome.extension.onMessage;
8 | chrome.runtime.sendMessage = chrome.extension.sendMessage;
9 | chrome.runtime.onConnect = chrome.extension.onConnect;
10 | chrome.runtime.connect = chrome.extension.connect;
11 | }
12 |
13 | // global variable
14 | var clickedEl;
15 |
16 | function password_funct(salt, curr_url) {
17 | box = clickedEl;
18 | passphrase = document.getElementById("frm2").elements.item(1).value;
19 | // derive password from passphrase, cryptographic salt and current URL
20 | password = generator(passphrase, salt, curr_url);
21 | box.value = password;
22 | // clean up
23 | passphrase = null;
24 | password = null;
25 | delete passphrase;
26 | delete password;
27 | }
28 |
29 | // THX to http://stackoverflow.com/questions/13740912/chrome-ext-content-script-that-creates-jquery-dialog-need-to-ignore-iframes
30 | function injectPopup(salt, curr_url) {
31 | var showModal = function(title) {
32 | $('
').html('')
36 | .appendTo("body")
37 | .dialog({
38 | title: title,
39 | modal: true,
40 | position: ['center', 20],
41 | width: 400,
42 | hide: "fade",
43 | show: "fade",
44 | buttons: {
45 | "OK": function() {
46 | password_funct(salt, curr_url);
47 | $(this).dialog("close");
48 | },
49 | "Cancel": function() {
50 | $(this).dialog("close");
51 | }
52 | },
53 | open: function(event, ui) {
54 | $(this).keypress(function(e) {
55 | if (e.keyCode == $.ui.keyCode.ENTER) {
56 | $(this).parent().find("button:eq(0)").trigger("click");
57 | }
58 | });
59 | },
60 | close: function(event, ui) {
61 | $(this).dialog('destroy').remove()
62 | }
63 | });
64 | };
65 | showModal("password generator");
66 | // focus cursor on passphrase field
67 | $("#frm-pass-input").focus();
68 | }
69 |
70 | // detect right click on element
71 | document.addEventListener("mousedown", function(ev) {
72 | if (ev.button == 2) {
73 | clickedEl = ev.target;
74 | }
75 | }, true);
76 |
77 | // receive salt from the background script
78 | chrome.runtime.onMessage.addListener(function(message, sender, sendResponse) {
79 | var box = clickedEl;
80 |
81 | if ((message.action === "paste_pass") && (typeof message.salt !== "undefined") && (typeof message.curr_url !== "undefined")) {
82 | // is this site using HTTPS?
83 | if (window.location.protocol != "https:") {
84 | alert("This site isn't using HTTPS connection!");
85 | } else {
86 | // ask for passphrase
87 | injectPopup(message.salt, message.curr_url);
88 | }
89 | } else {
90 | //console.log(message.action + " " + message.salt + " " + message.curr_url);
91 | }
92 | });
93 |
--------------------------------------------------------------------------------
/crypto_helpers.js:
--------------------------------------------------------------------------------
1 | // from http://stackoverflow.com/questions/11889329/word-array-to-string
2 | function wordToByteArray(wordArray) {
3 | var byteArray = [],
4 | word, i, j;
5 | for (i = 0; i < wordArray.length; ++i) {
6 | word = wordArray[i];
7 | for (j = 3; j >= 0; --j) {
8 | byteArray.push((word >> 8 * j) & 0xFF);
9 | }
10 | }
11 | return byteArray;
12 | }
13 |
14 | function transform_to_pass(hash) {
15 | chars = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890";
16 | var byteArray = wordToByteArray(hash.words);
17 | password = "";
18 | // 16 chars
19 | for (x = 0; x < 16; x++) {
20 | password += chars.charAt(byteArray[x] % 62);
21 | }
22 | //console.log(byteArray);
23 | return password;
24 | }
25 |
26 | // function generator(passphrase, page_info) {
27 | function generator(passphrase, salt, curr_url) {
28 | // page_info contains cryptographically generated salt and current URL
29 | var salt = CryptoJS.enc.Hex.parse(salt + curr_url);
30 | hash = CryptoJS.PBKDF2(passphrase, salt, {
31 | keySize: 256 / 32,
32 | iterations: 1000
33 | });
34 | return transform_to_pass(hash);
35 | }
36 |
--------------------------------------------------------------------------------
/css/normalize.css:
--------------------------------------------------------------------------------
1 | /*! normalize.css v3.0.2 | MIT License | git.io/normalize */
2 |
3 | /**
4 | * 1. Set default font family to sans-serif.
5 | * 2. Prevent iOS text size adjust after orientation change, without disabling
6 | * user zoom.
7 | */
8 |
9 | html {
10 | font-family: sans-serif; /* 1 */
11 | -ms-text-size-adjust: 100%; /* 2 */
12 | -webkit-text-size-adjust: 100%; /* 2 */
13 | }
14 |
15 | /**
16 | * Remove default margin.
17 | */
18 |
19 | body {
20 | margin: 0;
21 | }
22 |
23 | /* HTML5 display definitions
24 | ========================================================================== */
25 |
26 | /**
27 | * Correct `block` display not defined for any HTML5 element in IE 8/9.
28 | * Correct `block` display not defined for `details` or `summary` in IE 10/11
29 | * and Firefox.
30 | * Correct `block` display not defined for `main` in IE 11.
31 | */
32 |
33 | article,
34 | aside,
35 | details,
36 | figcaption,
37 | figure,
38 | footer,
39 | header,
40 | hgroup,
41 | main,
42 | menu,
43 | nav,
44 | section,
45 | summary {
46 | display: block;
47 | }
48 |
49 | /**
50 | * 1. Correct `inline-block` display not defined in IE 8/9.
51 | * 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera.
52 | */
53 |
54 | audio,
55 | canvas,
56 | progress,
57 | video {
58 | display: inline-block; /* 1 */
59 | vertical-align: baseline; /* 2 */
60 | }
61 |
62 | /**
63 | * Prevent modern browsers from displaying `audio` without controls.
64 | * Remove excess height in iOS 5 devices.
65 | */
66 |
67 | audio:not([controls]) {
68 | display: none;
69 | height: 0;
70 | }
71 |
72 | /**
73 | * Address `[hidden]` styling not present in IE 8/9/10.
74 | * Hide the `template` element in IE 8/9/11, Safari, and Firefox < 22.
75 | */
76 |
77 | [hidden],
78 | template {
79 | display: none;
80 | }
81 |
82 | /* Links
83 | ========================================================================== */
84 |
85 | /**
86 | * Remove the gray background color from active links in IE 10.
87 | */
88 |
89 | a {
90 | background-color: transparent;
91 | }
92 |
93 | /**
94 | * Improve readability when focused and also mouse hovered in all browsers.
95 | */
96 |
97 | a:active,
98 | a:hover {
99 | outline: 0;
100 | }
101 |
102 | /* Text-level semantics
103 | ========================================================================== */
104 |
105 | /**
106 | * Address styling not present in IE 8/9/10/11, Safari, and Chrome.
107 | */
108 |
109 | abbr[title] {
110 | border-bottom: 1px dotted;
111 | }
112 |
113 | /**
114 | * Address style set to `bolder` in Firefox 4+, Safari, and Chrome.
115 | */
116 |
117 | b,
118 | strong {
119 | font-weight: bold;
120 | }
121 |
122 | /**
123 | * Address styling not present in Safari and Chrome.
124 | */
125 |
126 | dfn {
127 | font-style: italic;
128 | }
129 |
130 | /**
131 | * Address variable `h1` font-size and margin within `section` and `article`
132 | * contexts in Firefox 4+, Safari, and Chrome.
133 | */
134 |
135 | h1 {
136 | font-size: 2em;
137 | margin: 0.67em 0;
138 | }
139 |
140 | /**
141 | * Address styling not present in IE 8/9.
142 | */
143 |
144 | mark {
145 | background: #ff0;
146 | color: #000;
147 | }
148 |
149 | /**
150 | * Address inconsistent and variable font size in all browsers.
151 | */
152 |
153 | small {
154 | font-size: 80%;
155 | }
156 |
157 | /**
158 | * Prevent `sub` and `sup` affecting `line-height` in all browsers.
159 | */
160 |
161 | sub,
162 | sup {
163 | font-size: 75%;
164 | line-height: 0;
165 | position: relative;
166 | vertical-align: baseline;
167 | }
168 |
169 | sup {
170 | top: -0.5em;
171 | }
172 |
173 | sub {
174 | bottom: -0.25em;
175 | }
176 |
177 | /* Embedded content
178 | ========================================================================== */
179 |
180 | /**
181 | * Remove border when inside `a` element in IE 8/9/10.
182 | */
183 |
184 | img {
185 | border: 0;
186 | }
187 |
188 | /**
189 | * Correct overflow not hidden in IE 9/10/11.
190 | */
191 |
192 | svg:not(:root) {
193 | overflow: hidden;
194 | }
195 |
196 | /* Grouping content
197 | ========================================================================== */
198 |
199 | /**
200 | * Address margin not present in IE 8/9 and Safari.
201 | */
202 |
203 | figure {
204 | margin: 1em 40px;
205 | }
206 |
207 | /**
208 | * Address differences between Firefox and other browsers.
209 | */
210 |
211 | hr {
212 | -moz-box-sizing: content-box;
213 | box-sizing: content-box;
214 | height: 0;
215 | }
216 |
217 | /**
218 | * Contain overflow in all browsers.
219 | */
220 |
221 | pre {
222 | overflow: auto;
223 | }
224 |
225 | /**
226 | * Address odd `em`-unit font size rendering in all browsers.
227 | */
228 |
229 | code,
230 | kbd,
231 | pre,
232 | samp {
233 | font-family: monospace, monospace;
234 | font-size: 1em;
235 | }
236 |
237 | /* Forms
238 | ========================================================================== */
239 |
240 | /**
241 | * Known limitation: by default, Chrome and Safari on OS X allow very limited
242 | * styling of `select`, unless a `border` property is set.
243 | */
244 |
245 | /**
246 | * 1. Correct color not being inherited.
247 | * Known issue: affects color of disabled elements.
248 | * 2. Correct font properties not being inherited.
249 | * 3. Address margins set differently in Firefox 4+, Safari, and Chrome.
250 | */
251 |
252 | button,
253 | input,
254 | optgroup,
255 | select,
256 | textarea {
257 | color: inherit; /* 1 */
258 | font: inherit; /* 2 */
259 | margin: 0; /* 3 */
260 | }
261 |
262 | /**
263 | * Address `overflow` set to `hidden` in IE 8/9/10/11.
264 | */
265 |
266 | button {
267 | overflow: visible;
268 | }
269 |
270 | /**
271 | * Address inconsistent `text-transform` inheritance for `button` and `select`.
272 | * All other form control elements do not inherit `text-transform` values.
273 | * Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera.
274 | * Correct `select` style inheritance in Firefox.
275 | */
276 |
277 | button,
278 | select {
279 | text-transform: none;
280 | }
281 |
282 | /**
283 | * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
284 | * and `video` controls.
285 | * 2. Correct inability to style clickable `input` types in iOS.
286 | * 3. Improve usability and consistency of cursor style between image-type
287 | * `input` and others.
288 | */
289 |
290 | button,
291 | html input[type="button"], /* 1 */
292 | input[type="reset"],
293 | input[type="submit"] {
294 | -webkit-appearance: button; /* 2 */
295 | cursor: pointer; /* 3 */
296 | }
297 |
298 | /**
299 | * Re-set default cursor for disabled elements.
300 | */
301 |
302 | button[disabled],
303 | html input[disabled] {
304 | cursor: default;
305 | }
306 |
307 | /**
308 | * Remove inner padding and border in Firefox 4+.
309 | */
310 |
311 | button::-moz-focus-inner,
312 | input::-moz-focus-inner {
313 | border: 0;
314 | padding: 0;
315 | }
316 |
317 | /**
318 | * Address Firefox 4+ setting `line-height` on `input` using `!important` in
319 | * the UA stylesheet.
320 | */
321 |
322 | input {
323 | line-height: normal;
324 | }
325 |
326 | /**
327 | * It's recommended that you don't attempt to style these elements.
328 | * Firefox's implementation doesn't respect box-sizing, padding, or width.
329 | *
330 | * 1. Address box sizing set to `content-box` in IE 8/9/10.
331 | * 2. Remove excess padding in IE 8/9/10.
332 | */
333 |
334 | input[type="checkbox"],
335 | input[type="radio"] {
336 | box-sizing: border-box; /* 1 */
337 | padding: 0; /* 2 */
338 | }
339 |
340 | /**
341 | * Fix the cursor style for Chrome's increment/decrement buttons. For certain
342 | * `font-size` values of the `input`, it causes the cursor style of the
343 | * decrement button to change from `default` to `text`.
344 | */
345 |
346 | input[type="number"]::-webkit-inner-spin-button,
347 | input[type="number"]::-webkit-outer-spin-button {
348 | height: auto;
349 | }
350 |
351 | /**
352 | * 1. Address `appearance` set to `searchfield` in Safari and Chrome.
353 | * 2. Address `box-sizing` set to `border-box` in Safari and Chrome
354 | * (include `-moz` to future-proof).
355 | */
356 |
357 | input[type="search"] {
358 | -webkit-appearance: textfield; /* 1 */
359 | -moz-box-sizing: content-box;
360 | -webkit-box-sizing: content-box; /* 2 */
361 | box-sizing: content-box;
362 | }
363 |
364 | /**
365 | * Remove inner padding and search cancel button in Safari and Chrome on OS X.
366 | * Safari (but not Chrome) clips the cancel button when the search input has
367 | * padding (and `textfield` appearance).
368 | */
369 |
370 | input[type="search"]::-webkit-search-cancel-button,
371 | input[type="search"]::-webkit-search-decoration {
372 | -webkit-appearance: none;
373 | }
374 |
375 | /**
376 | * Define consistent border, margin, and padding.
377 | */
378 |
379 | fieldset {
380 | border: 1px solid #c0c0c0;
381 | margin: 0 2px;
382 | padding: 0.35em 0.625em 0.75em;
383 | }
384 |
385 | /**
386 | * 1. Correct `color` not being inherited in IE 8/9/10/11.
387 | * 2. Remove padding so people aren't caught out if they zero out fieldsets.
388 | */
389 |
390 | legend {
391 | border: 0; /* 1 */
392 | padding: 0; /* 2 */
393 | }
394 |
395 | /**
396 | * Remove default vertical scrollbar in IE 8/9/10/11.
397 | */
398 |
399 | textarea {
400 | overflow: auto;
401 | }
402 |
403 | /**
404 | * Don't inherit the `font-weight` (applied by a rule above).
405 | * NOTE: the default cannot safely be changed in Chrome and Safari on OS X.
406 | */
407 |
408 | optgroup {
409 | font-weight: bold;
410 | }
411 |
412 | /* Tables
413 | ========================================================================== */
414 |
415 | /**
416 | * Remove most spacing between table cells.
417 | */
418 |
419 | table {
420 | border-collapse: collapse;
421 | border-spacing: 0;
422 | }
423 |
424 | td,
425 | th {
426 | padding: 0;
427 | }
--------------------------------------------------------------------------------
/css/skeleton.css:
--------------------------------------------------------------------------------
1 | /*
2 | * Skeleton V2.0.4
3 | * Copyright 2014, Dave Gamache
4 | * www.getskeleton.com
5 | * Free to use under the MIT license.
6 | * http://www.opensource.org/licenses/mit-license.php
7 | * 12/29/2014
8 | */
9 |
10 |
11 | /* Table of contents
12 | ––––––––––––––––––––––––––––––––––––––––––––––––––
13 | - Grid
14 | - Base Styles
15 | - Typography
16 | - Links
17 | - Buttons
18 | - Forms
19 | - Lists
20 | - Code
21 | - Tables
22 | - Spacing
23 | - Utilities
24 | - Clearing
25 | - Media Queries
26 | */
27 |
28 |
29 | /* Grid
30 | –––––––––––––––––––––––––––––––––––––––––––––––––– */
31 | .container {
32 | position: relative;
33 | width: 100%;
34 | max-width: 960px;
35 | margin: 0 auto;
36 | padding: 0 20px;
37 | box-sizing: border-box; }
38 | .column,
39 | .columns {
40 | width: 100%;
41 | float: left;
42 | box-sizing: border-box; }
43 |
44 | /* For devices larger than 400px */
45 | @media (min-width: 400px) {
46 | .container {
47 | width: 85%;
48 | padding: 0; }
49 | }
50 |
51 | /* For devices larger than 550px */
52 | @media (min-width: 550px) {
53 | .container {
54 | width: 80%; }
55 | .column,
56 | .columns {
57 | margin-left: 4%; }
58 | .column:first-child,
59 | .columns:first-child {
60 | margin-left: 0; }
61 |
62 | .one.column,
63 | .one.columns { width: 4.66666666667%; }
64 | .two.columns { width: 13.3333333333%; }
65 | .three.columns { width: 22%; }
66 | .four.columns { width: 30.6666666667%; }
67 | .five.columns { width: 39.3333333333%; }
68 | .six.columns { width: 48%; }
69 | .seven.columns { width: 56.6666666667%; }
70 | .eight.columns { width: 65.3333333333%; }
71 | .nine.columns { width: 74.0%; }
72 | .ten.columns { width: 82.6666666667%; }
73 | .eleven.columns { width: 91.3333333333%; }
74 | .twelve.columns { width: 100%; margin-left: 0; }
75 |
76 | .one-third.column { width: 30.6666666667%; }
77 | .two-thirds.column { width: 65.3333333333%; }
78 |
79 | .one-half.column { width: 48%; }
80 |
81 | /* Offsets */
82 | .offset-by-one.column,
83 | .offset-by-one.columns { margin-left: 8.66666666667%; }
84 | .offset-by-two.column,
85 | .offset-by-two.columns { margin-left: 17.3333333333%; }
86 | .offset-by-three.column,
87 | .offset-by-three.columns { margin-left: 26%; }
88 | .offset-by-four.column,
89 | .offset-by-four.columns { margin-left: 34.6666666667%; }
90 | .offset-by-five.column,
91 | .offset-by-five.columns { margin-left: 43.3333333333%; }
92 | .offset-by-six.column,
93 | .offset-by-six.columns { margin-left: 52%; }
94 | .offset-by-seven.column,
95 | .offset-by-seven.columns { margin-left: 60.6666666667%; }
96 | .offset-by-eight.column,
97 | .offset-by-eight.columns { margin-left: 69.3333333333%; }
98 | .offset-by-nine.column,
99 | .offset-by-nine.columns { margin-left: 78.0%; }
100 | .offset-by-ten.column,
101 | .offset-by-ten.columns { margin-left: 86.6666666667%; }
102 | .offset-by-eleven.column,
103 | .offset-by-eleven.columns { margin-left: 95.3333333333%; }
104 |
105 | .offset-by-one-third.column,
106 | .offset-by-one-third.columns { margin-left: 34.6666666667%; }
107 | .offset-by-two-thirds.column,
108 | .offset-by-two-thirds.columns { margin-left: 69.3333333333%; }
109 |
110 | .offset-by-one-half.column,
111 | .offset-by-one-half.columns { margin-left: 52%; }
112 |
113 | }
114 |
115 |
116 | /* Base Styles
117 | –––––––––––––––––––––––––––––––––––––––––––––––––– */
118 | /* NOTE
119 | html is set to 62.5% so that all the REM measurements throughout Skeleton
120 | are based on 10px sizing. So basically 1.5rem = 15px :) */
121 | html {
122 | font-size: 62.5%; }
123 | body {
124 | font-size: 1.5em; /* currently ems cause chrome bug misinterpreting rems on body element */
125 | line-height: 1.6;
126 | font-weight: 400;
127 | font-family: "Raleway", "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
128 | color: #222; }
129 |
130 |
131 | /* Typography
132 | –––––––––––––––––––––––––––––––––––––––––––––––––– */
133 | h1, h2, h3, h4, h5, h6 {
134 | margin-top: 0;
135 | margin-bottom: 2rem;
136 | font-weight: 300; }
137 | h1 { font-size: 4.0rem; line-height: 1.2; letter-spacing: -.1rem;}
138 | h2 { font-size: 3.6rem; line-height: 1.25; letter-spacing: -.1rem; }
139 | h3 { font-size: 3.0rem; line-height: 1.3; letter-spacing: -.1rem; }
140 | h4 { font-size: 2.4rem; line-height: 1.35; letter-spacing: -.08rem; }
141 | h5 { font-size: 1.8rem; line-height: 1.5; letter-spacing: -.05rem; }
142 | h6 { font-size: 1.5rem; line-height: 1.6; letter-spacing: 0; }
143 |
144 | /* Larger than phablet */
145 | @media (min-width: 550px) {
146 | h1 { font-size: 5.0rem; }
147 | h2 { font-size: 4.2rem; }
148 | h3 { font-size: 3.6rem; }
149 | h4 { font-size: 3.0rem; }
150 | h5 { font-size: 2.4rem; }
151 | h6 { font-size: 1.5rem; }
152 | }
153 |
154 | p {
155 | margin-top: 0; }
156 |
157 |
158 | /* Links
159 | –––––––––––––––––––––––––––––––––––––––––––––––––– */
160 | a {
161 | color: #1EAEDB; }
162 | a:hover {
163 | color: #0FA0CE; }
164 |
165 |
166 | /* Buttons
167 | –––––––––––––––––––––––––––––––––––––––––––––––––– */
168 | .button,
169 | button,
170 | input[type="submit"],
171 | input[type="reset"],
172 | input[type="button"] {
173 | display: inline-block;
174 | height: 38px;
175 | padding: 0 30px;
176 | color: #555;
177 | text-align: center;
178 | font-size: 11px;
179 | font-weight: 600;
180 | line-height: 38px;
181 | letter-spacing: .1rem;
182 | text-transform: uppercase;
183 | text-decoration: none;
184 | white-space: nowrap;
185 | background-color: transparent;
186 | border-radius: 4px;
187 | border: 1px solid #bbb;
188 | cursor: pointer;
189 | box-sizing: border-box; }
190 | .button:hover,
191 | button:hover,
192 | input[type="submit"]:hover,
193 | input[type="reset"]:hover,
194 | input[type="button"]:hover,
195 | .button:focus,
196 | button:focus,
197 | input[type="submit"]:focus,
198 | input[type="reset"]:focus,
199 | input[type="button"]:focus {
200 | color: #333;
201 | border-color: #888;
202 | outline: 0; }
203 | .button.button-primary,
204 | button.button-primary,
205 | input[type="submit"].button-primary,
206 | input[type="reset"].button-primary,
207 | input[type="button"].button-primary {
208 | color: #FFF;
209 | background-color: #33C3F0;
210 | border-color: #33C3F0; }
211 | .button.button-primary:hover,
212 | button.button-primary:hover,
213 | input[type="submit"].button-primary:hover,
214 | input[type="reset"].button-primary:hover,
215 | input[type="button"].button-primary:hover,
216 | .button.button-primary:focus,
217 | button.button-primary:focus,
218 | input[type="submit"].button-primary:focus,
219 | input[type="reset"].button-primary:focus,
220 | input[type="button"].button-primary:focus {
221 | color: #FFF;
222 | background-color: #1EAEDB;
223 | border-color: #1EAEDB; }
224 |
225 |
226 | /* Forms
227 | –––––––––––––––––––––––––––––––––––––––––––––––––– */
228 | input[type="email"],
229 | input[type="number"],
230 | input[type="search"],
231 | input[type="text"],
232 | input[type="tel"],
233 | input[type="url"],
234 | input[type="password"],
235 | textarea,
236 | select {
237 | height: 38px;
238 | padding: 6px 10px; /* The 6px vertically centers text on FF, ignored by Webkit */
239 | background-color: #fff;
240 | border: 1px solid #D1D1D1;
241 | border-radius: 4px;
242 | box-shadow: none;
243 | box-sizing: border-box; }
244 | /* Removes awkward default styles on some inputs for iOS */
245 | input[type="email"],
246 | input[type="number"],
247 | input[type="search"],
248 | input[type="text"],
249 | input[type="tel"],
250 | input[type="url"],
251 | input[type="password"],
252 | textarea {
253 | -webkit-appearance: none;
254 | -moz-appearance: none;
255 | appearance: none; }
256 | textarea {
257 | min-height: 65px;
258 | padding-top: 6px;
259 | padding-bottom: 6px; }
260 | input[type="email"]:focus,
261 | input[type="number"]:focus,
262 | input[type="search"]:focus,
263 | input[type="text"]:focus,
264 | input[type="tel"]:focus,
265 | input[type="url"]:focus,
266 | input[type="password"]:focus,
267 | textarea:focus,
268 | select:focus {
269 | border: 1px solid #33C3F0;
270 | outline: 0; }
271 | label,
272 | legend {
273 | display: block;
274 | margin-bottom: .5rem;
275 | font-weight: 600; }
276 | fieldset {
277 | padding: 0;
278 | border-width: 0; }
279 | input[type="checkbox"],
280 | input[type="radio"] {
281 | display: inline; }
282 | label > .label-body {
283 | display: inline-block;
284 | margin-left: .5rem;
285 | font-weight: normal; }
286 |
287 |
288 | /* Lists
289 | –––––––––––––––––––––––––––––––––––––––––––––––––– */
290 | ul {
291 | list-style: circle inside; }
292 | ol {
293 | list-style: decimal inside; }
294 | ol, ul {
295 | padding-left: 0;
296 | margin-top: 0; }
297 | ul ul,
298 | ul ol,
299 | ol ol,
300 | ol ul {
301 | margin: 1.5rem 0 1.5rem 3rem;
302 | font-size: 90%; }
303 | li {
304 | margin-bottom: 1rem; }
305 |
306 |
307 | /* Code
308 | –––––––––––––––––––––––––––––––––––––––––––––––––– */
309 | code {
310 | padding: .2rem .5rem;
311 | margin: 0 .2rem;
312 | font-size: 90%;
313 | white-space: nowrap;
314 | background: #F1F1F1;
315 | border: 1px solid #E1E1E1;
316 | border-radius: 4px; }
317 | pre > code {
318 | display: block;
319 | padding: 1rem 1.5rem;
320 | white-space: pre; }
321 |
322 |
323 | /* Tables
324 | –––––––––––––––––––––––––––––––––––––––––––––––––– */
325 | th,
326 | td {
327 | padding: 12px 15px;
328 | text-align: left;
329 | border-bottom: 1px solid #E1E1E1; }
330 | th:first-child,
331 | td:first-child {
332 | padding-left: 0; }
333 | th:last-child,
334 | td:last-child {
335 | padding-right: 0; }
336 |
337 |
338 | /* Spacing
339 | –––––––––––––––––––––––––––––––––––––––––––––––––– */
340 | button,
341 | .button {
342 | margin-bottom: 1rem; }
343 | input,
344 | textarea,
345 | select,
346 | fieldset {
347 | margin-bottom: 1.5rem; }
348 | pre,
349 | blockquote,
350 | dl,
351 | figure,
352 | table,
353 | p,
354 | ul,
355 | ol,
356 | form {
357 | margin-bottom: 2.5rem; }
358 |
359 |
360 | /* Utilities
361 | –––––––––––––––––––––––––––––––––––––––––––––––––– */
362 | .u-full-width {
363 | width: 100%;
364 | box-sizing: border-box; }
365 | .u-max-full-width {
366 | max-width: 100%;
367 | box-sizing: border-box; }
368 | .u-pull-right {
369 | float: right; }
370 | .u-pull-left {
371 | float: left; }
372 |
373 |
374 | /* Misc
375 | –––––––––––––––––––––––––––––––––––––––––––––––––– */
376 | hr {
377 | margin-top: 3rem;
378 | margin-bottom: 3.5rem;
379 | border-width: 0;
380 | border-top: 1px solid #E1E1E1; }
381 |
382 |
383 | /* Clearing
384 | –––––––––––––––––––––––––––––––––––––––––––––––––– */
385 |
386 | /* Self Clearing Goodness */
387 | .container:after,
388 | .row:after,
389 | .u-cf {
390 | content: "";
391 | display: table;
392 | clear: both; }
393 |
394 |
395 | /* Media Queries
396 | –––––––––––––––––––––––––––––––––––––––––––––––––– */
397 | /*
398 | Note: The best way to structure the use of media queries is to create the queries
399 | near the relevant code. For example, if you wanted to change the styles for buttons
400 | on small devices, paste the mobile query code up in the buttons section and style it
401 | there.
402 | */
403 |
404 |
405 | /* Larger than mobile */
406 | @media (min-width: 400px) {}
407 |
408 | /* Larger than phablet (also point when grid becomes active) */
409 | @media (min-width: 550px) {}
410 |
411 | /* Larger than tablet */
412 | @media (min-width: 750px) {}
413 |
414 | /* Larger than desktop */
415 | @media (min-width: 1000px) {}
416 |
417 | /* Larger than Desktop HD */
418 | @media (min-width: 1200px) {}
419 |
--------------------------------------------------------------------------------
/custom.css:
--------------------------------------------------------------------------------
1 | #frm2 {
2 | /*font: 14px/1.4 "Helvetica Neue", Helvetica, Arial, sans-serif;*/
3 | }
4 |
5 | #frm2 input {
6 | color: black;
7 | border: 1px solid black;
8 | }
9 |
--------------------------------------------------------------------------------
/img/icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/viralpoetry/alzheimer-password-generator/57bb598ad65090ca99abdd1035e85158541b4421/img/icon.png
--------------------------------------------------------------------------------
/js/jquery.imgpreload.min.js:
--------------------------------------------------------------------------------
1 | /* v1.4 */
2 | /* https://github.com/farinspace/jquery.imgpreload */
3 | if("undefined"!=typeof jQuery){(function(a){a.imgpreload=function(b,c){c=a.extend({},a.fn.imgpreload.defaults,c instanceof Function?{all:c}:c);if("string"==typeof b){b=new Array(b)}var d=new Array;a.each(b,function(e,f){var g=new Image;var h=f;var i=g;if("string"!=typeof f){h=a(f).attr("src");i=f}a(g).bind("load error",function(e){d.push(i);a.data(i,"loaded","error"==e.type?false:true);if(c.each instanceof Function){c.each.call(i)}if(d.length>=b.length&&c.all instanceof Function){c.all.call(d)}a(this).unbind("load error")});g.src=h})};a.fn.imgpreload=function(b){a.imgpreload(this,b);return this};a.fn.imgpreload.defaults={each:null,all:null}})(jQuery)}
--------------------------------------------------------------------------------
/js/jquery.min.js:
--------------------------------------------------------------------------------
1 | /*! jQuery v@1.8.1 jquery.com | jquery.org/license */
2 | (function(a,b){function G(a){var b=F[a]={};return p.each(a.split(s),function(a,c){b[c]=!0}),b}function J(a,c,d){if(d===b&&a.nodeType===1){var e="data-"+c.replace(I,"-$1").toLowerCase();d=a.getAttribute(e);if(typeof d=="string"){try{d=d==="true"?!0:d==="false"?!1:d==="null"?null:+d+""===d?+d:H.test(d)?p.parseJSON(d):d}catch(f){}p.data(a,c,d)}else d=b}return d}function K(a){var b;for(b in a){if(b==="data"&&p.isEmptyObject(a[b]))continue;if(b!=="toJSON")return!1}return!0}function ba(){return!1}function bb(){return!0}function bh(a){return!a||!a.parentNode||a.parentNode.nodeType===11}function bi(a,b){do a=a[b];while(a&&a.nodeType!==1);return a}function bj(a,b,c){b=b||0;if(p.isFunction(b))return p.grep(a,function(a,d){var e=!!b.call(a,d,a);return e===c});if(b.nodeType)return p.grep(a,function(a,d){return a===b===c});if(typeof b=="string"){var d=p.grep(a,function(a){return a.nodeType===1});if(be.test(b))return p.filter(b,d,!c);b=p.filter(b,d)}return p.grep(a,function(a,d){return p.inArray(a,b)>=0===c})}function bk(a){var b=bl.split("|"),c=a.createDocumentFragment();if(c.createElement)while(b.length)c.createElement(b.pop());return c}function bC(a,b){return a.getElementsByTagName(b)[0]||a.appendChild(a.ownerDocument.createElement(b))}function bD(a,b){if(b.nodeType!==1||!p.hasData(a))return;var c,d,e,f=p._data(a),g=p._data(b,f),h=f.events;if(h){delete g.handle,g.events={};for(c in h)for(d=0,e=h[c].length;d").appendTo(e.body),c=b.css("display");b.remove();if(c==="none"||c===""){bI=e.body.appendChild(bI||p.extend(e.createElement("iframe"),{frameBorder:0,width:0,height:0}));if(!bJ||!bI.createElement)bJ=(bI.contentWindow||bI.contentDocument).document,bJ.write(""),bJ.close();b=bJ.body.appendChild(bJ.createElement(a)),c=bH(b,"display"),e.body.removeChild(bI)}return bS[a]=c,c}function ci(a,b,c,d){var e;if(p.isArray(b))p.each(b,function(b,e){c||ce.test(a)?d(a,e):ci(a+"["+(typeof e=="object"?b:"")+"]",e,c,d)});else if(!c&&p.type(b)==="object")for(e in b)ci(a+"["+e+"]",b[e],c,d);else d(a,b)}function cz(a){return function(b,c){typeof b!="string"&&(c=b,b="*");var d,e,f,g=b.toLowerCase().split(s),h=0,i=g.length;if(p.isFunction(c))for(;h)[^>]*$|#([\w\-]*)$)/,v=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,w=/^[\],:{}\s]*$/,x=/(?:^|:|,)(?:\s*\[)+/g,y=/\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g,z=/"[^"\\\r\n]*"|true|false|null|-?(?:\d\d*\.|)\d+(?:[eE][\-+]?\d+|)/g,A=/^-ms-/,B=/-([\da-z])/gi,C=function(a,b){return(b+"").toUpperCase()},D=function(){e.addEventListener?(e.removeEventListener("DOMContentLoaded",D,!1),p.ready()):e.readyState==="complete"&&(e.detachEvent("onreadystatechange",D),p.ready())},E={};p.fn=p.prototype={constructor:p,init:function(a,c,d){var f,g,h,i;if(!a)return this;if(a.nodeType)return this.context=this[0]=a,this.length=1,this;if(typeof a=="string"){a.charAt(0)==="<"&&a.charAt(a.length-1)===">"&&a.length>=3?f=[null,a,null]:f=u.exec(a);if(f&&(f[1]||!c)){if(f[1])return c=c instanceof p?c[0]:c,i=c&&c.nodeType?c.ownerDocument||c:e,a=p.parseHTML(f[1],i,!0),v.test(f[1])&&p.isPlainObject(c)&&this.attr.call(a,c,!0),p.merge(this,a);g=e.getElementById(f[2]);if(g&&g.parentNode){if(g.id!==f[2])return d.find(a);this.length=1,this[0]=g}return this.context=e,this.selector=a,this}return!c||c.jquery?(c||d).find(a):this.constructor(c).find(a)}return p.isFunction(a)?d.ready(a):(a.selector!==b&&(this.selector=a.selector,this.context=a.context),p.makeArray(a,this))},selector:"",jquery:"1.8.1",length:0,size:function(){return this.length},toArray:function(){return k.call(this)},get:function(a){return a==null?this.toArray():a<0?this[this.length+a]:this[a]},pushStack:function(a,b,c){var d=p.merge(this.constructor(),a);return d.prevObject=this,d.context=this.context,b==="find"?d.selector=this.selector+(this.selector?" ":"")+c:b&&(d.selector=this.selector+"."+b+"("+c+")"),d},each:function(a,b){return p.each(this,a,b)},ready:function(a){return p.ready.promise().done(a),this},eq:function(a){return a=+a,a===-1?this.slice(a):this.slice(a,a+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(k.apply(this,arguments),"slice",k.call(arguments).join(","))},map:function(a){return this.pushStack(p.map(this,function(b,c){return a.call(b,c,b)}))},end:function(){return this.prevObject||this.constructor(null)},push:j,sort:[].sort,splice:[].splice},p.fn.init.prototype=p.fn,p.extend=p.fn.extend=function(){var a,c,d,e,f,g,h=arguments[0]||{},i=1,j=arguments.length,k=!1;typeof h=="boolean"&&(k=h,h=arguments[1]||{},i=2),typeof h!="object"&&!p.isFunction(h)&&(h={}),j===i&&(h=this,--i);for(;i0)return;d.resolveWith(e,[p]),p.fn.trigger&&p(e).trigger("ready").off("ready")},isFunction:function(a){return p.type(a)==="function"},isArray:Array.isArray||function(a){return p.type(a)==="array"},isWindow:function(a){return a!=null&&a==a.window},isNumeric:function(a){return!isNaN(parseFloat(a))&&isFinite(a)},type:function(a){return a==null?String(a):E[m.call(a)]||"object"},isPlainObject:function(a){if(!a||p.type(a)!=="object"||a.nodeType||p.isWindow(a))return!1;try{if(a.constructor&&!n.call(a,"constructor")&&!n.call(a.constructor.prototype,"isPrototypeOf"))return!1}catch(c){return!1}var d;for(d in a);return d===b||n.call(a,d)},isEmptyObject:function(a){var b;for(b in a)return!1;return!0},error:function(a){throw new Error(a)},parseHTML:function(a,b,c){var d;return!a||typeof a!="string"?null:(typeof b=="boolean"&&(c=b,b=0),b=b||e,(d=v.exec(a))?[b.createElement(d[1])]:(d=p.buildFragment([a],b,c?null:[]),p.merge([],(d.cacheable?p.clone(d.fragment):d.fragment).childNodes)))},parseJSON:function(b){if(!b||typeof b!="string")return null;b=p.trim(b);if(a.JSON&&a.JSON.parse)return a.JSON.parse(b);if(w.test(b.replace(y,"@").replace(z,"]").replace(x,"")))return(new Function("return "+b))();p.error("Invalid JSON: "+b)},parseXML:function(c){var d,e;if(!c||typeof c!="string")return null;try{a.DOMParser?(e=new DOMParser,d=e.parseFromString(c,"text/xml")):(d=new ActiveXObject("Microsoft.XMLDOM"),d.async="false",d.loadXML(c))}catch(f){d=b}return(!d||!d.documentElement||d.getElementsByTagName("parsererror").length)&&p.error("Invalid XML: "+c),d},noop:function(){},globalEval:function(b){b&&r.test(b)&&(a.execScript||function(b){a.eval.call(a,b)})(b)},camelCase:function(a){return a.replace(A,"ms-").replace(B,C)},nodeName:function(a,b){return a.nodeName&&a.nodeName.toUpperCase()===b.toUpperCase()},each:function(a,c,d){var e,f=0,g=a.length,h=g===b||p.isFunction(a);if(d){if(h){for(e in a)if(c.apply(a[e],d)===!1)break}else for(;f0&&a[0]&&a[i-1]||i===0||p.isArray(a));if(j)for(;h-1)i.splice(c,1),e&&(c<=g&&g--,c<=h&&h--)}),this},has:function(a){return p.inArray(a,i)>-1},empty:function(){return i=[],this},disable:function(){return i=j=c=b,this},disabled:function(){return!i},lock:function(){return j=b,c||l.disable(),this},locked:function(){return!j},fireWith:function(a,b){return b=b||[],b=[a,b.slice?b.slice():b],i&&(!d||j)&&(e?j.push(b):k(b)),this},fire:function(){return l.fireWith(this,arguments),this},fired:function(){return!!d}};return l},p.extend({Deferred:function(a){var b=[["resolve","done",p.Callbacks("once memory"),"resolved"],["reject","fail",p.Callbacks("once memory"),"rejected"],["notify","progress",p.Callbacks("memory")]],c="pending",d={state:function(){return c},always:function(){return e.done(arguments).fail(arguments),this},then:function(){var a=arguments;return p.Deferred(function(c){p.each(b,function(b,d){var f=d[0],g=a[b];e[d[1]](p.isFunction(g)?function(){var a=g.apply(this,arguments);a&&p.isFunction(a.promise)?a.promise().done(c.resolve).fail(c.reject).progress(c.notify):c[f+"With"](this===e?c:this,[a])}:c[f])}),a=null}).promise()},promise:function(a){return typeof a=="object"?p.extend(a,d):d}},e={};return d.pipe=d.then,p.each(b,function(a,f){var g=f[2],h=f[3];d[f[1]]=g.add,h&&g.add(function(){c=h},b[a^1][2].disable,b[2][2].lock),e[f[0]]=g.fire,e[f[0]+"With"]=g.fireWith}),d.promise(e),a&&a.call(e,e),e},when:function(a){var b=0,c=k.call(arguments),d=c.length,e=d!==1||a&&p.isFunction(a.promise)?d:0,f=e===1?a:p.Deferred(),g=function(a,b,c){return function(d){b[a]=this,c[a]=arguments.length>1?k.call(arguments):d,c===h?f.notifyWith(b,c):--e||f.resolveWith(b,c)}},h,i,j;if(d>1){h=new Array(d),i=new Array(d),j=new Array(d);for(;ba ",c=n.getElementsByTagName("*"),d=n.getElementsByTagName("a")[0],d.style.cssText="top:1px;float:left;opacity:.5";if(!c||!c.length||!d)return{};f=e.createElement("select"),g=f.appendChild(e.createElement("option")),h=n.getElementsByTagName("input")[0],b={leadingWhitespace:n.firstChild.nodeType===3,tbody:!n.getElementsByTagName("tbody").length,htmlSerialize:!!n.getElementsByTagName("link").length,style:/top/.test(d.getAttribute("style")),hrefNormalized:d.getAttribute("href")==="/a",opacity:/^0.5/.test(d.style.opacity),cssFloat:!!d.style.cssFloat,checkOn:h.value==="on",optSelected:g.selected,getSetAttribute:n.className!=="t",enctype:!!e.createElement("form").enctype,html5Clone:e.createElement("nav").cloneNode(!0).outerHTML!=="<:nav>",boxModel:e.compatMode==="CSS1Compat",submitBubbles:!0,changeBubbles:!0,focusinBubbles:!1,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0,boxSizingReliable:!0,pixelPosition:!1},h.checked=!0,b.noCloneChecked=h.cloneNode(!0).checked,f.disabled=!0,b.optDisabled=!g.disabled;try{delete n.test}catch(o){b.deleteExpando=!1}!n.addEventListener&&n.attachEvent&&n.fireEvent&&(n.attachEvent("onclick",m=function(){b.noCloneEvent=!1}),n.cloneNode(!0).fireEvent("onclick"),n.detachEvent("onclick",m)),h=e.createElement("input"),h.value="t",h.setAttribute("type","radio"),b.radioValue=h.value==="t",h.setAttribute("checked","checked"),h.setAttribute("name","t"),n.appendChild(h),i=e.createDocumentFragment(),i.appendChild(n.lastChild),b.checkClone=i.cloneNode(!0).cloneNode(!0).lastChild.checked,b.appendChecked=h.checked,i.removeChild(h),i.appendChild(n);if(n.attachEvent)for(k in{submit:!0,change:!0,focusin:!0})j="on"+k,l=j in n,l||(n.setAttribute(j,"return;"),l=typeof n[j]=="function"),b[k+"Bubbles"]=l;return p(function(){var c,d,f,g,h="padding:0;margin:0;border:0;display:block;overflow:hidden;",i=e.getElementsByTagName("body")[0];if(!i)return;c=e.createElement("div"),c.style.cssText="visibility:hidden;border:0;width:0;height:0;position:static;top:0;margin-top:1px",i.insertBefore(c,i.firstChild),d=e.createElement("div"),c.appendChild(d),d.innerHTML="",f=d.getElementsByTagName("td"),f[0].style.cssText="padding:0;margin:0;border:0;display:none",l=f[0].offsetHeight===0,f[0].style.display="",f[1].style.display="none",b.reliableHiddenOffsets=l&&f[0].offsetHeight===0,d.innerHTML="",d.style.cssText="box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;padding:1px;border:1px;display:block;width:4px;margin-top:1%;position:absolute;top:1%;",b.boxSizing=d.offsetWidth===4,b.doesNotIncludeMarginInBodyOffset=i.offsetTop!==1,a.getComputedStyle&&(b.pixelPosition=(a.getComputedStyle(d,null)||{}).top!=="1%",b.boxSizingReliable=(a.getComputedStyle(d,null)||{width:"4px"}).width==="4px",g=e.createElement("div"),g.style.cssText=d.style.cssText=h,g.style.marginRight=g.style.width="0",d.style.width="1px",d.appendChild(g),b.reliableMarginRight=!parseFloat((a.getComputedStyle(g,null)||{}).marginRight)),typeof d.style.zoom!="undefined"&&(d.innerHTML="",d.style.cssText=h+"width:1px;padding:1px;display:inline;zoom:1",b.inlineBlockNeedsLayout=d.offsetWidth===3,d.style.display="block",d.style.overflow="visible",d.innerHTML="
",d.firstChild.style.width="5px",b.shrinkWrapBlocks=d.offsetWidth!==3,c.style.zoom=1),i.removeChild(c),c=d=f=g=null}),i.removeChild(n),c=d=f=g=h=i=n=null,b}();var H=/(?:\{[\s\S]*\}|\[[\s\S]*\])$/,I=/([A-Z])/g;p.extend({cache:{},deletedIds:[],uuid:0,expando:"jQuery"+(p.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(a){return a=a.nodeType?p.cache[a[p.expando]]:a[p.expando],!!a&&!K(a)},data:function(a,c,d,e){if(!p.acceptData(a))return;var f,g,h=p.expando,i=typeof c=="string",j=a.nodeType,k=j?p.cache:a,l=j?a[h]:a[h]&&h;if((!l||!k[l]||!e&&!k[l].data)&&i&&d===b)return;l||(j?a[h]=l=p.deletedIds.pop()||++p.uuid:l=h),k[l]||(k[l]={},j||(k[l].toJSON=p.noop));if(typeof c=="object"||typeof c=="function")e?k[l]=p.extend(k[l],c):k[l].data=p.extend(k[l].data,c);return f=k[l],e||(f.data||(f.data={}),f=f.data),d!==b&&(f[p.camelCase(c)]=d),i?(g=f[c],g==null&&(g=f[p.camelCase(c)])):g=f,g},removeData:function(a,b,c){if(!p.acceptData(a))return;var d,e,f,g=a.nodeType,h=g?p.cache:a,i=g?a[p.expando]:p.expando;if(!h[i])return;if(b){d=c?h[i]:h[i].data;if(d){p.isArray(b)||(b in d?b=[b]:(b=p.camelCase(b),b in d?b=[b]:b=b.split(" ")));for(e=0,f=b.length;e1,null,!1))},removeData:function(a){return this.each(function(){p.removeData(this,a)})}}),p.extend({queue:function(a,b,c){var d;if(a)return b=(b||"fx")+"queue",d=p._data(a,b),c&&(!d||p.isArray(c)?d=p._data(a,b,p.makeArray(c)):d.push(c)),d||[]},dequeue:function(a,b){b=b||"fx";var c=p.queue(a,b),d=c.length,e=c.shift(),f=p._queueHooks(a,b),g=function(){p.dequeue(a,b)};e==="inprogress"&&(e=c.shift(),d--),e&&(b==="fx"&&c.unshift("inprogress"),delete f.stop,e.call(a,g,f)),!d&&f&&f.empty.fire()},_queueHooks:function(a,b){var c=b+"queueHooks";return p._data(a,c)||p._data(a,c,{empty:p.Callbacks("once memory").add(function(){p.removeData(a,b+"queue",!0),p.removeData(a,c,!0)})})}}),p.fn.extend({queue:function(a,c){var d=2;return typeof a!="string"&&(c=a,a="fx",d--),arguments.length1)},removeAttr:function(a){return this.each(function(){p.removeAttr(this,a)})},prop:function(a,b){return p.access(this,p.prop,a,b,arguments.length>1)},removeProp:function(a){return a=p.propFix[a]||a,this.each(function(){try{this[a]=b,delete this[a]}catch(c){}})},addClass:function(a){var b,c,d,e,f,g,h;if(p.isFunction(a))return this.each(function(b){p(this).addClass(a.call(this,b,this.className))});if(a&&typeof a=="string"){b=a.split(s);for(c=0,d=this.length;c-1)d=d.replace(" "+c[f]+" "," ");e.className=a?p.trim(d):""}}}return this},toggleClass:function(a,b){var c=typeof a,d=typeof b=="boolean";return p.isFunction(a)?this.each(function(c){p(this).toggleClass(a.call(this,c,this.className,b),b)}):this.each(function(){if(c==="string"){var e,f=0,g=p(this),h=b,i=a.split(s);while(e=i[f++])h=d?h:!g.hasClass(e),g[h?"addClass":"removeClass"](e)}else if(c==="undefined"||c==="boolean")this.className&&p._data(this,"__className__",this.className),this.className=this.className||a===!1?"":p._data(this,"__className__")||""})},hasClass:function(a){var b=" "+a+" ",c=0,d=this.length;for(;c-1)return!0;return!1},val:function(a){var c,d,e,f=this[0];if(!arguments.length){if(f)return c=p.valHooks[f.type]||p.valHooks[f.nodeName.toLowerCase()],c&&"get"in c&&(d=c.get(f,"value"))!==b?d:(d=f.value,typeof d=="string"?d.replace(P,""):d==null?"":d);return}return e=p.isFunction(a),this.each(function(d){var f,g=p(this);if(this.nodeType!==1)return;e?f=a.call(this,d,g.val()):f=a,f==null?f="":typeof f=="number"?f+="":p.isArray(f)&&(f=p.map(f,function(a){return a==null?"":a+""})),c=p.valHooks[this.type]||p.valHooks[this.nodeName.toLowerCase()];if(!c||!("set"in c)||c.set(this,f,"value")===b)this.value=f})}}),p.extend({valHooks:{option:{get:function(a){var b=a.attributes.value;return!b||b.specified?a.value:a.text}},select:{get:function(a){var b,c,d,e,f=a.selectedIndex,g=[],h=a.options,i=a.type==="select-one";if(f<0)return null;c=i?f:0,d=i?f+1:h.length;for(;c=0}),c.length||(a.selectedIndex=-1),c}}},attrFn:{},attr:function(a,c,d,e){var f,g,h,i=a.nodeType;if(!a||i===3||i===8||i===2)return;if(e&&p.isFunction(p.fn[c]))return p(a)[c](d);if(typeof a.getAttribute=="undefined")return p.prop(a,c,d);h=i!==1||!p.isXMLDoc(a),h&&(c=c.toLowerCase(),g=p.attrHooks[c]||(T.test(c)?M:L));if(d!==b){if(d===null){p.removeAttr(a,c);return}return g&&"set"in g&&h&&(f=g.set(a,d,c))!==b?f:(a.setAttribute(c,""+d),d)}return g&&"get"in g&&h&&(f=g.get(a,c))!==null?f:(f=a.getAttribute(c),f===null?b:f)},removeAttr:function(a,b){var c,d,e,f,g=0;if(b&&a.nodeType===1){d=b.split(s);for(;g=0}})});var V=/^(?:textarea|input|select)$/i,W=/^([^\.]*|)(?:\.(.+)|)$/,X=/(?:^|\s)hover(\.\S+|)\b/,Y=/^key/,Z=/^(?:mouse|contextmenu)|click/,$=/^(?:focusinfocus|focusoutblur)$/,_=function(a){return p.event.special.hover?a:a.replace(X,"mouseenter$1 mouseleave$1")};p.event={add:function(a,c,d,e,f){var g,h,i,j,k,l,m,n,o,q,r;if(a.nodeType===3||a.nodeType===8||!c||!d||!(g=p._data(a)))return;d.handler&&(o=d,d=o.handler,f=o.selector),d.guid||(d.guid=p.guid++),i=g.events,i||(g.events=i={}),h=g.handle,h||(g.handle=h=function(a){return typeof p!="undefined"&&(!a||p.event.triggered!==a.type)?p.event.dispatch.apply(h.elem,arguments):b},h.elem=a),c=p.trim(_(c)).split(" ");for(j=0;j=0&&(s=s.slice(0,-1),i=!0),s.indexOf(".")>=0&&(t=s.split("."),s=t.shift(),t.sort());if((!f||p.event.customEvent[s])&&!p.event.global[s])return;c=typeof c=="object"?c[p.expando]?c:new p.Event(s,c):new p.Event(s),c.type=s,c.isTrigger=!0,c.exclusive=i,c.namespace=t.join("."),c.namespace_re=c.namespace?new RegExp("(^|\\.)"+t.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,m=s.indexOf(":")<0?"on"+s:"";if(!f){h=p.cache;for(j in h)h[j].events&&h[j].events[s]&&p.event.trigger(c,d,h[j].handle.elem,!0);return}c.result=b,c.target||(c.target=f),d=d!=null?p.makeArray(d):[],d.unshift(c),n=p.event.special[s]||{};if(n.trigger&&n.trigger.apply(f,d)===!1)return;q=[[f,n.bindType||s]];if(!g&&!n.noBubble&&!p.isWindow(f)){r=n.delegateType||s,k=$.test(r+s)?f:f.parentNode;for(l=f;k;k=k.parentNode)q.push([k,r]),l=k;l===(f.ownerDocument||e)&&q.push([l.defaultView||l.parentWindow||a,r])}for(j=0;j=0),h[l]&&j.push(k);j.length&&t.push({elem:f,matches:j})}n.length>o&&t.push({elem:this,matches:n.slice(o)});for(d=0;d0?this.on(b,null,a,c):this.trigger(b)},Y.test(b)&&(p.event.fixHooks[b]=p.event.keyHooks),Z.test(b)&&(p.event.fixHooks[b]=p.event.mouseHooks)}),function(a,b){function $(a,b,c,d){c=c||[],b=b||q;var e,f,g,j,k=b.nodeType;if(k!==1&&k!==9)return[];if(!a||typeof a!="string")return c;g=h(b);if(!g&&!d)if(e=L.exec(a))if(j=e[1]){if(k===9){f=b.getElementById(j);if(!f||!f.parentNode)return c;if(f.id===j)return c.push(f),c}else if(b.ownerDocument&&(f=b.ownerDocument.getElementById(j))&&i(b,f)&&f.id===j)return c.push(f),c}else{if(e[2])return u.apply(c,t.call(b.getElementsByTagName(a),0)),c;if((j=e[3])&&X&&b.getElementsByClassName)return u.apply(c,t.call(b.getElementsByClassName(j),0)),c}return bk(a,b,c,d,g)}function _(a){return function(b){var c=b.nodeName.toLowerCase();return c==="input"&&b.type===a}}function ba(a){return function(b){var c=b.nodeName.toLowerCase();return(c==="input"||c==="button")&&b.type===a}}function bb(a,b,c){if(a===b)return c;var d=a.nextSibling;while(d){if(d===b)return-1;d=d.nextSibling}return 1}function bc(a,b,c,d){var e,g,h,i,j,k,l,m,n,p,r=!c&&b!==q,s=(r?"":"")+a.replace(H,"$1"),u=y[o][s];if(u)return d?0:t.call(u,0);j=a,k=[],m=0,n=f.preFilter,p=f.filter;while(j){if(!e||(g=I.exec(j)))g&&(j=j.slice(g[0].length),h.selector=l),k.push(h=[]),l="",r&&(j=" "+j);e=!1;if(g=J.exec(j))l+=g[0],j=j.slice(g[0].length),e=h.push({part:g.pop().replace(H," "),string:g[0],captures:g});for(i in p)(g=S[i].exec(j))&&(!n[i]||(g=n[i](g,b,c)))&&(l+=g[0],j=j.slice(g[0].length),e=h.push({part:i,string:g.shift(),captures:g}));if(!e)break}return l&&(h.selector=l),d?j.length:j?$.error(a):t.call(y(s,k),0)}function bd(a,b,e,f){var g=b.dir,h=s++;return a||(a=function(a){return a===e}),b.first?function(b){while(b=b[g])if(b.nodeType===1)return a(b)&&b}:f?function(b){while(b=b[g])if(b.nodeType===1&&a(b))return b}:function(b){var e,f=h+"."+c,i=f+"."+d;while(b=b[g])if(b.nodeType===1){if((e=b[o])===i)return b.sizset;if(typeof e=="string"&&e.indexOf(f)===0){if(b.sizset)return b}else{b[o]=i;if(a(b))return b.sizset=!0,b;b.sizset=!1}}}}function be(a,b){return a?function(c){var d=b(c);return d&&a(d===!0?c:d)}:b}function bf(a,b,c){var d,e,g=0;for(;d=a[g];g++)f.relative[d.part]?e=bd(e,f.relative[d.part],b,c):e=be(e,f.filter[d.part].apply(null,d.captures.concat(b,c)));return e}function bg(a){return function(b){var c,d=0;for(;c=a[d];d++)if(c(b))return!0;return!1}}function bh(a,b,c,d){var e=0,f=b.length;for(;e0?i(h,c,g):[]}function bj(a,c,d,e){var f,g,h,i,j,k,l,m,n,o,p,q,r,s=0,t=a.length,v=S.POS,w=new RegExp("^"+v.source+"(?!"+A+")","i"),x=function(){var a=1,c=arguments.length-2;for(;al){g+=k.slice(l,n.index),l=p,q=[c],J.test(g)&&(m&&(q=m),m=e);if(r=O.test(g))g=g.slice(0,-5).replace(J,"$&*"),l++;n.length>1&&n[0].replace(w,x),m=bi(g,n[1],n[2],q,m,r)}g=""}}o||(g+=k),o=!1}g?J.test(g)?bh(g,m||[c],d,e):$(g,c,d,e?e.concat(m):m):u.apply(d,m)}return t===1?d:$.uniqueSort(d)}function bk(a,b,e,g,h){a=a.replace(H,"$1");var i,k,l,m,n,o,p,q,r,s,v=bc(a,b,h),w=b.nodeType;if(S.POS.test(a))return bj(v,b,e,g);if(g)i=t.call(g,0);else if(v.length===1){if((o=t.call(v[0],0)).length>2&&(p=o[0]).part==="ID"&&w===9&&!h&&f.relative[o[1].part]){b=f.find.ID(p.captures[0].replace(R,""),b,h)[0];if(!b)return e;a=a.slice(o.shift().string.length)}r=(v=N.exec(o[0].string))&&!v.index&&b.parentNode||b,q="";for(n=o.length-1;n>=0;n--){p=o[n],s=p.part,q=p.string+q;if(f.relative[s])break;if(f.order.test(s)){i=f.find[s](p.captures[0].replace(R,""),r,h);if(i==null)continue;a=a.slice(0,a.length-q.length)+q.replace(S[s],""),a||u.apply(e,t.call(i,0));break}}}if(a){k=j(a,b,h),c=k.dirruns++,i==null&&(i=f.find.TAG("*",N.test(a)&&b.parentNode||b));for(n=0;m=i[n];n++)d=k.runs++,k(m)&&e.push(m)}return e}var c,d,e,f,g,h,i,j,k,l,m=!0,n="undefined",o=("sizcache"+Math.random()).replace(".",""),q=a.document,r=q.documentElement,s=0,t=[].slice,u=[].push,v=function(a,b){return a[o]=b||!0,a},w=function(){var a={},b=[];return v(function(c,d){return b.push(c)>f.cacheLength&&delete a[b.shift()],a[c]=d},a)},x=w(),y=w(),z=w(),A="[\\x20\\t\\r\\n\\f]",B="(?:\\\\.|[-\\w]|[^\\x00-\\xa0])+",C=B.replace("w","w#"),D="([*^$|!~]?=)",E="\\["+A+"*("+B+")"+A+"*(?:"+D+A+"*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|("+C+")|)|)"+A+"*\\]",F=":("+B+")(?:\\((?:(['\"])((?:\\\\.|[^\\\\])*?)\\2|([^()[\\]]*|(?:(?:"+E+")|[^:]|\\\\.)*|.*))\\)|)",G=":(nth|eq|gt|lt|first|last|even|odd)(?:\\(((?:-\\d)?\\d*)\\)|)(?=[^-]|$)",H=new RegExp("^"+A+"+|((?:^|[^\\\\])(?:\\\\.)*)"+A+"+$","g"),I=new RegExp("^"+A+"*,"+A+"*"),J=new RegExp("^"+A+"*([\\x20\\t\\r\\n\\f>+~])"+A+"*"),K=new RegExp(F),L=/^(?:#([\w\-]+)|(\w+)|\.([\w\-]+))$/,M=/^:not/,N=/[\x20\t\r\n\f]*[+~]/,O=/:not\($/,P=/h\d/i,Q=/input|select|textarea|button/i,R=/\\(?!\\)/g,S={ID:new RegExp("^#("+B+")"),CLASS:new RegExp("^\\.("+B+")"),NAME:new RegExp("^\\[name=['\"]?("+B+")['\"]?\\]"),TAG:new RegExp("^("+B.replace("w","w*")+")"),ATTR:new RegExp("^"+E),PSEUDO:new RegExp("^"+F),CHILD:new RegExp("^:(only|nth|last|first)-child(?:\\("+A+"*(even|odd|(([+-]|)(\\d*)n|)"+A+"*(?:([+-]|)"+A+"*(\\d+)|))"+A+"*\\)|)","i"),POS:new RegExp(G,"ig"),needsContext:new RegExp("^"+A+"*[>+~]|"+G,"i")},T=function(a){var b=q.createElement("div");try{return a(b)}catch(c){return!1}finally{b=null}},U=T(function(a){return a.appendChild(q.createComment("")),!a.getElementsByTagName("*").length}),V=T(function(a){return a.innerHTML=" ",a.firstChild&&typeof a.firstChild.getAttribute!==n&&a.firstChild.getAttribute("href")==="#"}),W=T(function(a){a.innerHTML=" ";var b=typeof a.lastChild.getAttribute("multiple");return b!=="boolean"&&b!=="string"}),X=T(function(a){return a.innerHTML="
",!a.getElementsByClassName||!a.getElementsByClassName("e").length?!1:(a.lastChild.className="e",a.getElementsByClassName("e").length===2)}),Y=T(function(a){a.id=o+0,a.innerHTML="
",r.insertBefore(a,r.firstChild);var b=q.getElementsByName&&q.getElementsByName(o).length===2+q.getElementsByName(o+0).length;return e=!q.getElementById(o),r.removeChild(a),b});try{t.call(r.childNodes,0)[0].nodeType}catch(Z){t=function(a){var b,c=[];for(;b=this[a];a++)c.push(b);return c}}$.matches=function(a,b){return $(a,null,null,b)},$.matchesSelector=function(a,b){return $(b,null,null,[a]).length>0},g=$.getText=function(a){var b,c="",d=0,e=a.nodeType;if(e){if(e===1||e===9||e===11){if(typeof a.textContent=="string")return a.textContent;for(a=a.firstChild;a;a=a.nextSibling)c+=g(a)}else if(e===3||e===4)return a.nodeValue}else for(;b=a[d];d++)c+=g(b);return c},h=$.isXML=function(a){var b=a&&(a.ownerDocument||a).documentElement;return b?b.nodeName!=="HTML":!1},i=$.contains=r.contains?function(a,b){var c=a.nodeType===9?a.documentElement:a,d=b&&b.parentNode;return a===d||!!(d&&d.nodeType===1&&c.contains&&c.contains(d))}:r.compareDocumentPosition?function(a,b){return b&&!!(a.compareDocumentPosition(b)&16)}:function(a,b){while(b=b.parentNode)if(b===a)return!0;return!1},$.attr=function(a,b){var c,d=h(a);return d||(b=b.toLowerCase()),f.attrHandle[b]?f.attrHandle[b](a):W||d?a.getAttribute(b):(c=a.getAttributeNode(b),c?typeof a[b]=="boolean"?a[b]?b:null:c.specified?c.value:null:null)},f=$.selectors={cacheLength:50,createPseudo:v,match:S,order:new RegExp("ID|TAG"+(Y?"|NAME":"")+(X?"|CLASS":"")),attrHandle:V?{}:{href:function(a){return a.getAttribute("href",2)},type:function(a){return a.getAttribute("type")}},find:{ID:e?function(a,b,c){if(typeof b.getElementById!==n&&!c){var d=b.getElementById(a);return d&&d.parentNode?[d]:[]}}:function(a,c,d){if(typeof c.getElementById!==n&&!d){var e=c.getElementById(a);return e?e.id===a||typeof e.getAttributeNode!==n&&e.getAttributeNode("id").value===a?[e]:b:[]}},TAG:U?function(a,b){if(typeof b.getElementsByTagName!==n)return b.getElementsByTagName(a)}:function(a,b){var c=b.getElementsByTagName(a);if(a==="*"){var d,e=[],f=0;for(;d=c[f];f++)d.nodeType===1&&e.push(d);return e}return c},NAME:function(a,b){if(typeof b.getElementsByName!==n)return b.getElementsByName(name)},CLASS:function(a,b,c){if(typeof b.getElementsByClassName!==n&&!c)return b.getElementsByClassName(a)}},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(a){return a[1]=a[1].replace(R,""),a[3]=(a[4]||a[5]||"").replace(R,""),a[2]==="~="&&(a[3]=" "+a[3]+" "),a.slice(0,4)},CHILD:function(a){return a[1]=a[1].toLowerCase(),a[1]==="nth"?(a[2]||$.error(a[0]),a[3]=+(a[3]?a[4]+(a[5]||1):2*(a[2]==="even"||a[2]==="odd")),a[4]=+(a[6]+a[7]||a[2]==="odd")):a[2]&&$.error(a[0]),a},PSEUDO:function(a,b,c){var d,e;if(S.CHILD.test(a[0]))return null;if(a[3])a[2]=a[3];else if(d=a[4])K.test(d)&&(e=bc(d,b,c,!0))&&(e=d.indexOf(")",d.length-e)-d.length)&&(d=d.slice(0,e),a[0]=a[0].slice(0,e)),a[2]=d;return a.slice(0,3)}},filter:{ID:e?function(a){return a=a.replace(R,""),function(b){return b.getAttribute("id")===a}}:function(a){return a=a.replace(R,""),function(b){var c=typeof b.getAttributeNode!==n&&b.getAttributeNode("id");return c&&c.value===a}},TAG:function(a){return a==="*"?function(){return!0}:(a=a.replace(R,"").toLowerCase(),function(b){return b.nodeName&&b.nodeName.toLowerCase()===a})},CLASS:function(a){var b=x[o][a];return b||(b=x(a,new RegExp("(^|"+A+")"+a+"("+A+"|$)"))),function(a){return b.test(a.className||typeof a.getAttribute!==n&&a.getAttribute("class")||"")}},ATTR:function(a,b,c){return b?function(d){var e=$.attr(d,a),f=e+"";if(e==null)return b==="!=";switch(b){case"=":return f===c;case"!=":return f!==c;case"^=":return c&&f.indexOf(c)===0;case"*=":return c&&f.indexOf(c)>-1;case"$=":return c&&f.substr(f.length-c.length)===c;case"~=":return(" "+f+" ").indexOf(c)>-1;case"|=":return f===c||f.substr(0,c.length+1)===c+"-"}}:function(b){return $.attr(b,a)!=null}},CHILD:function(a,b,c,d){if(a==="nth"){var e=s++;return function(a){var b,f,g=0,h=a;if(c===1&&d===0)return!0;b=a.parentNode;if(b&&(b[o]!==e||!a.sizset)){for(h=b.firstChild;h;h=h.nextSibling)if(h.nodeType===1){h.sizset=++g;if(h===a)break}b[o]=e}return f=a.sizset-d,c===0?f===0:f%c===0&&f/c>=0}}return function(b){var c=b;switch(a){case"only":case"first":while(c=c.previousSibling)if(c.nodeType===1)return!1;if(a==="first")return!0;c=b;case"last":while(c=c.nextSibling)if(c.nodeType===1)return!1;return!0}}},PSEUDO:function(a,b,c,d){var e,g=f.pseudos[a]||f.pseudos[a.toLowerCase()];return g||$.error("unsupported pseudo: "+a),g[o]?g(b,c,d):g.length>1?(e=[a,a,"",b],function(a){return g(a,0,e)}):g}},pseudos:{not:v(function(a,b,c){var d=j(a.replace(H,"$1"),b,c);return function(a){return!d(a)}}),enabled:function(a){return a.disabled===!1},disabled:function(a){return a.disabled===!0},checked:function(a){var b=a.nodeName.toLowerCase();return b==="input"&&!!a.checked||b==="option"&&!!a.selected},selected:function(a){return a.parentNode&&a.parentNode.selectedIndex,a.selected===!0},parent:function(a){return!f.pseudos.empty(a)},empty:function(a){var b;a=a.firstChild;while(a){if(a.nodeName>"@"||(b=a.nodeType)===3||b===4)return!1;a=a.nextSibling}return!0},contains:v(function(a){return function(b){return(b.textContent||b.innerText||g(b)).indexOf(a)>-1}}),has:v(function(a){return function(b){return $(a,b).length>0}}),header:function(a){return P.test(a.nodeName)},text:function(a){var b,c;return a.nodeName.toLowerCase()==="input"&&(b=a.type)==="text"&&((c=a.getAttribute("type"))==null||c.toLowerCase()===b)},radio:_("radio"),checkbox:_("checkbox"),file:_("file"),password:_("password"),image:_("image"),submit:ba("submit"),reset:ba("reset"),button:function(a){var b=a.nodeName.toLowerCase();return b==="input"&&a.type==="button"||b==="button"},input:function(a){return Q.test(a.nodeName)},focus:function(a){var b=a.ownerDocument;return a===b.activeElement&&(!b.hasFocus||b.hasFocus())&&(!!a.type||!!a.href)},active:function(a){return a===a.ownerDocument.activeElement}},setFilters:{first:function(a,b,c){return c?a.slice(1):[a[0]]},last:function(a,b,c){var d=a.pop();return c?a:[d]},even:function(a,b,c){var d=[],e=c?1:0,f=a.length;for(;e ",a.querySelectorAll("[selected]").length||e.push("\\["+A+"*(?:checked|disabled|ismap|multiple|readonly|selected|value)"),a.querySelectorAll(":checked").length||e.push(":checked")}),T(function(a){a.innerHTML="
",a.querySelectorAll("[test^='']").length&&e.push("[*^$]="+A+"*(?:\"\"|'')"),a.innerHTML=" ",a.querySelectorAll(":enabled").length||e.push(":enabled",":disabled")}),e=e.length&&new RegExp(e.join("|")),bk=function(a,d,f,g,h){if(!g&&!h&&(!e||!e.test(a)))if(d.nodeType===9)try{return u.apply(f,t.call(d.querySelectorAll(a),0)),f}catch(i){}else if(d.nodeType===1&&d.nodeName.toLowerCase()!=="object"){var j,k,l,m=d.getAttribute("id"),n=m||o,p=N.test(a)&&d.parentNode||d;m?n=n.replace(c,"\\$&"):d.setAttribute("id",n),j=bc(a,d,h),n="[id='"+n+"']";for(k=0,l=j.length;k0})}(),f.setFilters.nth=f.setFilters.eq,f.filters=f.pseudos,$.attr=p.attr,p.find=$,p.expr=$.selectors,p.expr[":"]=p.expr.pseudos,p.unique=$.uniqueSort,p.text=$.getText,p.isXMLDoc=$.isXML,p.contains=$.contains}(a);var bc=/Until$/,bd=/^(?:parents|prev(?:Until|All))/,be=/^.[^:#\[\.,]*$/,bf=p.expr.match.needsContext,bg={children:!0,contents:!0,next:!0,prev:!0};p.fn.extend({find:function(a){var b,c,d,e,f,g,h=this;if(typeof a!="string")return p(a).filter(function(){for(b=0,c=h.length;b0)for(e=d;e=0:p.filter(a,this).length>0:this.filter(a).length>0)},closest:function(a,b){var c,d=0,e=this.length,f=[],g=bf.test(a)||typeof a!="string"?p(a,b||this.context):0;for(;d-1:p.find.matchesSelector(c,a)){f.push(c);break}c=c.parentNode}}return f=f.length>1?p.unique(f):f,this.pushStack(f,"closest",a)},index:function(a){return a?typeof a=="string"?p.inArray(this[0],p(a)):p.inArray(a.jquery?a[0]:a,this):this[0]&&this[0].parentNode?this.prevAll().length:-1},add:function(a,b){var c=typeof a=="string"?p(a,b):p.makeArray(a&&a.nodeType?[a]:a),d=p.merge(this.get(),c);return this.pushStack(bh(c[0])||bh(d[0])?d:p.unique(d))},addBack:function(a){return this.add(a==null?this.prevObject:this.prevObject.filter(a))}}),p.fn.andSelf=p.fn.addBack,p.each({parent:function(a){var b=a.parentNode;return b&&b.nodeType!==11?b:null},parents:function(a){return p.dir(a,"parentNode")},parentsUntil:function(a,b,c){return p.dir(a,"parentNode",c)},next:function(a){return bi(a,"nextSibling")},prev:function(a){return bi(a,"previousSibling")},nextAll:function(a){return p.dir(a,"nextSibling")},prevAll:function(a){return p.dir(a,"previousSibling")},nextUntil:function(a,b,c){return p.dir(a,"nextSibling",c)},prevUntil:function(a,b,c){return p.dir(a,"previousSibling",c)},siblings:function(a){return p.sibling((a.parentNode||{}).firstChild,a)},children:function(a){return p.sibling(a.firstChild)},contents:function(a){return p.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:p.merge([],a.childNodes)}},function(a,b){p.fn[a]=function(c,d){var e=p.map(this,b,c);return bc.test(a)||(d=c),d&&typeof d=="string"&&(e=p.filter(d,e)),e=this.length>1&&!bg[a]?p.unique(e):e,this.length>1&&bd.test(a)&&(e=e.reverse()),this.pushStack(e,a,k.call(arguments).join(","))}}),p.extend({filter:function(a,b,c){return c&&(a=":not("+a+")"),b.length===1?p.find.matchesSelector(b[0],a)?[b[0]]:[]:p.find.matches(a,b)},dir:function(a,c,d){var e=[],f=a[c];while(f&&f.nodeType!==9&&(d===b||f.nodeType!==1||!p(f).is(d)))f.nodeType===1&&e.push(f),f=f[c];return e},sibling:function(a,b){var c=[];for(;a;a=a.nextSibling)a.nodeType===1&&a!==b&&c.push(a);return c}});var bl="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",bm=/ jQuery\d+="(?:null|\d+)"/g,bn=/^\s+/,bo=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,bp=/<([\w:]+)/,bq=/ ]","i"),bv=/^(?:checkbox|radio)$/,bw=/checked\s*(?:[^=]|=\s*.checked.)/i,bx=/\/(java|ecma)script/i,by=/^\s*\s*$/g,bz={option:[1,""," "],legend:[1,""," "],thead:[1,""],tr:[2,""],td:[3,""],col:[2,""],area:[1,""," "],_default:[0,"",""]},bA=bk(e),bB=bA.appendChild(e.createElement("div"));bz.optgroup=bz.option,bz.tbody=bz.tfoot=bz.colgroup=bz.caption=bz.thead,bz.th=bz.td,p.support.htmlSerialize||(bz._default=[1,"X","
"]),p.fn.extend({text:function(a){return p.access(this,function(a){return a===b?p.text(this):this.empty().append((this[0]&&this[0].ownerDocument||e).createTextNode(a))},null,a,arguments.length)},wrapAll:function(a){if(p.isFunction(a))return this.each(function(b){p(this).wrapAll(a.call(this,b))});if(this[0]){var b=p(a,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&b.insertBefore(this[0]),b.map(function(){var a=this;while(a.firstChild&&a.firstChild.nodeType===1)a=a.firstChild;return a}).append(this)}return this},wrapInner:function(a){return p.isFunction(a)?this.each(function(b){p(this).wrapInner(a.call(this,b))}):this.each(function(){var b=p(this),c=b.contents();c.length?c.wrapAll(a):b.append(a)})},wrap:function(a){var b=p.isFunction(a);return this.each(function(c){p(this).wrapAll(b?a.call(this,c):a)})},unwrap:function(){return this.parent().each(function(){p.nodeName(this,"body")||p(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(a){(this.nodeType===1||this.nodeType===11)&&this.appendChild(a)})},prepend:function(){return this.domManip(arguments,!0,function(a){(this.nodeType===1||this.nodeType===11)&&this.insertBefore(a,this.firstChild)})},before:function(){if(!bh(this[0]))return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this)});if(arguments.length){var a=p.clean(arguments);return this.pushStack(p.merge(a,this),"before",this.selector)}},after:function(){if(!bh(this[0]))return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this.nextSibling)});if(arguments.length){var a=p.clean(arguments);return this.pushStack(p.merge(this,a),"after",this.selector)}},remove:function(a,b){var c,d=0;for(;(c=this[d])!=null;d++)if(!a||p.filter(a,[c]).length)!b&&c.nodeType===1&&(p.cleanData(c.getElementsByTagName("*")),p.cleanData([c])),c.parentNode&&c.parentNode.removeChild(c);return this},empty:function(){var a,b=0;for(;(a=this[b])!=null;b++){a.nodeType===1&&p.cleanData(a.getElementsByTagName("*"));while(a.firstChild)a.removeChild(a.firstChild)}return this},clone:function(a,b){return a=a==null?!1:a,b=b==null?a:b,this.map(function(){return p.clone(this,a,b)})},html:function(a){return p.access(this,function(a){var c=this[0]||{},d=0,e=this.length;if(a===b)return c.nodeType===1?c.innerHTML.replace(bm,""):b;if(typeof a=="string"&&!bs.test(a)&&(p.support.htmlSerialize||!bu.test(a))&&(p.support.leadingWhitespace||!bn.test(a))&&!bz[(bp.exec(a)||["",""])[1].toLowerCase()]){a=a.replace(bo,"<$1>$2>");try{for(;d1&&typeof j=="string"&&bw.test(j))return this.each(function(){p(this).domManip(a,c,d)});if(p.isFunction(j))return this.each(function(e){var f=p(this);a[0]=j.call(this,e,c?f.html():b),f.domManip(a,c,d)});if(this[0]){e=p.buildFragment(a,this,k),g=e.fragment,f=g.firstChild,g.childNodes.length===1&&(g=f);if(f){c=c&&p.nodeName(f,"tr");for(h=e.cacheable||l-1;i0?this.clone(!0):this).get(),p(g[e])[b](d),f=f.concat(d);return this.pushStack(f,a,g.selector)}}),p.extend({clone:function(a,b,c){var d,e,f,g;p.support.html5Clone||p.isXMLDoc(a)||!bu.test("<"+a.nodeName+">")?g=a.cloneNode(!0):(bB.innerHTML=a.outerHTML,bB.removeChild(g=bB.firstChild));if((!p.support.noCloneEvent||!p.support.noCloneChecked)&&(a.nodeType===1||a.nodeType===11)&&!p.isXMLDoc(a)){bE(a,g),d=bF(a),e=bF(g);for(f=0;d[f];++f)e[f]&&bE(d[f],e[f])}if(b){bD(a,g);if(c){d=bF(a),e=bF(g);for(f=0;d[f];++f)bD(d[f],e[f])}}return d=e=null,g},clean:function(a,b,c,d){var f,g,h,i,j,k,l,m,n,o,q,r,s=b===e&&bA,t=[];if(!b||typeof b.createDocumentFragment=="undefined")b=e;for(f=0;(h=a[f])!=null;f++){typeof h=="number"&&(h+="");if(!h)continue;if(typeof h=="string")if(!br.test(h))h=b.createTextNode(h);else{s=s||bk(b),l=b.createElement("div"),s.appendChild(l),h=h.replace(bo,"<$1>$2>"),i=(bp.exec(h)||["",""])[1].toLowerCase(),j=bz[i]||bz._default,k=j[0],l.innerHTML=j[1]+h+j[2];while(k--)l=l.lastChild;if(!p.support.tbody){m=bq.test(h),n=i==="table"&&!m?l.firstChild&&l.firstChild.childNodes:j[1]===""&&!m?l.childNodes:[];for(g=n.length-1;g>=0;--g)p.nodeName(n[g],"tbody")&&!n[g].childNodes.length&&n[g].parentNode.removeChild(n[g])}!p.support.leadingWhitespace&&bn.test(h)&&l.insertBefore(b.createTextNode(bn.exec(h)[0]),l.firstChild),h=l.childNodes,l.parentNode.removeChild(l)}h.nodeType?t.push(h):p.merge(t,h)}l&&(h=l=s=null);if(!p.support.appendChecked)for(f=0;(h=t[f])!=null;f++)p.nodeName(h,"input")?bG(h):typeof h.getElementsByTagName!="undefined"&&p.grep(h.getElementsByTagName("input"),bG);if(c){q=function(a){if(!a.type||bx.test(a.type))return d?d.push(a.parentNode?a.parentNode.removeChild(a):a):c.appendChild(a)};for(f=0;(h=t[f])!=null;f++)if(!p.nodeName(h,"script")||!q(h))c.appendChild(h),typeof h.getElementsByTagName!="undefined"&&(r=p.grep(p.merge([],h.getElementsByTagName("script")),q),t.splice.apply(t,[f+1,0].concat(r)),f+=r.length)}return t},cleanData:function(a,b){var c,d,e,f,g=0,h=p.expando,i=p.cache,j=p.support.deleteExpando,k=p.event.special;for(;(e=a[g])!=null;g++)if(b||p.acceptData(e)){d=e[h],c=d&&i[d];if(c){if(c.events)for(f in c.events)k[f]?p.event.remove(e,f):p.removeEvent(e,f,c.handle);i[d]&&(delete i[d],j?delete e[h]:e.removeAttribute?e.removeAttribute(h):e[h]=null,p.deletedIds.push(d))}}}}),function(){var a,b;p.uaMatch=function(a){a=a.toLowerCase();var b=/(chrome)[ \/]([\w.]+)/.exec(a)||/(webkit)[ \/]([\w.]+)/.exec(a)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(a)||/(msie) ([\w.]+)/.exec(a)||a.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(a)||[];return{browser:b[1]||"",version:b[2]||"0"}},a=p.uaMatch(g.userAgent),b={},a.browser&&(b[a.browser]=!0,b.version=a.version),b.chrome?b.webkit=!0:b.webkit&&(b.safari=!0),p.browser=b,p.sub=function(){function a(b,c){return new a.fn.init(b,c)}p.extend(!0,a,this),a.superclass=this,a.fn=a.prototype=this(),a.fn.constructor=a,a.sub=this.sub,a.fn.init=function c(c,d){return d&&d instanceof p&&!(d instanceof a)&&(d=a(d)),p.fn.init.call(this,c,d,b)},a.fn.init.prototype=a.fn;var b=a(e);return a}}();var bH,bI,bJ,bK=/alpha\([^)]*\)/i,bL=/opacity=([^)]*)/,bM=/^(top|right|bottom|left)$/,bN=/^(none|table(?!-c[ea]).+)/,bO=/^margin/,bP=new RegExp("^("+q+")(.*)$","i"),bQ=new RegExp("^("+q+")(?!px)[a-z%]+$","i"),bR=new RegExp("^([-+])=("+q+")","i"),bS={},bT={position:"absolute",visibility:"hidden",display:"block"},bU={letterSpacing:0,fontWeight:400},bV=["Top","Right","Bottom","Left"],bW=["Webkit","O","Moz","ms"],bX=p.fn.toggle;p.fn.extend({css:function(a,c){return p.access(this,function(a,c,d){return d!==b?p.style(a,c,d):p.css(a,c)},a,c,arguments.length>1)},show:function(){return b$(this,!0)},hide:function(){return b$(this)},toggle:function(a,b){var c=typeof a=="boolean";return p.isFunction(a)&&p.isFunction(b)?bX.apply(this,arguments):this.each(function(){(c?a:bZ(this))?p(this).show():p(this).hide()})}}),p.extend({cssHooks:{opacity:{get:function(a,b){if(b){var c=bH(a,"opacity");return c===""?"1":c}}}},cssNumber:{fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":p.support.cssFloat?"cssFloat":"styleFloat"},style:function(a,c,d,e){if(!a||a.nodeType===3||a.nodeType===8||!a.style)return;var f,g,h,i=p.camelCase(c),j=a.style;c=p.cssProps[i]||(p.cssProps[i]=bY(j,i)),h=p.cssHooks[c]||p.cssHooks[i];if(d===b)return h&&"get"in h&&(f=h.get(a,!1,e))!==b?f:j[c];g=typeof d,g==="string"&&(f=bR.exec(d))&&(d=(f[1]+1)*f[2]+parseFloat(p.css(a,c)),g="number");if(d==null||g==="number"&&isNaN(d))return;g==="number"&&!p.cssNumber[i]&&(d+="px");if(!h||!("set"in h)||(d=h.set(a,d,e))!==b)try{j[c]=d}catch(k){}},css:function(a,c,d,e){var f,g,h,i=p.camelCase(c);return c=p.cssProps[i]||(p.cssProps[i]=bY(a.style,i)),h=p.cssHooks[c]||p.cssHooks[i],h&&"get"in h&&(f=h.get(a,!0,e)),f===b&&(f=bH(a,c)),f==="normal"&&c in bU&&(f=bU[c]),d||e!==b?(g=parseFloat(f),d||p.isNumeric(g)?g||0:f):f},swap:function(a,b,c){var d,e,f={};for(e in b)f[e]=a.style[e],a.style[e]=b[e];d=c.call(a);for(e in b)a.style[e]=f[e];return d}}),a.getComputedStyle?bH=function(b,c){var d,e,f,g,h=a.getComputedStyle(b,null),i=b.style;return h&&(d=h[c],d===""&&!p.contains(b.ownerDocument,b)&&(d=p.style(b,c)),bQ.test(d)&&bO.test(c)&&(e=i.width,f=i.minWidth,g=i.maxWidth,i.minWidth=i.maxWidth=i.width=d,d=h.width,i.width=e,i.minWidth=f,i.maxWidth=g)),d}:e.documentElement.currentStyle&&(bH=function(a,b){var c,d,e=a.currentStyle&&a.currentStyle[b],f=a.style;return e==null&&f&&f[b]&&(e=f[b]),bQ.test(e)&&!bM.test(b)&&(c=f.left,d=a.runtimeStyle&&a.runtimeStyle.left,d&&(a.runtimeStyle.left=a.currentStyle.left),f.left=b==="fontSize"?"1em":e,e=f.pixelLeft+"px",f.left=c,d&&(a.runtimeStyle.left=d)),e===""?"auto":e}),p.each(["height","width"],function(a,b){p.cssHooks[b]={get:function(a,c,d){if(c)return a.offsetWidth===0&&bN.test(bH(a,"display"))?p.swap(a,bT,function(){return cb(a,b,d)}):cb(a,b,d)},set:function(a,c,d){return b_(a,c,d?ca(a,b,d,p.support.boxSizing&&p.css(a,"boxSizing")==="border-box"):0)}}}),p.support.opacity||(p.cssHooks.opacity={get:function(a,b){return bL.test((b&&a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":b?"1":""},set:function(a,b){var c=a.style,d=a.currentStyle,e=p.isNumeric(b)?"alpha(opacity="+b*100+")":"",f=d&&d.filter||c.filter||"";c.zoom=1;if(b>=1&&p.trim(f.replace(bK,""))===""&&c.removeAttribute){c.removeAttribute("filter");if(d&&!d.filter)return}c.filter=bK.test(f)?f.replace(bK,e):f+" "+e}}),p(function(){p.support.reliableMarginRight||(p.cssHooks.marginRight={get:function(a,b){return p.swap(a,{display:"inline-block"},function(){if(b)return bH(a,"marginRight")})}}),!p.support.pixelPosition&&p.fn.position&&p.each(["top","left"],function(a,b){p.cssHooks[b]={get:function(a,c){if(c){var d=bH(a,b);return bQ.test(d)?p(a).position()[b]+"px":d}}}})}),p.expr&&p.expr.filters&&(p.expr.filters.hidden=function(a){return a.offsetWidth===0&&a.offsetHeight===0||!p.support.reliableHiddenOffsets&&(a.style&&a.style.display||bH(a,"display"))==="none"},p.expr.filters.visible=function(a){return!p.expr.filters.hidden(a)}),p.each({margin:"",padding:"",border:"Width"},function(a,b){p.cssHooks[a+b]={expand:function(c){var d,e=typeof c=="string"?c.split(" "):[c],f={};for(d=0;d<4;d++)f[a+bV[d]+b]=e[d]||e[d-2]||e[0];return f}},bO.test(a)||(p.cssHooks[a+b].set=b_)});var cd=/%20/g,ce=/\[\]$/,cf=/\r?\n/g,cg=/^(?:color|date|datetime|datetime-local|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,ch=/^(?:select|textarea)/i;p.fn.extend({serialize:function(){return p.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?p.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||ch.test(this.nodeName)||cg.test(this.type))}).map(function(a,b){var c=p(this).val();return c==null?null:p.isArray(c)?p.map(c,function(a,c){return{name:b.name,value:a.replace(cf,"\r\n")}}):{name:b.name,value:c.replace(cf,"\r\n")}}).get()}}),p.param=function(a,c){var d,e=[],f=function(a,b){b=p.isFunction(b)?b():b==null?"":b,e[e.length]=encodeURIComponent(a)+"="+encodeURIComponent(b)};c===b&&(c=p.ajaxSettings&&p.ajaxSettings.traditional);if(p.isArray(a)||a.jquery&&!p.isPlainObject(a))p.each(a,function(){f(this.name,this.value)});else for(d in a)ci(d,a[d],c,f);return e.join("&").replace(cd,"+")};var cj,ck,cl=/#.*$/,cm=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,cn=/^(?:about|app|app\-storage|.+\-extension|file|res|widget):$/,co=/^(?:GET|HEAD)$/,cp=/^\/\//,cq=/\?/,cr=/
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
--------------------------------------------------------------------------------
/options.js:
--------------------------------------------------------------------------------
1 | // update div element with app status
2 | function show_result(txt) {
3 | var status = document.getElementById('status');
4 | status.textContent = txt;
5 | }
6 |
7 | // Saves options to chrome.storage
8 | function save_options() {
9 | // lname
10 | salt = document.getElementById("frm1").elements.item(0).value;
11 |
12 | chrome.storage.local.set({
13 | 'passwd_salt': salt
14 | }, function() {
15 | // Notify that we saved.
16 | if (chrome.extension.lastError) {
17 | console.log('An error occurred: ' + chrome.extension.lastError.message);
18 | }
19 | show_result('Data has been successfully saved.');
20 | });
21 | }
22 |
23 | function clear_storage() {
24 | //window.localStorage.clear();
25 | chrome.storage.local.clear();
26 | //show_result('Data has been cleared.');
27 | // clear form
28 | document.getElementById("frm1").elements.item(0).value = '';
29 | show_result('Seed has been removed.');
30 | }
31 |
32 | chrome.storage.local.get('passwd_salt', function(result) {
33 | if (!result.passwd_salt) {
34 | // generate random salt and save it to the store
35 | document.getElementById("frm1").elements.item(0).value = transform_to_pass(CryptoJS.lib.WordArray.random(16));
36 | save_options();
37 | } else {
38 | document.getElementById("frm1").elements.item(0).value = result.passwd_salt;
39 | }
40 | });
41 |
42 | document.getElementById('save').addEventListener('click', save_options);
43 | document.getElementById('clear').addEventListener('click', clear_storage);
44 |
--------------------------------------------------------------------------------
/theme/images/icons_16.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/viralpoetry/alzheimer-password-generator/57bb598ad65090ca99abdd1035e85158541b4421/theme/images/icons_16.png
--------------------------------------------------------------------------------
/theme/images/jGrowl-close.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/viralpoetry/alzheimer-password-generator/57bb598ad65090ca99abdd1035e85158541b4421/theme/images/jGrowl-close.png
--------------------------------------------------------------------------------
/theme/images/modalClose.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/viralpoetry/alzheimer-password-generator/57bb598ad65090ca99abdd1035e85158541b4421/theme/images/modalClose.png
--------------------------------------------------------------------------------
/theme/images/modalClose@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/viralpoetry/alzheimer-password-generator/57bb598ad65090ca99abdd1035e85158541b4421/theme/images/modalClose@2x.png
--------------------------------------------------------------------------------
/theme/images/slider_handles.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/viralpoetry/alzheimer-password-generator/57bb598ad65090ca99abdd1035e85158541b4421/theme/images/slider_handles.png
--------------------------------------------------------------------------------
/theme/images/slider_handles@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/viralpoetry/alzheimer-password-generator/57bb598ad65090ca99abdd1035e85158541b4421/theme/images/slider_handles@2x.png
--------------------------------------------------------------------------------
/theme/images/ui-bg_flat_0_aaaaaa_40x100.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/viralpoetry/alzheimer-password-generator/57bb598ad65090ca99abdd1035e85158541b4421/theme/images/ui-bg_flat_0_aaaaaa_40x100.png
--------------------------------------------------------------------------------
/theme/images/ui-bg_flat_75_ffffff_40x100.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/viralpoetry/alzheimer-password-generator/57bb598ad65090ca99abdd1035e85158541b4421/theme/images/ui-bg_flat_75_ffffff_40x100.png
--------------------------------------------------------------------------------
/theme/images/ui-bg_glass_55_fbf9ee_1x400.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/viralpoetry/alzheimer-password-generator/57bb598ad65090ca99abdd1035e85158541b4421/theme/images/ui-bg_glass_55_fbf9ee_1x400.png
--------------------------------------------------------------------------------
/theme/images/ui-bg_glass_65_ffffff_1x400.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/viralpoetry/alzheimer-password-generator/57bb598ad65090ca99abdd1035e85158541b4421/theme/images/ui-bg_glass_65_ffffff_1x400.png
--------------------------------------------------------------------------------
/theme/images/ui-bg_glass_75_dadada_1x400.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/viralpoetry/alzheimer-password-generator/57bb598ad65090ca99abdd1035e85158541b4421/theme/images/ui-bg_glass_75_dadada_1x400.png
--------------------------------------------------------------------------------
/theme/images/ui-bg_glass_75_e6e6e6_1x400.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/viralpoetry/alzheimer-password-generator/57bb598ad65090ca99abdd1035e85158541b4421/theme/images/ui-bg_glass_75_e6e6e6_1x400.png
--------------------------------------------------------------------------------
/theme/images/ui-bg_glass_95_fef1ec_1x400.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/viralpoetry/alzheimer-password-generator/57bb598ad65090ca99abdd1035e85158541b4421/theme/images/ui-bg_glass_95_fef1ec_1x400.png
--------------------------------------------------------------------------------
/theme/images/ui-bg_highlight-soft_75_cccccc_1x100.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/viralpoetry/alzheimer-password-generator/57bb598ad65090ca99abdd1035e85158541b4421/theme/images/ui-bg_highlight-soft_75_cccccc_1x100.png
--------------------------------------------------------------------------------
/theme/images/ui-icons_222222_256x240.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/viralpoetry/alzheimer-password-generator/57bb598ad65090ca99abdd1035e85158541b4421/theme/images/ui-icons_222222_256x240.png
--------------------------------------------------------------------------------
/theme/images/ui-icons_2e83ff_256x240.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/viralpoetry/alzheimer-password-generator/57bb598ad65090ca99abdd1035e85158541b4421/theme/images/ui-icons_2e83ff_256x240.png
--------------------------------------------------------------------------------
/theme/images/ui-icons_454545_256x240.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/viralpoetry/alzheimer-password-generator/57bb598ad65090ca99abdd1035e85158541b4421/theme/images/ui-icons_454545_256x240.png
--------------------------------------------------------------------------------
/theme/images/ui-icons_888888_256x240.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/viralpoetry/alzheimer-password-generator/57bb598ad65090ca99abdd1035e85158541b4421/theme/images/ui-icons_888888_256x240.png
--------------------------------------------------------------------------------
/theme/images/ui-icons_FFFFFF_256x240.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/viralpoetry/alzheimer-password-generator/57bb598ad65090ca99abdd1035e85158541b4421/theme/images/ui-icons_FFFFFF_256x240.png
--------------------------------------------------------------------------------
/theme/images/ui-icons_cd0a0a_256x240.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/viralpoetry/alzheimer-password-generator/57bb598ad65090ca99abdd1035e85158541b4421/theme/images/ui-icons_cd0a0a_256x240.png
--------------------------------------------------------------------------------
/theme/jquery-ui.css:
--------------------------------------------------------------------------------
1 | /*
2 | * jQuery UI CSS Framework 1.8.16
3 | *
4 | * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
5 | * Dual licensed under the MIT or GPL Version 2 licenses.
6 | * http://jquery.org/license
7 | *
8 | * http://docs.jquery.com/UI/Theming/API
9 | */
10 |
11 | /* Layout helpers
12 | ----------------------------------*/
13 | .ui-helper-hidden { display: none; }
14 | .ui-helper-hidden-accessible { position: absolute !important; clip: rect(1px 1px 1px 1px); clip: rect(1px,1px,1px,1px); }
15 | .ui-helper-reset { margin: 0; padding: 0; border: 0; outline: 0; line-height: 1.3; text-decoration: none; font-size: 100%; list-style: none; }
16 | .ui-helper-clearfix:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }
17 | .ui-helper-clearfix { display: inline-block; }
18 | /* required comment for clearfix to work in Opera \*/
19 | * html .ui-helper-clearfix { height:1%; }
20 | .ui-helper-clearfix { display:block; }
21 | /* end clearfix */
22 | .ui-helper-zfix { width: 100%; height: 100%; top: 0; left: 0; position: absolute; opacity: 0; filter:Alpha(Opacity=0); }
23 |
24 |
25 | /* Interaction Cues
26 | ----------------------------------*/
27 | .ui-state-disabled { cursor: default !important; }
28 |
29 |
30 | /* Icons
31 | ----------------------------------*/
32 |
33 | /* states and images */
34 | .ui-icon { display: block; text-indent: -99999px; overflow: hidden; background-repeat: no-repeat; }
35 |
36 |
37 | /* Misc visuals
38 | ----------------------------------*/
39 |
40 | /* Overlays */
41 | .ui-widget-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
42 |
43 |
44 | /*
45 | * jQuery UI CSS Framework 1.8.16
46 | *
47 | * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
48 | * Dual licensed under the MIT or GPL Version 2 licenses.
49 | * http://jquery.org/license
50 | *
51 | * http://docs.jquery.com/UI/Theming/API
52 | *
53 | * To view and modify this theme, visit http://jqueryui.com/themeroller/?ffDefault=Arial,Helvetica,sans-serif&fwDefault=normal&fsDefault=1.1em&cornerRadius=4px&bgColorHeader=cccccc&bgTextureHeader=03_highlight_soft.png&bgImgOpacityHeader=75&borderColorHeader=aaaaaa&fcHeader=222222&iconColorHeader=222222&bgColorContent=ffffff&bgTextureContent=01_flat.png&bgImgOpacityContent=75&borderColorContent=aaaaaa&fcContent=222222&iconColorContent=222222&bgColorDefault=e6e6e6&bgTextureDefault=02_glass.png&bgImgOpacityDefault=75&borderColorDefault=d3d3d3&fcDefault=555555&iconColorDefault=888888&bgColorHover=dadada&bgTextureHover=02_glass.png&bgImgOpacityHover=75&borderColorHover=999999&fcHover=212121&iconColorHover=454545&bgColorActive=ffffff&bgTextureActive=02_glass.png&bgImgOpacityActive=65&borderColorActive=aaaaaa&fcActive=212121&iconColorActive=454545&bgColorHighlight=fbf9ee&bgTextureHighlight=02_glass.png&bgImgOpacityHighlight=55&borderColorHighlight=fcefa1&fcHighlight=363636&iconColorHighlight=2e83ff&bgColorError=fef1ec&bgTextureError=02_glass.png&bgImgOpacityError=95&borderColorError=cd0a0a&fcError=cd0a0a&iconColorError=cd0a0a&bgColorOverlay=aaaaaa&bgTextureOverlay=01_flat.png&bgImgOpacityOverlay=0&opacityOverlay=30&bgColorShadow=aaaaaa&bgTextureShadow=01_flat.png&bgImgOpacityShadow=0&opacityShadow=30&thicknessShadow=8px&offsetTopShadow=-8px&offsetLeftShadow=-8px&cornerRadiusShadow=8px
54 | */
55 |
56 |
57 | /* Component containers
58 | ----------------------------------*/
59 | .ui-widget { font-family: Arial,Helvetica,sans-serif; font-size: 1.1em; }
60 | .ui-widget .ui-widget { font-size: 1em; }
61 | .ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button { font-family: Arial,Helvetica,sans-serif; font-size: 1em; }
62 | .ui-widget-content { border: 1px solid #D5D5D5; background: #ffffff; color: #222222; }
63 | .ui-widget-content a { color: #222222; }
64 | .ui-widget-header { border: 1px solid #D5D5D5; background: #cccccc; color: #222222; font-weight: bold; }
65 | .ui-widget-header {
66 | border: 1px solid #d9d9d9;
67 | color: #1b1d1f;
68 | font-size: 14px;
69 | text-shadow: 0 1px 0 rgba(255,255,255,0.5);
70 | background: #f6f7f9 url(chrome-extension://__MSG_@@extension_id__/theme/images/fallback_moduleHeader.png) 0 0 repeat-x; /* Old browsers */
71 | background: -moz-linear-gradient(top, #f6f7f9 0%, #ebedf0 100%); /* FF3.6+ */
72 | background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f6f7f9), color-stop(100%,#ebedf0)); /* Chrome,Safari4+ */
73 | background: -webkit-linear-gradient(top, #f6f7f9 0%,#ebedf0 100%); /* Chrome10+,Safari5.1+ */
74 | background: -o-linear-gradient(top, #f6f7f9 0%,#ebedf0 100%); /* Opera11.10+ */
75 | background: -ms-linear-gradient(top, #f6f7f9 0%,#ebedf0 100%); /* IE10+ */
76 | background: linear-gradient(top, #f6f7f9 0%,#ebedf0 100%); /* W3C */
77 | }
78 | .ui-widget-header a { color: #222222; }
79 |
80 | /* Interaction states
81 | ----------------------------------*/
82 | .ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default { border: 1px solid #d3d3d3; background: #f9f9fc; font-weight: normal; color: #555555; }
83 | .ui-state-default a, .ui-state-default a:link, .ui-state-default a:visited { color: #555555; text-decoration: none; }
84 | .ui-state-hover, .ui-widget-content .ui-state-hover, .ui-widget-header .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus, .ui-widget-header .ui-state-focus { border: 1px solid #a6a6ac; background: #ededf0; font-weight: normal; color: #212121; }
85 | .ui-state-hover a, .ui-state-hover a:hover { color: #212121; text-decoration: none; }
86 | .ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active { border: 1px solid #D5D5D5; background: #ffffff; font-weight: normal; color: #212121; }
87 | .ui-state-active a, .ui-state-active a:link, .ui-state-active a:visited { color: #212121; text-decoration: none; }
88 | .ui-widget :active { outline: none; }
89 |
90 | /* Interaction Cues
91 | ----------------------------------*/
92 | .ui-state-highlight, .ui-widget-content .ui-state-highlight, .ui-widget-header .ui-state-highlight {border: 1px solid #fcefa1; background: #fbf9ee; color: #363636; }
93 | .ui-state-highlight a, .ui-widget-content .ui-state-highlight a,.ui-widget-header .ui-state-highlight a { color: #363636; }
94 | .ui-state-error, .ui-widget-content .ui-state-error, .ui-widget-header .ui-state-error {border: 1px solid #cd0a0a; background: #fef1ec; color: #cd0a0a; }
95 | .ui-state-error a, .ui-widget-content .ui-state-error a, .ui-widget-header .ui-state-error a { color: #cd0a0a; }
96 | .ui-state-error-text, .ui-widget-content .ui-state-error-text, .ui-widget-header .ui-state-error-text { color: #cd0a0a; }
97 | .ui-priority-primary, .ui-widget-content .ui-priority-primary, .ui-widget-header .ui-priority-primary { font-weight: bold; }
98 | .ui-priority-secondary, .ui-widget-content .ui-priority-secondary, .ui-widget-header .ui-priority-secondary { opacity: .7; filter:Alpha(Opacity=70); font-weight: normal; }
99 | .ui-state-disabled, .ui-widget-content .ui-state-disabled, .ui-widget-header .ui-state-disabled { opacity: .35; filter:Alpha(Opacity=35); background-image: none; }
100 |
101 | /* Icons
102 | ----------------------------------*/
103 |
104 | /* states and images */
105 | .ui-icon { width: 16px; height: 16px; background-image: url(chrome-extension://__MSG_@@extension_id__/theme/images/ui-icons_222222_256x240.png); }
106 | .ui-widget-content .ui-icon {background-image: url(chrome-extension://__MSG_@@extension_id__/theme/images/ui-icons_222222_256x240.png); }
107 | .ui-widget-header .ui-icon {background-image: url(chrome-extension://__MSG_@@extension_id__/theme/images/ui-icons_222222_256x240.png); }
108 | .ui-state-default .ui-icon { background-image: url(chrome-extension://__MSG_@@extension_id__/theme/images/ui-icons_888888_256x240.png); }
109 | .ui-state-hover .ui-icon, .ui-state-focus .ui-icon {background-image: url(chrome-extension://__MSG_@@extension_id__/theme/images/ui-icons_454545_256x240.png); }
110 | .ui-state-active .ui-icon {background-image: url(chrome-extension://__MSG_@@extension_id__/theme/images/ui-icons_454545_256x240.png); }
111 | .ui-state-highlight .ui-icon {background-image: url(chrome-extension://__MSG_@@extension_id__/theme/images/ui-icons_2e83ff_256x240.png); }
112 | .ui-state-error .ui-icon, .ui-state-error-text .ui-icon {background-image: url(chrome-extension://__MSG_@@extension_id__/theme/images/ui-icons_cd0a0a_256x240.png); }
113 |
114 | /* positioning */
115 | .ui-icon-carat-1-n { background-position: 0 0; }
116 | .ui-icon-carat-1-ne { background-position: -16px 0; }
117 | .ui-icon-carat-1-e { background-position: -32px 0; }
118 | .ui-icon-carat-1-se { background-position: -48px 0; }
119 | .ui-icon-carat-1-s { background-position: -64px 0; }
120 | .ui-icon-carat-1-sw { background-position: -80px 0; }
121 | .ui-icon-carat-1-w { background-position: -96px 0; }
122 | .ui-icon-carat-1-nw { background-position: -112px 0; }
123 | .ui-icon-carat-2-n-s { background-position: -128px 0; }
124 | .ui-icon-carat-2-e-w { background-position: -144px 0; }
125 | .ui-icon-triangle-1-n { background-position: 0 -16px; }
126 | .ui-icon-triangle-1-ne { background-position: -16px -16px; }
127 | .ui-icon-triangle-1-e { background-position: -32px -16px; }
128 | .ui-icon-triangle-1-se { background-position: -48px -16px; }
129 | .ui-icon-triangle-1-s { background-position: -64px -16px; }
130 | .ui-icon-triangle-1-sw { background-position: -80px -16px; }
131 | .ui-icon-triangle-1-w { background-position: -96px -16px; }
132 | .ui-icon-triangle-1-nw { background-position: -112px -16px; }
133 | .ui-icon-triangle-2-n-s { background-position: -128px -16px; }
134 | .ui-icon-triangle-2-e-w { background-position: -144px -16px; }
135 | .ui-icon-arrow-1-n { background-position: 0 -32px; }
136 | .ui-icon-arrow-1-ne { background-position: -16px -32px; }
137 | .ui-icon-arrow-1-e { background-position: -32px -32px; }
138 | .ui-icon-arrow-1-se { background-position: -48px -32px; }
139 | .ui-icon-arrow-1-s { background-position: -64px -32px; }
140 | .ui-icon-arrow-1-sw { background-position: -80px -32px; }
141 | .ui-icon-arrow-1-w { background-position: -96px -32px; }
142 | .ui-icon-arrow-1-nw { background-position: -112px -32px; }
143 | .ui-icon-arrow-2-n-s { background-position: -128px -32px; }
144 | .ui-icon-arrow-2-ne-sw { background-position: -144px -32px; }
145 | .ui-icon-arrow-2-e-w { background-position: -160px -32px; }
146 | .ui-icon-arrow-2-se-nw { background-position: -176px -32px; }
147 | .ui-icon-arrowstop-1-n { background-position: -192px -32px; }
148 | .ui-icon-arrowstop-1-e { background-position: -208px -32px; }
149 | .ui-icon-arrowstop-1-s { background-position: -224px -32px; }
150 | .ui-icon-arrowstop-1-w { background-position: -240px -32px; }
151 | .ui-icon-arrowthick-1-n { background-position: 0 -48px; }
152 | .ui-icon-arrowthick-1-ne { background-position: -16px -48px; }
153 | .ui-icon-arrowthick-1-e { background-position: -32px -48px; }
154 | .ui-icon-arrowthick-1-se { background-position: -48px -48px; }
155 | .ui-icon-arrowthick-1-s { background-position: -64px -48px; }
156 | .ui-icon-arrowthick-1-sw { background-position: -80px -48px; }
157 | .ui-icon-arrowthick-1-w { background-position: -96px -48px; }
158 | .ui-icon-arrowthick-1-nw { background-position: -112px -48px; }
159 | .ui-icon-arrowthick-2-n-s { background-position: -128px -48px; }
160 | .ui-icon-arrowthick-2-ne-sw { background-position: -144px -48px; }
161 | .ui-icon-arrowthick-2-e-w { background-position: -160px -48px; }
162 | .ui-icon-arrowthick-2-se-nw { background-position: -176px -48px; }
163 | .ui-icon-arrowthickstop-1-n { background-position: -192px -48px; }
164 | .ui-icon-arrowthickstop-1-e { background-position: -208px -48px; }
165 | .ui-icon-arrowthickstop-1-s { background-position: -224px -48px; }
166 | .ui-icon-arrowthickstop-1-w { background-position: -240px -48px; }
167 | .ui-icon-arrowreturnthick-1-w { background-position: 0 -64px; }
168 | .ui-icon-arrowreturnthick-1-n { background-position: -16px -64px; }
169 | .ui-icon-arrowreturnthick-1-e { background-position: -32px -64px; }
170 | .ui-icon-arrowreturnthick-1-s { background-position: -48px -64px; }
171 | .ui-icon-arrowreturn-1-w { background-position: -64px -64px; }
172 | .ui-icon-arrowreturn-1-n { background-position: -80px -64px; }
173 | .ui-icon-arrowreturn-1-e { background-position: -96px -64px; }
174 | .ui-icon-arrowreturn-1-s { background-position: -112px -64px; }
175 | .ui-icon-arrowrefresh-1-w { background-position: -128px -64px; }
176 | .ui-icon-arrowrefresh-1-n { background-position: -144px -64px; }
177 | .ui-icon-arrowrefresh-1-e { background-position: -160px -64px; }
178 | .ui-icon-arrowrefresh-1-s { background-position: -176px -64px; }
179 | .ui-icon-arrow-4 { background-position: 0 -80px; }
180 | .ui-icon-arrow-4-diag { background-position: -16px -80px; }
181 | .ui-icon-extlink { background-position: -32px -80px; }
182 | .ui-icon-newwin { background-position: -48px -80px; }
183 | .ui-icon-refresh { background-position: -64px -80px; }
184 | .ui-icon-shuffle { background-position: -80px -80px; }
185 | .ui-icon-transfer-e-w { background-position: -96px -80px; }
186 | .ui-icon-transferthick-e-w { background-position: -112px -80px; }
187 | .ui-icon-folder-collapsed { background-position: 0 -96px; }
188 | .ui-icon-folder-open { background-position: -16px -96px; }
189 | .ui-icon-document { background-position: -32px -96px; }
190 | .ui-icon-document-b { background-position: -48px -96px; }
191 | .ui-icon-note { background-position: -64px -96px; }
192 | .ui-icon-mail-closed { background-position: -80px -96px; }
193 | .ui-icon-mail-open { background-position: -96px -96px; }
194 | .ui-icon-suitcase { background-position: -112px -96px; }
195 | .ui-icon-comment { background-position: -128px -96px; }
196 | .ui-icon-person { background-position: -144px -96px; }
197 | .ui-icon-print { background-position: -160px -96px; }
198 | .ui-icon-trash { background-position: -176px -96px; }
199 | .ui-icon-locked { background-position: -192px -96px; }
200 | .ui-icon-unlocked { background-position: -208px -96px; }
201 | .ui-icon-bookmark { background-position: -224px -96px; }
202 | .ui-icon-tag { background-position: -240px -96px; }
203 | .ui-icon-home { background-position: 0 -112px; }
204 | .ui-icon-flag { background-position: -16px -112px; }
205 | .ui-icon-calendar { background-position: -32px -112px; }
206 | .ui-icon-cart { background-position: -48px -112px; }
207 | .ui-icon-pencil { background-position: -64px -112px; }
208 | .ui-icon-clock { background-position: -80px -112px; }
209 | .ui-icon-disk { background-position: -96px -112px; }
210 | .ui-icon-calculator { background-position: -112px -112px; }
211 | .ui-icon-zoomin { background-position: -128px -112px; }
212 | .ui-icon-zoomout { background-position: -144px -112px; }
213 | .ui-icon-search { background-position: -160px -112px; }
214 | .ui-icon-wrench { background-position: -176px -112px; }
215 | .ui-icon-gear { background-position: -192px -112px; }
216 | .ui-icon-heart { background-position: -208px -112px; }
217 | .ui-icon-star { background-position: -224px -112px; }
218 | .ui-icon-link { background-position: -240px -112px; }
219 | .ui-icon-cancel { background-position: 0 -128px; }
220 | .ui-icon-plus { background-position: -16px -128px; }
221 | .ui-icon-plusthick { background-position: -32px -128px; }
222 | .ui-icon-minus { background-position: -48px -128px; }
223 | .ui-icon-minusthick { background-position: -64px -128px; }
224 | .ui-icon-close { background-position: -80px -128px; }
225 | .ui-icon-closethick { background-position: -96px -128px; }
226 | .ui-icon-key { background-position: -112px -128px; }
227 | .ui-icon-lightbulb { background-position: -128px -128px; }
228 | .ui-icon-scissors { background-position: -144px -128px; }
229 | .ui-icon-clipboard { background-position: -160px -128px; }
230 | .ui-icon-copy { background-position: -176px -128px; }
231 | .ui-icon-contact { background-position: -192px -128px; }
232 | .ui-icon-image { background-position: -208px -128px; }
233 | .ui-icon-video { background-position: -224px -128px; }
234 | .ui-icon-script { background-position: -240px -128px; }
235 | .ui-icon-alert { background-position: 0 -144px; }
236 | .ui-icon-info { background-position: -16px -144px; }
237 | .ui-icon-notice { background-position: -32px -144px; }
238 | .ui-icon-help { background-position: -48px -144px; }
239 | .ui-icon-check { background-position: -64px -144px; }
240 | .ui-icon-bullet { background-position: -80px -144px; }
241 | .ui-icon-radio-off { background-position: -96px -144px; }
242 | .ui-icon-radio-on { background-position: -112px -144px; }
243 | .ui-icon-pin-w { background-position: -128px -144px; }
244 | .ui-icon-pin-s { background-position: -144px -144px; }
245 | .ui-icon-play { background-position: 0 -160px; }
246 | .ui-icon-pause { background-position: -16px -160px; }
247 | .ui-icon-seek-next { background-position: -32px -160px; }
248 | .ui-icon-seek-prev { background-position: -48px -160px; }
249 | .ui-icon-seek-end { background-position: -64px -160px; }
250 | .ui-icon-seek-start { background-position: -80px -160px; }
251 | /* ui-icon-seek-first is deprecated, use ui-icon-seek-start instead */
252 | .ui-icon-seek-first { background-position: -80px -160px; }
253 | .ui-icon-stop { background-position: -96px -160px; }
254 | .ui-icon-eject { background-position: -112px -160px; }
255 | .ui-icon-volume-off { background-position: -128px -160px; }
256 | .ui-icon-volume-on { background-position: -144px -160px; }
257 | .ui-icon-power { background-position: 0 -176px; }
258 | .ui-icon-signal-diag { background-position: -16px -176px; }
259 | .ui-icon-signal { background-position: -32px -176px; }
260 | .ui-icon-battery-0 { background-position: -48px -176px; }
261 | .ui-icon-battery-1 { background-position: -64px -176px; }
262 | .ui-icon-battery-2 { background-position: -80px -176px; }
263 | .ui-icon-battery-3 { background-position: -96px -176px; }
264 | .ui-icon-circle-plus { background-position: 0 -192px; }
265 | .ui-icon-circle-minus { background-position: -16px -192px; }
266 | .ui-icon-circle-close { background-position: -32px -192px; }
267 | .ui-icon-circle-triangle-e { background-position: -48px -192px; }
268 | .ui-icon-circle-triangle-s { background-position: -64px -192px; }
269 | .ui-icon-circle-triangle-w { background-position: -80px -192px; }
270 | .ui-icon-circle-triangle-n { background-position: -96px -192px; }
271 | .ui-icon-circle-arrow-e { background-position: -112px -192px; }
272 | .ui-icon-circle-arrow-s { background-position: -128px -192px; }
273 | .ui-icon-circle-arrow-w { background-position: -144px -192px; }
274 | .ui-icon-circle-arrow-n { background-position: -160px -192px; }
275 | .ui-icon-circle-zoomin { background-position: -176px -192px; }
276 | .ui-icon-circle-zoomout { background-position: -192px -192px; }
277 | .ui-icon-circle-check { background-position: -208px -192px; }
278 | .ui-icon-circlesmall-plus { background-position: 0 -208px; }
279 | .ui-icon-circlesmall-minus { background-position: -16px -208px; }
280 | .ui-icon-circlesmall-close { background-position: -32px -208px; }
281 | .ui-icon-squaresmall-plus { background-position: -48px -208px; }
282 | .ui-icon-squaresmall-minus { background-position: -64px -208px; }
283 | .ui-icon-squaresmall-close { background-position: -80px -208px; }
284 | .ui-icon-grip-dotted-vertical { background-position: 0 -224px; }
285 | .ui-icon-grip-dotted-horizontal { background-position: -16px -224px; }
286 | .ui-icon-grip-solid-vertical { background-position: -32px -224px; }
287 | .ui-icon-grip-solid-horizontal { background-position: -48px -224px; }
288 | .ui-icon-gripsmall-diagonal-se { background-position: -64px -224px; }
289 | .ui-icon-grip-diagonal-se { background-position: -80px -224px; }
290 |
291 |
292 | /* Misc visuals
293 | ----------------------------------*/
294 |
295 | /* Corner radius */
296 | .ui-corner-all, .ui-corner-top, .ui-corner-left, .ui-corner-tl { -moz-border-radius-topleft: 4px; -webkit-border-top-left-radius: 4px; -khtml-border-top-left-radius: 4px; border-top-left-radius: 4px; }
297 | .ui-corner-all, .ui-corner-top, .ui-corner-right, .ui-corner-tr { -moz-border-radius-topright: 4px; -webkit-border-top-right-radius: 4px; -khtml-border-top-right-radius: 4px; border-top-right-radius: 4px; }
298 | .ui-corner-all, .ui-corner-bottom, .ui-corner-left, .ui-corner-bl { -moz-border-radius-bottomleft: 4px; -webkit-border-bottom-left-radius: 4px; -khtml-border-bottom-left-radius: 4px; border-bottom-left-radius: 4px; }
299 | .ui-corner-all, .ui-corner-bottom, .ui-corner-right, .ui-corner-br { -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 4px; -khtml-border-bottom-right-radius: 4px; border-bottom-right-radius: 4px; }
300 |
301 | /* Overlays */
302 | .ui-widget-overlay { background: #1f2226; opacity: .60; filter:Alpha(Opacity=60); }
303 | .ui-widget-shadow { margin: -8px 0 0 -8px; padding: 8px; background: #1f2226; opacity: .60; filter:Alpha(Opacity=60); -moz-border-radius: 8px; -khtml-border-radius: 8px; -webkit-border-radius: 8px; border-radius: 8px; }/*
304 | * jQuery UI Resizable 1.8.16
305 | *
306 | * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
307 | * Dual licensed under the MIT or GPL Version 2 licenses.
308 | * http://jquery.org/license
309 | *
310 | * http://docs.jquery.com/UI/Resizable#theming
311 | */
312 | .ui-resizable { position: relative;}
313 | .ui-resizable-handle { position: absolute;font-size: 0.1px;z-index: 99999; display: block; }
314 | .ui-resizable-disabled .ui-resizable-handle, .ui-resizable-autohide .ui-resizable-handle { display: none; }
315 | .ui-resizable-n { cursor: n-resize; height: 7px; width: 100%; top: -5px; left: 0; }
316 | .ui-resizable-s { cursor: s-resize; height: 7px; width: 100%; bottom: -5px; left: 0; }
317 | .ui-resizable-e { cursor: e-resize; width: 7px; right: -5px; top: 0; height: 100%; }
318 | .ui-resizable-w { cursor: w-resize; width: 7px; left: -5px; top: 0; height: 100%; }
319 | .ui-resizable-se { cursor: se-resize; width: 12px; height: 12px; right: 1px; bottom: 1px; }
320 | .ui-resizable-sw { cursor: sw-resize; width: 9px; height: 9px; left: -5px; bottom: -5px; }
321 | .ui-resizable-nw { cursor: nw-resize; width: 9px; height: 9px; left: -5px; top: -5px; }
322 | .ui-resizable-ne { cursor: ne-resize; width: 9px; height: 9px; right: -5px; top: -5px;}/*
323 | * jQuery UI Selectable 1.8.16
324 | *
325 | * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
326 | * Dual licensed under the MIT or GPL Version 2 licenses.
327 | * http://jquery.org/license
328 | *
329 | * http://docs.jquery.com/UI/Selectable#theming
330 | */
331 | .ui-selectable-helper { position: absolute; z-index: 100; border:1px dotted black; }
332 | /*
333 | * jQuery UI Accordion 1.8.16
334 | *
335 | * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
336 | * Dual licensed under the MIT or GPL Version 2 licenses.
337 | * http://jquery.org/license
338 | *
339 | * http://docs.jquery.com/UI/Accordion#theming
340 | */
341 | /* IE/Win - Fix animation bug - #4615 */
342 | .ui-accordion { width: 100%; }
343 | .ui-accordion .ui-accordion-header { cursor: pointer; position: relative; margin-top: 1px; zoom: 1; }
344 | .ui-accordion .ui-accordion-li-fix { display: inline; }
345 | .ui-accordion .ui-accordion-header-active { border-bottom: 0 !important; }
346 | .ui-accordion .ui-accordion-header a { display: block; font-size: 1em; padding: .5em .5em .5em .7em; font-weight: bold; }
347 | .ui-accordion-icons .ui-accordion-header a { padding-left: 2.2em; }
348 | .ui-accordion .ui-accordion-header .ui-icon { position: absolute; left: .5em; top: 50%; margin-top: -8px; }
349 | .ui-accordion .ui-accordion-content { padding: 1em 2.2em; border-top: 0; margin-top: -2px; position: relative; top: 1px; margin-bottom: 2px; overflow: auto; display: none; zoom: 1; }
350 | .ui-accordion .ui-accordion-content-active { display: block; }
351 | .ui-accordion .ui-accordion-header, .ui-accordion .ui-accordion-content {
352 | -webkit-border-radius: 0;
353 | -moz-border-radius: 0;
354 | border-radius: 0;
355 | }
356 | /*
357 | * jQuery UI Autocomplete 1.8.16
358 | *
359 | * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
360 | * Dual licensed under the MIT or GPL Version 2 licenses.
361 | * http://jquery.org/license
362 | *
363 | * http://docs.jquery.com/UI/Autocomplete#theming
364 | */
365 | .ui-autocomplete { position: absolute; cursor: default; }
366 |
367 | /* workarounds */
368 | * html .ui-autocomplete { width:1px; } /* without this, the menu expands to 100% in IE6 */
369 |
370 | /*
371 | * jQuery UI Menu 1.8.16
372 | *
373 | * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
374 | * Dual licensed under the MIT or GPL Version 2 licenses.
375 | * http://jquery.org/license
376 | *
377 | * http://docs.jquery.com/UI/Menu#theming
378 | */
379 | .ui-menu {
380 | list-style:none;
381 | padding: 0;
382 | margin: 0;
383 | display:block;
384 | float: left;
385 | -webkit-border-radius: 0;
386 | -moz-border-radius: 0;
387 | border-radius: 0;
388 | -webkit-box-shadow: 0 1px 2px rgba(0,0,0,0.15);
389 | -moz-box-shadow: 0 1px 2px rgba(0,0,0,0.15);
390 | box-shadow: 0 1px 2px rgba(0,0,0,0.15);
391 | }
392 | .ui-menu .ui-menu {
393 | margin-top: -3px;
394 | }
395 | .ui-menu .ui-menu-item {
396 | margin:0;
397 | padding: 0;
398 | zoom: 1;
399 | float: left;
400 | clear: left;
401 | width: 100%;
402 | background-image: none;
403 | }
404 | .ui-menu .ui-menu-item a {
405 | text-decoration:none;
406 | display:block;
407 | padding:.2em .4em;
408 | line-height:1.5;
409 | zoom:1;
410 | border: none;
411 | -webkit-border-radius: 0;
412 | -moz-border-radius: 0;
413 | border-radius: 0;
414 | font-size: 12px;
415 | }
416 | .ui-menu .ui-menu-item a.ui-state-hover {
417 | background: #14A4FF;
418 | color: #FFF;
419 | text-shadow: 0 -1px 0 #0988d9;
420 |
421 | }
422 | .ui-menu .ui-menu-item a.ui-state-hover,
423 | .ui-menu .ui-menu-item a.ui-state-active {
424 | font-weight: normal;
425 | }
426 | /*
427 | * jQuery UI Button 1.8.16
428 | *
429 | * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
430 | * Dual licensed under the MIT or GPL Version 2 licenses.
431 | * http://jquery.org/license
432 | *
433 | * http://docs.jquery.com/UI/Button#theming
434 | */
435 | .ui-button { display: inline-block; position: relative; padding: 0; margin-right: .1em; text-decoration: none !important; font-weight: bold; cursor: pointer; text-align: center; zoom: 1; overflow: visible; *display: inline; *zoom: 1; } /* the overflow property removes extra width in IE */
436 | .ui-button-icon-only { width: 2.2em; } /* to make room for the icon, a width needs to be set here */
437 | button.ui-button-icon-only { width: 2.4em; } /* button elements seem to need a little more width */
438 | .ui-button-icons-only { width: 3.4em; }
439 | button.ui-button-icons-only { width: 3.7em; }
440 |
441 | /*button text element */
442 | .ui-button .ui-button-text { display: block; line-height: 1.4; }
443 | .ui-button-text-only .ui-button-text { padding: .4em 1em; }
444 | .ui-button-icon-only .ui-button-text, .ui-button-icons-only .ui-button-text { padding: .4em; text-indent: -9999999px; }
445 | .ui-button-text-icon-primary .ui-button-text, .ui-button-text-icons .ui-button-text { padding: .4em 1em .4em 2.1em; }
446 | .ui-button-text-icon-secondary .ui-button-text, .ui-button-text-icons .ui-button-text { padding: .4em 2.1em .4em 1em; }
447 | .ui-button-text-icons .ui-button-text { padding-left: 2.1em; padding-right: 2.1em; }
448 | /* no icon support for input elements, provide padding by default */
449 | input.ui-button { height: 30px !important; padding: .4em 1em; }
450 |
451 | /*button icon element(s) */
452 | .ui-button-icon-only .ui-icon, .ui-button-text-icon-primary .ui-icon, .ui-button-text-icon-secondary .ui-icon, .ui-button-text-icons .ui-icon, .ui-button-icons-only .ui-icon { position: absolute; top: 50%; margin-top: -8px; }
453 | .ui-button-icon-only .ui-icon { left: 50%; margin-left: -8px; }
454 | .ui-button-text-icon-primary .ui-button-icon-primary, .ui-button-text-icons .ui-button-icon-primary, .ui-button-icons-only .ui-button-icon-primary { left: .5em; }
455 | .ui-button-text-icon-secondary .ui-button-icon-secondary, .ui-button-text-icons .ui-button-icon-secondary, .ui-button-icons-only .ui-button-icon-secondary { right: .5em; }
456 | .ui-button-text-icons .ui-button-icon-secondary, .ui-button-icons-only .ui-button-icon-secondary { right: .5em; }
457 | .ui-button .ui-icon { background-image: url(chrome-extension://__MSG_@@extension_id__/theme/images/ui-icons_FFFFFF_256x240.png); }
458 |
459 |
460 | /*button sets*/
461 | .ui-buttonset { margin-right: 7px; }
462 | .ui-buttonset .ui-button { margin-left: 0; margin-right: -.325em; }
463 | .ui-buttonset .ui-button.ui-state-active { border-color: #144c71; background: #0a54a5 none; top: 0; }
464 | .ui-buttonset .ui-button.ui-state-active {
465 | -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.5) inset, 0 2px 2px rgba(12, 106, 106, 0.5) inset !important;
466 | -moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.5) inset, 0 2px 2px rgba(12, 106, 106, 0.5) inset !important;
467 | box-shadow: 0 1px 4px rgba(0, 0, 0, 0.5) inset, 0 2px 2px rgba(12, 106, 106, 0.5) inset !important;
468 | }
469 | .ui-buttonset .ui-button.ui-state-active span { text-shadow: 0 -1px 0 rgba(0,0,0,0.35); }
470 |
471 | /* workarounds */
472 | button.ui-button::-moz-focus-inner { border: 0; padding: 0; } /* reset extra padding in Firefox */
473 | .ui-button-text-icon-primary { padding: 1px !important; }
474 | @media screen and (-webkit-min-device-pixel-ratio:0){
475 | .ui-button-text-icon-primary { padding: 2px 1px !important; }
476 | }
477 | /*
478 | * jQuery UI Dialog 1.8.16
479 | *
480 | * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
481 | * Dual licensed under the MIT or GPL Version 2 licenses.
482 | * http://jquery.org/license
483 | *
484 | * http://docs.jquery.com/UI/Dialog#theming
485 | */
486 | .ui-dialog { position: absolute; padding: .2em; width: 300px; overflow: visible; border: 0 none; -webkit-box-shadow: 0 1px 4px rgba(0,0,0,0.75); -moz-box-shadow: 0 1px 4px rgba(0,0,0,0.75); box-shadow: 0 1px 4px rgba(0,0,0,0.75); }
487 | .ui-dialog .ui-dialog-titlebar { position: relative; background: transparent !important; padding: 0 0 8px 0; margin: 20px 20px 5px 20px; border: solid #e5e5e5; border-width: 0 0 1px 0; -webkit-border-radius: 0; -moz-border-radius: 0; border-radius: 0; }
488 | .ui-dialog .ui-dialog-title { float: left; margin: .1em 16px .1em 0; color: #353536; font-size: 20px !important; }
489 | .ui-dialog .ui-dialog-titlebar-close { position: absolute; right: -32px; top: -32px; margin: 0; width: 30px; height: 30px; background: url(chrome-extension://__MSG_@@extension_id__/theme/images/modalClose.png) 0 0 no-repeat; border: 0 !important; z-index: 10000;}
490 | .ui-dialog .ui-dialog-titlebar-close span { display: none; }
491 | .ui-dialog .ui-dialog-titlebar-close:hover, .ui-dialog .ui-dialog-titlebar-close:focus { padding: 0; }
492 | .ui-dialog .ui-dialog-content { position: relative; border: 0; padding: 15px 20px 20px 20px; background: none; overflow: auto; zoom: 1; }
493 | .ui-dialog .ui-dialog-buttonpane { text-align: left; border: solid #e5e5e5; border-width: 1px 0 0 0; background: transparent; margin: 20px 20px 10px 20px; padding: 10px 0 0 0; }
494 | .ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset { float: right; }
495 | .ui-dialog .ui-dialog-buttonpane button { margin: .5em .4em .5em 0; cursor: pointer; }
496 | .ui-dialog .ui-resizable-se { width: 14px; height: 14px; right: 3px; bottom: 3px; }
497 | .ui-draggable .ui-dialog-titlebar { cursor: move; }
498 | /*
499 | * jQuery UI Slider 1.8.16
500 | *
501 | * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
502 | * Dual licensed under the MIT or GPL Version 2 licenses.
503 | * http://jquery.org/license
504 | *
505 | * http://docs.jquery.com/UI/Slider#theming
506 | */
507 | .ui-slider { position: relative; text-align: left; background: #838688; border: none; -webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.6) inset; -moz-box-shadow: 0 1px 3px rgba(0,0,0,0.6) inset; box-shadow: 0 1px 3px rgba(0,0,0,0.6) inset; display: inline-block; *display: inline !important; *zoom: 1; }
508 | .ui-slider .ui-slider-handle { position: absolute; z-index: 2; width: 17px; height: 21px; cursor: default; background: url(chrome-extension://__MSG_@@extension_id__/theme/images/slider_handles.png) 0 0 no-repeat; outline: none; -webkit-border-radius: 0; -moz-border-radius: 0; border-radius: 0; border: none; }
509 | .ui-slider .ui-slider-range { position: absolute; z-index: 1; font-size: .7em; display: block; border: 0; background: #14a4ff; -webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.6) inset; -moz-box-shadow: 0 1px 3px rgba(0,0,0,0.6) inset; box-shadow: 0 1px 3px rgba(0,0,0,0.6) inset; -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; }
510 | .ui-slider .ui-slider-handle.ui-state-active { background-position: -17px 0; }
511 |
512 | .ui-slider-horizontal { height: 6px; }
513 | .ui-slider-horizontal .ui-slider-handle { top: -5px; margin-left: -.6em; }
514 | .ui-slider-horizontal .ui-slider-range { top: 0; height: 100%; }
515 | .ui-slider-horizontal .ui-slider-range-min { left: 0; }
516 | .ui-slider-horizontal .ui-slider-range-max { right: 0; }
517 |
518 | .ui-slider-vertical { width: .8em; height: 100px; }
519 | .ui-slider-vertical .ui-slider-handle { left: -.3em; margin-left: 0; margin-bottom: -.6em; }
520 | .ui-slider-vertical .ui-slider-range { left: 0; width: 100%; }
521 | .ui-slider-vertical .ui-slider-range-min { bottom: 0; }
522 | .ui-slider-vertical .ui-slider-range-max { top: 0; }/*
523 | * jQuery UI Tabs 1.8.16
524 | *
525 | * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
526 | * Dual licensed under the MIT or GPL Version 2 licenses.
527 | * http://jquery.org/license
528 | *
529 | * http://docs.jquery.com/UI/Tabs#theming
530 | */
531 | .ui-tabs { position: relative; zoom: 1; border: none; background: none; } /* position: relative prevents IE scroll bug (element with position: relative inside container with overflow: auto appear as "fixed") */
532 | .ui-tabs .ui-tabs-nav { margin: 0 0 -1px 0; background: none; border: 0;}
533 | .ui-tabs .ui-tabs-nav li { list-style: none; float: left; position: relative; margin: 0 .2em 1px 0; border-bottom: 0 !important; padding: 0; white-space: nowrap; }
534 | .ui-tabs .ui-tabs-nav li a { float: left; padding: .5em 1em; text-decoration: none; font-size: 14px; font-weight: bold; }
535 | .ui-tabs .ui-tabs-nav li.ui-tabs-selected { margin-bottom: 0; padding-bottom: 1px; }
536 | .ui-tabs .ui-tabs-nav li.ui-tabs-selected a, .ui-tabs .ui-tabs-nav li.ui-state-disabled a, .ui-tabs .ui-tabs-nav li.ui-state-processing a { cursor: text; }
537 | .ui-tabs .ui-tabs-nav li a, .ui-tabs.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-selected a { cursor: pointer; } /* first selector in group seems obsolete, but required to overcome bug in Opera applying cursor: text overall if defined elsewhere... */
538 | .ui-tabs .ui-tabs-panel { display: block; border-width: 1px; padding: 1em 1.4em; background: #FFF; }
539 | .ui-tabs .ui-tabs-hide { display: none !important; }
540 |
541 | /* radius reset */
542 | .ui-tabs, .ui-tabs .ui-tabs-nav, .ui-tabs-panel { border-color: #e5e5e5; -webkit-border-radius: 0; -moz-border-radius: 0; border-radius: 0; }
543 | .ui-tabs .ui-tabs-nav > li { -webkit-border-radius: 3px 3px 0 0; -moz-border-radius: 3px 3px 0 0; border-radius: 3px 3px 0 0; }
544 |
545 | /*
546 | * jQuery UI Datepicker 1.8.16
547 | *
548 | * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
549 | * Dual licensed under the MIT or GPL Version 2 licenses.
550 | * http://jquery.org/license
551 | *
552 | * http://docs.jquery.com/UI/Datepicker#theming
553 | */
554 | .ui-datepicker { width: auto; padding: 0; display: none; border: 0 none; }
555 | .ui-datepicker {
556 | -webkit-box-shadow: 0 1px 2px rgba(0,0,0,0.35);
557 | -moz-box-shadow: 0 1px 2px rgba(0,0,0,0.35);
558 | box-shadow: 0 1px 2px rgba(0,0,0,0.35);
559 | -webkit-border-radius: 0;
560 | -moz-border-radius: 0;
561 | border-radius: 0;
562 | }
563 | .ui-datepicker .ui-datepicker-header { position: relative; padding:.4em 0; border: 1px solid #3b3e40; }
564 | .ui-datepicker .ui-datepicker-header {
565 | background: #595c5d; /* Old browsers */
566 | background: -moz-linear-gradient(top, #595c5d 0%, #474a4b 100%); /* FF3.6+ */
567 | background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#595c5d), color-stop(100%,#474a4b)); /* Chrome,Safari4+ */
568 | background: -webkit-linear-gradient(top, #595c5d 0%,#474a4b 100%); /* Chrome10+,Safari5.1+ */
569 | background: -o-linear-gradient(top, #595c5d 0%,#474a4b 100%); /* Opera 11.10+ */
570 | background: -ms-linear-gradient(top, #595c5d 0%,#474a4b 100%); /* IE10+ */
571 | background: linear-gradient(top, #595c5d 0%,#474a4b 100%); /* W3C */
572 | filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#595c5d', endColorstr='#474a4b',GradientType=0 ); /* IE6-9 */
573 | -webkit-box-shadow: 0 1px 0 rgba(255,255,255,0.15) inset;
574 | -moz-box-shadow: 0 1px 0 rgba(255,255,255,0.15) inset;
575 | box-shadow: 0 1px 0 rgba(255,255,255,0.15) inset;
576 | -webkit-border-radius: 0;
577 | -moz-border-radius: 0;
578 | border-radius: 0;
579 | }
580 | .ui-datepicker th {
581 | color: #e8e9ea !important;
582 | text-shadow: 0 -1px 0 rgba(0,0,0,0.4);
583 | border: #27292b solid !important;
584 | border-width: 1px 0 !important;
585 | background: #77797a; /* Old browsers */
586 | background: -moz-linear-gradient(top, #77797a 0%, #5b5e5e 100%); /* FF3.6+ */
587 | background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#77797a), color-stop(100%,#5b5e5e)); /* Chrome,Safari4+ */
588 | background: -webkit-linear-gradient(top, #77797a 0%,#5b5e5e 100%); /* Chrome10+,Safari5.1+ */
589 | background: -o-linear-gradient(top, #77797a 0%,#5b5e5e 100%); /* Opera 11.10+ */
590 | background: -ms-linear-gradient(top, #77797a 0%,#5b5e5e 100%); /* IE10+ */
591 | background: linear-gradient(top, #77797a 0%,#5b5e5e 100%); /* W3C */
592 | filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#77797a', endColorstr='#5b5e5e',GradientType=0 ); /* IE6-9 */
593 | -webkit-box-shadow: 0 1px 0 rgba(255,255,255,0.15) inset;
594 | -moz-box-shadow: 0 1px 0 rgba(255,255,255,0.15) inset;
595 | box-shadow: 0 1px 0 rgba(255,255,255,0.15) inset;
596 | }
597 | .ui-datepicker .ui-datepicker-prev, .ui-datepicker .ui-datepicker-next { position:absolute; top: 9px; width: 16px; height: 16px; cursor: pointer; }
598 | .ui-datepicker .ui-datepicker-prev-hover, .ui-datepicker .ui-datepicker-next-hover { top: 9px; }
599 | .ui-datepicker .ui-datepicker-prev { left: 2px; }
600 | .ui-datepicker .ui-datepicker-next { right: 2px; }
601 | .ui-datepicker .ui-datepicker-prev-hover { left: 2px; }
602 | .ui-datepicker .ui-datepicker-next-hover { right: 2px; }
603 | .ui-datepicker .ui-datepicker-prev span, .ui-datepicker .ui-datepicker-next span { display: block; position: absolute; left: 50%; margin-left: -8px; top: 50%; margin-top: -8px; }
604 | .ui-datepicker .ui-datepicker-title { margin: 0 2.3em; line-height: 1.8em; text-align: center; color: #e8e9ea; text-shadow: 0 -1px 0 rgba(0,0,0,0.4); }
605 | .ui-datepicker .ui-datepicker-title select { font-size:1em; margin:1px 0; }
606 | .ui-datepicker select.ui-datepicker-month-year {width: 100%;}
607 | .ui-datepicker select.ui-datepicker-month,
608 | .ui-datepicker select.ui-datepicker-year { width: 49%;}
609 | .ui-datepicker table {width: 1px; font-size: .9em; border-collapse: collapse; margin: -1px 0 0 0; }
610 | .ui-datepicker th { padding: .7em 0; text-align: center; font-weight: bold; border: 0; font-size: 10px; color: #acacac; border-bottom: 1px solid #cdcdcd !important; }
611 | .ui-datepicker td { border: 0; padding: 0; border: 1px solid #cdcdcd; }
612 | .ui-datepicker td a { display: block; padding: 0 !important; width: 30px; height: 30px; border: 0 none !important;/*border: 1px solid #cdcdcd !important;*/ line-height: 30px; text-align: center; font-size: 12px; text-decoration: none; font-weight: bold !important; }
613 | .ui-datepicker td a.ui-state-default {
614 | color: #5d5d5d;
615 | text-shadow: 0 1px 0 rgba(255,255,255,0.5);
616 | background: #e8e9ea; /* Old browsers */
617 | background: -moz-linear-gradient(top, #e8e9ea 0%, #e3e3e3 100%); /* FF3.6+ */
618 | background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#e8e9ea), color-stop(100%,#e3e3e3)); /* Chrome,Safari4+ */
619 | background: -webkit-linear-gradient(top, #e8e9ea 0%,#e3e3e3 100%); /* Chrome10+,Safari5.1+ */
620 | background: -o-linear-gradient(top, #e8e9ea 0%,#e3e3e3 100%); /* Opera 11.10+ */
621 | background: -ms-linear-gradient(top, #e8e9ea 0%,#e3e3e3 100%); /* IE10+ */
622 | background: linear-gradient(top, #e8e9ea 0%,#e3e3e3 100%); /* W3C */
623 | filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e8e9ea', endColorstr='#e3e3e3',GradientType=0 ); /* IE6-9 */
624 | -webkit-box-shadow: 0 1px 0 rgba(255,255,255,0.35) inset;
625 | -moz-box-shadow: 0 1px 0 rgba(255,255,255,0.35) inset;
626 | box-shadow: 0 1px 0 rgba(255,255,255,0.35) inset;
627 | }
628 | .ui-datepicker tr:first-child {
629 | border: 1px solid #27292b;
630 | }
631 | .ui-datepicker-current-day a {
632 | background: #20a8fe !important;
633 | filter: none !important;
634 | color: #FFF !important;
635 | text-shadow: 0 -1px 0 rgba(0,0,0,0.25) !important;
636 | -webkit-box-shadow: 0 0 7px #022a44 inset !important;
637 | -moz-box-shadow: 0 0 7px #022a44 inset !important;
638 | box-shadow: 0 0 7px #022a44 inset !important;
639 | }
640 | td.ui-datepicker-unselectable {
641 | border-color: #ebebeb !important;
642 | background: #fcfcfc; /* Old browsers */
643 | background: -moz-linear-gradient(top, #fcfcfc 0%, #efefef 100%); /* FF3.6+ */
644 | background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#fcfcfc), color-stop(100%,#efefef)); /* Chrome,Safari4+ */
645 | background: -webkit-linear-gradient(top, #fcfcfc 0%,#efefef 100%); /* Chrome10+,Safari5.1+ */
646 | background: -o-linear-gradient(top, #fcfcfc 0%,#efefef 100%); /* Opera 11.10+ */
647 | background: -ms-linear-gradient(top, #fcfcfc 0%,#efefef 100%); /* IE10+ */
648 | background: linear-gradient(top, #fcfcfc 0%,#efefef 100%); /* W3C */
649 | filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fcfcfc', endColorstr='#efefef',GradientType=0 ); /* IE6-9 */
650 | }
651 | .ui-datepicker .ui-datepicker-buttonpane { background-image: none; margin: .7em 0 0 0; padding:0 .2em; border-left: 0; border-right: 0; border-bottom: 0; }
652 | .ui-datepicker .ui-datepicker-buttonpane button { float: right; margin: .5em .2em .4em; cursor: pointer; padding: .2em .6em .3em .6em; width:auto; overflow:visible; }
653 | .ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current { float:left; }
654 | .ui-datepicker .ui-icon-circle-triangle-w { background: url(chrome-extension://__MSG_@@extension_id__/theme/images/icons_16.png) 0 -128px no-repeat !important; }
655 | .ui-datepicker .ui-icon-circle-triangle-e { background: url(chrome-extension://__MSG_@@extension_id__/theme/images/icons_16.png) 0 -112px no-repeat !important; }
656 | .ui-datepicker-header .ui-state-hover { border: 0; background: none; }
657 |
658 | /* with multiple calendars */
659 | .ui-datepicker.ui-datepicker-multi { width:auto; }
660 | .ui-datepicker-multi .ui-datepicker-group { float:left; }
661 | .ui-datepicker-multi .ui-datepicker-group table { width:95%; margin:0 auto .4em; }
662 | .ui-datepicker-multi-2 .ui-datepicker-group { width:50%; }
663 | .ui-datepicker-multi-3 .ui-datepicker-group { width:33.3%; }
664 | .ui-datepicker-multi-4 .ui-datepicker-group { width:25%; }
665 | .ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header { border-left-width:0; }
666 | .ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header { border-left-width:0; }
667 | .ui-datepicker-multi .ui-datepicker-buttonpane { clear:left; }
668 | .ui-datepicker-row-break { clear:both; width:100%; font-size:0em; }
669 |
670 | /* RTL support */
671 | .ui-datepicker-rtl { direction: rtl; }
672 | .ui-datepicker-rtl .ui-datepicker-prev { right: 2px; left: auto; }
673 | .ui-datepicker-rtl .ui-datepicker-next { left: 2px; right: auto; }
674 | .ui-datepicker-rtl .ui-datepicker-prev:hover { right: 2px; left: auto; }
675 | .ui-datepicker-rtl .ui-datepicker-next:hover { left: 2px; right: auto; }
676 | .ui-datepicker-rtl .ui-datepicker-buttonpane { clear:right; }
677 | .ui-datepicker-rtl .ui-datepicker-buttonpane button { float: left; }
678 | .ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current { float:right; }
679 | .ui-datepicker-rtl .ui-datepicker-group { float:right; }
680 | .ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header { border-right-width:0; border-left-width:1px; }
681 | .ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header { border-right-width:0; border-left-width:1px; }
682 |
683 | /* IE6 IFRAME FIX (taken from datepicker 1.5.3 */
684 | .ui-datepicker-cover {
685 | display: none; /*sorry for IE5*/
686 | display/**/: block; /*sorry for IE5*/
687 | position: absolute; /*must have*/
688 | z-index: -1; /*must have*/
689 | filter: mask(); /*must have*/
690 | top: -4px; /*must have*/
691 | left: -4px; /*must have*/
692 | width: 200px; /*must have*/
693 | height: 200px; /*must have*/
694 | }/*
695 | * jQuery UI Progressbar 1.8.16
696 | *
697 | * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
698 | * Dual licensed under the MIT or GPL Version 2 licenses.
699 | * http://jquery.org/license
700 | *
701 | * http://docs.jquery.com/UI/Progressbar#theming
702 | */
703 | .ui-progressbar { height: 10px; text-align: left; border: 0 none; -webkit-border-radius: 0; -moz-border-radius: 0; border-radius: 0; background: #333; -webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.35) inset, 0 1px 0 rgba(255,255,255,0.15); -moz-box-shadow: 0 1px 3px rgba(0,0,0,0.35) inset, 0 1px 0 rgba(255,255,255,0.15); box-shadow: 0 1px 3px rgba(0,0,0,0.35) inset, 0 1px 0 rgba(255,255,255,0.15); }
704 | .ui-progressbar .ui-progressbar-value { margin: -1px; height:100%; border: 0 none; -webkit-border-radius: 0; -moz-border-radius: 0; border-radius: 0; }
705 | .ui-progressbar .ui-progressbar-value {
706 | background: #27abff; /* Old browsers */
707 | background: -moz-linear-gradient(top, #27abff 0%, #059eff 100%); /* FF3.6+ */
708 | background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#27abff), color-stop(100%,#059eff)); /* Chrome,Safari4+ */
709 | background: -webkit-linear-gradient(top, #27abff 0%,#059eff 100%); /* Chrome10+,Safari5.1+ */
710 | background: -o-linear-gradient(top, #27abff 0%,#059eff 100%); /* Opera11.10+ */
711 | background: -ms-linear-gradient(top, #27abff 0%,#059eff 100%); /* IE10+ */
712 | background: linear-gradient(top, #27abff 0%,#059eff 100%); /* W3C */
713 | }
714 |
715 |
716 |
717 |
718 |
719 |
720 |
721 |
722 | /* TOGGLE SWITCH CONTROL */
723 | select.ui-toggle-switch { display: none; }
724 | .ui-toggle-switch, .ui-toggle-switch .ui-slider, .ui-toggle-switch label { display: inline-block; *display: inline; zoom: 1; }
725 | .ui-toggle-switch label { text-transform: uppercase; margin: 0 8px; font-weight: bold; border: 0; font-size: 0.8em; opacity: 0.5; filter: alpha(opacity=50); }
726 | .ui-toggle-switch label:first-child { margin-left: 0; }
727 | .ui-toggle-switch label.ui-state-active { opacity: 1; filter: alpha(opacity=100); }
728 | .ui-toggle-switch .ui-slider { margin: 0 8px; }
729 |
730 |
731 |
732 |
733 |
734 | .ui-button, button.ui-button.ui-state-default, .ui-button.ui-state-default {
735 | border: 1px solid #168dd9;
736 | color: #FFF;
737 | padding: 6px 12px;
738 | font-size: 12px;
739 | box-shadow: 0 1px 0 #53bcff inset, 0 1px 2px rgba(0,0,0,0.2) !important;
740 | background: #27abff; /* Old browsers */
741 | background: -moz-linear-gradient(top, #27abff 0%, #059eff 100%); /* FF3.6+ */
742 | background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#27abff), color-stop(100%,#059eff)); /* Chrome,Safari4+ */
743 | background: -webkit-linear-gradient(top, #27abff 0%,#059eff 100%); /* Chrome10+,Safari5.1+ */
744 | background: -o-linear-gradient(top, #27abff 0%,#059eff 100%); /* Opera11.10+ */
745 | background: -ms-linear-gradient(top, #27abff 0%,#059eff 100%); /* IE10+ */
746 | background: linear-gradient(top, #27abff 0%,#059eff 100%); /* W3C */
747 | -webkit-transition: none;
748 | -moz-transition: none;
749 | -o-transition: none;
750 | }
751 | .ui-button, .ui-button span, button.ui-button.ui-state-default span, .ui-button.ui-state-default span {
752 | text-shadow: 0 -1px 0 #1584de;
753 | }
754 | .ui-button:hover, button.ui-button.ui-state-hover, .ui-button.ui-state-hover {
755 | border: 1px solid #0c6aa6;
756 | box-shadow: 0 1px 0 #58b3ff inset, 0 1px 2px rgba(0,0,0,0.2) !important;
757 | background: #279cff; /* Old browsers */
758 | background: -moz-linear-gradient(top, #279cff 0%, #058dff 100%); /* FF3.6+ */
759 | background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#279cff), color-stop(100%,#058dff)); /* Chrome,Safari4+ */
760 | background: -webkit-linear-gradient(top, #279cff 0%,#058dff 100%); /* Chrome10+,Safari5.1+ */
761 | background: -o-linear-gradient(top, #279cff 0%,#058dff 100%); /* Opera11.10+ */
762 | background: -ms-linear-gradient(top, #279cff 0%,#058dff 100%); /* IE10+ */
763 | background: linear-gradient(top, #279cff 0%,#058dff 100%); /* W3C */
764 | }
765 | .ui-button:hover, .ui-button:hover span, button.ui-button.ui-state-hover span {
766 | text-shadow: 0 -1px 0 #117cc0;
767 | }
768 | .ui-button:active, button.ui-button.ui-state-active, .ui-button.ui-state-active {
769 | border: 1px solid #0c6aa6;
770 | position: relative;
771 | top: 1px;
772 | box-shadow: 0 2px 2px rgba(12,106,106,0.5) inset, 0 1px 2px rgba(0,0,0,0.2) !important;
773 | background: #058dff; /* Old browsers */
774 | background: -moz-linear-gradient(top, #058dff 0%, #279cff 100%); /* FF3.6+ */
775 | background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#058dff), color-stop(100%,#279cff)); /* Chrome,Safari4+ */
776 | background: -webkit-linear-gradient(top, #058dff 0%,#279cff 100%); /* Chrome10+,Safari5.1+ */
777 | background: -o-linear-gradient(top, #058dff 0%,#279cff 100%); /* Opera11.10+ */
778 | background: -ms-linear-gradient(top, #058dff 0%,#279cff 100%); /* IE10+ */
779 | background: linear-gradient(top, #058dff 0%,#279cff 100%); /* W3C */
780 | }
781 | .ui-button:active, .ui-button:active span, button.ui-button.ui-state-active span {
782 | text-shadow: 0 -1px 0 #117cc0;
783 | }
784 | .ui-button:focus,
785 | button.ui-button.ui-state-focus {
786 | border-color: #0f669d;
787 | color: #FFF !important;
788 | text-shadow: 0 -1px 0 #216ea6 !important;
789 | box-shadow: 0 1px 0 rgba(255,255,255,0.2) inset, 0 1px 3px rgba(0,0,0,0.35) !important;
790 | background: #1888ce !important;
791 | }
792 | .ui-button .ui-button-text {
793 | font-size: 12px;
794 | }
795 | button.ui-button span {
796 | text-shadow: 0 -1px 0 #1584de !important;
797 | }
798 | .ui-button-text-only .ui-button-text {
799 | padding: 0;
800 | }
801 | .ui-toggle-switch label {
802 | text-align: left;
803 | width: auto;
804 | cursor: pointer;
805 | }
806 | .inlineSearch .ui-toggle-switch {
807 | margin-top: 3px;
808 | }
809 | .oldie .inlineSearch .ui-toggle-switch {
810 | margin-top: 2px;
811 | }
812 |
813 |
814 | /* === OSX SPECIFIC CLOSE POSITIONING === */
815 | .macosx .ui-dialog-titlebar-close { right: inherit; left:-32px; }
816 | .macosx .ui-dialog-buttonset { float: none; }
817 | .macosx .ui-dialog-buttonset button { float: right; }
818 |
819 |
820 | @media
821 | only screen and (-webkit-min-device-pixel-ratio: 2),
822 | only screen and ( min--moz-device-pixel-ratio: 2),
823 | only screen and ( -o-min-device-pixel-ratio: 2/1) {
824 |
825 | .ui-dialog .ui-dialog-titlebar-close {
826 | background-image: url(chrome-extension://__MSG_@@extension_id__/theme/images/modalClose@2x.png);
827 | background-size: 30px 30px;
828 | }
829 |
830 | .ui-slider .ui-slider-handle {
831 | background-image: url(chrome-extension://__MSG_@@extension_id__/theme/images/slider_handles@2x.png);
832 | background-size: 34px 21px;
833 | }
834 |
835 | }
836 |
--------------------------------------------------------------------------------