diff --git a/.DS_Store b/.DS_Store deleted file mode 100644 index 0e00b03..0000000 Binary files a/.DS_Store and /dev/null differ diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e43b0f9 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.DS_Store diff --git a/.htaccess b/.htaccess index d4f4937..99656b4 100644 --- a/.htaccess +++ b/.htaccess @@ -1,3 +1,7 @@ +Header add Access-Control-Allow-Origin "*" +Header add Access-Control-Allow-Headers "origin, x-requested-with, content-type" +Header add Access-Control-Allow-Methods "PUT, GET, POST, DELETE, OPTIONS" + RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d diff --git a/README.md b/README.md index 1d28bd1..f936c6e 100644 --- a/README.md +++ b/README.md @@ -1,41 +1,68 @@ dragonchan ========== -A prototype script to transform any /b/ thread into a dragon slaying match. +A prototype script to transform any /bant/ thread into a dragon slaying match. Set up (or hijack) any thread using the template below and copy paste it's ID into this URL: -# Offical Domain -- Hosted on AppFog: `http://dragonslayer.eu01.aws.af.cm/[thread_id]` - -# Domain Mirror's -- `http://slayer.pw/[thread_id]` -- `http://dragon.slayer.pw/[thread_id]` -- `http://mlp.pw/[thread_id]` - - Disclaimer ========== -I`m not posting this threads, random people have been doing that. I have no control over it. If you have complains about the spam, sage the threads yourself. +I`m not posting these threads, random people have been doing that. I have no control over it. If you have complains about the spam, sage the threads yourself. If you have complains about being banned for posting too many dragon threads in one day, well, its not my fault either. Please don`t spam with dragon threads or you will end up ruining it for other people. -Thread Template: -================ +How to start a dragonchan thread: +================================ _Allways check this page for the correct template before posting. rules will be updated as the game evolves_ + +__OP options: difficulty@ command__ + +- `difficulty@noob` - very easy boss +- `difficulty@easy` - default +- `difficulty@medium` - challenging boss +- `difficulty@hard` - almost impossible boss + +__OP options: name@ command__ + +this will set the boss name (no spaces, no numbers): + +`name@[desired name]` + + +__OP options: element@ command__ + +this will set the boss element: + +`element@fire` +`element@ice` +`element@earth` +`element@electric` +`element@water` + + + +POST TEMPALTE: +================ +_use the commands described above to configure the boss_ ``` -ITT: /b/ dragon slayer raid! +ITT: /bant/ dragon slayer raid! Rules: This huge motherfucking dragon appears out of nowhere. -This thread last 2 digits x300 define its HP (plus a flat 3000) +Read the full rules here: (place official link here) + +Heres some info about this boss: +name@Dragon +dificulty@easy +element@random If your ID starts with a number you are a HEALER. If your ID starts with a vowel you are a BARD. +If your ID starts with "Y","X","Z", a RANGER. If your ID starts with a "/" or "+" you are a PALADIN. If your ID ends with a "/" or "+" you are a DEATH KNIGHT. If your ID starts AND ends with a "/" or "+" you are DRAGONBORN. @@ -44,26 +71,56 @@ Otherwise you are a KNIGHT Your last 2 digits represent the damage you do If you roll under 11 you DIE! (your posts will no longer do damage) +``` + + +FIRST REPLY TEMPLATE: +================ +_Dont forget to copy/paste the thread ID into the url_ +``` +http://link/[place thread_id here] -HEALERS revive fallen soldiers by targeting them and rolling an EVEN number -BARDS are here to motive troops! each time they post an image the next 3 posts will do bonus damage! -KNIGHTS can critical hit by rolling 5 or 0 -KNIGHTS avenge fallen soldiers by targeting them and rolling an EVEN number. Avenging does more damage for the glory of the fallen mate. + +HEALERS revive fallen soldiers +BARDS can boost the party damage by posting images +RANGERS are luck based, better rolls = more damage! +KNIGHTS can critical hit and avenge! PALADINS can avenge AND revive! -WARLOCKS can summon minions by posting an image. The last 2 digits of the image filename will be added to his damage. if his roll last digit matches his minion last digit he BURSTS massive damage. -DEATH KNIGHTS can continue attacking after they die. they will do x3 damage when dead but only 2/3 when alive. -DRAGONBORN can avenge and revive when alive, and will transform into a Death knight after death. this is the ultimate class! +WARLOCKS can summon minions by posting an image. +DEATH KNIGHTS can continue attacking after they die. +DRAGONBORN can avenge and revive when alive, and attack after death. + you can be avenged/revived 6 times max If you roll 00 or 69 you REVIVE everyone! their damage will count again! The boss will enrage bellow 20% HP, the minimum roll will be 22. however, he will no longer heal himself - -I have a webpage to track things, I will post a link to it here. ``` + + + + + Changelog ========= + +__v1.7.2- 07-05-2017__ + - Fixed reviving and avenging (fixed reply detection) + +__v1.7.1- 06-05-2017__ + - Fixed 4chan API links + - Changed default board to /bant/ + - Removed old domains + +__v1.7- 09-07-2013__ + - New class: 'Ranger' + +__v1.6.5- 30-04-2013__ + - Player commands + - OP commands + - sprite fix + __v1.6- 27-04-2013__ - New Class: 'Dragonborn' - Code Cleanup and new sprites diff --git a/android-chrome-192x192.png b/android-chrome-192x192.png new file mode 100644 index 0000000..16ef2e1 Binary files /dev/null and b/android-chrome-192x192.png differ diff --git a/android-chrome-384x384.png b/android-chrome-384x384.png new file mode 100644 index 0000000..ebcfcb0 Binary files /dev/null and b/android-chrome-384x384.png differ diff --git a/apple-touch-icon.png b/apple-touch-icon.png new file mode 100644 index 0000000..a232ce6 Binary files /dev/null and b/apple-touch-icon.png differ diff --git a/bookmarklet.js b/bookmarklet.js index ce4e996..bd3dff5 100644 --- a/bookmarklet.js +++ b/bookmarklet.js @@ -8,7 +8,7 @@ (function(){ - var s = window.location.toString().split('http://boards.4chan.org/b/res/') + var s = window.location.toString().split('http://boards.4chan.org/bant/thread/') if(s.length!=2){ alert("this is not a valid 4chan thread."); return; diff --git a/browserconfig.xml b/browserconfig.xml new file mode 100644 index 0000000..b3930d0 --- /dev/null +++ b/browserconfig.xml @@ -0,0 +1,9 @@ + + + + + + #da532c + + + diff --git a/favicon-16x16.png b/favicon-16x16.png new file mode 100644 index 0000000..b640c39 Binary files /dev/null and b/favicon-16x16.png differ diff --git a/favicon-32x32.png b/favicon-32x32.png new file mode 100644 index 0000000..0d5aa9f Binary files /dev/null and b/favicon-32x32.png differ diff --git a/favicon.ico b/favicon.ico new file mode 100644 index 0000000..090c370 Binary files /dev/null and b/favicon.ico differ diff --git a/font/ubuntu-b-webfont.eot b/font/ubuntu-b-webfont.eot new file mode 100644 index 0000000..cbeffbd Binary files /dev/null and b/font/ubuntu-b-webfont.eot differ diff --git a/font/ubuntu-b-webfont.svg b/font/ubuntu-b-webfont.svg new file mode 100644 index 0000000..26a8620 --- /dev/null +++ b/font/ubuntu-b-webfont.svg @@ -0,0 +1,245 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/font/ubuntu-b-webfont.ttf b/font/ubuntu-b-webfont.ttf new file mode 100644 index 0000000..864f626 Binary files /dev/null and b/font/ubuntu-b-webfont.ttf differ diff --git a/font/ubuntu-b-webfont.woff b/font/ubuntu-b-webfont.woff new file mode 100644 index 0000000..5376335 Binary files /dev/null and b/font/ubuntu-b-webfont.woff differ diff --git a/font/ubuntu-bi-webfont.eot b/font/ubuntu-bi-webfont.eot new file mode 100644 index 0000000..0e5ba8e Binary files /dev/null and b/font/ubuntu-bi-webfont.eot differ diff --git a/font/ubuntu-bi-webfont.svg b/font/ubuntu-bi-webfont.svg new file mode 100644 index 0000000..b38e1a8 --- /dev/null +++ b/font/ubuntu-bi-webfont.svg @@ -0,0 +1,245 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/font/ubuntu-bi-webfont.ttf b/font/ubuntu-bi-webfont.ttf new file mode 100644 index 0000000..1bf7af6 Binary files /dev/null and b/font/ubuntu-bi-webfont.ttf differ diff --git a/font/ubuntu-bi-webfont.woff b/font/ubuntu-bi-webfont.woff new file mode 100644 index 0000000..0930e68 Binary files /dev/null and b/font/ubuntu-bi-webfont.woff differ diff --git a/font/ubuntu-c-webfont.eot b/font/ubuntu-c-webfont.eot new file mode 100644 index 0000000..091da07 Binary files /dev/null and b/font/ubuntu-c-webfont.eot differ diff --git a/font/ubuntu-c-webfont.svg b/font/ubuntu-c-webfont.svg new file mode 100644 index 0000000..c0e3f9f --- /dev/null +++ b/font/ubuntu-c-webfont.svg @@ -0,0 +1,245 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/font/ubuntu-c-webfont.ttf b/font/ubuntu-c-webfont.ttf new file mode 100644 index 0000000..2fd1852 Binary files /dev/null and b/font/ubuntu-c-webfont.ttf differ diff --git a/font/ubuntu-c-webfont.woff b/font/ubuntu-c-webfont.woff new file mode 100644 index 0000000..785b91b Binary files /dev/null and b/font/ubuntu-c-webfont.woff differ diff --git a/font/ubuntu-l-webfont.eot b/font/ubuntu-l-webfont.eot new file mode 100644 index 0000000..d875b93 Binary files /dev/null and b/font/ubuntu-l-webfont.eot differ diff --git a/font/ubuntu-l-webfont.svg b/font/ubuntu-l-webfont.svg new file mode 100644 index 0000000..7ef6956 --- /dev/null +++ b/font/ubuntu-l-webfont.svg @@ -0,0 +1,245 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/font/ubuntu-l-webfont.ttf b/font/ubuntu-l-webfont.ttf new file mode 100644 index 0000000..cc23e7b Binary files /dev/null and b/font/ubuntu-l-webfont.ttf differ diff --git a/font/ubuntu-l-webfont.woff b/font/ubuntu-l-webfont.woff new file mode 100644 index 0000000..cb6adf4 Binary files /dev/null and b/font/ubuntu-l-webfont.woff differ diff --git a/font/ubuntu-li-webfont.eot b/font/ubuntu-li-webfont.eot new file mode 100644 index 0000000..86bb092 Binary files /dev/null and b/font/ubuntu-li-webfont.eot differ diff --git a/font/ubuntu-li-webfont.svg b/font/ubuntu-li-webfont.svg new file mode 100644 index 0000000..27327e1 --- /dev/null +++ b/font/ubuntu-li-webfont.svg @@ -0,0 +1,245 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/font/ubuntu-li-webfont.ttf b/font/ubuntu-li-webfont.ttf new file mode 100644 index 0000000..f7ecd54 Binary files /dev/null and b/font/ubuntu-li-webfont.ttf differ diff --git a/font/ubuntu-li-webfont.woff b/font/ubuntu-li-webfont.woff new file mode 100644 index 0000000..513095a Binary files /dev/null and b/font/ubuntu-li-webfont.woff differ diff --git a/font/ubuntu-m-webfont.eot b/font/ubuntu-m-webfont.eot new file mode 100644 index 0000000..991881e Binary files /dev/null and b/font/ubuntu-m-webfont.eot differ diff --git a/font/ubuntu-m-webfont.svg b/font/ubuntu-m-webfont.svg new file mode 100644 index 0000000..073d1b0 --- /dev/null +++ b/font/ubuntu-m-webfont.svg @@ -0,0 +1,245 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/font/ubuntu-m-webfont.ttf b/font/ubuntu-m-webfont.ttf new file mode 100644 index 0000000..8f435a9 Binary files /dev/null and b/font/ubuntu-m-webfont.ttf differ diff --git a/font/ubuntu-m-webfont.woff b/font/ubuntu-m-webfont.woff new file mode 100644 index 0000000..3a7e54d Binary files /dev/null and b/font/ubuntu-m-webfont.woff differ diff --git a/font/ubuntu-mi-webfont.eot b/font/ubuntu-mi-webfont.eot new file mode 100644 index 0000000..122a7ec Binary files /dev/null and b/font/ubuntu-mi-webfont.eot differ diff --git a/font/ubuntu-mi-webfont.svg b/font/ubuntu-mi-webfont.svg new file mode 100644 index 0000000..d23a686 --- /dev/null +++ b/font/ubuntu-mi-webfont.svg @@ -0,0 +1,245 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/font/ubuntu-mi-webfont.ttf b/font/ubuntu-mi-webfont.ttf new file mode 100644 index 0000000..0c4e61c Binary files /dev/null and b/font/ubuntu-mi-webfont.ttf differ diff --git a/font/ubuntu-mi-webfont.woff b/font/ubuntu-mi-webfont.woff new file mode 100644 index 0000000..7dd20b1 Binary files /dev/null and b/font/ubuntu-mi-webfont.woff differ diff --git a/font/ubuntu-r-webfont.eot b/font/ubuntu-r-webfont.eot new file mode 100644 index 0000000..77f5469 Binary files /dev/null and b/font/ubuntu-r-webfont.eot differ diff --git a/font/ubuntu-r-webfont.svg b/font/ubuntu-r-webfont.svg new file mode 100644 index 0000000..907a080 --- /dev/null +++ b/font/ubuntu-r-webfont.svg @@ -0,0 +1,245 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/font/ubuntu-r-webfont.ttf b/font/ubuntu-r-webfont.ttf new file mode 100644 index 0000000..7662ea6 Binary files /dev/null and b/font/ubuntu-r-webfont.ttf differ diff --git a/font/ubuntu-r-webfont.woff b/font/ubuntu-r-webfont.woff new file mode 100644 index 0000000..d20d54d Binary files /dev/null and b/font/ubuntu-r-webfont.woff differ diff --git a/font/ubuntu-ri-webfont.eot b/font/ubuntu-ri-webfont.eot new file mode 100644 index 0000000..eeb2691 Binary files /dev/null and b/font/ubuntu-ri-webfont.eot differ diff --git a/font/ubuntu-ri-webfont.svg b/font/ubuntu-ri-webfont.svg new file mode 100644 index 0000000..9e6df9f --- /dev/null +++ b/font/ubuntu-ri-webfont.svg @@ -0,0 +1,245 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/font/ubuntu-ri-webfont.ttf b/font/ubuntu-ri-webfont.ttf new file mode 100644 index 0000000..4fbfe2e Binary files /dev/null and b/font/ubuntu-ri-webfont.ttf differ diff --git a/font/ubuntu-ri-webfont.woff b/font/ubuntu-ri-webfont.woff new file mode 100644 index 0000000..dab2b31 Binary files /dev/null and b/font/ubuntu-ri-webfont.woff differ diff --git a/font/ubuntumono-b-webfont.eot b/font/ubuntumono-b-webfont.eot new file mode 100644 index 0000000..1790964 Binary files /dev/null and b/font/ubuntumono-b-webfont.eot differ diff --git a/font/ubuntumono-b-webfont.svg b/font/ubuntumono-b-webfont.svg new file mode 100644 index 0000000..9a4b251 --- /dev/null +++ b/font/ubuntumono-b-webfont.svg @@ -0,0 +1,242 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/font/ubuntumono-b-webfont.ttf b/font/ubuntumono-b-webfont.ttf new file mode 100644 index 0000000..c0e5679 Binary files /dev/null and b/font/ubuntumono-b-webfont.ttf differ diff --git a/font/ubuntumono-b-webfont.woff b/font/ubuntumono-b-webfont.woff new file mode 100644 index 0000000..f511e76 Binary files /dev/null and b/font/ubuntumono-b-webfont.woff differ diff --git a/font/ubuntumono-bi-webfont.eot b/font/ubuntumono-bi-webfont.eot new file mode 100644 index 0000000..c9ec187 Binary files /dev/null and b/font/ubuntumono-bi-webfont.eot differ diff --git a/font/ubuntumono-bi-webfont.svg b/font/ubuntumono-bi-webfont.svg new file mode 100644 index 0000000..9a51532 --- /dev/null +++ b/font/ubuntumono-bi-webfont.svg @@ -0,0 +1,242 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/font/ubuntumono-bi-webfont.ttf b/font/ubuntumono-bi-webfont.ttf new file mode 100644 index 0000000..62e9d3d Binary files /dev/null and b/font/ubuntumono-bi-webfont.ttf differ diff --git a/font/ubuntumono-bi-webfont.woff b/font/ubuntumono-bi-webfont.woff new file mode 100644 index 0000000..3a6e808 Binary files /dev/null and b/font/ubuntumono-bi-webfont.woff differ diff --git a/font/ubuntumono-r-webfont.eot b/font/ubuntumono-r-webfont.eot new file mode 100644 index 0000000..5f01407 Binary files /dev/null and b/font/ubuntumono-r-webfont.eot differ diff --git a/font/ubuntumono-r-webfont.svg b/font/ubuntumono-r-webfont.svg new file mode 100644 index 0000000..3beefcd --- /dev/null +++ b/font/ubuntumono-r-webfont.svg @@ -0,0 +1,242 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/font/ubuntumono-r-webfont.ttf b/font/ubuntumono-r-webfont.ttf new file mode 100644 index 0000000..f3d77f5 Binary files /dev/null and b/font/ubuntumono-r-webfont.ttf differ diff --git a/font/ubuntumono-r-webfont.woff b/font/ubuntumono-r-webfont.woff new file mode 100644 index 0000000..4e6c2cf Binary files /dev/null and b/font/ubuntumono-r-webfont.woff differ diff --git a/font/ubuntumono-ri-webfont.eot b/font/ubuntumono-ri-webfont.eot new file mode 100644 index 0000000..237d7e5 Binary files /dev/null and b/font/ubuntumono-ri-webfont.eot differ diff --git a/font/ubuntumono-ri-webfont.svg b/font/ubuntumono-ri-webfont.svg new file mode 100644 index 0000000..0d169d0 --- /dev/null +++ b/font/ubuntumono-ri-webfont.svg @@ -0,0 +1,242 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/font/ubuntumono-ri-webfont.ttf b/font/ubuntumono-ri-webfont.ttf new file mode 100644 index 0000000..de3719c Binary files /dev/null and b/font/ubuntumono-ri-webfont.ttf differ diff --git a/font/ubuntumono-ri-webfont.woff b/font/ubuntumono-ri-webfont.woff new file mode 100644 index 0000000..2448fc1 Binary files /dev/null and b/font/ubuntumono-ri-webfont.woff differ diff --git a/images/.DS_Store b/images/.DS_Store deleted file mode 100644 index 029f9e3..0000000 Binary files a/images/.DS_Store and /dev/null differ diff --git a/images/sprites/.DS_Store b/images/sprites/.DS_Store deleted file mode 100644 index c7e8f04..0000000 Binary files a/images/sprites/.DS_Store and /dev/null differ diff --git a/images/sprites/rpg/.DS_Store b/images/sprites/rpg/.DS_Store deleted file mode 100644 index 1e48ce5..0000000 Binary files a/images/sprites/rpg/.DS_Store and /dev/null differ diff --git a/images/sprites/rpg/armor/.DS_Store b/images/sprites/rpg/armor/.DS_Store deleted file mode 100644 index 501cb76..0000000 Binary files a/images/sprites/rpg/armor/.DS_Store and /dev/null differ diff --git a/images/sprites/rpg/armor/B/.DS_Store b/images/sprites/rpg/armor/B/.DS_Store deleted file mode 100644 index aff355d..0000000 Binary files a/images/sprites/rpg/armor/B/.DS_Store and /dev/null differ diff --git a/images/sprites/rpg/armor/DK/.DS_Store b/images/sprites/rpg/armor/DK/.DS_Store deleted file mode 100644 index 7878971..0000000 Binary files a/images/sprites/rpg/armor/DK/.DS_Store and /dev/null differ diff --git a/images/sprites/rpg/armor/DVK/DVK_1.png b/images/sprites/rpg/armor/DVK/DVK_1.png new file mode 100644 index 0000000..0740434 Binary files /dev/null and b/images/sprites/rpg/armor/DVK/DVK_1.png differ diff --git a/images/sprites/rpg/armor/DVK/DVK_10.png b/images/sprites/rpg/armor/DVK/DVK_10.png new file mode 100644 index 0000000..b21ae9c Binary files /dev/null and b/images/sprites/rpg/armor/DVK/DVK_10.png differ diff --git a/images/sprites/rpg/armor/DVK/DVK_11.png b/images/sprites/rpg/armor/DVK/DVK_11.png new file mode 100644 index 0000000..1e86e66 Binary files /dev/null and b/images/sprites/rpg/armor/DVK/DVK_11.png differ diff --git a/images/sprites/rpg/armor/DVK/DVK_12.png b/images/sprites/rpg/armor/DVK/DVK_12.png new file mode 100644 index 0000000..5e90a94 Binary files /dev/null and b/images/sprites/rpg/armor/DVK/DVK_12.png differ diff --git a/images/sprites/rpg/armor/DVK/DVK_2.png b/images/sprites/rpg/armor/DVK/DVK_2.png new file mode 100644 index 0000000..ae73193 Binary files /dev/null and b/images/sprites/rpg/armor/DVK/DVK_2.png differ diff --git a/images/sprites/rpg/armor/DVK/DVK_3.png b/images/sprites/rpg/armor/DVK/DVK_3.png new file mode 100644 index 0000000..0faea8d Binary files /dev/null and b/images/sprites/rpg/armor/DVK/DVK_3.png differ diff --git a/images/sprites/rpg/armor/DVK/DVK_4.png b/images/sprites/rpg/armor/DVK/DVK_4.png new file mode 100644 index 0000000..2a03a61 Binary files /dev/null and b/images/sprites/rpg/armor/DVK/DVK_4.png differ diff --git a/images/sprites/rpg/armor/DVK/DVK_5.png b/images/sprites/rpg/armor/DVK/DVK_5.png new file mode 100644 index 0000000..0134f1c Binary files /dev/null and b/images/sprites/rpg/armor/DVK/DVK_5.png differ diff --git a/images/sprites/rpg/armor/DVK/DVK_6.png b/images/sprites/rpg/armor/DVK/DVK_6.png new file mode 100644 index 0000000..de94a8a Binary files /dev/null and b/images/sprites/rpg/armor/DVK/DVK_6.png differ diff --git a/images/sprites/rpg/armor/DVK/DVK_7.png b/images/sprites/rpg/armor/DVK/DVK_7.png new file mode 100644 index 0000000..531153e Binary files /dev/null and b/images/sprites/rpg/armor/DVK/DVK_7.png differ diff --git a/images/sprites/rpg/armor/DVK/DVK_8.png b/images/sprites/rpg/armor/DVK/DVK_8.png new file mode 100644 index 0000000..0f9492a Binary files /dev/null and b/images/sprites/rpg/armor/DVK/DVK_8.png differ diff --git a/images/sprites/rpg/armor/DVK/DVK_9.png b/images/sprites/rpg/armor/DVK/DVK_9.png new file mode 100644 index 0000000..80fbab6 Binary files /dev/null and b/images/sprites/rpg/armor/DVK/DVK_9.png differ diff --git a/images/sprites/rpg/armor/H/.DS_Store b/images/sprites/rpg/armor/H/.DS_Store deleted file mode 100644 index ea47f9b..0000000 Binary files a/images/sprites/rpg/armor/H/.DS_Store and /dev/null differ diff --git a/images/sprites/rpg/armor/K/.DS_Store b/images/sprites/rpg/armor/K/.DS_Store deleted file mode 100644 index f65bcaa..0000000 Binary files a/images/sprites/rpg/armor/K/.DS_Store and /dev/null differ diff --git a/images/sprites/rpg/armor/P/.DS_Store b/images/sprites/rpg/armor/P/.DS_Store deleted file mode 100644 index 5b924c6..0000000 Binary files a/images/sprites/rpg/armor/P/.DS_Store and /dev/null differ diff --git a/images/sprites/rpg/armor/R/R_0.png b/images/sprites/rpg/armor/R/R_0.png new file mode 100644 index 0000000..e2ab734 Binary files /dev/null and b/images/sprites/rpg/armor/R/R_0.png differ diff --git a/images/sprites/rpg/armor/R/R_1.png b/images/sprites/rpg/armor/R/R_1.png new file mode 100644 index 0000000..4d493a4 Binary files /dev/null and b/images/sprites/rpg/armor/R/R_1.png differ diff --git a/images/sprites/rpg/armor/R/R_10.png b/images/sprites/rpg/armor/R/R_10.png new file mode 100644 index 0000000..a083653 Binary files /dev/null and b/images/sprites/rpg/armor/R/R_10.png differ diff --git a/images/sprites/rpg/armor/R/R_11.png b/images/sprites/rpg/armor/R/R_11.png new file mode 100644 index 0000000..74b3658 Binary files /dev/null and b/images/sprites/rpg/armor/R/R_11.png differ diff --git a/images/sprites/rpg/armor/R/R_12.png b/images/sprites/rpg/armor/R/R_12.png new file mode 100644 index 0000000..f908559 Binary files /dev/null and b/images/sprites/rpg/armor/R/R_12.png differ diff --git a/images/sprites/rpg/armor/R/R_2.png b/images/sprites/rpg/armor/R/R_2.png new file mode 100644 index 0000000..4cc1727 Binary files /dev/null and b/images/sprites/rpg/armor/R/R_2.png differ diff --git a/images/sprites/rpg/armor/R/R_3.png b/images/sprites/rpg/armor/R/R_3.png new file mode 100644 index 0000000..dea022a Binary files /dev/null and b/images/sprites/rpg/armor/R/R_3.png differ diff --git a/images/sprites/rpg/armor/R/R_4.png b/images/sprites/rpg/armor/R/R_4.png new file mode 100644 index 0000000..ea81ebb Binary files /dev/null and b/images/sprites/rpg/armor/R/R_4.png differ diff --git a/images/sprites/rpg/armor/R/R_5.png b/images/sprites/rpg/armor/R/R_5.png new file mode 100644 index 0000000..d28d9aa Binary files /dev/null and b/images/sprites/rpg/armor/R/R_5.png differ diff --git a/images/sprites/rpg/armor/R/R_6.png b/images/sprites/rpg/armor/R/R_6.png new file mode 100644 index 0000000..667e665 Binary files /dev/null and b/images/sprites/rpg/armor/R/R_6.png differ diff --git a/images/sprites/rpg/armor/R/R_7.png b/images/sprites/rpg/armor/R/R_7.png new file mode 100644 index 0000000..25f9bf2 Binary files /dev/null and b/images/sprites/rpg/armor/R/R_7.png differ diff --git a/images/sprites/rpg/armor/R/R_8.png b/images/sprites/rpg/armor/R/R_8.png new file mode 100644 index 0000000..d98f36f Binary files /dev/null and b/images/sprites/rpg/armor/R/R_8.png differ diff --git a/images/sprites/rpg/armor/R/R_9.png b/images/sprites/rpg/armor/R/R_9.png new file mode 100644 index 0000000..55eb05f Binary files /dev/null and b/images/sprites/rpg/armor/R/R_9.png differ diff --git a/images/sprites/rpg/armor/W/.DS_Store b/images/sprites/rpg/armor/W/.DS_Store deleted file mode 100644 index 69e633a..0000000 Binary files a/images/sprites/rpg/armor/W/.DS_Store and /dev/null differ diff --git a/images/sprites/rpg/armor/unused/.DS_Store b/images/sprites/rpg/armor/unused/.DS_Store deleted file mode 100644 index 5c6bdac..0000000 Binary files a/images/sprites/rpg/armor/unused/.DS_Store and /dev/null differ diff --git a/images/sprites/rpg/elements/.DS_Store b/images/sprites/rpg/elements/.DS_Store deleted file mode 100644 index 2e87005..0000000 Binary files a/images/sprites/rpg/elements/.DS_Store and /dev/null differ diff --git a/images/sprites/rpg/misc/.DS_Store b/images/sprites/rpg/misc/.DS_Store deleted file mode 100644 index 514927c..0000000 Binary files a/images/sprites/rpg/misc/.DS_Store and /dev/null differ diff --git a/images/sprites/rpg/weapons/.DS_Store b/images/sprites/rpg/weapons/.DS_Store deleted file mode 100644 index 7f8db50..0000000 Binary files a/images/sprites/rpg/weapons/.DS_Store and /dev/null differ diff --git a/images/sprites/rpg/weapons/B/.DS_Store b/images/sprites/rpg/weapons/B/.DS_Store deleted file mode 100644 index c8d37e0..0000000 Binary files a/images/sprites/rpg/weapons/B/.DS_Store and /dev/null differ diff --git a/images/sprites/rpg/weapons/DK/.DS_Store b/images/sprites/rpg/weapons/DK/.DS_Store deleted file mode 100644 index 9fe52e8..0000000 Binary files a/images/sprites/rpg/weapons/DK/.DS_Store and /dev/null differ diff --git a/images/sprites/rpg/weapons/DVK/DVK_1.png b/images/sprites/rpg/weapons/DVK/DVK_1.png new file mode 100644 index 0000000..3fc2d40 Binary files /dev/null and b/images/sprites/rpg/weapons/DVK/DVK_1.png differ diff --git a/images/sprites/rpg/weapons/DVK/DVK_10.png b/images/sprites/rpg/weapons/DVK/DVK_10.png new file mode 100644 index 0000000..730f41e Binary files /dev/null and b/images/sprites/rpg/weapons/DVK/DVK_10.png differ diff --git a/images/sprites/rpg/weapons/DVK/DVK_11.png b/images/sprites/rpg/weapons/DVK/DVK_11.png new file mode 100644 index 0000000..eb78b6d Binary files /dev/null and b/images/sprites/rpg/weapons/DVK/DVK_11.png differ diff --git a/images/sprites/rpg/weapons/DVK/DVK_12.png b/images/sprites/rpg/weapons/DVK/DVK_12.png new file mode 100644 index 0000000..b72f8aa Binary files /dev/null and b/images/sprites/rpg/weapons/DVK/DVK_12.png differ diff --git a/images/sprites/rpg/weapons/DVK/DVK_13.png b/images/sprites/rpg/weapons/DVK/DVK_13.png new file mode 100644 index 0000000..9d67d15 Binary files /dev/null and b/images/sprites/rpg/weapons/DVK/DVK_13.png differ diff --git a/images/sprites/rpg/weapons/DVK/DVK_14.png b/images/sprites/rpg/weapons/DVK/DVK_14.png new file mode 100644 index 0000000..805e7e5 Binary files /dev/null and b/images/sprites/rpg/weapons/DVK/DVK_14.png differ diff --git a/images/sprites/rpg/weapons/DVK/DVK_15.png b/images/sprites/rpg/weapons/DVK/DVK_15.png new file mode 100644 index 0000000..14819c9 Binary files /dev/null and b/images/sprites/rpg/weapons/DVK/DVK_15.png differ diff --git a/images/sprites/rpg/weapons/DVK/DVK_2.png b/images/sprites/rpg/weapons/DVK/DVK_2.png new file mode 100644 index 0000000..efb8f27 Binary files /dev/null and b/images/sprites/rpg/weapons/DVK/DVK_2.png differ diff --git a/images/sprites/rpg/weapons/DVK/DVK_3.png b/images/sprites/rpg/weapons/DVK/DVK_3.png new file mode 100644 index 0000000..4bcb51f Binary files /dev/null and b/images/sprites/rpg/weapons/DVK/DVK_3.png differ diff --git a/images/sprites/rpg/weapons/DVK/DVK_4.png b/images/sprites/rpg/weapons/DVK/DVK_4.png new file mode 100644 index 0000000..9b73370 Binary files /dev/null and b/images/sprites/rpg/weapons/DVK/DVK_4.png differ diff --git a/images/sprites/rpg/weapons/DVK/DVK_5.png b/images/sprites/rpg/weapons/DVK/DVK_5.png new file mode 100644 index 0000000..bc0ba2b Binary files /dev/null and b/images/sprites/rpg/weapons/DVK/DVK_5.png differ diff --git a/images/sprites/rpg/weapons/DVK/DVK_6.png b/images/sprites/rpg/weapons/DVK/DVK_6.png new file mode 100644 index 0000000..35d9bc2 Binary files /dev/null and b/images/sprites/rpg/weapons/DVK/DVK_6.png differ diff --git a/images/sprites/rpg/weapons/DVK/DVK_7.png b/images/sprites/rpg/weapons/DVK/DVK_7.png new file mode 100644 index 0000000..5af3301 Binary files /dev/null and b/images/sprites/rpg/weapons/DVK/DVK_7.png differ diff --git a/images/sprites/rpg/weapons/DVK/DVK_8.png b/images/sprites/rpg/weapons/DVK/DVK_8.png new file mode 100644 index 0000000..2878d9f Binary files /dev/null and b/images/sprites/rpg/weapons/DVK/DVK_8.png differ diff --git a/images/sprites/rpg/weapons/DVK/DVK_9.png b/images/sprites/rpg/weapons/DVK/DVK_9.png new file mode 100644 index 0000000..f9e5a0e Binary files /dev/null and b/images/sprites/rpg/weapons/DVK/DVK_9.png differ diff --git a/images/sprites/rpg/weapons/H/.DS_Store b/images/sprites/rpg/weapons/H/.DS_Store deleted file mode 100644 index 62e8619..0000000 Binary files a/images/sprites/rpg/weapons/H/.DS_Store and /dev/null differ diff --git a/images/sprites/rpg/weapons/K/.DS_Store b/images/sprites/rpg/weapons/K/.DS_Store deleted file mode 100644 index f9d166f..0000000 Binary files a/images/sprites/rpg/weapons/K/.DS_Store and /dev/null differ diff --git a/images/sprites/rpg/weapons/P/.DS_Store b/images/sprites/rpg/weapons/P/.DS_Store deleted file mode 100644 index c26a748..0000000 Binary files a/images/sprites/rpg/weapons/P/.DS_Store and /dev/null differ diff --git a/images/sprites/rpg/weapons/R/R_0.png b/images/sprites/rpg/weapons/R/R_0.png new file mode 100644 index 0000000..b084a2e Binary files /dev/null and b/images/sprites/rpg/weapons/R/R_0.png differ diff --git a/images/sprites/rpg/weapons/R/R_1.png b/images/sprites/rpg/weapons/R/R_1.png new file mode 100644 index 0000000..ef138d7 Binary files /dev/null and b/images/sprites/rpg/weapons/R/R_1.png differ diff --git a/images/sprites/rpg/weapons/R/R_10.png b/images/sprites/rpg/weapons/R/R_10.png new file mode 100644 index 0000000..8fe1503 Binary files /dev/null and b/images/sprites/rpg/weapons/R/R_10.png differ diff --git a/images/sprites/rpg/weapons/R/R_11.png b/images/sprites/rpg/weapons/R/R_11.png new file mode 100644 index 0000000..4cfbdf3 Binary files /dev/null and b/images/sprites/rpg/weapons/R/R_11.png differ diff --git a/images/sprites/rpg/weapons/R/R_12.png b/images/sprites/rpg/weapons/R/R_12.png new file mode 100644 index 0000000..5e8706e Binary files /dev/null and b/images/sprites/rpg/weapons/R/R_12.png differ diff --git a/images/sprites/rpg/weapons/R/R_13.png b/images/sprites/rpg/weapons/R/R_13.png new file mode 100644 index 0000000..a40dcb8 Binary files /dev/null and b/images/sprites/rpg/weapons/R/R_13.png differ diff --git a/images/sprites/rpg/weapons/R/R_14.png b/images/sprites/rpg/weapons/R/R_14.png new file mode 100644 index 0000000..7d29e5b Binary files /dev/null and b/images/sprites/rpg/weapons/R/R_14.png differ diff --git a/images/sprites/rpg/weapons/R/R_15.png b/images/sprites/rpg/weapons/R/R_15.png new file mode 100644 index 0000000..420b962 Binary files /dev/null and b/images/sprites/rpg/weapons/R/R_15.png differ diff --git a/images/sprites/rpg/weapons/R/R_3.png b/images/sprites/rpg/weapons/R/R_3.png new file mode 100644 index 0000000..02afb98 Binary files /dev/null and b/images/sprites/rpg/weapons/R/R_3.png differ diff --git a/images/sprites/rpg/weapons/R/R_4.png b/images/sprites/rpg/weapons/R/R_4.png new file mode 100644 index 0000000..bb3e97c Binary files /dev/null and b/images/sprites/rpg/weapons/R/R_4.png differ diff --git a/images/sprites/rpg/weapons/R/R_5.png b/images/sprites/rpg/weapons/R/R_5.png new file mode 100644 index 0000000..c41e97c Binary files /dev/null and b/images/sprites/rpg/weapons/R/R_5.png differ diff --git a/images/sprites/rpg/weapons/R/R_6.png b/images/sprites/rpg/weapons/R/R_6.png new file mode 100644 index 0000000..0e38791 Binary files /dev/null and b/images/sprites/rpg/weapons/R/R_6.png differ diff --git a/images/sprites/rpg/weapons/R/R_7.png b/images/sprites/rpg/weapons/R/R_7.png new file mode 100644 index 0000000..b5f379f Binary files /dev/null and b/images/sprites/rpg/weapons/R/R_7.png differ diff --git a/images/sprites/rpg/weapons/R/R_8.png b/images/sprites/rpg/weapons/R/R_8.png new file mode 100644 index 0000000..28e49e6 Binary files /dev/null and b/images/sprites/rpg/weapons/R/R_8.png differ diff --git a/images/sprites/rpg/weapons/R/R_9.png b/images/sprites/rpg/weapons/R/R_9.png new file mode 100644 index 0000000..30bf9e0 Binary files /dev/null and b/images/sprites/rpg/weapons/R/R_9.png differ diff --git a/images/sprites/rpg/weapons/W/.DS_Store b/images/sprites/rpg/weapons/W/.DS_Store deleted file mode 100644 index 21ca59c..0000000 Binary files a/images/sprites/rpg/weapons/W/.DS_Store and /dev/null differ diff --git a/images/sprites/rpg/weapons/unused/.DS_Store b/images/sprites/rpg/weapons/unused/.DS_Store deleted file mode 100644 index 3e72157..0000000 Binary files a/images/sprites/rpg/weapons/unused/.DS_Store and /dev/null differ diff --git a/index.php b/index.php index 0276d33..ad2951e 100644 --- a/index.php +++ b/index.php @@ -1,8 +1,7 @@ * @license GNU General Public License, version 3 * @link https://github.com/entomb/dragonchan GitHub Source @@ -11,6 +10,9 @@ * */ +//Include game and version info +include('lib/globalinfo.php'); + //no errors on production please error_reporting(0); @@ -35,7 +37,7 @@ * IDEA: extend this to other boards * @var string */ -$api_url = "http://api.4chan.org/b/res/$thread_id.json"; +$api_url = "http://a.4cdn.org/bant/thread/$thread_id.json"; /** diff --git a/ink.css b/ink.css new file mode 100644 index 0000000..db38515 --- /dev/null +++ b/ink.css @@ -0,0 +1,4463 @@ +/*! normalize.css v2.0.1 | MIT License | git.io/normalize */ +/* ========================================================================== + HTML5 display definitions + ========================================================================== */ +/* + * Corrects `block` display not defined in IE 8/9. + */ +article, +aside, +details, +figcaption, +figure, +footer, +header, +hgroup, +nav, +section, +summary { + display: block; +} +/* + * Corrects `inline-block` display not defined in IE 8/9. + */ +audio, +canvas, +video { + display: inline-block; +} +/* + * Prevents modern browsers from displaying `audio` without controls. + * Remove excess height in iOS 5 devices. + */ +audio:not([controls]) { + display: none; + height: 0; +} +/* + * Addresses styling for `hidden` attribute not present in IE 8/9. + */ +[hidden] { + display: none; +} +/* ========================================================================== + Base + ========================================================================== */ +/* + * 1. Sets default font family to sans-serif. + * 2. Prevents iOS text size adjust after orientation change, without disabling + * user zoom. + */ +html { + font-family: sans-serif; + /* 1 */ + + -webkit-text-size-adjust: 100%; + -ms-text-size-adjust: 100%; + /* 2 */ + +} +/* + * Removes default margin. + */ +body { + margin: 0; + -webkit-text-size-adjust: 100%; + -ms-text-size-adjust: none; +} +/* ========================================================================== + Links + ========================================================================== */ +/* + * Addresses `outline` inconsistency between Chrome and other browsers. + */ +a:focus { + outline: thin dotted; +} +/* + * Improves readability when focused and also mouse hovered in all browsers. + */ +a:active, +a:hover { + outline: 0; +} +/* ========================================================================== + Typography + ========================================================================== */ +/* + * Addresses headings and paragraphs browser preset margin. + */ +h1, +h2, +h3, +h4, +h5, +h6 { + margin: 0; +} +/* + * Addresses `h1` font sizes within `section` and `article` in Firefox 4+, + * Safari 5, and Chrome. + */ +h1 { + font-size: 2em; +} +/* + * Addresses styling not present in IE 8/9, Safari 5, and Chrome. + */ +abbr[title] { + border-bottom: 1px dotted; +} +/* + * Addresses style set to `bolder` in Firefox 4+, Safari 5, and Chrome. + */ +b, +strong { + font-weight: bold; +} +/* + * Addresses styling not present in Safari 5 and Chrome. + */ +dfn { + font-style: italic; +} +/* + * Addresses styling not present in IE 8/9. + */ +mark { + background: #ff0; + color: #000000; +} +/* + * Corrects font family set oddly in Safari 5 and Chrome. + */ +code, +kbd, +pre, +samp { + font-family: Ubuntu_monospaced, serif; + font-size: 1em; +} +/* + * Improves readability of pre-formatted text in all browsers. + */ +pre { + white-space: pre; + white-space: pre-wrap; + word-wrap: break-word; +} +/* + * Sets consistent quote types. + */ +q { + quotes: "\201C" "\201D" "\2018" "\2019"; +} +/* + * Addresses inconsistent and variable font size in all browsers. + */ +small { + font-size: 80%; +} +/* + * Prevents `sub` and `sup` affecting `line-height` in all browsers. + */ +sub, +sup { + font-size: 75%; + line-height: 0; + position: relative; + vertical-align: baseline; +} +sup { + top: -0.5em; +} +sub { + bottom: -0.25em; +} +/* ========================================================================== + Embedded content + ========================================================================== */ +/* + * Removes border when inside `a` element in IE 8/9. + */ +img { + border: 0; +} +/* + * Corrects overflow displayed oddly in IE 9. + */ +svg:not(:root) { + overflow: hidden; +} +/* ========================================================================== + Figures + ========================================================================== */ +/* + * Addresses margin not present in IE 8/9 and Safari 5. + */ +figure { + margin: 0; +} +/* ========================================================================== + Forms + ========================================================================== */ +/* + * Define consistent border, margin, and padding. + */ +fieldset { + border: 1px solid #c0c0c0; + margin: 0 2px; + padding: 0.35em 0.625em 0.75em; +} +/* + * 1. Corrects color not being inherited in IE 8/9. + * 2. Remove padding so people aren't caught out if they zero out fieldsets. + */ +legend { + border: 0; + /* 1 */ + + padding: 0; + /* 2 */ + +} +/* + * 1. Corrects font family not being inherited in all browsers. + * 2. Corrects font size not being inherited in all browsers. + * 3. Addresses margins set differently in Firefox 4+, Safari 5, and Chrome + */ +button, +input, +select, +textarea { + font-family: inherit; + /* 1 */ + + font-size: 100%; + /* 2 */ + + margin: 0; + /* 3 */ + +} +/* + * Addresses Firefox 4+ setting `line-height` on `input` using `!important` in + * the UA stylesheet. + */ +button, +input { + line-height: normal; +} +/* + * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio` + * and `video` controls. + * 2. Corrects inability to style clickable `input` types in iOS. + * 3. Improves usability and consistency of cursor style between image-type + * `input` and others. + */ +button, +html input[type="button"], +input[type="reset"], +input[type="submit"] { + -webkit-appearance: button; + /* 2 */ + + cursor: pointer; + /* 3 */ + +} +/* + * Re-set default cursor for disabled elements. + */ +button[disabled], +input[disabled] { + cursor: default; +} +/* + * 1. Addresses box sizing set to `content-box` in IE 8/9. + * 2. Removes excess padding in IE 8/9. + */ +input[type="checkbox"], +input[type="radio"] { + box-sizing: border-box; + /* 1 */ + + padding: 0; + /* 2 */ + +} +/* + * 1. Addresses `appearance` set to `searchfield` in Safari 5 and Chrome. + * 2. Addresses `box-sizing` set to `border-box` in Safari 5 and Chrome + * (include `-moz` to future-proof). + */ +input[type="search"] { + -webkit-appearance: textfield; + /* 1 */ + + -moz-box-sizing: content-box; + -webkit-box-sizing: content-box; + /* 2 */ + + box-sizing: content-box; +} +/* + * Removes inner padding and search cancel button in Safari 5 and Chrome + * on OS X. + */ +input[type="search"]::-webkit-search-cancel-button, +input[type="search"]::-webkit-search-decoration { + -webkit-appearance: none; +} +/* + * Removes inner padding and border in Firefox 4+. + */ +button::-moz-focus-inner, +input::-moz-focus-inner { + border: 0; + padding: 0; +} +/* + * 1. Removes default vertical scrollbar in IE 8/9. + * 2. Improves readability and alignment in all browsers. + */ +textarea { + overflow: auto; + /* 1 */ + + vertical-align: top; + /* 2 */ + +} +/* ========================================================================== + Tables + ========================================================================== */ +/* + * Remove most spacing between table cells. + */ +table { + border-collapse: collapse; + border-spacing: 0; +} +#ink #shadows .no-box-shadow { + -webkit-box-shadow: none; + -moz-box-shadow: none; + box-shadow: none; +} +#ink #shadows .no-text-shadow { + text-shadow: none; +} +#ink #text .ink-font-stack { + font-family: Ubuntu, 'Helvetica Neue', Helvetica, Arial, sans-serif; +} +body { + background: #f7f7f7; +} +.ink-container { + width: 960px; + padding: 0 32px; + margin: 0 auto; + overflow: visible; +} +caption, +th { + text-align: left; +} +.ink-row:after, +.ink-clear:after, +.ink-container:after, +.ink-section:after, +.ink-space:after, +.ink-hspace:after, +.ink-vspace:after, +.ink-l100:after, +.ink-m100:after, +.ink-s100:after, +.ink-navigation:after { + content: "."; + display: block; + height: 0; + clear: both; + visibility: hidden; + zoom: 1; +} +.ink-space { + margin: 32px; + *overflow: hidden; + *clear: both; +} +.ink-vspace { + margin-top: 32px; + margin-bottom: 32px; + *zoom: 1; +} +.ink-hspace { + margin-left: 32px; + margin-right: 32px; + *zoom: 1; +} +.ink-gutter { + margin-left: 32px; + *overflow: hidden; + *zoom: 1; +} +.ink-row { + margin-left: -32px; + *zoom: 1; +} +.ink-section { + margin: 1em 0; + padding-bottom: 1em; + border-bottom: 1px solid #ccc; + *overflow: hidden; + *clear: both; +} +.ink-section:last-child { + border-bottom: none; +} +.ink-clear, +.ink-section { + clear: both; +} +.ink-clear-left { + clear: left; +} +.ink-clear-right { + clear: right; +} +.ink-float-left { + float: left; +} +.ink-float-right { + float: right; +} +/* INK: LARGE SCREENS */ +@media screen and (min-width: 961px) { + html body .ink-container { + width: 960px; + padding: 0 32px; + margin: auto; + } + html body .ink-space { + margin: 32px; + *overflow: hidden; + *clear: both; + } + html body .ink-vspace { + margin-top: 32px; + margin-bottom: 32px; + } + html body .ink-hspace { + margin-left: 32px; + margin-right: 32px; + } + html body .ink-gutter { + margin-left: 32px; + } + html body .ink-row { + margin-left: -32px; + } + html body .ink-container .ink-l100 { + width: auto; + max-width: 100%; + clear: both; + *overflow: hidden; + } + html body .ink-container .ink-l90 { + width: 90%; + } + html body .ink-container .ink-l80 { + width: 80%; + } + html body .ink-container .ink-l75 { + width: 75%; + } + html body .ink-container .ink-l70 { + width: 70%; + } + html body .ink-container .ink-l66 { + width: 66.66%; + } + html body .ink-container .ink-l60 { + width: 60%; + } + html body .ink-container .ink-l50 { + width: 50%; + } + html body .ink-container .ink-l40 { + width: 40%; + } + html body .ink-container .ink-l33 { + width: 33.33%; + *margin-left: -1px; + } + html body .ink-container .ink-l30 { + width: 30%; + } + html body .ink-container .ink-l25 { + width: 25%; + } + html body .ink-container .ink-l20 { + width: 20%; + } + html body .ink-container .ink-l10 { + width: 10%; + } + html body .ink-container .ink-l10, + html body .ink-container .ink-l20, + html body .ink-container .ink-l25, + html body .ink-container .ink-l30, + html body .ink-container .ink-l33, + html body .ink-container .ink-l40, + html body .ink-container .ink-l50, + html body .ink-container .ink-l60, + html body .ink-container .ink-l66, + html body .ink-container .ink-l70, + html body .ink-container .ink-l75, + html body .ink-container .ink-l80, + html body .ink-container .ink-l90 { + float: left; + *zoom: 1; + *overflow: hidden; + } + html body .ink-container .ink-l100:empty, + html body .ink-container .ink-l90:empty, + html body .ink-container .ink-l80:empty, + html body .ink-container .ink-l75:empty, + html body .ink-container .ink-l70:empty, + html body .ink-container .ink-l66:empty, + html body .ink-container .ink-l60:empty, + html body .ink-container .ink-l50:empty, + html body .ink-container .ink-l40:empty, + html body .ink-container .ink-l33:empty, + html body .ink-container .ink-l30:empty, + html body .ink-container .ink-l25:empty, + html body .ink-container .ink-l20:empty, + html body .ink-container .ink-l10:empty { + clear: both; + } + .ink-for-s, + .ink-for-m { + visibility: hidden; + position: absolute; + top: -99999px; + left: -99999px; + } + .ink-for-l { + visibility: visible; + position: relative; + top: auto; + left: auto; + } +} +/* INK: MEDIUM SCREENS */ +@media screen and (min-width: 651px) and (max-width: 960px) { + html body .ink-container { + width: auto; + padding: 0 21px; + } + html body .ink-space { + margin: 21px; + *overflow: hidden; + *clear: both; + } + html body .ink-vspace { + margin-top: 21px; + margin-bottom: 21px; + } + html body .ink-hspace { + margin-left: 21px; + margin-right: 21px; + } + html body .ink-gutter { + margin-left: 21px; + } + .ink-row { + margin-left: -21px; + } + html body .ink-m100 { + width: 100%; + clear: both; + } + html body .ink-m90 { + width: 90%; + } + html body .ink-m80 { + width: 80%; + } + html body .ink-m75 { + width: 75%; + } + html body .ink-m70 { + width: 70%; + } + html body .ink-m66 { + width: 66.66%; + } + html body .ink-m60 { + width: 60%; + } + html body .ink-m50 { + width: 50%; + } + html body .ink-m40 { + width: 40%; + } + html body .ink-m33 { + width: 33.33%; + } + html body .ink-m30 { + width: 30%; + } + html body .ink-m25 { + width: 25%; + } + html body .ink-m20 { + width: 20%; + } + html body .ink-m10 { + width: 10%; + } + html body .ink-m10, + html body .ink-m20, + html body .ink-m25, + html body .ink-m30, + html body .ink-m33, + html body .ink-m40, + html body .ink-m50, + html body .ink-m60, + html body .ink-m66, + html body .ink-m70, + html body .ink-m75, + html body .ink-m80, + html body .ink-m90 { + float: left; + zoom: 1; + } + html body .ink-m100:empty, + html body .ink-m90:empty, + html body .ink-m80:empty, + html body .ink-m75:empty, + html body .ink-m70:empty, + html body .ink-m66:empty, + html body .ink-m60:empty, + html body .ink-m50:empty, + html body .ink-m40:empty, + html body .ink-m33:empty, + html body .ink-m30:empty, + html body .ink-m25:empty, + html body .ink-m20:empty, + html body .ink-m10:empty { + clear: both; + } + html body .menu-second-level { + display: none; + } + html body #topbar { + height: auto; + } + html body #topbar .horizontal li.active a { + background: none; + filter: none; + -webkit-box-shadow: none; + -moz-box-shadow: none; + box-shadow: none; + } + html body #topbar .horizontal .submenu li a { + color: #bbbbbb; + background: #222222; + padding: 0 21px; + } + html body .submenu { + display: block; + width: auto; + position: relative; + border-top: none; + z-index: 1000; + margin: 0; + background: transparent; + } + html body .submenu li { + border: none; + } + html body .submenu li a { + padding: 0 21px; + } + html body .ink-for-s, + html body .ink-for-l { + visibility: hidden; + position: absolute; + top: -99999px; + left: -99999px; + } + html body .ink-for-m { + visibility: visible; + position: relative; + top: auto; + left: auto; + } + html body .ink-docked { + width: auto; + left: 10px; + right: 10px; + } +} +/* INK: SMALL SCREENS */ +@media screen and (max-width: 650px) { + html .ink-container { + width: auto; + padding: 0 11px; + } + html .ink-space { + margin: 11px; + *overflow: hidden; + *clear: both; + } + html .ink-vspace { + margin-top: 11px; + margin-bottom: 11px; + } + html .ink-hspace { + margin-left: 11px; + margin-right: 11px; + } + html .ink-gutter { + margin-left: 11px; + } + html .ink-row { + margin-left: -11px; + } + html .ink-s100 { + width: 100%; + clear: both; + } + html .ink-s90 { + width: 90%; + } + html .ink-s80 { + width: 80%; + } + html .ink-s75 { + width: 75%; + } + html .ink-s70 { + width: 70%; + } + html .ink-s66 { + width: 66.66%; + } + html .ink-s60 { + width: 60%; + } + html .ink-s50 { + width: 50%; + } + html .ink-s40 { + width: 40%; + } + html .ink-s33 { + width: 33.33%; + } + html .ink-s30 { + width: 30%; + } + html .ink-s25 { + width: 25%; + } + html .ink-s20 { + width: 20%; + } + html .ink-s10 { + width: 10%; + } + html .ink-s10, + html .ink-s20, + html .ink-s25, + html .ink-s30, + html .ink-s33, + html .ink-s40, + html .ink-s50, + html .ink-s60, + html .ink-s66, + html .ink-s70, + html .ink-s75, + html .ink-s80, + html .ink-s90 { + float: left; + zoom: 1; + } + html .ink-s100:empty, + html .ink-s90:empty, + html .ink-s80:empty, + html .ink-s75:empty, + html .ink-s70:empty, + html .ink-s66:empty, + html .ink-s60:empty, + html .ink-s50:empty, + html .ink-s40:empty, + html .ink-s33:empty, + html .ink-s30:empty, + html .ink-s25:empty, + html .ink-s20:empty, + html .ink-s10:empty { + clear: both; + } + html .ink-row { + margin-left: -11px; + } + html .ink-space { + margin: 11px; + } + html .ink-vspace { + margin-top: 11px; + margin-bottom: 11px; + } + html .ink-hspace { + margin-left: 11px; + } + html .menu-second-level { + display: none; + } + html #topbar { + height: auto; + } + html #topbar .horizontal li.active a { + background: none; + filter: none; + -webkit-box-shadow: none; + -moz-box-shadow: none; + box-shadow: none; + } + html #topbar .horizontal .submenu li a { + color: #bbbbbb; + background: #222222; + padding: 0 21px; + } + html body .submenu { + display: block; + width: auto; + position: relative; + border-top: none; + z-index: 1000; + margin: 0; + background: transparent; + } + html .submenu li { + border: none; + } + html .submenu li a { + padding: 0 21px; + } + html .example_menu li a { + padding: 0 21px; + } + html .example_menu .submenu li a { + padding: 0 42px; + } + html .example_menu > li:first-child a { + border-top-right-radius: 4px; + border-top-left-radius: 4px; + border-bottom-right-radius: 0; + border-bottom-left-radius: 0; + } + html .example_menu .submenu:last-child li:last-child a { + border-top-right-radius: 0; + border-top-left-radius: 0; + border-bottom-right-radius: 4px; + border-bottom-left-radius: 4px; + } + html .ink-for-m, + html .ink-for-l { + visibility: hidden; + position: absolute; + top: -99999px; + left: -99999px; + } + html .ink-for-s { + visibility: visible; + position: relative; + top: auto; + left: auto; + } + html .ink-docked { + width: auto; + left: 10px; + right: 10px; + } +} +.ink-navigation { + font-size: 14px; +} +.ink-navigation .ink-footer-nav { + padding: 0; + margin: 1em 0 2em; + -webkit-box-shadow: none; + -moz-box-shadow: none; + box-shadow: none; +} +.ink-navigation .ink-footer-nav li { + display: inline-block; + margin: 0 1em 0 0; + *zoom: 1; + *display: inline; +} +.ink-navigation ul { + list-style-type: none; + padding: 0; + margin: 0; + -webkit-box-shadow: 0px 1px 2px 0 rgba(0, 0, 0, 0.4); + -moz-box-shadow: 0px 1px 2px 0 rgba(0, 0, 0, 0.4); + box-shadow: 0px 1px 2px 0 rgba(0, 0, 0, 0.4); +} +.ink-navigation ul li a { + text-decoration: none; +} +.ink-navigation ul li .submenu { + display: none; + width: 14em; + position: absolute; + padding-left: 0; + background: #ffffff; + border-top: 1px solid #CACACA; + z-index: 1000; +} +.ink-navigation ul li .submenu li { + display: block; +} +.ink-navigation ul li .submenu li a { + color: #000000; +} +.ink-navigation ul.menu { + background: #ffffff; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#f2f2f2'); + background: -moz-linear-gradient(top, #ffffff 0%, #f2f2f2 150%); + background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #ffffff), color-stop(150%, #f2f2f2)); + background: -webkit-linear-gradient(top, #ffffff 0%, #f2f2f2 150%); + background: -o-linear-gradient(top, #ffffff 0%, #f2f2f2 150%); + background: -ms-linear-gradient(top, #ffffff 0%, #f2f2f2 150%); + background: linear-gradient(top, #ffffff 0%, #f2f2f2 150%); + border-radius: 4px; +} +.ink-navigation ul.menu li .ink-button { + background: none; + filter: none; + border: none; + padding: 0; + margin: 0; + -webkit-box-shadow: none; + -moz-box-shadow: none; + box-shadow: none; + text-shadow: 0 0 0 rgba(0, 0, 0, 0); + color: #bbbbbb; + font-size: 1.2em; + position: absolute; + top: .6em; + right: .6em; +} +.ink-navigation ul.menu li a { + color: #000000; + -webkit-transition-property: background-color, color; + -moz-transition-property: background-color, color; + -o-transition-property: background-color, color; + -ms-transition-property: background-color, color; + transition-property: background-color, color; + -webkit-transition-duration: 125ms; + -moz-transition-duration: 125ms; + -o-transition-duration: 125ms; + -ms-transition-duration: 125ms; + transition-duration: 125ms; + -webkit-transition-timing-function: ease-in-out; + -moz-transition-timing-function: ease-in-out; + -o-transition-timing-function: ease-in-out; + -ms-transition-timing-function: ease-in-out; + transition-timing-function: ease-in-out; + -webkit-transition-delay: 0; + -moz-transition-delay: 0; + -o-transition-delay: 0; + -ms-transition-delay: 0; + transition-delay: 0; +} +.ink-navigation ul.menu li:first-child a { + border-top-right-radius: 0; + border-bottom-right-radius: 0; + border-bottom-left-radius: 4px; + border-top-left-radius: 4px; +} +.ink-navigation ul.menu li.active a { + background: rgba(0, 0, 0, 0.2); +} +.ink-navigation ul.menu.flat { + background: #ffffff; + border-radius: 0px; +} +.ink-navigation ul.menu.horizontal { + height: 40px; + display: block; + font-size: 0em; + vertical-align: top; + position: relative; + overflow: visible; +} +.ink-navigation ul.menu.horizontal:after { + content: "."; + display: block; + height: 0; + clear: both; + visibility: hidden; + zoom: 1; +} +.ink-navigation ul.menu.horizontal li { + font-size: 14px; + display: inline-block; + vertical-align: baseline; + position: relative; + margin: 0; + zoom: 1; + *display: inline; +} +.ink-navigation ul.menu.horizontal li a { + *height: 40px; + line-height: 40px; + padding: 0 1em; + display: block; + text-decoration: none; +} +.ink-navigation ul.menu.horizontal li a:hover { + background: rgba(0, 0, 0, 0.2); + text-decoration: none; +} +.ink-navigation ul.menu.horizontal li i { + margin-left: 0.4em; + height: 40px; +} +.ink-navigation ul.menu.horizontal li .submenu { + margin-left: -1px; +} +.ink-navigation ul.menu.horizontal li .submenu li { + border-bottom: 1px solid #e6e6e6; +} +.ink-navigation ul.menu.horizontal li .submenu li a { + border-radius: 0px; + margin: 0; +} +.ink-navigation ul.menu.horizontal li:hover .submenu { + display: block; +} +.ink-navigation ul.menu.horizontal li:hover .submenu li { + display: block; +} +.ink-navigation ul.menu.horizontal li:hover .submenu li a:hover { + border-radius: 0px; +} +.ink-navigation ul.menu.vertical:after { + content: "."; + display: block; + height: 0; + clear: both; + visibility: hidden; + zoom: 1; +} +.ink-navigation ul.menu.vertical li { + margin: 0; + position: relative; + border-bottom: 1px solid #e6e6e6; +} +.ink-navigation ul.menu.vertical li:first-child a { + border-top-right-radius: 4px; + border-top-left-radius: 4px; + border-bottom-right-radius: 0; + border-bottom-left-radius: 0; +} +.ink-navigation ul.menu.vertical li:last-child { + border-bottom: none; +} +.ink-navigation ul.menu.vertical li:last-child a { + border-top-right-radius: 0; + border-top-left-radius: 0; + border-bottom-right-radius: 4px; + border-bottom-left-radius: 4px; +} +.ink-navigation ul.menu.vertical li .submenu { + top: -1px; + left: 100%; + overflow: hidden; + padding-left: 0; +} +.ink-navigation ul.menu.vertical li .submenu li a { + border-radius: 0; +} +.ink-navigation ul.menu.vertical li a { + line-height: 40px; + padding: 0 1.5em; + display: block; + text-decoration: none; + color: #000000; +} +.ink-navigation ul.menu.vertical li a:hover { + background: rgba(0, 0, 0, 0.15); + text-decoration: none; +} +.ink-navigation ul.menu.vertical li i { + float: right; +} +.ink-navigation ul.menu.vertical li:hover .submenu { + display: block; +} +.ink-navigation ul.menu.grey { + border-radius: 4px; + background: #e6e6e6; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#e6e6e6', endColorstr='#cccccc'); + background: -moz-linear-gradient(top, #e6e6e6 0%, #cccccc 150%); + background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #e6e6e6), color-stop(150%, #cccccc)); + background: -webkit-linear-gradient(top, #e6e6e6 0%, #cccccc 150%); + background: -o-linear-gradient(top, #e6e6e6 0%, #cccccc 150%); + background: -ms-linear-gradient(top, #e6e6e6 0%, #cccccc 150%); + background: linear-gradient(top, #e6e6e6 0%, #cccccc 150%); +} +.ink-navigation ul.menu.grey li a { + color: #000000; +} +.ink-navigation ul.menu.grey li:first-child a { + border-top-right-radius: 0; + border-bottom-right-radius: 0; + border-bottom-left-radius: 4px; + border-top-left-radius: 4px; +} +.ink-navigation ul.menu.grey li.active a { + background: rgba(0, 0, 0, 0.2); +} +.ink-navigation ul.menu.grey.flat { + background: #d2d2d2; + border-radius: 0px; +} +.ink-navigation ul.menu.green { + border-radius: 4px; + background: #81b31b; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#81b31b', endColorstr='#618615'); + background: -moz-linear-gradient(top, #81b31b 0%, #618615 150%); + background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #81b31b), color-stop(150%, #618615)); + background: -webkit-linear-gradient(top, #81b31b 0%, #618615 150%); + background: -o-linear-gradient(top, #81b31b 0%, #618615 150%); + background: -ms-linear-gradient(top, #81b31b 0%, #618615 150%); + background: linear-gradient(top, #81b31b 0%, #618615 150%); +} +.ink-navigation ul.menu.green li a { + color: #ffffff; +} +.ink-navigation ul.menu.green li:first-child a { + border-top-right-radius: 0; + border-bottom-right-radius: 0; + border-bottom-left-radius: 4px; + border-top-left-radius: 4px; +} +.ink-navigation ul.menu.green li.active a { + background: rgba(0, 0, 0, 0.2); +} +.ink-navigation ul.menu.green li ul.submenu li a { + color: #000000; +} +.ink-navigation ul.menu.green li ul.submenu li a:hover { + background: #5b7e13; + color: #ffffff; +} +.ink-navigation ul.menu.green.flat { + background: #81b31b; + border-radius: 0px; +} +.ink-navigation ul.menu.blue { + border-radius: 4px; + background: #1b88ce; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#1b88ce', endColorstr='#156ba1'); + background: -moz-linear-gradient(top, #1b88ce 0%, #156ba1 150%); + background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #1b88ce), color-stop(150%, #156ba1)); + background: -webkit-linear-gradient(top, #1b88ce 0%, #156ba1 150%); + background: -o-linear-gradient(top, #1b88ce 0%, #156ba1 150%); + background: -ms-linear-gradient(top, #1b88ce 0%, #156ba1 150%); + background: linear-gradient(top, #1b88ce 0%, #156ba1 150%); +} +.ink-navigation ul.menu.blue li a { + color: #ffffff; +} +.ink-navigation ul.menu.blue li:first-child a { + border-top-right-radius: 0; + border-bottom-right-radius: 0; + border-bottom-left-radius: 4px; + border-top-left-radius: 4px; +} +.ink-navigation ul.menu.blue li.active a { + background: rgba(0, 0, 0, 0.2); +} +.ink-navigation ul.menu.blue li ul.submenu li a { + color: #000000; +} +.ink-navigation ul.menu.blue li ul.submenu li a:hover { + background: #146598; + color: #ffffff; +} +.ink-navigation ul.menu.blue.flat { + background: #1b88ce; + border-radius: 0px; +} +.ink-navigation ul.menu.red { + border-radius: 4px; + background: #c30a0a; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#c30a0a', endColorstr='#920808'); + background: -moz-linear-gradient(top, #c30a0a 0%, #920808 150%); + background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #c30a0a), color-stop(150%, #920808)); + background: -webkit-linear-gradient(top, #c30a0a 0%, #920808 150%); + background: -o-linear-gradient(top, #c30a0a 0%, #920808 150%); + background: -ms-linear-gradient(top, #c30a0a 0%, #920808 150%); + background: linear-gradient(top, #c30a0a 0%, #920808 150%); +} +.ink-navigation ul.menu.red li a { + color: #ffffff; +} +.ink-navigation ul.menu.red li:first-child a { + border-top-right-radius: 0; + border-bottom-right-radius: 0; + border-bottom-left-radius: 4px; + border-top-left-radius: 4px; +} +.ink-navigation ul.menu.red li.active a { + background: rgba(0, 0, 0, 0.2); +} +.ink-navigation ul.menu.red li ul.submenu li a { + color: #000000; +} +.ink-navigation ul.menu.red li ul.submenu li a:hover { + background: #890707; + color: #ffffff; +} +.ink-navigation ul.menu.red.flat { + background: #c30a0a; + border-radius: 0px; +} +.ink-navigation ul.menu.orange { + border-radius: 4px; + background: #f2990d; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f2990d', endColorstr='#c27b0a'); + background: -moz-linear-gradient(top, #f2990d 0%, #c27b0a 150%); + background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #f2990d), color-stop(150%, #c27b0a)); + background: -webkit-linear-gradient(top, #f2990d 0%, #c27b0a 150%); + background: -o-linear-gradient(top, #f2990d 0%, #c27b0a 150%); + background: -ms-linear-gradient(top, #f2990d 0%, #c27b0a 150%); + background: linear-gradient(top, #f2990d 0%, #c27b0a 150%); +} +.ink-navigation ul.menu.orange li a { + color: #ffffff; +} +.ink-navigation ul.menu.orange li:first-child a { + border-top-right-radius: 0; + border-bottom-right-radius: 0; + border-bottom-left-radius: 4px; + border-top-left-radius: 4px; +} +.ink-navigation ul.menu.orange li.active a { + background: rgba(0, 0, 0, 0.2); +} +.ink-navigation ul.menu.orange li ul.submenu li a { + color: #000000; +} +.ink-navigation ul.menu.orange li ul.submenu li a:hover { + background: #b8740a; + color: #ffffff; +} +.ink-navigation ul.menu.orange.flat { + background: #f2990d; + border-radius: 0px; +} +.ink-navigation ul.menu.black { + border-radius: 4px; + background: #4d4d4d; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#4d4d4d', endColorstr='#000000'); + background: -moz-linear-gradient(top, #4d4d4d 0%, #000000 150%); + background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #4d4d4d), color-stop(150%, #000000)); + background: -webkit-linear-gradient(top, #4d4d4d 0%, #000000 150%); + background: -o-linear-gradient(top, #4d4d4d 0%, #000000 150%); + background: -ms-linear-gradient(top, #4d4d4d 0%, #000000 150%); + background: linear-gradient(top, #4d4d4d 0%, #000000 150%); +} +.ink-navigation ul.menu.black li a { + color: #ffffff; +} +.ink-navigation ul.menu.black li a:hover { + background: rgba(255, 255, 255, 0.2); +} +.ink-navigation ul.menu.black li:first-child a { + border-top-right-radius: 0; + border-bottom-right-radius: 0; + border-bottom-left-radius: 4px; + border-top-left-radius: 4px; +} +.ink-navigation ul.menu.black li.active { + background: rgba(255, 255, 255, 0.2); +} +.ink-navigation ul.menu.black li ul.submenu li a { + color: #000000; +} +.ink-navigation ul.menu.black li ul.submenu li a:hover { + background: rgba(0, 0, 0, 0.5); + color: #ffffff; +} +.ink-navigation ul.menu.black.flat { + background: #000000; + border-radius: 0px; +} +@media screen and (min-width: 651px) and (max-width: 960px) { + html body .ink-navigation ul.menu { + background: #ffffff; + border-radius: 0px; + -webkit-box-shadow: none; + -moz-box-shadow: none; + box-shadow: none; + } + html body .ink-navigation ul.menu li { + border-bottom: 1px solid #e6e6e6; + } + html body .ink-navigation ul.menu li:first-child a { + border-radius: 0; + } + html body .ink-navigation ul.menu li .submenu { + -webkit-box-shadow: none; + -moz-box-shadow: none; + box-shadow: none; + display: block; + width: auto; + position: relative; + border-top: none; + z-index: 1000; + margin: 0; + } + html body .ink-navigation ul.menu li .submenu li { + border: none; + border-bottom: 1px solid #e6e6e6; + } + html body .ink-navigation ul.menu li .submenu li:first-child { + border-top: 1px solid #e6e6e6; + } + html body .ink-navigation ul.menu li .submenu li:last-child { + border-bottom: none; + } + html body .ink-navigation ul.menu li .submenu li a { + padding: 0 21px; + } + html body .ink-navigation ul.menu.horizontal { + height: auto; + } + html body .ink-navigation ul.menu.horizontal li { + display: block; + } + html body .ink-navigation ul.menu.horizontal li:first-child a { + border-radius: 0; + } + html body .ink-navigation ul.menu.horizontal li a { + padding: 0 1em; + } + html body .ink-navigation ul.menu.horizontal .submenu { + margin: 0; + } + html body .ink-navigation ul.menu.vertical li:first-child a { + border-radius: 0; + } + html body .ink-navigation ul.menu.vertical li:last-child a { + border-radius: 0; + } + html body .ink-navigation ul.menu.vertical li a { + padding: 0 21px; + } + html body .ink-navigation ul.menu.vertical .submenu { + top: auto; + left: auto; + overflow: visible; + padding-left: 0; + margin: 0; + } + html body .ink-navigation ul.menu.vertical .submenu li a { + padding: 0 42px; + } + html body .ink-navigation ul.menu.grey { + background: #e6e6e6; + border-radius: 0px; + } + html body .ink-navigation ul.menu.grey li { + border-bottom: 1px solid #cccccc; + } + html body .ink-navigation ul.menu.grey li:last-child { + border-bottom: none; + } + html body .ink-navigation ul.menu.grey li .submenu { + background: #e6e6e6; + } + html body .ink-navigation ul.menu.grey li .submenu li { + border-bottom: 1px solid #cccccc; + } + html body .ink-navigation ul.menu.grey li .submenu li:last-child { + border-bottom: none; + } + html body .ink-navigation ul.menu.grey li .submenu li:first-child { + border-top: 1px solid #cccccc; + } + html body .ink-navigation ul.menu.green { + background: #81b31b; + border-radius: 0px; + } + html body .ink-navigation ul.menu.green li { + border-bottom: 1px solid #648e0d; + } + html body .ink-navigation ul.menu.green li:last-child { + border-bottom: none; + } + html body .ink-navigation ul.menu.green li .submenu { + background: #81b31b; + } + html body .ink-navigation ul.menu.green li .submenu li { + border-bottom: 1px solid #648e0d; + } + html body .ink-navigation ul.menu.green li .submenu li a { + color: #ffffff; + } + html body .ink-navigation ul.menu.green li .submenu li:last-child { + border-bottom: none; + } + html body .ink-navigation ul.menu.green li .submenu li:first-child { + border-top: 1px solid #648e0d; + } + html body .ink-navigation ul.menu.red { + background: #c30a0a; + border-radius: 0px; + } + html body .ink-navigation ul.menu.red li { + border-bottom: 1px solid #9a0000; + } + html body .ink-navigation ul.menu.red li:last-child { + border-bottom: none; + } + html body .ink-navigation ul.menu.red li .submenu { + background: #c30a0a; + } + html body .ink-navigation ul.menu.red li .submenu li { + border-bottom: 1px solid #9a0000; + } + html body .ink-navigation ul.menu.red li .submenu li a { + color: #ffffff; + } + html body .ink-navigation ul.menu.red li .submenu li:last-child { + border-bottom: none; + } + html body .ink-navigation ul.menu.red li .submenu li:first-child { + border-top: 1px solid #9a0000; + } + html body .ink-navigation ul.menu.orange { + background: #f2990d; + border-radius: 0px; + } + html body .ink-navigation ul.menu.orange li { + border-bottom: 1px solid #cc7d00; + } + html body .ink-navigation ul.menu.orange li:last-child { + border-bottom: none; + } + html body .ink-navigation ul.menu.orange li .submenu { + background: #f2990d; + } + html body .ink-navigation ul.menu.orange li .submenu li { + border-bottom: 1px solid #cc7d00; + } + html body .ink-navigation ul.menu.orange li .submenu li a { + color: #ffffff; + } + html body .ink-navigation ul.menu.orange li .submenu li:last-child { + border-bottom: none; + } + html body .ink-navigation ul.menu.orange li .submenu li:first-child { + border-top: 1px solid #cc7d00; + } + html body .ink-navigation ul.menu.blue { + background: #1b88ce; + border-radius: 0px; + } + html body .ink-navigation ul.menu.blue li { + border-bottom: 1px solid #0c6daa; + } + html body .ink-navigation ul.menu.blue li:last-child { + border-bottom: none; + } + html body .ink-navigation ul.menu.blue li .submenu { + background: #1b88ce; + } + html body .ink-navigation ul.menu.blue li .submenu li { + border-bottom: 1px solid #0c6daa; + } + html body .ink-navigation ul.menu.blue li .submenu li a { + color: #ffffff; + } + html body .ink-navigation ul.menu.blue li .submenu li:last-child { + border-bottom: none; + } + html body .ink-navigation ul.menu.blue li .submenu li:first-child { + border-top: 1px solid #0c6daa; + } + html body .ink-navigation ul.menu.black { + background: #1a1a1a; + border-radius: 0px; + } + html body .ink-navigation ul.menu.black li { + border-bottom: 1px solid #404040; + } + html body .ink-navigation ul.menu.black li:last-child { + border-bottom: none; + } + html body .ink-navigation ul.menu.black li .submenu { + background: #1a1a1a; + } + html body .ink-navigation ul.menu.black li .submenu li { + border-bottom: 1px solid #404040; + } + html body .ink-navigation ul.menu.black li .submenu li a { + color: #ffffff; + } + html body .ink-navigation ul.menu.black li .submenu li a:hover { + background: rgba(255, 255, 255, 0.2); + color: #ffffff; + } + html body .ink-navigation ul.menu.black li .submenu li:last-child { + border-bottom: none; + } + html body .ink-navigation ul.menu.black li .submenu li:first-child { + border-top: 1px solid #404040; + } +} +@media screen and (max-width: 650px) { + html body .ink-navigation ul.menu { + background: #ffffff; + border-radius: 0px; + -webkit-box-shadow: none; + -moz-box-shadow: none; + box-shadow: none; + } + html body .ink-navigation ul.menu li { + border-bottom: 1px solid #e6e6e6; + } + html body .ink-navigation ul.menu li:first-child a { + border-radius: 0; + } + html body .ink-navigation ul.menu li .submenu { + -webkit-box-shadow: none; + -moz-box-shadow: none; + box-shadow: none; + display: block; + width: auto; + position: relative; + border-top: none; + z-index: 1000; + margin: 0; + } + html body .ink-navigation ul.menu li .submenu li { + border: none; + border-bottom: 1px solid #e6e6e6; + } + html body .ink-navigation ul.menu li .submenu li:first-child { + border-top: 1px solid #e6e6e6; + } + html body .ink-navigation ul.menu li .submenu li:last-child { + border-bottom: none; + } + html body .ink-navigation ul.menu li .submenu li a { + padding: 0 21px; + } + html body .ink-navigation ul.menu.horizontal { + height: auto; + } + html body .ink-navigation ul.menu.horizontal li { + display: block; + } + html body .ink-navigation ul.menu.horizontal li:first-child a { + border-radius: 0; + } + html body .ink-navigation ul.menu.horizontal li a { + padding: 0 1em; + } + html body .ink-navigation ul.menu.horizontal .submenu { + margin: 0; + } + html body .ink-navigation ul.menu.vertical li:first-child a { + border-radius: 0; + } + html body .ink-navigation ul.menu.vertical li:last-child a { + border-radius: 0; + } + html body .ink-navigation ul.menu.vertical li a { + padding: 0 21px; + } + html body .ink-navigation ul.menu.vertical .submenu { + top: auto; + left: auto; + overflow: visible; + padding-left: 0; + margin: 0; + } + html body .ink-navigation ul.menu.vertical .submenu li a { + padding: 0 42px; + } + html body .ink-navigation ul.menu.grey { + background: #e6e6e6; + border-radius: 0px; + } + html body .ink-navigation ul.menu.grey li { + border-bottom: 1px solid #cccccc; + } + html body .ink-navigation ul.menu.grey li:last-child { + border-bottom: none; + } + html body .ink-navigation ul.menu.grey li .submenu { + background: #e6e6e6; + } + html body .ink-navigation ul.menu.grey li .submenu li { + border-bottom: 1px solid #cccccc; + } + html body .ink-navigation ul.menu.grey li .submenu li:last-child { + border-bottom: none; + } + html body .ink-navigation ul.menu.grey li .submenu li:first-child { + border-top: 1px solid #cccccc; + } + html body .ink-navigation ul.menu.green { + background: #81b31b; + border-radius: 0px; + } + html body .ink-navigation ul.menu.green li { + border-bottom: 1px solid #648e0d; + } + html body .ink-navigation ul.menu.green li:last-child { + border-bottom: none; + } + html body .ink-navigation ul.menu.green li .submenu { + background: #81b31b; + } + html body .ink-navigation ul.menu.green li .submenu li { + border-bottom: 1px solid #648e0d; + } + html body .ink-navigation ul.menu.green li .submenu li a { + color: #ffffff; + } + html body .ink-navigation ul.menu.green li .submenu li:last-child { + border-bottom: none; + } + html body .ink-navigation ul.menu.green li .submenu li:first-child { + border-top: 1px solid #648e0d; + } + html body .ink-navigation ul.menu.red { + background: #c30a0a; + border-radius: 0px; + } + html body .ink-navigation ul.menu.red li { + border-bottom: 1px solid #9a0000; + } + html body .ink-navigation ul.menu.red li:last-child { + border-bottom: none; + } + html body .ink-navigation ul.menu.red li .submenu { + background: #c30a0a; + } + html body .ink-navigation ul.menu.red li .submenu li { + border-bottom: 1px solid #9a0000; + } + html body .ink-navigation ul.menu.red li .submenu li a { + color: #ffffff; + } + html body .ink-navigation ul.menu.red li .submenu li:last-child { + border-bottom: none; + } + html body .ink-navigation ul.menu.red li .submenu li:first-child { + border-top: 1px solid #9a0000; + } + html body .ink-navigation ul.menu.orange { + background: #f2990d; + border-radius: 0px; + } + html body .ink-navigation ul.menu.orange li { + border-bottom: 1px solid #cc7d00; + } + html body .ink-navigation ul.menu.orange li:last-child { + border-bottom: none; + } + html body .ink-navigation ul.menu.orange li .submenu { + background: #f2990d; + } + html body .ink-navigation ul.menu.orange li .submenu li { + border-bottom: 1px solid #cc7d00; + } + html body .ink-navigation ul.menu.orange li .submenu li a { + color: #ffffff; + } + html body .ink-navigation ul.menu.orange li .submenu li:last-child { + border-bottom: none; + } + html body .ink-navigation ul.menu.orange li .submenu li:first-child { + border-top: 1px solid #cc7d00; + } + html body .ink-navigation ul.menu.blue { + background: #1b88ce; + border-radius: 0px; + } + html body .ink-navigation ul.menu.blue li { + border-bottom: 1px solid #0c6daa; + } + html body .ink-navigation ul.menu.blue li:last-child { + border-bottom: none; + } + html body .ink-navigation ul.menu.blue li .submenu { + background: #1b88ce; + } + html body .ink-navigation ul.menu.blue li .submenu li { + border-bottom: 1px solid #0c6daa; + } + html body .ink-navigation ul.menu.blue li .submenu li a { + color: #ffffff; + } + html body .ink-navigation ul.menu.blue li .submenu li:last-child { + border-bottom: none; + } + html body .ink-navigation ul.menu.blue li .submenu li:first-child { + border-top: 1px solid #0c6daa; + } + html body .ink-navigation ul.menu.black { + background: #1a1a1a; + border-radius: 0px; + } + html body .ink-navigation ul.menu.black li { + border-bottom: 1px solid #404040; + } + html body .ink-navigation ul.menu.black li:last-child { + border-bottom: none; + } + html body .ink-navigation ul.menu.black li .submenu { + background: #1a1a1a; + } + html body .ink-navigation ul.menu.black li .submenu li { + border-bottom: 1px solid #404040; + } + html body .ink-navigation ul.menu.black li .submenu li a { + color: #ffffff; + } + html body .ink-navigation ul.menu.black li .submenu li a:hover { + background: rgba(255, 255, 255, 0.2); + color: #ffffff; + } + html body .ink-navigation ul.menu.black li .submenu li:last-child { + border-bottom: none; + } + html body .ink-navigation ul.menu.black li .submenu li:first-child { + border-top: 1px solid #404040; + } +} +.ink-navigation .pills li a { + -webkit-transition-property: background-color, color; + -moz-transition-property: background-color, color; + -o-transition-property: background-color, color; + -ms-transition-property: background-color, color; + transition-property: background-color, color; + -webkit-transition-duration: 125ms; + -moz-transition-duration: 125ms; + -o-transition-duration: 125ms; + -ms-transition-duration: 125ms; + transition-duration: 125ms; + -webkit-transition-timing-function: ease-in-out; + -moz-transition-timing-function: ease-in-out; + -o-transition-timing-function: ease-in-out; + -ms-transition-timing-function: ease-in-out; + transition-timing-function: ease-in-out; + -webkit-transition-delay: 0; + -moz-transition-delay: 0; + -o-transition-delay: 0; + -ms-transition-delay: 0; + transition-delay: 0; + border-radius: 8px; + -webkit-box-shadow: 0 1px 2px 0 rgba(128, 128, 128, 0.5); + -moz-box-shadow: 0 1px 2px 0 rgba(128, 128, 128, 0.5); + box-shadow: 0 1px 2px 0 rgba(128, 128, 128, 0.5); + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#f2f2f2'); + background: -moz-linear-gradient(top, #ffffff 0%, #f2f2f2 150%); + background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #ffffff), color-stop(150%, #f2f2f2)); + background: -webkit-linear-gradient(top, #ffffff 0%, #f2f2f2 150%); + background: -o-linear-gradient(top, #ffffff 0%, #f2f2f2 150%); + background: -ms-linear-gradient(top, #ffffff 0%, #f2f2f2 150%); + background: linear-gradient(top, #ffffff 0%, #f2f2f2 150%); + background: #ffffff; + padding: 0.5em 1em; + display: block; + float: left; + margin: .5em .5em 0 0; +} +.ink-navigation .pills li a:hover { + background: #e6e6e6; + color: #000000; +} +.ink-navigation .pills li.active a { + background: #1b88ce; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#1b88ce', endColorstr='#156ba1'); + background: -moz-linear-gradient(top, #1b88ce 0%, #156ba1 150%); + background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #1b88ce), color-stop(150%, #156ba1)); + background: -webkit-linear-gradient(top, #1b88ce 0%, #156ba1 150%); + background: -o-linear-gradient(top, #1b88ce 0%, #156ba1 150%); + background: -ms-linear-gradient(top, #1b88ce 0%, #156ba1 150%); + background: linear-gradient(top, #1b88ce 0%, #156ba1 150%); + color: #ffffff; + cursor: default; +} +.ink-navigation .breadcrumbs { + border-radius: 8px; + -webkit-box-shadow: 0 1px 2px 0 rgba(128, 128, 128, 0.5); + -moz-box-shadow: 0 1px 2px 0 rgba(128, 128, 128, 0.5); + box-shadow: 0 1px 2px 0 rgba(128, 128, 128, 0.5); + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#f2f2f2'); + background: -moz-linear-gradient(top, #ffffff 0%, #f2f2f2 150%); + background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #ffffff), color-stop(150%, #f2f2f2)); + background: -webkit-linear-gradient(top, #ffffff 0%, #f2f2f2 150%); + background: -o-linear-gradient(top, #ffffff 0%, #f2f2f2 150%); + background: -ms-linear-gradient(top, #ffffff 0%, #f2f2f2 150%); + background: linear-gradient(top, #ffffff 0%, #f2f2f2 150%); + background: #ffffff; +} +.ink-navigation .breadcrumbs li { + line-height: 2.5; + display: inline; +} +.ink-navigation .breadcrumbs li a { + display: inline; + padding: 0; +} +.ink-navigation .breadcrumbs li a:hover { + background: transparent; + color: #007ed5; + text-decoration: underline; +} +.ink-navigation .breadcrumbs li.active a { + color: #808080; + cursor: default; + text-decoration: none; +} +.ink-navigation .breadcrumbs li:first-child a { + padding-left: 1.2em; +} +.ink-navigation .breadcrumbs li:after { + content: '/'; + display: inline; + margin: 0 1em; + color: #b3b3b3; +} +.ink-navigation .breadcrumbs li:last-child:after { + content: ''; + display: none; +} +.ink-navigation .pagination { + background: #ffffff; + border-radius: 4px; +} +.ink-navigation .pagination li a { + padding: 0.5em 1em; + display: block; + float: left; + -webkit-transition-property: background-color, color; + -moz-transition-property: background-color, color; + -o-transition-property: background-color, color; + -ms-transition-property: background-color, color; + transition-property: background-color, color; + -webkit-transition-duration: 125ms; + -moz-transition-duration: 125ms; + -o-transition-duration: 125ms; + -ms-transition-duration: 125ms; + transition-duration: 125ms; + -webkit-transition-timing-function: ease-in-out; + -moz-transition-timing-function: ease-in-out; + -o-transition-timing-function: ease-in-out; + -ms-transition-timing-function: ease-in-out; + transition-timing-function: ease-in-out; + -webkit-transition-delay: 0; + -moz-transition-delay: 0; + -o-transition-delay: 0; + -ms-transition-delay: 0; + transition-delay: 0; + background: #ffffff; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#f2f2f2'); + background: -moz-linear-gradient(top, #ffffff 0%, #f2f2f2 150%); + background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #ffffff), color-stop(150%, #f2f2f2)); + background: -webkit-linear-gradient(top, #ffffff 0%, #f2f2f2 150%); + background: -o-linear-gradient(top, #ffffff 0%, #f2f2f2 150%); + background: -ms-linear-gradient(top, #ffffff 0%, #f2f2f2 150%); + background: linear-gradient(top, #ffffff 0%, #f2f2f2 150%); + -webkit-box-shadow: 0 1px 2px 0 rgba(128, 128, 128, 0.5); + -moz-box-shadow: 0 1px 2px 0 rgba(128, 128, 128, 0.5); + box-shadow: 0 1px 2px 0 rgba(128, 128, 128, 0.5); +} +.ink-navigation .pagination li a:hover { + background: #e6e6e6; +} +.ink-navigation .pagination li:first-child a { + border-top-right-radius: 0; + border-bottom-right-radius: 0; + border-bottom-left-radius: 6px; + border-top-left-radius: 6px; +} +.ink-navigation .pagination li:last-child a { + border-right: 1px #d9d9d9 solid; + border-top-right-radius: 6px; + border-bottom-right-radius: 6px; + border-bottom-left-radius: 0; + border-top-left-radius: 0; +} +.ink-navigation .pagination li.active a { + font-weight: 700; + background: #e6e6e6; +} +.ink-navigation .pagination li.active a:hover { + cursor: default; +} +.ink-navigation .pagination li.disabled a { + color: #b3b3b3; +} +.ink-navigation .pagination li.disabled a:hover { + -webkit-transition-property: background-color, color; + -moz-transition-property: background-color, color; + -o-transition-property: background-color, color; + -ms-transition-property: background-color, color; + transition-property: background-color, color; + -webkit-transition-duration: 125ms; + -moz-transition-duration: 125ms; + -o-transition-duration: 125ms; + -ms-transition-duration: 125ms; + transition-duration: 125ms; + -webkit-transition-timing-function: ease-in-out; + -moz-transition-timing-function: ease-in-out; + -o-transition-timing-function: ease-in-out; + -ms-transition-timing-function: ease-in-out; + transition-timing-function: ease-in-out; + -webkit-transition-delay: 0; + -moz-transition-delay: 0; + -o-transition-delay: 0; + -ms-transition-delay: 0; + transition-delay: 0; + background: #ffffff; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#f2f2f2'); + background: -moz-linear-gradient(top, #ffffff 0%, #f2f2f2 150%); + background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #ffffff), color-stop(150%, #f2f2f2)); + background: -webkit-linear-gradient(top, #ffffff 0%, #f2f2f2 150%); + background: -o-linear-gradient(top, #ffffff 0%, #f2f2f2 150%); + background: -ms-linear-gradient(top, #ffffff 0%, #f2f2f2 150%); + background: linear-gradient(top, #ffffff 0%, #f2f2f2 150%); + cursor: default; +} +@media screen and (max-width: 650px) { + html body .ink-navigation .pagination li a { + display: none; + } + html body .ink-navigation .pagination li:first-child a, + html body .ink-navigation .pagination li:last-child a { + display: block; + } +} +body { + color: #555555; + font-family: Ubuntu, 'Helvetica Neue', Helvetica, Arial, sans-serif; +} +a { + color: #0069d6; + text-decoration: none; +} +a:hover { + color: #007ed5; + text-decoration: underline; +} +/* Headings */ +h1, +h2, +h3, +h4, +h5, +h6 { + font-weight: bold; + color: #404040; + padding: .3em 0; +} +h1 { + font-size: 2.5em; +} +h2 { + font-size: 2em; +} +h3 { + font-size: 1.715em; +} +h4 { + font-size: 1.438em; +} +h5 { + font-size: 1.250em; +} +h6 { + font-size: 1em; +} +h3, +h4, +h5, +h6 { + line-height: 1.3em; +} +h1 small { + font-size: .6em; + color: #BFBFBF; + font-weight: 100; +} +small { + color: #a2a2a2; + font-size: .6em; +} +/* Paragraphs */ +p { + line-height: 1.5em; + margin: 0.5em 0; +} +input, +textarea { + font-family: Ubuntu, 'Helvetica Neue', Helvetica, Arial, sans-serif; + color: #666; +} +h1 small, +h2 small, +h3 small, +h4 small { + color: #bbb; + font-size: .6em; + font-weight: 100; + line-height: 1; +} +address { + color: #888888; + font-size: 1em; + line-height: 1.4em; +} +address h6 { + color: #555555; +} +blockquote { + border-left: 4px solid #ddd; + padding-left: 1em; + margin: 1em 0; + font-weight: 200; + font-size: 1.1em; +} +blockquote small { + font-size: .9em; +} +blockquote small::before, +blockquote small::after { + content: ' — '; +} +ul, +ol, +dl { + padding-left: 1.4em; + margin: 0; +} +ul.unstyled { + list-style: none; + padding-left: 0em; +} +ul.unstyled ul { + list-style: disc outside; + padding-left: 1.4em; +} +ol li { + list-style: decimal outside; +} +dl { + padding: 0em; +} +dl dt { + font-weight: bold; + margin-top: .7em; +} +dl dd { + padding-left: 1em; + margin: 0.5em 0; +} +ul, +ol { + line-height: 1.4; + margin: 0; + padding-left: 1.4em; +} +ul li, +ol li { + margin: .5em 0; +} +ul.ink-zebra li, +ol.ink-zebra li { + padding: 5px; + border-radius: 4px; +} +ul.ink-zebra li:nth-child(odd), +ol.ink-zebra li:nth-child(odd) { + background-color: #f9f9f9; +} +ul.ink-hover li, +ol.ink-hover li { + padding: 5px; + border-radius: 4px; +} +ul.ink-hover li:hover, +ol.ink-hover li:hover { + background: #fefbd6; +} +.note { + font-size: .9em; + color: #888888; +} +.note strong { + color: #555555; +} +.label_new { + background-color: #9dce62; +} +.label_warning { + background-color: #ff9c00; +} +.label_error { + background-color: #eb6363; +} +.label_info { + background-color: #479cd8; +} +h1 .label_new, +h1 .label_warning, +h1 .label_error, +h1 .label_info, +h2 .label_new, +h2 .label_warning, +h2 .label_error, +h2 .label_info, +h3 .label_new, +h3 .label_warning, +h3 .label_error, +h3 .label_info, +h4 .label_new, +h4 .label_warning, +h4 .label_error, +h4 .label_info { + font-size: 0.55em; + vertical-align: top; +} +hr { + border: 0; + border-top: 1px solid #ddd; + margin: 1em 0; +} +.lead { + font-size: 1.1em; + font-weight: bold; +} +.ink-label { + font-family: Ubuntu, 'Helvetica Neue', Helvetica, Arial, sans-serif; + padding: 0.2em 0.5em; + text-transform: uppercase; + font-weight: bold; + font-size: 0.85em; + border-radius: 2px; +} +mark { + padding: 3.75px 7.5px; + background: #ffff80; +} +.ink-caution { + color: #ffffff; + background-color: #cd0000; +} +.ink-info { + color: #ffffff; + background-color: #0f8bda; +} +.ink-success { + background-color: #85bd11; + color: #ffffff; +} +/* defines generic classes used to set size on several elements */ +.small { + font-size: 0.75em; +} +.large { + font-size: 1.2em; +} +.extralarge { + font-size: 1.45em; +} +/* add .warning, .caution, .info, .success class styling to text elements */ +h1.warning, +h2.warning, +h3.warning, +h4.warning, +h5.warning, +h6.warning, +p.warning, +mark.warning, +label.warning, +span.warning { + padding: 10px 15px; + background-color: #ff9c00; + color: #ffffff; + border-radius: 4px; +} +h1.warning.invert, +h2.warning.invert, +h3.warning.invert, +h4.warning.invert, +h5.warning.invert, +h6.warning.invert, +p.warning.invert, +mark.warning.invert, +label.warning.invert, +span.warning.invert { + color: #ff9c00; + background-color: transparent; + padding: 0; +} +h1.caution, +h2.caution, +h3.caution, +h4.caution, +h5.caution, +h6.caution, +p.caution, +mark.caution, +label.caution, +span.caution { + padding: 10px 15px; + color: #ffffff; + background-color: #cd0000; + border-radius: 4px; +} +h1.caution.invert, +h2.caution.invert, +h3.caution.invert, +h4.caution.invert, +h5.caution.invert, +h6.caution.invert, +p.caution.invert, +mark.caution.invert, +label.caution.invert, +span.caution.invert { + color: #cd0000; + background-color: transparent; + padding: 0; +} +h1.info, +h2.info, +h3.info, +h4.info, +h5.info, +h6.info, +p.info, +mark.info, +label.info, +span.info { + padding: 10px 15px; + color: #ffffff; + background-color: #0f8bda; + border-radius: 4px; +} +h1.info.invert, +h2.info.invert, +h3.info.invert, +h4.info.invert, +h5.info.invert, +h6.info.invert, +p.info.invert, +mark.info.invert, +label.info.invert, +span.info.invert { + color: #0f8bda; + background-color: transparent; + padding: 0; +} +h1.success, +h2.success, +h3.success, +h4.success, +h5.success, +h6.success, +p.success, +mark.success, +label.success, +span.success { + padding: 10px 15px; + background-color: #85bd11; + color: #ffffff; + border-radius: 4px; +} +h1.success.invert, +h2.success.invert, +h3.success.invert, +h4.success.invert, +h5.success.invert, +h6.success.invert, +p.success.invert, +mark.success.invert, +label.success.invert, +span.success.invert { + color: #85bd11; + background-color: transparent; + padding: 0; +} +label.ink-label.warning, +mark.ink-label.warning, +code.ink-label.warning, +span.ink-label.warning, +label.ink-label.caution, +mark.ink-label.caution, +code.ink-label.caution, +span.ink-label.caution, +label.ink-label.info, +mark.ink-label.info, +code.ink-label.info, +span.ink-label.info, +label.ink-label.success, +mark.ink-label.success, +code.ink-label.success, +span.ink-label.success { + padding: 3.75px 7.5px; +} +.ink-docked { + position: fixed !important; + opacity: 0.75; + z-index: 2000; +} +.ink-docked:hover { + opacity: 1; +} +.ink-shade { + background: rgba(0, 0, 0, 0.25); +} +/** +* Ink - Interface kit +* Module: Alert messages and boxes +*/ +.ink-alert, +.ink-alert-block h4 { + padding: 1em; + padding-top: 1.1em; + font-size: .9em; + color: #666; + background: #fbe8bc; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fbe8bc', endColorstr='#f7d88c'); + background: -moz-linear-gradient(top, #fbe8bc 0%, #f7d88c 100%); + background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #fbe8bc), color-stop(100%, #f7d88c)); + background: -webkit-linear-gradient(top, #fbe8bc 0%, #f7d88c 100%); + background: -o-linear-gradient(top, #fbe8bc 0%, #f7d88c 100%); + background: -ms-linear-gradient(top, #fbe8bc 0%, #f7d88c 100%); + background: linear-gradient(top, #fbe8bc 0%, #f7d88c 100%); + -webkit-box-shadow: '0 1px 2px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.8), inset 0 -1px 0 rgba(0, 0, 0, 0.1)'; + -moz-box-shadow: '0 1px 2px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.8), inset 0 -1px 0 rgba(0, 0, 0, 0.1)'; + box-shadow: '0 1px 2px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.8), inset 0 -1px 0 rgba(0, 0, 0, 0.1)'; + border-radius: 4px; +} +.ink-alert-block, +.ink-alert { + margin: 1em 0 ; + position: relative; +} +.ink-alert.success, +.ink-alert-block.success h4 { + background: #9dce62; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#9dce62', endColorstr='#85c13c'); + background: -moz-linear-gradient(top, #9dce62 0%, #85c13c 100%); + background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #9dce62), color-stop(100%, #85c13c)); + background: -webkit-linear-gradient(top, #9dce62 0%, #85c13c 100%); + background: -o-linear-gradient(top, #9dce62 0%, #85c13c 100%); + background: -ms-linear-gradient(top, #9dce62 0%, #85c13c 100%); + background: linear-gradient(top, #9dce62 0%, #85c13c 100%); + color: #ffffff; +} +.ink-alert.error, +.ink-alert-block.error h4 { + background: #eb6363; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#eb6363', endColorstr='#e53636'); + background: -moz-linear-gradient(top, #eb6363 0%, #e53636 100%); + background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #eb6363), color-stop(100%, #e53636)); + background: -webkit-linear-gradient(top, #eb6363 0%, #e53636 100%); + background: -o-linear-gradient(top, #eb6363 0%, #e53636 100%); + background: -ms-linear-gradient(top, #eb6363 0%, #e53636 100%); + background: linear-gradient(top, #eb6363 0%, #e53636 100%); + color: #ffffff; +} +.ink-alert.info, +.ink-alert-block.info h4 { + background: #5ca7dc; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#5ca7dc', endColorstr='#2983c3'); + background: -moz-linear-gradient(top, #5ca7dc 0%, #2983c3 100%); + background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #5ca7dc), color-stop(100%, #2983c3)); + background: -webkit-linear-gradient(top, #5ca7dc 0%, #2983c3 100%); + background: -o-linear-gradient(top, #5ca7dc 0%, #2983c3 100%); + background: -ms-linear-gradient(top, #5ca7dc 0%, #2983c3 100%); + background: linear-gradient(top, #5ca7dc 0%, #2983c3 100%); + color: #ffffff; +} +.ink-alert p, +.ink-alert-block p { + margin: 0 20px 0 0; +} +.ink-alert .ink-close, +.ink-alert-block .ink-close { + position: absolute; + color: #000000; + font-family: Arial, sans-serif; + font-weight: bold; + line-height: 0.56em; + font-size: 1.8em; + padding: 5px; + border: none; + background: none; + text-shadow: 0px 1px 0px #ffffff; + filter: alpha(opacity=20); + -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=20)"; + opacity: 0.2; +} +.ink-alert .ink-close { + top: .6em; + *top: .4em; + right: .4em; +} +.ink-alert-block .ink-close { + top: .5em; + *top: .2em; + right: .4em; +} +.ink-alert-block h4 { + font-size: 1em; + margin: 0; + border-bottom: 1px solid #f6d074; + -webkit-box-shadow: 0 1px 0 0 rgba(255, 255, 255, 0.3) inset; + -moz-box-shadow: 0 1px 0 0 rgba(255, 255, 255, 0.3) inset; + box-shadow: 0 1px 0 0 rgba(255, 255, 255, 0.3) inset; + border-radius: 4px 4px 0 0; +} +.ink-alert-block { + background: #fefbf3; + border-bottom: 1px solid #dddddd; + font-size: .9em; + border-radius: 4px; + -webkit-box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.1); + -moz-box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.1); + box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.1); +} +.ink-alert-block p, +l .ink-alert-block ul, +.ink-alert-block ol { + padding: 1em; +} +.ink-alert-block ul { + list-style: inside ; +} +.ink-alert-block.success h4 { + border-bottom: 1px solid #85c13c; +} +.ink-alert-block.error h4 { + border-bottom: 1px solid #e53636; +} +.ink-alert-block.info h4 { + border-bottom: 1px solid #2983c3; +} +.ink-button { + -webkit-appearance: menuitem; + font-weight: bold; + font-size: 0.938em; + line-height: 1.3em; + padding: 0.45em 0.8em; + float: none; + border: 1px solid #ccc; + cursor: pointer; + margin: 5px; + text-decoration: none; + display: inline-block; + border-radius: 4px; + color: #333333; + border-color: #c8c8c8; + border-bottom-color: #aeaeae; + text-shadow: 0 0.09em 0.03em #ffffff; + background: #eeeeee; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#eeeeee', endColorstr='#c8c8c8'); + background: -moz-linear-gradient(top, #eeeeee 0%, #c8c8c8 100%); + background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #eeeeee), color-stop(100%, #c8c8c8)); + background: -webkit-linear-gradient(top, #eeeeee 0%, #c8c8c8 100%); + background: -o-linear-gradient(top, #eeeeee 0%, #c8c8c8 100%); + background: -ms-linear-gradient(top, #eeeeee 0%, #c8c8c8 100%); + background: linear-gradient(top, #eeeeee 0%, #c8c8c8 100%); + -webkit-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2) inset; + -moz-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2) inset; + box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2) inset; +} +.ink-button:hover { + background: #ffffff; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#cacaca'); + background: -moz-linear-gradient(top, #ffffff 0%, #cacaca 100%); + background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #ffffff), color-stop(100%, #cacaca)); + background: -webkit-linear-gradient(top, #ffffff 0%, #cacaca 100%); + background: -o-linear-gradient(top, #ffffff 0%, #cacaca 100%); + background: -ms-linear-gradient(top, #ffffff 0%, #cacaca 100%); + background: linear-gradient(top, #ffffff 0%, #cacaca 100%); + -webkit-box-shadow: '0 1px 5px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.2), inset 0 0em .5em rgba(255, 255, 255, 0.5)'; + -moz-box-shadow: '0 1px 5px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.2), inset 0 0em .5em rgba(255, 255, 255, 0.5)'; + box-shadow: '0 1px 5px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.2), inset 0 0em .5em rgba(255, 255, 255, 0.5)'; + color: #333333; + text-decoration: none; +} +.ink-button:active { + background: #dcdcdc; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#dcdcdc', endColorstr='#ffffff'); + background: -moz-linear-gradient(top, #dcdcdc 0%, #ffffff 100%); + background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #dcdcdc), color-stop(100%, #ffffff)); + background: -webkit-linear-gradient(top, #dcdcdc 0%, #ffffff 100%); + background: -o-linear-gradient(top, #dcdcdc 0%, #ffffff 100%); + background: -ms-linear-gradient(top, #dcdcdc 0%, #ffffff 100%); + background: linear-gradient(top, #dcdcdc 0%, #ffffff 100%); + -webkit-box-shadow: 0 3px 5px 0 rgba(0, 0, 0, 0.25) inset; + -moz-box-shadow: 0 3px 5px 0 rgba(0, 0, 0, 0.25) inset; + box-shadow: 0 3px 5px 0 rgba(0, 0, 0, 0.25) inset; +} +.ink-button[disabled], +.ink-button .ink-disabled { + background: #eeeeee; + box-shadow: none; + border: none; +} +.ink-button[disabled]:hover, +.ink-button .ink-disabled:hover { + background: #eeeeee; + cursor: not-allowed; +} +.ink-button.warning { + color: #ffffff; + border-color: #b36d00; + border-bottom-color: #804e00; + text-shadow: 0 -0.09em 0.03em #804e00; + background: #ff9c00; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff9c00', endColorstr='#b36d00'); + background: -moz-linear-gradient(top, #ff9c00 0%, #b36d00 100%); + background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #ff9c00), color-stop(100%, #b36d00)); + background: -webkit-linear-gradient(top, #ff9c00 0%, #b36d00 100%); + background: -o-linear-gradient(top, #ff9c00 0%, #b36d00 100%); + background: -ms-linear-gradient(top, #ff9c00 0%, #b36d00 100%); + background: linear-gradient(top, #ff9c00 0%, #b36d00 100%); + -webkit-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2) inset; + -moz-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2) inset; + box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2) inset; +} +.ink-button.warning:hover { + background: #ffaa24; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffaa24', endColorstr='#b87000'); + background: -moz-linear-gradient(top, #ffaa24 0%, #b87000 100%); + background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #ffaa24), color-stop(100%, #b87000)); + background: -webkit-linear-gradient(top, #ffaa24 0%, #b87000 100%); + background: -o-linear-gradient(top, #ffaa24 0%, #b87000 100%); + background: -ms-linear-gradient(top, #ffaa24 0%, #b87000 100%); + background: linear-gradient(top, #ffaa24 0%, #b87000 100%); + -webkit-box-shadow: '0 1px 5px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.2), inset 0 0em .5em rgba(255, 255, 255, 0.5)'; + -moz-box-shadow: '0 1px 5px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.2), inset 0 0em .5em rgba(255, 255, 255, 0.5)'; + box-shadow: '0 1px 5px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.2), inset 0 0em .5em rgba(255, 255, 255, 0.5)'; + color: #ffffff; + text-decoration: none; +} +.ink-button.warning:active { + background: #db8600; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#db8600', endColorstr='#ffaa24'); + background: -moz-linear-gradient(top, #db8600 0%, #ffaa24 100%); + background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #db8600), color-stop(100%, #ffaa24)); + background: -webkit-linear-gradient(top, #db8600 0%, #ffaa24 100%); + background: -o-linear-gradient(top, #db8600 0%, #ffaa24 100%); + background: -ms-linear-gradient(top, #db8600 0%, #ffaa24 100%); + background: linear-gradient(top, #db8600 0%, #ffaa24 100%); + -webkit-box-shadow: 0 3px 5px 0 rgba(0, 0, 0, 0.25) inset; + -moz-box-shadow: 0 3px 5px 0 rgba(0, 0, 0, 0.25) inset; + box-shadow: 0 3px 5px 0 rgba(0, 0, 0, 0.25) inset; +} +.ink-button.warning[disabled], +.ink-button.warning .ink-disabled { + background: #dfc69f; + box-shadow: none; + border: none; +} +.ink-button.warning[disabled]:hover, +.ink-button.warning .ink-disabled:hover { + background: #dfc69f; + cursor: not-allowed; +} +.ink-button.caution { + color: #ffffff; + border-color: #810000; + border-bottom-color: #4e0000; + text-shadow: 0 -0.09em 0.03em #4e0000; + background: #cd0000; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#cd0000', endColorstr='#810000'); + background: -moz-linear-gradient(top, #cd0000 0%, #810000 100%); + background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #cd0000), color-stop(100%, #810000)); + background: -webkit-linear-gradient(top, #cd0000 0%, #810000 100%); + background: -o-linear-gradient(top, #cd0000 0%, #810000 100%); + background: -ms-linear-gradient(top, #cd0000 0%, #810000 100%); + background: linear-gradient(top, #cd0000 0%, #810000 100%); + -webkit-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2) inset; + -moz-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2) inset; + box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2) inset; +} +.ink-button.caution:hover { + background: #f10000; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f10000', endColorstr='#860000'); + background: -moz-linear-gradient(top, #f10000 0%, #860000 100%); + background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #f10000), color-stop(100%, #860000)); + background: -webkit-linear-gradient(top, #f10000 0%, #860000 100%); + background: -o-linear-gradient(top, #f10000 0%, #860000 100%); + background: -ms-linear-gradient(top, #f10000 0%, #860000 100%); + background: linear-gradient(top, #f10000 0%, #860000 100%); + -webkit-box-shadow: '0 1px 5px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.2), inset 0 0em .5em rgba(255, 255, 255, 0.5)'; + -moz-box-shadow: '0 1px 5px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.2), inset 0 0em .5em rgba(255, 255, 255, 0.5)'; + box-shadow: '0 1px 5px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.2), inset 0 0em .5em rgba(255, 255, 255, 0.5)'; + color: #ffffff; + text-decoration: none; +} +.ink-button.caution:active { + background: #a90000; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#a90000', endColorstr='#f10000'); + background: -moz-linear-gradient(top, #a90000 0%, #f10000 100%); + background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #a90000), color-stop(100%, #f10000)); + background: -webkit-linear-gradient(top, #a90000 0%, #f10000 100%); + background: -o-linear-gradient(top, #a90000 0%, #f10000 100%); + background: -ms-linear-gradient(top, #a90000 0%, #f10000 100%); + background: linear-gradient(top, #a90000 0%, #f10000 100%); + -webkit-box-shadow: 0 3px 5px 0 rgba(0, 0, 0, 0.25) inset; + -moz-box-shadow: 0 3px 5px 0 rgba(0, 0, 0, 0.25) inset; + box-shadow: 0 3px 5px 0 rgba(0, 0, 0, 0.25) inset; +} +.ink-button.caution[disabled], +.ink-button.caution .ink-disabled { + background: #d37a7a; + box-shadow: none; + border: none; +} +.ink-button.caution[disabled]:hover, +.ink-button.caution .ink-disabled:hover { + background: #d37a7a; + cursor: not-allowed; +} +.ink-button.success { + color: #ffffff; + border-color: #54770b; + border-bottom-color: #334806; + text-shadow: 0 -0.09em 0.03em #334806; + background: #85bd11; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#85bd11', endColorstr='#54770b'); + background: -moz-linear-gradient(top, #85bd11 0%, #54770b 100%); + background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #85bd11), color-stop(100%, #54770b)); + background: -webkit-linear-gradient(top, #85bd11 0%, #54770b 100%); + background: -o-linear-gradient(top, #85bd11 0%, #54770b 100%); + background: -ms-linear-gradient(top, #85bd11 0%, #54770b 100%); + background: linear-gradient(top, #85bd11 0%, #54770b 100%); + -webkit-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2) inset; + -moz-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2) inset; + box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2) inset; +} +.ink-button.success:hover { + background: #9cde14; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#9cde14', endColorstr='#577b0b'); + background: -moz-linear-gradient(top, #9cde14 0%, #577b0b 100%); + background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #9cde14), color-stop(100%, #577b0b)); + background: -webkit-linear-gradient(top, #9cde14 0%, #577b0b 100%); + background: -o-linear-gradient(top, #9cde14 0%, #577b0b 100%); + background: -ms-linear-gradient(top, #9cde14 0%, #577b0b 100%); + background: linear-gradient(top, #9cde14 0%, #577b0b 100%); + -webkit-box-shadow: '0 1px 5px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.2), inset 0 0em .5em rgba(255, 255, 255, 0.5)'; + -moz-box-shadow: '0 1px 5px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.2), inset 0 0em .5em rgba(255, 255, 255, 0.5)'; + box-shadow: '0 1px 5px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.2), inset 0 0em .5em rgba(255, 255, 255, 0.5)'; + color: #ffffff; + text-decoration: none; +} +.ink-button.success:active { + background: #6e9c0e; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#6e9c0e', endColorstr='#9cde14'); + background: -moz-linear-gradient(top, #6e9c0e 0%, #9cde14 100%); + background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #6e9c0e), color-stop(100%, #9cde14)); + background: -webkit-linear-gradient(top, #6e9c0e 0%, #9cde14 100%); + background: -o-linear-gradient(top, #6e9c0e 0%, #9cde14 100%); + background: -ms-linear-gradient(top, #6e9c0e 0%, #9cde14 100%); + background: linear-gradient(top, #6e9c0e 0%, #9cde14 100%); + -webkit-box-shadow: 0 3px 5px 0 rgba(0, 0, 0, 0.25) inset; + -moz-box-shadow: 0 3px 5px 0 rgba(0, 0, 0, 0.25) inset; + box-shadow: 0 3px 5px 0 rgba(0, 0, 0, 0.25) inset; +} +.ink-button.success[disabled], +.ink-button.success .ink-disabled { + background: #b1c489; + box-shadow: none; + border: none; +} +.ink-button.success[disabled]:hover, +.ink-button.success .ink-disabled:hover { + background: #b1c489; + cursor: not-allowed; +} +.ink-button.info { + color: #ffffff; + border-color: #0a5d92; + border-bottom-color: #073f63; + text-shadow: 0 -0.09em 0.03em #073f63; + background: #0f8bda; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#0f8bda', endColorstr='#0a5d92'); + background: -moz-linear-gradient(top, #0f8bda 0%, #0a5d92 100%); + background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #0f8bda), color-stop(100%, #0a5d92)); + background: -webkit-linear-gradient(top, #0f8bda 0%, #0a5d92 100%); + background: -o-linear-gradient(top, #0f8bda 0%, #0a5d92 100%); + background: -ms-linear-gradient(top, #0f8bda 0%, #0a5d92 100%); + background: linear-gradient(top, #0f8bda 0%, #0a5d92 100%); + -webkit-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2) inset; + -moz-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2) inset; + box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2) inset; +} +.ink-button.info:hover { + background: #1d9eef; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#1d9eef', endColorstr='#0a6097'); + background: -moz-linear-gradient(top, #1d9eef 0%, #0a6097 100%); + background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #1d9eef), color-stop(100%, #0a6097)); + background: -webkit-linear-gradient(top, #1d9eef 0%, #0a6097 100%); + background: -o-linear-gradient(top, #1d9eef 0%, #0a6097 100%); + background: -ms-linear-gradient(top, #1d9eef 0%, #0a6097 100%); + background: linear-gradient(top, #1d9eef 0%, #0a6097 100%); + -webkit-box-shadow: '0 1px 5px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.2), inset 0 0em .5em rgba(255, 255, 255, 0.5)'; + -moz-box-shadow: '0 1px 5px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.2), inset 0 0em .5em rgba(255, 255, 255, 0.5)'; + box-shadow: '0 1px 5px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.2), inset 0 0em .5em rgba(255, 255, 255, 0.5)'; + color: #ffffff; + text-decoration: none; +} +.ink-button.info:active { + background: #0d76b9; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#0d76b9', endColorstr='#1d9eef'); + background: -moz-linear-gradient(top, #0d76b9 0%, #1d9eef 100%); + background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #0d76b9), color-stop(100%, #1d9eef)); + background: -webkit-linear-gradient(top, #0d76b9 0%, #1d9eef 100%); + background: -o-linear-gradient(top, #0d76b9 0%, #1d9eef 100%); + background: -ms-linear-gradient(top, #0d76b9 0%, #1d9eef 100%); + background: linear-gradient(top, #0d76b9 0%, #1d9eef 100%); + -webkit-box-shadow: 0 3px 5px 0 rgba(0, 0, 0, 0.25) inset; + -moz-box-shadow: 0 3px 5px 0 rgba(0, 0, 0, 0.25) inset; + box-shadow: 0 3px 5px 0 rgba(0, 0, 0, 0.25) inset; +} +.ink-button.info[disabled], +.ink-button.info .ink-disabled { + background: #98bad0; + box-shadow: none; + border: none; +} +.ink-button.info[disabled]:hover, +.ink-button.info .ink-disabled:hover { + background: #98bad0; + cursor: not-allowed; +} +@font-face { + font-family: 'FontAwesome'; + src: url('../font/fontawesome-webfont.eot'); + src: url('../font/fontawesome-webfont.eot?#iefix') format('embedded-opentype'), url('../font/fontawesome-webfont.woff') format('woff'), url('../font/fontawesome-webfont.ttf') format('truetype'), url('../font/fontawesome-webfont.svg#FontAwesome') format('svg'); + font-weight: normal; + font-style: normal; +} +/* Font Awesome styles + ------------------------------------------------------- */ +[class^="icon-"]:before, +[class*=" icon-"]:before { + font-family: FontAwesome; + font-weight: normal; + font-style: normal; + display: inline-block; + text-decoration: inherit; +} +a [class^="icon-"], +a [class*=" icon-"] { + display: inline-block; + text-decoration: inherit; +} +/* makes the font 33% larger relative to the icon container */ +.icon-large:before { + vertical-align: middle; + font-size: 1.3333333333333333em; +} +.btn [class^="icon-"], +.nav-tabs [class^="icon-"], +.btn [class*=" icon-"], +.nav-tabs [class*=" icon-"] { + /* keeps button heights with and without icons the same */ + + line-height: .9em; +} +li [class^="icon-"], +li [class*=" icon-"] { + display: inline-block; + width: 1.25em; + text-align: center; +} +li .icon-large:before, +li .icon-large:before { + /* 1.5 increased font size for icon-large * 1.25 width */ + + width: 1.875em; +} +ul.icons { + list-style-type: none; + margin-left: 2em; + text-indent: -0.8em; +} +ul.icons li [class^="icon-"], +ul.icons li [class*=" icon-"] { + width: .8em; +} +ul.icons li .icon-large:before, +ul.icons li .icon-large:before { + /* 1.5 increased font size for icon-large * 1.25 width */ + + vertical-align: initial; +} +/* Font Awesome uses the Unicode Private Use Area (PUA) to ensure screen + readers do not read off random characters that represent icons */ +.icon-glass:before { + content: "\f000"; +} +.icon-music:before { + content: "\f001"; +} +.icon-search:before { + content: "\f002"; +} +.icon-envelope:before { + content: "\f003"; +} +.icon-heart:before { + content: "\f004"; +} +.icon-star:before { + content: "\f005"; +} +.icon-star-empty:before { + content: "\f006"; +} +.icon-user:before { + content: "\f007"; +} +.icon-film:before { + content: "\f008"; +} +.icon-th-large:before { + content: "\f009"; +} +.icon-th:before { + content: "\f00a"; +} +.icon-th-list:before { + content: "\f00b"; +} +.icon-ok:before { + content: "\f00c"; +} +.icon-remove:before { + content: "\f00d"; +} +.icon-zoom-in:before { + content: "\f00e"; +} +.icon-zoom-out:before { + content: "\f010"; +} +.icon-off:before { + content: "\f011"; +} +.icon-signal:before { + content: "\f012"; +} +.icon-cog:before { + content: "\f013"; +} +.icon-trash:before { + content: "\f014"; +} +.icon-home:before { + content: "\f015"; +} +.icon-file:before { + content: "\f016"; +} +.icon-time:before { + content: "\f017"; +} +.icon-road:before { + content: "\f018"; +} +.icon-download-alt:before { + content: "\f019"; +} +.icon-download:before { + content: "\f01a"; +} +.icon-upload:before { + content: "\f01b"; +} +.icon-inbox:before { + content: "\f01c"; +} +.icon-play-circle:before { + content: "\f01d"; +} +.icon-repeat:before { + content: "\f01e"; +} +/* \f020 doesn't work in Safari. all shifted one down */ +.icon-refresh:before { + content: "\f021"; +} +.icon-list-alt:before { + content: "\f022"; +} +.icon-lock:before { + content: "\f023"; +} +.icon-flag:before { + content: "\f024"; +} +.icon-headphones:before { + content: "\f025"; +} +.icon-volume-off:before { + content: "\f026"; +} +.icon-volume-down:before { + content: "\f027"; +} +.icon-volume-up:before { + content: "\f028"; +} +.icon-qrcode:before { + content: "\f029"; +} +.icon-barcode:before { + content: "\f02a"; +} +.icon-tag:before { + content: "\f02b"; +} +.icon-tags:before { + content: "\f02c"; +} +.icon-book:before { + content: "\f02d"; +} +.icon-bookmark:before { + content: "\f02e"; +} +.icon-print:before { + content: "\f02f"; +} +.icon-camera:before { + content: "\f030"; +} +.icon-font:before { + content: "\f031"; +} +.icon-bold:before { + content: "\f032"; +} +.icon-italic:before { + content: "\f033"; +} +.icon-text-height:before { + content: "\f034"; +} +.icon-text-width:before { + content: "\f035"; +} +.icon-align-left:before { + content: "\f036"; +} +.icon-align-center:before { + content: "\f037"; +} +.icon-align-right:before { + content: "\f038"; +} +.icon-align-justify:before { + content: "\f039"; +} +.icon-list:before { + content: "\f03a"; +} +.icon-indent-left:before { + content: "\f03b"; +} +.icon-indent-right:before { + content: "\f03c"; +} +.icon-facetime-video:before { + content: "\f03d"; +} +.icon-picture:before { + content: "\f03e"; +} +.icon-pencil:before { + content: "\f040"; +} +.icon-map-marker:before { + content: "\f041"; +} +.icon-adjust:before { + content: "\f042"; +} +.icon-tint:before { + content: "\f043"; +} +.icon-edit:before { + content: "\f044"; +} +.icon-share:before { + content: "\f045"; +} +.icon-check:before { + content: "\f046"; +} +.icon-move:before { + content: "\f047"; +} +.icon-step-backward:before { + content: "\f048"; +} +.icon-fast-backward:before { + content: "\f049"; +} +.icon-backward:before { + content: "\f04a"; +} +.icon-play:before { + content: "\f04b"; +} +.icon-pause:before { + content: "\f04c"; +} +.icon-stop:before { + content: "\f04d"; +} +.icon-forward:before { + content: "\f04e"; +} +.icon-fast-forward:before { + content: "\f050"; +} +.icon-step-forward:before { + content: "\f051"; +} +.icon-eject:before { + content: "\f052"; +} +.icon-chevron-left:before { + content: "\f053"; +} +.icon-chevron-right:before { + content: "\f054"; +} +.icon-plus-sign:before { + content: "\f055"; +} +.icon-minus-sign:before { + content: "\f056"; +} +.icon-remove-sign:before { + content: "\f057"; +} +.icon-ok-sign:before { + content: "\f058"; +} +.icon-question-sign:before { + content: "\f059"; +} +.icon-info-sign:before { + content: "\f05a"; +} +.icon-screenshot:before { + content: "\f05b"; +} +.icon-remove-circle:before { + content: "\f05c"; +} +.icon-ok-circle:before { + content: "\f05d"; +} +.icon-ban-circle:before { + content: "\f05e"; +} +.icon-arrow-left:before { + content: "\f060"; +} +.icon-arrow-right:before { + content: "\f061"; +} +.icon-arrow-up:before { + content: "\f062"; +} +.icon-arrow-down:before { + content: "\f063"; +} +.icon-share-alt:before { + content: "\f064"; +} +.icon-resize-full:before { + content: "\f065"; +} +.icon-resize-small:before { + content: "\f066"; +} +.icon-plus:before { + content: "\f067"; +} +.icon-minus:before { + content: "\f068"; +} +.icon-asterisk:before { + content: "\f069"; +} +.icon-exclamation-sign:before { + content: "\f06a"; +} +.icon-gift:before { + content: "\f06b"; +} +.icon-leaf:before { + content: "\f06c"; +} +.icon-fire:before { + content: "\f06d"; +} +.icon-eye-open:before { + content: "\f06e"; +} +.icon-eye-close:before { + content: "\f070"; +} +.icon-warning-sign:before { + content: "\f071"; +} +.icon-plane:before { + content: "\f072"; +} +.icon-calendar:before { + content: "\f073"; +} +.icon-random:before { + content: "\f074"; +} +.icon-comment:before { + content: "\f075"; +} +.icon-magnet:before { + content: "\f076"; +} +.icon-chevron-up:before { + content: "\f077"; +} +.icon-chevron-down:before { + content: "\f078"; +} +.icon-retweet:before { + content: "\f079"; +} +.icon-shopping-cart:before { + content: "\f07a"; +} +.icon-folder-close:before { + content: "\f07b"; +} +.icon-folder-open:before { + content: "\f07c"; +} +.icon-resize-vertical:before { + content: "\f07d"; +} +.icon-resize-horizontal:before { + content: "\f07e"; +} +.icon-bar-chart:before { + content: "\f080"; +} +.icon-twitter-sign:before { + content: "\f081"; +} +.icon-facebook-sign:before { + content: "\f082"; +} +.icon-camera-retro:before { + content: "\f083"; +} +.icon-key:before { + content: "\f084"; +} +.icon-cogs:before { + content: "\f085"; +} +.icon-comments:before { + content: "\f086"; +} +.icon-thumbs-up:before { + content: "\f087"; +} +.icon-thumbs-down:before { + content: "\f088"; +} +.icon-star-half:before { + content: "\f089"; +} +.icon-heart-empty:before { + content: "\f08a"; +} +.icon-signout:before { + content: "\f08b"; +} +.icon-linkedin-sign:before { + content: "\f08c"; +} +.icon-pushpin:before { + content: "\f08d"; +} +.icon-external-link:before { + content: "\f08e"; +} +.icon-signin:before { + content: "\f090"; +} +.icon-trophy:before { + content: "\f091"; +} +.icon-github-sign:before { + content: "\f092"; +} +.icon-upload-alt:before { + content: "\f093"; +} +.icon-lemon:before { + content: "\f094"; +} +.icon-phone:before { + content: "\f095"; +} +.icon-check-empty:before { + content: "\f096"; +} +.icon-bookmark-empty:before { + content: "\f097"; +} +.icon-phone-sign:before { + content: "\f098"; +} +.icon-twitter:before { + content: "\f099"; +} +.icon-facebook:before { + content: "\f09a"; +} +.icon-github:before { + content: "\f09b"; +} +.icon-unlock:before { + content: "\f09c"; +} +.icon-credit-card:before { + content: "\f09d"; +} +.icon-rss:before { + content: "\f09e"; +} +.icon-hdd:before { + content: "\f0a0"; +} +.icon-bullhorn:before { + content: "\f0a1"; +} +.icon-bell:before { + content: "\f0a2"; +} +.icon-certificate:before { + content: "\f0a3"; +} +.icon-hand-right:before { + content: "\f0a4"; +} +.icon-hand-left:before { + content: "\f0a5"; +} +.icon-hand-up:before { + content: "\f0a6"; +} +.icon-hand-down:before { + content: "\f0a7"; +} +.icon-circle-arrow-left:before { + content: "\f0a8"; +} +.icon-circle-arrow-right:before { + content: "\f0a9"; +} +.icon-circle-arrow-up:before { + content: "\f0aa"; +} +.icon-circle-arrow-down:before { + content: "\f0ab"; +} +.icon-globe:before { + content: "\f0ac"; +} +.icon-wrench:before { + content: "\f0ad"; +} +.icon-tasks:before { + content: "\f0ae"; +} +.icon-filter:before { + content: "\f0b0"; +} +.icon-briefcase:before { + content: "\f0b1"; +} +.icon-fullscreen:before { + content: "\f0b2"; +} +.icon-group:before { + content: "\f0c0"; +} +.icon-link:before { + content: "\f0c1"; +} +.icon-cloud:before { + content: "\f0c2"; +} +.icon-beaker:before { + content: "\f0c3"; +} +.icon-cut:before { + content: "\f0c4"; +} +.icon-copy:before { + content: "\f0c5"; +} +.icon-paper-clip:before { + content: "\f0c6"; +} +.icon-save:before { + content: "\f0c7"; +} +.icon-sign-blank:before { + content: "\f0c8"; +} +.icon-reorder:before { + content: "\f0c9"; +} +.icon-list-ul:before { + content: "\f0ca"; +} +.icon-list-ol:before { + content: "\f0cb"; +} +.icon-strikethrough:before { + content: "\f0cc"; +} +.icon-underline:before { + content: "\f0cd"; +} +.icon-table:before { + content: "\f0ce"; +} +.icon-magic:before { + content: "\f0d0"; +} +.icon-truck:before { + content: "\f0d1"; +} +.icon-pinterest:before { + content: "\f0d2"; +} +.icon-pinterest-sign:before { + content: "\f0d3"; +} +.icon-google-plus-sign:before { + content: "\f0d4"; +} +.icon-google-plus:before { + content: "\f0d5"; +} +.icon-money:before { + content: "\f0d6"; +} +.icon-caret-down:before { + content: "\f0d7"; +} +.icon-caret-up:before { + content: "\f0d8"; +} +.icon-caret-left:before { + content: "\f0d9"; +} +.icon-caret-right:before { + content: "\f0da"; +} +.icon-columns:before { + content: "\f0db"; +} +.icon-sort:before { + content: "\f0dc"; +} +.icon-sort-down:before { + content: "\f0dd"; +} +.icon-sort-up:before { + content: "\f0de"; +} +.icon-envelope-alt:before { + content: "\f0e0"; +} +.icon-linkedin:before { + content: "\f0e1"; +} +.icon-undo:before { + content: "\f0e2"; +} +.icon-legal:before { + content: "\f0e3"; +} +.icon-dashboard:before { + content: "\f0e4"; +} +.icon-comment-alt:before { + content: "\f0e5"; +} +.icon-comments-alt:before { + content: "\f0e6"; +} +.icon-bolt:before { + content: "\f0e7"; +} +.icon-sitemap:before { + content: "\f0e8"; +} +.icon-umbrella:before { + content: "\f0e9"; +} +.icon-paste:before { + content: "\f0ea"; +} +.icon-user-md:before { + content: "\f200"; +} +form.ink-form fieldset { + border: none; + margin-bottom: 1.5em; + padding: 0; +} +form.ink-form fieldset legend { + font-size: 1.438em; + font-weight: 700; + margin: 1em 0; + text-shadow: 0 1px 0 white; + display: block; + width: 100%; + border-bottom: 1px solid #ddd; +} +form.ink-form input[type=text], +form.ink-form input[type=password], +form.ink-form input[type=file], +form.ink-form input[type=reset], +form.ink-form input[type=number], +form.ink-form input[type=range], +form.ink-form input[type=search], +form.ink-form input[type=email], +form.ink-form textarea, +form.ink-form select { + border-radius: 4px; + padding: 6px; + border: 1px solid #dddddd; + resize: none; + font-size: 14px; + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + -ms-box-sizing: border-box; + box-sizing: border-box; + background: #ffffff; +} +form.ink-form .control { + clear: both; + line-height: 2.5; + padding: 0.2em; + overflow: hidden; +} +form.ink-form .control.required label:after { + content: "\f069"; + color: #cd0000; + font-size: 0.8em; + line-height: 1; + margin-left: 0.1em; + font-weight: 500; + font-family: FontAwesome; + display: inline-block; + width: 1.25em; + text-align: center; +} +form.ink-form .control.inline label { + float: left; + text-align: right; +} +form.ink-form .control.inline input[type="color"], +form.ink-form .control.inline input[type="date"], +form.ink-form .control.inline input[type="datetime"], +form.ink-form .control.inline input[type="time"], +form.ink-form .control.inline input[type="month"], +form.ink-form .control.inline input[type="week"], +form.ink-form .control.inline input[type="email"], +form.ink-form .control.inline input[type="number"], +form.ink-form .control.inline input[type="range"], +form.ink-form .control.inline input[type="tel"], +form.ink-form .control.inline input[type="url"], +form.ink-form .control.inline input[type="text"], +form.ink-form .control.inline input[type="search"], +form.ink-form .control.inline input[type="password"] { + float: left; +} +form.ink-form .control.block label { + width: 100%; + text-align: left; +} +form.ink-form .control.block input[type="color"], +form.ink-form .control.block input[type="date"], +form.ink-form .control.block input[type="datetime"], +form.ink-form .control.block input[type="time"], +form.ink-form .control.block input[type="month"], +form.ink-form .control.block input[type="week"], +form.ink-form .control.block input[type="email"], +form.ink-form .control.block input[type="number"], +form.ink-form .control.block input[type="range"], +form.ink-form .control.block input[type="tel"], +form.ink-form .control.block input[type="url"], +form.ink-form .control.block input[type="text"] { + width: 100%; +} +form.ink-form .control.required label:after { + content: "\f069"; + color: #cd0000; + font-size: 0.8em; + line-height: 1; + margin-left: 0.1em; + font-weight: 500; + font-family: FontAwesome; + display: inline-block; + width: 1.25em; + text-align: center; +} +form.ink-form .control.validation.error input, +form.ink-form .control.validation.error textarea, +form.ink-form .control.validation.error select { + outline: none; + border-color: fadeIn(rgba(200, 10, 16, 0.5), 30%); + -webkit-box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1), 0 0 10px rgba(200, 10, 16, 0.5); + -moz-box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1), 0 0 10px rgba(200, 10, 16, 0.5); + box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1), 0 0 10px rgba(200, 10, 16, 0.5); +} +form.ink-form .control.validation.error p.tip { + color: rgba(151, 8, 12, 0.5); +} +form.ink-form .control.validation.warning input, +form.ink-form .control.validation.warning textarea, +form.ink-form .control.validation.warning select { + outline: none; + border-color: fadeIn(rgba(255, 156, 0, 0.6), 30%); + -webkit-box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1), 0 0 10px rgba(255, 156, 0, 0.6); + -moz-box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1), 0 0 10px rgba(255, 156, 0, 0.6); + box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1), 0 0 10px rgba(255, 156, 0, 0.6); +} +form.ink-form .control.validation.warning p.tip { + color: rgba(204, 125, 0, 0.6); +} +form.ink-form .control-group.validation.error input, +form.ink-form .control-group.validation.error textarea, +form.ink-form .control-group.validation.error select { + outline: none; + border-color: fadeIn(rgba(200, 10, 16, 0.5), 30%); + -webkit-box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1), 0 0 10px rgba(200, 10, 16, 0.5); + -moz-box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1), 0 0 10px rgba(200, 10, 16, 0.5); + box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1), 0 0 10px rgba(200, 10, 16, 0.5); +} +form.ink-form .control-group.validation.error + p.tip { + color: rgba(151, 8, 12, 0.5); +} +form.ink-form .control-group.validation.warning input, +form.ink-form .control-group.validation.warning textarea, +form.ink-form .control-group.validation.warning select { + outline: none; + border-color: fadeIn(rgba(255, 156, 0, 0.6), 30%); + -webkit-box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1), 0 0 10px rgba(255, 156, 0, 0.6); + -moz-box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1), 0 0 10px rgba(255, 156, 0, 0.6); + box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1), 0 0 10px rgba(255, 156, 0, 0.6); +} +form.ink-form .control-group.validation.warning + p.tip { + color: rgba(204, 125, 0, 0.6); +} +form.ink-form .control-group.required p.label { + color: #555555; +} +form.ink-form .control-group.required p.label:after { + content: "\f069"; + color: #cd0000; + font-size: 0.8em; + line-height: 1; + margin-left: 0.1em; + font-weight: 500; + font-family: FontAwesome; + display: inline-block; + width: 1.25em; + text-align: center; +} +form.ink-form .control p.tip, +form.ink-form .control-group p.tip { + margin: 0; + line-height: 2.2; + font-size: 1em; + color: #aeaeae; + position: relative; + margin-left: 0.1em; +} +form.ink-form.inline p.tip.space.shorter { + margin-left: 17% ; +} +form.ink-form.inline p.tip.space.short { + margin-left: 22% ; +} +form.ink-form.inline p.tip.space.medium { + margin-left: 27% ; +} +form.ink-form.inline p.tip.space.wide { + margin-left: 32% ; +} +form.ink-form.inline p.tip.space.wider { + margin-left: 37% ; +} +form.ink-form label.shorter { + width: 15% ; +} +form.ink-form label.short { + width: 20% ; +} +form.ink-form label.medium { + width: 25% ; +} +form.ink-form label.wide { + width: 30% ; +} +form.ink-form label.wider { + width: 35% ; +} +form.ink-form input.shorter, +form.ink-form select.shorter, +form.ink-form textarea.shorter { + width: 20% ; +} +form.ink-form input.short, +form.ink-form select.short, +form.ink-form textarea.short { + width: 40% ; +} +form.ink-form input.medium, +form.ink-form select.medium, +form.ink-form textarea.medium { + width: 60% ; +} +form.ink-form input.wide, +form.ink-form select.wide, +form.ink-form textarea.wide { + width: 78% ; +} +form.ink-form input.wider, +form.ink-form select.wider, +form.ink-form textarea.wider { + width: 90% ; +} +form.ink-form .control { + margin-bottom: 0.5em; +} +form.ink-form ul.control-group { + list-style-type: none; + padding: 0; + margin: 0; +} +form.ink-form ul.control-group li { + display: block; + overflow: hidden; + line-height: 1.5; + margin: 0; +} +form.ink-form ul.control-group li label, +form.ink-form ul.control-group li input { + line-height: inherit; +} +form.ink-form.inline label { + display: block; + float: left; + margin-right: .5em; + line-height: inherit; + text-align: right; + vertical-align: top; +} +form.ink-form.inline textarea { + min-height: 5em; +} +form.ink-form.inline input[type="checkbox"], +form.ink-form.inline input[type="radio"] { + line-height: inherit; + margin-top: 0.35em; + float: left; +} +form.ink-form.inline input[type="checkbox"] + label, +form.ink-form.inline input[type="radio"] + label { + line-height: inherit; + margin: 0 1.55em 0 0.55em; + margin-top: 0; + width: auto; + min-width: auto; +} +form.ink-form.inline .ink-mini-input { + width: 5em; + margin-right: .6em; +} +form.ink-form.inline.control { + line-height: inherit; +} +form.ink-form.block .control { + display: block; + margin-bottom: 0; + line-height: 2; +} +form.ink-form.block .control.inline label { + float: left; +} +form.ink-form.block .control.inline input { + float: left; +} +form.ink-form.block label { + margin: 0.5em 0 0 0.2em; +} +form.ink-form.block input[type=text], +form.ink-form.block input[type=password], +form.ink-form.block input[type=file], +form.ink-form.block input[type=reset], +form.ink-form.block select { + width: 100%; +} +form.ink-form.block textarea { + min-width: 100%; + max-width: 100%; + min-height: 5em; +} +form.ink-form.block input[type="checkbox"], +form.ink-form.block input[type="radio"] { + line-height: 2; + margin-top: 0.55em; + float: left; + clear: left; +} +form.ink-form.block input[type="checkbox"] + label, +form.ink-form.block input[type="radio"] + label { + float: left; + line-height: 2.5; + margin-left: 0.55em; + margin-top: -0.3em; +} +form.ink-form.block .ink-mini-input { + width: 5em; + margin-right: 0.6em; +} +table.ink-table { + width: 100%; + border-collapse: collapse; + border-spacing: 0; + background: none; +} +table.ink-table thead tr th { + padding: 5px 10px; + border-bottom: #cccccc 1px solid; + background: none; + font-weight: 700; + line-height: 2; +} +table.ink-table tbody tr td { + padding: 5px 10px; + border-bottom: #cccccc 1px solid; + background: none; + line-height: 2; +} +table.ink-table tfoot tr td { + padding: 5px 10px; + border-bottom: #cccccc 1px solid; + background: none; + line-height: 2; +} +table.ink-table.ink-zebra tbody tr:nth-child(odd) { + background-color: #efefef; +} +table.ink-table.ink-hover tbody tr:hover { + background: #fefbd6; + cursor: pointer; +} +table.ink-table.ink-bordered { + border-collapse: separate; + border: #cccccc 1px solid; + border-radius: 5px; +} +table.ink-table.ink-bordered thead tr th { + border-left: #cccccc 1px solid; +} +table.ink-table.ink-bordered thead tr th:first-child { + border-left: none; +} +table.ink-table.ink-bordered tfoot tr:last-child td { + border-bottom: none; +} +table.ink-table.ink-bordered tfoot tr td { + border-left: #cccccc 1px solid; +} +table.ink-table.ink-bordered tfoot tr td:first-child { + border-left: none; +} +table.ink-table.ink-bordered tbody tr td { + border-left: #cccccc 1px solid; +} +table.ink-table.ink-bordered tbody tr td:first-child { + border-left: none; +} +/* Geral */ +.ink-gallery { + max-width: 600px; + width: 100%; + position: relative; +} +.ink-gallery .thumbs { + overflow: hidden; +} +.ink-gallery .thumbs > ul { + -webkit-transition-property: "margin-left"; + -moz-transition-property: "margin-left"; + -o-transition-property: "margin-left"; + -ms-transition-property: "margin-left"; + transition-property: "margin-left"; + -webkit-transition-duration: 250ms; + -moz-transition-duration: 250ms; + -o-transition-duration: 250ms; + -ms-transition-duration: 250ms; + transition-duration: 250ms; + -webkit-transition-timing-function: ease-in-out; + -moz-transition-timing-function: ease-in-out; + -o-transition-timing-function: ease-in-out; + -ms-transition-timing-function: ease-in-out; + transition-timing-function: ease-in-out; + -webkit-transition-delay: 0; + -moz-transition-delay: 0; + -o-transition-delay: 0; + -ms-transition-delay: 0; + transition-delay: 0; +} +.ink-gallery .pagination { + width: 100%; + text-align: center; + position: absolute; + bottom: 0; + z-index: 10; +} +.ink-gallery .pagination a { + height: 16px; + width: 16px; + border-radius: 8px; + margin: 10px 3px; + display: inline-block; + vertical-align: middle; + background: rgba(255, 255, 255, 0.4); +} +.ink-gallery .pagination a:hover, +.ink-gallery .pagination a.active { + background: rgba(255, 255, 255, 0.9); +} +.ink-gallery .slider { + width: 100%; + height: 100%; + overflow: hidden; +} +.ink-gallery .slider li { + display: inline-block; +} +.ink-gallery .slider > ul { + white-space: nowrap; + font-size: 0; + -webkit-transition-property: "margin-left"; + -moz-transition-property: "margin-left"; + -o-transition-property: "margin-left"; + -ms-transition-property: "margin-left"; + transition-property: "margin-left"; + -webkit-transition-duration: 250ms; + -moz-transition-duration: 250ms; + -o-transition-duration: 250ms; + -ms-transition-duration: 250ms; + transition-duration: 250ms; + -webkit-transition-timing-function: ease-in-out; + -moz-transition-timing-function: ease-in-out; + -o-transition-timing-function: ease-in-out; + -ms-transition-timing-function: ease-in-out; + transition-timing-function: ease-in-out; + -webkit-transition-delay: 0; + -moz-transition-delay: 0; + -o-transition-delay: 0; + -ms-transition-delay: 0; + transition-delay: 0; +} +/* Typography */ +.ink-gallery .article_text.example1 { + background: rgba(0, 0, 0, 0.6); + position: absolute; + top: 0; + right: 0; + bottom: 0; + left: 66%; + padding: 1em; +} +.ink-gallery .article_text.example2 { + background: rgba(0, 0, 0, 0.6); + position: absolute; + left: 0; + right: 0; + bottom: 0; + padding: 0.5em; +} +.ink-gallery .article_text h1 { + color: #ffffff; + margin-bottom: 0.5em; + font-weight: normal; + font-size: 2em; +} +.ink-gallery .article_text p { + color: #ffffff; + font-size: 0.875em; + line-height: 1.5em; + margin: 0; +} +/* Gallery - Thumbs bottom */ +.ink-gallery .stage { + height: 400px; + position: relative; +} +.ink-gallery nav li { + margin: 0; +} +.ink-gallery nav a.next, +.ink-gallery nav a.previous { + display: block; + height: 100%; + width: 50%; + position: absolute; + z-index: 9; +} +.ink-gallery nav a.next { + right: 0; +} +.ink-gallery nav a.previous { + left: 0; +} +.ink-gallery nav a.next:after, +.ink-gallery nav a.previous:after { + content: ""; + position: absolute; + top: 46%; + border-top: 32px solid rgba(255, 255, 255, 0); + border-bottom: 32px solid rgba(255, 255, 255, 0); +} +.ink-gallery nav a.next:after { + right: -14px; + border-left: 24px solid rgba(0, 0, 0, 0.6); +} +.ink-gallery nav a.previous:after { + left: -14px; + border-right: 24px solid rgba(0, 0, 0, 0.6); +} +.ink-gallery .thumbs { + position: relative; +} +.ink-gallery .thumbs ul { + white-space: nowrap; + overflow: hidden; +} +.ink-gallery .thumbs li { + width: 96px; + display: inline-block; + margin: 10px 0 10px 10px; + vertical-align: top; + font-size: 0.75em; + line-height: 1.5em; +} +.ink-gallery .thumbs li:first-child { + margin-left: 0; +} +.ink-gallery .thumbs li a { + display: block; + text-decoration: none; + color: #0069d6; +} +.ink-gallery .thumbs li a:hover { + text-decoration: underline; +} +.ink-gallery .thumbs li span { + white-space: pre-wrap; + display: block; +} +.ink-gallery .thumbs .pagination { + position: relative; + background: rgba(0, 0, 0, 0.2); +} +.ink-gallery .thumbs .pagination a { + height: 12px; + width: 12px; + border-radius: 6px; + margin: 10px 3px; +} +.ink-gallery .thumbs a.next, +.ink-gallery .thumbs a.previous { + content: ""; + height: 0; + width: 0; + position: relative; + background: transparent; + border-radius: 0; + border-top: 12px solid rgba(255, 255, 255, 0); + border-bottom: 12px solid rgba(255, 255, 255, 0); +} +.ink-gallery .thumbs a.next { + margin-left: 6px; + border-left: 10px solid rgba(255, 255, 255, 0.4); +} +.ink-gallery .thumbs a.previous { + margin-right: 6px; + border-right: 10px solid rgba(255, 255, 255, 0.4); +} +.ink-gallery .thumbs a.next:hover { + border-left: 10px solid rgba(255, 255, 255, 0.9); +} +.ink-gallery .thumbs a.previous:hover { + border-right: 10px solid rgba(255, 255, 255, 0.9); +} +/* Gallery - Thumbs right */ +.ink-gallery.rightNav .stage { + width: 400px; + float: left; +} +.ink-gallery.rightNav .thumbs { + height: 400px; + overflow: hidden; +} +.ink-gallery.rightNav .thumbs img { + float: left; + margin-right: 10px; +} +.ink-gallery.rightNav .thumbs li { + width: 290px; + margin: 0 0 10px 10px; + clear: both; + display: block; + overflow: hidden; +} +/* Modal box */ +.ink-modal { + height: 400px; + width: 600px; + background: #ffffff; + z-index: 9999; + position: relative; + box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.4); +} +.ink-modal a.ink-close { + height: 26px; + width: 28px; + border-radius: 14px; + position: absolute; + top: -10px; + right: -10px; + background: rgba(0, 0, 0, 0.7); + padding-top: 2px; + text-decoration: none; + text-align: center; + font-family: Tahoma, Geneva, sans-serif; + font-weight: bold; + color: #ffffff; + z-index: 1; +} +/* Tabs */ +/* Sortable list */ +.ink-sortable-list li { + margin: 0; + border-bottom: 1px solid #CCC; + line-height: 40px; + cursor: move; +} +.ink-sortable-list li:first-child { + border-top: 1px solid #CCC; +} +.ink-sortable-list li:hover { + background: rgba(204, 204, 204, 0.2); +} +.ink-sortable-list li.drag { + -webkit-box-shadow: 0 0px 10px 0 rgba(0, 0, 0, 0.3); + -moz-box-shadow: 0 0px 10px 0 rgba(0, 0, 0, 0.3); + box-shadow: 0 0px 10px 0 rgba(0, 0, 0, 0.3); +} +.ink-sortable-list .ink-label { + margin: 0 .8em; +} +/* Tree view */ +ul.ink-tree-view, +ul.ink-tree-view ul { + list-style-type: none; +} +.ink-tree-view button { + border: none; + background: none; + margin-left: -1.4em; +} +/* Date picker */ +.sapo_component_datepicker { + border-radius: 4px; + text-align: center; + padding: 5px; + font-size: 13px; + -webkit-box-shadow: 0px 1px 2px 0 rgba(0, 0, 0, 0.4); + -moz-box-shadow: 0px 1px 2px 0 rgba(0, 0, 0, 0.4); + box-shadow: 0px 1px 2px 0 rgba(0, 0, 0, 0.4); + background: #ffffff; + position: absolute; + display: none; + z-index: 1; +} +.sapo_component_datepicker a { + text-decoration: none; +} +.sapo_component_datepicker li { + list-style: none inside; +} +.sapo_cal_top_options { + padding: 5px; + font-size: .813em; + cursor: pointer; +} +.sapo_cal_top_options .clean { + float: left; +} +.sapo_cal_top_options .ink-close { + float: right; +} +.sapo_cal_top { + line-height: 2em; + background: #f2f2f2; + border-radius: 4px; +} +.sapo_cal_top div { + float: left; +} +.sapo_cal_top .sapo_cal_prev, +.sapo_cal_top .sapo_cal_next { + width: 10%; +} +.sapo_cal_top .sapo_cal_month_desc { + width: 80%; +} +.sapo_cal_month, +.sapo_cal_year_selector, +.sapo_cal_month_selector { + margin-top: .5em; + padding-left: 0; +} +.sapo_cal_month ul, +.sapo_cal_year_selector ul, +.sapo_cal_month_selector ul { + clear: both; + padding-left: 0; +} +.sapo_cal_month li, +.sapo_cal_year_selector ul li, +.sapo_cal_month_selector ul li { + width: 2.4em; + float: left; + text-align: center; + padding: 0; + margin: 0; +} +.sapo_cal_year_selector ul li { + width: 4em; +} +.sapo_cal_month_selector ul li { + width: 3.4em; +} +.sapo_cal_month li a, +.sapo_cal_year_selector li a, +.sapo_cal_month_selector li a { + margin: 0px; + line-height: 2em; + vertical-align: middle; + display: block; + border-radius: 4px; +} +.sapo_cal_month .sapo_cal_header { + border-bottom: 1px solid rgba(0, 0, 0, 0.1); + padding-bottom: .5em; + margin-bottom: .5em; + color: #aaa; +} +.sapo_cal_month li a:hover, +.sapo_cal_year_selector li a:hover, +.sapo_cal_month_selector li a:hover { + background: #e6e6e6; +} +.sapo_cal_month li a, +.sapo_cal_year_selector li a, +.sapo_cal_month_selector li a { + color: #444444; +} +.sapo_cal_top:after, +.sapo_cal_middle:after, +.sapo_cal_top_options:after, +.sapo_component_datepicker:after, +.sapo_cal_month .sapo_cal_header:after, +.sapo_cal_month .sapo_cal_middle ul:after { + content: "."; + display: block; + height: 0; + clear: both; + visibility: hidden; + zoom: 1; +} +.sapo_cal_month li a.sapo_cal_on, +.sapo_cal_month li a.sapo_cal_on:hover, +.sapo_cal_year_selector li a.sapo_cal_on, +.sapo_cal_year_selector li a.sapo_cal_on:hover, +.sapo_cal_month_selector li a.sapo_cal_on, +.sapo_cal_month_selector li a.sapo_cal_on:hover { + background: #0069d6; + color: #ffffff; +} +.sapo_cal_year_selector, +.sapo_cal_month_selector { + display: none; +} +/* Progess bars */ +.ink-progress-bar { + height: 26px; + margin-bottom: 20px; + overflow: hidden; + background: #f7f7f7; + border-radius: 4px; + -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1); + -moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1); + box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1); +} +.ink-progress-bar .bar { + float: left; + width: 0; + height: 100%; + line-height: 26px; + font-size: 12px; + color: #ffffff; + text-align: center; + text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); + -webkit-box-shadow: inset 0 -1px 0 0 rgba(0, 0, 0, 0.15); + -moz-box-shadow: inset 0 -1px 0 0 rgba(0, 0, 0, 0.15); + box-shadow: inset 0 -1px 0 0 rgba(0, 0, 0, 0.15); + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + -ms-box-sizing: border-box; + box-sizing: border-box; + -webkit-transition-property: "width"; + -moz-transition-property: "width"; + -o-transition-property: "width"; + -ms-transition-property: "width"; + transition-property: "width"; + -webkit-transition-duration: 0.6s; + -moz-transition-duration: 0.6s; + -o-transition-duration: 0.6s; + -ms-transition-duration: 0.6s; + transition-duration: 0.6s; + -webkit-transition-timing-function: "ease"; + -moz-transition-timing-function: "ease"; + -o-transition-timing-function: "ease"; + -ms-transition-timing-function: "ease"; + transition-timing-function: "ease"; + -webkit-transition-delay: 0; + -moz-transition-delay: 0; + -o-transition-delay: 0; + -ms-transition-delay: 0; + transition-delay: 0; +} +.ink-progress-bar .bar.grey { + background: #e6e6e6; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#e6e6e6', endColorstr='#cccccc'); + background: -moz-linear-gradient(top, #e6e6e6 0%, #cccccc 150%); + background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #e6e6e6), color-stop(150%, #cccccc)); + background: -webkit-linear-gradient(top, #e6e6e6 0%, #cccccc 150%); + background: -o-linear-gradient(top, #e6e6e6 0%, #cccccc 150%); + background: -ms-linear-gradient(top, #e6e6e6 0%, #cccccc 150%); + background: linear-gradient(top, #e6e6e6 0%, #cccccc 150%); + color: #000000; + text-shadow: 0 1px 0 rgba(255, 255, 255, 0.25); +} +.ink-progress-bar .bar.green { + background: #81b31b; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#81b31b', endColorstr='#618615'); + background: -moz-linear-gradient(top, #81b31b 0%, #618615 150%); + background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #81b31b), color-stop(150%, #618615)); + background: -webkit-linear-gradient(top, #81b31b 0%, #618615 150%); + background: -o-linear-gradient(top, #81b31b 0%, #618615 150%); + background: -ms-linear-gradient(top, #81b31b 0%, #618615 150%); + background: linear-gradient(top, #81b31b 0%, #618615 150%); +} +.ink-progress-bar .bar.blue { + background: #1b88ce; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#1b88ce', endColorstr='#156ba1'); + background: -moz-linear-gradient(top, #1b88ce 0%, #156ba1 150%); + background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #1b88ce), color-stop(150%, #156ba1)); + background: -webkit-linear-gradient(top, #1b88ce 0%, #156ba1 150%); + background: -o-linear-gradient(top, #1b88ce 0%, #156ba1 150%); + background: -ms-linear-gradient(top, #1b88ce 0%, #156ba1 150%); + background: linear-gradient(top, #1b88ce 0%, #156ba1 150%); +} +.ink-progress-bar .bar.red { + background: #c30a0a; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#c30a0a', endColorstr='#920808'); + background: -moz-linear-gradient(top, #c30a0a 0%, #920808 150%); + background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #c30a0a), color-stop(150%, #920808)); + background: -webkit-linear-gradient(top, #c30a0a 0%, #920808 150%); + background: -o-linear-gradient(top, #c30a0a 0%, #920808 150%); + background: -ms-linear-gradient(top, #c30a0a 0%, #920808 150%); + background: linear-gradient(top, #c30a0a 0%, #920808 150%); +} +.ink-progress-bar .bar.orange { + background: #f2990d; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f2990d', endColorstr='#c27b0a'); + background: -moz-linear-gradient(top, #f2990d 0%, #c27b0a 150%); + background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #f2990d), color-stop(150%, #c27b0a)); + background: -webkit-linear-gradient(top, #f2990d 0%, #c27b0a 150%); + background: -o-linear-gradient(top, #f2990d 0%, #c27b0a 150%); + background: -ms-linear-gradient(top, #f2990d 0%, #c27b0a 150%); + background: linear-gradient(top, #f2990d 0%, #c27b0a 150%); +} +.ink-progress-bar .bar.black { + background: #4d4d4d; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#4d4d4d', endColorstr='#000000'); + background: -moz-linear-gradient(top, #4d4d4d 0%, #000000 150%); + background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #4d4d4d), color-stop(150%, #000000)); + background: -webkit-linear-gradient(top, #4d4d4d 0%, #000000 150%); + background: -o-linear-gradient(top, #4d4d4d 0%, #000000 150%); + background: -ms-linear-gradient(top, #4d4d4d 0%, #000000 150%); + background: linear-gradient(top, #4d4d4d 0%, #000000 150%); +} +@font-face { + font-family: 'Ubuntu'; + src: url('../font/ubuntu-b-webfont.eot'); + src: url('../font/ubuntu-b-webfont.eot?#iefix') format('embedded-opentype'), url('../font/ubuntu-b-webfont.woff') format('woff'), url('../font/ubuntu-b-webfont.ttf') format('truetype'), url('../font/ubuntu-b-webfont.svg#ubuntubold') format('svg'); + font-weight: 700; + font-style: normal; +} +@font-face { + font-family: 'Ubuntu'; + src: url('../font/ubuntu-bi-webfont.eot'); + src: url('../font/ubuntu-bi-webfont.eot?#iefix') format('embedded-opentype'), url('../font/ubuntu-bi-webfont.woff') format('woff'), url('../font/ubuntu-bi-webfont.ttf') format('truetype'), url('../font/ubuntu-bi-webfont.svg#ubuntubold_italic') format('svg'); + font-weight: 700; + font-style: italic; +} +@font-face { + font-family: 'Ubuntu'; + src: url('../font/ubuntu-r-webfont.eot'); + src: url('../font/ubuntu-r-webfont.eot?#iefix') format('embedded-opentype'), url('../font/ubuntu-r-webfont.woff') format('woff'), url('../font/ubuntu-r-webfont.ttf') format('truetype'), url('../font/ubuntu-r-webfont.svg#ubunturegular') format('svg'); + font-weight: normal; + font-style: normal; +} +@font-face { + font-family: 'Ubuntu'; + src: url('../font/ubuntu-ri-webfont.eot'); + src: url('../font/ubuntu-ri-webfont.eot?#iefix') format('embedded-opentype'), url('../font/ubuntu-ri-webfont.woff') format('woff'), url('../font/ubuntu-ri-webfont.ttf') format('truetype'), url('../font/ubuntu-ri-webfont.svg#ubuntuitalic') format('svg'); + font-weight: normal; + font-style: italic; +} +@font-face { + font-family: 'Ubuntu_condensed'; + src: url('../font/ubuntu-c-webfont.eot'); + src: url('../font/ubuntu-c-webfont.eot?#iefix') format('embedded-opentype'), url('../font/ubuntu-c-webfont.woff') format('woff'), url('../font/ubuntu-c-webfont.ttf') format('truetype'), url('../font/ubuntu-c-webfont.svg#ubuntu_condensedregular') format('svg'); + font-weight: normal; + font-style: normal; +} +@font-face { + font-family: 'Ubuntu_light'; + src: url('../font/ubuntu-l-webfont.eot'); + src: url('../font/ubuntu-l-webfont.eot?#iefix') format('embedded-opentype'), url('../font/ubuntu-l-webfont.woff') format('woff'), url('../font/ubuntu-l-webfont.ttf') format('truetype'), url('../font/ubuntu-l-webfont.svg#ubuntu_lightregular') format('svg'); + font-weight: normal; + font-style: normal; +} +@font-face { + font-family: 'Ubuntu_light'; + src: url('../font/ubuntu-li-webfont.eot'); + src: url('../font/ubuntu-li-webfont.eot?#iefix') format('embedded-opentype'), url('../font/ubuntu-li-webfont.woff') format('woff'), url('../font/ubuntu-li-webfont.ttf') format('truetype'), url('../font/ubuntu-li-webfont.svg#ubuntu_lightitalic') format('svg'); + font-weight: normal; + font-style: italic; +} +@font-face { + font-family: 'Ubuntu_light'; + src: url('../font/ubuntu-m-webfont.eot'); + src: url('../font/ubuntu-m-webfont.eot?#iefix') format('embedded-opentype'), url('../font/ubuntu-m-webfont.woff') format('woff'), url('../font/ubuntu-m-webfont.ttf') format('truetype'), url('../font/ubuntu-m-webfont.svg#ubuntu_lightbold') format('svg'); + font-weight: 700; + font-style: normal; +} +@font-face { + font-family: 'Ubuntu_light'; + src: url('../font/ubuntu-mi-webfont.eot'); + src: url('../font/ubuntu-mi-webfont.eot?#iefix') format('embedded-opentype'), url('../font/ubuntu-mi-webfont.woff') format('woff'), url('../font/ubuntu-mi-webfont.ttf') format('truetype'), url('../font/ubuntu-mi-webfont.svg#ubuntu_lightbold_italic') format('svg'); + font-weight: 700; + font-style: italic; +} +@font-face { + font-family: 'Ubuntu_monospaced'; + src: url('../font/ubuntumono-b-webfont.eot'); + src: url('../font/ubuntumono-b-webfont.eot?#iefix') format('embedded-opentype'), url('../font/ubuntumono-b-webfont.woff') format('woff'), url('../font/ubuntumono-b-webfont.ttf') format('truetype'), url('../font/ubuntumono-b-webfont.svg#ubuntu_monobold') format('svg'); + font-weight: 700; + font-style: normal; +} +@font-face { + font-family: 'Ubuntu_monospaced'; + src: url('../font/ubuntumono-bi-webfont.eot'); + src: url('../font/ubuntumono-bi-webfont.eot?#iefix') format('embedded-opentype'), url('../font/ubuntumono-bi-webfont.woff') format('woff'), url('../font/ubuntumono-bi-webfont.ttf') format('truetype'), url('../font/ubuntumono-bi-webfont.svg#ubuntu_monobold_italic') format('svg'); + font-weight: 700; + font-style: italic; +} +@font-face { + font-family: 'Ubuntu_monospaced'; + src: url('../font/ubuntumono-r-webfont.eot'); + src: url('../font/ubuntumono-r-webfont.eot?#iefix') format('embedded-opentype'), url('../font/ubuntumono-r-webfont.woff') format('woff'), url('../font/ubuntumono-r-webfont.ttf') format('truetype'), url('../font/ubuntumono-r-webfont.svg#ubuntu_monoregular') format('svg'); + font-weight: normal; + font-style: normal; +} +@font-face { + font-family: 'Ubuntu_monospaced'; + src: url('../font/ubuntumono-ri-webfont.eot'); + src: url('../font/ubuntumono-ri-webfont.eot?#iefix') format('embedded-opentype'), url('../font/ubuntumono-ri-webfont.woff') format('woff'), url('../font/ubuntumono-ri-webfont.ttf') format('truetype'), url('../font/ubuntumono-ri-webfont.svg#ubuntu_monoitalic') format('svg'); + font-weight: normal; + font-style: italic; +} +footer { + min-height: 8em; + border-top: 1px solid #CCC; + background: #f0f0f0; + overflow: hidden; +} +footer .copyright { + font-size: 0.875em; +} diff --git a/lib/catalog.php b/lib/catalog.php new file mode 100644 index 0000000..17857fc --- /dev/null +++ b/lib/catalog.php @@ -0,0 +1,60 @@ + + * @license GNU General Public License, version 3 + * @link https://github.com/entomb/dragonchan GitHub Source + * @filesource + * + * +*/ + + + /** + * 4chan catalog parser + */ + + +Class chanCatalog{ + + var $api_url = "http://a.4cdn.org/bant/catalog.json"; + var $_is_cached_request = false; + var $CATALOG; + + function __construct(){ + /** + * MEMCACHE implementation + */ + if(getenv("MEMCACHIER_SERVERS")){ + include('lib/MemcacheSASL.php'); + $server_pieces = explode(':', getenv("MEMCACHIER_SERVERS")); + $m = new MemcacheSASL; + $m->addServer($server_pieces[0], $server_pieces[1]); + $m->setSaslAuthData(getenv("MEMCACHIER_USERNAME"), getenv("MEMCACHIER_PASSWORD")); + + $_cache_key = "4chan_catalog_b"; + + if(!($CATALOG = $m->get($_cache_key))){ + $this->_is_cached_request = false; + //no cache is set + $JSON = file_get_contents($this->api_url); + $CATALOG = json_decode($JSON); + $m->add($_cache_key,$CATALOG,getenv("MEMCACHIER_EXPIRE")); + }else{ + $this->_is_cached_request = true; + } + }else{ + $this->_is_cached_request = false; + //no cache servers are set (localhost?) + $JSON = file_get_contents($this->api_url); + $CATALOG = json_decode($JSON); + } + + + $this->CATALOG = $CATALOG; + + } + + +} \ No newline at end of file diff --git a/lib/dragonraid.php b/lib/dragonraid.php index b11b315..a7ccb66 100644 --- a/lib/dragonraid.php +++ b/lib/dragonraid.php @@ -15,8 +15,6 @@ * Chan Boss Raid main class */ Class DragonRaid{ - var $_version = "1.6"; - var $THREAD_ID; var $THREAD; var $LOG; @@ -39,7 +37,7 @@ var $_cached_post_authors = array(); var $_set_nicknames = array(); - var $available_characters = array('a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z', 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z",'0','1','2','3','4','5','6','7','8','9','+','/'); + protected static $available_characters = array('a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z', 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z",'0','1','2','3','4','5','6','7','8','9','+','/'); @@ -83,24 +81,63 @@ 'ice' => 'Frost Golem', ); + // Less than 22 = death while enraged + var $_miss_hits = array('23','51','71'); /** * Init functions * @param array $_parsed_thread Parsed thread from the json API */ function __construct($_parsed_thread){ + + $this->THREAD = $_parsed_thread; $this->OPost = $this->THREAD->posts[0]; $this->OP = $this->OPost->id; $this->THREAD_ID = $this->OPost->no; + /* Uncomment to force dev variables + $this->OPost->com = "name@LichKing + difficulty@hard + element@ice + health@19900"; + */ + //boss status - $this->BossIMG = "http://thumbs.4chan.org/b/thumb/".$this->OPost->tim."s.jpg"; - $boss_min_hp = 3000+self::roll($this->OPost->no)*$this->boss_hp_factor; - $this->BossHP_MAX = ($boss_min_hp < 16000 ? 16000 : $boss_min_hp); - $this->BossHP = $this->BossHP_MAX; + $this->BossIMG = "http://t.4cdn.org/bant/".$this->OPost->tim."s.jpg"; + $this->setBossDifficulty('easy'); $this->BossElement = self::getBossElement($this->OPost->no); + $this->BossName = "RandomBeast"; + + /** + * OP COMMANDS + */ + + // OP's commands should be case sensitive, like the boss name + $this->OPost->commands = self::parseCommandValues($this->OPost, true); + + //set OP options [difficulty@] + if($_difficulty = self::checkForCommand('difficulty@',$this->OPost)){ + $this->setBossDifficulty($_difficulty); + } + + //set OP options [name@] + if($_name = self::checkForCommand('name@',$this->OPost)){ + $this->BossName = $_name; + } + + //set OP options [element@] + if($_element = self::checkForCommand('element@',$this->OPost)){ + if(in_array($_element,$this->available_elements)){ + $this->BossElement = $_element; + } + } + + //set OP options [health@] + if($_health = self::checkForCommand('health@',$this->OPost)){ + $this->setBossHealth((int)$_health); + } } @@ -119,7 +156,7 @@ function play(){ //ignore OP first post if($post->no==$this->THREAD_ID){ - continue; + continue; } //boss is already dead! @@ -127,8 +164,16 @@ function play(){ continue; } + // Dev variables + /* + $post->com = "summon@fire"; + */ + + //get the current player class $post->class = self::getPlayerClass($post->id); + + //parse post commands $post->commands = self::parseCommandValues($post); //check and set nickname from command @@ -145,14 +190,13 @@ function play(){ $this->bardBonusValue = $this->calculateBardBonus(); //add link to this roll - $post->link= "http://boards.4chan.org/b/res/".$this->THREAD_ID."#p".$post->no; + $post->link= "http://boards.4chan.org/bant/thread/".$this->THREAD_ID."#p".$post->no; //GET THE CURRENT ROLL $post->roll = self::roll($post->no,2); //mandatory data (that might not be on the API item) $post->com = isset($post->com) ? $post->com : ""; - //$post->filename = isset($post->filename) ? $post->filename : ""; $post->tim = isset($post->tim) ? $post->tim : ""; // Default an element @@ -193,8 +237,8 @@ function play(){ continue; } - - if( (int)substr($post->time, -2) < 4) { + //miss hit! + if(in_array(self::roll($post->time),$this->_miss_hits)){ $action = 'miss'; $post->action = $action; $this->log($action,$post); @@ -273,6 +317,57 @@ function isDeadPlayer($_id){ return in_array($_id, $this->deadPlayers); } + /** + * Set boss difficulty + * @param string $difficulty preg_matched difficulty + * @return null + */ + function setBossDifficulty($difficulty){ + switch ($difficulty) { + case 'noob': + $boss_min_hp = self::roll($this->OPost->no)*$this->boss_hp_factor; + $this->BossHP_MAX = ($boss_min_hp < 6000 ? 6000 : $boss_min_hp); + $this->BossHP_MAX = ($boss_min_hp > 16000 ? 16000 : $boss_min_hp); + $this->BossHP = $this->BossHP_MAX; + $this->boss_heal_factor = 30; + break; + default: + case 'easy': + $boss_min_hp = self::roll($this->OPost->no)*$this->boss_hp_factor; + $this->BossHP_MAX = ($boss_min_hp < 16000 ? 16000 : $boss_min_hp); + $this->BossHP = $this->BossHP_MAX; + $this->boss_heal_factor = 33; + break; + case 'medium': + $boss_min_hp = self::roll($this->OPost->no)*$this->boss_hp_factor*1.5; + $this->BossHP_MAX = ($boss_min_hp < 22000 ? 22000 : $boss_min_hp); + $this->BossHP = $this->BossHP_MAX; + $this->boss_heal_factor = 35; + break; + case 'hard': + $boss_min_hp = self::roll($this->OPost->no)*$this->boss_hp_factor*2; + $this->BossHP_MAX = ($boss_min_hp < 27000 ? 27000 : $boss_min_hp); + $this->BossHP = $this->BossHP_MAX; + $this->boss_heal_factor = 38; + break; + case 'nigger': + $this->BossHP_MAX = 66666; + $this->BossHP = $this->BossHP_MAX; + $this->boss_heal_factor = 20; + break; + } + + } + + /** + * Overrides boss's health + * @param string $health preg_matched health + */ + function setBossHealth($health){ + $this->BossHP_MAX = ($health > 27000 ? 27000 : $health); + $this->BossHP = $this->BossHP_MAX; + } + function getBossElement($id) { $last_digit = substr($id, -1); @@ -394,8 +489,13 @@ function damage($post,$canCritical=true,$reportDamage=true){ // Give W's a possible elemental damage for their pets // Maybe break out into a summoner class? + + if($_summon = self::checkForCommand('summon@',$post)){ + $_summon_element = $_summon; + } + foreach($this->available_elements as $element) { - if(strpos(strtolower($post->com), $element) !== false) { + if(!empty($_summon_element) && $_summon_element == $element) { $chosen_element = $element; $post->chosen_element = $chosen_element; break; @@ -410,6 +510,7 @@ function damage($post,$canCritical=true,$reportDamage=true){ // If the element is the same as the boss, make him resistant $_pet_damage = ceil($_pet_damage * .5); } + $post->_pet_damage = $_pet_damage; $post->bonus+=$_pet_damage; } @@ -424,6 +525,21 @@ function damage($post,$canCritical=true,$reportDamage=true){ } } + if($post->class=="R"){ + switch (self::lastDigit($post->roll)) { + case 0: $post->damage*=1; break; + case 1: $post->damage*=1; break; + case 2: $post->damage*=2; break; + case 3: $post->damage*=3; break; + case 4: $post->damage*=4; break; + case 5: $post->damage*=5; break; + case 6: $post->damage*=4; break; + case 7: $post->damage*=3; break; + case 8: $post->damage*=1; break; + case 9: $post->damage*=0; break; + } + } + }else{ $post->bonus = 0; } @@ -563,6 +679,12 @@ function canAvenge($avenge_target){ * @param string $nickname the desired nickname */ function setNickname($user_id,$nickname){ + + // Stop fucking making names a dickyear long + if(strlen($nickname) > 14) { + $nickname = substr($nickname, 0, 14); + } + if($nickname=="heaven"){ return false; //fuck off } @@ -586,7 +708,7 @@ function getNickname($user_id){ return $this->_set_nicknames[$user_id]." ($user_id)"; //return "".$this->_set_nicknames[$user_id].""; }else{ - return $user_id; + return "($user_id)"; } } @@ -602,7 +724,6 @@ function log($action,$post){ 'link' => $post->link, 'post' => $post->no, 'id' => $post->id, - 'color' => self::getPostColor($post->id), 'sprite' => self::getPlayerSprite($post), 'weapon' => self::getPlayerWeapon($post), 'chosen_element' => $post->chosen_element, @@ -835,7 +956,15 @@ static function roll($post_number,$num=2){ * @return bool */ static function lastDigitMatch($num1,$num2){ - return (bool)(substr((string)$num1,-1, 1) == substr((string)$num2,-1,1)); + return (bool)(self::lastDigit($num1) == self::lastDigit($num2)); + } + /** + * Checks if the last digit of a numbers + * @param int|string $num1 Number + * @return bool + */ + static function lastDigit($num1){ + return (int)(substr((string)$num1,-1, 1)); } /** @@ -871,7 +1000,7 @@ static function getPlayerClass($post_id){ } //bard - if(in_array($post_id[0],array('A','E','I','O','U','Y','a','e','i','o','u','y'))){ + if(in_array($post_id[0],array('A','E','I','O','U','a','e','i','o','u'))){ return "B"; } @@ -880,6 +1009,11 @@ static function getPlayerClass($post_id){ return "W"; } + //ranger + if(in_array($post_id[0],array('X','Y','Z','x','y','z'))){ + return "R"; + } + //knight return "K"; } @@ -901,9 +1035,7 @@ static function getPlayerSprite($post){ $post_id = $post->id; // 64 variations - /* @@TODO: This needs to be instantiated into the Dragonraid - class as a static properly instead of being redundant */ - $range = array('a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z', 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z",'0','1','2','3','4','5','6','7','8','9','+','/'); + $range = self::$available_characters; // Knight @@ -938,8 +1070,12 @@ class as a static properly instead of being redundant */ // Dragonborn if($class == "DVK"){ - $class == "DK"; //temp - $segment_range = array_chunk($range, 32); + $segment_range = array_chunk($range, 5); + } + + // Ranger + if($class == "R"){ + $segment_range = array_chunk($range, 5); } $segment = array_tree_search_key($segment_range, $post_id[1]); @@ -960,7 +1096,7 @@ static function getPlayerWeapon($post){ $post_id = $post->id; // 64 variations - $range = array('a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z', 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z",'0','1','2','3','4','5','6','7','8','9','+','/'); + $range = self::$available_characters; // Knight if($class == "K"){ @@ -994,8 +1130,12 @@ static function getPlayerWeapon($post){ // Dragonborn if($class == "DVK"){ - $class = "DK"; //temp - $segment_range = array_chunk($range, 3); + $segment_range = array_chunk($range, 5); + } + + // Ranger + if($class == "R"){ + $segment_range = array_chunk($range, 5); } // Last character of ID, instead of the first @@ -1020,8 +1160,12 @@ static function isCriticalHit($num){ } } - - static function parseCommandValues($post){ + /** + * Parses a post to check for command calls + * @param object $post the full post object + * @return array full command list + */ + static function parseCommandValues($post, $case_sensitive = false){ if(!isset($post->com)){ return array(); } @@ -1030,7 +1174,10 @@ static function parseCommandValues($post){ return array(); } - $_text = strtolower($post->com); + $_text = $post->com; + if($case_sensitive == false) { + $_text = strtolower($post->com); + } $_text = strip_tags($_text,"
"); $_text = str_replace("
", " ", $_text); $_text = str_replace("
", " ", $_text); @@ -1047,6 +1194,12 @@ static function parseCommandValues($post){ } + /** + * Checks if a post is calling a set command and returns the command value + * @param string $command 'comand@' to check + * @param object $post the full post object + * @return false|string returns the command value or false on not-found + */ static function checkForCommand($command,$post){ if(isset($post->commands[$command])){ @@ -1064,11 +1217,12 @@ static function checkForCommand($command,$post){ */ function getTargetPosts($text){ $text = html_entity_decode($text); - $preg = preg_match_all('/>>(\d+){9}/i', $text,$raw); + $text = str_replace("\"","",$text); + $preg = preg_match_all('/>>>([0-9]+)<\/a>/', $text,$raw); $match = array(); if(isset($raw[0])){ foreach ($raw[0] as $key => $value) { - $match[$key] = str_replace(">", '', $value); + $match[$key] = str_replace(array('>', 'getTargetPosts($post->com); $targets = array_keys($targets); - $post->class = self::getPlayerClass($post->id); + $post->class = self::getPlayerClass($post->id); $post->weapon = self::getPlayerWeapon($post); $post->sprite = self::getPlayerSprite($post); @@ -1134,16 +1288,6 @@ function getPostReplies($post_id){ return $replies; } - static function getPostColor($id){ - $md5 = md5($id); - $r = substr($md5, 0,2); - $g = substr($md5, 5,2); - $b = substr($md5, 10,2); - - return "#".$r.$g.$b; - } - - } diff --git a/lib/globalinfo.php b/lib/globalinfo.php new file mode 100644 index 0000000..ba21da4 --- /dev/null +++ b/lib/globalinfo.php @@ -0,0 +1,17 @@ + + * @license GNU General Public License, version 3 + * @link https://github.com/entomb/dragonchan GitHub Source + * @filesource + * + * +*/ + +$_version = "1.7.2"; +$_gamename = "Dragonchan"; + +//EOF +?> \ No newline at end of file diff --git a/mstile-150x150.png b/mstile-150x150.png new file mode 100644 index 0000000..6e17b04 Binary files /dev/null and b/mstile-150x150.png differ diff --git a/safari-pinned-tab.svg b/safari-pinned-tab.svg new file mode 100644 index 0000000..053f89c --- /dev/null +++ b/safari-pinned-tab.svg @@ -0,0 +1,77 @@ + + + + +Created by potrace 1.11, written by Peter Selinger 2001-2013 + + + + + + + diff --git a/site.css b/site.css index 1d445be..8eb6453 100644 --- a/site.css +++ b/site.css @@ -32,15 +32,16 @@ ul.rules{ font-size: .9em; } .hero{ background-color: #EEE; padding:10px; border:2px solid #FEFEFE; border-radius: 10px; } .ink-row .praise{margin: 1.2%; padding: .3%; border:1px solid #EEE; background: #fff; min-height: 100px;} .ink-row .praise h4{margin-bottom:1em;} -.ink-label small{ font-size:10px; color:#DDD; } /*classes*/ -.ink-label.class-K{ background-color: #C79C6E; color: #FFF; } -.ink-label.class-H{ background-color: #ABD473; color: #FFF; } -.ink-label.class-P{ background-color: #FCD349; color: #FFF; } -.ink-label.class-B{ background-color: #69CCF0; color: #FFF; } -.ink-label.class-DK{ background-color: #666666; color: #FFF; } -.ink-label.class-W{ background-color: #9482C9; color: #FFF; } +.ink-label.class-R{ background-color: #FF364D; color: #222; } +.ink-label.class-K{ background-color: #C79C6E; color: #222; } +.ink-label.class-H{ background-color: #ABD473; color: #222; } +.ink-label.class-P{ background-color: #FCD349; color: #222; } +.ink-label.class-B{ background-color: #69CCF0; color: #222; } +.ink-label.class-DK{ background-color: #666666; color: #eee; } +.ink-label.class-W{ background-color: #9482C9; color: #222; } .ink-label.class-DVK{ background-color: #000000; color: #FFF; } +.ink-label small{ font-size:10px; color:#fff; } /*elements*/ .e_normal{ color:#666; background-color: #CCC;} .e_water{ color:#06e; background-color: #CCC;} @@ -54,10 +55,30 @@ ul.rules{ font-size: .9em; } .boss-element {position: absolute; right:0; top:28px; font-size: 12px; font-family: arial; text-transform: uppercase; line-height: 22px; height: 22px; } .boss-element img {float:left; margin-right:5px;} - +.command{ font-family: Ubuntu_monospaced, serif; } ul.menu ul{ box-shadow:none; } .ink-navigation ul.menu li.active li a{ background-color:#FFF !important; -} \ No newline at end of file +} +.left-pad b, +.left-pad p, +.left-pad ul{ + padding-left: 50px; +} + +#t_commands h3{ + + color:#900; +} +#t_commands ul pre{ + color:#090; + margin:1px; + padding:1px; +} +#t_commands ul li{ + padding:1px; + margin-left:40px; +} +.ink-label {white-space: nowrap;} diff --git a/site.webmanifest b/site.webmanifest new file mode 100644 index 0000000..c29fb7d --- /dev/null +++ b/site.webmanifest @@ -0,0 +1,19 @@ +{ + "name": "Dragonchan", + "short_name": "Dragonchan", + "icons": [ + { + "src": "/android-chrome-192x192.png", + "sizes": "192x192", + "type": "image/png" + }, + { + "src": "/android-chrome-384x384.png", + "sizes": "384x384", + "type": "image/png" + } + ], + "theme_color": "#ffffff", + "background_color": "#ffffff", + "display": "standalone" +} diff --git a/template/attack_sequence.tpl b/template/attack_sequence.tpl index 7cd9405..9fd78fc 100644 --- a/template/attack_sequence.tpl +++ b/template/attack_sequence.tpl @@ -29,7 +29,7 @@ case 'miss': sprite('/miss.png'); - echo "rolls $_roll and misses the beast"; + echo "rolls $_roll and misses $BossName"; break; case 'damage': if($_bonus>0){ @@ -46,12 +46,12 @@ echo "with ".$_row['_pet_damage']." power,"; echo "
"; } - echo "rolls $_roll and damages the beast for ".($_damage+$_bonus)."(+$_bonus) HP"; + echo "rolls $_roll and damages $BossName for ".($_damage+$_bonus)."(+$_bonus) HP"; }elseif($_bonus<0){ sprite("/attack_down.png"); - echo "rolls $_roll and damages the beast for ".($_damage+$_bonus)." ($_bonus) HP"; + echo "rolls $_roll and damages $BossName for ".($_damage+$_bonus)." ($_bonus) HP"; }else{ - echo "rolls $_roll and damages the beast for $_damage HP"; + echo "rolls $_roll and damages $BossName for $_damage HP"; } break; case 'death': @@ -60,7 +60,7 @@ echo "dies by rolling $_roll"; }else{ sprite("/death.png"); - echo "dies by rolling $_roll. the beast heals for ".(-$_damage)." HP"; + echo "dies by rolling $_roll. $BossName heals for ".(-$_damage)." HP"; } break; case 'avenge': diff --git a/template/class_rolls.tpl b/template/class_rolls.tpl index a42761c..6367527 100644 --- a/template/class_rolls.tpl +++ b/template/class_rolls.tpl @@ -4,4 +4,5 @@
  • If your ID ends with a "/" or "+" you are a Death Knight.
  • If your ID starts AND ends with a "/" or "+" you are DragonBorn.
  • If your ID starts with "W","R","L","C" or "K" you are a Warlock.
  • +
  • If your ID starts with "Y","X","Z", a Ranger.
  • Otherwise you are a Knight
  • \ No newline at end of file diff --git a/template/fight.tpl b/template/fight.tpl index 79aea94..449f9c5 100644 --- a/template/fight.tpl +++ b/template/fight.tpl @@ -1,28 +1,39 @@ BossHP/$this->BossHP_MAX * 100); - +$BossName = $this->BossName; ?> - + + + + + + + + + - Dragonchan + <?php echo $_gamename;?> Fork me on GitHub
    -

    Dragonchan #THREAD_ID; ?> - version _version; ?> (More Info) +

    #THREAD_ID; ?> + version (More Info)


    +

    @@ -47,7 +58,7 @@ $boss_hp_percentage = floor($this->BossHP/$this->BossHP_MAX * 100);
    - THE BEAST HAS BEEN SLAIN! + THE HAS BEEN SLAIN!
    @@ -57,7 +68,7 @@ $boss_hp_percentage = floor($this->BossHP/$this->BossHP_MAX * 100);
    - THE BEAST HAS ENRAGED! Every roll under min_roll; ?> will result in death!! + HAS ENRAGED! Every roll under min_roll; ?> will result in death!!
    @@ -78,13 +89,13 @@ $boss_hp_percentage = floor($this->BossHP/$this->BossHP_MAX * 100);
    -

    NEW! NICKNAMES!

    -

    set your nickname by using the nickname@ command!

    -

    example:

    nickname@LeroyJenkins

    +

    NEW! Ranger (beta)!

    +

    The new Ranger Class is here!, check your ID for X,Y or Z

    +

    check the documentation for help on using rangers.

    Bookmarklet

    -

    Drag this link to your bookmark bar and use it on any /b/ thread to get a real time update on the fight! +

    Drag this link to your bookmark bar and use it on any /bant/ thread to get a real time update on the fight!
    - DragonChan + DragonChan
    (will not work over HTTPS)

    @@ -95,7 +106,7 @@ $boss_hp_percentage = floor($this->BossHP/$this->BossHP_MAX * 100);
    @@ -106,8 +117,12 @@ $boss_hp_percentage = floor($this->BossHP/$this->BossHP_MAX * 100); WINNER){ $WINNER_praises = $this->getPostReplies($this->WINNER->no); - $WINNER_text = html_entity_decode(strip_tags($this->WINNER->com)); + $WINNER_text = $this->WINNER->com; + $WINNER_text = str_replace("
    ",' ',$WINNER_text); + $WINNER_text = str_replace("
    ",' ',$WINNER_text); + $WINNER_text = html_entity_decode(strip_tags($WINNER_text)); $WINNER_text = preg_replace('/>>(\d+){9}/i','',$WINNER_text); + $WINNER_class = $this->WINNER->class; echo "

    "; echo "WINRAR!!! Hail the new monster slayer!"; @@ -116,7 +131,7 @@ $boss_hp_percentage = floor($this->BossHP/$this->BossHP_MAX * 100); echo " >>".$this->WINNER->no; echo ''; echo "  "; - echo "

    $WINNER_text   - "; + echo "

    $WINNER_text   - "; echo $this->getNickname($this->WINNER->id); echo ""; echo "

    "; @@ -159,7 +174,7 @@ $boss_hp_percentage = floor($this->BossHP/$this->BossHP_MAX * 100); echo ""; echo ""; echo "
    "; - echo "THE BEAST HAS ENRAGED!"; + echo "$BossName HAS ENRAGED!"; echo "
    Every roll under $this->min_roll will result in death!!"; echo "
    "; echo ""; diff --git a/template/info.tpl b/template/info.tpl index 177e18d..ad64694 100644 --- a/template/info.tpl +++ b/template/info.tpl @@ -1,7 +1,15 @@ - + + + + + + + + + About this page @@ -10,14 +18,14 @@ Fork me on GitHub
    -

    Dragonchan version 1.6

    +

    version


    -
    +

    Open Source

    Github Project
    https://github.com/entomb/dragonchan @@ -43,19 +51,40 @@

    -
    +

    Changelog

    +

    v1.7.2- 07-05-2017

    +
      +
    • Fixed reviving and avenging (fixed reply detection)
    • +
    +

    v1.7.1- 06-05-2017

    +
      +
    • Fixed 4chan API links
    • +
    • Changed default board to /bant/
    • +
    • Removed old domains
    • +
    +

    v1.7- 09-07-2013

    +
      +
    • New class: 'Ranger'
    • +
    +

    v1.6.5- 30-04-2013

    +
      +
    • Player commands
    • +
    • OP commands
    • +
    • sprite fix
    • +

    v1.6- 27-04-2013

    • New Class: 'Dragonborn'
    • @@ -87,7 +116,7 @@

      v1.4- 20-04-2013

      • Added an ajax self updating status panel
      • -
      • JS Bookmarklet that opens the status panel on any /b/ thread
      • +
      • JS Bookmarklet that opens the status panel on any /bant/ thread
      • Fixed bug with bard buff only working on pair number roll

      v1.3.1 - 19-04-2013

      diff --git a/template/invalid_thread.tpl b/template/invalid_thread.tpl index 1f8cd28..804ddbe 100644 --- a/template/invalid_thread.tpl +++ b/template/invalid_thread.tpl @@ -1,22 +1,30 @@ - + + + + + + + - Chan Boss Raid + + + <?php echo $_gamename;?> Fork me on GitHub
      -

      Dragonchan

      +


      Invalid Thread ID

      -

      The thread (#) has expired. Back to /b/?

      +

      The thread (#) has expired. Back to /bant/?

      diff --git a/template/status.tpl b/template/status.tpl index dd43c67..a47f591 100644 --- a/template/status.tpl +++ b/template/status.tpl @@ -1,7 +1,15 @@ - + + + + + + + + + Status Panel diff --git a/template/status_core.tpl b/template/status_core.tpl index afb6c00..995ad47 100644 --- a/template/status_core.tpl +++ b/template/status_core.tpl @@ -1,13 +1,18 @@ + +
      - Dragonchan (THREAD_ID ?>) - version _version;?> + (THREAD_ID ?>) + version

      HP: BossHP ?>/BossHP_MAX ?>

      WINNER && $this->bossIsEnraged()){ - echo "The best is enraged!"; + echo "The boss is enraged!"; } ?>
      diff --git a/template/tutorial.tpl b/template/tutorial.tpl index 4934983..edf8306 100644 --- a/template/tutorial.tpl +++ b/template/tutorial.tpl @@ -17,6 +17,7 @@
    • Healer
    • Bard
    • Warlock
    • +
    • Ranger
    • Knight
    • Paladin
    • Death Knight
    • @@ -25,15 +26,16 @@
    • Elements
    • Special Rolls
    • +
    • Commands
    @@ -46,10 +48,7 @@ Rolls are calculated in a way that they allways return a >0 number, this means that if your last 2 digits are "00" the script will look for your last 3 digits. if you last 3 digits are still "000", the script will look for your last 4 digits. this will go on until a >1 digit is found.

    - Sometimes people are going to burst >1000 damage in one hit, this is because 00 dubs are disabled on /b/ but 000 trips are allowed. the damage for this roll will be from 1000 to 9000. This is intended (same goes for quads "0000"). This is extremely rare but will make some "lucky" rolls enjoyable. -

    -

    - This system is only possible because /b/ has a very very very fast post per second ratio, making the last 2 digits of your post nearly random. + This system was only possible because /b/ had a very very very fast post per second ratio, making the last 2 digits of your post nearly random.

    Bards are a support class and every time they post an image the next 3 posts will do bonus damage.
    @@ -350,10 +403,34 @@

    Bard buffs stack with each other and with every other bonus!

    - +
    + @@ -466,7 +602,7 @@