From e814dd48a831f07ab75fbd79fbcdf58d05d2d483 Mon Sep 17 00:00:00 2001 From: Manuel Ebert Date: Sun, 26 Jan 2014 12:00:19 +0100 Subject: [PATCH] Updated docs from master --- _sources/advanced.txt | 113 ++ _sources/encryption.txt | 39 + _sources/export.txt | 69 + _sources/index.txt | 20 + _sources/installation.txt | 41 + _sources/overview.txt | 23 + _sources/recipes.txt | 74 + _sources/usage.txt | 121 ++ _static/ajax-loader.gif | Bin 0 -> 673 bytes _static/basic.css | 540 ++++++ _static/comment-bright.png | Bin 0 -> 3500 bytes _static/comment-close.png | Bin 0 -> 3578 bytes _static/comment.png | Bin 0 -> 3445 bytes _static/css/jrnl.css | 1 + _static/doctools.js | 247 +++ _static/down-pressed.png | Bin 0 -> 368 bytes _static/down.png | Bin 0 -> 363 bytes _static/file.png | Bin 0 -> 392 bytes _static/img/favicon-152.png | Bin 0 -> 3261 bytes _static/img/favicon.ico | Bin 0 -> 5558 bytes _static/img/icons.png | Bin 0 -> 10460 bytes _static/img/icons@2x.png | Bin 0 -> 21723 bytes _static/img/logo.png | Bin 0 -> 2783 bytes _static/img/logo@2x.png | Bin 0 -> 5598 bytes _static/img/terminal.png | Bin 0 -> 687 bytes _static/img/twitter.png | Bin 0 -> 1550 bytes _static/jquery.js | 154 ++ _static/js/landing.js | 92 + _static/landing.svg | 3558 +++++++++++++++++++++++++++++++++++ _static/less/3L.less | 1369 ++++++++++++++ _static/less/docs.less | 287 +++ _static/less/jrnl.less | 317 ++++ _static/less/retina.less | 35 + _static/minus.png | Bin 0 -> 199 bytes _static/plus.png | Bin 0 -> 199 bytes _static/pygments.css | 70 + _static/searchtools.js | 560 ++++++ _static/sprites.svg | 96 + _static/underscore.js | 23 + _static/up-pressed.png | Bin 0 -> 372 bytes _static/up.png | Bin 0 -> 363 bytes _static/websupport.js | 808 ++++++++ advanced.html | 217 +++ encryption.html | 119 ++ export.html | 143 ++ genindex.html | 88 + index.html | 95 + installation.html | 115 ++ objects.inv | 9 + overview.html | 101 + recipes.html | 150 ++ search.html | 95 + searchindex.js | 1 + usage.html | 193 ++ 54 files changed, 9983 insertions(+) create mode 100644 _sources/advanced.txt create mode 100644 _sources/encryption.txt create mode 100644 _sources/export.txt create mode 100644 _sources/index.txt create mode 100644 _sources/installation.txt create mode 100644 _sources/overview.txt create mode 100644 _sources/recipes.txt create mode 100644 _sources/usage.txt create mode 100644 _static/ajax-loader.gif create mode 100644 _static/basic.css create mode 100644 _static/comment-bright.png create mode 100644 _static/comment-close.png create mode 100644 _static/comment.png create mode 100644 _static/css/jrnl.css create mode 100644 _static/doctools.js create mode 100644 _static/down-pressed.png create mode 100644 _static/down.png create mode 100644 _static/file.png create mode 100644 _static/img/favicon-152.png create mode 100644 _static/img/favicon.ico create mode 100644 _static/img/icons.png create mode 100644 _static/img/icons@2x.png create mode 100644 _static/img/logo.png create mode 100644 _static/img/logo@2x.png create mode 100644 _static/img/terminal.png create mode 100644 _static/img/twitter.png create mode 100644 _static/jquery.js create mode 100644 _static/js/landing.js create mode 100644 _static/landing.svg create mode 100644 _static/less/3L.less create mode 100644 _static/less/docs.less create mode 100644 _static/less/jrnl.less create mode 100644 _static/less/retina.less create mode 100644 _static/minus.png create mode 100644 _static/plus.png create mode 100644 _static/pygments.css create mode 100644 _static/searchtools.js create mode 100644 _static/sprites.svg create mode 100644 _static/underscore.js create mode 100644 _static/up-pressed.png create mode 100644 _static/up.png create mode 100644 _static/websupport.js create mode 100644 advanced.html create mode 100644 encryption.html create mode 100644 export.html create mode 100644 genindex.html create mode 100644 index.html create mode 100644 installation.html create mode 100644 objects.inv create mode 100644 overview.html create mode 100644 recipes.html create mode 100644 search.html create mode 100644 searchindex.js create mode 100644 usage.html diff --git a/_sources/advanced.txt b/_sources/advanced.txt new file mode 100644 index 00000000..89771f28 --- /dev/null +++ b/_sources/advanced.txt @@ -0,0 +1,113 @@ +.. _advanced: + +Advanced Usage +============== + +Configuration File +------------------- + +You can configure the way jrnl behaves in a configuration file. By default, this is ``~/.jrnl_config``. If you have the ``XDG_CONFIG_HOME`` variable set, the configuration file will be saved under ``$XDG_CONFIG_HOME/jrnl``. + +.. note:: + + On Windows, The configuration file is typically found at ``C:\Users\[Your Username]\.jrnl_config``. + + +The configuration file is a simple JSON file with the following options and can be edited with any plain text editor. + +- ``journals`` + paths to your journal files +- ``editor`` + if set, executes this command to launch an external editor for writing your entries, e.g. ``vim``. Some editors require special options to work properly, see :doc:`FAQ ` for details. +- ``encrypt`` + if ``true``, encrypts your journal using AES. +- ``tagsymbols`` + Symbols to be interpreted as tags. (See note below) +- ``default_hour`` and ``default_minute`` + if you supply a date, such as ``last thursday``, but no specific time, the entry will be created at this time +- ``timeformat`` + how to format the timestamps in your journal, see the `python docs `_ for reference +- ``highlight`` + if ``true``, tags will be highlighted in cyan. +- ``linewrap`` + controls the width of the output. Set to ``false`` if you don't want to wrap long lines. + +.. note:: + + Although it seems intuitive to use the `#` character for tags, there's a drawback: on most shells, this is interpreted as a meta-character starting a comment. This means that if you type + + .. code-block:: note + + jrnl Implemented endless scrolling on the #frontend of our website. + + your bash will chop off everything after the ``#`` before passing it to _jrnl_). To avoid this, wrap your input into quotation marks like this: + + .. code-block:: note + + jrnl "Implemented endless scrolling on the #frontend of our website." + + Or use the built-in prompt or an external editor to compose your entries. + +DayOne Integration +------------------ + +Using your DayOne journal instead of a flat text file is dead simple -- instead of pointing to a text file, change your ``.jrnl_config`` to point to your DayOne journal. This is a folder ending with ``.dayone``, and it's located at + +* ``~/Library/Application Support/Day One/`` by default +* ``~/Dropbox/Apps/Day One/`` if you're syncing with Dropbox and +* ``~/Library/Mobile Documents/5U8NS4GX82~com~dayoneapp~dayone/Documents/`` if you're syncing with iCloud. + +Instead of all entries being in a single file, each entry will live in a separate `plist` file. + +Multiple journal files +---------------------- + +You can configure _jrnl_ to use with multiple journals (eg. ``private`` and ``work``) by defining more journals in your ``.jrnl_config``, for example: + +.. code-block:: javascript + + { + ... + "journals": { + "default": "~/journal.txt", + "work": "~/work.txt" + } + } + +The ``default`` journal gets created the first time you start _jrnl_. Now you can access the ``work`` journal by using ``jrnl work`` instead of ``jrnl``, eg. :: + + jrnl work at 10am: Meeting with @Steve + +:: + + jrnl work -n 3 + +will both use ``~/work.txt``, while ``jrnl -n 3`` will display the last three entries from ``~/journal.txt`` (and so does ``jrnl default -n 3``). + +You can also override the default options for each individual journal. If you ``.jrnl_config`` looks like this: + +.. code-block:: javascript + + { + ... + "encrypt": false + "journals": { + "default": "~/journal.txt", + "work": { + "journal": "~/work.txt", + "encrypt": true + }, + "food": "~/my_recipes.txt", + } + +Your ``default`` and your ``food`` journals won't be encrypted, however your ``work`` journal will! You can override all options that are present at the top level of ``.jrnl_config``, just make sure that at the very least you specify a ``"journal": ...`` key that points to the journal file of that journal. + +.. note:: + + Changing ``encrypt`` to a different value will not encrypt or decrypt your journal file, it merely says whether or not your journal `is` encrypted. Hence manually changing this option will most likely result in your journal file being impossible to load. + +Known Issues +~~~~~~~~~~~~ + +- The Windows shell prior to Windows 7 has issues with unicode encoding. If you want to use non-ascii characters, change the codepage with ``chcp 1252`` before using `jrnl` (Thanks to Yves Pouplard for solving this!) +- _jrnl_ relies on the `PyCrypto` package to encrypt journals, which has some known problems with installing on Windows and within virtual environments. diff --git a/_sources/encryption.txt b/_sources/encryption.txt new file mode 100644 index 00000000..df4781f8 --- /dev/null +++ b/_sources/encryption.txt @@ -0,0 +1,39 @@ +.. _encryption: + +Encryption +========== + +Encrypting and decrypting +------------------------- + + +If you don't choose to encrypt your file when you run `jrnl` for the first time, you can encrypt your existing journal file or change its password using :: + + jrnl --encrypt + +If it is already encrypted, you will first be asked for the current password. You can then enter a new password and your plain journal will replaced by the encrypted file. Conversely, :: + + jrnl --decrypt + +will replace your encrypted journal file by a Journal in plain text. You can also specify a filename, ie. ``jrnl --decrypt plain_text_copy.txt``, to leave your original file untouched. + + +Storing passwords in your keychain +---------------------------------- + +Whenever you encrypt your journal, you are asked whether you want to store the encryption password in your keychain. If you do this, you won't have to enter your password every time you want to write or read your journal. + +If you don't initially store the password in the keychain but decide to do so at a later point -- or maybe want to store it on one computer but not on another -- you can simply run ``jrnl --encrypt`` on an encrypted journal and use the same password again. + + +Manual decryption +----------------- + +Should you ever want to decrypt your journal manually, you can do so with any program that supports the AES algorithm. The key used for encryption is the SHA-256-hash of your password, and the IV (initialisation vector) is stored in the first 16 bytes of the encrypted file. So, to decrypt a journal file in python, run:: + + import hashlib, Crypto.Cipher + key = hashlib.sha256(my_password).digest() + with open("my_journal.txt") as f: + cipher = f.read() + crypto = AES.new(key, AES.MODE_CBC, iv = cipher[:16]) + plain = crypto.decrypt(cipher[16:]) diff --git a/_sources/export.txt b/_sources/export.txt new file mode 100644 index 00000000..e017951d --- /dev/null +++ b/_sources/export.txt @@ -0,0 +1,69 @@ +.. _export: + +Import and Export +================= + +Tag export +---------- + +With:: + + jrnl --tags + +you'll get a list of all tags you used in your journal, sorted by most frequent. Tags occurring several times in the same entry are only counted as one. + +List of all entries +------------------- + +:: + + jrnl --short + +Will only display the date and title of each entry. + +JSON export +----------- + +Can do:: + + jrnl --export json + +Why not create a `beautiful timeline `_ of your journal? + +Markdown export +--------------- + +Use:: + + jrnl --export markdown + +Markdown is a simple markup language that is human readable and can be used to be rendered to other formats (html, pdf). This README for example is formatted in markdown and github makes it look nice. + +Text export +----------- + +:: + + jrnl --export text + +Pretty-prints your entire journal. + +Export to files +--------------- + +You can specify the output file of your exported journal using the `-o` argument:: + + jrnl --export md -o journal.md + +The above command will generate a file named `journal.md`. If the `-o` argument is a directory, jrnl will export each entry into an individual file:: + + jrnl --export json -o my_entries/ + +The contents of `my_entries/` will then look like this: + +.. code-block:: output + + my_entries/ + |- 2013_06_03_a-beautiful-day.json + |- 2013_06_07_dinner-with-gabriel.json + |- ... diff --git a/_sources/index.txt b/_sources/index.txt new file mode 100644 index 00000000..c7d7119b --- /dev/null +++ b/_sources/index.txt @@ -0,0 +1,20 @@ +.. jrnl documentation master file, created by + sphinx-quickstart on Wed Aug 7 13:22:51 2013. + +jrnl: The command-line journal +============================== + +Release v\ |version|. + +Contents: + +.. toctree:: + :maxdepth: 3 + + overview + installation + usage + encryption + export + advanced + recipes diff --git a/_sources/installation.txt b/_sources/installation.txt new file mode 100644 index 00000000..709eb9c3 --- /dev/null +++ b/_sources/installation.txt @@ -0,0 +1,41 @@ +.. _download: + +Getting started +=============== + +Installation +------------ + +Install *jrnl* using pip :: + + pip install jrnl + +Or, if you want the option to encrypt your journal, :: + + pip install jrnl[encrypted] + +to install the dependencies for encrypting journals as well. + +.. note:: + + Installing the encryption library, `pycrypto`, requires a `gcc` compiler. For this reason, jrnl will not install `pycrypto` unless explicitly told so like this. You can `install PyCyrypto manually `_ first or install it with ``pip install pycrypto`` if you have a `gcc` compiler. + +The first time you run ``jrnl`` you will be asked where your journal file should be created and whether you wish to encrypt it. + + +Quickstart +---------- + +to make a new entry, just type:: + + jrnl yesterday: Called in sick. Used the time to clean the house and spent 4h on writing my book. + +and hit return. ``yesterday:`` will be interpreted as a time stamp. Everything until the first sentence mark (``.?!:``) will be interpreted as the title, the rest as the body. In your journal file, the result will look like this: + +.. code-block:: output + + 2012-03-29 09:00 Called in sick. + Used the time to clean the house and spent 4h on writing my book. + +If you just call ``jrnl``, you will be prompted to compose your entry - but you can also configure *jrnl* to use your external editor. + diff --git a/_sources/overview.txt b/_sources/overview.txt new file mode 100644 index 00000000..726fbcf1 --- /dev/null +++ b/_sources/overview.txt @@ -0,0 +1,23 @@ +.. _overview: + +Overview +=============== + +What is jrnl? +------------- + +`jrnl` is a simple journal application for your command line. Journals are stored as human readable plain text files - you can put them into a Dropbox folder for instant syncing and you can be assured that your journal will still be readable in 2050, when all your fancy iPad journal applications will long be forgotten. + +`jrnl` also plays nice with the fabulous `DayOne `_ and can read and write directly from and to DayOne Journals. + +Optionally, your journal can be encrypted using the `256-bit AES `_. + +Why keep a journal? +------------------- + +Journals aren't only for 13-year old girls and people who have too much time on their summer vacation. A journal helps you to keep track of the things you get done and how you did them. Your imagination may be limitless, but your memory isn't. + +For personal use, make it a good habit to write at least 20 words a day. Just to reflect what made this day special, why you haven't wasted it. + +For professional use, consider a text-based journal to be the perfect complement to your GTD todo list - a documentation of what and how you've done it. Or use it as a quick way to keep a change log. Or use it to keep a lab book. + diff --git a/_sources/recipes.txt b/_sources/recipes.txt new file mode 100644 index 00000000..253392b9 --- /dev/null +++ b/_sources/recipes.txt @@ -0,0 +1,74 @@ +.. _recipes: + +FAQ +=== + +Recipes +------- + +Co-occurrence of tags +~~~~~~~~~~~~~~~~~~~~~ + +If I want to find out how often I mentioned my flatmates Alberto and Melo in the same entry, I run :: + + jrnl @alberto --tags | grep @melo + +And will get something like ``@melo: 9``, meaning there are 9 entries where both ``@alberto`` and ``@melo`` are tagged. How does this work? First, ``jrnl @alberto`` will filter the journal to only entries containing the tag ``@alberto``, and then the ``--tags`` option will print out how often each tag occurred in this `filtered` journal. Finally, we pipe this to ``grep`` which will only display the line containing ``@melo``. + +Combining filters +~~~~~~~~~~~~~~~~~ + +You can do things like :: + + jrnl @fixed -starred -n 10 -until "jan 2013" --short + +To get a short summary of the 10 most recent, favourited entries before January 1, 2013 that are tagged with ``@fixed``. + +External editors +---------------- + +To use external editors for writing and editing journal entries, set them up in your ``.jrnl_config`` (see :doc:`advanced usage ` for details). Generally, after writing an entry, you will have to save and close the file to save the changes to jrnl. + +Sublime Text +~~~~~~~~~~~~ + +To use Sublime Text, install the command line tools for Sublime Text and configure your ``.jrnl_config`` like this: + +.. code-block:: javascript + + "editor": "subl -w" + +Note the ``-w`` flag to make sure jrnl waits for Sublime Text to close the file before writing into the journal. + + +MacVim +~~~~~~ + +Similar to Sublime Text, MacVim must be started with a flag that tells the the process to wait until the file is closed before passing control back to journal. In the case of MacVim, this is ``-f``: + +.. code-block:: javascript + + "editor": "mvim -f" + +iA Writer +~~~~~~~~~ + +On OS X, you can use the fabulous `iA Writer `_ to write entries. Configure your ``.jrnl_config`` like this: + +.. code-block:: javascript + + "editor": "open -b jp.informationarchitects.WriterForMacOSX -Wn" + +What does this do? ``open -b ...`` opens a file using the application identified by the bundle identifier (a unique string for every app out there). ``-Wn`` tells the application to wait until it's closed before passing back control, and to use a new instance of the application. + + +Notepad++ on Windows +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +To set `Notepad++ `_ as your editor, edit the jrnl config file (``.jrnl_config``) like this: + +.. code-block:: javascript + + "editor": "C:\\Program Files (x86)\\Notepad++\\notepad++.exe -multiInst", + +The double backslashes are needed so jrnl can read the file path correctly. The ``-multiInst`` option will cause jrnl to open its own Notepad++ window. diff --git a/_sources/usage.txt b/_sources/usage.txt new file mode 100644 index 00000000..6ef0f390 --- /dev/null +++ b/_sources/usage.txt @@ -0,0 +1,121 @@ +.. _usage: + +Basic Usage +=========== + +*jrnl* has two modes: **composing** and **viewing**. Basically, whenever you `don't` supply any arguments that start with a dash or double-dash, you're in composing mode, meaning you can write your entry on the command line or an editor of your choice. + +We intentionally break a convention on command line arguments: all arguments starting with a `single dash` will `filter` your journal before viewing it, and can be combined arbitrarily. Arguments with a `double dash` will control how your journal is displayed or exported and are mutually exclusive (ie. you can only specify one way to display or export your journal at a time). + + +Composing Entries +----------------- + +Composing mode is entered by either starting ``jrnl`` without any arguments -- which will prompt you to write an entry or launch your editor -- or by just writing an entry on the prompt, such as:: + + jrnl today at 3am: I just met Steve Buscemi in a bar! He looked funny. + +You can also import an entry directly from a file:: + + jrnl < my_entry.txt + +Smart timestamps +~~~~~~~~~~~~~~~~ + +Timestamps that work: + +* at 6am +* yesterday +* last monday +* sunday at noon +* 2 march 2012 +* 7 apr +* 5/20/1998 at 23:42 + +Starring entries +~~~~~~~~~~~~~~~~ + +To mark an entry as a favourite, simply "star" it:: + + jrnl last sunday *: Best day of my life. + +If you don't want to add a date (ie. your entry will be dated as now), The following options are equivalent: + +* ``jrnl *: Best day of my life.`` +* ``jrnl *Best day of my life.`` +* ``jrnl Best day of my life.*`` + +.. note:: + + Just make sure that the asterisk sign is **not** surrounded by whitespaces, e.g. ``jrnl Best day of my life! *`` will **not** work (the reason being that the ``*`` sign has a special meaning on most shells). + +Viewing +------- + +:: + + jrnl -n 10 + +will list you the ten latest entries, :: + + jrnl -from "last year" -until march + +everything that happened from the start of last year to the start of last march. To only see your favourite entries, use :: + + jrnl -starred + +Using Tags +---------- + +Keep track of people, projects or locations, by tagging them with an ``@`` in your entries :: + + jrnl Had a wonderful day on the @beach with @Tom and @Anna. + +You can filter your journal entries just like this: :: + + jrnl @pinkie @WorldDomination + +Will print all entries in which either ``@pinkie`` or ``@WorldDomination`` occurred. :: + + jrnl -n 5 -and @pineapple @lubricant + +the last five entries containing both ``@pineapple`` **and** ``@lubricant``. You can change which symbols you'd like to use for tagging in the configuration. + +.. note:: + + ``jrnl @pinkie @WorldDomination`` will switch to viewing mode because although **no** command line arguments are given, all the input strings look like tags - *jrnl* will assume you want to filter by tag. + +Editing older entries +--------------------- + +You can edit selected entries after you wrote them. This is particularly useful when your journal file is encrypted or if you're using a DayOne journal. To use this feature, you need to have an editor configured in your journal configuration file (see :doc:`advanced usage `):: + + jrnl -until 1950 @texas -and @history --edit + +Will open your editor with all entries tagged with ``@texas`` and ``@history`` before 1950. You can make any changes to them you want; after you save the file and close the editor, your journal will be updated. + +Of course, if you are using multiple journals, you can also edit e.g. the latest entry of your work journal with ``jrnl work -n 1 --edit``. In any case, this will bring up your editor and save (and, if applicable, encrypt) your edited journal after you save and exit the editor. + +You can also use this feature for deleting entries from your journal:: + + jrnl @girlfriend -until 'june 2012' --edit + +Just select all text, press delete, and everything is gone... + +Editing DayOne Journals +~~~~~~~~~~~~~~~~~~~~~~~ + +DayOne journals can be edited exactly the same way, however the output looks a little bit different because of the way DayOne stores its entries: + +.. code-block:: output + + # af8dbd0d43fb55458f11aad586ea2abf + 2013-05-02 15:30 I told everyone I built my @robot wife for sex. + But late at night when we're alone we mostly play Battleship. + + # 2391048fe24111e1983ed49a20be6f9e + 2013-08-10 03:22 I had all kinds of plans in case of a @zombie attack. + I just figured I'd be on the other side. + +The long strings starting with hash symbol are the so-called UUIDs, unique identifiers for each entry. Don't touch them. If you do, then the old entry would get deleted and a new one written, which means that you could DayOne loose data that jrnl can't handle (such as as the entry's geolocation). + diff --git a/_static/ajax-loader.gif b/_static/ajax-loader.gif new file mode 100644 index 0000000000000000000000000000000000000000..61faf8cab23993bd3e1560bff0668bd628642330 GIT binary patch literal 673 zcmZ?wbhEHb6krfw_{6~Q|Nno%(3)e{?)x>&1u}A`t?OF7Z|1gRivOgXi&7IyQd1Pl zGfOfQ60;I3a`F>X^fL3(@);C=vM_KlFfb_o=k{|A33hf2a5d61U}gjg=>Rd%XaNQW zW@Cw{|b%Y*pl8F?4B9 zlo4Fz*0kZGJabY|>}Okf0}CCg{u4`zEPY^pV?j2@h+|igy0+Kz6p;@SpM4s6)XEMg z#3Y4GX>Hjlml5ftdH$4x0JGdn8~MX(U~_^d!Hi)=HU{V%g+mi8#UGbE-*ao8f#h+S z2a0-5+vc7MU$e-NhmBjLIC1v|)9+Im8x1yacJ7{^tLX(ZhYi^rpmXm0`@ku9b53aN zEXH@Y3JaztblgpxbJt{AtE1ad1Ca>{v$rwwvK(>{m~Gf_=-Ro7Fk{#;i~+{{>QtvI yb2P8Zac~?~=sRA>$6{!(^3;ZP0TPFR(G_-UDU(8Jl0?(IXu$~#4A!880|o%~Al1tN literal 0 HcmV?d00001 diff --git a/_static/basic.css b/_static/basic.css new file mode 100644 index 00000000..43e8bafa --- /dev/null +++ b/_static/basic.css @@ -0,0 +1,540 @@ +/* + * basic.css + * ~~~~~~~~~ + * + * Sphinx stylesheet -- basic theme. + * + * :copyright: Copyright 2007-2011 by the Sphinx team, see AUTHORS. + * :license: BSD, see LICENSE for details. + * + */ + +/* -- main layout ----------------------------------------------------------- */ + +div.clearer { + clear: both; +} + +/* -- relbar ---------------------------------------------------------------- */ + +div.related { + width: 100%; + font-size: 90%; +} + +div.related h3 { + display: none; +} + +div.related ul { + margin: 0; + padding: 0 0 0 10px; + list-style: none; +} + +div.related li { + display: inline; +} + +div.related li.right { + float: right; + margin-right: 5px; +} + +/* -- sidebar --------------------------------------------------------------- */ + +div.sphinxsidebarwrapper { + padding: 10px 5px 0 10px; +} + +div.sphinxsidebar { + float: left; + width: 230px; + margin-left: -100%; + font-size: 90%; +} + +div.sphinxsidebar ul { + list-style: none; +} + +div.sphinxsidebar ul ul, +div.sphinxsidebar ul.want-points { + margin-left: 20px; + list-style: square; +} + +div.sphinxsidebar ul ul { + margin-top: 0; + margin-bottom: 0; +} + +div.sphinxsidebar form { + margin-top: 10px; +} + +div.sphinxsidebar input { + border: 1px solid #98dbcc; + font-family: sans-serif; + font-size: 1em; +} + +div.sphinxsidebar #searchbox input[type="text"] { + width: 170px; +} + +div.sphinxsidebar #searchbox input[type="submit"] { + width: 30px; +} + +img { + border: 0; +} + +/* -- search page ----------------------------------------------------------- */ + +ul.search { + margin: 10px 0 0 20px; + padding: 0; +} + +ul.search li { + padding: 5px 0 5px 20px; + background-image: url(file.png); + background-repeat: no-repeat; + background-position: 0 7px; +} + +ul.search li a { + font-weight: bold; +} + +ul.search li div.context { + color: #888; + margin: 2px 0 0 30px; + text-align: left; +} + +ul.keywordmatches li.goodmatch a { + font-weight: bold; +} + +/* -- index page ------------------------------------------------------------ */ + +table.contentstable { + width: 90%; +} + +table.contentstable p.biglink { + line-height: 150%; +} + +a.biglink { + font-size: 1.3em; +} + +span.linkdescr { + font-style: italic; + padding-top: 5px; + font-size: 90%; +} + +/* -- general index --------------------------------------------------------- */ + +table.indextable { + width: 100%; +} + +table.indextable td { + text-align: left; + vertical-align: top; +} + +table.indextable dl, table.indextable dd { + margin-top: 0; + margin-bottom: 0; +} + +table.indextable tr.pcap { + height: 10px; +} + +table.indextable tr.cap { + margin-top: 10px; + background-color: #f2f2f2; +} + +img.toggler { + margin-right: 3px; + margin-top: 3px; + cursor: pointer; +} + +div.modindex-jumpbox { + border-top: 1px solid #ddd; + border-bottom: 1px solid #ddd; + margin: 1em 0 1em 0; + padding: 0.4em; +} + +div.genindex-jumpbox { + border-top: 1px solid #ddd; + border-bottom: 1px solid #ddd; + margin: 1em 0 1em 0; + padding: 0.4em; +} + +/* -- general body styles --------------------------------------------------- */ + +a.headerlink { + visibility: hidden; +} + +h1:hover > a.headerlink, +h2:hover > a.headerlink, +h3:hover > a.headerlink, +h4:hover > a.headerlink, +h5:hover > a.headerlink, +h6:hover > a.headerlink, +dt:hover > a.headerlink { + visibility: visible; +} + +div.body p.caption { + text-align: inherit; +} + +div.body td { + text-align: left; +} + +.field-list ul { + padding-left: 1em; +} + +.first { + margin-top: 0 !important; +} + +p.rubric { + margin-top: 30px; + font-weight: bold; +} + +img.align-left, .figure.align-left, object.align-left { + clear: left; + float: left; + margin-right: 1em; +} + +img.align-right, .figure.align-right, object.align-right { + clear: right; + float: right; + margin-left: 1em; +} + +img.align-center, .figure.align-center, object.align-center { + display: block; + margin-left: auto; + margin-right: auto; +} + +.align-left { + text-align: left; +} + +.align-center { + text-align: center; +} + +.align-right { + text-align: right; +} + +/* -- sidebars -------------------------------------------------------------- */ + +div.sidebar { + margin: 0 0 0.5em 1em; + border: 1px solid #ddb; + padding: 7px 7px 0 7px; + background-color: #ffe; + width: 40%; + float: right; +} + +p.sidebar-title { + font-weight: bold; +} + +/* -- topics ---------------------------------------------------------------- */ + +div.topic { + border: 1px solid #ccc; + padding: 7px 7px 0 7px; + margin: 10px 0 10px 0; +} + +p.topic-title { + font-size: 1.1em; + font-weight: bold; + margin-top: 10px; +} + +/* -- admonitions ----------------------------------------------------------- */ + +div.admonition { + margin-top: 10px; + margin-bottom: 10px; + padding: 7px; +} + +div.admonition dt { + font-weight: bold; +} + +div.admonition dl { + margin-bottom: 0; +} + +p.admonition-title { + margin: 0px 10px 5px 0px; + font-weight: bold; +} + +div.body p.centered { + text-align: center; + margin-top: 25px; +} + +/* -- tables ---------------------------------------------------------------- */ + +table.docutils { + border: 0; + border-collapse: collapse; +} + +table.docutils td, table.docutils th { + padding: 1px 8px 1px 5px; + border-top: 0; + border-left: 0; + border-right: 0; + border-bottom: 1px solid #aaa; +} + +table.field-list td, table.field-list th { + border: 0 !important; +} + +table.footnote td, table.footnote th { + border: 0 !important; +} + +th { + text-align: left; + padding-right: 5px; +} + +table.citation { + border-left: solid 1px gray; + margin-left: 1px; +} + +table.citation td { + border-bottom: none; +} + +/* -- other body styles ----------------------------------------------------- */ + +ol.arabic { + list-style: decimal; +} + +ol.loweralpha { + list-style: lower-alpha; +} + +ol.upperalpha { + list-style: upper-alpha; +} + +ol.lowerroman { + list-style: lower-roman; +} + +ol.upperroman { + list-style: upper-roman; +} + +dl { + margin-bottom: 15px; +} + +dd p { + margin-top: 0px; +} + +dd ul, dd table { + margin-bottom: 10px; +} + +dd { + margin-top: 3px; + margin-bottom: 10px; + margin-left: 30px; +} + +dt:target, .highlighted { + background-color: #fbe54e; +} + +dl.glossary dt { + font-weight: bold; + font-size: 1.1em; +} + +.field-list ul { + margin: 0; + padding-left: 1em; +} + +.field-list p { + margin: 0; +} + +.refcount { + color: #060; +} + +.optional { + font-size: 1.3em; +} + +.versionmodified { + font-style: italic; +} + +.system-message { + background-color: #fda; + padding: 5px; + border: 3px solid red; +} + +.footnote:target { + background-color: #ffa; +} + +.line-block { + display: block; + margin-top: 1em; + margin-bottom: 1em; +} + +.line-block .line-block { + margin-top: 0; + margin-bottom: 0; + margin-left: 1.5em; +} + +.guilabel, .menuselection { + font-family: sans-serif; +} + +.accelerator { + text-decoration: underline; +} + +.classifier { + font-style: oblique; +} + +abbr, acronym { + border-bottom: dotted 1px; + cursor: help; +} + +/* -- code displays --------------------------------------------------------- */ + +pre { + overflow: auto; + overflow-y: hidden; /* fixes display issues on Chrome browsers */ +} + +td.linenos pre { + padding: 5px 0px; + border: 0; + background-color: transparent; + color: #aaa; +} + +table.highlighttable { + margin-left: 0.5em; +} + +table.highlighttable td { + padding: 0 0.5em 0 0.5em; +} + +tt.descname { + background-color: transparent; + font-weight: bold; + font-size: 1.2em; +} + +tt.descclassname { + background-color: transparent; +} + +tt.xref, a tt { + background-color: transparent; + font-weight: bold; +} + +h1 tt, h2 tt, h3 tt, h4 tt, h5 tt, h6 tt { + background-color: transparent; +} + +.viewcode-link { + float: right; +} + +.viewcode-back { + float: right; + font-family: sans-serif; +} + +div.viewcode-block:target { + margin: -1px -10px; + padding: 0 10px; +} + +/* -- math display ---------------------------------------------------------- */ + +img.math { + vertical-align: middle; +} + +div.body div.math p { + text-align: center; +} + +span.eqno { + float: right; +} + +/* -- printout stylesheet --------------------------------------------------- */ + +@media print { + div.document, + div.documentwrapper, + div.bodywrapper { + margin: 0 !important; + width: 100%; + } + + div.sphinxsidebar, + div.related, + div.footer, + #top-link { + display: none; + } +} \ No newline at end of file diff --git a/_static/comment-bright.png b/_static/comment-bright.png new file mode 100644 index 0000000000000000000000000000000000000000..551517b8c83b76f734ff791f847829a760ad1903 GIT binary patch literal 3500 zcmV;d4O8-oP)Oz@Z0f2-7z;ux~O9+4z06=<WDR*FRcSTFz- zW=q650N5=6FiBTtNC2?60Km==3$g$R3;-}uh=nNt1bYBr$Ri_o0EC$U6h`t_Jn<{8 z5a%iY0C<_QJh>z}MS)ugEpZ1|S1ukX&Pf+56gFW3VVXcL!g-k)GJ!M?;PcD?0HBc- z5#WRK{dmp}uFlRjj{U%*%WZ25jX z{P*?XzTzZ-GF^d31o+^>%=Ap99M6&ogks$0k4OBs3;+Bb(;~!4V!2o<6ys46agIcq zjPo+3B8fthDa9qy|77CdEc*jK-!%ZRYCZvbku9iQV*~a}ClFY4z~c7+0P?$U!PF=S z1Au6Q;m>#f??3%Vpd|o+W=WE9003S@Bra6Svp>fO002awfhw>;8}z{#EWidF!3EsG z3;bXU&9EIRU@z1_9W=mEXoiz;4lcq~xDGvV5BgyU zp1~-*fe8db$Osc*A=-!mVv1NJjtCc-h4>-CNCXm#Bp}I%6j35eku^v$Qi@a{RY)E3 zJ#qp$hg?Rwkvqr$GJ^buyhkyVfwECO)C{#lxu`c9ghrwZ&}4KmnvWKso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)`~{dMXWB0(ajbV85_gJ zf(EU`iek}4Bt%55ix|sVMm1u8KvB#hnmU~_r<Ogd(A5vg_omvd-#L!=(BMVklxVqhdT zofSj`QA^|)G*lu58>#vhvA)%0Or&dIsb%b)st*LV8`ANnOipDbh%_*c7`d6# z21*z~Xd?ovgf>zq(o0?Et~9ti+pljZC~#_KvJhA>u91WRaq|uqBBKP6V0?p-NL59w zrK0w($_m#SDPQ!Z$nhd^JO|f+7k5xca94d2OLJ&sSxlB7F%NtrF@@O7WWlkHSDtor zzD?u;b&KN$*MnHx;JDy9P~G<{4}9__s&MATBV4R+MuA8TjlZ3ye&qZMCUe8ihBnHI zhMSu zSERHwrmBb$SWVr+)Yk2k^FgTMR6mP;@FY2{}BeV|SUo=mNk<-XSOHNErw>s{^rR-bu$@aN7= zj~-qXcS2!BA*(Q**BOOl{FggkyHdCJi_Fy>?_K+G+DYwIn8`29DYPg&s4$}7D`fv? zuyJ2sMfJX(I^yrf6u!(~9anf(AqAk&ke}uL0SIb-H!SaDQvd(}07*qoM6N<$g1Ha7 A2LJ#7 literal 0 HcmV?d00001 diff --git a/_static/comment.png b/_static/comment.png new file mode 100644 index 0000000000000000000000000000000000000000..92feb52b8824c6b0f59b658b1196c61de9162a95 GIT binary patch literal 3445 zcmV-*4T|!KP)Oz@Z0f2-7z;ux~O9+4z06=<WDR*FRcSTFz- zW=q650N5=6FiBTtNC2?60Km==3$g$R3;-}uh=nNt1bYBr$Ri_o0EC$U6h`t_Jn<{8 z5a%iY0C<_QJh>z}MS)ugEpZ1|S1ukX&Pf+56gFW3VVXcL!g-k)GJ!M?;PcD?0HBc- z5#WRK{dmp}uFlRjj{U%*%WZ25jX z{P*?XzTzZ-GF^d31o+^>%=Ap99M6&ogks$0k4OBs3;+Bb(;~!4V!2o<6ys46agIcq zjPo+3B8fthDa9qy|77CdEc*jK-!%ZRYCZvbku9iQV*~a}ClFY4z~c7+0P?$U!PF=S z1Au6Q;m>#f??3%Vpd|o+W=WE9003S@Bra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U`d#%J)abyK&Y`=eD%oA!36<)baZyK zXJh5im6umkS|_CSGXips$nI)oBHXojzBzyY_M5K*uvb0_9viuBVyV%5VtJ*Am1ag# zczbv4B?u8j68iOz<+)nDu^oWnL+$_G{PZOCcOGQ?!1VCefves~rfpaEZs-PdVYMiV z98ElaJ2}7f;htSXFY#Zv?__sQeckE^HV{ItO=)2hMQs=(_ Xn!ZpXD%P(H00000NkvXXu0mjfa.headerlink{display:none}h1,h2,h3,h4,h5,h6{font-weight:300}a:link,a:visited{color:#deaa09;text-decoration:none}a:hover,a:active{text-decoration:underline;color:#f6c324}.literal{color:#47375d;font-size:1em;background:#e8e2ee;padding:1px 2px;-webkit-border-radius:2px;-moz-border-radius:2px;border-radius:2px;-webkit-box-shadow:inset 0 0 0 1px #c0b2d2;-moz-box-shadow:inset 0 0 0 1px #c0b2d2;-o-box-shadow:inset 0 0 0 1px #c0b2d2;box-shadow:inset 0 0 0 1px #c0b2d2}.note{background:#8c72ac;background-image:-moz-linear-gradient(top,#8c72ac 0,#6e5691 100%);background-image:-webkit-linear-gradient(top,#8c72ac 0,#6e5691 100%);background-image:-o-linear-gradient(top,#8c72ac 0,#6e5691 100%);background-image:linear-gradient(to bottom,#8c72ac 0,#6e5691 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#8c72ac', endColorstr='#6e5691', GradientType=0);-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px;-webkit-box-shadow:0 2px 3px #413155;-moz-box-shadow:0 2px 3px #413155;-o-box-shadow:0 2px 3px #413155;box-shadow:0 2px 3px #413155;padding:10px 20px 10px 70px;position:relative;color:#fff}.note .admonition-title{display:none}.note a{color:#fade86}.note:before{content:"";display:block;background-image:url(../img/icons.png);width:32px;height:32px;display:inline-block;font-size:40px;background-size:200px 120px;background-position:-2em -2em;position:absolute;margin:auto;top:0;bottom:0;left:20px}@media (-webkit-min-device-pixel-ratio:1.5),(min--moz-device-pixel-ratio:1.5),(-o-min-device-pixel-ratio:3/2),(min-resolution:1.5dppx){.note:before{background-image:url(../img/icons@2x.png)}}.note:before.secure{background-position:0 0}.note:before.future{background-position:-1em 0}.note:before.search{background-position:-2em 0}.note:before.nli{background-position:-3em 0}.note:before.share{background-position:0 -1em}.note:before.sync{background-position:0 -1em}.note:before.dayone{background-position:-1em -1em}.note:before.github{background-position:-2em -1em}.note:before.folders{background-position:-3em -1em}.note:before.cal{background-position:-4em -1em}.note:before.left{background-position:0 -2em}.note:before.right{background-position:-1em -2em}.note:before.info{background-position:-2em -2em}.note .literal,.note .highlight-note{color:#fff;background:#6b518a;padding:1px 3px;-webkit-border-radius:2px;-moz-border-radius:2px;border-radius:2px;-webkit-box-shadow:inset 0 0 0 1px #8c72ac;-moz-box-shadow:inset 0 0 0 1px #8c72ac;-o-box-shadow:inset 0 0 0 1px #8c72ac;box-shadow:inset 0 0 0 1px #8c72ac}.note .highlight-note{padding:1px 10px}.note .highlight-note pre:before{content:"$ ";color:#deaa09}.highlight{background:transparent!important}.highlight-output{background:#2f1e34;-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px;padding:1px 20px;margin:40px auto;width:500px;-webkit-box-shadow:0 1px 8px #a0acb7;-moz-box-shadow:0 1px 8px #a0acb7;-o-box-shadow:0 1px 8px #a0acb7;box-shadow:0 1px 8px #a0acb7;position:relative;color:#f7f8f9;font-family:Monaco,"Courier New";font-size:12pt;background:#49374e}.highlight-output #args{color:#f6f7b9}.highlight-output #output{color:#9278b5}.highlight-javascript{background:#2f1e34;-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px;padding:1px 20px;margin:40px auto;width:500px;-webkit-box-shadow:0 1px 8px #a0acb7;-moz-box-shadow:0 1px 8px #a0acb7;-o-box-shadow:0 1px 8px #a0acb7;box-shadow:0 1px 8px #a0acb7;position:relative;color:#f7f8f9;font-family:Monaco,"Courier New";font-size:12pt;background:#49374e}.highlight-javascript #args{color:#f6f7b9}.highlight-javascript #output{color:#9278b5}.highlight-python{background:#2f1e34;-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px;padding:1px 20px;margin:40px auto;width:500px;-webkit-box-shadow:0 1px 8px #a0acb7;-moz-box-shadow:0 1px 8px #a0acb7;-o-box-shadow:0 1px 8px #a0acb7;box-shadow:0 1px 8px #a0acb7;position:relative;color:#f7f8f9;font-family:Monaco,"Courier New";font-size:12pt;padding:50px 20px 10px}.highlight-python #args{color:#f6f7b9}.highlight-python #output{color:#9278b5}.highlight-python:before{content:"Terminal";display:block;width:100%;position:absolute;left:0;-webkit-box-shadow:inset 0 1px 0 #f4f4f4,inset 0 -1px 0 #888;-moz-box-shadow:inset 0 1px 0 #f4f4f4,inset 0 -1px 0 #888;-o-box-shadow:inset 0 1px 0 #f4f4f4,inset 0 -1px 0 #888;box-shadow:inset 0 1px 0 #f4f4f4,inset 0 -1px 0 #888;margin-top:-50px;text-align:center;height:30px;line-height:30px;color:#777;text-shadow:0 1px 0 #ddd;-webkit-border-radius:5px 5px 0 0;-moz-border-radius:5px 5px 0 0;border-radius:5px 5px 0 0;background:#eaeaea;background-image:-moz-linear-gradient(top,#eaeaea 0,#bababa 100%);background-image:-webkit-linear-gradient(top,#eaeaea 0,#bababa 100%);background-image:-o-linear-gradient(top,#eaeaea 0,#bababa 100%);background-image:linear-gradient(to bottom,#eaeaea 0,#bababa 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#eaeaea', endColorstr='#bababa', GradientType=0)}.highlight-python:after{content:"";width:48px;height:30px;position:absolute;top:0;left:10px;background:url(../img/terminal.png) no-repeat center center}.highlight-python pre{margin:0 0 10px}.highlight-python pre:before{content:"$ ";color:#deaa09}:hover>a.headerlink{display:inline;color:#c0b2d2;margin-left:10px;text-decoration:none}:hover>a.headerlink:hover{color:#725794}tt{color:#47375d;font-size:1.2em}ul li{margin-bottom:10px}div.document{max-width:900px;margin:20px auto;position:relative}div.documentwrapper{margin-left:240px;padding:0}aside{position:absolute;width:220px;top:0;color:#999}aside .logo{margin:0 auto 20px;display:block;width:90px;height:98px}aside h2,aside h3,aside h3 a:link,aside h3 a:visited{color:#777}aside a:link,aside a:visited{color:#999}aside a:hover,aside a:active{color:#deaa09}aside input[type=submit]{display:none}aside>ul{margin:0 4px;padding:0;list-style:none}aside>ul>li{margin-bottom:10px;font-size:18px;color:#777}aside>ul>li a:link,aside>ul>li a:visited{color:#777}aside>ul>li ul{margin:10px 0 0;padding-left:20px;font-size:16px;color:#999}aside>ul>li ul a:link,aside>ul>li ul a:visited{color:#999}div.footer{font-size:.8em;text-align:center;margin:40px 0;color:#999}div.footer a:link,div.footer a:visited{color:#555}@media screen and (max-width:820px){body:not(.landing){padding-top:130px}body:not(.landing) .highlight-output,body:not(.landing) .highlight-python,body:not(.landing) .highlight-javascript{width:auto;max-width:500px}body:not(.landing) .highlight-python pre{margin:-10px 0 10px 0}body:not(.landing) .highlight-python:before{height:24px!important;line-height:24px;font-size:.7em}body:not(.landing) .highlight-python:after{background:0 0}body:not(.landing) aside{position:static}body:not(.landing) div.documentwrapper{margin:0}body:not(.landing) h1,body:not(.landing) .section{margin:0!important}body:not(.landing) aside{background-color:#f0f0f0;width:100%;margin:5px -20px;padding:5px 20px 10px}body:not(.landing) #logolink{position:absolute;top:-120px;left:50%;margin-left:-49px}}@media (-webkit-min-device-pixel-ratio:1.5),(min--moz-device-pixel-ratio:1.5),(-o-min-device-pixel-ratio:3/2),(min-resolution:1.5dppx){aside .logo,body#landing #upper #logo{width:90px;height:98px;content:url(../img/logo@2x.png)}}.icon{background-image:url(../img/icons.png);width:32px;height:32px;display:inline-block;font-size:40px;background-size:200px 120px}@media (-webkit-min-device-pixel-ratio:1.5),(min--moz-device-pixel-ratio:1.5),(-o-min-device-pixel-ratio:3/2),(min-resolution:1.5dppx){.icon{background-image:url(../img/icons@2x.png)}}.icon.secure{background-position:0 0}.icon.future{background-position:-1em 0}.icon.search{background-position:-2em 0}.icon.nli{background-position:-3em 0}.icon.share{background-position:0 -1em}.icon.sync{background-position:0 -1em}.icon.dayone{background-position:-1em -1em}.icon.github{background-position:-2em -1em}.icon.folders{background-position:-3em -1em}.icon.cal{background-position:-4em -1em}.icon.left{background-position:0 -2em}.icon.right{background-position:-1em -2em}.icon.info{background-position:-2em -2em}.pre-block{background:#2f1e34;-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px;padding:1px 20px;margin:40px auto;width:500px;-webkit-box-shadow:0 1px 8px #a0acb7;-moz-box-shadow:0 1px 8px #a0acb7;-o-box-shadow:0 1px 8px #a0acb7;box-shadow:0 1px 8px #a0acb7;position:relative;color:#f7f8f9;font-family:Monaco,"Courier New";font-size:12pt}.pre-block #args{color:#f6f7b9}.pre-block #output{color:#9278b5}.terminal{background:#2f1e34;-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px;padding:1px 20px;margin:40px auto;width:500px;-webkit-box-shadow:0 1px 8px #a0acb7;-moz-box-shadow:0 1px 8px #a0acb7;-o-box-shadow:0 1px 8px #a0acb7;box-shadow:0 1px 8px #a0acb7;position:relative;color:#f7f8f9;font-family:Monaco,"Courier New";font-size:12pt;padding:50px 20px 10px}.terminal #args{color:#f6f7b9}.terminal #output{color:#9278b5}.terminal:before{content:"Terminal";display:block;width:100%;position:absolute;left:0;-webkit-box-shadow:inset 0 1px 0 #f4f4f4,inset 0 -1px 0 #888;-moz-box-shadow:inset 0 1px 0 #f4f4f4,inset 0 -1px 0 #888;-o-box-shadow:inset 0 1px 0 #f4f4f4,inset 0 -1px 0 #888;box-shadow:inset 0 1px 0 #f4f4f4,inset 0 -1px 0 #888;margin-top:-50px;text-align:center;height:30px;line-height:30px;color:#777;text-shadow:0 1px 0 #ddd;-webkit-border-radius:5px 5px 0 0;-moz-border-radius:5px 5px 0 0;border-radius:5px 5px 0 0;background:#eaeaea;background-image:-moz-linear-gradient(top,#eaeaea 0,#bababa 100%);background-image:-webkit-linear-gradient(top,#eaeaea 0,#bababa 100%);background-image:-o-linear-gradient(top,#eaeaea 0,#bababa 100%);background-image:linear-gradient(to bottom,#eaeaea 0,#bababa 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#eaeaea', endColorstr='#bababa', GradientType=0)}.terminal:after{content:"";width:48px;height:30px;position:absolute;top:0;left:10px;background:url(../img/terminal.png) no-repeat center center}body#landing{background-color:#47375d;font-family:"Open Sans","Helvetica Neue",sans-serif;font-weight:300}body#landing #twitter{display:block;position:absolute;top:20px;right:20px;border:1px solid #47375d;padding:5px 10px 5px 30px;color:#47375d;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;opacity:.7;filter:alpha(opacity=70);background:url(../img/twitter.png) 8px center no-repeat transparent}body#landing #twitter:hover,body#landing #twitter:active{opacity:1;filter:alpha(opacity=100);text-decoration:none}body#landing #title,body#landing .row3,body#landing .row4,body#landing #prompt{width:900px;margin:0 auto}body#landing #upper{*zoom:1;background:#f7f8f9;-webkit-box-shadow:inset 0 -6px 6px -3px #dadfe3;-moz-box-shadow:inset 0 -6px 6px -3px #dadfe3;-o-box-shadow:inset 0 -6px 6px -3px #dadfe3;box-shadow:inset 0 -6px 6px -3px #dadfe3}body#landing #upper:before,body#landing #upper:after{content:" ";display:table}body#landing #upper:after{clear:both}body#landing #upper #title{width:650px;margin:150px auto 75px}body#landing #upper img{float:left;margin-right:30px}body#landing #upper h1{color:#564371;font-weight:300}body#landing #upper #prompt{width:640px;margin:0 auto;*zoom:1}body#landing #upper #prompt:before,body#landing #upper #prompt:after{content:" ";display:table}body#landing #upper #prompt:after{clear:both}body#landing #upper .terminal{-webkit-border-radius:6px 6px 0 0;-moz-border-radius:6px 6px 0 0;border-radius:6px 6px 0 0;float:left;margin:0;width:500px;min-height:134px;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}body#landing #upper .pleft,body#landing #upper .pright{text-align:center;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box;float:left;padding-top:50px;width:70px}body#landing #upper .pleft i,body#landing #upper .pright i{opacity:.6;filter:alpha(opacity=60)}body#landing #upper .pleft i:hover,body#landing #upper .pright i:hover{opacity:10;filter:alpha(opacity=1000);cursor:pointer}body#landing #nav{background:#7c95ca;background-image:-moz-linear-gradient(top,#7c95ca 0,#5e7dc5 100%);background-image:-webkit-linear-gradient(top,#7c95ca 0,#5e7dc5 100%);background-image:-o-linear-gradient(top,#7c95ca 0,#5e7dc5 100%);background-image:linear-gradient(to bottom,#7c95ca 0,#5e7dc5 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#7c95ca', endColorstr='#5e7dc5', GradientType=0);height:60px;-webkit-box-shadow:0 6px 6px -3px #413155;-moz-box-shadow:0 6px 6px -3px #413155;-o-box-shadow:0 6px 6px -3px #413155;box-shadow:0 6px 6px -3px #413155;text-align:center}body#landing #nav a#twitter-nav{display:none}body#landing #nav a{color:#f7f8f9;text-shadow:0 -1px 0 #253865;text-decoration:none;font-size:14pt;line-height:60px;margin:0 40px}body#landing #nav a:hover{color:#f8d055;text-shadow:0 -1px 0 #947206}body#landing #nav a.cta{background:#725794;background-image:-moz-linear-gradient(top,#725794 0,#564371 100%);background-image:-webkit-linear-gradient(top,#725794 0,#564371 100%);background-image:-o-linear-gradient(top,#725794 0,#564371 100%);background-image:linear-gradient(to bottom,#725794 0,#564371 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#725794', endColorstr='#564371', GradientType=0);-webkit-box-shadow:0 1px 0 #413155;-moz-box-shadow:0 1px 0 #413155;-o-box-shadow:0 1px 0 #413155;box-shadow:0 1px 0 #413155;-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px;padding:6px 10px 5px;white-space:nowrap}body#landing #nav a.cta:hover{background:#f6c324;background-image:-moz-linear-gradient(top,#f6c324 0,#c59708 100%);background-image:-webkit-linear-gradient(top,#f6c324 0,#c59708 100%);background-image:-o-linear-gradient(top,#f6c324 0,#c59708 100%);background-image:linear-gradient(to bottom,#f6c324 0,#c59708 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#f6c324', endColorstr='#c59708', GradientType=0);-webkit-box-shadow:0 1px 0 #947206;-moz-box-shadow:0 1px 0 #947206;-o-box-shadow:0 1px 0 #947206;box-shadow:0 1px 0 #947206;text-shadow:0 -1px 0 #947206;color:#f7f8f9}body#landing #lower{color:#f7f8f9;padding-top:40px}body#landing #lower a{color:#deaa09;text-decoration:none}body#landing #lower a:hover{color:#f8d055;text-decoration:underline}body#landing #lower .row3,body#landing #lower .row4{*zoom:1;margin-bottom:20px}body#landing #lower .row3:before,body#landing #lower .row4:before,body#landing #lower .row3:after,body#landing #lower .row4:after{content:" ";display:table}body#landing #lower .row3:after,body#landing #lower .row4:after{clear:both}body#landing #lower .row3 .col,body#landing #lower .row4 .col{position:relative;padding-left:40px;float:left;width:25%;padding-right:2%;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}body#landing #lower .row3 .col i,body#landing #lower .row4 .col i{position:absolute;left:0;top:16px}body#landing #lower .row3 .col h3,body#landing #lower .row4 .col h3{font-size:12pt;margin-bottom:.5em}body#landing #lower .row3 .col p,body#landing #lower .row4 .col p{font-size:10pt;margin:0}body#landing #lower .row3 .col:last-child,body#landing #lower .row4 .col:last-child{padding-right:0}body#landing #lower .row3 .col{width:33.3333%}body#landing #lower .row4 .col{color:#d4d1da}body#landing #lower .row4 .col i{opacity:.8;filter:alpha(opacity=80)}@media screen and (max-width:680px){body#landing #nav{height:auto;padding-bottom:10px}body#landing #nav a,body#landing #nav a#twitter-nav{display:block}body#landing #nav a.cta{margin:10px;padding:1px}body#landing #upper #twitter{display:none}body#landing #upper #title{margin:30px 0 10px}body#landing #upper #logo{backgound:red;display:block;float:none;margin:0 auto}body#landing #upper #title br{display:none}body#landing #upper .pleft,body#landing #upper .pright{display:none}body#landing #upper #prompt,body#landing #upper #title{width:100%;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box;padding:0 20px}body#landing #upper .terminal{width:100%}}@media screen and (max-width:900px){body#landing #lower{padding:40px 20px}body#landing #lower .row3,body#landing #lower .row4{margin:0;width:auto}body#landing #lower .row3 .col,body#landing #lower .row4 .col{float:none;width:100%;text-align:center;padding:0;margin:0 0 40px}body#landing #lower .row3 .col h3,body#landing #lower .row4 .col h3{font-size:1.5em}body#landing #lower .row3 .col p,body#landing #lower .row4 .col p{font-size:1em}body#landing #lower .row3 .col i,body#landing #lower .row4 .col i{position:static;margin-bottom:-20px}} \ No newline at end of file diff --git a/_static/doctools.js b/_static/doctools.js new file mode 100644 index 00000000..d4619fdf --- /dev/null +++ b/_static/doctools.js @@ -0,0 +1,247 @@ +/* + * doctools.js + * ~~~~~~~~~~~ + * + * Sphinx JavaScript utilities for all documentation. + * + * :copyright: Copyright 2007-2011 by the Sphinx team, see AUTHORS. + * :license: BSD, see LICENSE for details. + * + */ + +/** + * select a different prefix for underscore + */ +$u = _.noConflict(); + +/** + * make the code below compatible with browsers without + * an installed firebug like debugger +if (!window.console || !console.firebug) { + var names = ["log", "debug", "info", "warn", "error", "assert", "dir", + "dirxml", "group", "groupEnd", "time", "timeEnd", "count", "trace", + "profile", "profileEnd"]; + window.console = {}; + for (var i = 0; i < names.length; ++i) + window.console[names[i]] = function() {}; +} + */ + +/** + * small helper function to urldecode strings + */ +jQuery.urldecode = function(x) { + return decodeURIComponent(x).replace(/\+/g, ' '); +} + +/** + * small helper function to urlencode strings + */ +jQuery.urlencode = encodeURIComponent; + +/** + * This function returns the parsed url parameters of the + * current request. Multiple values per key are supported, + * it will always return arrays of strings for the value parts. + */ +jQuery.getQueryParameters = function(s) { + if (typeof s == 'undefined') + s = document.location.search; + var parts = s.substr(s.indexOf('?') + 1).split('&'); + var result = {}; + for (var i = 0; i < parts.length; i++) { + var tmp = parts[i].split('=', 2); + var key = jQuery.urldecode(tmp[0]); + var value = jQuery.urldecode(tmp[1]); + if (key in result) + result[key].push(value); + else + result[key] = [value]; + } + return result; +}; + +/** + * small function to check if an array contains + * a given item. + */ +jQuery.contains = function(arr, item) { + for (var i = 0; i < arr.length; i++) { + if (arr[i] == item) + return true; + } + return false; +}; + +/** + * highlight a given string on a jquery object by wrapping it in + * span elements with the given class name. + */ +jQuery.fn.highlightText = function(text, className) { + function highlight(node) { + if (node.nodeType == 3) { + var val = node.nodeValue; + var pos = val.toLowerCase().indexOf(text); + if (pos >= 0 && !jQuery(node.parentNode).hasClass(className)) { + var span = document.createElement("span"); + span.className = className; + span.appendChild(document.createTextNode(val.substr(pos, text.length))); + node.parentNode.insertBefore(span, node.parentNode.insertBefore( + document.createTextNode(val.substr(pos + text.length)), + node.nextSibling)); + node.nodeValue = val.substr(0, pos); + } + } + else if (!jQuery(node).is("button, select, textarea")) { + jQuery.each(node.childNodes, function() { + highlight(this); + }); + } + } + return this.each(function() { + highlight(this); + }); +}; + +/** + * Small JavaScript module for the documentation. + */ +var Documentation = { + + init : function() { + this.fixFirefoxAnchorBug(); + this.highlightSearchWords(); + this.initIndexTable(); + }, + + /** + * i18n support + */ + TRANSLATIONS : {}, + PLURAL_EXPR : function(n) { return n == 1 ? 0 : 1; }, + LOCALE : 'unknown', + + // gettext and ngettext don't access this so that the functions + // can safely bound to a different name (_ = Documentation.gettext) + gettext : function(string) { + var translated = Documentation.TRANSLATIONS[string]; + if (typeof translated == 'undefined') + return string; + return (typeof translated == 'string') ? translated : translated[0]; + }, + + ngettext : function(singular, plural, n) { + var translated = Documentation.TRANSLATIONS[singular]; + if (typeof translated == 'undefined') + return (n == 1) ? singular : plural; + return translated[Documentation.PLURALEXPR(n)]; + }, + + addTranslations : function(catalog) { + for (var key in catalog.messages) + this.TRANSLATIONS[key] = catalog.messages[key]; + this.PLURAL_EXPR = new Function('n', 'return +(' + catalog.plural_expr + ')'); + this.LOCALE = catalog.locale; + }, + + /** + * add context elements like header anchor links + */ + addContextElements : function() { + $('div[id] > :header:first').each(function() { + $('\u00B6'). + attr('href', '#' + this.id). + attr('title', _('Permalink to this headline')). + appendTo(this); + }); + $('dt[id]').each(function() { + $('\u00B6'). + attr('href', '#' + this.id). + attr('title', _('Permalink to this definition')). + appendTo(this); + }); + }, + + /** + * workaround a firefox stupidity + */ + fixFirefoxAnchorBug : function() { + if (document.location.hash && $.browser.mozilla) + window.setTimeout(function() { + document.location.href += ''; + }, 10); + }, + + /** + * highlight the search words provided in the url in the text + */ + highlightSearchWords : function() { + var params = $.getQueryParameters(); + var terms = (params.highlight) ? params.highlight[0].split(/\s+/) : []; + if (terms.length) { + var body = $('div.body'); + window.setTimeout(function() { + $.each(terms, function() { + body.highlightText(this.toLowerCase(), 'highlighted'); + }); + }, 10); + $('') + .appendTo($('#searchbox')); + } + }, + + /** + * init the domain index toggle buttons + */ + initIndexTable : function() { + var togglers = $('img.toggler').click(function() { + var src = $(this).attr('src'); + var idnum = $(this).attr('id').substr(7); + $('tr.cg-' + idnum).toggle(); + if (src.substr(-9) == 'minus.png') + $(this).attr('src', src.substr(0, src.length-9) + 'plus.png'); + else + $(this).attr('src', src.substr(0, src.length-8) + 'minus.png'); + }).css('display', ''); + if (DOCUMENTATION_OPTIONS.COLLAPSE_INDEX) { + togglers.click(); + } + }, + + /** + * helper function to hide the search marks again + */ + hideSearchWords : function() { + $('#searchbox .highlight-link').fadeOut(300); + $('span.highlighted').removeClass('highlighted'); + }, + + /** + * make the url absolute + */ + makeURL : function(relativeURL) { + return DOCUMENTATION_OPTIONS.URL_ROOT + '/' + relativeURL; + }, + + /** + * get the current relative url + */ + getCurrentURL : function() { + var path = document.location.pathname; + var parts = path.split(/\//); + $.each(DOCUMENTATION_OPTIONS.URL_ROOT.split(/\//), function() { + if (this == '..') + parts.pop(); + }); + var url = parts.join('/'); + return path.substring(url.lastIndexOf('/') + 1, path.length - 1); + } +}; + +// quick alias for translations +_ = Documentation.gettext; + +$(document).ready(function() { + Documentation.init(); +}); diff --git a/_static/down-pressed.png b/_static/down-pressed.png new file mode 100644 index 0000000000000000000000000000000000000000..6f7ad782782e4f8e39b0c6e15c7344700cdd2527 GIT binary patch literal 368 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`jKx9jP7LeL$-D$|*pj^6U4S$Y z{B+)352QE?JR*yM+OLB!qm#z$3ZNi+iKnkC`z>}Z23@f-Ava~9&<9T!#}JFtXD=!G zGdl{fK6ro2OGiOl+hKvH6i=D3%%Y^j`yIkRn!8O>@bG)IQR0{Kf+mxNd=_WScA8u_ z3;8(7x2){m9`nt+U(Nab&1G)!{`SPVpDX$w8McLTzAJ39wprG3p4XLq$06M`%}2Yk zRPPsbES*dnYm1wkGL;iioAUB*Or2kz6(-M_r_#Me-`{mj$Z%( literal 0 HcmV?d00001 diff --git a/_static/down.png b/_static/down.png new file mode 100644 index 0000000000000000000000000000000000000000..3003a88770de3977d47a2ba69893436a2860f9e7 GIT binary patch literal 363 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`jKx9jP7LeL$-D$|*pj^6U4S$Y z{B+)352QE?JR*yM+OLB!qm#z$3ZNi+iKnkC`z>}xaV3tUZ$qnrLa#kt978NlpS`ru z&)HFc^}^>{UOEce+71h5nn>6&w6A!ieNbu1wh)UGh{8~et^#oZ1# z>T7oM=FZ~xXWnTo{qnXm$ZLOlqGswI_m2{XwVK)IJmBjW{J3-B3x@C=M{ShWt#fYS9M?R;8K$~YwlIqwf>VA7q=YKcwf2DS4Zj5inDKXXB1zl=(YO3ST6~rDq)&z z*o>z)=hxrfG-cDBW0G$!?6{M<$@{_4{m1o%Ub!naEtn|@^frU1tDnm{r-UW|!^@B8 literal 0 HcmV?d00001 diff --git a/_static/file.png b/_static/file.png new file mode 100644 index 0000000000000000000000000000000000000000..d18082e397e7e54f20721af768c4c2983258f1b4 GIT binary patch literal 392 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Y)RhkE)4%caKYZ?lYt_f1s;*b z3=G`DAk4@xYmNj^kiEpy*OmP$HyOL$D9)yc9|lc|nKf<9@eUiWd>3GuTC!a5vdfWYEazjncPj5ZQX%+1 zt8B*4=d)!cdDz4wr^#OMYfqGz$1LDFF>|#>*O?AGil(WEs?wLLy{Gj2J_@opDm%`dlax3yA*@*N$G&*ukFv>P8+2CBWO(qz zD0k1@kN>hhb1_6`&wrCswzINE(evt-5C1B^STi2@PmdKI;Vst0PQB6!2kdN literal 0 HcmV?d00001 diff --git a/_static/img/favicon-152.png b/_static/img/favicon-152.png new file mode 100644 index 0000000000000000000000000000000000000000..ac658d9ce73f8bddb02c753987998b52bc7325a2 GIT binary patch literal 3261 zcmds4`8U+x8y}62C7CH{>|2(|RF-5J+eam`Oc5oFo$SkCY-3-uMY3i2M3jd!Bor`#d+{p5Yz#)4ZoaAP~E*&MhMV zv;TA!CSc_55*7h~5v`^BfCXqFEcWrhoYhOm3=PPS{pk!^k}m@QB9HIwN500Mj=mTh z9|sTygSqPL;fl7i@p8E8>Era0rpgNfol()f_4k8-ywyo(uZ(R0{Q8>2#AlksoVtvr zaQxihvvAF{aCU>`Cq*#~B_npPUCf;xyCQ~{Uz$?&E4jA0gY{kWRaC6??n@?}g+3){ zYo3p{78YY+jXtYILj;SpVyox+nOi>u%Hd`|=}1ys%&ms` z-pTZJ8S%SdN!YWRs^uD9RA^4>vRd6tAY+6@!u!UU>{0z`H^9wl`1Ncmm3%y=`( z0~O|=7_0|Fy6g3umH8L0=Xc;^79b%V{U;}8p&Qh=?975l*TK)yVF8=(dXX=4 zd@Li{PiP|VAS1`f-q;v39Rof4{qhGLL1VV1hDbTOz{%?fBqa1>B)O)q%>ia(0|N!M z?n_Ozq$*Fy_gUouzR~qZG2sp=JG%#Zo||i!_Z5K)C&Ur_!VlHw?5WeqJseH43USoH zd8nr?W_-7k^o`Hk4?|zia%va~X-H-kl)f>$v3IyKv3JhXolNTc9iLNtWCc+2JY5z; zj1eY6-+UHxOE{;t#k;!Tb3as=8wa`*aZ`7{C)sywQWOZ{`XaL8DTp!nJO(%UNkehf zp?had;!@ZR|F~pe0|o=l5JP^1-S?!@_7}Ai<*NI|quLg0IO85Yl6&{+#&5h`k5~y2 zJUBksRf}|=v#^sMc=*N1=5GjSN&u^RvL)f~AvM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Q!)O(4cYNEWn19ujLnJzGj)$JDKMzuYDg6KxRcB_!MTrvN8)C5l;(z z+o$BwyC4_aE()5g_Afg(7u zp}_dMEl$BOA2nI;`@Ri3HE6w=SaZ172_|uSJDc^Z6LS7|4Q5x(c-)TGQ_f#)ClGG0 z?>?vIWEPylC)hddR+Z;g$*{Q!!i(P8%YxjmSh@uUHac%cFOsf=d{45vE;mcj$FdDP z-Kc&9|CEacFY_2HKlXc?E4uwBsXEm~jqg5z!TV>2?UMNqb~$y+ykD1GvcqWC%nfW- zJ?>UE!9Z}Nux;sl&A)E%5eV8py@LZQ>wIc@_mY0cd)=j(5wX)!#B&!|@ts(Ol}RJP zCc6_~wKC@fd=Ktd0Id-8r&^-a=T5IJVsPK}se6W-3v$vj;VIt)TT~AE3bOtNGSghy zI{e^QNGU<3Oj3iml_RB8yfQA3Hra47)l9L(yY3e!EHP%Jju8%HQ*<=EgI{B zD6W6m*s!{&*Erp!DAeA)J2{{*XER)=2h>rnzmhW9#WfVMd+A2Dfx8K#_KOZlt&>y% zqRY`rqjC3-H0fjUh%tmdkeBk^)f`g;4Qdt~X1ug#w;|}Q!G7KRzl24UGwZhI1`3c( z8_MmIy!;wp@dMY~-n5S%qTw9lZ!h$)HDkK(QhpSxTg5U>wH<%-pl1qlwnB#Rpg)yr z)0M=(8Xe?CMPFo(OP1d_O2NtnsC94A&v-TbJY~Y1V(j-%X2h|`5S0_U;U`;IUp#c|-jWr{>b-8DWKI&_JBc{;B+2`{*&HPiQvV)o3pqoVd5p3XB!I65NcXnk KtqLvc$o~M=2{qmT literal 0 HcmV?d00001 diff --git a/_static/img/favicon.ico b/_static/img/favicon.ico new file mode 100644 index 0000000000000000000000000000000000000000..7c9c2c1e2ed5cbf83ae4302ce72f729bef91ea48 GIT binary patch literal 5558 zcmeHL%`XE%6d&T|LR=ks5?2>#I3RHl!G$>XAT-41!9jc+D#{6MDv^lz2&X3eCryY5 zs)?dqG)09HP1B!!Bae-*3acb$lG(SrGw=Oo-oE#;zY!u!WDAQ$=+YvJ^Mxo9LgeK= zKDXxx(V)L8*5Bz2-^vjgLB^^Cyl zp2u|e5Y}fFkxC|!xV!&0{#`td#C-y5o&{;!>zb2Tgh_rNpC4@dL4G;X_e7G`Wi~$f z#)!d~^u4LQlxE|nlBri19BT?+`QMEATXal5<^Sr0N9I50Unb&@_OLuUC2JSmQ~k*_ zKIfFeSN>P=r}9tLpU3~NOx1r?f1mk-sy~0f{+P)>jIsan|KmOWLA=u}{`C?5d;E*I zuUY)_E&O!+^SAjop9B0?N#`W`(TO}ENq0_CS7^moI(=i-(=<);ZMx9C&*zh4B#mP{ t&U!43bIjH!3}YkvjLY&Pe4fKLl)myG#{|pYiXUSR@>)JCN%y<;@c}3gBAx&M literal 0 HcmV?d00001 diff --git a/_static/img/icons.png b/_static/img/icons.png new file mode 100644 index 0000000000000000000000000000000000000000..bb77ca657d55a76a15859b2db8f53a9f6f5934f2 GIT binary patch literal 10460 zcmaiabx<5%(Cy+DAcP>nB{&4n;_eW1aao+;?z$la_uwuGu(-PfcXxMpci#TKuik&J z>TT8C*`1lH+jIN$>C=5DR9R6P6P*Yh003ah%1Effj{UIVfr=H^@ zch}avM*nHum6?oFowZXJj++#r6O!PCndm|pA*X4~{3#vzs16&)8+2RUCqtfi7%d`Ehj;$Y_ z!&&jt1T4Cj!$z*xs9QlNVZQRkUW znw+FV*D{T`&^FCbKJe(mF_PcZH3pvZH*1#xwcw$wi{tq=7Pfk`)mn-<0EA<}8R|1J zkwd)5pJ-k%nB`f$%c5zbLC=h$pHm@b$Q#gU2hpc!Msy3WZ8qS$pFCC5C?(58_dlc| zmCrPfe87)uF5zCpFYnWkgqNkAvz|?dMSgr1 z<=t_Z{ygB}72e^9s;_16r!&0Nc7wBEDf%McOO0G|TZ1BCvQ%nyg$PqngHeeiR+~=4 z|7XPqLa7_v*xUa4!;3uNEbjF~sxSp~4v_P#zEX7lvx5w;x{pV3jIH_>fXLG@{OBVu zdBPE7249ZMJHVZ!5e^P22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$- zBld5oouHt$9Igz3t-Yo33z|Dg-3)MQ;m!{_ zg(8j2Fx1z0dVqvW*$cs_g>{9=SYXtKwA?7*&(mJDNMOJNj8Y_$IgkA=vv4GHVM;i) haHM3^|F?ul)&I_gH0Asu6EKLBL`Op(UJkR4_#YnQi=_Yn literal 0 HcmV?d00001 diff --git a/_static/img/logo.png b/_static/img/logo.png new file mode 100644 index 0000000000000000000000000000000000000000..1ea79cf1583927ca8bdbde9f8779fecfc567b72a GIT binary patch literal 2783 zcmc&$c{tQx7ypiZ$&w~JBZX{*kSvkNOm;#)OD3`uV;g1&W1G-e#t_n&sVpUfD3UFb z2-$ZT!p~OrefNIf|KI=L`#k5K=bn3>^PF?;IiGW%T9_GeaR_q&0KkQS8(4wd9wZkw z7I5#5YH9=-6Ivf}hYeg|Y!BkWGrJ%BA2g^x^k0JLUnB>ELZLvzyMfle?t$3*0d4>m zi@o&F#|!Ox-_PxmZ-57RSz8zYI2;iMH|_*yFHu4Qt!>03>!lwWX9m8`m%TuD$mq4o z7?re8HzY_fx(GQYw?kTjn%$Z#yZmRBIyJ~`LSo-@FTM(X;4hRQ8BO3%cgt%t6OqVA zI8fL`ksAvhZ1*YI-~0`a?9f*$!=+-IbMNZ2oLxlv6~REQb%;zU=}x zff|dqo_~1Pgoq)|Cns~S5BbVO&@(}+csz3&hl-FYsAyHeEP%E7vkKNCNv4#}KLZ^6)5IdG4n3oF(+hdas-rlq{?1IYqwA zVF_hUy4BI-)$F1jmKuOQ`3mGf!rea)+X(0?BmRR)xH|LE(QFkgGkchC7tl)IPw%s$c&TynfL%!&a)Hzj!=Z41ajHNUr%-x##+b!u7Y>Nq?UVM@Y#^(CLXq9Hz z2WEfBc{s9fB=%3kxa95ROl2jNXCnM&jIWTtb~F~vtc+x?V8Y~pm%jVlk)Zs%`u$ZY zLH85n;lHP1^Q8cbz;337XJZP1Hzmt{WkX?d5D6@fJ0^!Ups*;GF*Lz4E71)wA*Uyu z0J;DsyrN4?+m{bW+Okbv)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2l{H-Y^^Hzb7&+97Yj_~3>Zaiv7S`e5Ht36O<+)cCKW=n2limV^YOdb z3Q0*-9Nf+u(%34LtK6Xyi5ryv_aH^Lzty{EPp$2-6tH#%1Kbglmo|V0;|A+INI=Vy zUgU4%Xd*_qvg9HDU*h!PFhJZ!Hc9ddDxVN~M%&ujhBUPi6JA8~iPk>s?(U-b9a)4Z z?L3<^4hNKvG4I0g;&^xqLH6r@bX3PT_iNLH4PcBpkkk1|gNExSPj53)fOXz{=VPfP ze0k^ljM7fLUsmt$s$)Ru*E+G!4s5VYJC$G8Q@ zH<3CTS>XcW1Mi7dsW;;49})9bs_?{GD9i0R>~|LzglN8%sV~=(H`82&Elxo?Md7g~?Ha%3=AXF;<|rfHh}dgSThpm?iZ3y4N&k z-faDojzuK`M|ll0Cqprrsld`9bo z^QQUqa(GYP!XwRkyr*_oPs#^iSAm)|;)D^3=#FvN!UlCfet_F2H%5_B-l(7)M;U$( zII5iD-@pH6iW>xMM7OVgpJ!`4k6=$GJa5)Yko02~1ZiZ5+W~7;vklGxS0?R zwNZ~g(F?O2yRTVMhdNCssBAM9CzH*KJcJ>XFYQ~k$)DD$%c#{im0&d$jWRucApS}^ zSvemVhm_mt3d%X6eG>iFug5PrNuTj-=AHa~F*T0&AX-8-Dkq1B5fZyIGt!=D1m#=p z9;1=J|KjRudehsK!f8q9zvxN<>q%l4rO+|6S6mBH1JLI(@@C)ek%-P~c`z@s{S?T> Og4C2W70VSYg8m0xQL!Tc literal 0 HcmV?d00001 diff --git a/_static/img/terminal.png b/_static/img/terminal.png new file mode 100644 index 0000000000000000000000000000000000000000..b813980e142c26710e7fc337c68da072389a7df5 GIT binary patch literal 687 zcmV;g0#N;lP)h<1H#hI(d|Ibq=okRtC$%R;pI>f0`iTFi&2vsAA zO65}#!1JTTUT}QXW-}K#67w`tbO@9*X#EM03zYA zojiMHbm4rqMntcz#puvY48RkP@$X-#({5#nDCsy(6abjHqqVL@W2apcJFJeA^9%I* V;j=^1`V0U7002ovPDHLkV1ljcEfN3# literal 0 HcmV?d00001 diff --git a/_static/img/twitter.png b/_static/img/twitter.png new file mode 100644 index 0000000000000000000000000000000000000000..29c5a89ecaba167b599c452ee38beaecb1268ca2 GIT binary patch literal 1550 zcmV+p2J!icP)4Tx05}naRo`#hR1`jmZ&IWdKOk5~hl<6oRa0BJ8yc;~21%2p?MfD<>DVeH z9(p*dx19w`~g7O0}n_%Aq@s%d)fBDv`JHkDym6Hd+5XuAtvnwRpGmK zVkc9?T=n|PIo~X-eVh__(Z?q}P9Z-Dj?gOW6|D%o20XmjW-qs4UjrD(li^iv8@eK9k+ZFm zVRFymFOPAzG5-%Pn|1W;U4vNroTa&AxDScmEA~{ri9gr1^c?U@uwSpaNnw8l_>cP1 zd;)kMQS_;jeRSUEM_*s96y65j1$)tOrwdK{YIQMt92l|D^(E_=$Rjw{b!QT@q!)ni zR`|5oW9X5n$Wv+HVc@|^eX5yXnsHX8PF3UX~a6)MwxDE0HaPjyrlI!;jX{6Kvuh*8ej?;85ekN$?5uuCiS zBTvvVG+XTxAO{m@bvM#Jr)z6J><&E22D|vq?Y?Vkbo_DijopiF$2PET#mZ8eu=y$(ArYkv7@Ex`GL?QCc!_*KFrd&;n1r7 zqW-CFs9&fT)ZaU5gc&=gBz-DaCw(vdOp0__x+47~U6sC(E(JNe@4cTT*n6*E zVH4eoU1-&7pEV~_PRe`a7v+@vy!^5}8?Y3)UmlaER00009a7bBm000XU000XU0RWnu7ytkPkV!;AR5%gM zl1)y+Koo%An-{ z)_Xxcy3NknissZ9LVy9g5Gh8$D{$5mwW%yqK$f#z1@x!$(KQ<^P`eg=mJ$Tawy)VT z(qz8Ofes|-7p1X7xDav=tni{F%bFgD&{rFfi6YMeWudwUdkK0%K-(&f^LcuDDuZ3+ zSa;~Mb&r~CE4_&S2PufHgdGP;XqdZ1t9~{Jk2-#CNOz)_Qm?E4?FAUWE*|f4v+Fo? zPf(G1^f4QCKm+mjJ~6~`*B3d2_q0d+b1A6|^c1?Lv#irf5cTEa>E@@;YIa(pDX5JL59{>M9-~76lWQT&k0{{R307*qoM6N<$g3eFh A-v9sr literal 0 HcmV?d00001 diff --git a/_static/jquery.js b/_static/jquery.js new file mode 100644 index 00000000..7c243080 --- /dev/null +++ b/_static/jquery.js @@ -0,0 +1,154 @@ +/*! + * jQuery JavaScript Library v1.4.2 + * http://jquery.com/ + * + * Copyright 2010, John Resig + * Dual licensed under the MIT or GPL Version 2 licenses. + * http://jquery.org/license + * + * Includes Sizzle.js + * http://sizzlejs.com/ + * Copyright 2010, The Dojo Foundation + * Released under the MIT, BSD, and GPL Licenses. + * + * Date: Sat Feb 13 22:33:48 2010 -0500 + */ +(function(A,w){function ma(){if(!c.isReady){try{s.documentElement.doScroll("left")}catch(a){setTimeout(ma,1);return}c.ready()}}function Qa(a,b){b.src?c.ajax({url:b.src,async:false,dataType:"script"}):c.globalEval(b.text||b.textContent||b.innerHTML||"");b.parentNode&&b.parentNode.removeChild(b)}function X(a,b,d,f,e,j){var i=a.length;if(typeof b==="object"){for(var o in b)X(a,o,b[o],f,e,d);return a}if(d!==w){f=!j&&f&&c.isFunction(d);for(o=0;o)[^>]*$|^#([\w-]+)$/,Ua=/^.[^:#\[\.,]*$/,Va=/\S/, +Wa=/^(\s|\u00A0)+|(\s|\u00A0)+$/g,Xa=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,P=navigator.userAgent,xa=false,Q=[],L,$=Object.prototype.toString,aa=Object.prototype.hasOwnProperty,ba=Array.prototype.push,R=Array.prototype.slice,ya=Array.prototype.indexOf;c.fn=c.prototype={init:function(a,b){var d,f;if(!a)return this;if(a.nodeType){this.context=this[0]=a;this.length=1;return this}if(a==="body"&&!b){this.context=s;this[0]=s.body;this.selector="body";this.length=1;return this}if(typeof a==="string")if((d=Ta.exec(a))&& +(d[1]||!b))if(d[1]){f=b?b.ownerDocument||b:s;if(a=Xa.exec(a))if(c.isPlainObject(b)){a=[s.createElement(a[1])];c.fn.attr.call(a,b,true)}else a=[f.createElement(a[1])];else{a=sa([d[1]],[f]);a=(a.cacheable?a.fragment.cloneNode(true):a.fragment).childNodes}return c.merge(this,a)}else{if(b=s.getElementById(d[2])){if(b.id!==d[2])return T.find(a);this.length=1;this[0]=b}this.context=s;this.selector=a;return this}else if(!b&&/^\w+$/.test(a)){this.selector=a;this.context=s;a=s.getElementsByTagName(a);return c.merge(this, +a)}else return!b||b.jquery?(b||T).find(a):c(b).find(a);else if(c.isFunction(a))return T.ready(a);if(a.selector!==w){this.selector=a.selector;this.context=a.context}return c.makeArray(a,this)},selector:"",jquery:"1.4.2",length:0,size:function(){return this.length},toArray:function(){return R.call(this,0)},get:function(a){return a==null?this.toArray():a<0?this.slice(a)[0]:this[a]},pushStack:function(a,b,d){var f=c();c.isArray(a)?ba.apply(f,a):c.merge(f,a);f.prevObject=this;f.context=this.context;if(b=== +"find")f.selector=this.selector+(this.selector?" ":"")+d;else if(b)f.selector=this.selector+"."+b+"("+d+")";return f},each:function(a,b){return c.each(this,a,b)},ready:function(a){c.bindReady();if(c.isReady)a.call(s,c);else Q&&Q.push(a);return this},eq:function(a){return 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(R.apply(this,arguments),"slice",R.call(arguments).join(","))},map:function(a){return this.pushStack(c.map(this, +function(b,d){return a.call(b,d,b)}))},end:function(){return this.prevObject||c(null)},push:ba,sort:[].sort,splice:[].splice};c.fn.init.prototype=c.fn;c.extend=c.fn.extend=function(){var a=arguments[0]||{},b=1,d=arguments.length,f=false,e,j,i,o;if(typeof a==="boolean"){f=a;a=arguments[1]||{};b=2}if(typeof a!=="object"&&!c.isFunction(a))a={};if(d===b){a=this;--b}for(;b
a"; +var e=d.getElementsByTagName("*"),j=d.getElementsByTagName("a")[0];if(!(!e||!e.length||!j)){c.support={leadingWhitespace:d.firstChild.nodeType===3,tbody:!d.getElementsByTagName("tbody").length,htmlSerialize:!!d.getElementsByTagName("link").length,style:/red/.test(j.getAttribute("style")),hrefNormalized:j.getAttribute("href")==="/a",opacity:/^0.55$/.test(j.style.opacity),cssFloat:!!j.style.cssFloat,checkOn:d.getElementsByTagName("input")[0].value==="on",optSelected:s.createElement("select").appendChild(s.createElement("option")).selected, +parentNode:d.removeChild(d.appendChild(s.createElement("div"))).parentNode===null,deleteExpando:true,checkClone:false,scriptEval:false,noCloneEvent:true,boxModel:null};b.type="text/javascript";try{b.appendChild(s.createTextNode("window."+f+"=1;"))}catch(i){}a.insertBefore(b,a.firstChild);if(A[f]){c.support.scriptEval=true;delete A[f]}try{delete b.test}catch(o){c.support.deleteExpando=false}a.removeChild(b);if(d.attachEvent&&d.fireEvent){d.attachEvent("onclick",function k(){c.support.noCloneEvent= +false;d.detachEvent("onclick",k)});d.cloneNode(true).fireEvent("onclick")}d=s.createElement("div");d.innerHTML="";a=s.createDocumentFragment();a.appendChild(d.firstChild);c.support.checkClone=a.cloneNode(true).cloneNode(true).lastChild.checked;c(function(){var k=s.createElement("div");k.style.width=k.style.paddingLeft="1px";s.body.appendChild(k);c.boxModel=c.support.boxModel=k.offsetWidth===2;s.body.removeChild(k).style.display="none"});a=function(k){var n= +s.createElement("div");k="on"+k;var r=k in n;if(!r){n.setAttribute(k,"return;");r=typeof n[k]==="function"}return r};c.support.submitBubbles=a("submit");c.support.changeBubbles=a("change");a=b=d=e=j=null}})();c.props={"for":"htmlFor","class":"className",readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing",rowspan:"rowSpan",colspan:"colSpan",tabindex:"tabIndex",usemap:"useMap",frameborder:"frameBorder"};var G="jQuery"+J(),Ya=0,za={};c.extend({cache:{},expando:G,noData:{embed:true,object:true, +applet:true},data:function(a,b,d){if(!(a.nodeName&&c.noData[a.nodeName.toLowerCase()])){a=a==A?za:a;var f=a[G],e=c.cache;if(!f&&typeof b==="string"&&d===w)return null;f||(f=++Ya);if(typeof b==="object"){a[G]=f;e[f]=c.extend(true,{},b)}else if(!e[f]){a[G]=f;e[f]={}}a=e[f];if(d!==w)a[b]=d;return typeof b==="string"?a[b]:a}},removeData:function(a,b){if(!(a.nodeName&&c.noData[a.nodeName.toLowerCase()])){a=a==A?za:a;var d=a[G],f=c.cache,e=f[d];if(b){if(e){delete e[b];c.isEmptyObject(e)&&c.removeData(a)}}else{if(c.support.deleteExpando)delete a[c.expando]; +else a.removeAttribute&&a.removeAttribute(c.expando);delete f[d]}}}});c.fn.extend({data:function(a,b){if(typeof a==="undefined"&&this.length)return c.data(this[0]);else if(typeof a==="object")return this.each(function(){c.data(this,a)});var d=a.split(".");d[1]=d[1]?"."+d[1]:"";if(b===w){var f=this.triggerHandler("getData"+d[1]+"!",[d[0]]);if(f===w&&this.length)f=c.data(this[0],a);return f===w&&d[1]?this.data(d[0]):f}else return this.trigger("setData"+d[1]+"!",[d[0],b]).each(function(){c.data(this, +a,b)})},removeData:function(a){return this.each(function(){c.removeData(this,a)})}});c.extend({queue:function(a,b,d){if(a){b=(b||"fx")+"queue";var f=c.data(a,b);if(!d)return f||[];if(!f||c.isArray(d))f=c.data(a,b,c.makeArray(d));else f.push(d);return f}},dequeue:function(a,b){b=b||"fx";var d=c.queue(a,b),f=d.shift();if(f==="inprogress")f=d.shift();if(f){b==="fx"&&d.unshift("inprogress");f.call(a,function(){c.dequeue(a,b)})}}});c.fn.extend({queue:function(a,b){if(typeof a!=="string"){b=a;a="fx"}if(b=== +w)return c.queue(this[0],a);return this.each(function(){var d=c.queue(this,a,b);a==="fx"&&d[0]!=="inprogress"&&c.dequeue(this,a)})},dequeue:function(a){return this.each(function(){c.dequeue(this,a)})},delay:function(a,b){a=c.fx?c.fx.speeds[a]||a:a;b=b||"fx";return this.queue(b,function(){var d=this;setTimeout(function(){c.dequeue(d,b)},a)})},clearQueue:function(a){return this.queue(a||"fx",[])}});var Aa=/[\n\t]/g,ca=/\s+/,Za=/\r/g,$a=/href|src|style/,ab=/(button|input)/i,bb=/(button|input|object|select|textarea)/i, +cb=/^(a|area)$/i,Ba=/radio|checkbox/;c.fn.extend({attr:function(a,b){return X(this,a,b,true,c.attr)},removeAttr:function(a){return this.each(function(){c.attr(this,a,"");this.nodeType===1&&this.removeAttribute(a)})},addClass:function(a){if(c.isFunction(a))return this.each(function(n){var r=c(this);r.addClass(a.call(this,n,r.attr("class")))});if(a&&typeof a==="string")for(var b=(a||"").split(ca),d=0,f=this.length;d-1)return true;return false},val:function(a){if(a===w){var b=this[0];if(b){if(c.nodeName(b,"option"))return(b.attributes.value||{}).specified?b.value:b.text;if(c.nodeName(b,"select")){var d=b.selectedIndex,f=[],e=b.options;b=b.type==="select-one";if(d<0)return null;var j=b?d:0;for(d=b?d+1:e.length;j=0;else if(c.nodeName(this,"select")){var u=c.makeArray(r);c("option",this).each(function(){this.selected= +c.inArray(c(this).val(),u)>=0});if(!u.length)this.selectedIndex=-1}else this.value=r}})}});c.extend({attrFn:{val:true,css:true,html:true,text:true,data:true,width:true,height:true,offset:true},attr:function(a,b,d,f){if(!a||a.nodeType===3||a.nodeType===8)return w;if(f&&b in c.attrFn)return c(a)[b](d);f=a.nodeType!==1||!c.isXMLDoc(a);var e=d!==w;b=f&&c.props[b]||b;if(a.nodeType===1){var j=$a.test(b);if(b in a&&f&&!j){if(e){b==="type"&&ab.test(a.nodeName)&&a.parentNode&&c.error("type property can't be changed"); +a[b]=d}if(c.nodeName(a,"form")&&a.getAttributeNode(b))return a.getAttributeNode(b).nodeValue;if(b==="tabIndex")return(b=a.getAttributeNode("tabIndex"))&&b.specified?b.value:bb.test(a.nodeName)||cb.test(a.nodeName)&&a.href?0:w;return a[b]}if(!c.support.style&&f&&b==="style"){if(e)a.style.cssText=""+d;return a.style.cssText}e&&a.setAttribute(b,""+d);a=!c.support.hrefNormalized&&f&&j?a.getAttribute(b,2):a.getAttribute(b);return a===null?w:a}return c.style(a,b,d)}});var O=/\.(.*)$/,db=function(a){return a.replace(/[^\w\s\.\|`]/g, +function(b){return"\\"+b})};c.event={add:function(a,b,d,f){if(!(a.nodeType===3||a.nodeType===8)){if(a.setInterval&&a!==A&&!a.frameElement)a=A;var e,j;if(d.handler){e=d;d=e.handler}if(!d.guid)d.guid=c.guid++;if(j=c.data(a)){var i=j.events=j.events||{},o=j.handle;if(!o)j.handle=o=function(){return typeof c!=="undefined"&&!c.event.triggered?c.event.handle.apply(o.elem,arguments):w};o.elem=a;b=b.split(" ");for(var k,n=0,r;k=b[n++];){j=e?c.extend({},e):{handler:d,data:f};if(k.indexOf(".")>-1){r=k.split("."); +k=r.shift();j.namespace=r.slice(0).sort().join(".")}else{r=[];j.namespace=""}j.type=k;j.guid=d.guid;var u=i[k],z=c.event.special[k]||{};if(!u){u=i[k]=[];if(!z.setup||z.setup.call(a,f,r,o)===false)if(a.addEventListener)a.addEventListener(k,o,false);else a.attachEvent&&a.attachEvent("on"+k,o)}if(z.add){z.add.call(a,j);if(!j.handler.guid)j.handler.guid=d.guid}u.push(j);c.event.global[k]=true}a=null}}},global:{},remove:function(a,b,d,f){if(!(a.nodeType===3||a.nodeType===8)){var e,j=0,i,o,k,n,r,u,z=c.data(a), +C=z&&z.events;if(z&&C){if(b&&b.type){d=b.handler;b=b.type}if(!b||typeof b==="string"&&b.charAt(0)==="."){b=b||"";for(e in C)c.event.remove(a,e+b)}else{for(b=b.split(" ");e=b[j++];){n=e;i=e.indexOf(".")<0;o=[];if(!i){o=e.split(".");e=o.shift();k=new RegExp("(^|\\.)"+c.map(o.slice(0).sort(),db).join("\\.(?:.*\\.)?")+"(\\.|$)")}if(r=C[e])if(d){n=c.event.special[e]||{};for(B=f||0;B=0){a.type= +e=e.slice(0,-1);a.exclusive=true}if(!d){a.stopPropagation();c.event.global[e]&&c.each(c.cache,function(){this.events&&this.events[e]&&c.event.trigger(a,b,this.handle.elem)})}if(!d||d.nodeType===3||d.nodeType===8)return w;a.result=w;a.target=d;b=c.makeArray(b);b.unshift(a)}a.currentTarget=d;(f=c.data(d,"handle"))&&f.apply(d,b);f=d.parentNode||d.ownerDocument;try{if(!(d&&d.nodeName&&c.noData[d.nodeName.toLowerCase()]))if(d["on"+e]&&d["on"+e].apply(d,b)===false)a.result=false}catch(j){}if(!a.isPropagationStopped()&& +f)c.event.trigger(a,b,f,true);else if(!a.isDefaultPrevented()){f=a.target;var i,o=c.nodeName(f,"a")&&e==="click",k=c.event.special[e]||{};if((!k._default||k._default.call(d,a)===false)&&!o&&!(f&&f.nodeName&&c.noData[f.nodeName.toLowerCase()])){try{if(f[e]){if(i=f["on"+e])f["on"+e]=null;c.event.triggered=true;f[e]()}}catch(n){}if(i)f["on"+e]=i;c.event.triggered=false}}},handle:function(a){var b,d,f,e;a=arguments[0]=c.event.fix(a||A.event);a.currentTarget=this;b=a.type.indexOf(".")<0&&!a.exclusive; +if(!b){d=a.type.split(".");a.type=d.shift();f=new RegExp("(^|\\.)"+d.slice(0).sort().join("\\.(?:.*\\.)?")+"(\\.|$)")}e=c.data(this,"events");d=e[a.type];if(e&&d){d=d.slice(0);e=0;for(var j=d.length;e-1?c.map(a.options,function(f){return f.selected}).join("-"):"";else if(a.nodeName.toLowerCase()==="select")d=a.selectedIndex;return d},fa=function(a,b){var d=a.target,f,e;if(!(!da.test(d.nodeName)||d.readOnly)){f=c.data(d,"_change_data");e=Fa(d);if(a.type!=="focusout"||d.type!=="radio")c.data(d,"_change_data", +e);if(!(f===w||e===f))if(f!=null||e){a.type="change";return c.event.trigger(a,b,d)}}};c.event.special.change={filters:{focusout:fa,click:function(a){var b=a.target,d=b.type;if(d==="radio"||d==="checkbox"||b.nodeName.toLowerCase()==="select")return fa.call(this,a)},keydown:function(a){var b=a.target,d=b.type;if(a.keyCode===13&&b.nodeName.toLowerCase()!=="textarea"||a.keyCode===32&&(d==="checkbox"||d==="radio")||d==="select-multiple")return fa.call(this,a)},beforeactivate:function(a){a=a.target;c.data(a, +"_change_data",Fa(a))}},setup:function(){if(this.type==="file")return false;for(var a in ea)c.event.add(this,a+".specialChange",ea[a]);return da.test(this.nodeName)},teardown:function(){c.event.remove(this,".specialChange");return da.test(this.nodeName)}};ea=c.event.special.change.filters}s.addEventListener&&c.each({focus:"focusin",blur:"focusout"},function(a,b){function d(f){f=c.event.fix(f);f.type=b;return c.event.handle.call(this,f)}c.event.special[b]={setup:function(){this.addEventListener(a, +d,true)},teardown:function(){this.removeEventListener(a,d,true)}}});c.each(["bind","one"],function(a,b){c.fn[b]=function(d,f,e){if(typeof d==="object"){for(var j in d)this[b](j,f,d[j],e);return this}if(c.isFunction(f)){e=f;f=w}var i=b==="one"?c.proxy(e,function(k){c(this).unbind(k,i);return e.apply(this,arguments)}):e;if(d==="unload"&&b!=="one")this.one(d,f,e);else{j=0;for(var o=this.length;j0){y=t;break}}t=t[g]}m[q]=y}}}var f=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g, +e=0,j=Object.prototype.toString,i=false,o=true;[0,0].sort(function(){o=false;return 0});var k=function(g,h,l,m){l=l||[];var q=h=h||s;if(h.nodeType!==1&&h.nodeType!==9)return[];if(!g||typeof g!=="string")return l;for(var p=[],v,t,y,S,H=true,M=x(h),I=g;(f.exec(""),v=f.exec(I))!==null;){I=v[3];p.push(v[1]);if(v[2]){S=v[3];break}}if(p.length>1&&r.exec(g))if(p.length===2&&n.relative[p[0]])t=ga(p[0]+p[1],h);else for(t=n.relative[p[0]]?[h]:k(p.shift(),h);p.length;){g=p.shift();if(n.relative[g])g+=p.shift(); +t=ga(g,t)}else{if(!m&&p.length>1&&h.nodeType===9&&!M&&n.match.ID.test(p[0])&&!n.match.ID.test(p[p.length-1])){v=k.find(p.shift(),h,M);h=v.expr?k.filter(v.expr,v.set)[0]:v.set[0]}if(h){v=m?{expr:p.pop(),set:z(m)}:k.find(p.pop(),p.length===1&&(p[0]==="~"||p[0]==="+")&&h.parentNode?h.parentNode:h,M);t=v.expr?k.filter(v.expr,v.set):v.set;if(p.length>0)y=z(t);else H=false;for(;p.length;){var D=p.pop();v=D;if(n.relative[D])v=p.pop();else D="";if(v==null)v=h;n.relative[D](y,v,M)}}else y=[]}y||(y=t);y||k.error(D|| +g);if(j.call(y)==="[object Array]")if(H)if(h&&h.nodeType===1)for(g=0;y[g]!=null;g++){if(y[g]&&(y[g]===true||y[g].nodeType===1&&E(h,y[g])))l.push(t[g])}else for(g=0;y[g]!=null;g++)y[g]&&y[g].nodeType===1&&l.push(t[g]);else l.push.apply(l,y);else z(y,l);if(S){k(S,q,l,m);k.uniqueSort(l)}return l};k.uniqueSort=function(g){if(B){i=o;g.sort(B);if(i)for(var h=1;h":function(g,h){var l=typeof h==="string";if(l&&!/\W/.test(h)){h=h.toLowerCase();for(var m=0,q=g.length;m=0))l||m.push(v);else if(l)h[p]=false;return false},ID:function(g){return g[1].replace(/\\/g,"")},TAG:function(g){return g[1].toLowerCase()}, +CHILD:function(g){if(g[1]==="nth"){var h=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(g[2]==="even"&&"2n"||g[2]==="odd"&&"2n+1"||!/\D/.test(g[2])&&"0n+"+g[2]||g[2]);g[2]=h[1]+(h[2]||1)-0;g[3]=h[3]-0}g[0]=e++;return g},ATTR:function(g,h,l,m,q,p){h=g[1].replace(/\\/g,"");if(!p&&n.attrMap[h])g[1]=n.attrMap[h];if(g[2]==="~=")g[4]=" "+g[4]+" ";return g},PSEUDO:function(g,h,l,m,q){if(g[1]==="not")if((f.exec(g[3])||"").length>1||/^\w/.test(g[3]))g[3]=k(g[3],null,null,h);else{g=k.filter(g[3],h,l,true^q);l||m.push.apply(m, +g);return false}else if(n.match.POS.test(g[0])||n.match.CHILD.test(g[0]))return true;return g},POS:function(g){g.unshift(true);return g}},filters:{enabled:function(g){return g.disabled===false&&g.type!=="hidden"},disabled:function(g){return g.disabled===true},checked:function(g){return g.checked===true},selected:function(g){return g.selected===true},parent:function(g){return!!g.firstChild},empty:function(g){return!g.firstChild},has:function(g,h,l){return!!k(l[3],g).length},header:function(g){return/h\d/i.test(g.nodeName)}, +text:function(g){return"text"===g.type},radio:function(g){return"radio"===g.type},checkbox:function(g){return"checkbox"===g.type},file:function(g){return"file"===g.type},password:function(g){return"password"===g.type},submit:function(g){return"submit"===g.type},image:function(g){return"image"===g.type},reset:function(g){return"reset"===g.type},button:function(g){return"button"===g.type||g.nodeName.toLowerCase()==="button"},input:function(g){return/input|select|textarea|button/i.test(g.nodeName)}}, +setFilters:{first:function(g,h){return h===0},last:function(g,h,l,m){return h===m.length-1},even:function(g,h){return h%2===0},odd:function(g,h){return h%2===1},lt:function(g,h,l){return hl[3]-0},nth:function(g,h,l){return l[3]-0===h},eq:function(g,h,l){return l[3]-0===h}},filter:{PSEUDO:function(g,h,l,m){var q=h[1],p=n.filters[q];if(p)return p(g,l,h,m);else if(q==="contains")return(g.textContent||g.innerText||a([g])||"").indexOf(h[3])>=0;else if(q==="not"){h= +h[3];l=0;for(m=h.length;l=0}},ID:function(g,h){return g.nodeType===1&&g.getAttribute("id")===h},TAG:function(g,h){return h==="*"&&g.nodeType===1||g.nodeName.toLowerCase()===h},CLASS:function(g,h){return(" "+(g.className||g.getAttribute("class"))+" ").indexOf(h)>-1},ATTR:function(g,h){var l=h[1];g=n.attrHandle[l]?n.attrHandle[l](g):g[l]!=null?g[l]:g.getAttribute(l);l=g+"";var m=h[2];h=h[4];return g==null?m==="!=":m=== +"="?l===h:m==="*="?l.indexOf(h)>=0:m==="~="?(" "+l+" ").indexOf(h)>=0:!h?l&&g!==false:m==="!="?l!==h:m==="^="?l.indexOf(h)===0:m==="$="?l.substr(l.length-h.length)===h:m==="|="?l===h||l.substr(0,h.length+1)===h+"-":false},POS:function(g,h,l,m){var q=n.setFilters[h[2]];if(q)return q(g,l,h,m)}}},r=n.match.POS;for(var u in n.match){n.match[u]=new RegExp(n.match[u].source+/(?![^\[]*\])(?![^\(]*\))/.source);n.leftMatch[u]=new RegExp(/(^(?:.|\r|\n)*?)/.source+n.match[u].source.replace(/\\(\d+)/g,function(g, +h){return"\\"+(h-0+1)}))}var z=function(g,h){g=Array.prototype.slice.call(g,0);if(h){h.push.apply(h,g);return h}return g};try{Array.prototype.slice.call(s.documentElement.childNodes,0)}catch(C){z=function(g,h){h=h||[];if(j.call(g)==="[object Array]")Array.prototype.push.apply(h,g);else if(typeof g.length==="number")for(var l=0,m=g.length;l";var l=s.documentElement;l.insertBefore(g,l.firstChild);if(s.getElementById(h)){n.find.ID=function(m,q,p){if(typeof q.getElementById!=="undefined"&&!p)return(q=q.getElementById(m[1]))?q.id===m[1]||typeof q.getAttributeNode!=="undefined"&& +q.getAttributeNode("id").nodeValue===m[1]?[q]:w:[]};n.filter.ID=function(m,q){var p=typeof m.getAttributeNode!=="undefined"&&m.getAttributeNode("id");return m.nodeType===1&&p&&p.nodeValue===q}}l.removeChild(g);l=g=null})();(function(){var g=s.createElement("div");g.appendChild(s.createComment(""));if(g.getElementsByTagName("*").length>0)n.find.TAG=function(h,l){l=l.getElementsByTagName(h[1]);if(h[1]==="*"){h=[];for(var m=0;l[m];m++)l[m].nodeType===1&&h.push(l[m]);l=h}return l};g.innerHTML=""; +if(g.firstChild&&typeof g.firstChild.getAttribute!=="undefined"&&g.firstChild.getAttribute("href")!=="#")n.attrHandle.href=function(h){return h.getAttribute("href",2)};g=null})();s.querySelectorAll&&function(){var g=k,h=s.createElement("div");h.innerHTML="

";if(!(h.querySelectorAll&&h.querySelectorAll(".TEST").length===0)){k=function(m,q,p,v){q=q||s;if(!v&&q.nodeType===9&&!x(q))try{return z(q.querySelectorAll(m),p)}catch(t){}return g(m,q,p,v)};for(var l in g)k[l]=g[l];h=null}}(); +(function(){var g=s.createElement("div");g.innerHTML="
";if(!(!g.getElementsByClassName||g.getElementsByClassName("e").length===0)){g.lastChild.className="e";if(g.getElementsByClassName("e").length!==1){n.order.splice(1,0,"CLASS");n.find.CLASS=function(h,l,m){if(typeof l.getElementsByClassName!=="undefined"&&!m)return l.getElementsByClassName(h[1])};g=null}}})();var E=s.compareDocumentPosition?function(g,h){return!!(g.compareDocumentPosition(h)&16)}: +function(g,h){return g!==h&&(g.contains?g.contains(h):true)},x=function(g){return(g=(g?g.ownerDocument||g:0).documentElement)?g.nodeName!=="HTML":false},ga=function(g,h){var l=[],m="",q;for(h=h.nodeType?[h]:h;q=n.match.PSEUDO.exec(g);){m+=q[0];g=g.replace(n.match.PSEUDO,"")}g=n.relative[g]?g+"*":g;q=0;for(var p=h.length;q=0===d})};c.fn.extend({find:function(a){for(var b=this.pushStack("","find",a),d=0,f=0,e=this.length;f0)for(var j=d;j0},closest:function(a,b){if(c.isArray(a)){var d=[],f=this[0],e,j= +{},i;if(f&&a.length){e=0;for(var o=a.length;e-1:c(f).is(e)){d.push({selector:i,elem:f});delete j[i]}}f=f.parentNode}}return d}var k=c.expr.match.POS.test(a)?c(a,b||this.context):null;return this.map(function(n,r){for(;r&&r.ownerDocument&&r!==b;){if(k?k.index(r)>-1:c(r).is(a))return r;r=r.parentNode}return null})},index:function(a){if(!a||typeof a=== +"string")return c.inArray(this[0],a?c(a):this.parent().children());return c.inArray(a.jquery?a[0]:a,this)},add:function(a,b){a=typeof a==="string"?c(a,b||this.context):c.makeArray(a);b=c.merge(this.get(),a);return this.pushStack(qa(a[0])||qa(b[0])?b:c.unique(b))},andSelf:function(){return this.add(this.prevObject)}});c.each({parent:function(a){return(a=a.parentNode)&&a.nodeType!==11?a:null},parents:function(a){return c.dir(a,"parentNode")},parentsUntil:function(a,b,d){return c.dir(a,"parentNode", +d)},next:function(a){return c.nth(a,2,"nextSibling")},prev:function(a){return c.nth(a,2,"previousSibling")},nextAll:function(a){return c.dir(a,"nextSibling")},prevAll:function(a){return c.dir(a,"previousSibling")},nextUntil:function(a,b,d){return c.dir(a,"nextSibling",d)},prevUntil:function(a,b,d){return c.dir(a,"previousSibling",d)},siblings:function(a){return c.sibling(a.parentNode.firstChild,a)},children:function(a){return c.sibling(a.firstChild)},contents:function(a){return c.nodeName(a,"iframe")? +a.contentDocument||a.contentWindow.document:c.makeArray(a.childNodes)}},function(a,b){c.fn[a]=function(d,f){var e=c.map(this,b,d);eb.test(a)||(f=d);if(f&&typeof f==="string")e=c.filter(f,e);e=this.length>1?c.unique(e):e;if((this.length>1||gb.test(f))&&fb.test(a))e=e.reverse();return this.pushStack(e,a,R.call(arguments).join(","))}});c.extend({filter:function(a,b,d){if(d)a=":not("+a+")";return c.find.matches(a,b)},dir:function(a,b,d){var f=[];for(a=a[b];a&&a.nodeType!==9&&(d===w||a.nodeType!==1||!c(a).is(d));){a.nodeType=== +1&&f.push(a);a=a[b]}return f},nth:function(a,b,d){b=b||1;for(var f=0;a;a=a[d])if(a.nodeType===1&&++f===b)break;return a},sibling:function(a,b){for(var d=[];a;a=a.nextSibling)a.nodeType===1&&a!==b&&d.push(a);return d}});var Ja=/ jQuery\d+="(?:\d+|null)"/g,V=/^\s+/,Ka=/(<([\w:]+)[^>]*?)\/>/g,hb=/^(?:area|br|col|embed|hr|img|input|link|meta|param)$/i,La=/<([\w:]+)/,ib=/"},F={option:[1,""],legend:[1,"
","
"],thead:[1,"","
"],tr:[2,"","
"],td:[3,"","
"],col:[2,"","
"],area:[1,"",""],_default:[0,"",""]};F.optgroup=F.option;F.tbody=F.tfoot=F.colgroup=F.caption=F.thead;F.th=F.td;if(!c.support.htmlSerialize)F._default=[1,"div
","
"];c.fn.extend({text:function(a){if(c.isFunction(a))return this.each(function(b){var d= +c(this);d.text(a.call(this,b,d.text()))});if(typeof a!=="object"&&a!==w)return this.empty().append((this[0]&&this[0].ownerDocument||s).createTextNode(a));return c.text(this)},wrapAll:function(a){if(c.isFunction(a))return this.each(function(d){c(this).wrapAll(a.call(this,d))});if(this[0]){var b=c(a,this[0].ownerDocument).eq(0).clone(true);this[0].parentNode&&b.insertBefore(this[0]);b.map(function(){for(var d=this;d.firstChild&&d.firstChild.nodeType===1;)d=d.firstChild;return d}).append(this)}return this}, +wrapInner:function(a){if(c.isFunction(a))return this.each(function(b){c(this).wrapInner(a.call(this,b))});return this.each(function(){var b=c(this),d=b.contents();d.length?d.wrapAll(a):b.append(a)})},wrap:function(a){return this.each(function(){c(this).wrapAll(a)})},unwrap:function(){return this.parent().each(function(){c.nodeName(this,"body")||c(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,true,function(a){this.nodeType===1&&this.appendChild(a)})}, +prepend:function(){return this.domManip(arguments,true,function(a){this.nodeType===1&&this.insertBefore(a,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,false,function(b){this.parentNode.insertBefore(b,this)});else if(arguments.length){var a=c(arguments[0]);a.push.apply(a,this.toArray());return this.pushStack(a,"before",arguments)}},after:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,false,function(b){this.parentNode.insertBefore(b, +this.nextSibling)});else if(arguments.length){var a=this.pushStack(this,"after",arguments);a.push.apply(a,c(arguments[0]).toArray());return a}},remove:function(a,b){for(var d=0,f;(f=this[d])!=null;d++)if(!a||c.filter(a,[f]).length){if(!b&&f.nodeType===1){c.cleanData(f.getElementsByTagName("*"));c.cleanData([f])}f.parentNode&&f.parentNode.removeChild(f)}return this},empty:function(){for(var a=0,b;(b=this[a])!=null;a++)for(b.nodeType===1&&c.cleanData(b.getElementsByTagName("*"));b.firstChild;)b.removeChild(b.firstChild); +return this},clone:function(a){var b=this.map(function(){if(!c.support.noCloneEvent&&!c.isXMLDoc(this)){var d=this.outerHTML,f=this.ownerDocument;if(!d){d=f.createElement("div");d.appendChild(this.cloneNode(true));d=d.innerHTML}return c.clean([d.replace(Ja,"").replace(/=([^="'>\s]+\/)>/g,'="$1">').replace(V,"")],f)[0]}else return this.cloneNode(true)});if(a===true){ra(this,b);ra(this.find("*"),b.find("*"))}return b},html:function(a){if(a===w)return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(Ja, +""):null;else if(typeof a==="string"&&!ta.test(a)&&(c.support.leadingWhitespace||!V.test(a))&&!F[(La.exec(a)||["",""])[1].toLowerCase()]){a=a.replace(Ka,Ma);try{for(var b=0,d=this.length;b0||e.cacheable||this.length>1?k.cloneNode(true):k)}o.length&&c.each(o,Qa)}return this}});c.fragments={};c.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){c.fn[a]=function(d){var f=[];d=c(d);var e=this.length===1&&this[0].parentNode;if(e&&e.nodeType===11&&e.childNodes.length===1&&d.length===1){d[b](this[0]); +return this}else{e=0;for(var j=d.length;e0?this.clone(true):this).get();c.fn[b].apply(c(d[e]),i);f=f.concat(i)}return this.pushStack(f,a,d.selector)}}});c.extend({clean:function(a,b,d,f){b=b||s;if(typeof b.createElement==="undefined")b=b.ownerDocument||b[0]&&b[0].ownerDocument||s;for(var e=[],j=0,i;(i=a[j])!=null;j++){if(typeof i==="number")i+="";if(i){if(typeof i==="string"&&!jb.test(i))i=b.createTextNode(i);else if(typeof i==="string"){i=i.replace(Ka,Ma);var o=(La.exec(i)||["", +""])[1].toLowerCase(),k=F[o]||F._default,n=k[0],r=b.createElement("div");for(r.innerHTML=k[1]+i+k[2];n--;)r=r.lastChild;if(!c.support.tbody){n=ib.test(i);o=o==="table"&&!n?r.firstChild&&r.firstChild.childNodes:k[1]===""&&!n?r.childNodes:[];for(k=o.length-1;k>=0;--k)c.nodeName(o[k],"tbody")&&!o[k].childNodes.length&&o[k].parentNode.removeChild(o[k])}!c.support.leadingWhitespace&&V.test(i)&&r.insertBefore(b.createTextNode(V.exec(i)[0]),r.firstChild);i=r.childNodes}if(i.nodeType)e.push(i);else e= +c.merge(e,i)}}if(d)for(j=0;e[j];j++)if(f&&c.nodeName(e[j],"script")&&(!e[j].type||e[j].type.toLowerCase()==="text/javascript"))f.push(e[j].parentNode?e[j].parentNode.removeChild(e[j]):e[j]);else{e[j].nodeType===1&&e.splice.apply(e,[j+1,0].concat(c.makeArray(e[j].getElementsByTagName("script"))));d.appendChild(e[j])}return e},cleanData:function(a){for(var b,d,f=c.cache,e=c.event.special,j=c.support.deleteExpando,i=0,o;(o=a[i])!=null;i++)if(d=o[c.expando]){b=f[d];if(b.events)for(var k in b.events)e[k]? +c.event.remove(o,k):Ca(o,k,b.handle);if(j)delete o[c.expando];else o.removeAttribute&&o.removeAttribute(c.expando);delete f[d]}}});var kb=/z-?index|font-?weight|opacity|zoom|line-?height/i,Na=/alpha\([^)]*\)/,Oa=/opacity=([^)]*)/,ha=/float/i,ia=/-([a-z])/ig,lb=/([A-Z])/g,mb=/^-?\d+(?:px)?$/i,nb=/^-?\d/,ob={position:"absolute",visibility:"hidden",display:"block"},pb=["Left","Right"],qb=["Top","Bottom"],rb=s.defaultView&&s.defaultView.getComputedStyle,Pa=c.support.cssFloat?"cssFloat":"styleFloat",ja= +function(a,b){return b.toUpperCase()};c.fn.css=function(a,b){return X(this,a,b,true,function(d,f,e){if(e===w)return c.curCSS(d,f);if(typeof e==="number"&&!kb.test(f))e+="px";c.style(d,f,e)})};c.extend({style:function(a,b,d){if(!a||a.nodeType===3||a.nodeType===8)return w;if((b==="width"||b==="height")&&parseFloat(d)<0)d=w;var f=a.style||a,e=d!==w;if(!c.support.opacity&&b==="opacity"){if(e){f.zoom=1;b=parseInt(d,10)+""==="NaN"?"":"alpha(opacity="+d*100+")";a=f.filter||c.curCSS(a,"filter")||"";f.filter= +Na.test(a)?a.replace(Na,b):b}return f.filter&&f.filter.indexOf("opacity=")>=0?parseFloat(Oa.exec(f.filter)[1])/100+"":""}if(ha.test(b))b=Pa;b=b.replace(ia,ja);if(e)f[b]=d;return f[b]},css:function(a,b,d,f){if(b==="width"||b==="height"){var e,j=b==="width"?pb:qb;function i(){e=b==="width"?a.offsetWidth:a.offsetHeight;f!=="border"&&c.each(j,function(){f||(e-=parseFloat(c.curCSS(a,"padding"+this,true))||0);if(f==="margin")e+=parseFloat(c.curCSS(a,"margin"+this,true))||0;else e-=parseFloat(c.curCSS(a, +"border"+this+"Width",true))||0})}a.offsetWidth!==0?i():c.swap(a,ob,i);return Math.max(0,Math.round(e))}return c.curCSS(a,b,d)},curCSS:function(a,b,d){var f,e=a.style;if(!c.support.opacity&&b==="opacity"&&a.currentStyle){f=Oa.test(a.currentStyle.filter||"")?parseFloat(RegExp.$1)/100+"":"";return f===""?"1":f}if(ha.test(b))b=Pa;if(!d&&e&&e[b])f=e[b];else if(rb){if(ha.test(b))b="float";b=b.replace(lb,"-$1").toLowerCase();e=a.ownerDocument.defaultView;if(!e)return null;if(a=e.getComputedStyle(a,null))f= +a.getPropertyValue(b);if(b==="opacity"&&f==="")f="1"}else if(a.currentStyle){d=b.replace(ia,ja);f=a.currentStyle[b]||a.currentStyle[d];if(!mb.test(f)&&nb.test(f)){b=e.left;var j=a.runtimeStyle.left;a.runtimeStyle.left=a.currentStyle.left;e.left=d==="fontSize"?"1em":f||0;f=e.pixelLeft+"px";e.left=b;a.runtimeStyle.left=j}}return f},swap:function(a,b,d){var f={};for(var e in b){f[e]=a.style[e];a.style[e]=b[e]}d.call(a);for(e in b)a.style[e]=f[e]}});if(c.expr&&c.expr.filters){c.expr.filters.hidden=function(a){var b= +a.offsetWidth,d=a.offsetHeight,f=a.nodeName.toLowerCase()==="tr";return b===0&&d===0&&!f?true:b>0&&d>0&&!f?false:c.curCSS(a,"display")==="none"};c.expr.filters.visible=function(a){return!c.expr.filters.hidden(a)}}var sb=J(),tb=//gi,ub=/select|textarea/i,vb=/color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week/i,N=/=\?(&|$)/,ka=/\?/,wb=/(\?|&)_=.*?(&|$)/,xb=/^(\w+:)?\/\/([^\/?#]+)/,yb=/%20/g,zb=c.fn.load;c.fn.extend({load:function(a,b,d){if(typeof a!== +"string")return zb.call(this,a);else if(!this.length)return this;var f=a.indexOf(" ");if(f>=0){var e=a.slice(f,a.length);a=a.slice(0,f)}f="GET";if(b)if(c.isFunction(b)){d=b;b=null}else if(typeof b==="object"){b=c.param(b,c.ajaxSettings.traditional);f="POST"}var j=this;c.ajax({url:a,type:f,dataType:"html",data:b,complete:function(i,o){if(o==="success"||o==="notmodified")j.html(e?c("
").append(i.responseText.replace(tb,"")).find(e):i.responseText);d&&j.each(d,[i.responseText,o,i])}});return this}, +serialize:function(){return c.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?c.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||ub.test(this.nodeName)||vb.test(this.type))}).map(function(a,b){a=c(this).val();return a==null?null:c.isArray(a)?c.map(a,function(d){return{name:b.name,value:d}}):{name:b.name,value:a}}).get()}});c.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "), +function(a,b){c.fn[b]=function(d){return this.bind(b,d)}});c.extend({get:function(a,b,d,f){if(c.isFunction(b)){f=f||d;d=b;b=null}return c.ajax({type:"GET",url:a,data:b,success:d,dataType:f})},getScript:function(a,b){return c.get(a,null,b,"script")},getJSON:function(a,b,d){return c.get(a,b,d,"json")},post:function(a,b,d,f){if(c.isFunction(b)){f=f||d;d=b;b={}}return c.ajax({type:"POST",url:a,data:b,success:d,dataType:f})},ajaxSetup:function(a){c.extend(c.ajaxSettings,a)},ajaxSettings:{url:location.href, +global:true,type:"GET",contentType:"application/x-www-form-urlencoded",processData:true,async:true,xhr:A.XMLHttpRequest&&(A.location.protocol!=="file:"||!A.ActiveXObject)?function(){return new A.XMLHttpRequest}:function(){try{return new A.ActiveXObject("Microsoft.XMLHTTP")}catch(a){}},accepts:{xml:"application/xml, text/xml",html:"text/html",script:"text/javascript, application/javascript",json:"application/json, text/javascript",text:"text/plain",_default:"*/*"}},lastModified:{},etag:{},ajax:function(a){function b(){e.success&& +e.success.call(k,o,i,x);e.global&&f("ajaxSuccess",[x,e])}function d(){e.complete&&e.complete.call(k,x,i);e.global&&f("ajaxComplete",[x,e]);e.global&&!--c.active&&c.event.trigger("ajaxStop")}function f(q,p){(e.context?c(e.context):c.event).trigger(q,p)}var e=c.extend(true,{},c.ajaxSettings,a),j,i,o,k=a&&a.context||e,n=e.type.toUpperCase();if(e.data&&e.processData&&typeof e.data!=="string")e.data=c.param(e.data,e.traditional);if(e.dataType==="jsonp"){if(n==="GET")N.test(e.url)||(e.url+=(ka.test(e.url)? +"&":"?")+(e.jsonp||"callback")+"=?");else if(!e.data||!N.test(e.data))e.data=(e.data?e.data+"&":"")+(e.jsonp||"callback")+"=?";e.dataType="json"}if(e.dataType==="json"&&(e.data&&N.test(e.data)||N.test(e.url))){j=e.jsonpCallback||"jsonp"+sb++;if(e.data)e.data=(e.data+"").replace(N,"="+j+"$1");e.url=e.url.replace(N,"="+j+"$1");e.dataType="script";A[j]=A[j]||function(q){o=q;b();d();A[j]=w;try{delete A[j]}catch(p){}z&&z.removeChild(C)}}if(e.dataType==="script"&&e.cache===null)e.cache=false;if(e.cache=== +false&&n==="GET"){var r=J(),u=e.url.replace(wb,"$1_="+r+"$2");e.url=u+(u===e.url?(ka.test(e.url)?"&":"?")+"_="+r:"")}if(e.data&&n==="GET")e.url+=(ka.test(e.url)?"&":"?")+e.data;e.global&&!c.active++&&c.event.trigger("ajaxStart");r=(r=xb.exec(e.url))&&(r[1]&&r[1]!==location.protocol||r[2]!==location.host);if(e.dataType==="script"&&n==="GET"&&r){var z=s.getElementsByTagName("head")[0]||s.documentElement,C=s.createElement("script");C.src=e.url;if(e.scriptCharset)C.charset=e.scriptCharset;if(!j){var B= +false;C.onload=C.onreadystatechange=function(){if(!B&&(!this.readyState||this.readyState==="loaded"||this.readyState==="complete")){B=true;b();d();C.onload=C.onreadystatechange=null;z&&C.parentNode&&z.removeChild(C)}}}z.insertBefore(C,z.firstChild);return w}var E=false,x=e.xhr();if(x){e.username?x.open(n,e.url,e.async,e.username,e.password):x.open(n,e.url,e.async);try{if(e.data||a&&a.contentType)x.setRequestHeader("Content-Type",e.contentType);if(e.ifModified){c.lastModified[e.url]&&x.setRequestHeader("If-Modified-Since", +c.lastModified[e.url]);c.etag[e.url]&&x.setRequestHeader("If-None-Match",c.etag[e.url])}r||x.setRequestHeader("X-Requested-With","XMLHttpRequest");x.setRequestHeader("Accept",e.dataType&&e.accepts[e.dataType]?e.accepts[e.dataType]+", */*":e.accepts._default)}catch(ga){}if(e.beforeSend&&e.beforeSend.call(k,x,e)===false){e.global&&!--c.active&&c.event.trigger("ajaxStop");x.abort();return false}e.global&&f("ajaxSend",[x,e]);var g=x.onreadystatechange=function(q){if(!x||x.readyState===0||q==="abort"){E|| +d();E=true;if(x)x.onreadystatechange=c.noop}else if(!E&&x&&(x.readyState===4||q==="timeout")){E=true;x.onreadystatechange=c.noop;i=q==="timeout"?"timeout":!c.httpSuccess(x)?"error":e.ifModified&&c.httpNotModified(x,e.url)?"notmodified":"success";var p;if(i==="success")try{o=c.httpData(x,e.dataType,e)}catch(v){i="parsererror";p=v}if(i==="success"||i==="notmodified")j||b();else c.handleError(e,x,i,p);d();q==="timeout"&&x.abort();if(e.async)x=null}};try{var h=x.abort;x.abort=function(){x&&h.call(x); +g("abort")}}catch(l){}e.async&&e.timeout>0&&setTimeout(function(){x&&!E&&g("timeout")},e.timeout);try{x.send(n==="POST"||n==="PUT"||n==="DELETE"?e.data:null)}catch(m){c.handleError(e,x,null,m);d()}e.async||g();return x}},handleError:function(a,b,d,f){if(a.error)a.error.call(a.context||a,b,d,f);if(a.global)(a.context?c(a.context):c.event).trigger("ajaxError",[b,a,f])},active:0,httpSuccess:function(a){try{return!a.status&&location.protocol==="file:"||a.status>=200&&a.status<300||a.status===304||a.status=== +1223||a.status===0}catch(b){}return false},httpNotModified:function(a,b){var d=a.getResponseHeader("Last-Modified"),f=a.getResponseHeader("Etag");if(d)c.lastModified[b]=d;if(f)c.etag[b]=f;return a.status===304||a.status===0},httpData:function(a,b,d){var f=a.getResponseHeader("content-type")||"",e=b==="xml"||!b&&f.indexOf("xml")>=0;a=e?a.responseXML:a.responseText;e&&a.documentElement.nodeName==="parsererror"&&c.error("parsererror");if(d&&d.dataFilter)a=d.dataFilter(a,b);if(typeof a==="string")if(b=== +"json"||!b&&f.indexOf("json")>=0)a=c.parseJSON(a);else if(b==="script"||!b&&f.indexOf("javascript")>=0)c.globalEval(a);return a},param:function(a,b){function d(i,o){if(c.isArray(o))c.each(o,function(k,n){b||/\[\]$/.test(i)?f(i,n):d(i+"["+(typeof n==="object"||c.isArray(n)?k:"")+"]",n)});else!b&&o!=null&&typeof o==="object"?c.each(o,function(k,n){d(i+"["+k+"]",n)}):f(i,o)}function f(i,o){o=c.isFunction(o)?o():o;e[e.length]=encodeURIComponent(i)+"="+encodeURIComponent(o)}var e=[];if(b===w)b=c.ajaxSettings.traditional; +if(c.isArray(a)||a.jquery)c.each(a,function(){f(this.name,this.value)});else for(var j in a)d(j,a[j]);return e.join("&").replace(yb,"+")}});var la={},Ab=/toggle|show|hide/,Bb=/^([+-]=)?([\d+-.]+)(.*)$/,W,va=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]];c.fn.extend({show:function(a,b){if(a||a===0)return this.animate(K("show",3),a,b);else{a=0;for(b=this.length;a").appendTo("body");f=e.css("display");if(f==="none")f="block";e.remove();la[d]=f}c.data(this[a],"olddisplay",f)}}a=0;for(b=this.length;a=0;f--)if(d[f].elem===this){b&&d[f](true);d.splice(f,1)}});b||this.dequeue();return this}});c.each({slideDown:K("show",1),slideUp:K("hide",1),slideToggle:K("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"}},function(a,b){c.fn[a]=function(d,f){return this.animate(b,d,f)}});c.extend({speed:function(a,b,d){var f=a&&typeof a==="object"?a:{complete:d||!d&&b||c.isFunction(a)&&a,duration:a,easing:d&&b||b&&!c.isFunction(b)&&b};f.duration=c.fx.off?0:typeof f.duration=== +"number"?f.duration:c.fx.speeds[f.duration]||c.fx.speeds._default;f.old=f.complete;f.complete=function(){f.queue!==false&&c(this).dequeue();c.isFunction(f.old)&&f.old.call(this)};return f},easing:{linear:function(a,b,d,f){return d+f*a},swing:function(a,b,d,f){return(-Math.cos(a*Math.PI)/2+0.5)*f+d}},timers:[],fx:function(a,b,d){this.options=b;this.elem=a;this.prop=d;if(!b.orig)b.orig={}}});c.fx.prototype={update:function(){this.options.step&&this.options.step.call(this.elem,this.now,this);(c.fx.step[this.prop]|| +c.fx.step._default)(this);if((this.prop==="height"||this.prop==="width")&&this.elem.style)this.elem.style.display="block"},cur:function(a){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null))return this.elem[this.prop];return(a=parseFloat(c.css(this.elem,this.prop,a)))&&a>-10000?a:parseFloat(c.curCSS(this.elem,this.prop))||0},custom:function(a,b,d){function f(j){return e.step(j)}this.startTime=J();this.start=a;this.end=b;this.unit=d||this.unit||"px";this.now=this.start; +this.pos=this.state=0;var e=this;f.elem=this.elem;if(f()&&c.timers.push(f)&&!W)W=setInterval(c.fx.tick,13)},show:function(){this.options.orig[this.prop]=c.style(this.elem,this.prop);this.options.show=true;this.custom(this.prop==="width"||this.prop==="height"?1:0,this.cur());c(this.elem).show()},hide:function(){this.options.orig[this.prop]=c.style(this.elem,this.prop);this.options.hide=true;this.custom(this.cur(),0)},step:function(a){var b=J(),d=true;if(a||b>=this.options.duration+this.startTime){this.now= +this.end;this.pos=this.state=1;this.update();this.options.curAnim[this.prop]=true;for(var f in this.options.curAnim)if(this.options.curAnim[f]!==true)d=false;if(d){if(this.options.display!=null){this.elem.style.overflow=this.options.overflow;a=c.data(this.elem,"olddisplay");this.elem.style.display=a?a:this.options.display;if(c.css(this.elem,"display")==="none")this.elem.style.display="block"}this.options.hide&&c(this.elem).hide();if(this.options.hide||this.options.show)for(var e in this.options.curAnim)c.style(this.elem, +e,this.options.orig[e]);this.options.complete.call(this.elem)}return false}else{e=b-this.startTime;this.state=e/this.options.duration;a=this.options.easing||(c.easing.swing?"swing":"linear");this.pos=c.easing[this.options.specialEasing&&this.options.specialEasing[this.prop]||a](this.state,e,0,1,this.options.duration);this.now=this.start+(this.end-this.start)*this.pos;this.update()}return true}};c.extend(c.fx,{tick:function(){for(var a=c.timers,b=0;b
"; +a.insertBefore(b,a.firstChild);d=b.firstChild;f=d.firstChild;e=d.nextSibling.firstChild.firstChild;this.doesNotAddBorder=f.offsetTop!==5;this.doesAddBorderForTableAndCells=e.offsetTop===5;f.style.position="fixed";f.style.top="20px";this.supportsFixedPosition=f.offsetTop===20||f.offsetTop===15;f.style.position=f.style.top="";d.style.overflow="hidden";d.style.position="relative";this.subtractsBorderForOverflowNotVisible=f.offsetTop===-5;this.doesNotIncludeMarginInBodyOffset=a.offsetTop!==j;a.removeChild(b); +c.offset.initialize=c.noop},bodyOffset:function(a){var b=a.offsetTop,d=a.offsetLeft;c.offset.initialize();if(c.offset.doesNotIncludeMarginInBodyOffset){b+=parseFloat(c.curCSS(a,"marginTop",true))||0;d+=parseFloat(c.curCSS(a,"marginLeft",true))||0}return{top:b,left:d}},setOffset:function(a,b,d){if(/static/.test(c.curCSS(a,"position")))a.style.position="relative";var f=c(a),e=f.offset(),j=parseInt(c.curCSS(a,"top",true),10)||0,i=parseInt(c.curCSS(a,"left",true),10)||0;if(c.isFunction(b))b=b.call(a, +d,e);d={top:b.top-e.top+j,left:b.left-e.left+i};"using"in b?b.using.call(a,d):f.css(d)}};c.fn.extend({position:function(){if(!this[0])return null;var a=this[0],b=this.offsetParent(),d=this.offset(),f=/^body|html$/i.test(b[0].nodeName)?{top:0,left:0}:b.offset();d.top-=parseFloat(c.curCSS(a,"marginTop",true))||0;d.left-=parseFloat(c.curCSS(a,"marginLeft",true))||0;f.top+=parseFloat(c.curCSS(b[0],"borderTopWidth",true))||0;f.left+=parseFloat(c.curCSS(b[0],"borderLeftWidth",true))||0;return{top:d.top- +f.top,left:d.left-f.left}},offsetParent:function(){return this.map(function(){for(var a=this.offsetParent||s.body;a&&!/^body|html$/i.test(a.nodeName)&&c.css(a,"position")==="static";)a=a.offsetParent;return a})}});c.each(["Left","Top"],function(a,b){var d="scroll"+b;c.fn[d]=function(f){var e=this[0],j;if(!e)return null;if(f!==w)return this.each(function(){if(j=wa(this))j.scrollTo(!a?f:c(j).scrollLeft(),a?f:c(j).scrollTop());else this[d]=f});else return(j=wa(e))?"pageXOffset"in j?j[a?"pageYOffset": +"pageXOffset"]:c.support.boxModel&&j.document.documentElement[d]||j.document.body[d]:e[d]}});c.each(["Height","Width"],function(a,b){var d=b.toLowerCase();c.fn["inner"+b]=function(){return this[0]?c.css(this[0],d,false,"padding"):null};c.fn["outer"+b]=function(f){return this[0]?c.css(this[0],d,false,f?"margin":"border"):null};c.fn[d]=function(f){var e=this[0];if(!e)return f==null?null:this;if(c.isFunction(f))return this.each(function(j){var i=c(this);i[d](f.call(this,j,i[d]()))});return"scrollTo"in +e&&e.document?e.document.compatMode==="CSS1Compat"&&e.document.documentElement["client"+b]||e.document.body["client"+b]:e.nodeType===9?Math.max(e.documentElement["client"+b],e.body["scroll"+b],e.documentElement["scroll"+b],e.body["offset"+b],e.documentElement["offset"+b]):f===w?c.css(e,d):this.css(d,typeof f==="string"?f:f+"px")}});A.jQuery=A.$=c})(window); diff --git a/_static/js/landing.js b/_static/js/landing.js new file mode 100644 index 00000000..0f704aa9 --- /dev/null +++ b/_static/js/landing.js @@ -0,0 +1,92 @@ +var phrases = [ + ["", "today: Started writing my memoirs. On the command line. Like a boss.", ""], + ["", "yesterday 2pm: used jrnl to keep track of accomplished tasks. The done.txt for my todo.txt", ""], + ["-from 2009 -until may", "", "(Displays all entries from January 2009 to last may)"], + ["", "A day on the beach with @beth and @frank. Taggidy-tag-tag.", ""], + ["--tags", "", "@idea 7
@beth 5"], + ["--export json", "", "(Exports your entire journal to json)"], + ["--encrypt", "", "(256 bit AES encryption. Crack this, NSA.)"] +] + +var args = document.getElementById("args"); +var input = document.getElementById("input"); +var output = document.getElementById("output"); +var right = document.getElementById("right"); +var left = document.getElementById("left"); +var current = 0 +var timer = null; + +var next = function() { + clearTimeout(timer); + reveal(++current % phrases.length); + setTimeout(next, 5000); +} +var prev = function() { + reveal(--current % phrases.length); +} + +var reveal = function(idx) { + var args_text = phrases[idx][0]; + var input_text = phrases[idx][1]; + var output_text = phrases[idx][2]; + var old_dix = idx == 0 ? phrases.length - 1 : idx - 1; + console.log(idx, old_dix, "++++++++++++") + var old_args_text = phrases[old_dix][0] + var old_input_text = phrases[old_dix][1] + var old_output_text =phrases[old_dix][2] + console.log(args_text, input_text, output_text) + console.log(old_args_text, old_input_text, old_output_text) + var s4 = function() {fadeIn(output_text, output);} + var s3 = function() {letter(input_text, input, s4);} + var s2 = function() {letter(args_text, args, s3);} + var s1 = function() {unletter(old_args_text, args, s2);} + var s0 = function() {unletter(old_input_text, input, s1);} + fadeOut(old_output_text, output, s0, 10); + // letter(input_text, input); + // output.innerHTML = output_text; +} +var fadeIn = function(text, element, next, step) { + step = step || 0 + var nx = function() { fadeIn(text, element, next, ++step); } + if (step==0) { + element.innerHTML = ""; + setTimeout(nx, 550); + return; + } + if (step==1) {element.innerHTML = text;} + if (step>10 || !text) { if (next) {next(); return;} else return;} + element.style.opacity = (step-1)/10; + element.style.filter = 'alpha(opacity=' + (step-1)*10 + ')'; + setTimeout(nx, 50); +} +var fadeOut = function(text, element, next, step) { + if (step===10) element.innerHTML = text; + if (step<0 || !text) { + element.innerHTML = ""; + if (next) {next(); return;} + else return; + } + element.style.opacity = step/10; + element.style.filter = 'alpha(opacity=' + step*10 + ')'; + var nx = function() { fadeOut(text, element, next, --step); } + setTimeout(nx, 50); +} + +var unletter = function(text, element, next, timeout, index) { + timeout = timeout||10; + if (index==null) index = text.length; + if (index==-1 || !text.length) { if (next) {next(); return;} else return;} + element.innerHTML = text.substring(0, index); + var nx = function() { unletter(text, element, next, timeout, --index); } + setTimeout(nx, timeout); +} + +var letter = function(text, element, next, timeout, index) { + timeout = timeout||35; + index = index||0; + if (index > text.length || !text.length) { if (next) {next(); return;} else return;} + element.innerHTML = text.substring(0, index); + var nx = function() { letter(text, element, next, timeout, ++index); } + setTimeout(nx, timeout); +} +setTimeout(next, 3000); diff --git a/_static/landing.svg b/_static/landing.svg new file mode 100644 index 00000000..cbdb9488 --- /dev/null +++ b/_static/landing.svg @@ -0,0 +1,3558 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + Collect your thoughts and noteswithout leaving the command line. + + + + + + + + + + + + + + + + + + + + + + + + + + Terminal + Terminal + + $ jrnl today: Started writing my Memoirs. On the command line. Like a boss. + + + + + + + + + + + + Collect your thoughts and noteswithout leaving the command line. + Secure.Ecnrypt your Journal with military-grade AES encryption so not even the NSA can read your dirty secrets. Human friendly. jrnl has a natural language interface so you don't have to remember cryptic shortcuts while writing down your thoghts. Future-proof.Your journals are stored as plain-text files and you will still be able to open them in 50 years when all your fancy iPad apps have gone the way of the Dodo. Accessible Anywhere.Ecnrypt your Journal with military-grade AES encryption so not even the NSA can read your dirty secrets. DayOne compatible.Your journals are stored as plain-text files and you will still be able to open them in 50 years when all . Free & Open SourceYour journals are stored as plain-text files and you will still be able to open them in 50 years when all . DayOne compatible.Your journals are stored as plain-text files and you will still be able to open them in 50 years when all . + + + + + + Download + + + Download + Documentation + Documentation + Fork me on Github + Fork me on Github + + jrnl is lovingly crafter by Manuel Ebert and other great people. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/_static/less/3L.less b/_static/less/3L.less new file mode 100644 index 00000000..583c51f7 --- /dev/null +++ b/_static/less/3L.less @@ -0,0 +1,1369 @@ +///* +// * 3L was made for YOU to help you create awesome websites +// * and fill the Internet with excessive amount of Love! ♥ +// * +// * Keep up your good work! +// * +// * Yours faithfully, +// * Mateusz Kocz -> http://radiatingstar.com +// * +// * 3L: -> http://mateuszkocz.github.com/3l +// * +// * Watch 3L on Github: -> https://github.com/mateuszkocz/3l +// * +// * Submit a bug issue: -> https://github.com/mateuszkocz/3l/issues?state=open +// * +// * +// * Licensed under the Apache License v2.0 +// * http://www.apache.org/licenses/LICENSE-2.0 +// * +// * Version: 1.4.0-beta (2012.12.06) +// * +// */ + +///* +// * To compile all of the code you need to use a compiler +// * that supports JavaScript code and guarder mixins. +// * WinLess meets those requirements. You can find it on winless.org +// * +// * If you're on a Mac and your compiler meets the requirements, +// * please, let me know via Twitter or GitHub! +// * +// */ + +///* ACTIVATE SUPPORTING CLASSES */ +///* Uncomment ones you want to use or put them in html or body elements in your style sheet. */ +///* For the explanation what those classes do, read further. */ + + //html { // If you want to use those classes, uncomment also the html element. + //.seo-helper; + //.box-sizing() // Put in the brackets box-model you want to use. + //} // CAUTION! If you're using any of those supporting classes, uncomment that bracket! + +///* +// * SEO & HTML Debugging +// * +// * A useful supporting class that will help a bit with your SEO +// * and usability of your website. +// * +// * Creating a website is a serious business, but sometimes you may +// * forget about some important details. This class will help you. +// * It will let you know when you haven't put an alt attribute on image +// * or kept that attribute empty, when you haven't typed a URL in anchor or when +// * anchor link has rel=nofollow attribute. It will also show you an alert +// * message if you don't have a tag and description or left them empty*. +// * +// * If any of the errors described above happens, according element will +// * get a red outline border drawing your attention and asking for some love +// * or you will get a message with the same purpose. +// * +// * *** * The <title> reminder can alert you even if you have a <title> tag. +// * *** This happens if you have a <link> tag (usually used for style sheets) +// * *** before <title> in your HTML. Just change the order of <link> and +// * *** <title> and you're cool. +// * +// * How to: +// * Place the .seo-helper class in html element. That's it! +// * +// * *** Example: html {.seo-helper} +// * +// * That way every element on your page will be affected +// * by this rule. You can also place it in any other container +// * class element in your code (body, div.wrapper, article and so on) +// * if you don't want for some reasons to check for bugs on whole page +// * but in a single area. +// * +// * Caution! Do not forget to delete this class before finishing your +// * project, unless you want to keep it in continuous project (like blog) +// * and debug every new content on your site. But then you might consider +// * restyling this class to be a bit more eye-pleasing. +// * +// * This may not work in every browser, but since you are a web +// * developer/designer you're probably already using a bleeding +// * edge nightly alpha back-door version of browser, so no problem! +// * It's probably the only class you don't need to care about how +// * your visitors will see it! +// * +// * *** Aside - How it works: +// * *** Section only for people who don't know yet what attribute +// * *** selectors and negation pseudo-class are. +// * *** +// * *** Using negation pseudo-class is like saying "target every element x +// * *** that doesn't have attribute y" or "target every element exept (but 'not') z". +// * *** You can read more about that here ->www.w3.org/TR/selectors/#negation. +// * *** +// * *** Attribute selectors are rules that target elements that have +// * *** some specified attributes (rel, alt, href etc.) and/or specified +// * *** value of this attributes. Read more on this topic here +// * *** ->www.w3.org/TR/selectors/#selectors. +// * +// * For a further explanation and a demo, refer to: +// * -> http://radiatingstar.com/how-to-improve-seo-with-css +// * +// * Why img:not([alt]), img[alt=""] and img[alt^=" "]? +// * First targets images that don't have an alt attribute, second targets +// * ones that have this attribute but it's left empty (probably left by +// * automatic completion of html editor), third is just in case - it +// * might have been left by html editor or manually "to do it later" (clearly +// * a space at the beginning of an alt can't be anything good). +// * +// * Why a[href=""]? +// * If you write an anchor text and leave href to copyPaste URL later, +// * it will reminding you about that. +// * +// * Why a[rel="nofollow"]? +// * For some reasons links on your site may have this attribute and this +// * may generate a huge SEO problem. Better fix it ASAP. (On the other hand +// * nofollow links might be useful in some situations. See here: +// * -> http://en.wikipedia.org/wiki/Nofollow#Control_internal_PageRank_flow) +// * +// * Why div:empty, span:empty, li:empty, p:empty, td:empty, th:empty? +// * It'll just check if you have some redundancy (empty elements) in you code. +// * +// */ + +.seo-helper () { + img:not([alt]), img[alt=""], img[alt^=" "], + a[href=""], a[href^=" "], a[href="#"], a[rel*="nofollow"], + div:empty, span:empty, li:empty, p:empty, td:empty, th:empty, + *[title=""], *[class=""], *[id=""] { + outline: 2px solid red !important; + outline-offset: 3px !important; + } + head, title:empty, link, meta {display: block;} + title:empty:before {content: "You've left the <title> empty!"} + link:before {content: "You don't have a <title>!"} + title ~ link {display: none;} + meta[name="description"][content=""]:before, meta[name="description"][content=" "]:before {content: "You've left description empty!";} + } + +///* +// * Helper classes from HTML5 Boilerplate +// * +// * Classes below help you create a better user experience for both users +// * of browsers and screen readers. Oh, and there's also a clearfix! +// * +// * All the classes comes from HTML5 Boilerplate (-> html5boilerplate.com). Here though, +// * they're changed so that they can be easily used in The LESS Way. +// * They're called "non-semantic" in H5B, but here they become semantic if used well. +// * (Actually they can't be used in any way than good in 3L.) +// * (Actually II they can be semantic in H5B as well, but it's a bit pain to do that.) +// * +// * Usage: +// * Just put them in your classes, id's or elements. +// * +// * Example: +// * .YOUR-AWESOME-CLASS-NAME { +// * // some rules +// * .clearfix; +// * } +// * +// */ + +// For image replacement. +.ir () {border: 0; overflow: hidden; background-color: transparent; *text-indent: -9999px; &:before {content: ""; display: block; width: 0; height: 100%;}} + +// Hide from both screenreaders and browsers: h5bp.com/u +.hidden () {display: none !important; visibility: hidden;} + +// Hide only visually, but have it available for screenreaders: h5bp.com/v +.visuallyhidden () {border: 0;clip: rect(0 0 0 0);height: 1px;margin: -1px;overflow: hidden;padding: 0;position: absolute;width: 1px;} + +// Extends the .visuallyhidden class to allow the element to be focusable when navigated to via the keyboard: h5bp.com/p +// CAUTION! The .visuallyhidden class is included! If you want your object be both +// .visuallyhidden and .focusabe use only .focusable class. +.focusable () {.visuallyhidden;&:active,&:focus{clip: auto; height: auto; margin: 0; overflow: visible; position: static; width: auto;}} + +// Hide visually and from screenreaders, but maintain layout. +.invisible () {visibility: hidden;} + +// Contain floats: h5bp.com/q +.clearfix () {*zoom:1;&:before,&:after{content:" ";display:table;}&:after{clear:both;}} + +///* +// * Some other helper classes. +// */ + +.incomplete() {outline: 3px dotted green} +.fixme() {outline: 3px dotted yellow} +.todo() {outline: 3px dotted blue} +.xxx() {outline: 3px dotted red} + +///* +// * Box-sizing +// * +// * Change the basic box-model to the one you want. +// * +// * Basic box-model defines the width and height of an object only as a size of +// * object's content area. In order to know exactly how big is the object you need +// * to add its padding and borders. This may result in many unwanted behaviours. +// * That's why you can define how you want the browser to calculate the width/height: +// * with or without padding, with or without borders. +// * +// * To use this feature just put a value you want: +// * -- content-box ("content" works too) - it's default value from basic model. +// * -- padding-box (also "padding") - width and height declarations will include paddings. +// * -- border-box (and "border") - border and padding included. +// * +// * Usage: +// * 1. .box-sizing(content-box), .box-sizing(content) and .content-box-sizing* for box-sizing: content-box. +// * 2. .box-sizing(padding-box), .box-sizing(padding) and .padding-box-sizing* for box-sizing: padding-box. +// * 3. .box-sizing(border-box), .box-sizing(padding) and .border.box-sizing* for box-sizing: border-box. +// * +// * * Beware not to use those properties without -sizing suffix thus suffixless classes are for background-clip (see this class below). +// * +// * Resources: +// * -- http://paulirish.com/2012/box-sizing-border-box-ftw/ +// * +// * Browsers support: IE8+ and every other. +// * Notable lack of support: IE7- +// * +// */ + +.content-box-sizing(){-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box;} +.padding-box-sizing(){-moz-box-sizing:padding-box;-webkit-box-sizing:padding-box;box-sizing:padding-box;} +.border-box-sizing(){-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box;} +.box-sizing (padding) {.padding-box-sizing;} +.box-sizing (padding-box){.padding-box-sizing;} +.box-sizing (border){.border-box-sizing;} +.box-sizing (border-box){.border-box-sizing;} +.box-sizing (content){.content-box-sizing;} +.box-sizing (content-box){.content-box-sizing;} + +///* +// * Background-clip +// * +// * Clips the object's background to the desired box according to the box-model. +// * +// * To use this class simply put into an object a .background-clip(box) class, +// * where box means the desired box (see below). You can also use a shorter class +// * .bg-clip or class that corresponds to the clipping you want to get (.content-clip, +// * .padding-clip, .border-clip). +// * +// * Arguments that comes into (box) are: +// * -- content-box or content for content clip, +// * -- padding-box or padding for padding clip, +// * -- border-box or border for border clip. +// * *** You can use values either with or without "-box" suffix. +// * +// * Browsers support: IE9+ and every other. +// * Notable lack of support: IE8- +// * +// */ + +.content-box(){-moz-background-clip:content;background-clip:content-box;} +.padding-box(){-moz-background-clip:padding;background-clip:padding-box;} +.border-box(){-moz-background-clip:border;background-clip:border-box;} +.background-clip (padding){.padding-box;} +.background-clip (padding-box){.padding-box;} +.background-clip (border){.border-box;} +.background-clip (border-box){.border-box;} +.background-clip (content){.content-box;} +.background-clip (content-box){.content-box;} +.bg-clip(@arguments){.background-clip(@arguments);} + +///* +// * Box-shadow +// * Create a shadow behind or inside the element. +// * +// * Usage: +// * In .box-shadow() brackets put arguments for every single shadow. Separate +// * each shadows' arguments with comma. You can put up to five shadows +// * by default but feel free to add a class with as many as you want. +// * Just check how it is done. +// * +// * You can use a default box-shadow which will create a shadow with +// * 0px x and 1px y offsets, 3px of blur and in black colour with 25% transparency. +// * Just place a .box-shadow class without any arguments. +// * +// * Box-shadow property takes following arguments: +// * +// * 1. inset [optional]. +// * 2. x-offset [required]. +// * 3. y-offset [required]. +// * 4. blur [optional]. +// * 5. spread [optional]. +// * 6. color [optional/required]. +// * +// * Resources: +// * -- developer.mozilla.org/en/CSS/box-shadow +// * +// * Browsers support: IE9, Fx3.5, Chrome, Opera, Safari, Opera Mobile, Android Browser +// * Notable lack of support: IE8-, Opera Mini +// * +// * Example: +// * Two box-shadows: one is 1px offset, black, second one is green with 30% opacity, inset, +// * with 5px offsets, 3px of blur and 1px spread. +// * .box-shadow(1px 1px black, inset 5px 5px 3px 1px fade(green,30%)) // fade(colour,XX%) is a LESS native function +// * // that adds alpha channel to colour. Instead of fade() +// * // you can also use rgba or hsla colours declaration. +// * Solution for multiple box-shadows in a single mixin taken from http://www.toekneestuck.com/blog/2012/05/15/less-css-arguments-variable/ +// */ + +.box-shadow(@shadow1, @shadow2:X, ...){ + @shadows: ~`"@{arguments}".replace(/[\[\]]|\,\sX/g, '')`; + -webkit-box-shadow: @shadows; + -moz-box-shadow: @shadows; + -o-box-shadow: @shadows; + box-shadow: @shadows; +} + +///* +// * Border-radius +// * Round the element's corners. +// * +// * Usage: +// * Border-radius property takes one to four arguments with px, em and % +// * values and round the element's corners accordingly. You can make +// * ellipticaly roundeded corners putting two sets of values separated with +// * comma using .elliptical-border-radius class. In order to round a single +// * corner use .round-corner class. This class takes two sets of arguments. +// * First one is a declaration of corner you want to round (top-left, top-right, +// * bottom-right, bottom-left), second one (separated from the first with comma), +// * is a set of values in px, em or % that round choosen corner. Second +// * declaration can have one (for circle rounding) or two values (for +// * elliptical rounding). +// * +// * For further explanation of the border-radius property, refer to the +// * resources section above. +// * +// * Resources: +// * -- developer.mozilla.org/en/CSS/border-radius +// * +// * Browsers support: IE9, Fx3.5, Chrome, Opera, Safari, Opera Mobile, Android Browser +// * Notable lack of support: IE8-, Opera Mini +// * +// * Example: +// * 1. Round every corner of the element with 10px radius. +// * .border-radius(10px) +// * 2. Round top-left and bottom-right corners by 10px, top-right +// * and bottom-left corners by 20px. +// * .border-radius(10px 20px) +// * 3 Exemplary use of the .elliptical-border-radius class. +// * .elliptical-border-radius(10px 20px 30px, 40px 50px 60px 70px) +// * 4. Round top-right corner by 10px and 20px (elliptical). +// * .round-corner(top-right, 10px 20px) +// * .border-top-right-radius(10px 20px) // Alternate method. +// * 5. Round similar corners. +// * .border-top-radius(20px 10px); // top-left + top-right (elliptical) +// * .border-left-radius(5px); // top-left + bottom-left +// * +// */ + +// If your rounded corners looks bad with borders add this class to your rounded element. +// -> http://tumble.sneak.co.nz/post/928998513/fixing-the-background-bleed +.border-radius-fix(){.background-clip(padding-box);} + +.border-radius (@radius:5px, ...) { + -webkit-border-radius: @arguments; + -moz-border-radius: @arguments; + border-radius: @arguments; +} +// Alternate name for .border-radius. +.round-corners (@radius:5px, ...) {.border-radius(@arguments);} + +.elliptical-border-radius (@radius1, @radius2) { + -webkit-border-radius: @radius1 ~"/" @radius2; + -moz-border-radius: @radius1 ~"/" @radius2; + border-radius: @radius1 ~"/" @radius2; +} +.round-corner (top-left, @radius...){ + -webkit-border-top-left-radius: @radius; + -moz-border-top-left-radius: @radius; + border-top-left-radius: @radius; +} +.round-corner (top-right, @radius...){ + -webkit-border-top-right-radius: @radius; + -moz-border-top-right-radius: @radius; + border-top-right-radius: @radius; +} +.round-corner (bottom-right, @radius...) { + -webkit-border-bottom-right-radius: @radius; + -moz-border-bottom-right-radius: @radius; + border-bottom-right-radius: @radius; +} +.round-corner (bottom-left, @radius...) { + -webkit-border-bottom-left-radius: @radius; + -moz-border-bottom-left-radius: @radius; + border-bottom-left-radius: @radius; +} +// Another methods to use corner radius. +.border-top-left-radius (...) {.round-corner(top-left,@arguments);} +.border-top-right-radius (...) {.round-corner(top-right,@arguments);} +.border-bottom-right-radius (...) {.round-corner(bottom-right,@arguments);} +.border-bottom-left-radius (...) {.round-corner(bottom-left,@arguments);} + +// Round similar corners. +.border-top-radius (...) {.round-corner(top-left,@arguments);.round-corner(top-right,@arguments);} +.border-bottom-radius (...) {.round-corner(bottom-left,@arguments);.round-corner(bottom-right,@arguments);} +.border-left-radius (...) {.round-corner(top-left,@arguments);.round-corner(bottom-left,@arguments);} +.border-right-radius (...) {.round-corner(top-right,@arguments);.round-corner(bottom-right,@arguments);} + +// Another classes for the same purpose as above. +.round-top-corners (...) {.border-top-radius(@arguments);} +.round-bottom-corners (...) {.border-bottom-radius(@arguments);} +.round-left-corners (...) {.border-left-radius(@arguments);} +.round-right-corners (...) {.border-right-radius(@arguments);} + +///* +// * Opacity +// * Make an object transparent. +// * +// * Opacity takes values between 0.0 (invisible) to 1.0 (default - full +// * visibility) but 3L lets you also use percentages and values from >1 to 100. +// * +// * If you want an element with transparency 1, .5 or 0, use these classes: +// * .not-transparent., .half-transparent, .transparent. +// * +// * Browsers support: full (IE6+) +// * Caution! According to -> caniuse.com/#search=opacity, transparency doesn't +// * work well with PNG images that are itself transparent (use alpha channel) in IE8-. +// * +// * Aside: +// * Do we need the ability to set opacity in numbers from 1 to 100 +// * and in percentages? I think we do, because: +// * 1. You need to use integer numbers in filter property for IE, +// * so there is a possibility that someone will type this kind +// * of value, instead of [0,1]. +// * 2. LESS has a fade() function that uses percentages to makes +// * colours (semi)transparent, so using percentages here will +// * result in more consistent code (same unit in similar situation). +// * 3. Percentages are more intuitive when it comes to transparency and +// * opacity since graphic editors like Photoshop and GIMP use them. +// * +// */ + +.transparent() {.opacity(0);} +.non-transparent() {.opacity(1);} +.half-transparent () {.opacity(.5);} +.opacity () {.non-transparent();} +.opacity (@value) when (isnumber(@value)) and (@value =< 1){ + opacity: @value; + filter: ~"alpha(opacity="@value*100~")"; + } +.opacity (@value) when (isnumber(@value)) and (@value > 1) and not (ispercentage(@value)){ + // INFO: for the explanation of rule "and not (ispercentage(@value))" refer to the class below. + opacity: @value/100; + filter: ~"alpha(opacity="@value~")"; + } +.opacity (@value) when (ispercentage(@value)) { + // Change the @value from percentage to integer (XX% => XX) + @integerValue: `parseInt('@{value}')`; + // Actually the @value should be a number now... but it isn't. + // LESS think of it as a string so we can't do math here. + // We'll use a feature of LESS that automatically makes + // a second value's unit in a sum to be the same as the first one. + // In our case we need a number so we can divide it by 100. + opacity: (0 + @integerValue) /100; + // We don't need a math in filter so no trick. + filter: ~"alpha(opacity="@integerValue~")"; + + // BUG: WinLESS compile this with doubled properties unless the rule + // "and not (ispercentage(@value))" is added in the class above. + // In Firebug (through the LESS native compiler) those properties + // aren't doubled, though. + } + +///* +// * Gradient +// * Create a beautiful gradient without images. +// * +// * Pick a type of a gradient you want to have and put colours in +// * brackets. You can put either two or three colours. In the first case +// * the default colour for old browsers will be the same as the first colour provided. +// * In the second case you can set that colour as a third argument. +// * +// * The default class - .gradient - is the same as .vertical-gradient. +// * +// * You can choose from four types of gradients: +// * 1. Vertical - colour will change from top to bottom. +// * 2. Horizontal - change is from left to right. +// * 3. Diagonal - from top-left to bottom-right. +// * 4. Radial - from the centre of an element to its borders. +// * +// * Gradients tend to be tricky. There's no support for this property +// * in older IE, but "filter" comes to the rescue. It can generate +// * only horizontal and vertical gradients, though. Also IE9 has some +// * strange behaviour -> css3wizardry.com/2010/10/29/css-gradients-for-ie9/. +// * To provide the best experience for your visitors you should use +// * gradient generator (refer to resources above) with "IE9 Support" option checked. +// * +// * Resources: +// * -- gradient generator with broad browsers support and some advanced options: +// * -> www.colorzilla.com/gradient-editor/ +// * -- gradient is a powerful tool - you can generate shapes as a background! +// * -> lea.verou.me/css3patterns/ +// * +// * Browsers support: almost full +// * Notable lack of support: Opera mini +// * Caution! IE6 - IE8 use filter property that can generate only vertical and +// * horizontal gradients. For the best experience in IE9 use gradient generator +// * mentioned above in the resources. +// * +// * TODO: manual for .gradient(). Mention it's still compatible with previous versions of 3L since +// * you need to provide at least 4 values to use it. Anything less will use the old .gradient(). +// * You can provide as much stop colors as you want. +// */ + +// Multi-purpose gradient is in a BETA stage! Uncomment for your own responsibility. +///* +// * FIXME: you don't need to provide the @direction value since default is "to bottom". How to make it works? +// * FIXME: simple radial-gradient should work, but what if you provide some more advanced values? +// * FIXME: does it work with "to top left" and similar or angles? +// */ +// .gradient(@gradientType, @direction, @rest...) { + // @valuesProcessed: ~`"@{rest}".replace(/[\[\]]/g, '')`; + // @directionProcessedOld: ~`"@{direction}".replace(/[\[\]]|\,/g,'').replace("to ","").replace("top","bottom").replace("bottom","top").replace("right","left").replace("left","right").replace("at ","").replace("cover", "farthest-corner")`; + // @directionProcessedNew: ~`"@{direction}".replace(/[\[\]]|\,/g,'')`; +// + // @webkit1: `"-webkit-" + "@{gradientType}" + "-gradient(" + "@{directionProcessedOld}," + "@{valuesProcessed}" + ")"`; + // @webkit2: ~`'@{webkit1}'.replace(/\"/g, '')`; + // background-image: @webkit2; +// + // @moz1: `"-moz-" + "@{gradientType}" + "-gradient(" + "@{directionProcessedOld}," + "@{valuesProcessed}" + ")"`; + // @moz2: ~`'@{moz1}'.replace(/\"/g, '')`; + // background-image: @moz2; +// + // @o1: `"-o-" + "@{gradientType}" + "-gradient(" + "@{directionProcessedOld}," + "@{valuesProcessed}" + ")"`; + // @o2: ~`'@{o1}'.replace(/\"/g, '')`; + // background-image: @o2; +// + // @w3c1: `"@{gradientType}" + "-gradient(" + "@{directionProcessedNew}," + "@{valuesProcessed}" + ")"`; + // @w3c2: ~`'@{w3c1}'.replace(/\"/g, '')`; + // background-image: @w3c2; +// } + +.gradient (@color1, @color2){ + background: @color1; + background-image: -moz-linear-gradient(top, @color1 0%, @color2 100%); + background-image: -webkit-linear-gradient(top, @color1 0%,@color2 100%); + background-image: -o-linear-gradient(top, @color1 0%,@color2 100%); + background-image: linear-gradient(to bottom, @color1 0%,@color2 100%); + filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='@{color1}', endColorstr='@{color2}',GradientType=0 ); +} + + +.gradient (@color1, @color2, @color3){ + background: @color3; + background-image: -moz-linear-gradient(top, @color1 0%, @color2 100%); + background-image: -webkit-linear-gradient(top, @color1 0%,@color2 100%); + background-image: -o-linear-gradient(top, @color1 0%,@color2 100%); + background-image: linear-gradient(to bottom, @color1 0%,@color2 100%); + filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='@{color1}', endColorstr='@{color2}',GradientType=0 ); +} +// .vertical-gradient = .gradient +.vertical-gradient (@color1,@color2) {.gradient(@color1,@color2)} +.vertical-gradient (@color1,@color2,@color3) {.gradient(@color1,@color2,@color3)} +.horizontal-gradient (@color1, @color2) { + background: @color1; + background-image: -moz-linear-gradient(left, @color1 0%, @color2 100%); + background-image: -webkit-linear-gradient(left, @color1 0%,@color2 100%); + background-image: -o-linear-gradient(left, @color1 0%,@color2 100%); + background-image: linear-gradient(to right, @color1 0%,@color2 100%); + filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='@{color1}', endColorstr='@{color2}',GradientType=1 ); +} +.horizontal-gradient (@color1, @color2, @color3) { + background: @color3; + background-image: -moz-linear-gradient(left, @color1 0%, @color2 100%); + background-image: -webkit-linear-gradient(left, @color1 0%,@color2 100%); + background-image: -o-linear-gradient(left, @color1 0%,@color2 100%); + background-image: linear-gradient(to right, @color1 0%,@color2 100%); + filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='@{color1}', endColorstr='@{color2}',GradientType=1 ); +} +.diagonal-gradient (@color1, @color2) { + background: @color1; + background-image: -moz-linear-gradient(-45deg, @color1 0%, @color2 100%); + background-image: -webkit-linear-gradient(-45deg, @color1 0%,@color2 100%); + background-image: -o-linear-gradient(-45deg, @color1 0%,@color2 100%); + background-image: linear-gradient(135deg, @color1 0%,@color2 100%); + filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='@{color1}', endColorstr='@{color2}',GradientType=1 ); + } +.diagonal-gradient (@color1, @color2,@color3) { + background: @color3; + background-image: -moz-linear-gradient(-45deg, @color1 0%, @color2 100%); + background-image: -webkit-linear-gradient(-45deg, @color1 0%,@color2 100%); + background-image: -o-linear-gradient(-45deg, @color1 0%,@color2 100%); + background-image: linear-gradient(135deg, @color1 0%,@color2 100%); + filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='@{color1}', endColorstr='@{color2}',GradientType=1 ); + } +.radial-gradient (@color1, @color2) { + background: @color1; + background-image: -moz-radial-gradient(center, @color1 0%, @color2 100%); + background-image: -webkit-radial-gradient(center, @color1 0%,@color2 100%); + background-image: -o-radial-gradient(center, @color1 0%,@color2 100%); + background-image: radial-gradient(at center, @color1 0%,@color2 100%); + filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='@{color1}', endColorstr='@{color2}',GradientType=1 ); + } +.radial-gradient (@color1, @color2,@color3) { + background: @color3; + background-image: -moz-radial-gradient(center, @color1 0%, @color2 100%); + background-image: -webkit-radial-gradient(center, @color1 0%,@color2 100%); + background-image: -o-radial-gradient(center, @color1 0%,@color2 100%); + background-image: radial-gradient(at center, @color1 0%,@color2 100%); + filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='@{color1}', endColorstr='@{color2}',GradientType=1 ); + } + +///* +// * Background-size +// * Scale (or not) your background image. +// * +// * This property takes following values: +// * -- auto [default] - it does nothing when used alone; when used with a value +// * it makes sure that image will keep its aspect ratio while being stretched +// * to the required size. (See: examples 3. and 4.) +// * -- contain - scale image to the first border it meets; +// * it may leave some area uncovered but keeps image's aspect ratio, +// * -- cover - scale image to the second border it meets; +// * cover all area but part of an image may not be shown. The image keeps its aspect ratio. +// * -- px, em, % - scale image according to declared value; +// * you can declare one value (x-size) or two values for each size. +// * Using (100%, 100%) stretch the image to cover full area but may not +// * keep its aspect ratio. When you use percentages keep in mind that XX% +// * means XX% of the element size, not XX% of the background image. +// * +// * Consider adding background-repeat property to avoid unwanted repetition of background. +// * +// * Browsers support: IE9+, Fx3.6+, Chrome, Safari, Opera, Opera Mini, Opera Mobile, Android Browser +// * Notable lack of support: IE8- +// * +// * Examples: +// * 1. .background-size(contain); +// * 2. .background-size(cover); +// * 3. .background-size(70%); // = (70% auto). Image is scaled to take 70% of width +// * // of the element and it keeps its own aspect ratio. +// * 4. .background-size(auto, 70%) // Image is scaled to take 70% of element's +// * // height and keeps aspect ratio. +// * 5. background-size(70px 7em); // Size of the background image is now 70px (width) x 7em (height). +// * 6. background-size(70px,7em); // Same as above. Comma is fine too. +// * +// */ + +.background-size (...) { + -moz-background-size: @arguments; + background-size: @arguments; + } +// A shorthand class. +.bg-size (...) {.background-size(@arguments)} + +///* +// * Columns layout +// * +// * Divide a block of text into columns as seen in newspapers. +// * +// * Basic usage: +// * Use .columns() class providing in brackets arguments for columns. +// * Non of those arguments are required, but unless you provide one, columns +// * layout won't work. Available arguments: +// * -- integer - declare a column-count. Unless declared, their width will +// * equal to division of the block's width minus column-gaps and declared integer. +// * Default value is "auto" which means that width of columns will be determined +// * by column-width value. +// * -- width - declare every column width in px, em and % (of containing block). +// * Default value is "auto" - column width will be equal to division of the +// * block's width and declared column-count +// * +// * Usage of supporting classes: +// * You can declare the gaps between columns by .column-gap() class that takes +// * width type argument. Default value is "normal" and equals to 1em. +// * +// * Declare a vertical rule between columns using .column-rule(). It's the same +// * type of declaration as in borders, that is width, style and colour. By default +// * there is no rule. +// * +// * Browsers support: IE10+, Fx, Chrome, Safari, Opera, Opera Mobile, Android Browser +// * Notable lack of support: IE9-, Opera Mini +// * +// * Example: +// * 1. .column(2, 20px) // Two columns with 20px width. +// * 2. .column(5) // Five columns layout. +// * 3. element { +// * .column(100px); // A 100px width columns +// * .column-gap(10px); // with 10px gap between +// * .column-rule(1px solid black); // and 1px thick, solid, black vertical rule. +// * } +// * +// */ + +.columns (...) { + -webkit-columns: @arguments; + -moz-columns: @arguments; + columns: @arguments; + } +.column-gap (@gap) { + -webkit-column-gap: @gap; + -moz-column-gap: @gap; + column-gap: @gap; + } +.columns-gap (@gap) {.column-gap(@gap);} +.column-rule (...) { + -webkit-column-rule: @arguments; + -moz-column-rule: @arguments; + column-rule: @arguments; + } +.columns-rule (...) {.column-rule(@arguments);} +.column-fill (@fill) { + -webkit-column-fill: @fill; + -moz-column-fill: @fill; + column-fill: @fill; +} +.columns-fill (@fill) {.column-fill(@fill);} + +///* +// * Transform +// * 2D and 3D transformation of an object. +// * +// * You can use classes dedicated to specifics transformation, but if you plan +// * to use multiple transformation on an object, use general classes .transform +// * or .transform3d instead. Otherwise the latter transform will override the former. +// * If you want to use some of the 3D transformations, use .transform3d class. It +// * has a 3D specific property transform-style included. You can put both 3D and 2D +// * transformations in .transform3D. +// * +// * Transforms don't affect an object's place in a document and its environment +// * so there's no risk of crashing a layout. +// * +// * Transformations characteristics: +// * -- Rotate takes one argument and rotate object clockwise by specified angle (in deg). +// * -- Scale takes one or two arguments (x,y). If y is not specified it is assumed that x = y. +// * Arguments in interval (0,1) shrink the object. Arguments >1 makes it bigger. +// * -- Skew takes one or two arguments (x,y). If y is not specified it is assumed that y = 0 (no y-skew). +// * Arguments must be in deg. +// * -- Translate takes one or two arguments (w,y). If y is not specified it is assumed y = 0 (no y-translate). +// * Arguments are in px or em. Translate moves the object by specified value. +// * +// * Sometimes you might want to control the point that is the relative base of transformations. +// * For that reason use .transform-origin class. That class takes one or two values. +// * First value defines horizontal position of that point, second refers to vertical position. +// * In case you provide only the first value, the second is set to 50%. Default value is (50% 50%). +// * You can use three types of values: +// * -- pixels that place origin point in position according to the top-left corner of an element +// * to its bottom-right corner. Negative values allowed - in that case position goes to the left +// * and top from the top-left corner, +// * -- percentages that are relative to object's width and height. As in px, the original position +// * is top-left corner (0% 0%), and goes to bottom-right (100% 100%). Negative values does the +// * same as in px. +// * -- keywords: left / center / right for x-axis and top / center / bottom for y-axis. +// * +// * For 3D transformations you can set a perspective using .perspective() class and putting +// * value in brackets . +// * +// * Browsers support: IE9+, Fx3,5+, Chrome, Safari, Opera, Opera Mobile, Android Browser +// * Notable lack of support: IE8-*, Opera Mini +// * * You can use some of the transformation in older IE through filter property. +// * To generate that property refer to -> css3please.com. +// * You can also emulate scale property with zoom property. +// * +// * Examples: +// * 1. .scale(2,.5) // Stretch an object two times and shrink in height by half. +// * 2. .rotate(180deg) // Rotate an object by 180deg. +// * 3. .transform(.scale(2,.5),rotate(180deg)) // Does the combined transformation from examples above. +// * 4. .transform-origin(20% top) // Place the transformation origin at the top, 20% of the object's +// * // width to the right from the top-left corner. +// */ + +.transform-origin (...) { + -webkit-transform-origin: @arguments; + -moz-transform-origin: @arguments; + -ms-transform-origin: @arguments; + -o-transform-origin: @arguments; + transform-origin: @arguments; + } +.perspective (...) { + -webkit-perspective: @arguments; + -moz-perspective: @arguments; + -o-perspective: @arguments; + perspective: @arguments; + } +.backface-visibility(@visibility){ + -webkit-backface-visibility: @visibility; + backface-visibility: @visibility; +} +.transform (...) { + -webkit-transform: @arguments; + -moz-transform: @arguments; + -ms-transform: @arguments; + -o-transform: @arguments; + transform: @arguments; + } +.transform3d (...) { + -webkit-transform: @arguments; + -webkit-transform-style: preserve-3d; + -moz-transform: @arguments; + -moz-transform-style: preserve-3d; + -o-transform: @arguments; + -o-transform-style: preserve-3d; + transform: @arguments; + transform-style: preserve-3d; +} +.rotate (@rotate) { + -webkit-transform: rotate(@rotate); + -moz-transform: rotate(@rotate); + -ms-transform: rotate(@rotate); + -o-transform: rotate(@rotate); + transform: rotate(@rotate); + } +.rotate3d (@deg1, @deg2:0, @deg3:0){ + -webkit-transform: rotateX(@deg1) rotateY(@deg2) rotateZ(@deg3); + -webkit-transform-style: preserve-3d; + -moz-transform: rotateX(@deg1) rotateY(@deg2) rotateZ(@deg3); + -moz-transform-style: preserve-3d; + -o-transform: rotateX(@deg1) rotateY(@deg2) rotateZ(@deg3); + -o-transform-style: preserve-3d; + transform: rotateX(@deg1) rotateY(@deg2) rotateZ(@deg3); + transform-style: preserve-3d; + } +.scale (@scale) { + -webkit-transform: scale(@scale); + -moz-transform: scale(@scale); + -ms-transform: scale(@scale); + -o-transform: scale(@scale); + transform: scale(@scale); + } +.scale (@scale1,@scale2) { + -webkit-transform: scale(@scale1,@scale2); + -moz-transform: scale(@scale1,@scale2); + -ms-transform: scale(@scale1,@scale2); + -o-transform: scale(@scale1,@scale2); + transform: scale(@scale1,@scale2); + } +.scaleX (@scale) { + -webkit-transform: scaleX(@scale); + -moz-transform: scaleX(@scale); + -ms-transform: scaleX(@scale); + -o-transform: scaleX(@scale); + transform: scaleX(@scale); + } +.scaleY (@scale) { + -webkit-transform: scaleY(@scale); + -moz-transform: scaleY(@scale); + -ms-transform: scaleY(@scale); + -o-transform: scaleY(@scale); + transform: scaleY(@scale); + } +.skew (@skew) { + .skewX(@skew); + } +.skew (@skew1, @skew2) { + -webkit-transform: skewX(@skew1) skewY(@skew2); + -moz-transform: skewX(@skew1) skewY(@skew2); + -ms-transform: skewX(@skew1) skewY(@skew2); + -o-transform: skewX(@skew1) skewY(@skew2); + transform: skewX(@skew1) skewY(@skew2); + } +.skewX (@skew) { + -webkit-transform: skewX(@skew); + -moz-transform: skewX(@skew); + -ms-transform: skewX(@skew); + -o-transform: skewX(@skew); + transform: skewX(@skew); + } +.skewY (@skew) { + -webkit-transform: skewY(@skew); + -moz-transform: skewY(@skew); + -ms-transform: skewY(@skew); + -o-transform: skewY(@skew); + transform: skewY(@skew); + } +.translate (@translate) { + -webkit-transform: translate(@translate); + -moz-transform: translate(@translate); + -ms-transform: translate(@translate); + -o-transform: translate(@translate); + transform: translate(@translate); + } +.translate (@translate1, @translate2) { + -webkit-transform: translate(@translate1, @translate2); + -moz-transform: translate(@translate1, @translate2); + -ms-transform: translate(@translate1, @translate2); + -o-transform: translate(@translate1, @translate2); + transform: translate(@translate1, @translate2); + } +.translateX (@translate) { + -webkit-transform: translateX(@translate); + -moz-transform: translateX(@translate); + -ms-transform: translateX(@translate); + -o-transform: translateX(@translate); + transform: translateX(@translate); + } +.translateY (@translate) { + -webkit-transform: translateY(@translate); + -moz-transform: translateY(@translate); + -ms-transform: translateY(@translate); + -o-transform: translateY(@translate); + transform: translateY(@translate); + } + +///* +// * Transition +// * Animate a change between different object states. +// * +// * You can use this class to animate change of up to 5 different properties. +// * If you need more that that (wow!) it's easy to add more of these classes. +// * +// * Transition takes 4 values: +// * -- transition-property - choose a property you want to animate (margin, colour etc.). +// * Default value is "all" which will animate every change that might happen. It's a good +// * idea to explicitly write this value if you want to animate everything, though. We can't +// * be sure if in the future default state won't change to "none", which will break the whole transition. +// * -- transition-duration - specifies how long transition animation will have to take +// * until animation is finished. Put values in s (seconds) or ms (milliseconds). +// * Required value, since default state is 0s (no animation occurs). +// * -- transition-timing-function - this value describe an acceleration function. It can +// * really affect overall experience, so it's good idea to pay attention to that. +// * Timing function takes 4 number values of keywords: linear, ease, ease-in, +// * ease-in-out, ease-out. For further explanation refer to ->developer.mozilla.org/en/CSS/timing-function +// * Default value is "ease". +// * -- transition-delay - in seconds or millisecond describes how long transition will wait +// * until it occurs after a triggering requirement was met. Default value is 0 - instant animation. +// * +// * In case you want to put a transformation property into transition effect, use +// * the .transition-transform class. This class is prepared to automatically add +// * many browsers prefixes required in that case. It is also a bit future friendly, +// * but all at all using transitions on transform is very risky. +// * -> http://radiatingstar.com/transition-with-transform-cant-be-future-proof +// * +// * Usage: +// * For .transition class, put in brackets at least a time value. If you want to animate more than one +// * property or animate everything with different functions, put up to 5 declarations separated with +// * commas. If one of the property you want to animate is "transform" _and_ you want to animate every +// * other properties (or at least not with the same functions), use .transition-transform. As a first +// * value put a time duration for transform property. Do not write this property though. It's auto-added +// * for the first set of values. Add other properties after commas. Refer to the example 3. +// * +// * Browsers support: IE10+, Fx4+, Chrome, Opera, Safari, Opera Mobile, Android Browser +// * Notable lack of support: IE9-, Fx3.6-, Opera Mini +// * *** Transition provides only a visual effects between states. It's perfectly +// * *** safe to use. Users with older browser just won't see a phase of changing. +// * +// * Examples: +// * 1. .transition (all 1s); // Animate all properties for 1 second. +// * 2. .transition (background-color 5s, margin 1s linear 5s) // Animate change of background-color for 5s +// * // and after 5s animate margin change for 1s. +// * 3. .transition-transform (2s linear, padding 3s) // Animate change of transform property (no "transform" declared!) +// * // and padding property. +// * +// * Solution for multiple transitions in a single mixin taken from http://www.toekneestuck.com/blog/2012/05/15/less-css-arguments-variable/ +// */ + +.transition(@transition1, @transition2:X, ...){ + @transitions: ~`"@{arguments}".replace(/[\[\]]|\,\sX/g, '')`; + -webkit-transition: @transitions; + -moz-transition: @transitions; + -o-transition: @transitions; + transition: @transitions; +} +.transition-transform (@transformArguments1, @transformArguments2:X, ...) { + @transformArguments: ~`"@{arguments}".replace(/[\[\]]|\,\sX/g, '')`; + -webkit-transition: -webkit-transform @transformArguments; + -moz-transition: -moz-transform @transformArguments; + -o-transition: -o-transform @transformArguments; + transition: transform @transformArguments; +} +// FIXME: The specyfic properties also require the unlimited arguments feature. +.transition-property(...) { + -webkit-transition-property: @arguments; + -moz-transition-property: @arguments; + -o-transition-property: @arguments; + transition-property: @arguments; +} +.transition-duration(...) { + -webkit-transition-duration: @arguments; + -moz-transition-duration: @arguments; + -o-transition-duration: @arguments; + transition-duration: @arguments; +} +.transition-timing-function(...) { + -webkit-transition-timing-function: @arguments; + -moz-transition-timing-function: @arguments; + -o-transition-timing-function: @arguments; + transition-timing-function: @arguments; +} +.transition-delay(...) { + -webkit-transition-delay: @arguments; + -moz-transition-delay: @arguments; + -o-transition-delay: @arguments; + transition-delay: @arguments; +} + +///* +// * Animations +// * +// * Create an awesome animation! +// * +// * This class takes from two to five properties: +// * -- animation-name [required] - declare your @keyframes animation name. See below +// * for an easy way to make @keyframes! +// * -- animation-duration [required] - declare how long will it take for an animation +// * to reach end. Value in seconds (s) or milliseconds (ms). +// * -- timing-function - it's the same property as in transition. Refer to +// * that topic for further explanation. +// * -- iteration-count - how many times an animation will repeat. It takes integer +// * or "infinite" keyword (for infinite repetition). Default value is 1. +// * -- direction - indicates whether the animation should play in reverse on +// * alternate cycles. Refer to ->developer.mozilla.org/en/CSS/animation-direction +// * for better explanation. To declare a direction use normal [default value], +// * alternate, reverse or alternate-reverse keyword. +// * +// * Resources: +// * -- developer.mozilla.org/en/CSS/animation +// * +// * Creating @keyframes: +// * Write in your .less file: +// * *** @import 'animationX.less'; +// * where X stands for a number between 1 and 5. Then create a class +// * *** .animationX () {} +// * and in {} write declarations you normally write in @keyframes. +// * Then just put an .animation(animationX [other animation properties]) class in your element. +// * That's all! +// * +// * Example: +// * .toBeAnimated { +// * // Animation with every possible value declared. // +// * .animation(animation1 5s linear 3s infinite alternate); +// * } +// * // Importing prefixed @keyframes for animation1. +// * @import '3L/assets/animations/animation1'; +// * +// * // Declaring @keyframes for animation. Only once! +// * .animation1() { +// * from {margin-top: 3px;} +// * to {margin-top: 333px;} +// * } +// * +// */ + +.animation (...) { + -webkit-animation: @arguments; + -moz-animation: @arguments; + -o-animation: @arguments; + animation: @arguments; + } +.animate (...) {.animation(@arguments);} +.anime (...) {.animation(@arguments);} +// FIXME: The specyfic properties also require the unlimited arguments feature. +.animation-name(...) { + -webkit-animation-name: @arguments; + -moz-animation-name: @arguments; + -o-animation-name: @arguments; + animation-name: @arguments; +} +.animation-duration(...) { + -webkit-animation-duration: @arguments; + -moz-animation-duration: @arguments; + -o-animation-duration: @arguments; + animation-duration: @arguments; +} +.animation-timing-function(...) { + -webkit-animation-timing-function: @arguments; + -moz-animation-timing-function: @arguments; + -o-animation-timing-function: @arguments; + animation-timing-function: @arguments; +} +.animation-delay(...) { + -webkit-animation-delay: @arguments; + -moz-animation-delay: @arguments; + -o-animation-delay: @arguments; + animation-delay: @arguments; +} +.animation-iteration-count(...) { + -webkit-animation-iteration-count: @arguments; + -moz-animation-iteration-count: @arguments; + -o-animation-iteration-count: @arguments; + animation-iteration-count: @arguments; +} +.animation-direction(...) { + -webkit-animation-direction: @arguments; + -moz-animation-direction: @arguments; + -o-animation-direction: @arguments; + animation-direction: @arguments; +} +.animation-fill-mode(...) { + -webkit-animation-fill-mode: @arguments; + -moz-animation-fill-mode: @arguments; + -o-animation-fill-mode: @arguments; + animation-fill-mode: @arguments; +} + +///* +// * User-select +// * controls the selection model and granularity of an element. +// * +// * This property takes following values: +// * -- none - none of the element's content can be selected. +// * -- text [default] - the element's contents follow a standard text content selection model. +// * -- toggle - the element's contents follow a standard toggling content model. +// * -- element - one element at a time may be selected. +// * -- elements - one or more elements at a time may be selected. +// * -- all - Only the entire contents as a whole can be selected. +// * +// * Browsers support: IE10+, Fx0.6+, Chrome, Safari +// * Notable lack of support: IE9-, Opera +// * +// */ + +.user-select (...) { +-webkit-touch-callout: @arguments; +-webkit-user-select: @arguments; +-khtml-user-select: @arguments; +-moz-user-select: @arguments; +-ms-user-select: @arguments; +user-select: @arguments; +} + +///* +// * Filter +// * +// * Advanced image manipulation in your CSS! +// * +// * Note: the filter property works only in Webkit for now. Will the prefixed version for other +// * vendors be supported, is unknown, so the mixin might for now generate useles code. +// * You might want to use just the -webkit-filter property without the help of .filter() mixin. +// * +// * drop-shadow and opacity might be hardware accelerated. +// * +// * Resources: http://www.html5rocks.com/en/tutorials/filters/understanding-css/ +// * +// * TODO: requires testing +// */ +// FIXME: .filter() requires the unlimited arguments feature. +.filter(...) { + -webkit-filter: @arguments; + -moz-filter: @arguments; + -ms-filter: @arguments; + -o-filter: @arguments; + filter: @arguments; +} +.grayscale(@amount) { + -webkit-filter: @arguments; + -moz-filter: @arguments; + -ms-filter: @arguments; + -o-filter: @arguments; + filter: @arguments; +} +.sepia(@amount) { + -webkit-filter: @arguments; + -moz-filter: @arguments; + -ms-filter: @arguments; + -o-filter: @arguments; + filter: @arguments; +} +.saturate(@amount) { + -webkit-filter: @arguments; + -moz-filter: @arguments; + -ms-filter: @arguments; + -o-filter: @arguments; + filter: @arguments; +} +.hue-rotation(@angle) { + -webkit-filter: @arguments; + -moz-filter: @arguments; + -ms-filter: @arguments; + -o-filter: @arguments; + filter: @arguments; +} +.invert(@amount) { + -webkit-filter: @arguments; + -moz-filter: @arguments; + -ms-filter: @arguments; + -o-filter: @arguments; + filter: @arguments; +} +// .opacity() already taken, hence the -filter suffix. +.opacity-filter(@amount) { + -webkit-filter: @arguments; + -moz-filter: @arguments; + -ms-filter: @arguments; + -o-filter: @arguments; + filter: @arguments; +} +.brightness(@amount) { + -webkit-filter: @arguments; + -moz-filter: @arguments; + -ms-filter: @arguments; + -o-filter: @arguments; + filter: @arguments; +} +.contrast(@amount) { + -webkit-filter: @arguments; + -moz-filter: @arguments; + -ms-filter: @arguments; + -o-filter: @arguments; + filter: @arguments; +} +.blur(@radius) { + -webkit-filter: @arguments; + -moz-filter: @arguments; + -ms-filter: @arguments; + -o-filter: @arguments; + filter: @arguments; +} +.drop-shadow(@shadow) { + -webkit-filter: @arguments; + -moz-filter: @arguments; + -ms-filter: @arguments; + -o-filter: @arguments; + filter: @arguments; +} +.url(@url) { + -webkit-filter: @arguments; + -moz-filter: @arguments; + -ms-filter: @arguments; + -o-filter: @arguments; + filter: @arguments; +} + +///* +// * Border image +// * +// * Browsers support: Chrome, Firefox, Safari, Opera, Chrome for Android, Android Browser, Opera Mobile, Firefox for Android +// * Notable lack of support: IE, Opera Mini +// */ +.border-image(@url, @rest...) { + -webkit-border-image:url(@url) @rest; + -o-border-image:url(@url) @rest; + border-image:url(@url) @rest; +} + +///* +// * Flexible Box Model +// * +// * Resources: https://developer.mozilla.org/en-US/docs/CSS/Using_CSS_flexible_boxes +// * +// * Browsers Support: Chrome, Firefox 18*, Opera 12.1, Opera Mini 12.1 +// * Notable lack of support: IE, Firefox 17 (stable), Safari, Chrome for Android +// */ + +.display-flex() { + display: -webkit-flex; + display: -moz-flex; + display: flex; +} +.display-inline-flex(){ + display: -webkit-inline-flex; + display: -moz-inline-flex; + display: inline-flex; +} +.flex-direction(@direction) { + -webkit-flex-direction: @direction; + -moz-flex-direction: @direction; + flex-direction: @direction; +} +.justify-content(@alignment) { + -webkit-justify-content: @alignment; + -moz-justify-content: @alignment; + justify-content: @alignment; +} +.align-content(@alignment) { + -webkit-align-content: @alignment; + -moz-align-content: @alignment; + align-content: @alignment; +} +.align-items(@alignment) { + -webkit-align-items: @alignment; + -moz-align-items: @alignment; + align-items: @alignment; +} +.align-self(@alignment) { + -webkit-align-self: @alignment; + -moz-align-self: @alignment; + align-self: @alignment; +} +.flex(@arguments){ + -webkit-flex: @arguments; + -moz-flex: @arguments; + flex: @arguments; +} +.flex-basis(@basis) { + -webkit-flex-basis: @basis; + -moz-fles-basis: @basis; + flex-basis: @basis; +} +.flex-grow(@grow) { + -webkit-flex-grow: @grow; + -moz-flex-grow: @grow; + flex-grow: @grow; +} +.flex-shrink(@shrink) { + -webkit-flex-shrink: @shrink; + -moz-flex-shrink: @shrink; + flex-shrink: @shrink; +} +.flex-flow(@arguments) { + -webkit-flex-flow: @arguments; + -moz-flex-flow: @arguments; + flex-flow: @arguments; +} +.flex-direction(@direction) { + -webkit-flex-direction: @direction; + -moz-flex-direction: @direction; + flex-direction: @direction; +} +.flex-wrap(@wrap) { + -webkit-flex-wrap: @wrap; + -moz-flex-wrap: @wrap; + flex-wrap: @wrap; +} +.order(@order) { + -webkit-order: @order; + -moz-order: @order; + order: @order; +} + +///* +// * Appearance +// */ + +.appearance (@appearance) { + -webkit-appearance: @appearance; + -moz-appearance: @appearance; +} + +///* +// * Selection +// * +// * You can use it on the root of your CSS or inside a specyfic element. +// * +// * Examples: +// * 1. .selection(red, blue); +// * 2. p{ +// * .selection(red, blue) +// * } +// */ + +.selection(@text-color, @background-color) { + &::-moz-selection {color: @text-color; background-color: @background-color;} + &::selection {color: @text-color; background-color: @background-color;} +} + +///* +// * hasLayout +// * +// * http://reference.sitepoint.com/css/haslayout +// */ + +.hasLayout() {*zoom: 1;} + +///* +// * Normalize +// */ + +.normalize(){article,aside,details,figcaption,figure,footer,header,hgroup,nav,section,summary{display:block}audio,canvas,video{display:inline-block}audio:not([controls]){display:none;height:0}[hidden]{display:none}html{font-family:sans-serif;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}body{margin:0}a:focus{outline:thin dotted}a:active,a:hover{outline:0}h1{font-size:2em}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:bold}dfn{font-style:italic}mark{background:#ff0;color:#000}code,kbd,pre,samp{font-family:monospace,serif;font-size:1em}pre{white-space:pre;white-space:pre-wrap;word-wrap:break-word}q{quotes:"\201C" "\201D" "\2018" "\2019"}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-0.5em}sub{bottom:-0.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:0}fieldset{border:1px solid #c0c0c0;margin:0 2px;padding:.35em .625em .75em}legend{border:0;padding:0}button,input,select,textarea{font-family:inherit;font-size:100%;margin:0}button,input{line-height:normal}button,html input[type="button"],input[type="reset"],input[type="submit"]{-webkit-appearance:button;cursor:pointer}button[disabled],input[disabled]{cursor:default}input[type="checkbox"],input[type="radio"]{box-sizing:border-box;padding:0}input[type="search"]{-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box}input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration{-webkit-appearance:none}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}textarea{overflow:auto;vertical-align:top}table{border-collapse:collapse;border-spacing:0}} + +///* +// * Reset +// */ + +.reset() {html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:'';content:none}table{border-collapse:collapse;border-spacing:0}} + +///* +// * HTML5 Boiler Plate's default stylesheets. +// */ +.h5bp() {html,button,input,select,textarea{color:#222}body{font-size:1em;line-height:1.4}::-moz-selection{background:#b3d4fc;text-shadow:none}::selection{background:#b3d4fc;text-shadow:none}hr{display:block;height:1px;border:0;border-top:1px solid #ccc;margin:1em 0;padding:0}img{vertical-align:middle}fieldset{border:0;margin:0;padding:0}textarea{resize:vertical}.chromeframe{margin:.2em 0;background:#ccc;color:#000;padding:.2em 0}} +.h5bp-print() {@media print{*{background:transparent !important;color:#000 !important;box-shadow:none !important;text-shadow:none !important;} a,a:visited{text-decoration:underline;} a[href]:after{content:" (" attr(href) ")";} abbr[title]:after{content:" (" attr(title) ")";} .ir a:after,a[href^="javascript:"]:after,a[href^="#"]:after{content:"";} pre,blockquote{border:1px solid #999;page-break-inside:avoid;} thead{display:table-header-group;} tr,img{page-break-inside:avoid;} img{max-width:100% !important;} @page {margin:0.5cm;}p,h2,h3{orphans:3;widows:3;} h2,h3{page-break-after:avoid;}}.przerwa{color:#ff0000;}} + + +.ninja() { + color: black; + visibility: hidden; +} + diff --git a/_static/less/docs.less b/_static/less/docs.less new file mode 100644 index 00000000..3eaa34b3 --- /dev/null +++ b/_static/less/docs.less @@ -0,0 +1,287 @@ +body + { + font-family: "Open Sans", "Helvetica Neue", sans-serif; + font-weight: 300; + color: #333; + background: @white; + } +body:not(.landing) + { + padding:0px 20px; + padding-top: 40px; + h2 + { + margin-top: 40px; + } + } +input + { + background: transparent; + border: 1px solid #999; + .border-radius(3px); + padding: 2px 5px; + color: #666; + font-family: "Open Sans"; + font-weight: 300; + outline: none; + &:focus + { + background: white; + } + } +div.related + { + background: rgba(255,200,200,.2); + } + +* > a.headerlink + { + display: none; + } + +h1, h2, h3, h4, h5, h6 + { + font-weight: 300; + } + +a:link, a:visited + { + color: @orange; + text-decoration: none; + } +a:hover, a:active + { + text-decoration: underline; + color: lighten(@orange, 10); + } + +.literal + { + color: @purple; + font-size: 1em; + background: lighten(@purple-light, 45); + padding: 1px 2px; + .border-radius(2px); + .box-shadow(inset 0px 0px 0px 1px lighten(@purple-light, 30)); + } + +.note + { + .gradient(lighten(@purple-light, 10), lighten(@purple-light-shade, 10)); + .border-radius(5px); + .box-shadow(0px 2px 3px @purple-shade); + padding: 10px 20px 10px 70px; + position: relative; + color: white; + .admonition-title {display: none;} + a { color: lighten(@orange, 30);} + &:before + { + content: ""; + display: block; + .icon; + .icon.info; + position: absolute; + margin: auto; + top: 0; bottom: 0; left: 20px; + } + .literal, .highlight-note + { + color: white; + background: darken(@purple-light, 3); + padding: 1px 3px; + .border-radius(2px); + .box-shadow(inset 0px 0px 0px 1px lighten(@purple-light, 10)); + } + .highlight-note + { + padding: 1px 10px; + pre:before + { + content: "$ "; + color: @orange; + } + } + } + +.highlight + { + background:transparent !important; + } +.highlight-output + { + .pre-block; + background: desaturate(lighten(@terminal,10), 10); + } +.highlight-javascript + { + .pre-block; + background: desaturate(lighten(@terminal,10), 10); + } +.highlight-python + { + .terminal; + pre + { + margin: 0 0 10px 0; + &:before + { + content: "$ "; + color: @orange; + } + } + } + +*:hover > a.headerlink + { + display: inline; + color: lighten(@purple-light, 30); + margin-left: 10px; + text-decoration: none; + &:hover { color: @purple-light; } + } + +tt + { + color: @purple; + font-size: 1.2em; + } +ul li { + margin-bottom: 10px; +} + +div.document + { + max-width: 900px; + margin: 20px auto; + position: relative; + } +div.documentwrapper + { + margin-left: 240px; + padding: 0; + } +aside + { + position: absolute; + width: 220px; + top: 0px; + .logo + { + margin: 0 auto 20px auto; + display: block; + width: 90px; + height: 98px; + } + color: #999; + h2, h3, h3 a:link, h3 a:visited + { + color: #777; + } + + a:link, a:visited + { + color: #999; + } + a:hover, a:active + { + color: @orange; + } + input[type=submit] + { + display: none; + } + &>ul + { + margin: 0 4px; + padding: 0; + list-style: none; + &>li + { + margin-bottom: 10px; + font-size: 18px; + color: #777; + a:link, a:visited {color: #777;} + ul + { + margin: 10px 0 0 0; + padding-left: 20px; + font-size: 16px; + color: #999; + a:link, a:visited {color: #999;} + } + } + } + } + +div.footer + { + font-size: .8em; + text-align: center; + margin: 40px 0; + color: #999; + a:link, a:visited {color: #555;} + } + +@media screen and (max-width: 820px) + { + body:not(.landing){ + padding-top: 130px; + .highlight-output,.highlight-python, .highlight-javascript + { + width: auto; + max-width: 500px; + } + .highlight-python + { + pre { margin: -10px 0 10px 0;} + &:before + { + height: 24px !important; + line-height: 24px; + font-size: .7em; + } + &:after + { + background: none; + } + } + aside + { + position: static; + } + div.documentwrapper + { + margin: 0px; + } + h1, .section + { + margin: 0px !important; + } + aside + { + background-color: #f0f0f0; + width: 100%; + margin: 5px -20px; + padding: 5px 20px 10px 20px; + } + #logolink + { + position: absolute; + top: -120px; + left: 50%; + margin-left: -49px; + } + } + + } +@media (-webkit-min-device-pixel-ratio: 1.5), (min--moz-device-pixel-ratio: 1.5), (-o-min-device-pixel-ratio: 3/2), (min-resolution: 1.5dppx) + { + aside .logo, body#landing #upper #logo + { + width: 90px; + height: 98px; + content: url(../img/logo@2x.png); + } + + } diff --git a/_static/less/jrnl.less b/_static/less/jrnl.less new file mode 100644 index 00000000..ce597b49 --- /dev/null +++ b/_static/less/jrnl.less @@ -0,0 +1,317 @@ +@import "retina"; +@import "3L"; + +@white: #f7f8f9; +@blue: #5e7dc5; +@blue-light: #7c95ca; +@terminal: #2f1e34; +@purple: #47375d; +@purple-shade: #413155; +@purple-light: #725794; +@purple-light-shade: #564371; +@orange: #deaa09; + +.normalize(); +@import "docs.less"; + +.icon, + { + .sprite("../img/icons.png", 32px, 5, 3, 8px); + &.secure {.sprite(0, 0)}; + &.future {.sprite(1, 0)}; + &.search {.sprite(2, 0)}; + &.nli {.sprite(3, 0)}; + &.share {.sprite(0, 1)}; + &.sync {.sprite(0, 1)}; + &.dayone {.sprite(1, 1)}; + &.github {.sprite(2, 1)}; + &.folders{.sprite(3, 1)}; + &.cal {.sprite(4, 1)}; + &.left {.sprite(0, 2)}; + &.right {.sprite(1, 2)}; + &.info {.sprite(2, 2)}; + } + +.pre-block + { + background: @terminal; + .border-radius(6px); + padding: 1px 20px; + margin: 40px auto; + width: 500px; + .box-shadow(0px 1px 8px darken(@white, 30)); + position: relative; + color: @white; + font-family: "Monaco", "Courier New"; + font-size: 12pt; + #args {color: #f6f7b9} + #output {color: #9278b5} + } + +.terminal + { + .pre-block; + @p: 20px; + padding: @p + 30px @p (@p - 10px) @p; + &:before + { + content: "Terminal"; + display: block; + width: 100%; + position: absolute; + left: 0; + .box-shadow(inset 0px 1px 0px #f4f4f4, inset 0px -1px 0px #888); + margin-top: -50px; + // margin: -@p -@p 0px -@p; + text-align: center; + height: 30px; + line-height: 30px; + color: #777; + text-shadow: 0px 1px 0px #ddd; + .border-radius(5px 5px 0px 0px); + .gradient(#eaeaea, #bababa); + } + &:after + { + content: ""; + width: 48px; + height: 30px; + position: absolute; + top: 0px; + left: 10px; + background: url(../img/terminal.png) no-repeat center center; + } + } + +body#landing + { + background-color: @purple; + font-family: "Open Sans", "Helvetica Neue", sans-serif; + font-weight: 300; + #twitter + { + display: block; + position: absolute; + top: 20px; + right: 20px; + border: 1px solid @purple; + padding: 5px 10px 5px 30px; + color: @purple; + .border-radius(3px); + .opacity(.7); + background: url(../img/twitter.png) 8px center no-repeat transparent; + &:hover, &:active + { + .opacity(1); + text-decoration: none; + } + } + #title, .row3, .row4, #prompt + { + width: 900px; + margin: 0px auto; + } + #upper + { + .clearfix; + background: @white; + .box-shadow(inset 0px -6px 6px -3px darken(@white, 10)); + #title + { + width: 650px; + margin: 150px auto 75px auto; + } + img + { + float: left; + margin-right: 30px; + } + h1 + { + color: @purple-light-shade; + font-weight: 300; + } + #prompt + { + width: 640px; + margin: 0 auto; + .clearfix; + } + .terminal + { + .border-radius(6px 6px 0px 0px); + float: left; + margin: 0px; + width: 500px; + min-height: 134px; + .border-box-sizing; + } + .pleft, .pright + { + text-align: center; + .border-box-sizing; + float: left; + padding-top: 50px; + width: 70px; + i {.opacity(60);} + i:hover {.opacity(1000); cursor: pointer;} + } + } + #nav + { + .gradient(@blue-light, @blue); + height: 60px; + .box-shadow(0px 6px 6px -3px @purple-shade); + text-align: center; + a#twitter-nav {display: none;} + a + { + color: @white; + text-shadow: 0px -1px 0px darken(@blue, 30); + text-decoration: none; + font-size: 14pt; + line-height: 60px; + margin: 0 40px; + &:hover + { + color: lighten(@orange, 20); + text-shadow: 0px -1px 0px darken(@orange, 15); + } + } + a.cta + { + .gradient(@purple-light, @purple-light-shade); + .box-shadow(0px 1px 0px @purple-shade); + .border-radius(5px); + padding: 6px 10px 5px 10px; + white-space: nowrap; + &:hover + { + .gradient(lighten(@orange, 10), darken(@orange, 5)); + .box-shadow(0px 1px 0px darken(@orange, 15)); + text-shadow: 0px -1px 0px darken(@orange, 15); + color: @white; + + } + } + } + #lower + { + color: @white; + padding-top: 40px; + a + { + color: @orange; + text-decoration: none; + &:hover + { + color: lighten(@orange, 20); + text-decoration: underline; + } + } + .row3, .row4 { + .clearfix; + margin-bottom: 20px; + .col + { + position: relative; + padding-left: 40px; + i + { + position: absolute; + left: 0; + top: 16px; + } + h3 {font-size: 12pt; margin-bottom: .5em;} + p {font-size: 10pt; margin: 0;} + float: left; + width: 25%; + padding-right: 2%; + .border-box-sizing; + &:last-child {padding-right: 0;} + } + } + .row3 .col { width: 33.3333%; } + .row4 .col { color: mix(@white, @purple, 80); i {.opacity(80);}} + } + } + +@media screen and (max-width: 680px) + { + body#landing + { + #nav + { + height: auto; + padding-bottom: 10px; + a, a#twitter-nav + { + display: block; + } + a.cta + { + margin: 10px; + padding: 1px; + } + } + #upper + { + #twitter { display: none;} + #title + { + margin: 30px 0 10px 0; + } + #logo + { + backgound: red; + display: block; + float: none; + margin: 0px auto; + } + #title br {display: none;} + .pleft, .pright {display: none;} + #prompt, #title + { + width: 100%; + .border-box-sizing; + padding: 0px 20px; + } + .terminal + { + width: 100%; + } + } + } + } + +@media screen and (max-width: 900px) + { + body#landing + { + #lower + { + padding: 40px 20px; + .row3, .row4 + { + margin: 0px; + width: auto; + } + .row3 .col, .row4 .col + { + float: none; + width: 100%; + text-align: center; + padding: 0px; + margin: 0 0 40px 0; + h3 {font-size: 1.5em;} + p {font-size: 1em;} + + i + { + position: static; + margin-bottom: -20px; + } + } + } + } + } diff --git a/_static/less/retina.less b/_static/less/retina.less new file mode 100644 index 00000000..3c006c45 --- /dev/null +++ b/_static/less/retina.less @@ -0,0 +1,35 @@ +// A helper mixin for applying high-resolution background images (http://www.retinajs.com) + +@highdpi: ~"(-webkit-min-device-pixel-ratio: 1.5), (min--moz-device-pixel-ratio: 1.5), (-o-min-device-pixel-ratio: 3/2), (min-resolution: 1.5dppx)"; + +.at2x(@path, @w: auto, @h: auto) { + background-image: url(@path); + @at2x_path: ~`@{path}.replace(/\.\w+$/, function(match) { return "@2x" + match; })`; + background-size: @w @h; + + @media @highdpi { + background-image: url("@{at2x_path}"); + } +} + +// Sprite mixin, see https://coderwall.com/p/oztebw + +.sprite (@path, @size, @w, @h, @pad: 0) when (isstring(@path)) + { + background-image: url(@path); + width: @size; + height: @size; + display: inline-block; + @at2x_path: ~`@{path}.replace(/\.[\w\?=]+$/, function(match) { return "@2x" + match; })`; + font-size: @size + @pad; + background-size: (@size + @pad) * @w (@size + @pad) * @h; + @media @highdpi + { + background-image: url("@{at2x_path}"); + } + } + +.sprite(@x, @y) + { + background-position: -@x * 1em -@y * 1em; + } diff --git a/_static/minus.png b/_static/minus.png new file mode 100644 index 0000000000000000000000000000000000000000..da1c5620d10c047525a467a425abe9ff5269cfc2 GIT binary patch literal 199 zcmeAS@N?(olHy`uVBq!ia0vp^+#t-s1SHkYJtzcHoCO|{#XvD(5N2eUHAey{$X?>< z>&kweokM_|(Po{+Q=kw>iEBiObAE1aYF-J$w=>iB1I2<oT^vIsE+^X*KjUGJJ8<a0 zfdz{eHHE&rzrX(bySvGUL|lavlN4AuRwpzDOq(`sMv;5Joa+jUx<3|oWPN;mPUJ0` pW__Wi<5+59Lc)&n_i}Q^3>R$WLpMkF=>bh=@O1TaS?83{1OVknK<NMg literal 0 HcmV?d00001 diff --git a/_static/plus.png b/_static/plus.png new file mode 100644 index 0000000000000000000000000000000000000000..b3cb37425ea68b39ffa7b2e5fb69161275a87541 GIT binary patch literal 199 zcmeAS@N?(olHy`uVBq!ia0vp^+#t-s1SHkYJtzcHoCO|{#XvD(5N2eUHAey{$X?>< z>&kweokM`jkU7Va11Q8%;u=xnoS&PUnpeW`?aZ|OK(QcC7sn8Z%gHvy&v=;Q4jejg zV8NnAO`-4Z@2~&<?ryS^@YXF`T!a&o6j(S`Cmb}9IcHb(MZ@Xn$H&JXUMl#uzyAM< o7knL=1-mEi3=josIGoJJAh%tCVFz!`HlXPYp00i_>zopr02WF_WB>pF literal 0 HcmV?d00001 diff --git a/_static/pygments.css b/_static/pygments.css new file mode 100644 index 00000000..f62f9ecb --- /dev/null +++ b/_static/pygments.css @@ -0,0 +1,70 @@ +.highlight .hll { background-color: #404040 } +.highlight { background: #202020; color: #d0d0d0 } +.highlight .c { color: #999999; font-style: italic } /* Comment */ +.highlight .err { color: #a61717; background-color: #e3d2d2 } /* Error */ +.highlight .g { color: #d0d0d0 } /* Generic */ +.highlight .k { color: #6ab825; font-weight: bold } /* Keyword */ +.highlight .l { color: #d0d0d0 } /* Literal */ +.highlight .n { color: #d0d0d0 } /* Name */ +.highlight .o { color: #d0d0d0 } /* Operator */ +.highlight .x { color: #d0d0d0 } /* Other */ +.highlight .p { color: #d0d0d0 } /* Punctuation */ +.highlight .cm { color: #999999; font-style: italic } /* Comment.Multiline */ +.highlight .cp { color: #cd2828; font-weight: bold } /* Comment.Preproc */ +.highlight .c1 { color: #999999; font-style: italic } /* Comment.Single */ +.highlight .cs { color: #e50808; font-weight: bold; background-color: #520000 } /* Comment.Special */ +.highlight .gd { color: #d22323 } /* Generic.Deleted */ +.highlight .ge { color: #d0d0d0; font-style: italic } /* Generic.Emph */ +.highlight .gr { color: #d22323 } /* Generic.Error */ +.highlight .gh { color: #ffffff; font-weight: bold } /* Generic.Heading */ +.highlight .gi { color: #589819 } /* Generic.Inserted */ +.highlight .go { color: #cccccc } /* Generic.Output */ +.highlight .gp { color: #aaaaaa } /* Generic.Prompt */ +.highlight .gs { color: #d0d0d0; font-weight: bold } /* Generic.Strong */ +.highlight .gu { color: #ffffff; text-decoration: underline } /* Generic.Subheading */ +.highlight .gt { color: #d22323 } /* Generic.Traceback */ +.highlight .kc { color: #6ab825; font-weight: bold } /* Keyword.Constant */ +.highlight .kd { color: #6ab825; font-weight: bold } /* Keyword.Declaration */ +.highlight .kn { color: #6ab825; font-weight: bold } /* Keyword.Namespace */ +.highlight .kp { color: #6ab825 } /* Keyword.Pseudo */ +.highlight .kr { color: #6ab825; font-weight: bold } /* Keyword.Reserved */ +.highlight .kt { color: #6ab825; font-weight: bold } /* Keyword.Type */ +.highlight .ld { color: #d0d0d0 } /* Literal.Date */ +.highlight .m { color: #3677a9 } /* Literal.Number */ +.highlight .s { color: #ed9d13 } /* Literal.String */ +.highlight .na { color: #bbbbbb } /* Name.Attribute */ +.highlight .nb { color: #24909d } /* Name.Builtin */ +.highlight .nc { color: #447fcf; text-decoration: underline } /* Name.Class */ +.highlight .no { color: #40ffff } /* Name.Constant */ +.highlight .nd { color: #ffa500 } /* Name.Decorator */ +.highlight .ni { color: #d0d0d0 } /* Name.Entity */ +.highlight .ne { color: #bbbbbb } /* Name.Exception */ +.highlight .nf { color: #447fcf } /* Name.Function */ +.highlight .nl { color: #d0d0d0 } /* Name.Label */ +.highlight .nn { color: #447fcf; text-decoration: underline } /* Name.Namespace */ +.highlight .nx { color: #d0d0d0 } /* Name.Other */ +.highlight .py { color: #d0d0d0 } /* Name.Property */ +.highlight .nt { color: #6ab825; font-weight: bold } /* Name.Tag */ +.highlight .nv { color: #40ffff } /* Name.Variable */ +.highlight .ow { color: #6ab825; font-weight: bold } /* Operator.Word */ +.highlight .w { color: #666666 } /* Text.Whitespace */ +.highlight .mf { color: #3677a9 } /* Literal.Number.Float */ +.highlight .mh { color: #3677a9 } /* Literal.Number.Hex */ +.highlight .mi { color: #3677a9 } /* Literal.Number.Integer */ +.highlight .mo { color: #3677a9 } /* Literal.Number.Oct */ +.highlight .sb { color: #ed9d13 } /* Literal.String.Backtick */ +.highlight .sc { color: #ed9d13 } /* Literal.String.Char */ +.highlight .sd { color: #ed9d13 } /* Literal.String.Doc */ +.highlight .s2 { color: #ed9d13 } /* Literal.String.Double */ +.highlight .se { color: #ed9d13 } /* Literal.String.Escape */ +.highlight .sh { color: #ed9d13 } /* Literal.String.Heredoc */ +.highlight .si { color: #ed9d13 } /* Literal.String.Interpol */ +.highlight .sx { color: #ffa500 } /* Literal.String.Other */ +.highlight .sr { color: #ed9d13 } /* Literal.String.Regex */ +.highlight .s1 { color: #ed9d13 } /* Literal.String.Single */ +.highlight .ss { color: #ed9d13 } /* Literal.String.Symbol */ +.highlight .bp { color: #24909d } /* Name.Builtin.Pseudo */ +.highlight .vc { color: #40ffff } /* Name.Variable.Class */ +.highlight .vg { color: #40ffff } /* Name.Variable.Global */ +.highlight .vi { color: #40ffff } /* Name.Variable.Instance */ +.highlight .il { color: #3677a9 } /* Literal.Number.Integer.Long */ \ No newline at end of file diff --git a/_static/searchtools.js b/_static/searchtools.js new file mode 100644 index 00000000..663be4c9 --- /dev/null +++ b/_static/searchtools.js @@ -0,0 +1,560 @@ +/* + * searchtools.js_t + * ~~~~~~~~~~~~~~~~ + * + * Sphinx JavaScript utilties for the full-text search. + * + * :copyright: Copyright 2007-2011 by the Sphinx team, see AUTHORS. + * :license: BSD, see LICENSE for details. + * + */ + +/** + * helper function to return a node containing the + * search summary for a given text. keywords is a list + * of stemmed words, hlwords is the list of normal, unstemmed + * words. the first one is used to find the occurance, the + * latter for highlighting it. + */ + +jQuery.makeSearchSummary = function(text, keywords, hlwords) { + var textLower = text.toLowerCase(); + var start = 0; + $.each(keywords, function() { + var i = textLower.indexOf(this.toLowerCase()); + if (i > -1) + start = i; + }); + start = Math.max(start - 120, 0); + var excerpt = ((start > 0) ? '...' : '') + + $.trim(text.substr(start, 240)) + + ((start + 240 - text.length) ? '...' : ''); + var rv = $('<div class="context"></div>').text(excerpt); + $.each(hlwords, function() { + rv = rv.highlightText(this, 'highlighted'); + }); + return rv; +} + + +/** + * Porter Stemmer + */ +var Stemmer = function() { + + var step2list = { + ational: 'ate', + tional: 'tion', + enci: 'ence', + anci: 'ance', + izer: 'ize', + bli: 'ble', + alli: 'al', + entli: 'ent', + eli: 'e', + ousli: 'ous', + ization: 'ize', + ation: 'ate', + ator: 'ate', + alism: 'al', + iveness: 'ive', + fulness: 'ful', + ousness: 'ous', + aliti: 'al', + iviti: 'ive', + biliti: 'ble', + logi: 'log' + }; + + var step3list = { + icate: 'ic', + ative: '', + alize: 'al', + iciti: 'ic', + ical: 'ic', + ful: '', + ness: '' + }; + + var c = "[^aeiou]"; // consonant + var v = "[aeiouy]"; // vowel + var C = c + "[^aeiouy]*"; // consonant sequence + var V = v + "[aeiou]*"; // vowel sequence + + var mgr0 = "^(" + C + ")?" + V + C; // [C]VC... is m>0 + var meq1 = "^(" + C + ")?" + V + C + "(" + V + ")?$"; // [C]VC[V] is m=1 + var mgr1 = "^(" + C + ")?" + V + C + V + C; // [C]VCVC... is m>1 + var s_v = "^(" + C + ")?" + v; // vowel in stem + + this.stemWord = function (w) { + var stem; + var suffix; + var firstch; + var origword = w; + + if (w.length < 3) + return w; + + var re; + var re2; + var re3; + var re4; + + firstch = w.substr(0,1); + if (firstch == "y") + w = firstch.toUpperCase() + w.substr(1); + + // Step 1a + re = /^(.+?)(ss|i)es$/; + re2 = /^(.+?)([^s])s$/; + + if (re.test(w)) + w = w.replace(re,"$1$2"); + else if (re2.test(w)) + w = w.replace(re2,"$1$2"); + + // Step 1b + re = /^(.+?)eed$/; + re2 = /^(.+?)(ed|ing)$/; + if (re.test(w)) { + var fp = re.exec(w); + re = new RegExp(mgr0); + if (re.test(fp[1])) { + re = /.$/; + w = w.replace(re,""); + } + } + else if (re2.test(w)) { + var fp = re2.exec(w); + stem = fp[1]; + re2 = new RegExp(s_v); + if (re2.test(stem)) { + w = stem; + re2 = /(at|bl|iz)$/; + re3 = new RegExp("([^aeiouylsz])\\1$"); + re4 = new RegExp("^" + C + v + "[^aeiouwxy]$"); + if (re2.test(w)) + w = w + "e"; + else if (re3.test(w)) { + re = /.$/; + w = w.replace(re,""); + } + else if (re4.test(w)) + w = w + "e"; + } + } + + // Step 1c + re = /^(.+?)y$/; + if (re.test(w)) { + var fp = re.exec(w); + stem = fp[1]; + re = new RegExp(s_v); + if (re.test(stem)) + w = stem + "i"; + } + + // Step 2 + re = /^(.+?)(ational|tional|enci|anci|izer|bli|alli|entli|eli|ousli|ization|ation|ator|alism|iveness|fulness|ousness|aliti|iviti|biliti|logi)$/; + if (re.test(w)) { + var fp = re.exec(w); + stem = fp[1]; + suffix = fp[2]; + re = new RegExp(mgr0); + if (re.test(stem)) + w = stem + step2list[suffix]; + } + + // Step 3 + re = /^(.+?)(icate|ative|alize|iciti|ical|ful|ness)$/; + if (re.test(w)) { + var fp = re.exec(w); + stem = fp[1]; + suffix = fp[2]; + re = new RegExp(mgr0); + if (re.test(stem)) + w = stem + step3list[suffix]; + } + + // Step 4 + re = /^(.+?)(al|ance|ence|er|ic|able|ible|ant|ement|ment|ent|ou|ism|ate|iti|ous|ive|ize)$/; + re2 = /^(.+?)(s|t)(ion)$/; + if (re.test(w)) { + var fp = re.exec(w); + stem = fp[1]; + re = new RegExp(mgr1); + if (re.test(stem)) + w = stem; + } + else if (re2.test(w)) { + var fp = re2.exec(w); + stem = fp[1] + fp[2]; + re2 = new RegExp(mgr1); + if (re2.test(stem)) + w = stem; + } + + // Step 5 + re = /^(.+?)e$/; + if (re.test(w)) { + var fp = re.exec(w); + stem = fp[1]; + re = new RegExp(mgr1); + re2 = new RegExp(meq1); + re3 = new RegExp("^" + C + v + "[^aeiouwxy]$"); + if (re.test(stem) || (re2.test(stem) && !(re3.test(stem)))) + w = stem; + } + re = /ll$/; + re2 = new RegExp(mgr1); + if (re.test(w) && re2.test(w)) { + re = /.$/; + w = w.replace(re,""); + } + + // and turn initial Y back to y + if (firstch == "y") + w = firstch.toLowerCase() + w.substr(1); + return w; + } +} + + +/** + * Search Module + */ +var Search = { + + _index : null, + _queued_query : null, + _pulse_status : -1, + + init : function() { + var params = $.getQueryParameters(); + if (params.q) { + var query = params.q[0]; + $('input[name="q"]')[0].value = query; + this.performSearch(query); + } + }, + + loadIndex : function(url) { + $.ajax({type: "GET", url: url, data: null, success: null, + dataType: "script", cache: true}); + }, + + setIndex : function(index) { + var q; + this._index = index; + if ((q = this._queued_query) !== null) { + this._queued_query = null; + Search.query(q); + } + }, + + hasIndex : function() { + return this._index !== null; + }, + + deferQuery : function(query) { + this._queued_query = query; + }, + + stopPulse : function() { + this._pulse_status = 0; + }, + + startPulse : function() { + if (this._pulse_status >= 0) + return; + function pulse() { + Search._pulse_status = (Search._pulse_status + 1) % 4; + var dotString = ''; + for (var i = 0; i < Search._pulse_status; i++) + dotString += '.'; + Search.dots.text(dotString); + if (Search._pulse_status > -1) + window.setTimeout(pulse, 500); + }; + pulse(); + }, + + /** + * perform a search for something + */ + performSearch : function(query) { + // create the required interface elements + this.out = $('#search-results'); + this.title = $('<h2>' + _('Searching') + '</h2>').appendTo(this.out); + this.dots = $('<span></span>').appendTo(this.title); + this.status = $('<p style="display: none"></p>').appendTo(this.out); + this.output = $('<ul class="search"/>').appendTo(this.out); + + $('#search-progress').text(_('Preparing search...')); + this.startPulse(); + + // index already loaded, the browser was quick! + if (this.hasIndex()) + this.query(query); + else + this.deferQuery(query); + }, + + query : function(query) { + var stopwords = ["and","then","into","it","as","are","in","if","for","no","there","their","was","is","be","to","that","but","they","not","such","with","by","a","on","these","of","will","this","near","the","or","at"]; + + // Stem the searchterms and add them to the correct list + var stemmer = new Stemmer(); + var searchterms = []; + var excluded = []; + var hlterms = []; + var tmp = query.split(/\s+/); + var objectterms = []; + for (var i = 0; i < tmp.length; i++) { + if (tmp[i] != "") { + objectterms.push(tmp[i].toLowerCase()); + } + + if ($u.indexOf(stopwords, tmp[i]) != -1 || tmp[i].match(/^\d+$/) || + tmp[i] == "") { + // skip this "word" + continue; + } + // stem the word + var word = stemmer.stemWord(tmp[i]).toLowerCase(); + // select the correct list + if (word[0] == '-') { + var toAppend = excluded; + word = word.substr(1); + } + else { + var toAppend = searchterms; + hlterms.push(tmp[i].toLowerCase()); + } + // only add if not already in the list + if (!$.contains(toAppend, word)) + toAppend.push(word); + }; + var highlightstring = '?highlight=' + $.urlencode(hlterms.join(" ")); + + // console.debug('SEARCH: searching for:'); + // console.info('required: ', searchterms); + // console.info('excluded: ', excluded); + + // prepare search + var filenames = this._index.filenames; + var titles = this._index.titles; + var terms = this._index.terms; + var fileMap = {}; + var files = null; + // different result priorities + var importantResults = []; + var objectResults = []; + var regularResults = []; + var unimportantResults = []; + $('#search-progress').empty(); + + // lookup as object + for (var i = 0; i < objectterms.length; i++) { + var others = [].concat(objectterms.slice(0,i), + objectterms.slice(i+1, objectterms.length)) + var results = this.performObjectSearch(objectterms[i], others); + // Assume first word is most likely to be the object, + // other words more likely to be in description. + // Therefore put matches for earlier words first. + // (Results are eventually used in reverse order). + objectResults = results[0].concat(objectResults); + importantResults = results[1].concat(importantResults); + unimportantResults = results[2].concat(unimportantResults); + } + + // perform the search on the required terms + for (var i = 0; i < searchterms.length; i++) { + var word = searchterms[i]; + // no match but word was a required one + if ((files = terms[word]) == null) + break; + if (files.length == undefined) { + files = [files]; + } + // create the mapping + for (var j = 0; j < files.length; j++) { + var file = files[j]; + if (file in fileMap) + fileMap[file].push(word); + else + fileMap[file] = [word]; + } + } + + // now check if the files don't contain excluded terms + for (var file in fileMap) { + var valid = true; + + // check if all requirements are matched + if (fileMap[file].length != searchterms.length) + continue; + + // ensure that none of the excluded terms is in the + // search result. + for (var i = 0; i < excluded.length; i++) { + if (terms[excluded[i]] == file || + $.contains(terms[excluded[i]] || [], file)) { + valid = false; + break; + } + } + + // if we have still a valid result we can add it + // to the result list + if (valid) + regularResults.push([filenames[file], titles[file], '', null]); + } + + // delete unused variables in order to not waste + // memory until list is retrieved completely + delete filenames, titles, terms; + + // now sort the regular results descending by title + regularResults.sort(function(a, b) { + var left = a[1].toLowerCase(); + var right = b[1].toLowerCase(); + return (left > right) ? -1 : ((left < right) ? 1 : 0); + }); + + // combine all results + var results = unimportantResults.concat(regularResults) + .concat(objectResults).concat(importantResults); + + // print the results + var resultCount = results.length; + function displayNextItem() { + // results left, load the summary and display it + if (results.length) { + var item = results.pop(); + var listItem = $('<li style="display:none"></li>'); + if (DOCUMENTATION_OPTIONS.FILE_SUFFIX == '') { + // dirhtml builder + var dirname = item[0] + '/'; + if (dirname.match(/\/index\/$/)) { + dirname = dirname.substring(0, dirname.length-6); + } else if (dirname == 'index/') { + dirname = ''; + } + listItem.append($('<a/>').attr('href', + DOCUMENTATION_OPTIONS.URL_ROOT + dirname + + highlightstring + item[2]).html(item[1])); + } else { + // normal html builders + listItem.append($('<a/>').attr('href', + item[0] + DOCUMENTATION_OPTIONS.FILE_SUFFIX + + highlightstring + item[2]).html(item[1])); + } + if (item[3]) { + listItem.append($('<span> (' + item[3] + ')</span>')); + Search.output.append(listItem); + listItem.slideDown(5, function() { + displayNextItem(); + }); + } else if (DOCUMENTATION_OPTIONS.HAS_SOURCE) { + $.get(DOCUMENTATION_OPTIONS.URL_ROOT + '_sources/' + + item[0] + '.txt', function(data) { + if (data != '') { + listItem.append($.makeSearchSummary(data, searchterms, hlterms)); + Search.output.append(listItem); + } + listItem.slideDown(5, function() { + displayNextItem(); + }); + }, "text"); + } else { + // no source available, just display title + Search.output.append(listItem); + listItem.slideDown(5, function() { + displayNextItem(); + }); + } + } + // search finished, update title and status message + else { + Search.stopPulse(); + Search.title.text(_('Search Results')); + if (!resultCount) + Search.status.text(_('Your search did not match any documents. Please make sure that all words are spelled correctly and that you\'ve selected enough categories.')); + else + Search.status.text(_('Search finished, found %s page(s) matching the search query.').replace('%s', resultCount)); + Search.status.fadeIn(500); + } + } + displayNextItem(); + }, + + performObjectSearch : function(object, otherterms) { + var filenames = this._index.filenames; + var objects = this._index.objects; + var objnames = this._index.objnames; + var titles = this._index.titles; + + var importantResults = []; + var objectResults = []; + var unimportantResults = []; + + for (var prefix in objects) { + for (var name in objects[prefix]) { + var fullname = (prefix ? prefix + '.' : '') + name; + if (fullname.toLowerCase().indexOf(object) > -1) { + var match = objects[prefix][name]; + var objname = objnames[match[1]][2]; + var title = titles[match[0]]; + // If more than one term searched for, we require other words to be + // found in the name/title/description + if (otherterms.length > 0) { + var haystack = (prefix + ' ' + name + ' ' + + objname + ' ' + title).toLowerCase(); + var allfound = true; + for (var i = 0; i < otherterms.length; i++) { + if (haystack.indexOf(otherterms[i]) == -1) { + allfound = false; + break; + } + } + if (!allfound) { + continue; + } + } + var descr = objname + _(', in ') + title; + anchor = match[3]; + if (anchor == '') + anchor = fullname; + else if (anchor == '-') + anchor = objnames[match[1]][1] + '-' + fullname; + result = [filenames[match[0]], fullname, '#'+anchor, descr]; + switch (match[2]) { + case 1: objectResults.push(result); break; + case 0: importantResults.push(result); break; + case 2: unimportantResults.push(result); break; + } + } + } + } + + // sort results descending + objectResults.sort(function(a, b) { + return (a[1] > b[1]) ? -1 : ((a[1] < b[1]) ? 1 : 0); + }); + + importantResults.sort(function(a, b) { + return (a[1] > b[1]) ? -1 : ((a[1] < b[1]) ? 1 : 0); + }); + + unimportantResults.sort(function(a, b) { + return (a[1] > b[1]) ? -1 : ((a[1] < b[1]) ? 1 : 0); + }); + + return [importantResults, objectResults, unimportantResults] + } +} + +$(document).ready(function() { + Search.init(); +}); \ No newline at end of file diff --git a/_static/sprites.svg b/_static/sprites.svg new file mode 100644 index 00000000..a8420b9b --- /dev/null +++ b/_static/sprites.svg @@ -0,0 +1,96 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<!-- Generator: IcoMoon.io --> + +<svg + xmlns:dc="http://purl.org/dc/elements/1.1/" + xmlns:cc="http://creativecommons.org/ns#" + xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" + xmlns:svg="http://www.w3.org/2000/svg" + xmlns="http://www.w3.org/2000/svg" + xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" + xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" + width="1008" + height="48" + viewBox="0 0 1008 48" + data-tags="bookmark" + style="margin-left: -8px; margin-top: -8px;" + fill="#333333" + id="svg2" + version="1.1" + inkscape:version="0.48.2 r9819" + sodipodi:docname="sprites.svg"> + <metadata + id="metadata30"> + <rdf:RDF> + <cc:Work + rdf:about=""> + <dc:format>image/svg+xml</dc:format> + <dc:type + rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> + </cc:Work> + </rdf:RDF> + </metadata> + <defs + id="defs28" /> + <sodipodi:namedview + pagecolor="#ffffff" + bordercolor="#666666" + borderopacity="1" + objecttolerance="10" + gridtolerance="10" + guidetolerance="10" + inkscape:pageopacity="0" + inkscape:pageshadow="2" + inkscape:window-width="1562" + inkscape:window-height="1153" + id="namedview26" + showgrid="true" + inkscape:zoom="2.7460317" + inkscape:cx="651.02496" + inkscape:cy="38.446605" + inkscape:window-x="0" + inkscape:window-y="0" + inkscape:window-maximized="0" + inkscape:current-layer="svg2"> + <inkscape:grid + type="xygrid" + id="grid3007" /> + </sodipodi:namedview> + <path + d="M 141.818,22.909l-15.273-6.545l 6.105-4.361C 129.469,8.651, 124.985,6.545, 120,6.545 C 111.545,6.545, 104.5,12.556, 102.892,20.535L 98.819,18.849C 101.136,9.29, 109.728,2.182, 120,2.182c 6.452,0, 12.227,2.819, 16.224,7.27L 141.818,5.455L 141.818,22.909 z M 107.35,35.998C 110.529,39.349, 115.015,41.455, 120,41.455c 8.487,0, 15.552-6.057, 17.123-14.084l 4.069,1.741C 138.888,38.69, 130.287,45.818, 120,45.818 c-6.452,0-12.229-2.819-16.224-7.27L 98.182,42.545l0-17.455 l 15.273,6.545L 107.35,35.998z" + id="path6" /> + <path + d="M 224.71875 2.09375 L 224.71875 10.8125 C 224.71875 10.8125 201.34725 10.877 200.78125 36.125 C 201.12625 32.307 203.78675 17.375 224.71875 17.375 L 224.71875 23.90625 L 240 13 L 224.71875 2.09375 z M 198 7 C 194.676 7 192 9.676 192 13 L 192 40 C 192 43.324 194.676 46 198 46 L 229 46 C 232.324 46 235 43.324 235 40 L 235 23 L 232 25 L 232 40 C 232 41.662 230.662 43 229 43 L 198 43 C 196.338 43 195 41.662 195 40 L 195 13 C 195 11.338 196.338 10 198 10 L 210 10 L 217 7 L 198 7 z " + id="path8" /> + <path + d="M 318,0.007c-9.941,0-18,8.059-18,18c0,3.039, 0.76,5.899, 2.093,8.412l-12.516,12.513l 0.011,0.009 C 288.609,39.903, 288,41.235, 288,42.715c0,2.924, 2.37,5.293, 5.293,5.293c 1.478,0, 2.811-0.609, 3.772-1.588l-0.003-0.003l 12.511-12.51 c 2.514,1.337, 5.379,2.1, 8.425,2.1c 9.941,0, 18-8.059, 18-18C 336,8.067, 327.941,0.007, 318,0.007z M 295.192,44.545 c-0.483,0.501-1.152,0.815-1.899,0.815c-1.462,0-2.647-1.183-2.647-2.646c0-0.747, 0.315-1.414, 0.815-1.899l-0.013-0.012l 12.099-12.099 c 1.057,1.426, 2.317,2.686, 3.741,3.747L 295.192,44.545z M 318,33.009c-8.283,0-15-6.719-15-15c0-8.283, 6.717-15, 15-15 c 8.281,0, 15,6.717, 15,15C 333,26.291, 326.282,33.009, 318,33.009zM 318,7.508 C 318.412,7.508 318.75,7.844 318.75,8.258 C 318.75,8.671 318.412,9.008 318,9.008 C 313.029,9.008 309,13.038 309,18.008 C 309,18.422 308.664,18.758 308.25,18.758 C 307.836,18.758 307.5,18.422 307.5,18.008 C 307.5,12.208 312.2,7.508 318,7.508 Z" + id="path10" /> + <path + d="M 421.5,19.5L 421.5,13.5 c0-7.457-6.043-13.5-13.5-13.5c-7.457,0-13.5,6.043-13.5,13.5l0,6 c-2.486,0-4.5,2.014-4.5,4.5l0,4.5 l0,1.5 l0,3 l0,1.5 c0,7.457, 6.043,13.5, 13.5,13.5l 9,0 c 7.457,0, 13.5-6.043, 13.5-13.5l0-1.5 l0-3 l0-1.5 l0-4.5 C 426,21.513, 423.984,19.5, 421.5,19.5z M 397.5,13.5c0-5.799, 4.701-10.5, 10.5-10.5c 5.799,0, 10.5,4.701, 10.5,10.5l0,6 l-3,0 L 415.5,13.503 c0-4.143-3.357-7.5-7.5-7.5c-4.143,0-7.5,3.357-7.5,7.5L 400.5,19.5 L 397.5,19.5 L 397.5,13.5 z M 414,13.5l0,0.005 L 414,19.5 l-12,0 L 402,13.503 L 402,13.5 c0-3.314, 2.686-6, 6-6C 411.313,7.5, 414,10.187, 414,13.5z M 423,28.5 l0,1.5 l0,3 l0,1.5 c0,5.788-4.712,10.5-10.5,10.5l-9,0 c-5.788,0-10.5-4.712-10.5-10.5l0-1.5 l0-3 l0-1.5 l0-4.5 c0-0.828, 0.672-1.5, 1.5-1.5c 1.001,0, 1.999,0, 3,0l 21,0 c 0.999,0, 1.998,0, 3,0 c 0.827,0, 1.5,0.672, 1.5,1.5L 423,28.5 zM 408,28.5 C 409.656,28.5 411,29.843 411,31.5 C 411,32.413 410.508,34.152 410.001,35.523 C 409.591,36.63 409.173,37.497 408,37.497 C 406.922,37.497 406.409,36.621 406,35.508 C 405.5,34.14 405,32.41 405,31.5 C 405,29.843 406.344,28.5 408,28.5 Z" + id="path12" /> + <path + d="M 524.093,3.87C 521.625,1.405, 518.376,0, 515.174,0c-2.701,0-5.189,1.002-7.005,2.816l-7.3,7.356 c-0.022,0.021-0.048,0.035-0.071,0.057c-0.012,0.012-0.019,0.028-0.032,0.039l 0.003,0.003L 485.276,25.884 c-0.714,0.71-1.232,1.593-1.519,2.558l-3.524,12.762C 480.229,41.238, 480,42.24, 480,42.75C 480,45.648, 482.353,48, 485.256,48 c 0.578,0, 1.695-0.276, 1.736-0.282l 12.717-3.344c 0.966-0.286, 1.844-0.808, 2.558-1.524l 22.895-23.075 C 529.325,15.609, 528.855,8.625, 524.093,3.87z M 504.021,35.693c-0.123-1.353-0.506-2.68-1.079-3.94l 14.183-14.181 c 0.867,2.739, 0.422,5.604-1.479,7.506c-0.012,0.012-0.027,0.019-0.038,0.032l 0.021,0.019l-11.592,11.685 C 504.037,36.439, 504.055,36.073, 504.021,35.693z M 502.189,30.384c-0.559-0.919-1.196-1.808-1.983-2.594 c-0.916-0.916-1.968-1.635-3.066-2.238l 14.298-14.298c 1.122,0.498, 2.198,1.208, 3.147,2.157c 0.812,0.808, 1.438,1.715, 1.921,2.656 L 502.189,30.384z M 495.729,24.843c-1.389-0.559-2.844-0.879-4.302-0.898l 11.555-11.643c 1.768-1.725, 4.344-2.222, 6.88-1.593 L 495.729,24.843z M 486.25,44.809C 486.087,44.847, 485.579,44.976, 485.233,45C 484,44.985, 483,43.983, 483,42.75 c 0.018-0.252, 0.118-0.685, 0.153-0.843l 1.579-5.721c 1.715-0.046, 3.56,0.621, 5.010,2.075c 1.473,1.47, 2.166,3.351, 2.091,5.087 L 486.25,44.809z M 493.311,42.956c-0.036-2.013-0.855-4.107-2.508-5.757C 489.24,35.634, 487.194,34.731, 485.154,34.65l 1.494-5.411 c 0.108-0.36, 0.323-0.716, 0.587-1.026c 3.009-2.154, 7.636-1.518, 10.851,1.7c 3.401,3.399, 3.925,8.379, 1.306,11.352 c-0.174,0.091-0.35,0.178-0.538,0.234L 493.311,42.956z M 523.036,17.658l-2.526,2.546c0-0.339, 0.041-0.664, 0.009-1.011 c-0.264-2.902-1.617-5.709-3.815-7.904c-2.444-2.445-5.684-3.848-8.892-3.857l 2.484-2.505C 511.541,3.687, 513.276,3, 515.174,3 c 2.413,0, 4.893,1.092, 6.8,2.993c 1.79,1.787, 2.856,4.006, 3.009,6.252C 525.123,14.34, 524.431,16.261, 523.036,17.658z" + id="path14" /> + <path + d="M 600,10.5 C 600.414,10.5 600.75,10.836 600.75,11.25 C 600.75,11.664 600.412,12 600,12 C 592.009,12 585,16.206 585,21 C 585,21.414 584.664,21.75 584.25,21.75 C 583.836,21.75 583.5,21.414 583.5,21 C 583.5,15.309 591.056,10.5 600,10.5 ZM 600,3C 586.745,3, 576,11.059, 576,21c0,6.191, 4.168,11.649, 10.512,14.889 C 586.512,35.929, 586.5,35.956, 586.5,36c0,2.689-2.008,5.585-2.892,7.104c 0.002,0, 0.003,0, 0.003,0C 583.54,43.269, 583.5,43.45, 583.5,43.641 C 583.5,44.391, 584.107,45, 584.859,45C 585,45, 585.248,44.963, 585.241,44.979c 4.688-0.768, 9.104-5.075, 10.13-6.322C 596.87,38.877, 598.415,39, 600,39 c 13.253,0, 24-8.059, 24-18C 624,11.059, 613.254,3, 600,3z M 600,36c-1.376,0-2.787-0.105-4.194-0.31c-0.146-0.024-0.291-0.032-0.435-0.032 c-0.891,0-1.744,0.396-2.319,1.095c-0.642,0.782-2.469,2.526-4.627,3.809c 0.585-1.343, 1.042-2.847, 1.074-4.398 c 0.009-0.096, 0.013-0.194, 0.013-0.276c0-1.128-0.631-2.159-1.635-2.671C 582.318,30.378, 579,25.811, 579,21C 579,12.729, 588.42,6, 600,6 c 11.577,0, 21,6.729, 21,15C 621,29.271, 611.579,36, 600,36z" + id="path16" /> + <path + d="M 774 0 L 771 26.84375 L 773.96875 27.15625 L 776.65625 3 L 807.34375 3 L 810.03125 27.15625 L 813 26.84375 L 810 0 L 774 0 z M 780 6 L 780 9 L 804 9 L 804 6 L 780 6 z M 780 12 L 780 15 L 804 15 L 804 12 L 780 12 z M 780 18 L 780 21 L 804 21 L 804 18 L 780 18 z M 780 24 L 780 27 L 804 27 L 804 24 L 780 24 z M 769.5 30 C 768.675 30 768.20775 30.6545 768.46875 31.4375 L 773.53125 46.5625 C 773.79225 47.3455 774.675 48 775.5 48 L 808.5 48 C 809.325 48 810.20775 47.3455 810.46875 46.5625 L 815.53125 31.4375 C 815.79325 30.6545 815.325 30 814.5 30 L 769.5 30 z M 786 33 L 798 33 L 798 36 L 786 36 L 786 33 z " + id="path20" /> + <path + d="M 888 0 C 874.745 0 864 10.745 864 24 C 864 37.255 874.745 48 888 48 C 901.255 48 912 37.255 912 24 C 912 10.745 901.255 0 888 0 z M 888 3 C 899.59798 3 909 12.402018 909 24 C 909 33.513233 902.67471 41.543499 894 44.125 L 894 43.25 L 894 41.53125 L 894 39.65625 C 894 37.76525 893.32825 36.35975 892.03125 35.46875 C 892.84425 35.39075 893.60225 35.29625 894.28125 35.15625 C 894.96025 35.01625 895.6795 34.8275 896.4375 34.5625 C 897.1955 34.2975 897.86675 33.96075 898.46875 33.59375 C 899.07075 33.22675 899.66475 32.74225 900.21875 32.15625 C 900.77275 31.57025 901.21875 30.9295 901.59375 30.1875 C 901.96875 29.4455 902.281 28.539 902.5 27.5 C 902.719 26.461 902.8125 25.3125 902.8125 24.0625 C 902.8125 21.6405 902.04675 19.579 900.46875 17.875 C 901.18775 16 901.09375 13.953 900.21875 11.75 L 899.625 11.6875 C 899.219 11.6405 898.4915 11.82775 897.4375 12.21875 C 896.3835 12.60975 895.21925 13.234 893.90625 14.125 C 892.04725 13.609 890.09375 13.375 888.09375 13.375 C 886.07775 13.375 884.17175 13.61 882.34375 14.125 C 881.51575 13.562 880.742 13.118 880 12.75 C 879.258 12.383 878.66375 12.133 878.21875 12 C 877.77375 11.867 877.35175 11.781 876.96875 11.75 C 876.58575 11.719 876.32775 11.70275 876.21875 11.71875 C 876.10975 11.73475 876.046 11.76525 876 11.78125 C 875.125 14.00025 875.031 16.016 875.75 17.875 C 874.172 19.578 873.375 21.6405 873.375 24.0625 C 873.375 25.3125 873.49975 26.461 873.71875 27.5 C 873.93775 28.539 874.21875 29.4455 874.59375 30.1875 C 874.96875 30.9295 875.445 31.57025 876 32.15625 C 876.555 32.74225 877.149 33.22575 877.75 33.59375 C 878.351 33.96175 879.02325 34.2975 879.78125 34.5625 C 880.53925 34.8275 881.0085 35.01625 881.6875 35.15625 C 882.3665 35.29625 883.1255 35.422 883.9375 35.5 C 882.6565 36.375 882 37.75025 882 39.65625 L 882 41.34375 L 882 43.3125 L 882 44.125 C 873.3253 41.543499 867 33.513233 867 24 C 867 12.402018 876.40203 3 888 3 z " + id="path22" /> + <path + d="M 978.072,25.441c-0.267,0.386-0.593,1.352-0.978,1.588c-0.386,0.235-0.821,0.401-1.304,0.492 c-0.485,0.093-0.986,0.134-1.503,0.118l0,2.29 l 3.7,0 L 977.988,39 l 2.987,0 l0-14.994 l-2.376,0 C 978.514,24.578, 978.339,25.056, 978.072,25.441z M 994.5,12l 3,0 c 0.83,0, 1.5-0.672, 1.5-1.5L 999,1.5 c0-0.828-0.67-1.5-1.5-1.5l-3,0 c-0.83,0-1.5,0.672-1.5,1.5l0,9 C 993,11.328, 993.67,12, 994.5,12z M 970.5,12l 3,0 c 0.828,0, 1.5-0.672, 1.5-1.5L 975,1.5 c0-0.828-0.672-1.5-1.5-1.5L 970.5,0 C 969.672,0, 969,0.672, 969,1.5l0,9 C 969,11.328, 969.672,12, 970.5,12z M 1005,6l-3,0 l0,7.5 c0,0.828-0.67,1.5-1.5,1.5l-9,0 c-0.83,0-1.5-0.672-1.5-1.5L 990,6 l-12,0 l0,7.5 c0,0.828-0.672,1.5-1.5,1.5L 967.5,15 c-0.828,0-1.5-0.672-1.5-1.5L 966,6 L 963,6 C 961.344,6, 960,7.344, 960,9l0,36 c0,1.656, 1.344,3, 3,3l 42,0 c 1.656,0, 3-1.344, 3-3L 1008,9 C 1008,7.344, 1006.656,6, 1005,6z M 1005,43.5c0,0.83-0.67,1.5-1.5,1.5L 964.5,45 c-0.828,0-1.5-0.67-1.5-1.5L 963,19.5 c0-0.828, 0.672-1.5, 1.5-1.5l 39,0 c 0.83,0, 1.5,0.672, 1.5,1.5L 1005,43.5 z M 983.977,26.973l 7.452,0 c-1.404,1.728-2.534,3.488-3.397,5.558c-0.862,2.071-0.957,4.227-1.123,6.468l 3.196,0 c 0.013-0.999-0.292-2.078-0.076-3.234c 0.219-1.157, 0.528-2.298, 0.925-3.428c 0.401-1.128, 0.897-2.192, 1.494-3.19 c 0.594-1.001, 1.28-1.844, 2.050-2.529l0-2.613 l-10.522,0 L 983.976,26.973 z" + id="path24" /> + <path + style="fill:#333333;fill-opacity:1;stroke:none" + d="M 9.46875,0 C 6.437316,0 4,2.4373158 4,5.46875 l 0,37.0625 C 4,45.562684 6.437316,48 9.46875,48 l 29.0625,0 C 41.562684,48 44,45.562684 44,42.53125 L 44,5.46875 C 44,2.4373158 41.562684,0 38.53125,0 z M 11,3 l 2,0 0,42 -2,0 C 8.784,45 7,43.216 7,41 L 7,7 C 7,4.784 8.784,3 11,3 z m 5,0 11,0 0,13 4,-3 4,3 0,-13 2,0 c 2.216,0 4,1.784 4,4 l 0,34 c 0,2.216 -1.784,4 -4,4 l -21,0 z" + id="rect3009" + inkscape:connector-curvature="0" + sodipodi:nodetypes="ssssssssssccssssccccccsssscc" /> + <path + style="font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-indent:0;text-align:start;text-decoration:none;line-height:normal;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;block-progression:tb;writing-mode:lr-tb;text-anchor:start;baseline-shift:baseline;color:#000000;fill:#333333;fill-opacity:1;stroke:none;stroke-width:3;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate;font-family:Sans;-inkscape-font-specification:Sans" + d="M 697 -1 C 696.25371 -1 695.55642 -0.73689699 695 -0.28125 C 694.44358 0.17439699 694 0.87583597 694 1.71875 L 694 3 L 693 3 L 693 4 L 687.5 4 C 687.448 3.99729 687.39579 3.99729 687.34375 4 C 686.61183 4.0767148 685.99606 4.7640806 686 5.5 L 686 6 L 684.5 6 C 683.71462 6.0000785 683.00008 6.7146233 683 7.5 L 683 8.09375 C 682.42224 8.2980557 682.0033 8.8871877 682 9.5 L 682 12.5 C 682.00008 13.285377 682.71462 13.999921 683.5 14 L 686 14 L 686 39 L 684.75 40.1875 C 684.29266 40.451552 683.9953 40.971929 684 41.5 L 684 44.5 C 684.00008 45.285377 684.71462 45.999921 685.5 46 L 693.40625 46 L 700.5 46 L 700.65625 46 L 708.5 46 C 709.28538 45.999921 709.99992 45.285377 710 44.5 L 710 41.5 C 710.005 40.971929 709.70734 40.451552 709.25 40.1875 L 708 39 L 708 14 L 710.5 14 C 711.28538 13.999921 711.99992 13.285377 712 12.5 L 712 9.5 C 711.997 8.8871877 711.57776 8.2980557 711 8.09375 L 711 7.5 C 710.99992 6.7146233 710.28538 6.0000785 709.5 6 L 708 6 L 708 5.5 C 707.99992 4.7146233 707.28538 4.0000785 706.5 4 L 701 4 L 701 3 L 700 3 L 700 1.71875 C 700 0.87583597 699.55642 0.17439702 699 -0.28125 C 698.44358 -0.73689702 697.74629 -1 697 -1 z M 697 1 C 697.20585 1 697.5132 1.1129297 697.71875 1.28125 C 697.9243 1.4495703 698 1.6095221 698 1.71875 L 698 3 L 696 3 L 696 1.71875 C 696 1.6095221 696.0757 1.4495702 696.28125 1.28125 C 696.4868 1.1129298 696.79415 1 697 1 z M 688 7 L 706 7 L 706 8 L 708 8 C 707.9472 8.7370898 708.11489 9.2632977 709 9.0625 L 709 12 L 705 12 L 689 12 L 685 12 L 685 9.15625 C 685.81891 9.2047089 685.94068 8.6267293 686 8 L 688 8 L 688 7 z M 689 14 L 705 14 L 705 41 L 707 42.375 L 707 43 L 687 43 L 687 42.375 L 689 41 L 689 14 z M 691 16 L 691 20 L 693 20 L 693 16 L 691 16 z M 694 16 L 694 20 L 696 20 L 696 16 L 694 16 z M 698 16 L 698 20 L 700 20 L 700 16 L 698 16 z M 701 16 L 701 20 L 703 20 L 703 16 L 701 16 z M 691 21 L 691 25 L 693 25 L 693 21 L 691 21 z M 694 21 L 694 25 L 696 25 L 696 21 L 694 21 z M 698 21 L 698 25 L 700 25 L 700 21 L 698 21 z M 701 21 L 701 25 L 703 25 L 703 21 L 701 21 z M 699.375 29.625 C 698.61451 29.625 698 30.239511 698 31 C 698 31.760489 698.61451 32.375 699.375 32.375 C 700.13549 32.375 700.75 31.760489 700.75 31 C 700.75 30.239511 700.13549 29.625 699.375 29.625 z " + id="path3858" /> +</svg> diff --git a/_static/underscore.js b/_static/underscore.js new file mode 100644 index 00000000..5d899143 --- /dev/null +++ b/_static/underscore.js @@ -0,0 +1,23 @@ +// Underscore.js 0.5.5 +// (c) 2009 Jeremy Ashkenas, DocumentCloud Inc. +// Underscore is freely distributable under the terms of the MIT license. +// Portions of Underscore are inspired by or borrowed from Prototype.js, +// Oliver Steele's Functional, and John Resig's Micro-Templating. +// For all details and documentation: +// http://documentcloud.github.com/underscore/ +(function(){var j=this,n=j._,i=function(a){this._wrapped=a},m=typeof StopIteration!=="undefined"?StopIteration:"__break__",b=j._=function(a){return new i(a)};if(typeof exports!=="undefined")exports._=b;var k=Array.prototype.slice,o=Array.prototype.unshift,p=Object.prototype.toString,q=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;b.VERSION="0.5.5";b.each=function(a,c,d){try{if(a.forEach)a.forEach(c,d);else if(b.isArray(a)||b.isArguments(a))for(var e=0,f=a.length;e<f;e++)c.call(d, +a[e],e,a);else{var g=b.keys(a);f=g.length;for(e=0;e<f;e++)c.call(d,a[g[e]],g[e],a)}}catch(h){if(h!=m)throw h;}return a};b.map=function(a,c,d){if(a&&b.isFunction(a.map))return a.map(c,d);var e=[];b.each(a,function(f,g,h){e.push(c.call(d,f,g,h))});return e};b.reduce=function(a,c,d,e){if(a&&b.isFunction(a.reduce))return a.reduce(b.bind(d,e),c);b.each(a,function(f,g,h){c=d.call(e,c,f,g,h)});return c};b.reduceRight=function(a,c,d,e){if(a&&b.isFunction(a.reduceRight))return a.reduceRight(b.bind(d,e),c); +var f=b.clone(b.toArray(a)).reverse();b.each(f,function(g,h){c=d.call(e,c,g,h,a)});return c};b.detect=function(a,c,d){var e;b.each(a,function(f,g,h){if(c.call(d,f,g,h)){e=f;b.breakLoop()}});return e};b.select=function(a,c,d){if(a&&b.isFunction(a.filter))return a.filter(c,d);var e=[];b.each(a,function(f,g,h){c.call(d,f,g,h)&&e.push(f)});return e};b.reject=function(a,c,d){var e=[];b.each(a,function(f,g,h){!c.call(d,f,g,h)&&e.push(f)});return e};b.all=function(a,c,d){c=c||b.identity;if(a&&b.isFunction(a.every))return a.every(c, +d);var e=true;b.each(a,function(f,g,h){(e=e&&c.call(d,f,g,h))||b.breakLoop()});return e};b.any=function(a,c,d){c=c||b.identity;if(a&&b.isFunction(a.some))return a.some(c,d);var e=false;b.each(a,function(f,g,h){if(e=c.call(d,f,g,h))b.breakLoop()});return e};b.include=function(a,c){if(b.isArray(a))return b.indexOf(a,c)!=-1;var d=false;b.each(a,function(e){if(d=e===c)b.breakLoop()});return d};b.invoke=function(a,c){var d=b.rest(arguments,2);return b.map(a,function(e){return(c?e[c]:e).apply(e,d)})};b.pluck= +function(a,c){return b.map(a,function(d){return d[c]})};b.max=function(a,c,d){if(!c&&b.isArray(a))return Math.max.apply(Math,a);var e={computed:-Infinity};b.each(a,function(f,g,h){g=c?c.call(d,f,g,h):f;g>=e.computed&&(e={value:f,computed:g})});return e.value};b.min=function(a,c,d){if(!c&&b.isArray(a))return Math.min.apply(Math,a);var e={computed:Infinity};b.each(a,function(f,g,h){g=c?c.call(d,f,g,h):f;g<e.computed&&(e={value:f,computed:g})});return e.value};b.sortBy=function(a,c,d){return b.pluck(b.map(a, +function(e,f,g){return{value:e,criteria:c.call(d,e,f,g)}}).sort(function(e,f){e=e.criteria;f=f.criteria;return e<f?-1:e>f?1:0}),"value")};b.sortedIndex=function(a,c,d){d=d||b.identity;for(var e=0,f=a.length;e<f;){var g=e+f>>1;d(a[g])<d(c)?(e=g+1):(f=g)}return e};b.toArray=function(a){if(!a)return[];if(a.toArray)return a.toArray();if(b.isArray(a))return a;if(b.isArguments(a))return k.call(a);return b.values(a)};b.size=function(a){return b.toArray(a).length};b.first=function(a,c,d){return c&&!d?k.call(a, +0,c):a[0]};b.rest=function(a,c,d){return k.call(a,b.isUndefined(c)||d?1:c)};b.last=function(a){return a[a.length-1]};b.compact=function(a){return b.select(a,function(c){return!!c})};b.flatten=function(a){return b.reduce(a,[],function(c,d){if(b.isArray(d))return c.concat(b.flatten(d));c.push(d);return c})};b.without=function(a){var c=b.rest(arguments);return b.select(a,function(d){return!b.include(c,d)})};b.uniq=function(a,c){return b.reduce(a,[],function(d,e,f){if(0==f||(c===true?b.last(d)!=e:!b.include(d, +e)))d.push(e);return d})};b.intersect=function(a){var c=b.rest(arguments);return b.select(b.uniq(a),function(d){return b.all(c,function(e){return b.indexOf(e,d)>=0})})};b.zip=function(){for(var a=b.toArray(arguments),c=b.max(b.pluck(a,"length")),d=new Array(c),e=0;e<c;e++)d[e]=b.pluck(a,String(e));return d};b.indexOf=function(a,c){if(a.indexOf)return a.indexOf(c);for(var d=0,e=a.length;d<e;d++)if(a[d]===c)return d;return-1};b.lastIndexOf=function(a,c){if(a.lastIndexOf)return a.lastIndexOf(c);for(var d= +a.length;d--;)if(a[d]===c)return d;return-1};b.range=function(a,c,d){var e=b.toArray(arguments),f=e.length<=1;a=f?0:e[0];c=f?e[0]:e[1];d=e[2]||1;e=Math.ceil((c-a)/d);if(e<=0)return[];e=new Array(e);f=a;for(var g=0;1;f+=d){if((d>0?f-c:c-f)>=0)return e;e[g++]=f}};b.bind=function(a,c){var d=b.rest(arguments,2);return function(){return a.apply(c||j,d.concat(b.toArray(arguments)))}};b.bindAll=function(a){var c=b.rest(arguments);if(c.length==0)c=b.functions(a);b.each(c,function(d){a[d]=b.bind(a[d],a)}); +return a};b.delay=function(a,c){var d=b.rest(arguments,2);return setTimeout(function(){return a.apply(a,d)},c)};b.defer=function(a){return b.delay.apply(b,[a,1].concat(b.rest(arguments)))};b.wrap=function(a,c){return function(){var d=[a].concat(b.toArray(arguments));return c.apply(c,d)}};b.compose=function(){var a=b.toArray(arguments);return function(){for(var c=b.toArray(arguments),d=a.length-1;d>=0;d--)c=[a[d].apply(this,c)];return c[0]}};b.keys=function(a){if(b.isArray(a))return b.range(0,a.length); +var c=[];for(var d in a)q.call(a,d)&&c.push(d);return c};b.values=function(a){return b.map(a,b.identity)};b.functions=function(a){return b.select(b.keys(a),function(c){return b.isFunction(a[c])}).sort()};b.extend=function(a,c){for(var d in c)a[d]=c[d];return a};b.clone=function(a){if(b.isArray(a))return a.slice(0);return b.extend({},a)};b.tap=function(a,c){c(a);return a};b.isEqual=function(a,c){if(a===c)return true;var d=typeof a;if(d!=typeof c)return false;if(a==c)return true;if(!a&&c||a&&!c)return false; +if(a.isEqual)return a.isEqual(c);if(b.isDate(a)&&b.isDate(c))return a.getTime()===c.getTime();if(b.isNaN(a)&&b.isNaN(c))return true;if(b.isRegExp(a)&&b.isRegExp(c))return a.source===c.source&&a.global===c.global&&a.ignoreCase===c.ignoreCase&&a.multiline===c.multiline;if(d!=="object")return false;if(a.length&&a.length!==c.length)return false;d=b.keys(a);var e=b.keys(c);if(d.length!=e.length)return false;for(var f in a)if(!b.isEqual(a[f],c[f]))return false;return true};b.isEmpty=function(a){return b.keys(a).length== +0};b.isElement=function(a){return!!(a&&a.nodeType==1)};b.isArray=function(a){return!!(a&&a.concat&&a.unshift)};b.isArguments=function(a){return a&&b.isNumber(a.length)&&!b.isArray(a)&&!r.call(a,"length")};b.isFunction=function(a){return!!(a&&a.constructor&&a.call&&a.apply)};b.isString=function(a){return!!(a===""||a&&a.charCodeAt&&a.substr)};b.isNumber=function(a){return p.call(a)==="[object Number]"};b.isDate=function(a){return!!(a&&a.getTimezoneOffset&&a.setUTCFullYear)};b.isRegExp=function(a){return!!(a&& +a.test&&a.exec&&(a.ignoreCase||a.ignoreCase===false))};b.isNaN=function(a){return b.isNumber(a)&&isNaN(a)};b.isNull=function(a){return a===null};b.isUndefined=function(a){return typeof a=="undefined"};b.noConflict=function(){j._=n;return this};b.identity=function(a){return a};b.breakLoop=function(){throw m;};var s=0;b.uniqueId=function(a){var c=s++;return a?a+c:c};b.template=function(a,c){a=new Function("obj","var p=[],print=function(){p.push.apply(p,arguments);};with(obj){p.push('"+a.replace(/[\r\t\n]/g, +" ").replace(/'(?=[^%]*%>)/g,"\t").split("'").join("\\'").split("\t").join("'").replace(/<%=(.+?)%>/g,"',$1,'").split("<%").join("');").split("%>").join("p.push('")+"');}return p.join('');");return c?a(c):a};b.forEach=b.each;b.foldl=b.inject=b.reduce;b.foldr=b.reduceRight;b.filter=b.select;b.every=b.all;b.some=b.any;b.head=b.first;b.tail=b.rest;b.methods=b.functions;var l=function(a,c){return c?b(a).chain():a};b.each(b.functions(b),function(a){var c=b[a];i.prototype[a]=function(){var d=b.toArray(arguments); +o.call(d,this._wrapped);return l(c.apply(b,d),this._chain)}});b.each(["pop","push","reverse","shift","sort","splice","unshift"],function(a){var c=Array.prototype[a];i.prototype[a]=function(){c.apply(this._wrapped,arguments);return l(this._wrapped,this._chain)}});b.each(["concat","join","slice"],function(a){var c=Array.prototype[a];i.prototype[a]=function(){return l(c.apply(this._wrapped,arguments),this._chain)}});i.prototype.chain=function(){this._chain=true;return this};i.prototype.value=function(){return this._wrapped}})(); diff --git a/_static/up-pressed.png b/_static/up-pressed.png new file mode 100644 index 0000000000000000000000000000000000000000..8bd587afee2fe38989383ff82010147ea56b93dd GIT binary patch literal 372 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`jKx9jP7LeL$-D$|*pj^6U4S$Y z{B+)352QE?JR*yM+OLB!qm#z$3ZNi+iKnkC`z>}Z1|5lxjZvvUp)Z~;jv*GO&raT- z#pEb(tbY1#Ey4dH;Y+=<pEBRLsjGAOCY!v|CyvUA4wrPfZ{O_DPe^{q91)qJXqI&@ zO~JiL+CN7oqU^@cvS+{3Bz9yAOB-!e{LTNlK+)ab|H>wAPPMA->(Ug=YM6W%tgKtA zI`O=0Laf#Y-Y4f~`^K_)D_mvj{B=4?=t!I41ZLNlI~j_4kE*^nvF$)|>mH^X%(>6c z8XimFvvIAOoRJf!>6jzIa5w(S%7lxdZ{*qJxhxpj6S#UB!oTuMX^Z^6%)IfT_v-!3 z=PEaM_iSh6_`s$!$NaEMP6gw<x#pX-zc1lmBOrZAdYY~+^N*K~{#DY`%7Ol8@O1Ta JS?83{1OR?3hMxcc literal 0 HcmV?d00001 diff --git a/_static/up.png b/_static/up.png new file mode 100644 index 0000000000000000000000000000000000000000..b94625680b4a4b9647c3a6f3f283776930696aa9 GIT binary patch literal 363 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`jKx9jP7LeL$-D$|*pj^6U4S$Y z{B+)352QE?JR*yM+OLB!qm#z$3ZNi+iKnkC`z>}xaYa3wv(2tRq1T=+jv*GO&raUx z$K)u`w*Tuor>1}ySNCesuPuG-8#b%jw0sn-5fpk^!623V@1GR6+<`78?&Rhov&jx6 z*R7KttIVGJ=8yH~|HhI(uB&NIpYp$LXT}M`Z<Dv|Q9O9-{p!t<9#srg4(I=_Xg%_r zaf7X90Rxxu?X9UB7>)D=?%dxpN#UiKM#HZsJK4DUm#Y3a5!dMF634rTxz_l%hvABb z(=Pc<$5*Xj@eE$@$89c0_oa>Y5;`&;INvn7C-9xQbH92`*_(~*lcvS}m5Z2pGdgKc z>;tJC%=6B^QS*>ubT+QGD)v`9z&&Y`y-xHu*7vDC$|9@xfdY)d)78&qol`;+01iQm A<^TWy literal 0 HcmV?d00001 diff --git a/_static/websupport.js b/_static/websupport.js new file mode 100644 index 00000000..e9bd1b85 --- /dev/null +++ b/_static/websupport.js @@ -0,0 +1,808 @@ +/* + * websupport.js + * ~~~~~~~~~~~~~ + * + * sphinx.websupport utilties for all documentation. + * + * :copyright: Copyright 2007-2011 by the Sphinx team, see AUTHORS. + * :license: BSD, see LICENSE for details. + * + */ + +(function($) { + $.fn.autogrow = function() { + return this.each(function() { + var textarea = this; + + $.fn.autogrow.resize(textarea); + + $(textarea) + .focus(function() { + textarea.interval = setInterval(function() { + $.fn.autogrow.resize(textarea); + }, 500); + }) + .blur(function() { + clearInterval(textarea.interval); + }); + }); + }; + + $.fn.autogrow.resize = function(textarea) { + var lineHeight = parseInt($(textarea).css('line-height'), 10); + var lines = textarea.value.split('\n'); + var columns = textarea.cols; + var lineCount = 0; + $.each(lines, function() { + lineCount += Math.ceil(this.length / columns) || 1; + }); + var height = lineHeight * (lineCount + 1); + $(textarea).css('height', height); + }; +})(jQuery); + +(function($) { + var comp, by; + + function init() { + initEvents(); + initComparator(); + } + + function initEvents() { + $('a.comment-close').live("click", function(event) { + event.preventDefault(); + hide($(this).attr('id').substring(2)); + }); + $('a.vote').live("click", function(event) { + event.preventDefault(); + handleVote($(this)); + }); + $('a.reply').live("click", function(event) { + event.preventDefault(); + openReply($(this).attr('id').substring(2)); + }); + $('a.close-reply').live("click", function(event) { + event.preventDefault(); + closeReply($(this).attr('id').substring(2)); + }); + $('a.sort-option').live("click", function(event) { + event.preventDefault(); + handleReSort($(this)); + }); + $('a.show-proposal').live("click", function(event) { + event.preventDefault(); + showProposal($(this).attr('id').substring(2)); + }); + $('a.hide-proposal').live("click", function(event) { + event.preventDefault(); + hideProposal($(this).attr('id').substring(2)); + }); + $('a.show-propose-change').live("click", function(event) { + event.preventDefault(); + showProposeChange($(this).attr('id').substring(2)); + }); + $('a.hide-propose-change').live("click", function(event) { + event.preventDefault(); + hideProposeChange($(this).attr('id').substring(2)); + }); + $('a.accept-comment').live("click", function(event) { + event.preventDefault(); + acceptComment($(this).attr('id').substring(2)); + }); + $('a.delete-comment').live("click", function(event) { + event.preventDefault(); + deleteComment($(this).attr('id').substring(2)); + }); + $('a.comment-markup').live("click", function(event) { + event.preventDefault(); + toggleCommentMarkupBox($(this).attr('id').substring(2)); + }); + } + + /** + * Set comp, which is a comparator function used for sorting and + * inserting comments into the list. + */ + function setComparator() { + // If the first three letters are "asc", sort in ascending order + // and remove the prefix. + if (by.substring(0,3) == 'asc') { + var i = by.substring(3); + comp = function(a, b) { return a[i] - b[i]; }; + } else { + // Otherwise sort in descending order. + comp = function(a, b) { return b[by] - a[by]; }; + } + + // Reset link styles and format the selected sort option. + $('a.sel').attr('href', '#').removeClass('sel'); + $('a.by' + by).removeAttr('href').addClass('sel'); + } + + /** + * Create a comp function. If the user has preferences stored in + * the sortBy cookie, use those, otherwise use the default. + */ + function initComparator() { + by = 'rating'; // Default to sort by rating. + // If the sortBy cookie is set, use that instead. + if (document.cookie.length > 0) { + var start = document.cookie.indexOf('sortBy='); + if (start != -1) { + start = start + 7; + var end = document.cookie.indexOf(";", start); + if (end == -1) { + end = document.cookie.length; + by = unescape(document.cookie.substring(start, end)); + } + } + } + setComparator(); + } + + /** + * Show a comment div. + */ + function show(id) { + $('#ao' + id).hide(); + $('#ah' + id).show(); + var context = $.extend({id: id}, opts); + var popup = $(renderTemplate(popupTemplate, context)).hide(); + popup.find('textarea[name="proposal"]').hide(); + popup.find('a.by' + by).addClass('sel'); + var form = popup.find('#cf' + id); + form.submit(function(event) { + event.preventDefault(); + addComment(form); + }); + $('#s' + id).after(popup); + popup.slideDown('fast', function() { + getComments(id); + }); + } + + /** + * Hide a comment div. + */ + function hide(id) { + $('#ah' + id).hide(); + $('#ao' + id).show(); + var div = $('#sc' + id); + div.slideUp('fast', function() { + div.remove(); + }); + } + + /** + * Perform an ajax request to get comments for a node + * and insert the comments into the comments tree. + */ + function getComments(id) { + $.ajax({ + type: 'GET', + url: opts.getCommentsURL, + data: {node: id}, + success: function(data, textStatus, request) { + var ul = $('#cl' + id); + var speed = 100; + $('#cf' + id) + .find('textarea[name="proposal"]') + .data('source', data.source); + + if (data.comments.length === 0) { + ul.html('<li>No comments yet.</li>'); + ul.data('empty', true); + } else { + // If there are comments, sort them and put them in the list. + var comments = sortComments(data.comments); + speed = data.comments.length * 100; + appendComments(comments, ul); + ul.data('empty', false); + } + $('#cn' + id).slideUp(speed + 200); + ul.slideDown(speed); + }, + error: function(request, textStatus, error) { + showError('Oops, there was a problem retrieving the comments.'); + }, + dataType: 'json' + }); + } + + /** + * Add a comment via ajax and insert the comment into the comment tree. + */ + function addComment(form) { + var node_id = form.find('input[name="node"]').val(); + var parent_id = form.find('input[name="parent"]').val(); + var text = form.find('textarea[name="comment"]').val(); + var proposal = form.find('textarea[name="proposal"]').val(); + + if (text == '') { + showError('Please enter a comment.'); + return; + } + + // Disable the form that is being submitted. + form.find('textarea,input').attr('disabled', 'disabled'); + + // Send the comment to the server. + $.ajax({ + type: "POST", + url: opts.addCommentURL, + dataType: 'json', + data: { + node: node_id, + parent: parent_id, + text: text, + proposal: proposal + }, + success: function(data, textStatus, error) { + // Reset the form. + if (node_id) { + hideProposeChange(node_id); + } + form.find('textarea') + .val('') + .add(form.find('input')) + .removeAttr('disabled'); + var ul = $('#cl' + (node_id || parent_id)); + if (ul.data('empty')) { + $(ul).empty(); + ul.data('empty', false); + } + insertComment(data.comment); + var ao = $('#ao' + node_id); + ao.find('img').attr({'src': opts.commentBrightImage}); + if (node_id) { + // if this was a "root" comment, remove the commenting box + // (the user can get it back by reopening the comment popup) + $('#ca' + node_id).slideUp(); + } + }, + error: function(request, textStatus, error) { + form.find('textarea,input').removeAttr('disabled'); + showError('Oops, there was a problem adding the comment.'); + } + }); + } + + /** + * Recursively append comments to the main comment list and children + * lists, creating the comment tree. + */ + function appendComments(comments, ul) { + $.each(comments, function() { + var div = createCommentDiv(this); + ul.append($(document.createElement('li')).html(div)); + appendComments(this.children, div.find('ul.comment-children')); + // To avoid stagnating data, don't store the comments children in data. + this.children = null; + div.data('comment', this); + }); + } + + /** + * After adding a new comment, it must be inserted in the correct + * location in the comment tree. + */ + function insertComment(comment) { + var div = createCommentDiv(comment); + + // To avoid stagnating data, don't store the comments children in data. + comment.children = null; + div.data('comment', comment); + + var ul = $('#cl' + (comment.node || comment.parent)); + var siblings = getChildren(ul); + + var li = $(document.createElement('li')); + li.hide(); + + // Determine where in the parents children list to insert this comment. + for(i=0; i < siblings.length; i++) { + if (comp(comment, siblings[i]) <= 0) { + $('#cd' + siblings[i].id) + .parent() + .before(li.html(div)); + li.slideDown('fast'); + return; + } + } + + // If we get here, this comment rates lower than all the others, + // or it is the only comment in the list. + ul.append(li.html(div)); + li.slideDown('fast'); + } + + function acceptComment(id) { + $.ajax({ + type: 'POST', + url: opts.acceptCommentURL, + data: {id: id}, + success: function(data, textStatus, request) { + $('#cm' + id).fadeOut('fast'); + $('#cd' + id).removeClass('moderate'); + }, + error: function(request, textStatus, error) { + showError('Oops, there was a problem accepting the comment.'); + } + }); + } + + function deleteComment(id) { + $.ajax({ + type: 'POST', + url: opts.deleteCommentURL, + data: {id: id}, + success: function(data, textStatus, request) { + var div = $('#cd' + id); + if (data == 'delete') { + // Moderator mode: remove the comment and all children immediately + div.slideUp('fast', function() { + div.remove(); + }); + return; + } + // User mode: only mark the comment as deleted + div + .find('span.user-id:first') + .text('[deleted]').end() + .find('div.comment-text:first') + .text('[deleted]').end() + .find('#cm' + id + ', #dc' + id + ', #ac' + id + ', #rc' + id + + ', #sp' + id + ', #hp' + id + ', #cr' + id + ', #rl' + id) + .remove(); + var comment = div.data('comment'); + comment.username = '[deleted]'; + comment.text = '[deleted]'; + div.data('comment', comment); + }, + error: function(request, textStatus, error) { + showError('Oops, there was a problem deleting the comment.'); + } + }); + } + + function showProposal(id) { + $('#sp' + id).hide(); + $('#hp' + id).show(); + $('#pr' + id).slideDown('fast'); + } + + function hideProposal(id) { + $('#hp' + id).hide(); + $('#sp' + id).show(); + $('#pr' + id).slideUp('fast'); + } + + function showProposeChange(id) { + $('#pc' + id).hide(); + $('#hc' + id).show(); + var textarea = $('#pt' + id); + textarea.val(textarea.data('source')); + $.fn.autogrow.resize(textarea[0]); + textarea.slideDown('fast'); + } + + function hideProposeChange(id) { + $('#hc' + id).hide(); + $('#pc' + id).show(); + var textarea = $('#pt' + id); + textarea.val('').removeAttr('disabled'); + textarea.slideUp('fast'); + } + + function toggleCommentMarkupBox(id) { + $('#mb' + id).toggle(); + } + + /** Handle when the user clicks on a sort by link. */ + function handleReSort(link) { + var classes = link.attr('class').split(/\s+/); + for (var i=0; i<classes.length; i++) { + if (classes[i] != 'sort-option') { + by = classes[i].substring(2); + } + } + setComparator(); + // Save/update the sortBy cookie. + var expiration = new Date(); + expiration.setDate(expiration.getDate() + 365); + document.cookie= 'sortBy=' + escape(by) + + ';expires=' + expiration.toUTCString(); + $('ul.comment-ul').each(function(index, ul) { + var comments = getChildren($(ul), true); + comments = sortComments(comments); + appendComments(comments, $(ul).empty()); + }); + } + + /** + * Function to process a vote when a user clicks an arrow. + */ + function handleVote(link) { + if (!opts.voting) { + showError("You'll need to login to vote."); + return; + } + + var id = link.attr('id'); + if (!id) { + // Didn't click on one of the voting arrows. + return; + } + // If it is an unvote, the new vote value is 0, + // Otherwise it's 1 for an upvote, or -1 for a downvote. + var value = 0; + if (id.charAt(1) != 'u') { + value = id.charAt(0) == 'u' ? 1 : -1; + } + // The data to be sent to the server. + var d = { + comment_id: id.substring(2), + value: value + }; + + // Swap the vote and unvote links. + link.hide(); + $('#' + id.charAt(0) + (id.charAt(1) == 'u' ? 'v' : 'u') + d.comment_id) + .show(); + + // The div the comment is displayed in. + var div = $('div#cd' + d.comment_id); + var data = div.data('comment'); + + // If this is not an unvote, and the other vote arrow has + // already been pressed, unpress it. + if ((d.value !== 0) && (data.vote === d.value * -1)) { + $('#' + (d.value == 1 ? 'd' : 'u') + 'u' + d.comment_id).hide(); + $('#' + (d.value == 1 ? 'd' : 'u') + 'v' + d.comment_id).show(); + } + + // Update the comments rating in the local data. + data.rating += (data.vote === 0) ? d.value : (d.value - data.vote); + data.vote = d.value; + div.data('comment', data); + + // Change the rating text. + div.find('.rating:first') + .text(data.rating + ' point' + (data.rating == 1 ? '' : 's')); + + // Send the vote information to the server. + $.ajax({ + type: "POST", + url: opts.processVoteURL, + data: d, + error: function(request, textStatus, error) { + showError('Oops, there was a problem casting that vote.'); + } + }); + } + + /** + * Open a reply form used to reply to an existing comment. + */ + function openReply(id) { + // Swap out the reply link for the hide link + $('#rl' + id).hide(); + $('#cr' + id).show(); + + // Add the reply li to the children ul. + var div = $(renderTemplate(replyTemplate, {id: id})).hide(); + $('#cl' + id) + .prepend(div) + // Setup the submit handler for the reply form. + .find('#rf' + id) + .submit(function(event) { + event.preventDefault(); + addComment($('#rf' + id)); + closeReply(id); + }) + .find('input[type=button]') + .click(function() { + closeReply(id); + }); + div.slideDown('fast', function() { + $('#rf' + id).find('textarea').focus(); + }); + } + + /** + * Close the reply form opened with openReply. + */ + function closeReply(id) { + // Remove the reply div from the DOM. + $('#rd' + id).slideUp('fast', function() { + $(this).remove(); + }); + + // Swap out the hide link for the reply link + $('#cr' + id).hide(); + $('#rl' + id).show(); + } + + /** + * Recursively sort a tree of comments using the comp comparator. + */ + function sortComments(comments) { + comments.sort(comp); + $.each(comments, function() { + this.children = sortComments(this.children); + }); + return comments; + } + + /** + * Get the children comments from a ul. If recursive is true, + * recursively include childrens' children. + */ + function getChildren(ul, recursive) { + var children = []; + ul.children().children("[id^='cd']") + .each(function() { + var comment = $(this).data('comment'); + if (recursive) + comment.children = getChildren($(this).find('#cl' + comment.id), true); + children.push(comment); + }); + return children; + } + + /** Create a div to display a comment in. */ + function createCommentDiv(comment) { + if (!comment.displayed && !opts.moderator) { + return $('<div class="moderate">Thank you! Your comment will show up ' + + 'once it is has been approved by a moderator.</div>'); + } + // Prettify the comment rating. + comment.pretty_rating = comment.rating + ' point' + + (comment.rating == 1 ? '' : 's'); + // Make a class (for displaying not yet moderated comments differently) + comment.css_class = comment.displayed ? '' : ' moderate'; + // Create a div for this comment. + var context = $.extend({}, opts, comment); + var div = $(renderTemplate(commentTemplate, context)); + + // If the user has voted on this comment, highlight the correct arrow. + if (comment.vote) { + var direction = (comment.vote == 1) ? 'u' : 'd'; + div.find('#' + direction + 'v' + comment.id).hide(); + div.find('#' + direction + 'u' + comment.id).show(); + } + + if (opts.moderator || comment.text != '[deleted]') { + div.find('a.reply').show(); + if (comment.proposal_diff) + div.find('#sp' + comment.id).show(); + if (opts.moderator && !comment.displayed) + div.find('#cm' + comment.id).show(); + if (opts.moderator || (opts.username == comment.username)) + div.find('#dc' + comment.id).show(); + } + return div; + } + + /** + * A simple template renderer. Placeholders such as <%id%> are replaced + * by context['id'] with items being escaped. Placeholders such as <#id#> + * are not escaped. + */ + function renderTemplate(template, context) { + var esc = $(document.createElement('div')); + + function handle(ph, escape) { + var cur = context; + $.each(ph.split('.'), function() { + cur = cur[this]; + }); + return escape ? esc.text(cur || "").html() : cur; + } + + return template.replace(/<([%#])([\w\.]*)\1>/g, function() { + return handle(arguments[2], arguments[1] == '%' ? true : false); + }); + } + + /** Flash an error message briefly. */ + function showError(message) { + $(document.createElement('div')).attr({'class': 'popup-error'}) + .append($(document.createElement('div')) + .attr({'class': 'error-message'}).text(message)) + .appendTo('body') + .fadeIn("slow") + .delay(2000) + .fadeOut("slow"); + } + + /** Add a link the user uses to open the comments popup. */ + $.fn.comment = function() { + return this.each(function() { + var id = $(this).attr('id').substring(1); + var count = COMMENT_METADATA[id]; + var title = count + ' comment' + (count == 1 ? '' : 's'); + var image = count > 0 ? opts.commentBrightImage : opts.commentImage; + var addcls = count == 0 ? ' nocomment' : ''; + $(this) + .append( + $(document.createElement('a')).attr({ + href: '#', + 'class': 'sphinx-comment-open' + addcls, + id: 'ao' + id + }) + .append($(document.createElement('img')).attr({ + src: image, + alt: 'comment', + title: title + })) + .click(function(event) { + event.preventDefault(); + show($(this).attr('id').substring(2)); + }) + ) + .append( + $(document.createElement('a')).attr({ + href: '#', + 'class': 'sphinx-comment-close hidden', + id: 'ah' + id + }) + .append($(document.createElement('img')).attr({ + src: opts.closeCommentImage, + alt: 'close', + title: 'close' + })) + .click(function(event) { + event.preventDefault(); + hide($(this).attr('id').substring(2)); + }) + ); + }); + }; + + var opts = { + processVoteURL: '/_process_vote', + addCommentURL: '/_add_comment', + getCommentsURL: '/_get_comments', + acceptCommentURL: '/_accept_comment', + deleteCommentURL: '/_delete_comment', + commentImage: '/static/_static/comment.png', + closeCommentImage: '/static/_static/comment-close.png', + loadingImage: '/static/_static/ajax-loader.gif', + commentBrightImage: '/static/_static/comment-bright.png', + upArrow: '/static/_static/up.png', + downArrow: '/static/_static/down.png', + upArrowPressed: '/static/_static/up-pressed.png', + downArrowPressed: '/static/_static/down-pressed.png', + voting: false, + moderator: false + }; + + if (typeof COMMENT_OPTIONS != "undefined") { + opts = jQuery.extend(opts, COMMENT_OPTIONS); + } + + var popupTemplate = '\ + <div class="sphinx-comments" id="sc<%id%>">\ + <p class="sort-options">\ + Sort by:\ + <a href="#" class="sort-option byrating">best rated</a>\ + <a href="#" class="sort-option byascage">newest</a>\ + <a href="#" class="sort-option byage">oldest</a>\ + </p>\ + <div class="comment-header">Comments</div>\ + <div class="comment-loading" id="cn<%id%>">\ + loading comments... <img src="<%loadingImage%>" alt="" /></div>\ + <ul id="cl<%id%>" class="comment-ul"></ul>\ + <div id="ca<%id%>">\ + <p class="add-a-comment">Add a comment\ + (<a href="#" class="comment-markup" id="ab<%id%>">markup</a>):</p>\ + <div class="comment-markup-box" id="mb<%id%>">\ + reStructured text markup: <i>*emph*</i>, <b>**strong**</b>, \ + <tt>``code``</tt>, \ + code blocks: <tt>::</tt> and an indented block after blank line</div>\ + <form method="post" id="cf<%id%>" class="comment-form" action="">\ + <textarea name="comment" cols="80"></textarea>\ + <p class="propose-button">\ + <a href="#" id="pc<%id%>" class="show-propose-change">\ + Propose a change ▹\ + </a>\ + <a href="#" id="hc<%id%>" class="hide-propose-change">\ + Propose a change ▿\ + </a>\ + </p>\ + <textarea name="proposal" id="pt<%id%>" cols="80"\ + spellcheck="false"></textarea>\ + <input type="submit" value="Add comment" />\ + <input type="hidden" name="node" value="<%id%>" />\ + <input type="hidden" name="parent" value="" />\ + </form>\ + </div>\ + </div>'; + + var commentTemplate = '\ + <div id="cd<%id%>" class="sphinx-comment<%css_class%>">\ + <div class="vote">\ + <div class="arrow">\ + <a href="#" id="uv<%id%>" class="vote" title="vote up">\ + <img src="<%upArrow%>" />\ + </a>\ + <a href="#" id="uu<%id%>" class="un vote" title="vote up">\ + <img src="<%upArrowPressed%>" />\ + </a>\ + </div>\ + <div class="arrow">\ + <a href="#" id="dv<%id%>" class="vote" title="vote down">\ + <img src="<%downArrow%>" id="da<%id%>" />\ + </a>\ + <a href="#" id="du<%id%>" class="un vote" title="vote down">\ + <img src="<%downArrowPressed%>" />\ + </a>\ + </div>\ + </div>\ + <div class="comment-content">\ + <p class="tagline comment">\ + <span class="user-id"><%username%></span>\ + <span class="rating"><%pretty_rating%></span>\ + <span class="delta"><%time.delta%></span>\ + </p>\ + <div class="comment-text comment"><#text#></div>\ + <p class="comment-opts comment">\ + <a href="#" class="reply hidden" id="rl<%id%>">reply ▹</a>\ + <a href="#" class="close-reply" id="cr<%id%>">reply ▿</a>\ + <a href="#" id="sp<%id%>" class="show-proposal">proposal ▹</a>\ + <a href="#" id="hp<%id%>" class="hide-proposal">proposal ▿</a>\ + <a href="#" id="dc<%id%>" class="delete-comment hidden">delete</a>\ + <span id="cm<%id%>" class="moderation hidden">\ + <a href="#" id="ac<%id%>" class="accept-comment">accept</a>\ + </span>\ + </p>\ + <pre class="proposal" id="pr<%id%>">\ +<#proposal_diff#>\ + </pre>\ + <ul class="comment-children" id="cl<%id%>"></ul>\ + </div>\ + <div class="clearleft"></div>\ + </div>\ + </div>'; + + var replyTemplate = '\ + <li>\ + <div class="reply-div" id="rd<%id%>">\ + <form id="rf<%id%>">\ + <textarea name="comment" cols="80"></textarea>\ + <input type="submit" value="Add reply" />\ + <input type="button" value="Cancel" />\ + <input type="hidden" name="parent" value="<%id%>" />\ + <input type="hidden" name="node" value="" />\ + </form>\ + </div>\ + </li>'; + + $(document).ready(function() { + init(); + }); +})(jQuery); + +$(document).ready(function() { + // add comment anchors for all paragraphs that are commentable + $('.sphinx-has-comment').comment(); + + // highlight search words in search results + $("div.context").each(function() { + var params = $.getQueryParameters(); + var terms = (params.q) ? params.q[0].split(/\s+/) : []; + var result = $(this); + $.each(terms, function() { + result.highlightText(this.toLowerCase(), 'highlighted'); + }); + }); + + // directly open comment window if requested + var anchor = document.location.hash; + if (anchor.substring(0, 9) == '#comment-') { + $('#ao' + anchor.substring(9)).click(); + document.location.hash = '#s' + anchor.substring(9); + } +}); diff --git a/advanced.html b/advanced.html new file mode 100644 index 00000000..271370cd --- /dev/null +++ b/advanced.html @@ -0,0 +1,217 @@ + +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> + + +<html xmlns="http://www.w3.org/1999/xhtml"> + <head> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> + + <title>Advanced Usage — jrnl 1.7.6 documentation + + + + + + + + + + + + + + + + + + + +
+
+
+
+ +
+

Advanced Usage

+
+

Configuration File

+

You can configure the way jrnl behaves in a configuration file. By default, this is ~/.jrnl_config. If you have the XDG_CONFIG_HOME variable set, the configuration file will be saved under $XDG_CONFIG_HOME/jrnl.

+
+

Note

+

On Windows, The configuration file is typically found at C:\Users\[Your Username]\.jrnl_config.

+
+

The configuration file is a simple JSON file with the following options and can be edited with any plain text editor.

+
    +
  • +
    journals
    +

    paths to your journal files

    +
    +
    +
  • +
  • +
    editor
    +

    if set, executes this command to launch an external editor for writing your entries, e.g. vim. Some editors require special options to work properly, see FAQ for details.

    +
    +
    +
  • +
  • +
    encrypt
    +

    if true, encrypts your journal using AES.

    +
    +
    +
  • +
  • +
    tagsymbols
    +

    Symbols to be interpreted as tags. (See note below)

    +
    +
    +
  • +
  • +
    default_hour and default_minute
    +

    if you supply a date, such as last thursday, but no specific time, the entry will be created at this time

    +
    +
    +
  • +
  • +
    timeformat
    +

    how to format the timestamps in your journal, see the python docs for reference

    +
    +
    +
  • +
  • +
    highlight
    +

    if true, tags will be highlighted in cyan.

    +
    +
    +
  • +
  • +
    linewrap
    +

    controls the width of the output. Set to false if you don’t want to wrap long lines.

    +
    +
    +
  • +
+
+

Note

+

Although it seems intuitive to use the # character for tags, there’s a drawback: on most shells, this is interpreted as a meta-character starting a comment. This means that if you type

+
jrnl Implemented endless scrolling on the #frontend of our website.
+
+

your bash will chop off everything after the # before passing it to _jrnl_). To avoid this, wrap your input into quotation marks like this:

+
jrnl "Implemented endless scrolling on the #frontend of our website."
+
+

Or use the built-in prompt or an external editor to compose your entries.

+
+
+
+

DayOne Integration

+

Using your DayOne journal instead of a flat text file is dead simple – instead of pointing to a text file, change your .jrnl_config to point to your DayOne journal. This is a folder ending with .dayone, and it’s located at

+
    +
  • ~/Library/Application Support/Day One/ by default
  • +
  • ~/Dropbox/Apps/Day One/ if you’re syncing with Dropbox and
  • +
  • ~/Library/Mobile Documents/5U8NS4GX82~com~dayoneapp~dayone/Documents/ if you’re syncing with iCloud.
  • +
+

Instead of all entries being in a single file, each entry will live in a separate plist file.

+
+
+

Multiple journal files

+

You can configure _jrnl_ to use with multiple journals (eg. private and work) by defining more journals in your .jrnl_config, for example:

+
{
+...
+  "journals": {
+    "default": "~/journal.txt",
+    "work":    "~/work.txt"
+  }
+}
+
+
+

The default journal gets created the first time you start _jrnl_. Now you can access the work journal by using jrnl work instead of jrnl, eg.

+
jrnl work at 10am: Meeting with @Steve
+
+
jrnl work -n 3
+
+

will both use ~/work.txt, while jrnl -n 3 will display the last three entries from ~/journal.txt (and so does jrnl default -n 3).

+

You can also override the default options for each individual journal. If you .jrnl_config looks like this:

+
{
+  ...
+  "encrypt": false
+  "journals": {
+    "default": "~/journal.txt",
+    "work": {
+      "journal": "~/work.txt",
+      "encrypt": true
+    },
+    "food": "~/my_recipes.txt",
+}
+
+
+

Your default and your food journals won’t be encrypted, however your work journal will! You can override all options that are present at the top level of .jrnl_config, just make sure that at the very least you specify a "journal": ... key that points to the journal file of that journal.

+
+

Note

+

Changing encrypt to a different value will not encrypt or decrypt your journal file, it merely says whether or not your journal is encrypted. Hence manually changing this option will most likely result in your journal file being impossible to load.

+
+
+

Known Issues

+
    +
  • The Windows shell prior to Windows 7 has issues with unicode encoding. If you want to use non-ascii characters, change the codepage with chcp 1252 before using jrnl (Thanks to Yves Pouplard for solving this!)
  • +
  • _jrnl_ relies on the PyCrypto package to encrypt journals, which has some known problems with installing on Windows and within virtual environments.
  • +
+
+
+
+ + +
+
+
+ + +
+
+ + + \ No newline at end of file diff --git a/encryption.html b/encryption.html new file mode 100644 index 00000000..64d39cd0 --- /dev/null +++ b/encryption.html @@ -0,0 +1,119 @@ + + + + + + + + + Encryption — jrnl 1.7.6 documentation + + + + + + + + + + + + + + + + + + + +
+
+
+
+ +
+

Encryption

+
+

Encrypting and decrypting

+

If you don’t choose to encrypt your file when you run jrnl for the first time, you can encrypt your existing journal file or change its password using

+
jrnl --encrypt
+
+
+

If it is already encrypted, you will first be asked for the current password. You can then enter a new password and your plain journal will replaced by the encrypted file. Conversely,

+
jrnl --decrypt
+
+
+

will replace your encrypted journal file by a Journal in plain text. You can also specify a filename, ie. jrnl --decrypt plain_text_copy.txt, to leave your original file untouched.

+
+
+

Storing passwords in your keychain

+

Whenever you encrypt your journal, you are asked whether you want to store the encryption password in your keychain. If you do this, you won’t have to enter your password every time you want to write or read your journal.

+

If you don’t initially store the password in the keychain but decide to do so at a later point – or maybe want to store it on one computer but not on another – you can simply run jrnl --encrypt on an encrypted journal and use the same password again.

+
+
+

Manual decryption

+

Should you ever want to decrypt your journal manually, you can do so with any program that supports the AES algorithm. The key used for encryption is the SHA-256-hash of your password, and the IV (initialisation vector) is stored in the first 16 bytes of the encrypted file. So, to decrypt a journal file in python, run:

+
import hashlib, Crypto.Cipher
+key = hashlib.sha256(my_password).digest()
+with open("my_journal.txt") as f:
+    cipher = f.read()
+    crypto = AES.new(key, AES.MODE_CBC, iv = cipher[:16])
+    plain = crypto.decrypt(cipher[16:])
+
+
+
+
+ + +
+
+
+ + +
+
+ + + \ No newline at end of file diff --git a/export.html b/export.html new file mode 100644 index 00000000..9d8e88a4 --- /dev/null +++ b/export.html @@ -0,0 +1,143 @@ + + + + + + + + + Import and Export — jrnl 1.7.6 documentation + + + + + + + + + + + + + + + + + + + +
+
+
+
+ +
+

Import and Export

+
+

Tag export

+

With:

+
jrnl --tags
+
+
+

you’ll get a list of all tags you used in your journal, sorted by most frequent. Tags occurring several times in the same entry are only counted as one.

+
+
+

List of all entries

+
jrnl --short
+
+
+

Will only display the date and title of each entry.

+
+
+

JSON export

+

Can do:

+
jrnl --export json
+
+

Why not create a beautiful timeline of your journal?

+
+
+

Markdown export

+

Use:

+
jrnl --export markdown
+
+

Markdown is a simple markup language that is human readable and can be used to be rendered to other formats (html, pdf). This README for example is formatted in markdown and github makes it look nice.

+
+
+

Text export

+
jrnl --export text
+
+

Pretty-prints your entire journal.

+
+
+

Export to files

+

You can specify the output file of your exported journal using the -o argument:

+
jrnl --export md -o journal.md
+
+

The above command will generate a file named journal.md. If the -o argument is a directory, jrnl will export each entry into an individual file:

+
jrnl --export json -o my_entries/
+
+

The contents of my_entries/ will then look like this:

+
my_entries/
+|- 2013_06_03_a-beautiful-day.json
+|- 2013_06_07_dinner-with-gabriel.json
+|- ...
+
+
+
+ + +
+
+
+ + +
+
+ + + \ No newline at end of file diff --git a/genindex.html b/genindex.html new file mode 100644 index 00000000..1dbdd5b5 --- /dev/null +++ b/genindex.html @@ -0,0 +1,88 @@ + + + + + + + + + + + Index — jrnl 1.7.6 documentation + + + + + + + + + + + + + + + + + +
+
+
+
+ + +

Index

+ +
+ +
+ + +
+
+
+ + +
+
+ + + \ No newline at end of file diff --git a/index.html b/index.html new file mode 100644 index 00000000..8b93ff2b --- /dev/null +++ b/index.html @@ -0,0 +1,95 @@ + + + + + + + + + + + jrnl- The Command Line Journal + + + + + + + + + + +
+ Tell your friends +
+ +

Collect your thoughts and notes
without leaving the command line

+
+
+
+
$ jrnl today: Started writing my memoirs. On the command line. Like a boss.
+
+
+
+ +
+
+
+ +

Human friendly.

+

jrnl has a natural-language interface so you don't have to remember cryptic shortcuts when you're writing down your thoughts.

+
+
+ +

Future-proof.

+

your journals are stored in plain-text files that will still be readable in 50 years when all your fancy iPad apps will have gone the way of the Dodo.

+
+
+ +

Secure.

+

Encrypt your journals with the military-grade AES encryption. Even the NSA won't be able to read your dirty secrets.

+
+
+
+
+ +

Accessible anywhere.

+

Sync your journals with Dropbox and capture your thoughts where ever you are

+
+
+ +

DayOne compatible.

+

Read, write and search your DayOne journal from the command line.

+
+
+ +

Free & Open Source.

+

jrnl is made by by a bunch of really nice and remarkably attractive people. Maybe even you?

+
+
+ +

For work and play.

+

Effortlessly access several journals for all parts of your life.

+
+
+ + +
+ + + + + + diff --git a/installation.html b/installation.html new file mode 100644 index 00000000..3a647c3c --- /dev/null +++ b/installation.html @@ -0,0 +1,115 @@ + + + + + + + + + Getting started — jrnl 1.7.6 documentation + + + + + + + + + + + + + + + + + + + +
+
+
+
+ +
+

Getting started

+
+

Installation

+

Install jrnl using pip

+
pip install jrnl
+
+

Or, if you want the option to encrypt your journal,

+
pip install jrnl[encrypted]
+
+

to install the dependencies for encrypting journals as well.

+
+

Note

+

Installing the encryption library, pycrypto, requires a gcc compiler. For this reason, jrnl will not install pycrypto unless explicitly told so like this. You can install PyCyrypto manually first or install it with pip install pycrypto if you have a gcc compiler.

+
+

The first time you run jrnl you will be asked where your journal file should be created and whether you wish to encrypt it.

+
+
+

Quickstart

+

to make a new entry, just type:

+
jrnl yesterday: Called in sick. Used the time to clean the house and spent 4h on writing my book.
+
+

and hit return. yesterday: will be interpreted as a time stamp. Everything until the first sentence mark (.?!:) will be interpreted as the title, the rest as the body. In your journal file, the result will look like this:

+
2012-03-29 09:00 Called in sick.
+Used the time to clean the house and spent 4h on writing my book.
+
+

If you just call jrnl, you will be prompted to compose your entry - but you can also configure jrnl to use your external editor.

+
+
+ + +
+
+
+ + +
+
+ + + \ No newline at end of file diff --git a/objects.inv b/objects.inv new file mode 100644 index 00000000..516f5681 --- /dev/null +++ b/objects.inv @@ -0,0 +1,9 @@ +# Sphinx inventory version 2 +# Project: jrnl +# Version: 1.7.6 +# The remainder of this file is compressed using zlib. +xm +!@~Pׂ +*:DE3l;.j[}TF{VĖn:&:8ӣ2Szd#G9"6$>z&* ŲPl"A0RYʡvPXRtk|H?73Q/ [ +kY n +,u1s1+Jr!$B)J5窭 \ No newline at end of file diff --git a/overview.html b/overview.html new file mode 100644 index 00000000..1050240b --- /dev/null +++ b/overview.html @@ -0,0 +1,101 @@ + + + + + + + + + Overview — jrnl 1.7.6 documentation + + + + + + + + + + + + + + + + + + + +
+
+
+
+ +
+

Overview

+
+

What is jrnl?

+

jrnl is a simple journal application for your command line. Journals are stored as human readable plain text files - you can put them into a Dropbox folder for instant syncing and you can be assured that your journal will still be readable in 2050, when all your fancy iPad journal applications will long be forgotten.

+

jrnl also plays nice with the fabulous DayOne and can read and write directly from and to DayOne Journals.

+

Optionally, your journal can be encrypted using the 256-bit AES.

+
+
+

Why keep a journal?

+

Journals aren’t only for 13-year old girls and people who have too much time on their summer vacation. A journal helps you to keep track of the things you get done and how you did them. Your imagination may be limitless, but your memory isn’t.

+

For personal use, make it a good habit to write at least 20 words a day. Just to reflect what made this day special, why you haven’t wasted it.

+

For professional use, consider a text-based journal to be the perfect complement to your GTD todo list - a documentation of what and how you’ve done it. Or use it as a quick way to keep a change log. Or use it to keep a lab book.

+
+
+ + +
+
+
+ + +
+
+ + + \ No newline at end of file diff --git a/recipes.html b/recipes.html new file mode 100644 index 00000000..b4cc61aa --- /dev/null +++ b/recipes.html @@ -0,0 +1,150 @@ + + + + + + + + + FAQ — jrnl 1.7.6 documentation + + + + + + + + + + + + + + + + + + +
+
+
+
+ +
+

FAQ

+
+

Recipes

+
+

Co-occurrence of tags

+

If I want to find out how often I mentioned my flatmates Alberto and Melo in the same entry, I run

+
jrnl @alberto --tags | grep @melo
+
+

And will get something like @melo: 9, meaning there are 9 entries where both @alberto and @melo are tagged. How does this work? First, jrnl @alberto will filter the journal to only entries containing the tag @alberto, and then the --tags option will print out how often each tag occurred in this filtered journal. Finally, we pipe this to grep which will only display the line containing @melo.

+
+
+

Combining filters

+

You can do things like

+
jrnl @fixed -starred -n 10 -until "jan 2013" --short
+
+

To get a short summary of the 10 most recent, favourited entries before January 1, 2013 that are tagged with @fixed.

+
+
+
+

External editors

+

To use external editors for writing and editing journal entries, set them up in your .jrnl_config (see advanced usage for details). Generally, after writing an entry, you will have to save and close the file to save the changes to jrnl.

+
+

Sublime Text

+

To use Sublime Text, install the command line tools for Sublime Text and configure your .jrnl_config like this:

+
"editor": "subl -w"
+
+
+

Note the -w flag to make sure jrnl waits for Sublime Text to close the file before writing into the journal.

+
+
+

MacVim

+

Similar to Sublime Text, MacVim must be started with a flag that tells the the process to wait until the file is closed before passing control back to journal. In the case of MacVim, this is -f:

+
"editor": "mvim -f"
+
+
+
+
+

iA Writer

+

On OS X, you can use the fabulous iA Writer to write entries. Configure your .jrnl_config like this:

+
"editor": "open -b jp.informationarchitects.WriterForMacOSX -Wn"
+
+
+

What does this do? open -b ... opens a file using the application identified by the bundle identifier (a unique string for every app out there). -Wn tells the application to wait until it’s closed before passing back control, and to use a new instance of the application.

+
+
+

Notepad++ on Windows

+

To set Notepad++ as your editor, edit the jrnl config file (.jrnl_config) like this:

+
"editor": "C:\\Program Files (x86)\\Notepad++\\notepad++.exe -multiInst",
+
+
+

The double backslashes are needed so jrnl can read the file path correctly. The -multiInst option will cause jrnl to open its own Notepad++ window.

+
+
+
+ + +
+
+
+ + +
+
+ + + \ No newline at end of file diff --git a/search.html b/search.html new file mode 100644 index 00000000..0f9307fe --- /dev/null +++ b/search.html @@ -0,0 +1,95 @@ + + + + + + + + + Search — jrnl 1.7.6 documentation + + + + + + + + + + + + + + + + + + + + + +
+
+
+
+ +

Search

+
+ +

+ Please activate JavaScript to enable the search + functionality. +

+
+

+ From here you can search these documents. Enter your search + words into the box below and click "search". Note that the search + function will automatically search for all of the words. Pages + containing fewer words won't appear in the result list. +

+
+ + + +
+ +
+ +
+ +
+
+
+ + +
+
+ + + \ No newline at end of file diff --git a/searchindex.js b/searchindex.js new file mode 100644 index 00000000..4cb93870 --- /dev/null +++ b/searchindex.js @@ -0,0 +1 @@ +Search.setIndex({objects:{},terms:{all:[6,0,4,7,5],default_minut:7,steve:[6,7],follow:[6,7],privat:7,depend:1,"2013_06_03_a":4,readabl:[5,4],yve:7,program:[2,3],alberto:3,under:7,leav:2,sha256:2,thursdai:7,everi:[2,3],string:[6,3],"3am":6,fals:7,faq:[0,3,7],veri:7,cyan:7,recip:[0,3],flatmat:3,level:7,did:5,list:[6,0,4,5],vector:2,dayon:[6,0,7,5],timeformat:7,initialis:2,ten:6,sync:[5,7],sign:6,geoloc:6,pass:[3,7],what:[0,3,5],access:7,delet:6,melo:3,"new":[6,2,3,1],ever:2,told:[6,1],hash:[6,2],gener:[3,4],decid:2,bodi:1,met:6,path:[3,7],valu:7,keychain:[0,2],convers:2,vacat:5,everyon:6,prior:7,behav:7,chang:[6,5,3,7,2],control:[6,3,7],linewrap:7,configur:[6,0,3,1,7],apr:6,app:[3,7],vim:7,releas:0,xdg_config_hom:7,instal:[0,3,1,7],txt:[6,2,7],mobil:7,select:6,fabul:[5,3],from:[6,5,7],would:6,memori:5,doubl:[6,3],two:6,todai:6,websit:7,live:7,call:[6,1],type:[1,7],until:[6,3,1],more:7,sort:4,flat:7,python:[2,7],readm:4,flag:3,known:[0,7],informationarchitect:3,must:3,word:5,hous:1,gabriel:4,work:[6,3,7],uniqu:[6,3],histori:6,can:[1,5,3,4,2,6,7],meet:7,overrid:7,prompt:[6,1,7],quickstart:[0,1],process:3,backslash:3,tag:[6,0,3,4,7],want:[6,2,3,1,7],plist:7,gcc:1,cours:6,multipl:[6,0,7],anoth:2,occur:[6,3,4],write:[1,5,3,2,6,7],how:[6,5,3,7],caus:3,instead:7,config:3,updat:6,after:[6,3,7],sundai:6,lab:5,reflect:5,befor:[6,3,7],beauti:4,mai:5,end:7,data:6,"short":[3,4],read:[5,3,2],robot:6,issu:[0,7],"switch":6,combin:[6,0,3],jrnl:[0,1,2,3,4,5,6,7],enter:[6,2],exclus:6,frontend:7,help:5,becaus:6,untouch:2,still:5,digest:2,perfect:5,gtd:5,thank:7,fix:3,late:6,window:[0,3,7],html:4,non:7,good:5,"return":1,food:7,timestamp:[6,0,7],dai:[6,5,4,7],initi:2,"break":6,mention:3,macvim:[0,3],now:[6,7],choic:6,name:4,edit:[6,0,3,7],simpl:[5,4,7],crypto:2,separ:7,mode:6,each:[6,3,4,7],found:7,unicod:7,my_entri:[6,4],side:6,mean:[6,3,7],compil:1,replac:2,individu:[4,7],timelin:4,meta:7,year:[6,5],our:7,girl:5,todo:5,special:[6,5,7],out:3,variabl:7,encod:7,mere:7,content:[0,4],print:[6,3,4],lubric:6,occurr:[0,3],advanc:[6,0,3,7],given:6,quick:5,reason:[6,1],base:5,zombi:6,ask:[2,1],"byte":2,bash:7,launch:[6,7],could:6,put:5,keep:[6,0,5],filter:[6,0,3],thing:[5,3],isn:5,view:[6,0],imposs:7,frequent:4,first:[2,3,1,7],origin:2,directli:[6,5],mvim:3,wast:5,date:[6,4,7],alreadi:2,chcp:7,open:[6,2,3],fanci:5,differ:[6,7],convent:6,start:[6,0,3,1,7],top:7,notepad:[0,3],least:[5,7],yesterdai:[6,1],attack:6,too:5,tom:6,"final":3,store:[6,0,2,5],shell:[6,7],option:[6,5,3,1,7],tool:3,specifi:[6,2,4,7],github:4,mostli:6,exactli:6,haven:5,ipad:5,kind:6,grep:3,whenev:[6,2],charact:7,project:6,sai:7,comput:2,argument:[6,4],dash:6,packag:7,have:[1,5,3,2,6,7],need:[6,3],seem:7,imagin:5,built:[6,7],equival:6,note:[6,3,1,7],also:[6,5,1,7,2],exampl:[4,7],which:[6,3,7],environ:7,singl:[6,7],sure:[6,3,7],unless:1,usernam:7,favourit:[6,3],who:5,most:[6,3,4,7],render:4,cipher:2,plan:6,icloud:7,why:[0,4,5],don:[6,2,7],doc:7,later:2,doe:[3,7],pipe:3,"10am":7,clean:1,someth:3,pouplard:7,text:[0,2,3,4,5,6,7],bring:6,particularli:6,texa:6,find:3,current:2,onli:[6,5,3,4],explicitli:1,locat:[6,7],execut:7,pretti:4,writer:[0,3],figur:6,should:[2,1],jan:3,folder:[5,7],codepag:7,hit:1,"2013_06_07_dinner":4,get:[0,1,5,3,4,6,7],hashlib:2,requir:[1,7],endless:7,bar:6,sha:2,integr:[0,7],contain:[6,3],buscemi:6,where:[3,1],wrote:6,summari:3,set:[3,7],habit:5,sex:6,see:[6,3,7],result:[1,7],close:[6,3],best:6,wonder:6,correctli:3,multiinst:3,sublim:[0,3],won:[2,7],"import":[6,0,4,2],kei:[2,7],complement:5,entir:4,solv:7,uuid:6,both:[6,3,7],last:[6,7],howev:[6,7],alon:6,comment:7,instanc:3,forgotten:5,pdf:4,com:7,load:7,markdown:[0,4],simpli:[6,2],point:[2,7],overview:[0,5],arbitrarili:6,dayoneapp:7,written:6,suppli:[6,7],my_recip:7,beach:6,assum:6,stamp:1,quotat:7,three:7,mark:[6,1,7],json:[0,4,7],much:5,interpret:[1,7],basic:[6,0],wait:3,my_journ:2,life:6,wish:1,pycyrypto:1,ani:[6,2,7],"5u8ns4gx82":7,instant:5,present:7,"case":[6,3],look:[6,4,1,7],jrnl_config:[3,7],plain:[5,7,2],plain_text_copi:2,defin:7,"while":7,abov:4,exist:2,loos:6,pinki:6,henc:7,them:[6,5,3],pip:1,ascii:7,sever:4,af8dbd0d43fb55458f11aad586ea2abf:6,make:[1,5,3,4,6,7],format:[4,7],same:[6,2,3,4],funni:6,drawback:7,sentenc:1,document:[5,7],x86:3,user:7,extern:[0,3,1,7],typic:7,recent:3,off:7,older:[6,0],entri:[0,1,3,4,6,7],markup:4,well:1,spent:1,person:5,without:6,command:[0,5,3,4,6,7],thi:[1,5,3,4,2,6,7],choos:2,everyth:[6,1,7],latest:6,summer:5,identifi:[6,3],just:[6,5,1,7],battleship:6,rest:1,assur:5,human:[5,4],touch:6,languag:4,had:6,littl:6,add:6,other:[6,4],input:[6,7],save:[6,3,7],smart:[6,0],applic:[6,5,3,7],march:6,mayb:2,handl:6,intuit:7,five:6,press:6,bit:[6,5],password:[0,2],like:[6,4,3,1,7],specif:7,filenam:2,whitespac:6,manual:[0,1,7,2],either:6,night:6,output:[6,4,7],old:[6,5],often:3,some:7,back:3,dead:7,"export":[6,0,4],librari:[1,7],noon:6,track:[6,5],exit:6,anna:6,refer:7,limitless:5,run:[2,3,1],asterisk:6,journal:[0,1,2,3,4,5,6,7],usag:[6,0,3,7],tagsymbol:7,although:[6,7],januari:3,"_jrnl_":7,"6am":6,plai:[6,5],surround:6,chop:7,done:5,writerformacosx:3,own:3,consid:5,within:7,profession:5,compos:[6,0,1,7],wrap:7,my_password:2,subl:3,your:[0,1,2,3,4,5,6,7],log:5,wai:[6,5,7],aren:5,support:[2,7],"long":[6,5,7],width:7,reli:7,editor:[6,0,3,1,7],properli:7,bundl:3,mode_cbc:2,line:[6,0,3,7,5],"true":7,"2391048fe24111e1983ed49a20be6f9":6,count:4,made:5,algorithm:2,whether:[2,1,7],worlddomin:6,displai:[6,3,4,7],tell:3,below:7,highlight:7,problem:7,similar:3,default_hour:7,gone:6,featur:6,creat:[4,1,7],decrypt:[0,7,2],implement:7,file:[0,1,2,3,4,5,6,7],girlfriend:6,happen:6,again:2,mutual:6,encrypt:[0,1,2,5,6,7],titl:[4,1],when:[6,5,2],detail:[3,7],virtual:7,"default":7,book:[5,1],sick:1,peopl:[6,5],you:[1,5,3,4,2,6,7],intention:6,nice:[5,4],pineappl:6,star:[6,0,3],symbol:[6,7],june:6,mondai:6,dropbox:[5,7],pycrypto:[1,7],wife:6,directori:4,scroll:7,time:[1,5,4,2,6,7],avoid:7},objtypes:{},titles:["jrnl: The command-line journal","Getting started","Encryption","FAQ","Import and Export","Overview","Basic Usage","Advanced Usage"],objnames:{},filenames:["index","installation","encryption","recipes","export","overview","usage","advanced"]}) \ No newline at end of file diff --git a/usage.html b/usage.html new file mode 100644 index 00000000..5f27bfa8 --- /dev/null +++ b/usage.html @@ -0,0 +1,193 @@ + + + + + + + + + Basic Usage — jrnl 1.7.6 documentation + + + + + + + + + + + + + + + + + + + +
+
+
+
+ +
+

Basic Usage

+

jrnl has two modes: composing and viewing. Basically, whenever you don’t supply any arguments that start with a dash or double-dash, you’re in composing mode, meaning you can write your entry on the command line or an editor of your choice.

+

We intentionally break a convention on command line arguments: all arguments starting with a single dash will filter your journal before viewing it, and can be combined arbitrarily. Arguments with a double dash will control how your journal is displayed or exported and are mutually exclusive (ie. you can only specify one way to display or export your journal at a time).

+
+

Composing Entries

+

Composing mode is entered by either starting jrnl without any arguments – which will prompt you to write an entry or launch your editor – or by just writing an entry on the prompt, such as:

+
jrnl today at 3am: I just met Steve Buscemi in a bar! He looked funny.
+
+

You can also import an entry directly from a file:

+
jrnl < my_entry.txt
+
+
+
+

Smart timestamps

+

Timestamps that work:

+
    +
  • at 6am
  • +
  • yesterday
  • +
  • last monday
  • +
  • sunday at noon
  • +
  • 2 march 2012
  • +
  • 7 apr
  • +
  • 5/20/1998 at 23:42
  • +
+
+
+

Starring entries

+

To mark an entry as a favourite, simply “star” it:

+
jrnl last sunday *: Best day of my life.
+
+

If you don’t want to add a date (ie. your entry will be dated as now), The following options are equivalent:

+
    +
  • jrnl *: Best day of my life.
  • +
  • jrnl *Best day of my life.
  • +
  • jrnl Best day of my life.*
  • +
+
+

Note

+

Just make sure that the asterisk sign is not surrounded by whitespaces, e.g. jrnl Best day of my life! * will not work (the reason being that the * sign has a special meaning on most shells).

+
+
+
+
+

Viewing

+
jrnl -n 10
+
+

will list you the ten latest entries,

+
jrnl -from "last year" -until march
+
+

everything that happened from the start of last year to the start of last march. To only see your favourite entries, use

+
jrnl -starred
+
+
+
+
+

Using Tags

+

Keep track of people, projects or locations, by tagging them with an @ in your entries

+
jrnl Had a wonderful day on the @beach with @Tom and @Anna.
+
+

You can filter your journal entries just like this:

+
jrnl @pinkie @WorldDomination
+
+

Will print all entries in which either @pinkie or @WorldDomination occurred.

+
jrnl -n 5 -and @pineapple @lubricant
+
+

the last five entries containing both @pineapple and @lubricant. You can change which symbols you’d like to use for tagging in the configuration.

+
+

Note

+

jrnl @pinkie @WorldDomination will switch to viewing mode because although no command line arguments are given, all the input strings look like tags - jrnl will assume you want to filter by tag.

+
+
+
+

Editing older entries

+

You can edit selected entries after you wrote them. This is particularly useful when your journal file is encrypted or if you’re using a DayOne journal. To use this feature, you need to have an editor configured in your journal configuration file (see advanced usage):

+
jrnl -until 1950 @texas -and @history --edit
+
+

Will open your editor with all entries tagged with @texas and @history before 1950. You can make any changes to them you want; after you save the file and close the editor, your journal will be updated.

+

Of course, if you are using multiple journals, you can also edit e.g. the latest entry of your work journal with jrnl work -n 1 --edit. In any case, this will bring up your editor and save (and, if applicable, encrypt) your edited journal after you save and exit the editor.

+

You can also use this feature for deleting entries from your journal:

+
jrnl @girlfriend -until 'june 2012' --edit
+
+

Just select all text, press delete, and everything is gone...

+
+

Editing DayOne Journals

+

DayOne journals can be edited exactly the same way, however the output looks a little bit different because of the way DayOne stores its entries:

+
# af8dbd0d43fb55458f11aad586ea2abf
+2013-05-02 15:30 I told everyone I built my @robot wife for sex.
+But late at night when we're alone we mostly play Battleship.
+
+# 2391048fe24111e1983ed49a20be6f9e
+2013-08-10 03:22 I had all kinds of plans in case of a @zombie attack.
+I just figured I'd be on the other side.
+
+

The long strings starting with hash symbol are the so-called UUIDs, unique identifiers for each entry. Don’t touch them. If you do, then the old entry would get deleted and a new one written, which means that you could DayOne loose data that jrnl can’t handle (such as as the entry’s geolocation).

+
+
+
+ + +
+
+
+ + +
+
+ + + \ No newline at end of file