├── images ├── hr.gif ├── bullet.png └── nav-bg.gif ├── screens ├── user-script.png └── custom-menu-function.png ├── fonts ├── OpenSans-Bold-webfont.eot ├── OpenSans-Bold-webfont.ttf ├── OpenSans-Bold-webfont.woff ├── OpenSans-Light-webfont.eot ├── OpenSans-Light-webfont.ttf ├── OpenSans-Italic-webfont.eot ├── OpenSans-Italic-webfont.ttf ├── OpenSans-Italic-webfont.woff ├── OpenSans-Light-webfont.woff ├── OpenSans-Regular-webfont.eot ├── OpenSans-Regular-webfont.ttf ├── OpenSans-Regular-webfont.woff ├── OpenSans-Semibold-webfont.eot ├── OpenSans-Semibold-webfont.ttf ├── OpenSans-BoldItalic-webfont.eot ├── OpenSans-BoldItalic-webfont.ttf ├── OpenSans-Semibold-webfont.woff ├── OpenSans-BoldItalic-webfont.woff ├── OpenSans-LightItalic-webfont.eot ├── OpenSans-LightItalic-webfont.ttf ├── OpenSans-LightItalic-webfont.woff ├── OpenSans-SemiboldItalic-webfont.eot ├── OpenSans-SemiboldItalic-webfont.ttf ├── OpenSans-SemiboldItalic-webfont.woff ├── OpenSans-Light-webfont.svg ├── OpenSans-Bold-webfont.svg ├── OpenSans-Semibold-webfont.svg ├── OpenSans-Regular-webfont.svg └── OpenSans-BoldItalic-webfont.svg ├── downloads └── mouse-gestures-suite-2.0.1.xpi ├── params.json ├── download.html ├── custom-functions.html ├── stylesheets ├── pygment_trac.css ├── normalize.css └── styles.css ├── index.html ├── scripts.html └── javascripts └── respond.js /images/hr.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lemon-juice/mouse-gestures-suite/HEAD/images/hr.gif -------------------------------------------------------------------------------- /images/bullet.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lemon-juice/mouse-gestures-suite/HEAD/images/bullet.png -------------------------------------------------------------------------------- /images/nav-bg.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lemon-juice/mouse-gestures-suite/HEAD/images/nav-bg.gif -------------------------------------------------------------------------------- /screens/user-script.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lemon-juice/mouse-gestures-suite/HEAD/screens/user-script.png -------------------------------------------------------------------------------- /fonts/OpenSans-Bold-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lemon-juice/mouse-gestures-suite/HEAD/fonts/OpenSans-Bold-webfont.eot -------------------------------------------------------------------------------- /fonts/OpenSans-Bold-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lemon-juice/mouse-gestures-suite/HEAD/fonts/OpenSans-Bold-webfont.ttf -------------------------------------------------------------------------------- /fonts/OpenSans-Bold-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lemon-juice/mouse-gestures-suite/HEAD/fonts/OpenSans-Bold-webfont.woff -------------------------------------------------------------------------------- /fonts/OpenSans-Light-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lemon-juice/mouse-gestures-suite/HEAD/fonts/OpenSans-Light-webfont.eot -------------------------------------------------------------------------------- /fonts/OpenSans-Light-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lemon-juice/mouse-gestures-suite/HEAD/fonts/OpenSans-Light-webfont.ttf -------------------------------------------------------------------------------- /screens/custom-menu-function.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lemon-juice/mouse-gestures-suite/HEAD/screens/custom-menu-function.png -------------------------------------------------------------------------------- /fonts/OpenSans-Italic-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lemon-juice/mouse-gestures-suite/HEAD/fonts/OpenSans-Italic-webfont.eot -------------------------------------------------------------------------------- /fonts/OpenSans-Italic-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lemon-juice/mouse-gestures-suite/HEAD/fonts/OpenSans-Italic-webfont.ttf -------------------------------------------------------------------------------- /fonts/OpenSans-Italic-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lemon-juice/mouse-gestures-suite/HEAD/fonts/OpenSans-Italic-webfont.woff -------------------------------------------------------------------------------- /fonts/OpenSans-Light-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lemon-juice/mouse-gestures-suite/HEAD/fonts/OpenSans-Light-webfont.woff -------------------------------------------------------------------------------- /fonts/OpenSans-Regular-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lemon-juice/mouse-gestures-suite/HEAD/fonts/OpenSans-Regular-webfont.eot -------------------------------------------------------------------------------- /fonts/OpenSans-Regular-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lemon-juice/mouse-gestures-suite/HEAD/fonts/OpenSans-Regular-webfont.ttf -------------------------------------------------------------------------------- /fonts/OpenSans-Regular-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lemon-juice/mouse-gestures-suite/HEAD/fonts/OpenSans-Regular-webfont.woff -------------------------------------------------------------------------------- /fonts/OpenSans-Semibold-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lemon-juice/mouse-gestures-suite/HEAD/fonts/OpenSans-Semibold-webfont.eot -------------------------------------------------------------------------------- /fonts/OpenSans-Semibold-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lemon-juice/mouse-gestures-suite/HEAD/fonts/OpenSans-Semibold-webfont.ttf -------------------------------------------------------------------------------- /fonts/OpenSans-BoldItalic-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lemon-juice/mouse-gestures-suite/HEAD/fonts/OpenSans-BoldItalic-webfont.eot -------------------------------------------------------------------------------- /fonts/OpenSans-BoldItalic-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lemon-juice/mouse-gestures-suite/HEAD/fonts/OpenSans-BoldItalic-webfont.ttf -------------------------------------------------------------------------------- /fonts/OpenSans-Semibold-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lemon-juice/mouse-gestures-suite/HEAD/fonts/OpenSans-Semibold-webfont.woff -------------------------------------------------------------------------------- /downloads/mouse-gestures-suite-2.0.1.xpi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lemon-juice/mouse-gestures-suite/HEAD/downloads/mouse-gestures-suite-2.0.1.xpi -------------------------------------------------------------------------------- /fonts/OpenSans-BoldItalic-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lemon-juice/mouse-gestures-suite/HEAD/fonts/OpenSans-BoldItalic-webfont.woff -------------------------------------------------------------------------------- /fonts/OpenSans-LightItalic-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lemon-juice/mouse-gestures-suite/HEAD/fonts/OpenSans-LightItalic-webfont.eot -------------------------------------------------------------------------------- /fonts/OpenSans-LightItalic-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lemon-juice/mouse-gestures-suite/HEAD/fonts/OpenSans-LightItalic-webfont.ttf -------------------------------------------------------------------------------- /fonts/OpenSans-LightItalic-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lemon-juice/mouse-gestures-suite/HEAD/fonts/OpenSans-LightItalic-webfont.woff -------------------------------------------------------------------------------- /fonts/OpenSans-SemiboldItalic-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lemon-juice/mouse-gestures-suite/HEAD/fonts/OpenSans-SemiboldItalic-webfont.eot -------------------------------------------------------------------------------- /fonts/OpenSans-SemiboldItalic-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lemon-juice/mouse-gestures-suite/HEAD/fonts/OpenSans-SemiboldItalic-webfont.ttf -------------------------------------------------------------------------------- /fonts/OpenSans-SemiboldItalic-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lemon-juice/mouse-gestures-suite/HEAD/fonts/OpenSans-SemiboldItalic-webfont.woff -------------------------------------------------------------------------------- /params.json: -------------------------------------------------------------------------------- 1 | {"name":"Mouse Gestures Suite","tagline":"","body":"### Welcome to GitHub Pages.\r\nThis automatic page generator is the easiest way to create beautiful pages for all of your projects. Author your page content here using GitHub Flavored Markdown, select a template crafted by a designer, and publish. After your page is generated, you can check out the new branch:\r\n\r\n```\r\n$ cd your_repo_root/repo_name\r\n$ git fetch origin\r\n$ git checkout gh-pages\r\n```\r\n\r\nIf you're using the GitHub for Mac, simply sync your repository and you'll see the new branch.\r\n\r\n### Designer Templates\r\nWe've crafted some handsome templates for you to use. Go ahead and continue to layouts to browse through them. You can easily go back to edit your page before publishing. After publishing your page, you can revisit the page generator and switch to another theme. Your Page content will be preserved if it remained markdown format.\r\n\r\n### Rather Drive Stick?\r\nIf you prefer to not use the automatic generator, push a branch named `gh-pages` to your repository to create a page manually. In addition to supporting regular HTML content, GitHub Pages support Jekyll, a simple, blog aware static site generator written by our own Tom Preston-Werner. Jekyll makes it easy to create site-wide headers and footers without having to copy them across every page. It also offers intelligent blog support and other advanced templating features.\r\n\r\n### Authors and Contributors\r\nYou can @mention a GitHub username to generate a link to their profile. The resulting `` element will link to the contributor's GitHub Profile. For example: In 2007, Chris Wanstrath (@defunkt), PJ Hyett (@pjhyett), and Tom Preston-Werner (@mojombo) founded GitHub.\r\n\r\n### Support or Contact\r\nHaving trouble with Pages? Check out the documentation at https://help.github.com/pages or contact support@github.com and we’ll help you sort it out.\r\n","google":"","note":"Don't delete this file! It's used internally to help with page regeneration."} -------------------------------------------------------------------------------- /download.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Download Mouse Gestures for Firefox & SeaMonkey 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 29 | 30 |
31 |
32 |
33 |

Mouse Gestures Suite

34 |
35 |

Download

36 | 45 |

Changelog is available in AMO 46 | version 47 | history.

48 |

Feedback and Discussion

49 |

Discussion 50 | thread at MozillaZine forums.

51 | 53 |
54 |
55 | 56 | 57 | 58 | -------------------------------------------------------------------------------- /custom-functions.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Custom Functions in Mouse Gestures Suite 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 29 | 30 |
31 |
32 |
33 |

Mouse Gestures Suite

34 |
35 |

Custom Functions

36 |

Note: Custom functions and user scripts are available since 37 | version 2.0.0.

38 |

39 | 40 |

Apart from a list of predefined functions to be used with mouse 41 | gestures you can define your own custom functions and get them to 42 | execute when you perform gestures. To create a custom function press Add 43 | Custom Function button in the Gestures Customization 44 | tab in options.

45 |

Custom functions can be used to execute one of the two types of 46 | actions:

47 |
    48 |
  1. Menu Item Actions — execute any menu item action that is available 49 | in the main menu. The actions are available even if the menu is 50 | hidden (Firefox default).
  2. 51 |
  3. Scripts — this is used to execute any JavaScript code. You can 52 | either run internal browser commands or inject the script into a web 53 | page and run it as if it were part of the page.
  4. 54 |
55 | Custom Function Editing 56 |


57 |

58 |

Custom functions can be configured to execute only in certain window 59 | types like Browser, Page Source, Mail or Mail Compose (the last two 60 | are applicable only to SeaMonkey). Also, contrary to the built-in 61 | functions you are allowed to define multiple custom functions with the 62 | same mouse gesture. This allows you to configure the same gesture to 63 | execute different actions in different window types.

64 |

Menu Item Actions

65 |

You can execute almost any menu action with mouse gestures as if you 66 | have selected this action in the menu itself. All available menus from 67 | the main menu bar are available: File, Edit, View, History, etc. You 68 | can also use menu items provided by other extension.

69 |

Please not that not all menu items can be executed in this way – 70 | especially dynamically created menus are not available for gestures 71 | and some may even work not as expected, for example don't try to 72 | configure gestures for copying or moving messages between folders in 73 | SeaMonkey. Test each new menu action to be sure if it will work 74 | properly.
75 |

76 |
    77 |
78 |

Scripts

79 |

See the section about scripts for 80 | detailed description.

81 |
82 |
83 | 84 | 85 | 86 | -------------------------------------------------------------------------------- /stylesheets/pygment_trac.css: -------------------------------------------------------------------------------- 1 | .highlight .hll { background-color: #404040 } 2 | .highlight { color: #d0d0d0 } 3 | .highlight .c { color: #999999; font-style: italic } /* Comment */ 4 | .highlight .err { color: #a61717; background-color: #e3d2d2 } /* Error */ 5 | .highlight .g { color: #d0d0d0 } /* Generic */ 6 | .highlight .k { color: #6ab825; font-weight: normal } /* Keyword */ 7 | .highlight .l { color: #d0d0d0 } /* Literal */ 8 | .highlight .n { color: #d0d0d0 } /* Name */ 9 | .highlight .o { color: #d0d0d0 } /* Operator */ 10 | .highlight .x { color: #d0d0d0 } /* Other */ 11 | .highlight .p { color: #d0d0d0 } /* Punctuation */ 12 | .highlight .cm { color: #999999; font-style: italic } /* Comment.Multiline */ 13 | .highlight .cp { color: #cd2828; font-weight: normal } /* Comment.Preproc */ 14 | .highlight .c1 { color: #999999; font-style: italic } /* Comment.Single */ 15 | .highlight .cs { color: #e50808; font-weight: normal; background-color: #520000 } /* Comment.Special */ 16 | .highlight .gd { color: #d22323 } /* Generic.Deleted */ 17 | .highlight .ge { color: #d0d0d0; font-style: italic } /* Generic.Emph */ 18 | .highlight .gr { color: #d22323 } /* Generic.Error */ 19 | .highlight .gh { color: #ffffff; font-weight: normal } /* Generic.Heading */ 20 | .highlight .gi { color: #589819 } /* Generic.Inserted */ 21 | .highlight .go { color: #cccccc } /* Generic.Output */ 22 | .highlight .gp { color: #aaaaaa } /* Generic.Prompt */ 23 | .highlight .gs { color: #d0d0d0; font-weight: normal } /* Generic.Strong */ 24 | .highlight .gu { color: #ffffff; text-decoration: underline } /* Generic.Subheading */ 25 | .highlight .gt { color: #d22323 } /* Generic.Traceback */ 26 | .highlight .kc { color: #6ab825; font-weight: normal } /* Keyword.Constant */ 27 | .highlight .kd { color: #6ab825; font-weight: normal } /* Keyword.Declaration */ 28 | .highlight .kn { color: #6ab825; font-weight: normal } /* Keyword.Namespace */ 29 | .highlight .kp { color: #6ab825 } /* Keyword.Pseudo */ 30 | .highlight .kr { color: #6ab825; font-weight: normal } /* Keyword.Reserved */ 31 | .highlight .kt { color: #6ab825; font-weight: normal } /* Keyword.Type */ 32 | .highlight .ld { color: #d0d0d0 } /* Literal.Date */ 33 | .highlight .m { color: #3677a9 } /* Literal.Number */ 34 | .highlight .s { color: #9dd5f1 } /* Literal.String */ 35 | .highlight .na { color: #bbbbbb } /* Name.Attribute */ 36 | .highlight .nb { color: #24909d } /* Name.Builtin */ 37 | .highlight .nc { color: #447fcf; text-decoration: underline } /* Name.Class */ 38 | .highlight .no { color: #40ffff } /* Name.Constant */ 39 | .highlight .nd { color: #ffa500 } /* Name.Decorator */ 40 | .highlight .ni { color: #d0d0d0 } /* Name.Entity */ 41 | .highlight .ne { color: #bbbbbb } /* Name.Exception */ 42 | .highlight .nf { color: #447fcf } /* Name.Function */ 43 | .highlight .nl { color: #d0d0d0 } /* Name.Label */ 44 | .highlight .nn { color: #447fcf; text-decoration: underline } /* Name.Namespace */ 45 | .highlight .nx { color: #d0d0d0 } /* Name.Other */ 46 | .highlight .py { color: #d0d0d0 } /* Name.Property */ 47 | .highlight .nt { color: #6ab825;} /* Name.Tag */ 48 | .highlight .nv { color: #40ffff } /* Name.Variable */ 49 | .highlight .ow { color: #6ab825; font-weight: normal } /* Operator.Word */ 50 | .highlight .w { color: #666666 } /* Text.Whitespace */ 51 | .highlight .mf { color: #3677a9 } /* Literal.Number.Float */ 52 | .highlight .mh { color: #3677a9 } /* Literal.Number.Hex */ 53 | .highlight .mi { color: #3677a9 } /* Literal.Number.Integer */ 54 | .highlight .mo { color: #3677a9 } /* Literal.Number.Oct */ 55 | .highlight .sb { color: #9dd5f1 } /* Literal.String.Backtick */ 56 | .highlight .sc { color: #9dd5f1 } /* Literal.String.Char */ 57 | .highlight .sd { color: #9dd5f1 } /* Literal.String.Doc */ 58 | .highlight .s2 { color: #9dd5f1 } /* Literal.String.Double */ 59 | .highlight .se { color: #9dd5f1 } /* Literal.String.Escape */ 60 | .highlight .sh { color: #9dd5f1 } /* Literal.String.Heredoc */ 61 | .highlight .si { color: #9dd5f1 } /* Literal.String.Interpol */ 62 | .highlight .sx { color: #ffa500 } /* Literal.String.Other */ 63 | .highlight .sr { color: #9dd5f1 } /* Literal.String.Regex */ 64 | .highlight .s1 { color: #9dd5f1 } /* Literal.String.Single */ 65 | .highlight .ss { color: #9dd5f1 } /* Literal.String.Symbol */ 66 | .highlight .bp { color: #24909d } /* Name.Builtin.Pseudo */ 67 | .highlight .vc { color: #40ffff } /* Name.Variable.Class */ 68 | .highlight .vg { color: #40ffff } /* Name.Variable.Global */ 69 | .highlight .vi { color: #40ffff } /* Name.Variable.Instance */ 70 | .highlight .il { color: #3677a9 } /* Literal.Number.Integer.Long */ -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Mouse Gestures Suite :: Mouse gestures for SeaMonkey and Firefox 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 29 | 30 |
31 |
32 |
33 |

Mouse Gestures Suite

34 |
35 |

Overview

36 | Mouse Gestures Suite is based on (abandoned) Firefox 37 | extension All-in-One Gestures and has been modified to work with 38 | Seamonkey and later also 39 | with Firefox (since ver. 1.5.0). Many fixes and improvements have been 40 | made and new features added.
41 |
42 |

Main features:

43 | Mouse gestures - performed by moving the mouse with a 44 | button depressed allow you to quickly navigate through pages, open/close 45 | tabs and windows and perform many other commands without having to use 46 | toolbar buttons, menus or keyboard shortcuts. A gesture consists of a 47 | series of mouse movements in one of 4 directions (up, down, left, 48 | right).
49 |
50 | Rocker gestures - invoked by pressing one mouse button 51 | and then the other while keeping the first one pressed. By default used 52 | to go back and forward in browsing history but can be customized to do 53 | something else.
54 |
55 | Scroll wheel in tab bar - you can switch between tabs 56 | by scrolling mouse wheel over the tab bar.
57 |
58 | Scroll wheel navigation - perform your favourite 59 | actions by pressing a mouse button and scrolling mouse wheel at the same 60 | time.
61 |
62 | Middle button scrolling - auto scroll pages or 63 | textareas by clicking the middle mouse button once (pressing and 64 | releasing) and then control the scrolling speed by moving the mouse or 65 | using arrow keys. Grab and Drag options allow you to scroll by 66 | moving the mouse while the middle button is depressed.
67 |
68 | Link tooltip - see details about links as you hover 69 | over them with your mouse. Useful especially for browsing without the 70 | status bar like in full screen mode.
71 |
72 | Custom functions (since version 2.0.0) - apart from a 73 | list of many predefined actions you can create your own functions for 74 | mouse gestures. Invoke any item command from the main menu or write your 75 | own script to execute.
76 |
77 | All the above features work in the Browser component. Mouse and rocker 78 | gestures also work in Mail, Message, Mail Compose and View Page Source 79 | windows — the gesture movements are the same as those in Browser, 80 | however not all actions work in those other window types since not all 81 | of them are applicable there — see help for detailed information.
82 |
83 | If you have any other mouse gestures extensions they may conflict with 84 | each other so please disable or uninstall them before trying out this 85 | one.
86 |
87 | 88 | 89 | 90 | -------------------------------------------------------------------------------- /stylesheets/normalize.css: -------------------------------------------------------------------------------- 1 | /* normalize.css 2012-02-07T12:37 UTC - https://github.com/necolas/normalize.css */ 2 | /* ============================================================================= 3 | HTML5 display definitions 4 | ========================================================================== */ 5 | /* 6 | * Corrects block display not defined in IE6/7/8/9 & FF3 7 | */ 8 | article, 9 | aside, 10 | details, 11 | figcaption, 12 | figure, 13 | footer, 14 | header, 15 | hgroup, 16 | nav, 17 | section, 18 | summary { 19 | display: block; 20 | } 21 | 22 | /* ============================================================================= 23 | Base 24 | ========================================================================== */ 25 | /* 26 | * 1. Corrects text resizing oddly in IE6/7 when body font-size is set using em units 27 | * http://clagnut.com/blog/348/#c790 28 | * 2. Prevents iOS text size adjust after orientation change, without disabling user zoom 29 | * www.456bereastreet.com/archive/201012/controlling_text_size_in_safari_for_ios_without_disabling_user_zoom/ 30 | */ 31 | html { 32 | font-size: 100%; 33 | /* 1 */ 34 | -webkit-text-size-adjust: 100%; 35 | /* 2 */ 36 | -ms-text-size-adjust: 100%; 37 | /* 2 */ 38 | } 39 | 40 | /* 41 | * Addresses font-family inconsistency between 'textarea' and other form elements. 42 | */ 43 | html, 44 | button, 45 | input, 46 | select, 47 | textarea { 48 | font-family: sans-serif; 49 | } 50 | 51 | /* 52 | * Addresses margins handled incorrectly in IE6/7 53 | */ 54 | body { 55 | margin: 0; 56 | } 57 | 58 | /* ============================================================================= 59 | Links 60 | ========================================================================== */ 61 | /* 62 | * Addresses outline displayed oddly in Chrome 63 | */ 64 | a:focus { 65 | outline: thin dotted; 66 | } 67 | 68 | /* 69 | * Improves readability when focused and also mouse hovered in all browsers 70 | * people.opera.com/patrickl/experiments/keyboard/test 71 | */ 72 | a:hover, 73 | a:active { 74 | outline: 0; 75 | } 76 | 77 | /* ============================================================================= 78 | Typography 79 | ========================================================================== */ 80 | /* 81 | * Addresses font sizes and margins set differently in IE6/7 82 | * Addresses font sizes within 'section' and 'article' in FF4+, Chrome, S5 83 | */ 84 | h1 { 85 | font-size: 2em; 86 | margin: 0.67em 0; 87 | } 88 | 89 | h2 { 90 | font-size: 1.5em; 91 | margin: 0.83em 0; 92 | } 93 | 94 | h3 { 95 | font-size: 1.17em; 96 | margin: 1em 0; 97 | } 98 | 99 | h4 { 100 | font-size: 1em; 101 | margin: 1.33em 0; 102 | } 103 | 104 | h5 { 105 | font-size: 0.83em; 106 | margin: 1.67em 0; 107 | } 108 | 109 | h6 { 110 | font-size: 0.75em; 111 | margin: 2.33em 0; 112 | } 113 | 114 | /* 115 | * Addresses styling not present in IE7/8/9, S5, Chrome 116 | */ 117 | abbr[title] { 118 | border-bottom: 1px dotted; 119 | } 120 | 121 | /* 122 | * Addresses style set to 'bolder' in FF3+, S4/5, Chrome 123 | */ 124 | b, 125 | strong { 126 | font-weight: bold; 127 | } 128 | 129 | blockquote { 130 | margin: 1em 40px; 131 | } 132 | 133 | /* 134 | * Addresses styling not present in S5, Chrome 135 | */ 136 | dfn { 137 | font-style: italic; 138 | } 139 | 140 | /* 141 | * Addresses styling not present in IE6/7/8/9 142 | */ 143 | mark { 144 | background: #ff0; 145 | color: #000; 146 | } 147 | 148 | /* 149 | * Addresses margins set differently in IE6/7 150 | */ 151 | p, 152 | pre { 153 | margin: 1em 0; 154 | } 155 | 156 | /* 157 | * Corrects font family set oddly in IE6, S4/5, Chrome 158 | * en.wikipedia.org/wiki/User:Davidgothberg/Test59 159 | */ 160 | pre, 161 | code, 162 | kbd, 163 | samp { 164 | font-family: monospace, serif; 165 | _font-family: 'courier new', monospace; 166 | font-size: 1em; 167 | } 168 | 169 | /* 170 | * 1. Addresses CSS quotes not supported in IE6/7 171 | * 2. Addresses quote property not supported in S4 172 | */ 173 | /* 1 */ 174 | q { 175 | quotes: none; 176 | } 177 | 178 | /* 2 */ 179 | q:before, 180 | q:after { 181 | content: ''; 182 | content: none; 183 | } 184 | 185 | small { 186 | font-size: 75%; 187 | } 188 | 189 | /* 190 | * Prevents sub and sup affecting line-height in all browsers 191 | * gist.github.com/413930 192 | */ 193 | sub, 194 | sup { 195 | font-size: 75%; 196 | line-height: 0; 197 | position: relative; 198 | vertical-align: baseline; 199 | } 200 | 201 | sup { 202 | top: -0.5em; 203 | } 204 | 205 | sub { 206 | bottom: -0.25em; 207 | } 208 | 209 | /* ============================================================================= 210 | Lists 211 | ========================================================================== */ 212 | /* 213 | * Addresses margins set differently in IE6/7 214 | */ 215 | dl, 216 | menu, 217 | ol, 218 | ul { 219 | margin: 1em 0; 220 | } 221 | 222 | dd { 223 | margin: 0 0 0 40px; 224 | } 225 | 226 | /* 227 | * Addresses paddings set differently in IE6/7 228 | */ 229 | menu, 230 | ol, 231 | ul { 232 | padding: 0 0 0 40px; 233 | } 234 | 235 | /* 236 | * Corrects list images handled incorrectly in IE7 237 | */ 238 | nav ul, 239 | nav ol { 240 | list-style: none; 241 | list-style-image: none; 242 | } 243 | 244 | /* ============================================================================= 245 | Embedded content 246 | ========================================================================== */ 247 | /* 248 | * 1. Removes border when inside 'a' element in IE6/7/8/9, FF3 249 | * 2. Improves image quality when scaled in IE7 250 | * code.flickr.com/blog/2008/11/12/on-ui-quality-the-little-things-client-side-image-resizing/ 251 | */ 252 | img { 253 | border: 0; 254 | /* 1 */ 255 | -ms-interpolation-mode: bicubic; 256 | /* 2 */ 257 | } 258 | 259 | /* 260 | * Corrects overflow displayed oddly in IE9 261 | */ 262 | svg:not(:root) { 263 | overflow: hidden; 264 | } 265 | 266 | /* ============================================================================= 267 | Figures 268 | ========================================================================== */ 269 | /* 270 | * Addresses margin not present in IE6/7/8/9, S5, O11 271 | */ 272 | figure { 273 | margin: 0; 274 | } 275 | 276 | /* ============================================================================= 277 | Forms 278 | ========================================================================== */ 279 | /* 280 | * Corrects margin displayed oddly in IE6/7 281 | */ 282 | form { 283 | margin: 0; 284 | } 285 | 286 | /* 287 | * Define consistent border, margin, and padding 288 | */ 289 | fieldset { 290 | border: 1px solid #c0c0c0; 291 | margin: 0 2px; 292 | padding: 0.35em 0.625em 0.75em; 293 | } 294 | 295 | /* 296 | * 1. Corrects color not being inherited in IE6/7/8/9 297 | * 2. Corrects text not wrapping in FF3 298 | * 3. Corrects alignment displayed oddly in IE6/7 299 | */ 300 | legend { 301 | border: 0; 302 | /* 1 */ 303 | padding: 0; 304 | white-space: normal; 305 | /* 2 */ 306 | *margin-left: -7px; 307 | /* 3 */ 308 | } 309 | 310 | /* 311 | * 1. Corrects font size not being inherited in all browsers 312 | * 2. Addresses margins set differently in IE6/7, FF3+, S5, Chrome 313 | * 3. Improves appearance and consistency in all browsers 314 | */ 315 | button, 316 | input, 317 | select, 318 | textarea { 319 | font-size: 100%; 320 | /* 1 */ 321 | margin: 0; 322 | /* 2 */ 323 | vertical-align: baseline; 324 | /* 3 */ 325 | *vertical-align: middle; 326 | /* 3 */ 327 | } 328 | 329 | /* 330 | * Addresses FF3/4 setting line-height on 'input' using !important in the UA stylesheet 331 | */ 332 | button, 333 | input { 334 | line-height: normal; 335 | /* 1 */ 336 | } 337 | 338 | /* 339 | * 1. Improves usability and consistency of cursor style between image-type 'input' and others 340 | * 2. Corrects inability to style clickable 'input' types in iOS 341 | * 3. Removes inner spacing in IE7 without affecting normal text inputs 342 | * Known issue: inner spacing remains in IE6 343 | */ 344 | button, 345 | input[type="button"], 346 | input[type="reset"], 347 | input[type="submit"] { 348 | cursor: pointer; 349 | /* 1 */ 350 | -webkit-appearance: button; 351 | /* 2 */ 352 | *overflow: visible; 353 | /* 3 */ 354 | } 355 | 356 | /* 357 | * Re-set default cursor for disabled elements 358 | */ 359 | button[disabled], 360 | input[disabled] { 361 | cursor: default; 362 | } 363 | 364 | /* 365 | * 1. Addresses box sizing set to content-box in IE8/9 366 | * 2. Removes excess padding in IE8/9 367 | * 3. Removes excess padding in IE7 368 | Known issue: excess padding remains in IE6 369 | */ 370 | input[type="checkbox"], 371 | input[type="radio"] { 372 | box-sizing: border-box; 373 | /* 1 */ 374 | padding: 0; 375 | /* 2 */ 376 | *height: 13px; 377 | /* 3 */ 378 | *width: 13px; 379 | /* 3 */ 380 | } 381 | 382 | /* 383 | * 1. Addresses appearance set to searchfield in S5, Chrome 384 | * 2. Addresses box-sizing set to border-box in S5, Chrome (include -moz to future-proof) 385 | */ 386 | input[type="search"] { 387 | -webkit-appearance: textfield; 388 | /* 1 */ 389 | -moz-box-sizing: content-box; 390 | -webkit-box-sizing: content-box; 391 | /* 2 */ 392 | box-sizing: content-box; 393 | } 394 | 395 | /* 396 | * Removes inner padding and search cancel button in S5, Chrome on OS X 397 | */ 398 | input[type="search"]::-webkit-search-decoration, 399 | input[type="search"]::-webkit-search-cancel-button { 400 | -webkit-appearance: none; 401 | } 402 | 403 | /* 404 | * Removes inner padding and border in FF3+ 405 | * www.sitepen.com/blog/2008/05/14/the-devils-in-the-details-fixing-dojos-toolbar-buttons/ 406 | */ 407 | button::-moz-focus-inner, 408 | input::-moz-focus-inner { 409 | border: 0; 410 | padding: 0; 411 | } 412 | 413 | /* 414 | * 1. Removes default vertical scrollbar in IE6/7/8/9 415 | * 2. Improves readability and alignment in all browsers 416 | */ 417 | textarea { 418 | overflow: auto; 419 | /* 1 */ 420 | vertical-align: top; 421 | /* 2 */ 422 | } 423 | 424 | /* ============================================================================= 425 | Tables 426 | ========================================================================== */ 427 | /* 428 | * Remove most spacing between table cells 429 | */ 430 | table { 431 | border-collapse: collapse; 432 | border-spacing: 0; 433 | } 434 | -------------------------------------------------------------------------------- /scripts.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Scripts in Mouse Gestures for Firefox and SeaMonkey 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 29 | 30 |
31 |
32 |
33 |

Mouse Gestures Suite

34 |
35 |

User Scripts

36 |

Note: Custom functions and user scripts are available since 37 | version 2.0.0.

38 |

Mouse Gestures Suite allows you to create your own functions so you 39 | are not limited only to the built-in set. You can write any script to 40 | be executed when you perform a gesture. Scripts are written in 41 | JavaScript and can be run in one of the two scopes:

42 | 46 | User Script setup 47 | 49 |

Native (ChromeWindow) Scope

50 |

In this mode the script will be executed as if run directly from an 51 | extension having full browser privileges. It will always be run inside 52 | a function so you do not have to worry about variable name conflicts 53 | with this or other extensions. However, you will also have access to 54 | the global scope of a typical XUL extension — the window 55 | variable will refer to the ChromeWinow object, which is 56 | the browser's window XUL element.

57 |

Use this scope if you want to invoke internal functions of the 58 | browser rather than interacting with the web page. These scripts will 59 | run even when JavaScript is turned off.

60 |

If there is an error during script execution it will be displayed as 61 | a gesture status message in the lower left corner of the browser.

62 |

Parameters passed to the script in Native scope mode:

63 | 64 | 65 | 66 | 67 | 76 | 77 | 78 | 79 | 82 | 83 | 84 | 85 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 99 | 100 | 101 | 102 | 104 | 105 | 106 | 107 | 112 | 113 | 114 | 115 | 117 | 118 | 119 |
eventEvent which started the gesture – this will be the mousedown 68 | event for mouse and rocker gestures, or DOMMouseScroll 69 | event for scroll wheel gestures. Please note that trying to 70 | determine which page element the gesture was started on is not 71 | always reliable using this event — in multi-process Firefox 72 | event.target will point to a browser's XUL element, not the HTML 73 | element within the page. Use other parameters for this purpose 74 | (below) or use web page scope mode.
75 |
upEventThe mouseup event that ended the gesture. Not set (null) 80 | for rocker gestures and scroll wheel gestures. [available 81 | since version 2.1.0]
linksArray with references to all links found under gesture. Note 86 | that in multi-process Firefox these will be objects wrapped in 87 | CPOWs so accessing or manipulating them may be slow.
88 |
linksUrlsArray with URLs of all links found under gesture.
imgReference to image found under gesture. Note that in 97 | multi-process Firefox this will be an object wrapped in a CPOW 98 | so accessing or manipulating it may be slow.
imgUrlURL of image found under gesture. A background image usually 103 | will also be found but normal images will have a priority.
frameReference to the frame or iframe at the start of the gesture. 108 | If no frame was found this will be the top window element. This 109 | will be null for gestures started on tabs. Note that in 110 | multi-process Firefox this will be an object wrapped in a CPOW 111 | so accessing or manipulating it may be slow.
tabFor gestures started on a tab this will contain a reference to 116 | the browser's XUL  tab element.
120 |

Examples

121 |

Load www.google.com page:

122 |
gBrowser.loadURI("http://www.google.com/");
123 |

Open www.wikipedia.org in a new tab:

124 |
openNewTabWith("http://www.wikipedia.org/");
125 |

Open link under gesture always in the current tab, even if it would 126 | normally open in a new tab or window:

127 |
if (linksUrls.length) {
128 |   gBrowser.loadURI(linksUrls[0]);
}
129 |

Exit Firefox/SeaMonkey:

130 |
goQuitApplication();
131 |

Show menu with recently closed tabs by invoking menu of a different 132 | extension Undo 133 | Closed Tabs Button. Install this extension and place its button 134 | (by using Customize) in a visible place somewhere in your 135 | browser and use this script:

136 |
var button = document.getElementById("uctb-toolbar-button");
137 | if (button) {
138 |   undoClosedButt.rightClickMenu(button, event);
139 |   var popup = document.getElementById("uctb-menu");
140 |   popup.moveTo(event.screenX, event.screenY);
141 | }
142 |

Pin/unpin 143 | tab. This will also work on any tab by starting a gesture on that 144 | tab:

145 |
var curTab = tab || gBrowser.selectedTab;

if(curTab.pinned)
  gBrowser.unpinTab(curTab);
else
  gBrowser.pinTab(curTab);
146 |

Web Page Scope

147 |

Use this scope if you want your gesture to perform certain actions in 148 | the web page or access some information in the page. Your script will 149 | be injected into the page and executed with the same scope and 150 | privileges as a regular web script. You can easily access and modify 151 | page content, and execute or suppress functions in the page. Your 152 | script will be run from within an anonymous function and the global window 153 | variable will refer to the web page window object. JavaScript needs to 154 | be enabled for these scripts to run.

155 |

If there is an error during script execution you can see it in the 156 | browser's standard JavaScript console or web console.

157 |

Parameters passed to the script in web page scope mode:

158 | 159 | 160 | 161 | 162 | 166 | 167 | 168 | 169 | 171 | 172 | 173 | 174 | 176 | 177 | 178 |
nodeReference (DOM object) to the element on which the gesture was 163 | started. If gesture was started on current tab this will be the 164 | document.documentElement object of the page (the html 165 | element).
linkReference (DOM object) to the first link found under gesture 170 | or null if no link was found.
onTabtrue if gesture was started on a tab, false 175 | otherwise.
179 |

If there are frames in a page the script will be injected into the 180 | frame where the gesture was started. Therefore, if you start a gesture 181 | in a frame and then draw it over a link outside the frame then you may 182 | not get access to the link parameter.

183 |

If a gesture is started on a tab and there are frames in the page 184 | then the script will be executed in the top frame. Web page scope 185 | scripts will not be executed for gestures started on a different tab 186 | than the active one.

187 |

Examples

188 |

Focus cursor on the first input box in the page:

189 |

190 |
var input = document.querySelector("input[type=text],input[type=search]");
191 | if (input) {
192 |   input.focus();
193 | }
194 |

Show (hidden by default) all links to cached and similar pages on 195 | google results page:

196 |

197 |
if (/\.google\.[a-z.]+\/search\?/.test(location.href)) {
198 |   var hiddenElements = document.querySelectorAll('div.ab_dropdown.action-menu-panel');
199 |   for (var i=0; i<hiddenElements.length; i++) {
200 |     if (hiddenElements[i].style.visibility != 'visible') {
201 |       hiddenElements[i].style.visibility = 'visible';
202 |     } else {
203 |       hiddenElements[i].style.visibility = 'hidden';
204 |     }
205 |   }
206 | }
207 |

Enlarge font of a page element:

208 |

209 |
var size = getComputedStyle(node).getPropertyValue("font-size");
210 | if (size) {
211 |   var newSize = parseInt(size) + 2;
212 |   node.style.fontSize = newSize + 'px';
213 | }
214 |

Insert predefined text into form field:

215 |

216 |
if (node.nodeName == 'TEXTAREA' ||
217 |   (node.nodeName == 'INPUT' && /^(text|search)$/.test(node.type))
218 |   ) {
219 |   node.value = "This is me!";
220 | }
221 |
222 |
223 |
224 | 225 | 226 | 227 | -------------------------------------------------------------------------------- /javascripts/respond.js: -------------------------------------------------------------------------------- 1 | if(typeof Object.create!=="function"){ 2 | Object.create=function(o){ 3 | function F(){ 4 | }; 5 | F.prototype=o; 6 | return new F(); 7 | }; 8 | } 9 | var ua={toString:function(){ 10 | return navigator.userAgent; 11 | },test:function(s){ 12 | return this.toString().toLowerCase().indexOf(s.toLowerCase())>-1; 13 | }}; 14 | ua.version=(ua.toString().toLowerCase().match(/[\s\S]+(?:rv|it|ra|ie)[\/: ]([\d.]+)/)||[])[1]; 15 | ua.webkit=ua.test("webkit"); 16 | ua.gecko=ua.test("gecko")&&!ua.webkit; 17 | ua.opera=ua.test("opera"); 18 | ua.ie=ua.test("msie")&&!ua.opera; 19 | ua.ie6=ua.ie&&document.compatMode&&typeof document.documentElement.style.maxHeight==="undefined"; 20 | ua.ie7=ua.ie&&document.documentElement&&typeof document.documentElement.style.maxHeight!=="undefined"&&typeof XDomainRequest==="undefined"; 21 | ua.ie8=ua.ie&&typeof XDomainRequest!=="undefined"; 22 | var domReady=function(){ 23 | var _1=[]; 24 | var _2=function(){ 25 | if(!arguments.callee.done){ 26 | arguments.callee.done=true; 27 | for(var i=0;i<_1.length;i++){ 28 | _1[i](); 29 | } 30 | } 31 | }; 32 | if(document.addEventListener){ 33 | document.addEventListener("DOMContentLoaded",_2,false); 34 | } 35 | if(ua.ie){ 36 | (function(){ 37 | try{ 38 | document.documentElement.doScroll("left"); 39 | } 40 | catch(e){ 41 | setTimeout(arguments.callee,50); 42 | return; 43 | } 44 | _2(); 45 | })(); 46 | document.onreadystatechange=function(){ 47 | if(document.readyState==="complete"){ 48 | document.onreadystatechange=null; 49 | _2(); 50 | } 51 | }; 52 | } 53 | if(ua.webkit&&document.readyState){ 54 | (function(){ 55 | if(document.readyState!=="loading"){ 56 | _2(); 57 | }else{ 58 | setTimeout(arguments.callee,10); 59 | } 60 | })(); 61 | } 62 | window.onload=_2; 63 | return function(fn){ 64 | if(typeof fn==="function"){ 65 | _1[_1.length]=fn; 66 | } 67 | return fn; 68 | }; 69 | }(); 70 | var cssHelper=function(){ 71 | var _3={BLOCKS:/[^\s{][^{]*\{(?:[^{}]*\{[^{}]*\}[^{}]*|[^{}]*)*\}/g,BLOCKS_INSIDE:/[^\s{][^{]*\{[^{}]*\}/g,DECLARATIONS:/[a-zA-Z\-]+[^;]*:[^;]+;/g,RELATIVE_URLS:/url\(['"]?([^\/\)'"][^:\)'"]+)['"]?\)/g,REDUNDANT_COMPONENTS:/(?:\/\*([^*\\\\]|\*(?!\/))+\*\/|@import[^;]+;)/g,REDUNDANT_WHITESPACE:/\s*(,|:|;|\{|\})\s*/g,MORE_WHITESPACE:/\s{2,}/g,FINAL_SEMICOLONS:/;\}/g,NOT_WHITESPACE:/\S+/g}; 72 | var _4,_5=false; 73 | var _6=[]; 74 | var _7=function(fn){ 75 | if(typeof fn==="function"){ 76 | _6[_6.length]=fn; 77 | } 78 | }; 79 | var _8=function(){ 80 | for(var i=0;i<_6.length;i++){ 81 | _6[i](_4); 82 | } 83 | }; 84 | var _9={}; 85 | var _a=function(n,v){ 86 | if(_9[n]){ 87 | var _b=_9[n].listeners; 88 | if(_b){ 89 | for(var i=0;i<_b.length;i++){ 90 | _b[i](v); 91 | } 92 | } 93 | } 94 | }; 95 | var _c=function(_d,_e,_f){ 96 | if(ua.ie&&!window.XMLHttpRequest){ 97 | window.XMLHttpRequest=function(){ 98 | return new ActiveXObject("Microsoft.XMLHTTP"); 99 | }; 100 | } 101 | if(!XMLHttpRequest){ 102 | return ""; 103 | } 104 | var r=new XMLHttpRequest(); 105 | try{ 106 | r.open("get",_d,true); 107 | r.setRequestHeader("X_REQUESTED_WITH","XMLHttpRequest"); 108 | } 109 | catch(e){ 110 | _f(); 111 | return; 112 | } 113 | var _10=false; 114 | setTimeout(function(){ 115 | _10=true; 116 | },5000); 117 | document.documentElement.style.cursor="progress"; 118 | r.onreadystatechange=function(){ 119 | if(r.readyState===4&&!_10){ 120 | if(!r.status&&location.protocol==="file:"||(r.status>=200&&r.status<300)||r.status===304||navigator.userAgent.indexOf("Safari")>-1&&typeof r.status==="undefined"){ 121 | _e(r.responseText); 122 | }else{ 123 | _f(); 124 | } 125 | document.documentElement.style.cursor=""; 126 | r=null; 127 | } 128 | }; 129 | r.send(""); 130 | }; 131 | var _11=function(_12){ 132 | _12=_12.replace(_3.REDUNDANT_COMPONENTS,""); 133 | _12=_12.replace(_3.REDUNDANT_WHITESPACE,"$1"); 134 | _12=_12.replace(_3.MORE_WHITESPACE," "); 135 | _12=_12.replace(_3.FINAL_SEMICOLONS,"}"); 136 | return _12; 137 | }; 138 | var _13={mediaQueryList:function(s){ 139 | var o={}; 140 | var idx=s.indexOf("{"); 141 | var lt=s.substring(0,idx); 142 | s=s.substring(idx+1,s.length-1); 143 | var mqs=[],rs=[]; 144 | var qts=lt.toLowerCase().substring(7).split(","); 145 | for(var i=0;i-1&&_23.href&&_23.href.length!==0&&!_23.disabled){ 315 | _1f[_1f.length]=_23; 316 | } 317 | } 318 | if(_1f.length>0){ 319 | var c=0; 320 | var _24=function(){ 321 | c++; 322 | if(c===_1f.length){ 323 | _20(); 324 | } 325 | }; 326 | var _25=function(_26){ 327 | var _27=_26.href; 328 | _c(_27,function(_28){ 329 | _28=_11(_28).replace(_3.RELATIVE_URLS,"url("+_27.substring(0,_27.lastIndexOf("/"))+"/$1)"); 330 | _26.cssHelperText=_28; 331 | _24(); 332 | },_24); 333 | }; 334 | for(i=0;i<_1f.length;i++){ 335 | _25(_1f[i]); 336 | } 337 | }else{ 338 | _20(); 339 | } 340 | }; 341 | var _29={mediaQueryLists:"array",rules:"array",selectors:"object",declarations:"array",properties:"object"}; 342 | var _2a={mediaQueryLists:null,rules:null,selectors:null,declarations:null,properties:null}; 343 | var _2b=function(_2c,v){ 344 | if(_2a[_2c]!==null){ 345 | if(_29[_2c]==="array"){ 346 | return (_2a[_2c]=_2a[_2c].concat(v)); 347 | }else{ 348 | var c=_2a[_2c]; 349 | for(var n in v){ 350 | if(v.hasOwnProperty(n)){ 351 | if(!c[n]){ 352 | c[n]=v[n]; 353 | }else{ 354 | c[n]=c[n].concat(v[n]); 355 | } 356 | } 357 | } 358 | return c; 359 | } 360 | } 361 | }; 362 | var _2d=function(_2e){ 363 | _2a[_2e]=(_29[_2e]==="array")?[]:{}; 364 | for(var i=0;i<_4.length;i++){ 365 | _2b(_2e,_4[i].cssHelperParsed[_2e]); 366 | } 367 | return _2a[_2e]; 368 | }; 369 | domReady(function(){ 370 | var els=document.body.getElementsByTagName("*"); 371 | for(var i=0;i=_44)||(max&&_46<_44)||(!min&&!max&&_46===_44)); 554 | }else{ 555 | return false; 556 | } 557 | }else{ 558 | return _46>0; 559 | } 560 | }else{ 561 | if("device-height"===_41.substring(l-13,l)){ 562 | _47=screen.height; 563 | if(_42!==null){ 564 | if(_43==="length"){ 565 | return ((min&&_47>=_44)||(max&&_47<_44)||(!min&&!max&&_47===_44)); 566 | }else{ 567 | return false; 568 | } 569 | }else{ 570 | return _47>0; 571 | } 572 | }else{ 573 | if("width"===_41.substring(l-5,l)){ 574 | _46=document.documentElement.clientWidth||document.body.clientWidth; 575 | if(_42!==null){ 576 | if(_43==="length"){ 577 | return ((min&&_46>=_44)||(max&&_46<_44)||(!min&&!max&&_46===_44)); 578 | }else{ 579 | return false; 580 | } 581 | }else{ 582 | return _46>0; 583 | } 584 | }else{ 585 | if("height"===_41.substring(l-6,l)){ 586 | _47=document.documentElement.clientHeight||document.body.clientHeight; 587 | if(_42!==null){ 588 | if(_43==="length"){ 589 | return ((min&&_47>=_44)||(max&&_47<_44)||(!min&&!max&&_47===_44)); 590 | }else{ 591 | return false; 592 | } 593 | }else{ 594 | return _47>0; 595 | } 596 | }else{ 597 | if("device-aspect-ratio"===_41.substring(l-19,l)){ 598 | return _43==="aspect-ratio"&&screen.width*_44[1]===screen.height*_44[0]; 599 | }else{ 600 | if("color-index"===_41.substring(l-11,l)){ 601 | var _48=Math.pow(2,screen.colorDepth); 602 | if(_42!==null){ 603 | if(_43==="absolute"){ 604 | return ((min&&_48>=_44)||(max&&_48<_44)||(!min&&!max&&_48===_44)); 605 | }else{ 606 | return false; 607 | } 608 | }else{ 609 | return _48>0; 610 | } 611 | }else{ 612 | if("color"===_41.substring(l-5,l)){ 613 | var _49=screen.colorDepth; 614 | if(_42!==null){ 615 | if(_43==="absolute"){ 616 | return ((min&&_49>=_44)||(max&&_49<_44)||(!min&&!max&&_49===_44)); 617 | }else{ 618 | return false; 619 | } 620 | }else{ 621 | return _49>0; 622 | } 623 | }else{ 624 | if("resolution"===_41.substring(l-10,l)){ 625 | var res; 626 | if(_45==="dpcm"){ 627 | res=_3d("1cm"); 628 | }else{ 629 | res=_3d("1in"); 630 | } 631 | if(_42!==null){ 632 | if(_43==="resolution"){ 633 | return ((min&&res>=_44)||(max&&res<_44)||(!min&&!max&&res===_44)); 634 | }else{ 635 | return false; 636 | } 637 | }else{ 638 | return res>0; 639 | } 640 | }else{ 641 | return false; 642 | } 643 | } 644 | } 645 | } 646 | } 647 | } 648 | } 649 | } 650 | }; 651 | var _4a=function(mq){ 652 | var _4b=mq.getValid(); 653 | var _4c=mq.getExpressions(); 654 | var l=_4c.length; 655 | if(l>0){ 656 | for(var i=0;i0){ 675 | s[c++]=","; 676 | } 677 | s[c++]=n; 678 | } 679 | } 680 | if(s.length>0){ 681 | _39[_39.length]=cssHelper.addStyle("@media "+s.join("")+"{"+mql.getCssText()+"}",false); 682 | } 683 | }; 684 | var _4e=function(_4f){ 685 | for(var i=0;i<_4f.length;i++){ 686 | _4d(_4f[i]); 687 | } 688 | if(ua.ie){ 689 | document.documentElement.style.display="block"; 690 | setTimeout(function(){ 691 | document.documentElement.style.display=""; 692 | },0); 693 | setTimeout(function(){ 694 | cssHelper.broadcast("cssMediaQueriesTested"); 695 | },100); 696 | }else{ 697 | cssHelper.broadcast("cssMediaQueriesTested"); 698 | } 699 | }; 700 | var _50=function(){ 701 | for(var i=0;i<_39.length;i++){ 702 | cssHelper.removeStyle(_39[i]); 703 | } 704 | _39=[]; 705 | cssHelper.mediaQueryLists(_4e); 706 | }; 707 | var _51=0; 708 | var _52=function(){ 709 | var _53=cssHelper.getViewportWidth(); 710 | var _54=cssHelper.getViewportHeight(); 711 | if(ua.ie){ 712 | var el=document.createElement("div"); 713 | el.style.position="absolute"; 714 | el.style.top="-9999em"; 715 | el.style.overflow="scroll"; 716 | document.body.appendChild(el); 717 | _51=el.offsetWidth-el.clientWidth; 718 | document.body.removeChild(el); 719 | } 720 | var _55; 721 | var _56=function(){ 722 | var vpw=cssHelper.getViewportWidth(); 723 | var vph=cssHelper.getViewportHeight(); 724 | if(Math.abs(vpw-_53)>_51||Math.abs(vph-_54)>_51){ 725 | _53=vpw; 726 | _54=vph; 727 | clearTimeout(_55); 728 | _55=setTimeout(function(){ 729 | if(!_3a()){ 730 | _50(); 731 | }else{ 732 | cssHelper.broadcast("cssMediaQueriesTested"); 733 | } 734 | },500); 735 | } 736 | }; 737 | window.onresize=function(){ 738 | var x=window.onresize||function(){ 739 | }; 740 | return function(){ 741 | x(); 742 | _56(); 743 | }; 744 | }(); 745 | }; 746 | var _57=document.documentElement; 747 | _57.style.marginLeft="-32767px"; 748 | setTimeout(function(){ 749 | _57.style.marginTop=""; 750 | },20000); 751 | return function(){ 752 | if(!_3a()){ 753 | cssHelper.addListener("newStyleParsed",function(el){ 754 | _4e(el.cssHelperParsed.mediaQueryLists); 755 | }); 756 | cssHelper.addListener("cssMediaQueriesTested",function(){ 757 | if(ua.ie){ 758 | _57.style.width="1px"; 759 | } 760 | setTimeout(function(){ 761 | _57.style.width=""; 762 | _57.style.marginLeft=""; 763 | },0); 764 | cssHelper.removeListener("cssMediaQueriesTested",arguments.callee); 765 | }); 766 | _3c(); 767 | _50(); 768 | }else{ 769 | _57.style.marginLeft=""; 770 | } 771 | _52(); 772 | }; 773 | }()); 774 | try{ 775 | document.execCommand("BackgroundImageCache",false,true); 776 | } 777 | catch(e){ 778 | } 779 | 780 | -------------------------------------------------------------------------------- /stylesheets/styles.css: -------------------------------------------------------------------------------- 1 | @font-face { 2 | font-family: 'OpenSansLight'; 3 | src: url("../fonts/OpenSans-Light-webfont.eot"); 4 | src: url("../fonts/OpenSans-Light-webfont.eot?#iefix") format("embedded-opentype"), url("../fonts/OpenSans-Light-webfont.woff") format("woff"), url("../fonts/OpenSans-Light-webfont.ttf") format("truetype"), url("../fonts/OpenSans-Light-webfont.svg#OpenSansLight") format("svg"); 5 | font-weight: normal; 6 | font-style: normal; 7 | } 8 | 9 | @font-face { 10 | font-family: 'OpenSansLightItalic'; 11 | src: url("../fonts/OpenSans-LightItalic-webfont.eot"); 12 | src: url("../fonts/OpenSans-LightItalic-webfont.eot?#iefix") format("embedded-opentype"), url("../fonts/OpenSans-LightItalic-webfont.woff") format("woff"), url("../fonts/OpenSans-LightItalic-webfont.ttf") format("truetype"), url("../fonts/OpenSans-LightItalic-webfont.svg#OpenSansLightItalic") format("svg"); 13 | font-weight: normal; 14 | font-style: normal; 15 | } 16 | 17 | @font-face { 18 | font-family: 'OpenSansRegular'; 19 | src: url("../fonts/OpenSans-Regular-webfont.eot"); 20 | src: url("../fonts/OpenSans-Regular-webfont.eot?#iefix") format("embedded-opentype"), url("../fonts/OpenSans-Regular-webfont.woff") format("woff"), url("../fonts/OpenSans-Regular-webfont.ttf") format("truetype"), url("../fonts/OpenSans-Regular-webfont.svg#OpenSansRegular") format("svg"); 21 | font-weight: normal; 22 | font-style: normal; 23 | -webkit-font-smoothing: antialiased; 24 | } 25 | 26 | @font-face { 27 | font-family: 'OpenSansItalic'; 28 | src: url("../fonts/OpenSans-Italic-webfont.eot"); 29 | src: url("../fonts/OpenSans-Italic-webfont.eot?#iefix") format("embedded-opentype"), url("../fonts/OpenSans-Italic-webfont.woff") format("woff"), url("../fonts/OpenSans-Italic-webfont.ttf") format("truetype"), url("../fonts/OpenSans-Italic-webfont.svg#OpenSansItalic") format("svg"); 30 | font-weight: normal; 31 | font-style: normal; 32 | -webkit-font-smoothing: antialiased; 33 | } 34 | 35 | @font-face { 36 | font-family: 'OpenSansSemibold'; 37 | src: url("../fonts/OpenSans-Semibold-webfont.eot"); 38 | src: url("../fonts/OpenSans-Semibold-webfont.eot?#iefix") format("embedded-opentype"), url("../fonts/OpenSans-Semibold-webfont.woff") format("woff"), url("../fonts/OpenSans-Semibold-webfont.ttf") format("truetype"), url("../fonts/OpenSans-Semibold-webfont.svg#OpenSansSemibold") format("svg"); 39 | font-weight: normal; 40 | font-style: normal; 41 | -webkit-font-smoothing: antialiased; 42 | } 43 | 44 | @font-face { 45 | font-family: 'OpenSansSemiboldItalic'; 46 | src: url("../fonts/OpenSans-SemiboldItalic-webfont.eot"); 47 | src: url("../fonts/OpenSans-SemiboldItalic-webfont.eot?#iefix") format("embedded-opentype"), url("../fonts/OpenSans-SemiboldItalic-webfont.woff") format("woff"), url("../fonts/OpenSans-SemiboldItalic-webfont.ttf") format("truetype"), url("../fonts/OpenSans-SemiboldItalic-webfont.svg#OpenSansSemiboldItalic") format("svg"); 48 | font-weight: normal; 49 | font-style: normal; 50 | -webkit-font-smoothing: antialiased; 51 | } 52 | 53 | @font-face { 54 | font-family: 'OpenSansBold'; 55 | src: url("../fonts/OpenSans-Bold-webfont.eot"); 56 | src: url("../fonts/OpenSans-Bold-webfont.eot?#iefix") format("embedded-opentype"), url("../fonts/OpenSans-Bold-webfont.woff") format("woff"), url("../fonts/OpenSans-Bold-webfont.ttf") format("truetype"), url("../fonts/OpenSans-Bold-webfont.svg#OpenSansBold") format("svg"); 57 | font-weight: normal; 58 | font-style: normal; 59 | -webkit-font-smoothing: antialiased; 60 | } 61 | 62 | @font-face { 63 | font-family: 'OpenSansBoldItalic'; 64 | src: url("../fonts/OpenSans-BoldItalic-webfont.eot"); 65 | src: url("../fonts/OpenSans-BoldItalic-webfont.eot?#iefix") format("embedded-opentype"), url("../fonts/OpenSans-BoldItalic-webfont.woff") format("woff"), url("../fonts/OpenSans-BoldItalic-webfont.ttf") format("truetype"), url("../fonts/OpenSans-BoldItalic-webfont.svg#OpenSansBoldItalic") format("svg"); 66 | font-weight: normal; 67 | font-style: normal; 68 | -webkit-font-smoothing: antialiased; 69 | } 70 | 71 | /* normalize.css 2012-02-07T12:37 UTC - https://github.com/necolas/normalize.css */ 72 | /* ============================================================================= 73 | HTML5 display definitions 74 | ========================================================================== */ 75 | /* 76 | * Corrects block display not defined in IE6/7/8/9 & FF3 77 | */ 78 | article, 79 | aside, 80 | details, 81 | figcaption, 82 | figure, 83 | footer, 84 | header, 85 | hgroup, 86 | nav, 87 | section, 88 | summary { 89 | display: block; 90 | } 91 | 92 | /* 93 | * Corrects inline-block display not defined in IE6/7/8/9 & FF3 94 | */ 95 | audio, 96 | canvas, 97 | video { 98 | display: inline-block; 99 | *display: inline; 100 | *zoom: 1; 101 | } 102 | 103 | /* 104 | * Prevents modern browsers from displaying 'audio' without controls 105 | */ 106 | audio:not([controls]) { 107 | display: none; 108 | } 109 | 110 | /* 111 | * Addresses styling for 'hidden' attribute not present in IE7/8/9, FF3, S4 112 | * Known issue: no IE6 support 113 | */ 114 | [hidden] { 115 | display: none; 116 | } 117 | 118 | /* ============================================================================= 119 | Base 120 | ========================================================================== */ 121 | /* 122 | * 1. Corrects text resizing oddly in IE6/7 when body font-size is set using em units 123 | * http://clagnut.com/blog/348/#c790 124 | * 2. Prevents iOS text size adjust after orientation change, without disabling user zoom 125 | * www.456bereastreet.com/archive/201012/controlling_text_size_in_safari_for_ios_without_disabling_user_zoom/ 126 | */ 127 | html { 128 | font-size: 100%; 129 | /* 1 */ 130 | -webkit-text-size-adjust: 100%; 131 | /* 2 */ 132 | -ms-text-size-adjust: 100%; 133 | /* 2 */ 134 | } 135 | 136 | /* 137 | * Addresses font-family inconsistency between 'textarea' and other form elements. 138 | */ 139 | html, 140 | button, 141 | input, 142 | select, 143 | textarea { 144 | font-family: sans-serif; 145 | } 146 | 147 | /* 148 | * Addresses margins handled incorrectly in IE6/7 149 | */ 150 | body { 151 | margin: 0; 152 | } 153 | 154 | /* ============================================================================= 155 | Links 156 | ========================================================================== */ 157 | /* 158 | * Addresses outline displayed oddly in Chrome 159 | */ 160 | a:focus { 161 | outline: thin dotted; 162 | } 163 | 164 | /* 165 | * Improves readability when focused and also mouse hovered in all browsers 166 | * people.opera.com/patrickl/experiments/keyboard/test 167 | */ 168 | a:hover, 169 | a:active { 170 | outline: 0; 171 | } 172 | 173 | /* ============================================================================= 174 | Typography 175 | ========================================================================== */ 176 | /* 177 | * Addresses font sizes and margins set differently in IE6/7 178 | * Addresses font sizes within 'section' and 'article' in FF4+, Chrome, S5 179 | */ 180 | h1 { 181 | font-size: 2em; 182 | margin: 0.67em 0; 183 | } 184 | 185 | h2 { 186 | font-size: 1.5em; 187 | margin: 0.83em 0; 188 | } 189 | 190 | h3 { 191 | font-size: 1.17em; 192 | margin: 1em 0; 193 | } 194 | 195 | h4 { 196 | font-size: 1em; 197 | margin: 1.33em 0; 198 | } 199 | 200 | h5 { 201 | font-size: 0.83em; 202 | margin: 1.67em 0; 203 | } 204 | 205 | h6 { 206 | font-size: 0.75em; 207 | margin: 2.33em 0; 208 | } 209 | 210 | /* 211 | * Addresses styling not present in IE7/8/9, S5, Chrome 212 | */ 213 | abbr[title] { 214 | border-bottom: 1px dotted; 215 | } 216 | 217 | /* 218 | * Addresses style set to 'bolder' in FF3+, S4/5, Chrome 219 | */ 220 | b, 221 | strong { 222 | font-weight: bold; 223 | } 224 | 225 | blockquote { 226 | margin: 1em 40px; 227 | } 228 | 229 | /* 230 | * Addresses styling not present in S5, Chrome 231 | */ 232 | dfn { 233 | font-style: italic; 234 | } 235 | 236 | /* 237 | * Addresses styling not present in IE6/7/8/9 238 | */ 239 | mark { 240 | background: #ff0; 241 | color: #000; 242 | } 243 | 244 | /* 245 | * Addresses margins set differently in IE6/7 246 | */ 247 | p, 248 | pre { 249 | margin: 1em 0; 250 | } 251 | 252 | /* 253 | * Corrects font family set oddly in IE6, S4/5, Chrome 254 | * en.wikipedia.org/wiki/User:Davidgothberg/Test59 255 | */ 256 | pre, 257 | code, 258 | kbd, 259 | samp { 260 | font-family: monospace, serif; 261 | _font-family: 'courier new', monospace; 262 | font-size: 1em; 263 | } 264 | 265 | /* 266 | * 1. Addresses CSS quotes not supported in IE6/7 267 | * 2. Addresses quote property not supported in S4 268 | */ 269 | /* 1 */ 270 | q { 271 | quotes: none; 272 | } 273 | 274 | /* 2 */ 275 | q:before, 276 | q:after { 277 | content: ''; 278 | content: none; 279 | } 280 | 281 | small { 282 | font-size: 75%; 283 | } 284 | 285 | /* 286 | * Prevents sub and sup affecting line-height in all browsers 287 | * gist.github.com/413930 288 | */ 289 | sub, 290 | sup { 291 | font-size: 75%; 292 | line-height: 0; 293 | position: relative; 294 | vertical-align: baseline; 295 | } 296 | 297 | sup { 298 | top: -0.5em; 299 | } 300 | 301 | sub { 302 | bottom: -0.25em; 303 | } 304 | 305 | /* ============================================================================= 306 | Lists 307 | ========================================================================== */ 308 | /* 309 | * Addresses margins set differently in IE6/7 310 | */ 311 | dl, 312 | menu, 313 | ol, 314 | ul { 315 | margin: 1em 0; 316 | } 317 | 318 | dd { 319 | margin: 0 0 0 40px; 320 | } 321 | 322 | /* 323 | * Addresses paddings set differently in IE6/7 324 | */ 325 | menu, 326 | ol, 327 | ul { 328 | padding: 0 0 0 40px; 329 | } 330 | 331 | /* 332 | * Corrects list images handled incorrectly in IE7 333 | */ 334 | nav ul, 335 | nav ol { 336 | list-style: none; 337 | list-style-image: none; 338 | } 339 | 340 | /* ============================================================================= 341 | Embedded content 342 | ========================================================================== */ 343 | /* 344 | * 1. Removes border when inside 'a' element in IE6/7/8/9, FF3 345 | * 2. Improves image quality when scaled in IE7 346 | * code.flickr.com/blog/2008/11/12/on-ui-quality-the-little-things-client-side-image-resizing/ 347 | */ 348 | img { 349 | border: 0; 350 | /* 1 */ 351 | -ms-interpolation-mode: bicubic; 352 | /* 2 */ 353 | } 354 | 355 | /* 356 | * Corrects overflow displayed oddly in IE9 357 | */ 358 | svg:not(:root) { 359 | overflow: hidden; 360 | } 361 | 362 | /* ============================================================================= 363 | Figures 364 | ========================================================================== */ 365 | /* 366 | * Addresses margin not present in IE6/7/8/9, S5, O11 367 | */ 368 | figure { 369 | margin: 0; 370 | } 371 | 372 | /* ============================================================================= 373 | Forms 374 | ========================================================================== */ 375 | /* 376 | * Corrects margin displayed oddly in IE6/7 377 | */ 378 | form { 379 | margin: 0; 380 | } 381 | 382 | /* 383 | * Define consistent border, margin, and padding 384 | */ 385 | fieldset { 386 | border: 1px solid #c0c0c0; 387 | margin: 0 2px; 388 | padding: 0.35em 0.625em 0.75em; 389 | } 390 | 391 | /* 392 | * 1. Corrects color not being inherited in IE6/7/8/9 393 | * 2. Corrects text not wrapping in FF3 394 | * 3. Corrects alignment displayed oddly in IE6/7 395 | */ 396 | legend { 397 | border: 0; 398 | /* 1 */ 399 | padding: 0; 400 | white-space: normal; 401 | /* 2 */ 402 | *margin-left: -7px; 403 | /* 3 */ 404 | } 405 | 406 | /* 407 | * 1. Corrects font size not being inherited in all browsers 408 | * 2. Addresses margins set differently in IE6/7, FF3+, S5, Chrome 409 | * 3. Improves appearance and consistency in all browsers 410 | */ 411 | button, 412 | input, 413 | select, 414 | textarea { 415 | font-size: 100%; 416 | /* 1 */ 417 | margin: 0; 418 | /* 2 */ 419 | vertical-align: baseline; 420 | /* 3 */ 421 | *vertical-align: middle; 422 | /* 3 */ 423 | } 424 | 425 | /* 426 | * Addresses FF3/4 setting line-height on 'input' using !important in the UA stylesheet 427 | */ 428 | button, 429 | input { 430 | line-height: normal; 431 | /* 1 */ 432 | } 433 | 434 | /* 435 | * 1. Improves usability and consistency of cursor style between image-type 'input' and others 436 | * 2. Corrects inability to style clickable 'input' types in iOS 437 | * 3. Removes inner spacing in IE7 without affecting normal text inputs 438 | * Known issue: inner spacing remains in IE6 439 | */ 440 | button, 441 | input[type="button"], 442 | input[type="reset"], 443 | input[type="submit"] { 444 | cursor: pointer; 445 | /* 1 */ 446 | -webkit-appearance: button; 447 | /* 2 */ 448 | *overflow: visible; 449 | /* 3 */ 450 | } 451 | 452 | /* 453 | * Re-set default cursor for disabled elements 454 | */ 455 | button[disabled], 456 | input[disabled] { 457 | cursor: default; 458 | } 459 | 460 | /* 461 | * 1. Addresses box sizing set to content-box in IE8/9 462 | * 2. Removes excess padding in IE8/9 463 | * 3. Removes excess padding in IE7 464 | Known issue: excess padding remains in IE6 465 | */ 466 | input[type="checkbox"], 467 | input[type="radio"] { 468 | box-sizing: border-box; 469 | /* 1 */ 470 | padding: 0; 471 | /* 2 */ 472 | *height: 13px; 473 | /* 3 */ 474 | *width: 13px; 475 | /* 3 */ 476 | } 477 | 478 | /* 479 | * 1. Addresses appearance set to searchfield in S5, Chrome 480 | * 2. Addresses box-sizing set to border-box in S5, Chrome (include -moz to future-proof) 481 | */ 482 | input[type="search"] { 483 | -webkit-appearance: textfield; 484 | /* 1 */ 485 | -moz-box-sizing: content-box; 486 | -webkit-box-sizing: content-box; 487 | /* 2 */ 488 | box-sizing: content-box; 489 | } 490 | 491 | /* 492 | * Removes inner padding and search cancel button in S5, Chrome on OS X 493 | */ 494 | input[type="search"]::-webkit-search-decoration, 495 | input[type="search"]::-webkit-search-cancel-button { 496 | -webkit-appearance: none; 497 | } 498 | 499 | /* 500 | * Removes inner padding and border in FF3+ 501 | * www.sitepen.com/blog/2008/05/14/the-devils-in-the-details-fixing-dojos-toolbar-buttons/ 502 | */ 503 | button::-moz-focus-inner, 504 | input::-moz-focus-inner { 505 | border: 0; 506 | padding: 0; 507 | } 508 | 509 | /* 510 | * 1. Removes default vertical scrollbar in IE6/7/8/9 511 | * 2. Improves readability and alignment in all browsers 512 | */ 513 | textarea { 514 | overflow: auto; 515 | /* 1 */ 516 | vertical-align: top; 517 | /* 2 */ 518 | } 519 | 520 | /* ============================================================================= 521 | Tables 522 | ========================================================================== */ 523 | /* 524 | * Remove most spacing between table cells 525 | */ 526 | table { 527 | border-collapse: collapse; 528 | border-spacing: 0; 529 | } 530 | 531 | body { 532 | padding: 0px 0 20px 0px; 533 | margin: 0px; 534 | font: 14px/1.5 "OpenSansRegular", "Helvetica Neue", Helvetica, Arial, sans-serif; 535 | color: #f0e7d5; 536 | font-weight: normal; 537 | background: #252525; 538 | background-attachment: fixed !important; 539 | background: linear-gradient(#2a2a29, #1c1c1c); 540 | } 541 | 542 | h1, h2, h3, h4, h5, h6 { 543 | color: #e8e8e8; 544 | margin: 0 0 10px; 545 | font-family: 'OpenSansRegular', "Helvetica Neue", Helvetica, Arial, sans-serif; 546 | font-weight: normal; 547 | } 548 | 549 | p, ul, ol, table, pre, dl { 550 | margin: 0 0 20px; 551 | } 552 | 553 | h1, h2, h3 { 554 | line-height: 1.1; 555 | } 556 | 557 | h1 { 558 | font-size: 28px; 559 | } 560 | 561 | h2 { 562 | font-size: 24px; 563 | } 564 | 565 | h4, h5, h6 { 566 | color: #e8e8e8; 567 | } 568 | 569 | h3 { 570 | font-size: 18px; 571 | line-height: 24px; 572 | font-family: 'OpenSansRegular', "Helvetica Neue", Helvetica, Arial, sans-serif !important; 573 | font-weight: normal; 574 | color: #b6b6b6; 575 | } 576 | 577 | a { 578 | color: #ffcc00; 579 | font-weight: 400; 580 | text-decoration: none; 581 | } 582 | a:hover { 583 | color: #ffeb9b; 584 | } 585 | 586 | a small { 587 | font-size: 11px; 588 | color: #666; 589 | margin-top: -0.6em; 590 | display: block; 591 | } 592 | 593 | ul { 594 | list-style-image: url("../images/bullet.png"); 595 | } 596 | 597 | strong { 598 | font-family: 'OpenSansBold', "Helvetica Neue", Helvetica, Arial, sans-serif !important; 599 | font-weight: normal; 600 | } 601 | 602 | .wrapper { 603 | max-width: 850px; 604 | margin: 0 auto; 605 | position: relative; 606 | padding: 0 20px; 607 | } 608 | 609 | section img { 610 | max-width: 100%; 611 | } 612 | 613 | blockquote { 614 | border-left: 3px solid #ffcc00; 615 | margin: 0; 616 | padding: 0 0 0 20px; 617 | font-style: italic; 618 | } 619 | 620 | code { 621 | font-family: "Lucida Sans", Monaco, Bitstream Vera Sans Mono, Lucida Console, Terminal; 622 | color: #efefef; 623 | font-size: 13px; 624 | margin: 0 4px; 625 | padding: 4px 6px; 626 | border-radius: 2px; 627 | } 628 | 629 | pre { 630 | padding: 8px 15px; 631 | background: #191919; 632 | border-radius: 2px; 633 | border: 1px dashed #555; 634 | box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3); 635 | overflow: auto; 636 | overflow-y: hidden; 637 | } 638 | pre code { 639 | color: #efefef; 640 | text-shadow: 0px 1px 0px #000; 641 | margin: 0; 642 | padding: 0; 643 | } 644 | 645 | table { 646 | width: 100%; 647 | border-collapse: collapse; 648 | border-top: 1px solid #aaa; 649 | border-left: 1px solid #666; 650 | } 651 | 652 | th { 653 | text-align: left; 654 | padding: 5px 10px; 655 | border-bottom: 1px solid #aaa; 656 | border-right: 1px solid #666; 657 | color: #b6b6b6; 658 | font-family: 'OpenSansSemibold', "Helvetica Neue", Helvetica, Arial, sans-serif !important; 659 | font-weight: normal; 660 | } 661 | 662 | td { 663 | text-align: left; 664 | padding: 5px 10px; 665 | border-bottom: 1px solid #666; 666 | border-right: 1px solid #666; 667 | } 668 | 669 | hr { 670 | border: 0; 671 | outline: none; 672 | height: 3px; 673 | background: transparent url("../images/hr.gif") center center repeat-x; 674 | margin: 0 0 20px; 675 | } 676 | 677 | dt { 678 | color: #F0E7D5; 679 | font-family: 'OpenSansSemibold', "Helvetica Neue", Helvetica, Arial, sans-serif !important; 680 | font-weight: normal; 681 | } 682 | 683 | #header { 684 | width: 100%; 685 | height: 60px; 686 | background: url(../images/nav-bg.gif) #353535; 687 | border-bottom: 4px solid #434343; 688 | box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.25); 689 | } 690 | #header nav { 691 | max-width: 850px; 692 | margin: 0 auto; 693 | padding: 0 10px; 694 | margin: 6px auto; 695 | } 696 | #header nav ul.sections { 697 | float: left; 698 | padding-left: 0; 699 | } 700 | #header nav ul.downloads { 701 | float: right; 702 | } 703 | #header nav li { 704 | font-family: 'OpenSansLight', "Helvetica Neue", Helvetica, Arial, sans-serif; 705 | font-weight: normal; 706 | list-style: none; 707 | display: inline; 708 | color: white; 709 | line-height: 50px; 710 | text-shadow: 0px 1px 0px rgba(0, 0, 0, 0.2); 711 | font-size: 14px; 712 | } 713 | #header nav li a { 714 | color: white; 715 | border: 1px solid #5d910b; 716 | background: linear-gradient(#93bd20, #659e10); 717 | border-radius: 2px; 718 | box-shadow: inset 0px 1px 0px rgba(255, 255, 255, 0.3), 0px 3px 7px rgba(0, 0, 0, 0.7); 719 | background-color: #93bd20; 720 | padding: 10px 12px; 721 | margin-top: 6px; 722 | line-height: 14px; 723 | font-size: 14px; 724 | display: inline-block; 725 | text-align: center; 726 | } 727 | #header nav li a:hover { 728 | background: linear-gradient(#749619, #527f0e); 729 | background-color: #659e10; 730 | border: 1px solid #527f0e; 731 | box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.2), 0px 1px 0px rgba(0, 0, 0, 0); 732 | } 733 | #header nav ul.sections li a { 734 | background: linear-gradient(#111, #444); 735 | border-color: #888; 736 | } 737 | #header nav li.fork { 738 | margin-left: 0px; 739 | } 740 | #header nav li.downloads { 741 | margin-left: 6px; 742 | } 743 | 744 | section { 745 | padding: 30px 0px 50px 0px; 746 | margin: 20px 0; 747 | margin-top: 10px; 748 | } 749 | section #title { 750 | border: 0; 751 | outline: none; 752 | margin: 0 0 30px 0; 753 | padding: 0 0 5px 0; 754 | } 755 | section #title h1 { 756 | font-family: 'OpenSansLight', "Helvetica Neue", Helvetica, Arial, sans-serif; 757 | font-weight: normal; 758 | font-size: 40px; 759 | text-align: center; 760 | line-height: 36px; 761 | } 762 | section #title p { 763 | color: #d7cfbe; 764 | font-family: 'OpenSansLight', "Helvetica Neue", Helvetica, Arial, sans-serif; 765 | font-weight: normal; 766 | font-size: 18px; 767 | text-align: center; 768 | } 769 | section #title .credits { 770 | font-size: 11px; 771 | font-family: 'OpenSansRegular', "Helvetica Neue", Helvetica, Arial, sans-serif; 772 | font-weight: normal; 773 | color: #696969; 774 | margin-top: -10px; 775 | } 776 | section #title .credits.left { 777 | float: left; 778 | } 779 | section #title .credits.right { 780 | float: right; 781 | } 782 | 783 | table.gestlist td { 784 | vertical-align: top; 785 | } 786 | table.gestlist td .browser { 787 | color: skyblue; 788 | font-weight: bold; 789 | } 790 | table.gestlist td .source { 791 | color: #9933ff; 792 | font-weight: bold; 793 | } 794 | table.gestlist td .messenger { 795 | color: green; 796 | font-weight: bold; 797 | } 798 | table.gestlist td .mailcompose { 799 | color: #999900; 800 | font-weight: bold; 801 | } 802 | table.gestlist tr td:first-child { 803 | font-weight: bold; 804 | } 805 | 806 | @media print, screen and (max-width: 720px) { 807 | #title .credits { 808 | display: block; 809 | width: 100%; 810 | line-height: 30px; 811 | text-align: center; 812 | } 813 | #title .credits .left { 814 | float: none; 815 | display: block; 816 | } 817 | #title .credits .right { 818 | float: none; 819 | display: block; 820 | } 821 | } 822 | @media print, screen and (max-width: 480px) { 823 | #header { 824 | margin-top: -20px; 825 | } 826 | 827 | section { 828 | margin-top: 40px; 829 | } 830 | 831 | nav { 832 | display: none; 833 | } 834 | } 835 | -------------------------------------------------------------------------------- /fonts/OpenSans-Light-webfont.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | This is a custom SVG webfont generated by Font Squirrel. 6 | Copyright : Digitized data copyright 20102011 Google Corporation 7 | Foundry : Ascender Corporation 8 | Foundry URL : httpwwwascendercorpcom 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | 110 | 111 | 112 | 113 | 114 | 115 | 116 | 117 | 118 | 119 | 120 | 121 | 122 | 123 | 124 | 125 | 126 | 127 | 128 | 129 | 130 | 131 | 132 | 133 | 134 | 135 | 136 | 137 | 138 | 139 | 140 | 141 | 142 | 143 | 144 | 145 | 146 | -------------------------------------------------------------------------------- /fonts/OpenSans-Bold-webfont.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | This is a custom SVG webfont generated by Font Squirrel. 6 | Copyright : Digitized data copyright 20102011 Google Corporation 7 | Foundry : Ascender Corporation 8 | Foundry URL : httpwwwascendercorpcom 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | 110 | 111 | 112 | 113 | 114 | 115 | 116 | 117 | 118 | 119 | 120 | 121 | 122 | 123 | 124 | 125 | 126 | 127 | 128 | 129 | 130 | 131 | 132 | 133 | 134 | 135 | 136 | 137 | 138 | 139 | 140 | 141 | 142 | 143 | 144 | 145 | 146 | -------------------------------------------------------------------------------- /fonts/OpenSans-Semibold-webfont.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | This is a custom SVG webfont generated by Font Squirrel. 6 | Copyright : Digitized data copyright 2011 Google Corporation 7 | Foundry : Ascender Corporation 8 | Foundry URL : httpwwwascendercorpcom 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | 110 | 111 | 112 | 113 | 114 | 115 | 116 | 117 | 118 | 119 | 120 | 121 | 122 | 123 | 124 | 125 | 126 | 127 | 128 | 129 | 130 | 131 | 132 | 133 | 134 | 135 | 136 | 137 | 138 | 139 | 140 | 141 | 142 | 143 | 144 | 145 | 146 | -------------------------------------------------------------------------------- /fonts/OpenSans-Regular-webfont.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | This is a custom SVG webfont generated by Font Squirrel. 6 | Copyright : Digitized data copyright 20102011 Google Corporation 7 | Foundry : Ascender Corporation 8 | Foundry URL : httpwwwascendercorpcom 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | 110 | 111 | 112 | 113 | 114 | 115 | 116 | 117 | 118 | 119 | 120 | 121 | 122 | 123 | 124 | 125 | 126 | 127 | 128 | 129 | 130 | 131 | 132 | 133 | 134 | 135 | 136 | 137 | 138 | 139 | 140 | 141 | 142 | 143 | 144 | 145 | 146 | -------------------------------------------------------------------------------- /fonts/OpenSans-BoldItalic-webfont.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | This is a custom SVG webfont generated by Font Squirrel. 6 | Copyright : Digitized data copyright 20102011 Google Corporation 7 | Foundry : Ascender Corporation 8 | Foundry URL : httpwwwascendercorpcom 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | 110 | 111 | 112 | 113 | 114 | 115 | 116 | 117 | 118 | 119 | 120 | 121 | 122 | 123 | 124 | 125 | 126 | 127 | 128 | 129 | 130 | 131 | 132 | 133 | 134 | 135 | 136 | 137 | 138 | 139 | 140 | 141 | 142 | 143 | 144 | 145 | 146 | --------------------------------------------------------------------------------