├── lang ├── lang.json ├── index.php ├── language.en.php └── language.ru.php ├── .gitignore ├── core ├── index.php ├── functions │ ├── index.php │ ├── auth.php │ ├── global.php │ ├── language.php │ └── web.php ├── functions.php ├── data.php ├── core.php └── task.json ├── web ├── index.php ├── css │ ├── index.php │ ├── img │ │ ├── grid.png │ │ ├── rte │ │ │ ├── link.png │ │ │ ├── link_break.png │ │ │ ├── text_bold.png │ │ │ ├── picture_empty.png │ │ │ ├── text_italic.png │ │ │ ├── text_align_left.png │ │ │ ├── text_subscript.png │ │ │ ├── text_align_center.png │ │ │ ├── text_align_right.png │ │ │ ├── text_list_bullets.png │ │ │ ├── text_list_numbers.png │ │ │ ├── text_strikethrough.png │ │ │ └── text_superscript.png │ │ ├── icon-check.png │ │ ├── breadcrumbs-bg.gif │ │ ├── chosen-sprite.png │ │ ├── fancybox │ │ │ ├── blank.gif │ │ │ ├── fancybox.png │ │ │ ├── fancybox-x.png │ │ │ ├── fancybox-y.png │ │ │ ├── fancy_close.png │ │ │ ├── fancy_loading.png │ │ │ ├── fancy_nav_left.png │ │ │ ├── fancy_nav_right.png │ │ │ ├── fancy_shadow_e.png │ │ │ ├── fancy_shadow_n.png │ │ │ ├── fancy_shadow_ne.png │ │ │ ├── fancy_shadow_nw.png │ │ │ ├── fancy_shadow_s.png │ │ │ ├── fancy_shadow_se.png │ │ │ ├── fancy_shadow_sw.png │ │ │ ├── fancy_shadow_w.png │ │ │ ├── fancy_title_left.png │ │ │ ├── fancy_title_main.png │ │ │ ├── fancy_title_over.png │ │ │ ├── fancy_title_right.png │ │ │ ├── jquery.mousewheel-3.0.4.pack.js │ │ │ ├── jquery.easing-1.3.pack.js │ │ │ └── jquery.fancybox-1.3.4.pack.js │ │ └── icon-arrow-right.png │ ├── fonts │ │ ├── base │ │ │ ├── icomoon-webfont.eot │ │ │ ├── icomoon-webfont.ttf │ │ │ └── icomoon-webfont.woff │ │ └── social │ │ │ ├── icomoonsocial-webfont.eot │ │ │ ├── icomoonsocial-webfont.ttf │ │ │ └── icomoonsocial-webfont.woff │ ├── prettify.css │ ├── kickstart-grid.css │ ├── kickstart-icons.css │ ├── tiptip.css │ ├── style.css │ ├── kickstart-menus.css │ ├── jquery.fancybox-1.3.4.css │ ├── kickstart-forms.css │ ├── chosen.css │ ├── kickstart.css │ └── kickstart-buttons.css ├── js │ ├── index.php │ ├── ajax.js │ ├── html5.js │ └── prettify.js ├── table_footer.php ├── table_notasks.php ├── actions_closed.php ├── actions_deleted.php ├── info.php ├── debug.php ├── actions_open.php ├── table_head.php ├── form_login.php ├── footer.php ├── table_daystoclose.php ├── form_input.php ├── table_content.php ├── body.php ├── header.php └── form_edit.php ├── .htaccess ├── TODO.md ├── gulpfile.js ├── index.php ├── debug.php ├── README.md ├── LICENSE └── action.php /lang/lang.json: -------------------------------------------------------------------------------- 1 | {"lang":"ru"} -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | /node_modules/ 2 | .idea/ -------------------------------------------------------------------------------- /core/index.php: -------------------------------------------------------------------------------- 1 | 10 | 11 | -------------------------------------------------------------------------------- /core/functions.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /web/table_notasks.php: -------------------------------------------------------------------------------- 1 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /.htaccess: -------------------------------------------------------------------------------- 1 | ### 2 | # If you are going to use this in web - leave it uncomment 3 | # if you are going to use this local - comment/delete 3 lines below 4 | 5 | deny from all 6 | 7 | ### 8 | 9 | Options -Indexes 10 | 11 | AddDefaultCharset utf-8 12 | RewriteEngine on 13 | RewriteCond %{REQUEST_FILENAME} !-d 14 | RewriteCond %{REQUEST_FILENAME}\.php -f 15 | RewriteRule ^(.*)$ $1.php -------------------------------------------------------------------------------- /TODO.md: -------------------------------------------------------------------------------- 1 | ##Date 2 | * Fix data picker 3 | 4 | ##General 5 | * add composer for node part 6 | * Refactor all code 7 | * How to right use 8 | 9 | ##Css && js 10 | * rebuild with bootstrap sometime or material 11 | * Refactor style 12 | * Add gulp 13 | * Minify 14 | 15 | * Add css improves 16 | 17 | ##Auth 18 | * Add ajax login 19 | * Add (json storage) user create 20 | * Add multiuser 21 | * add who create 22 | * add perms 23 | 24 | ##Ajax 25 | * fix when no tasks 26 | * fix missing icons 27 | 28 | 29 | -------------------------------------------------------------------------------- /web/actions_closed.php: -------------------------------------------------------------------------------- 1 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /web/actions_deleted.php: -------------------------------------------------------------------------------- 1 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /web/info.php: -------------------------------------------------------------------------------- 1 | 10 |
11 |
12 |

13 | 14 |

15 | 16 |

17 | 18 |

19 | 20 |

21 | ru | en 22 |

23 |
24 | -------------------------------------------------------------------------------- /core/functions/auth.php: -------------------------------------------------------------------------------- 1 | 10 |

11 | 12 |

13 |

14 | JSON FILE 15 |

16 |

17 | Debug 18 |

19 |
20 |             
21 |         
22 |
23 |

24 | LANGUAGE FILE 25 |

26 |
27 |             
28 |         
29 | -------------------------------------------------------------------------------- /web/css/prettify.css: -------------------------------------------------------------------------------- 1 | .pln{color:#000}@media screen{.str{color:#080}.kwd{color:#008}.com{color:#800}.typ{color:#606}.lit{color:#066}.pun,.opn,.clo{color:#660}.tag{color:#008}.atn{color:#606}.atv{color:#080}.dec,.var{color:#606}.fun{color:red}}@media print,projection{.str{color:#060}.kwd{color:#006;font-weight:bold}.com{color:#600;font-style:italic}.typ{color:#404;font-weight:bold}.lit{color:#044}.pun,.opn,.clo{color:#440}.tag{color:#006;font-weight:bold}.atn{color:#404}.atv{color:#060}}pre.prettyprint{}ol.linenums{margin-top:0;margin-bottom:0}li.L0,li.L1,li.L2,li.L3,li.L5,li.L6,li.L7,li.L8{list-style-type:none}li.L1,li.L3,li.L5,li.L7,li.L9{background:#eee} -------------------------------------------------------------------------------- /core/data.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /web/actions_open.php: -------------------------------------------------------------------------------- 1 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /web/table_head.php: -------------------------------------------------------------------------------- 1 | 10 | 11 | 12 | 13 | 16 | 19 | 22 | 25 | 28 | 29 | -------------------------------------------------------------------------------- /core/core.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /core/functions/global.php: -------------------------------------------------------------------------------- 1 | $row) { 13 | $sort_col[$key] = $row[$col]; 14 | } 15 | array_multisort($sort_col, $dir, $arr); 16 | } 17 | 18 | /** 19 | * @param $start

20 | * Start date 21 | *

22 | * @param $end

23 | * End date 24 | *

25 | * @return float number of days between two dates 26 | */ 27 | function date_difference($start, $end) 28 | { 29 | $start_ts = strtotime($start); 30 | $end_ts = strtotime($end); 31 | $diff = $end_ts - $start_ts; 32 | return round($diff / 86400); 33 | } -------------------------------------------------------------------------------- /web/form_login.php: -------------------------------------------------------------------------------- 1 | 10 |
11 |

12 | 13 |

14 |
15 |
16 | 17 |
18 |
19 | 20 |
21 |
22 | 23 | " /> 24 |
25 | 26 |
27 | -------------------------------------------------------------------------------- /core/task.json: -------------------------------------------------------------------------------- 1 | {"tasks":{"927a04fb413ef2a191d3":{"task":"33333","status":"open","duedate":"13-09-2015","dateadded":"13-09-2015","priority":"2"},"0ffe44b9dcaf610e437b":{"task":"33333","status":"closed","duedate":"13-09-2015","dateadded":"13-09-2015","priority":"2","donedate":"13-09-2015"},"ce299b0877839a9c662e":{"task":"2222","status":"open","duedate":"13-09-2015","dateadded":"13-09-2015","priority":"2"},"af4c64f04b6a8889dcfd":{"task":"111","status":"closed","duedate":"13-09-2015","dateadded":"13-09-2015","priority":"2","donedate":"13-09-2015"},"602d115b24433a349218":{"task":"Create ajax","status":"closed","duedate":"11-08-2015","dateadded":"11-08-2015","priority":"2","donedate":"13-09-2015"},"7fd56b12e69ef6f1b052":{"task":"Add ajax branch","status":"closed","duedate":"11-08-2015","dateadded":"11-08-2015","priority":"2","donedate":"07-09-2015"},"317761c427af987e01ce":{"task":"Init git for this","status":"closed","duedate":"11-08-2015","dateadded":"11-08-2015","priority":"2","donedate":"13-09-2015"}}} -------------------------------------------------------------------------------- /web/footer.php: -------------------------------------------------------------------------------- 1 | 22 | 23 | 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /web/table_daystoclose.php: -------------------------------------------------------------------------------- 1 | 20 | 21 | 22 | () 23 | 24 | 25 | 27 | 28 | 29 | () 30 | 31 | 32 | 34 | 35 | () 36 | 37 | -------------------------------------------------------------------------------- /web/css/img/fancybox/jquery.mousewheel-3.0.4.pack.js: -------------------------------------------------------------------------------- 1 | /*! Copyright (c) 2010 Brandon Aaron (http://brandonaaron.net) 2 | * Licensed under the MIT License (LICENSE.txt). 3 | * 4 | * Thanks to: http://adomas.org/javascript-mouse-wheel/ for some pointers. 5 | * Thanks to: Mathias Bank(http://www.mathias-bank.de) for a scope bug fix. 6 | * Thanks to: Seamus Leahy for adding deltaX and deltaY 7 | * 8 | * Version: 3.0.4 9 | * 10 | * Requires: 1.2.2+ 11 | */ 12 | 13 | (function(d){function g(a){var b=a||window.event,i=[].slice.call(arguments,1),c=0,h=0,e=0;a=d.event.fix(b);a.type="mousewheel";if(a.wheelDelta)c=a.wheelDelta/120;if(a.detail)c=-a.detail/3;e=c;if(b.axis!==undefined&&b.axis===b.HORIZONTAL_AXIS){e=0;h=-1*c}if(b.wheelDeltaY!==undefined)e=b.wheelDeltaY/120;if(b.wheelDeltaX!==undefined)h=-1*b.wheelDeltaX/120;i.unshift(a,c,h,e);return d.event.handle.apply(this,i)}var f=["DOMMouseScroll","mousewheel"];d.event.special.mousewheel={setup:function(){if(this.addEventListener)for(var a= 14 | f.length;a;)this.addEventListener(f[--a],g,false);else this.onmousewheel=g},teardown:function(){if(this.removeEventListener)for(var a=f.length;a;)this.removeEventListener(f[--a],g,false);else this.onmousewheel=null}};d.fn.extend({mousewheel:function(a){return a?this.bind("mousewheel",a):this.trigger("mousewheel")},unmousewheel:function(a){return this.unbind("mousewheel",a)}})})(jQuery); -------------------------------------------------------------------------------- /index.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /core/functions/language.php: -------------------------------------------------------------------------------- 1 | 11 |
14 | 15 | 17 | 18 | 20 | 21 | 23 | 24 | 26 | 27 |
12 | 13 | 16 | 19 | 22 | 25 | 26 | 27 | 31 | 47 | 50 | 56 | 57 |
14 | 15 | 17 | 18 | 20 | 21 | 23 | 24 |
28 |
29 | "> 30 |
32 | 46 | 48 | 49 | 51 | 52 | 53 | "> 54 | 55 |
-------------------------------------------------------------------------------- /debug.php: -------------------------------------------------------------------------------- 1 | Json path: " . $file . " " . $LANG["cantopenjson"] . ""; 28 | } 29 | 30 | //Check if it is a valid file 31 | if (!($json_debug = json_decode($debugtaskfile, true))) { 32 | $ok = false; 33 | echo "" . $LANG["cantdecodejson"] . ""; 34 | } 35 | 36 | if ($ok) { 37 | if ($allow_access) { 38 | require_once("web/debug.php"); 39 | } else { 40 | echo $LANG["logneeded"]; 41 | redirect(); 42 | } 43 | } 44 | 45 | require_once("web/footer.php"); 46 | ?> -------------------------------------------------------------------------------- /web/table_content.php: -------------------------------------------------------------------------------- 1 | 10 | > 11 | 12 | 28 | 29 | 30 | 31 | 32 | 33 | 48 | 49 | 50 | 53 | 54 | 55 | 68 | 69 | 70 | -------------------------------------------------------------------------------- /web/body.php: -------------------------------------------------------------------------------- 1 | 10 | 27 | 28 |
29 |

30 | 31 |

32 | 33 |

34 | 35 |

36 |
37 | 38 |
39 |
40 | 41 | 42 |
43 |

44 | 45 |

46 |
47 | 48 |
49 |
50 | 51 | 52 |
53 |

54 | 55 |

56 |
57 | 58 |
59 |
60 | -------------------------------------------------------------------------------- /web/js/ajax.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by littleguga on 11.08.2015. 3 | */ 4 | function action(atype, e, obj){ 5 | e.preventDefault(); 6 | var url = false; 7 | switch(atype){ 8 | case 'done': 9 | url = $(obj).attr('href'); 10 | break; 11 | case 'delete': 12 | url = $(obj).attr('href'); 13 | break; 14 | case 'kill': 15 | url = $(obj).attr('href'); 16 | break; 17 | case 'restore': 18 | url = $(obj).attr('href'); 19 | break; 20 | default: 21 | console.error('Error: unknown action given'); 22 | break; 23 | } 24 | if(url){ 25 | $.ajax({ 26 | type: 'GET', 27 | url: url, 28 | success: function(resp) { 29 | $(obj).parent().parent().addClass('hide-animation'); 30 | setTimeout(function(){ 31 | $(obj).parent().parent().remove(); 32 | }, 700); 33 | }, 34 | error: function() { 35 | console.error('Error: something going wrong'); 36 | } 37 | }); 38 | } 39 | } 40 | 41 | function refresh(obj){ 42 | var tab = $(obj).attr('data-target'); 43 | var target = $(obj).attr('href'); 44 | $.ajax({ 45 | type: 'GET', 46 | url: 'action.php?action=list&tab=' + tab, 47 | success: function(resp) { 48 | $('#tab-table-' + tab).html(resp); 49 | }, 50 | error: function() { 51 | console.error('Error: something going wrong'); 52 | } 53 | }); 54 | } 55 | 56 | 57 | $(document).on('click', '.action-done', function(e){ 58 | action('done', e, $(this)); 59 | }); 60 | 61 | $(document).on('click', '.action-delete', function(e){ 62 | action('delete', e, $(this)); 63 | }); 64 | 65 | $(document).on('click', '.action-kill', function(e){ 66 | action('kill', e, $(this)); 67 | }); 68 | 69 | $(document).on('click', '.action-restore', function(e){ 70 | action('restore', e, $(this)); 71 | }); 72 | 73 | $(document).on('click', '.tabs-nav', function(e){ 74 | refresh($(this)); 75 | }); -------------------------------------------------------------------------------- /web/header.php: -------------------------------------------------------------------------------- 1 | 24 | 25 | 26 | 27 | <?php echo $projectname; ?> 28 | 29 | 30 | 31 | 32 | 34 | 35 | 36 | 39 | 40 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 |
52 |
53 | -------------------------------------------------------------------------------- /web/css/kickstart-grid.css: -------------------------------------------------------------------------------- 1 | /* 2 | 99Lime.com HTML KickStart by Joshua Gatcke 3 | kickstart-grids.css 4 | 5 | DO NOT EDIT THIS FILE unless you know what you are doing. 6 | */ 7 | /*--------------------------------- 8 | GRID/COLUMNS 9 | ----------------------------------- 10 | tinyfluidgrid.com 11 | & girlfriendnyc.com 12 | with changes by 99Lime 13 | -----------------------------------*/ 14 | /* 15 | & Columns : 12 16 | & Gutter %: 20% 17 | & MinWidth: 960px 18 | & MaxWidth: 1080px 19 | */ 20 | .col_1 { width: 6.6666666666667%; } 21 | .col_2 { width: 15%; } 22 | .col_3 { width: 23.333333333333%; } 23 | .col_4 { width: 31.666666666667%; } 24 | .col_5 { width: 40%; } 25 | .col_6 { width: 48.333333333333%; } 26 | .col_7 { width: 56.666666666667%; } 27 | .col_8 { width: 65%; } 28 | .col_9 { width: 73.333333333333%; } 29 | .col_10 { width: 81.666666666667%; } 30 | .col_11 { width: 90%; } 31 | .col_12 { width: 98.333333333333%; } 32 | 33 | .col_1, 34 | .col_2, 35 | .col_3, 36 | .col_4, 37 | .col_5, 38 | .col_6, 39 | .col_7, 40 | .col_8, 41 | .col_9, 42 | .col_10, 43 | .col_11, 44 | .col_12 { 45 | margin-left: 0.83333333333333%; 46 | margin-right: 0.83333333333333%; 47 | margin-top:8px; 48 | margin-bottom:8px; 49 | float: left; 50 | display: block; 51 | } 52 | 53 | .alpha{margin-left:0px;} 54 | .omega{margin-right:0px;} 55 | 56 | .clear{clear:both;display:block;overflow:hidden;visibility:hidden;width:0;height:0} 57 | .clearfix:after{clear:both;content:' ';display:block;font-size:0;line-height:0;visibility:hidden;width:0;height:0} 58 | * html .clearfix, *:first-child+html .clearfix{zoom:1} 59 | 60 | /* Viewable Grids 61 | To view your grids, add the class .visible to any grid container. 62 | This will add a background color so you can see the layout of your grids. 63 | */ 64 | .col_1.visible, 65 | .col_2.visible, 66 | .col_3.visible, 67 | .col_4.visible, 68 | .col_5.visible, 69 | .col_6.visible, 70 | .col_7.visible, 71 | .col_8.visible, 72 | .col_9.visible, 73 | .col_10.visible, 74 | .col_11.visible, 75 | .col_12.visible { 76 | background:#efefef; 77 | } 78 | 79 | /* Default .inner Padding 80 | The inside of a column is automatically wrapped with div.inner by Javascript. 81 | This allows for more flexible styling and layout without breaking your columns. 82 | */ 83 | .column .inner{ 84 | padding:10px; 85 | } -------------------------------------------------------------------------------- /core/functions/web.php: -------------------------------------------------------------------------------- 1 | 13 | setTimeout(function(){ 14 | window.location = "' . $page . '" 15 | },2000); 16 | '; 17 | } 18 | 19 | function listtasks($json_a, $taskstatus, $dateformat, $LANG, $rowstyle = "") 20 | { 21 | //Defaults 22 | $havetasks = NULL; 23 | $tasknumber = 1; 24 | 25 | //Sotring 26 | array_sort_by_column($json_a, 'priority'); 27 | 28 | //Render table head 29 | include(realpath(__DIR__ . "/../../web") . DIRECTORY_SEPARATOR . "table_head.php"); 30 | 31 | if (is_array($json_a)) { 32 | foreach ($json_a as $item => $task) { 33 | if ($task['status'] == $taskstatus) { 34 | $havetasks = 1; 35 | 36 | //Render table body if no content 37 | include(realpath(__DIR__ . "/../../web") . DIRECTORY_SEPARATOR . "table_content.php"); 38 | 39 | $tasknumber += 1; 40 | } 41 | } 42 | 43 | if ($havetasks == 0) { 44 | //Render table body if no content 45 | include(realpath(__DIR__ . "/../../web") . DIRECTORY_SEPARATOR . "table_notasks.php"); 46 | } 47 | 48 | } else { 49 | //Render table body if no content 50 | include(realpath(__DIR__ . "/../../web") . DIRECTORY_SEPARATOR . "table_notasks.php"); 51 | } 52 | 53 | //Render table end 54 | include(realpath(__DIR__ . "/../../web") . DIRECTORY_SEPARATOR . "table_footer.php"); 55 | } 56 | 57 | function showinputform($dateformat, $LANG) 58 | { 59 | include(realpath(__DIR__ . "/../../web") . DIRECTORY_SEPARATOR . "form_input.php"); //render inputform 60 | } 61 | 62 | function getrowstyle($rowstyle, $priority = null) 63 | { 64 | if ($rowstyle == "striped") { 65 | return; 66 | } 67 | switch ($priority) { 68 | case 1: 69 | return 'class="high"'; 70 | case 2: 71 | return 'class="normal"'; 72 | case 3: 73 | return 'class="low"'; 74 | case 4: 75 | return 'class="onhold"'; 76 | } 77 | } -------------------------------------------------------------------------------- /web/js/html5.js: -------------------------------------------------------------------------------- 1 | /* 2 | HTML5 Shiv v3.7.0 | @afarkas @jdalton @jon_neal @rem | MIT/GPL2 Licensed 3 | */ 4 | (function(l,f){function m(){var a=e.elements;return"string"==typeof a?a.split(" "):a}function i(a){var b=n[a[o]];b||(b={},h++,a[o]=h,n[h]=b);return b}function p(a,b,c){b||(b=f);if(g)return b.createElement(a);c||(c=i(b));b=c.cache[a]?c.cache[a].cloneNode():r.test(a)?(c.cache[a]=c.createElem(a)).cloneNode():c.createElem(a);return b.canHaveChildren&&!s.test(a)?c.frag.appendChild(b):b}function t(a,b){if(!b.cache)b.cache={},b.createElem=a.createElement,b.createFrag=a.createDocumentFragment,b.frag=b.createFrag(); 5 | a.createElement=function(c){return!e.shivMethods?b.createElem(c):p(c,a,b)};a.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+m().join().replace(/[\w\-]+/g,function(a){b.createElem(a);b.frag.createElement(a);return'c("'+a+'")'})+");return n}")(e,b.frag)}function q(a){a||(a=f);var b=i(a);if(e.shivCSS&&!j&&!b.hasCSS){var c,d=a;c=d.createElement("p");d=d.getElementsByTagName("head")[0]||d.documentElement;c.innerHTML="x"; 6 | c=d.insertBefore(c.lastChild,d.firstChild);b.hasCSS=!!c}g||t(a,b);return a}var k=l.html5||{},s=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,r=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,j,o="_html5shiv",h=0,n={},g;(function(){try{var a=f.createElement("a");a.innerHTML="";j="hidden"in a;var b;if(!(b=1==a.childNodes.length)){f.createElement("a");var c=f.createDocumentFragment();b="undefined"==typeof c.cloneNode|| 7 | "undefined"==typeof c.createDocumentFragment||"undefined"==typeof c.createElement}g=b}catch(d){g=j=!0}})();var e={elements:k.elements||"abbr article aside audio bdi canvas data datalist details dialog figcaption figure footer header hgroup main mark meter nav output progress section summary template time video",version:"3.7.0",shivCSS:!1!==k.shivCSS,supportsUnknownElements:g,shivMethods:!1!==k.shivMethods,type:"default",shivDocument:q,createElement:p,createDocumentFragment:function(a,b){a||(a=f); 8 | if(g)return a.createDocumentFragment();for(var b=b||i(a),c=b.frag.cloneNode(),d=0,e=m(),h=e.length;d 10 |

11 | 12 |

13 | $task) { 15 | if ($item == $taskid) { 16 | $found = 1; 17 | ?> 18 | 19 | 20 | 21 | 24 | 27 | 30 | 33 | 34 | 35 | 39 | 55 | 58 | 65 | 66 |
22 | 23 | 25 | 26 | 28 | 29 | 31 | 32 |
36 |
37 | "> 38 |
40 | 54 | 56 | "> 57 | 59 | 60 | "> 61 | 62 | "> 63 | 64 |
67 | 68 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | # Code by Remy van Elst 4 | # improvements by littleguga 5 | 6 | Copyright (c) 2012 Remy van Elst [https://raymii.org] 7 | Copyright (c) 2015 littleguga [https://github.com/littleguga] 8 | 9 | Permission is hereby granted, free of charge, to any person obtaining a copy 10 | of this software and associated documentation files (the "Software"), to deal 11 | in the Software without restriction, including without limitation the rights 12 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 13 | copies of the Software, and to permit persons to whom the Software is 14 | furnished to do so, subject to the following conditions: 15 | 16 | The above copyright notice and this permission notice shall be included in all 17 | copies or substantial portions of the Software. 18 | 19 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 20 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 21 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 22 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 23 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 24 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 25 | SOFTWARE. 26 | 27 | 28 | ## HTML5 Kickstart 29 | 30 | https://github.com/joshuagatcke/HTML-KickStart 31 | 32 | Copyright © 2011-2012 Joshua Gatcke http://www.99lime.com | HTML KickStart 33 | 34 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: 35 | 36 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 37 | 38 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 39 | 40 | -------------------------------------------------------------------------------- /web/css/kickstart-icons.css: -------------------------------------------------------------------------------- 1 | /* 2 | 99Lime.com HTML KickStart by Joshua Gatcke 3 | kickstart-icons.css 4 | 5 | DO NOT EDIT THIS FILE unless you know what you are doing. 6 | Edit/override icon styles in kickstart.css 7 | */ 8 | 9 | @font-face { 10 | font-family: 'IcoMoon'; 11 | src: url('fonts/base/icomoon-webfont.eot'); 12 | src: url('fonts/base/icomoon-webfont.eot?#iefix') format('embedded-opentype'), 13 | url('fonts/base/icomoon-webfont.woff') format('woff'), 14 | url('fonts/base/icomoon-webfont.ttf') format('truetype'), 15 | url('fonts/base/icomoon-webfont.svg#IcoMoonBase') format('svg'); 16 | } 17 | 18 | @font-face { 19 | font-family: 'IcoMoonSocial'; 20 | src: url('fonts/social/icomoonsocial-webfont.eot'); 21 | src: url('fonts/social/icomoonsocial-webfont.eot?#iefix') format('embedded-opentype'), 22 | url('fonts/social/icomoonsocial-webfont.woff') format('woff'), 23 | url('fonts/social/icomoonsocial-webfont.ttf') format('truetype'), 24 | url('fonts/social/icomoonsocial-webfont.svg#IcoMoonSocial') format('svg'); 25 | } 26 | 27 | .icon { 28 | height: 0.8em; 29 | width: 0.8em; 30 | display: inline-block; 31 | font-size: 21px; 32 | color: inherit; 33 | text-decoration: none; 34 | vertical-align: middle; 35 | text-align: center; 36 | line-height: 120%; 37 | padding: 0; 38 | margin: 0; 39 | font-family: 'IcoMoon', arial, sans-serif; 40 | position: relative; 41 | top: -3px; 42 | left: 0; 43 | -webkit-font-smoothing: antialiased; 44 | zoom: 1; 45 | display: none; 46 | } 47 | 48 | .msie .icon { 49 | top: -1px; 50 | } 51 | 52 | /* IE ONLY - I know :P */ 53 | 54 | .icon span { 55 | position: relative; 56 | top: -49%; 57 | left: 0.017em; 58 | color: inherit; 59 | display: inline-block; 60 | zoom: 1; 61 | } 62 | 63 | .icon.small { 64 | font-size: 21px; 65 | } 66 | 67 | /* default */ 68 | .icon.medium { 69 | font-size: 31px; 70 | } 71 | 72 | .icon.large { 73 | font-size: 41px; 74 | } 75 | 76 | .icon.x-large { 77 | font-size: 61px; 78 | } 79 | 80 | .icon.social { 81 | font-family: 'IcoMoonSocial', arial, sans-serif; 82 | } 83 | 84 | .icon.social span { 85 | top: -23%; 86 | } 87 | 88 | /* colors (starting point) */ 89 | .icon.gray { 90 | color: #999; 91 | } 92 | 93 | .icon.darkgray { 94 | color: #666; 95 | } 96 | 97 | .icon.black { 98 | color: #000; 99 | } 100 | 101 | .icon.white { 102 | color: #fff; 103 | } 104 | 105 | .icon.red { 106 | color: #CA2200; 107 | } 108 | 109 | .icon.blue { 110 | color: #3EBDFF; 111 | } 112 | 113 | .icon.green { 114 | color: #A7C210; 115 | } 116 | 117 | .icon.pink { 118 | color: #E9236E; 119 | } 120 | 121 | -------------------------------------------------------------------------------- /web/css/tiptip.css: -------------------------------------------------------------------------------- 1 | /* 2 | TipTip CSS - Version 1.2 3 | http://code.drewwilson.com/entry/tiptip-jquery-plugin 4 | */ 5 | 6 | #tiptip_holder { display: none; position: absolute; top: 0; left: 0; z-index: 99999; } 7 | #tiptip_holder.tip_top { padding-bottom: 5px; } 8 | #tiptip_holder.tip_bottom { padding-top: 5px; } 9 | #tiptip_holder.tip_right { padding-left: 5px; } 10 | #tiptip_holder.tip_left { padding-right: 5px; } 11 | 12 | #tiptip_content { 13 | font-size: 11px; 14 | color: #fff; 15 | text-shadow: 0 0 2px #000; 16 | padding: 4px 8px; 17 | border: 1px solid rgba(255,255,255,0.25); 18 | background:#212121; 19 | background-color: rgba(25,25,25,0.92); 20 | background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(transparent), to(#000)); 21 | border-radius: 3px; 22 | -webkit-border-radius: 3px; 23 | -moz-border-radius: 3px; 24 | box-shadow: 0 0 3px #555; 25 | -webkit-box-shadow: 0 0 3px #555; 26 | -moz-box-shadow: 0 0 3px #555; 27 | *background:#212121; 28 | } 29 | 30 | #tiptip_arrow, #tiptip_arrow_inner { 31 | position: absolute; 32 | border-color: transparent; 33 | border-style: solid; 34 | border-width: 6px; 35 | height: 0; 36 | width: 0; 37 | } 38 | 39 | #tiptip_holder.tip_top #tiptip_arrow { 40 | border-top-color: #fff; 41 | border-top-color: rgba(255,255,255,0.35); 42 | } 43 | 44 | #tiptip_holder.tip_bottom #tiptip_arrow { 45 | border-bottom-color: #fff; 46 | border-bottom-color: rgba(255,255,255,0.35); 47 | } 48 | 49 | #tiptip_holder.tip_right #tiptip_arrow { 50 | border-right-color: #fff; 51 | border-right-color: rgba(255,255,255,0.35); 52 | } 53 | 54 | #tiptip_holder.tip_left #tiptip_arrow { 55 | border-left-color: #fff; 56 | border-left-color: rgba(255,255,255,0.35); 57 | } 58 | 59 | #tiptip_holder.tip_top #tiptip_arrow_inner { 60 | margin-top: -7px; 61 | margin-left: -6px; 62 | border-top-color: rgb(25,25,25); 63 | border-top-color: rgba(25,25,25,0.92); 64 | } 65 | 66 | #tiptip_holder.tip_bottom #tiptip_arrow_inner { 67 | margin-top: -5px; 68 | margin-left: -6px; 69 | border-bottom-color: rgb(25,25,25); 70 | border-bottom-color: rgba(25,25,25,0.92); 71 | } 72 | 73 | #tiptip_holder.tip_right #tiptip_arrow_inner { 74 | margin-top: -6px; 75 | margin-left: -5px; 76 | border-right-color: rgb(25,25,25); 77 | border-right-color: rgba(25,25,25,0.92); 78 | } 79 | 80 | #tiptip_holder.tip_left #tiptip_arrow_inner { 81 | margin-top: -6px; 82 | margin-left: -7px; 83 | border-left-color: rgb(25,25,25); 84 | border-left-color: rgba(25,25,25,0.92); 85 | } 86 | 87 | /* Webkit Hacks */ 88 | @media screen and (-webkit-min-device-pixel-ratio:0) { 89 | #tiptip_content { 90 | padding: 4px 8px 5px 8px; 91 | background-color: rgba(45,45,45,0.88); 92 | } 93 | #tiptip_holder.tip_bottom #tiptip_arrow_inner { 94 | border-bottom-color: rgba(45,45,45,0.88); 95 | } 96 | #tiptip_holder.tip_top #tiptip_arrow_inner { 97 | border-top-color: rgba(20,20,20,0.92); 98 | } 99 | } -------------------------------------------------------------------------------- /web/css/style.css: -------------------------------------------------------------------------------- 1 | /* 2 | 99Lime.com HTML KickStart by Joshua Gatcke 3 | style.css 4 | 5 | */ 6 | /*--------------------------------- 7 | IMPORTS 8 | -----------------------------------*/ 9 | @import url(http://fonts.googleapis.com/css?family=Arimo:400,700); 10 | 11 | /*--------------------------------- 12 | OVERRIDES 13 | -----------------------------------*/ 14 | h1, h2, h3, h4, h5, h6 { 15 | font-family: "Trebuchet Ms", arial, verdana, sans-serif; 16 | } 17 | 18 | thead th, 19 | tbody th { 20 | font-family: "Trebuchet Ms", arial, verdana, sans-serif; 21 | } 22 | 23 | button, 24 | a.btn, 25 | input[type="submit"], 26 | input[type="reset"], 27 | input[type="button"] { 28 | font-family: "Trebuchet Ms", arial, verdana, sans-serif; 29 | } 30 | 31 | .menu { 32 | font-family: "Trebuchet Ms", arial, verdana, sans-serif; 33 | } 34 | 35 | blockquote { 36 | font-family: "Trebuchet Ms", arial, verdana, sans-serif; 37 | } 38 | 39 | /*--------------------------------- 40 | LAYOUT 41 | -----------------------------------*/ 42 | body { 43 | margin: 0; 44 | padding: 0; 45 | color: #000; 46 | background: #efefef url(img/grid.png) repeat center top; 47 | font: normal 0.9em/150% 'Arimo', "Trebuchet MS", arial, verdana, sans-serif; 48 | text-shadow: 0px 0px 1px transparent; /* google font pixelation fix */ 49 | } 50 | 51 | #wrap { 52 | width: 960px; /*960*/ 53 | background: #fff; 54 | margin: 30px auto 30px auto; 55 | padding: 0; 56 | border: 1px solid #ccc; 57 | } 58 | 59 | .menu { 60 | margin: -1px -1px 0 -1px; 61 | } 62 | 63 | #footer { 64 | text-align: center; 65 | padding: 20px; 66 | margin: 0; 67 | background: #efefef; 68 | border-top: 1px solid #ccc; 69 | color: #999; 70 | font-size: 0.8em; 71 | text-shadow: 0px 1px 1px #fff; 72 | position: relative; 73 | top: 0; 74 | left: 0; 75 | } 76 | 77 | #link-top { 78 | position: absolute; 79 | top: 10px; 80 | right: 10px; 81 | *right: 25px; /*IE 7 ONLY*/ 82 | left: auto; 83 | color: #666; 84 | text-decoration: none; 85 | display: inline-block; 86 | padding: 5px 10px; 87 | background: #e5e5e5; 88 | line-height: 100%; 89 | -moz-border-radius: 3px; 90 | -webkit-border-radius: 3px; 91 | border-radius: 3px; 92 | } 93 | 94 | .row { 95 | margin: 13px 0px; 96 | } 97 | 98 | .center { 99 | text-align: center; 100 | } 101 | 102 | /* @TODO: add styles below */ 103 | .low { 104 | background: #E7E6E6; 105 | } 106 | 107 | .normal { 108 | background: #EAF5FA; 109 | } 110 | 111 | .high { 112 | background: #FF9B9E; 113 | } 114 | 115 | .onhold { 116 | background: #f5f5f5; 117 | } 118 | 119 | .icon-link { 120 | text-decoration: none; 121 | } 122 | 123 | .error { 124 | color: red; 125 | } 126 | 127 | .hide-animation { 128 | animation-name: hide; 129 | animation-duration: 0.7s; 130 | } 131 | 132 | @keyframes hide { 133 | 0% { 134 | opacity: 1; 135 | } 136 | 100% { 137 | opacity: 0; 138 | } 139 | } 140 | -------------------------------------------------------------------------------- /lang/language.en.php: -------------------------------------------------------------------------------- 1 | "en", //Don't touch this line 8 | 9 | //Titles 10 | "tasktodo" => "Task/Todo", 11 | "task" => "Task", //Item name 12 | "tasks" => "Tasks", 13 | "finishedtasks" => "Finished Tasks", 14 | "trash" => "Trash Bin", 15 | "tobin" => "Trash Bin", 16 | "todo" => "To do", 17 | "notasks" => "No tasks.", 18 | "backtohomepage" => "Back to the main page", 19 | "info" => "Info", 20 | 21 | //Actions 22 | "action" => "Action", 23 | "addtask" => "Add task", 24 | "edit" => "Edit", 25 | "delete" => "Delete", 26 | "updatetask" => "Update task", 27 | 28 | //Actions result 29 | "taskupdated" => "Task updated", 30 | "taskadded" => "Task added.", 31 | "taskdone" => "The task is marked as finished. ", 32 | "taskkilled" => "Task fully removed.", 33 | "taskrestored" => "Task restored.", 34 | "taskdeleted" => "The task is deleted.", 35 | "langdone" => "Language changed.", 36 | 37 | //Priority 38 | "priority" => "Priority", 39 | "high" => "High", 40 | "normal" => "Normal", 41 | "low" => "Low", 42 | "onhold" => "On hold", 43 | 44 | //Dates & Days 45 | "daysopen" => "Days open", 46 | "duedate" => "Due date", 47 | "daysleft" => " days left", 48 | "dayslate" => " days late", 49 | "today" => "Today!", 50 | 51 | //Errors 52 | "eupdatetask" => "Error: Task could not be updated.", 53 | "etasknotfound" => "Error: Task not found.", 54 | "etasknotadded" => "Error: The task could not be added. Please check JSON permissions.", 55 | "etasknotdone" => "Error: the task could not be marked as done. Please check JSON permissions. ", 56 | "etasknotdeleted" => "Error: the task could not be deleted. Please check JSON permissions.", 57 | "noactiongiven" => "Error: No correct action given. ", 58 | "langfailed" => "Error: Can't find this language file.", 59 | "etasknotkilled" => "Error: Task could not be fully removed. Please check JSON permissions.", 60 | "etasknotrestored" => "Error: Task could not be restored. Please check JSON permissions.", 61 | "wrongparams" => "Error: Wrong parameters given.", 62 | "cantopenjson" => "Cant open JSON file. Does it exist?", 63 | "cantdecodejson" => "Cant decode JSON file. Is it a valid JSON file?", 64 | 65 | //###Auth 66 | //Actions 67 | "login" => "Log In", 68 | "logout" => "Log Out", 69 | 70 | //Actions result 71 | "logok" => "Logged in.", 72 | "logoutok" => "Logged out.", 73 | 74 | //Errors 75 | "logneeded" => "You need to log in.", 76 | "logfail" => "Error: Incorrect login or password.", 77 | 78 | //Empty 79 | "" => "", 80 | "" => "", 81 | "" => "", 82 | "" => "", 83 | "" => "", 84 | 85 | //Redirected 86 | "redirected" => 'You will now be redirected back to the task list. 87 |
If that does not happen, please click here.', 88 | 89 | //Copyright 90 | "infotext" => 'Improved and rewritten by littleguga. 91 | Original script was written by Remy van Elst.', 92 | ); 93 | ?> -------------------------------------------------------------------------------- /lang/language.ru.php: -------------------------------------------------------------------------------- 1 | "ru", //Don't touch this line 8 | 9 | //Titles 10 | "tasktodo" => "Задача/Todo", 11 | "task" => "Задача", 12 | "tasks" => "Задачи", 13 | "finishedtasks" => "Завершенные задачи", 14 | "trash" => "Удаленные", 15 | "tobin" => "Удаленные", 16 | "todo" => "Список задач:", 17 | "notasks" => "Нет задач.", 18 | "backtohomepage" => "Вернуться на главную", 19 | "info" => "Информация", 20 | 21 | //Actions 22 | "action" => "Действие", 23 | "addtask" => "Добавить задачу", 24 | "edit" => "Редактировать", 25 | "delete" => "Удалить", 26 | "updatetask" => "Обновить задачу", 27 | 28 | //Actions result 29 | "taskupdated" => "Задача обновлена. ", 30 | "taskadded" => "Задача добавлена. ", 31 | "taskdone" => "Эта задача завершена. ", 32 | "taskkilled" => "Задача уничтожена. ", 33 | "taskrestored" => "Задача восстановлена. ", 34 | "taskdeleted" => "Эта задача удалена. ", 35 | "langdone" => "Изменили язык. ", 36 | 37 | //Priority 38 | "priority" => "Приоритет", 39 | "high" => "Высокий", 40 | "normal" => "Средний", 41 | "low" => "Низкий", 42 | "onhold" => "Без приоритета", 43 | 44 | //Dates & Days 45 | "daysopen" => "Прошло дней", 46 | "duedate" => "Сдать к сроку", 47 | "daysleft" => " дней осталось", 48 | "dayslate" => " дней просрочено", 49 | "today" => "Сегодня!", 50 | "days" => array( 51 | 1 => "Пн", 52 | 2 => "Вт", 53 | 3 => "Ср", 54 | 4 => "Чт", 55 | 5 => "Пт", 56 | 6 => "Сб", 57 | 7 => "Вс", 58 | ), 59 | "months" => array( 60 | 1 => "Янв", 61 | 2 => "Фев", 62 | 3 => "Мар", 63 | 4 => "Апр", 64 | 5 => "Май", 65 | 6 => "Июн", 66 | 7 => "Июл", 67 | 8 => "Авг", 68 | 9 => "Сен", 69 | 10 => "Окт", 70 | 11 => "Ноя", 71 | 12 => "Дек", 72 | ), 73 | 74 | //Errors 75 | "eupdatetask" => "Ошибка: Задача не может быть обновлена. ", 76 | "etasknotfound" => "Ошибка: Задача не найдена. ", 77 | "etasknotadded" => "Ошибка: Задача не может быть добавлена. Проверьте права доступа. ", 78 | "etasknotdone" => "Ошибка: Задача не может быть завершена. Проверьте права доступа. ", 79 | "etasknotdeleted" => "Ошибка: Задача не может быть удалена. Проверьте права доступа. ", 80 | "noactiongiven" => "Ошибка: неверное действие. ", 81 | "langfailed" => "Ошибка: файл данного языка не найден. ", 82 | "etasknotkilled" => "Ошибка: Задача не уничтожена. ", 83 | "etasknotrestored" => "Ошибка: Задача не восстановлена. ", 84 | "wrongparams" => "Ошибка: Неверные параметры. ", 85 | "cantopenjson" => "Не могу открыть JSON файл. Он существует? ", 86 | "cantdecodejson" => "Не могу распарсить JSON файл. Он валидный? ", 87 | 88 | //###Auth 89 | //Actions 90 | "login" => "Войти", 91 | "logout" => "Выйти", 92 | 93 | //Actions result 94 | "logok" => "Вы вошли.", 95 | "logoutok" => "Вы вышли.", 96 | 97 | //Errors 98 | "logneeded" => "Вам нужно авторизоваться: ", 99 | "logfail" => "Ошибка: Неверный логин или пароль. ", 100 | 101 | //Empty 102 | "" => "", 103 | "" => "", 104 | "" => "", 105 | "" => "", 106 | "" => "", 107 | 108 | //Redirected 109 | "redirected" => 'Вы будете автоматически переадресованы на главную страницу. 110 |
Если этого не произошло - нажмите сюда.', 111 | 112 | //Copyright 113 | "infotext" => 'Improved and rewritten by littleguga. 114 | Original script was written by Remy van Elst.', 115 | ); 116 | ?> -------------------------------------------------------------------------------- /web/css/kickstart-menus.css: -------------------------------------------------------------------------------- 1 | /* 2 | 99Lime.com HTML KickStart by Joshua Gatcke 3 | kickstart-menus.css 4 | */ 5 | 6 | /*--------------------------------- 7 | MENU LAYOUT 8 | DO NOT EDIT This Section (unless you know what you are doing) 9 | -----------------------------------*/ 10 | .menu{margin:0;padding:0;line-height:100%; 11 | font-size:0; /* Kill white space gap between LI elements */ 12 | position:relative;z-index:1000;} 13 | 14 | .menu:after{clear:both;content:' ';display:block;font-size:0;line-height:0;visibility:hidden;width:0;height:0} 15 | .menu li{margin:0;padding:0;list-style-type:none;display:inline-block;*display:inline;position:relative;zoom:1;line-height:inherit; 16 | top:0;left:0;font-size:16px; /* fixed font-size to replace font-size:0 in parent .menu 1em/16px default */} 17 | .menu li a{margin:0;padding:0;display:block;display:inline;display:inline-block;position:relative;zoom:1;line-height:100%;top:0;left:0;} 18 | 19 | /*--------------Sub Menus-------------------*/ 20 | /*.menu li:hover > ul{display:block;}*/ 21 | .menu ul{margin:0;padding:0;position: absolute;top:100%;left:0;display:none;min-width:150px;max-width:150%;*width:150px;} 22 | .menu ul li{display:block;width:100%;} 23 | .menu ul li a{display:block;} 24 | .menu ul ul{top:0;left:100%;} 25 | 26 | /*--------------Dividers-------------------*/ 27 | .menu ul li.divider{border-top:1px solid #ccc;} 28 | .menu ul li.divider a{border-top:1px solid #fff;} 29 | 30 | /*--------------Arrows-------------------*/ 31 | .menu li.has-menu a{padding-right:25px;} 32 | .menu li.has-menu span.arrow{border-style:solid;border-width:5px; 33 | display:block;position:absolute;top:50%;right:5px;font-size:0;line-height:0;height:0;width:0;} 34 | .menu li li.has-menu span.arrow{margin-top:-4px;} 35 | 36 | /*--------------Vertical Menu Layout-------------------*/ 37 | .menu.vertical{} 38 | .menu.vertical li{display:block;} 39 | .menu.vertical li a{display:block;} 40 | .menu.vertical ul{top:0;left:100%;} 41 | .menu.vertical li.has-menu span.arrow{margin-top:-4px;} 42 | 43 | /*--------------Vertical Right Menu Layout-------------------*/ 44 | .menu.vertical.right{text-align:left;} 45 | .menu.vertical.right ul{top:0;right:100%;left:auto;} 46 | .menu.vertical.right li a{padding-left:25px;padding-right:20px;} 47 | .menu.vertical.right li.has-menu span.arrow{right:auto;left:5px;margin-top:-4px;} 48 | 49 | 50 | /*--------------------------------- 51 | MENU STYLES 52 | EDIT BELOW THIS LINE TO CUSTOMIZE 53 | -----------------------------------*/ 54 | .menu{ 55 | border:1px solid #ccc; 56 | text-shadow:0px 1px 1px #fff; 57 | background: #eee; /* Old browsers */ 58 | background: -moz-linear-gradient(top, rgba(252,252,252,1) 0%, rgba(224,224,224,1) 100%); /* FF3.6+ */ 59 | background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(252,252,252,1)), color-stop(100%,rgba(224,224,224,1))); /* Chrome,Safari4+ */ 60 | background: -webkit-linear-gradient(top, rgba(252,252,252,1) 0%,rgba(224,224,224,1) 100%); /* Chrome10+,Safari5.1+ */ 61 | background: -o-linear-gradient(top, rgba(252,252,252,1) 0%,rgba(224,224,224,1) 100%); /* Opera11.10+ */ 62 | background: -ms-linear-gradient(top, rgba(252,252,252,1) 0%,rgba(224,224,224,1) 100%); /* IE10+ */ 63 | background: linear-gradient(top, rgba(252,252,252,1) 0%,rgba(224,224,224,1) 100%); /* W3C */ 64 | z-index:600; 65 | } 66 | 67 | .menu li{} 68 | 69 | .menu li a{ 70 | padding:15px 20px; 71 | text-decoration:none; 72 | font-size:0.9em; 73 | color: #777; 74 | } 75 | 76 | .menu li.current>a, 77 | .menu li.current>a:hover, 78 | .menu li.current.hover>a{ 79 | background: rgb(122,188,255); /* Old browsers */ 80 | background: -moz-linear-gradient(top, rgba(122,188,255,1) 0%, rgba(96,171,248,1) 44%, rgba(64,150,238,1) 100%); /* FF3.6+ */ 81 | background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(122,188,255,1)), color-stop(44%,rgba(96,171,248,1)), color-stop(100%,rgba(64,150,238,1))); /* Chrome,Safari4+ */ 82 | background: -webkit-linear-gradient(top, rgba(122,188,255,1) 0%,rgba(96,171,248,1) 44%,rgba(64,150,238,1) 100%); /* Chrome10+,Safari5.1+ */ 83 | background: -o-linear-gradient(top, rgba(122,188,255,1) 0%,rgba(96,171,248,1) 44%,rgba(64,150,238,1) 100%); /* Opera11.10+ */ 84 | background: -ms-linear-gradient(top, rgba(122,188,255,1) 0%,rgba(96,171,248,1) 44%,rgba(64,150,238,1) 100%); /* IE10+ */ 85 | filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#7abcff', endColorstr='#4096ee',GradientType=0 ); /* IE6-9 */ 86 | background: linear-gradient(top, rgba(122,188,255,1) 0%,rgba(96,171,248,1) 44%,rgba(64,150,238,1) 100%); /* W3C */ 87 | color:#fff; 88 | text-shadow:0px -1px 0px rgba(0,0,0,0.2); 89 | cursor: default; 90 | } 91 | 92 | .menu li a:hover, 93 | .menu li.hover>a{ 94 | background:#f5f5f5; 95 | } 96 | 97 | /* sub menus */ 98 | .menu ul{ 99 | background: #efefef; 100 | border:1px solid #ccc; 101 | } 102 | 103 | .menu ul li{} 104 | .menu ul li a{} 105 | 106 | /* sub-sub menus */ 107 | .menu ul ul{} 108 | .menu ul ul li{} 109 | .menu ul ul li a{} 110 | 111 | /* arrows */ 112 | /* arrow down */ .menu li.has-menu span.arrow{border-color-top:#ccc;border-color:#ccc transparent transparent transparent;} 113 | /* arrow left */ .menu li li.has-menu span.arrow, .menu.vertical li.has-menu span.arrow 114 | {border-color-left:#ccc;border-color:transparent transparent transparent #ccc;} 115 | /* arrow right */ .menu.vertical.right li.has-menu span.arrow{border-color-right:#ccc;border-color:transparent #ccc transparent transparent;} 116 | 117 | /* dividers */ .menu ul li.divider{border-top:1px solid #ccc;} 118 | .menu ul li.divider a{border-top:1px solid #fff;} 119 | 120 | /* icons */ 121 | .menu .icon{margin:-10px 7px -10px -5px;vertical-align: middle;} 122 | .menu ul .icon{margin-left:-10px;} 123 | -------------------------------------------------------------------------------- /web/css/img/fancybox/jquery.easing-1.3.pack.js: -------------------------------------------------------------------------------- 1 | /* 2 | * jQuery Easing v1.3 - http://gsgd.co.uk/sandbox/jquery/easing/ 3 | * 4 | * Uses the built in easing capabilities added In jQuery 1.1 5 | * to offer multiple easing options 6 | * 7 | * TERMS OF USE - jQuery Easing 8 | * 9 | * Open source under the BSD License. 10 | * 11 | * Copyright © 2008 George McGinley Smith 12 | * All rights reserved. 13 | * 14 | * Redistribution and use in source and binary forms, with or without modification, 15 | * are permitted provided that the following conditions are met: 16 | * 17 | * Redistributions of source code must retain the above copyright notice, this list of 18 | * conditions and the following disclaimer. 19 | * Redistributions in binary form must reproduce the above copyright notice, this list 20 | * of conditions and the following disclaimer in the documentation and/or other materials 21 | * provided with the distribution. 22 | * 23 | * Neither the name of the author nor the names of contributors may be used to endorse 24 | * or promote products derived from this software without specific prior written permission. 25 | * 26 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY 27 | * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 28 | * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE 29 | * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 30 | * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE 31 | * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED 32 | * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 33 | * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 34 | * OF THE POSSIBILITY OF SUCH DAMAGE. 35 | * 36 | */ 37 | 38 | // t: current time, b: begInnIng value, c: change In value, d: duration 39 | eval(function(p,a,c,k,e,r){e=function(c){return(c35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('h.i[\'1a\']=h.i[\'z\'];h.O(h.i,{y:\'D\',z:9(x,t,b,c,d){6 h.i[h.i.y](x,t,b,c,d)},17:9(x,t,b,c,d){6 c*(t/=d)*t+b},D:9(x,t,b,c,d){6-c*(t/=d)*(t-2)+b},13:9(x,t,b,c,d){e((t/=d/2)<1)6 c/2*t*t+b;6-c/2*((--t)*(t-2)-1)+b},X:9(x,t,b,c,d){6 c*(t/=d)*t*t+b},U:9(x,t,b,c,d){6 c*((t=t/d-1)*t*t+1)+b},R:9(x,t,b,c,d){e((t/=d/2)<1)6 c/2*t*t*t+b;6 c/2*((t-=2)*t*t+2)+b},N:9(x,t,b,c,d){6 c*(t/=d)*t*t*t+b},M:9(x,t,b,c,d){6-c*((t=t/d-1)*t*t*t-1)+b},L:9(x,t,b,c,d){e((t/=d/2)<1)6 c/2*t*t*t*t+b;6-c/2*((t-=2)*t*t*t-2)+b},K:9(x,t,b,c,d){6 c*(t/=d)*t*t*t*t+b},J:9(x,t,b,c,d){6 c*((t=t/d-1)*t*t*t*t+1)+b},I:9(x,t,b,c,d){e((t/=d/2)<1)6 c/2*t*t*t*t*t+b;6 c/2*((t-=2)*t*t*t*t+2)+b},G:9(x,t,b,c,d){6-c*8.C(t/d*(8.g/2))+c+b},15:9(x,t,b,c,d){6 c*8.n(t/d*(8.g/2))+b},12:9(x,t,b,c,d){6-c/2*(8.C(8.g*t/d)-1)+b},Z:9(x,t,b,c,d){6(t==0)?b:c*8.j(2,10*(t/d-1))+b},Y:9(x,t,b,c,d){6(t==d)?b+c:c*(-8.j(2,-10*t/d)+1)+b},W:9(x,t,b,c,d){e(t==0)6 b;e(t==d)6 b+c;e((t/=d/2)<1)6 c/2*8.j(2,10*(t-1))+b;6 c/2*(-8.j(2,-10*--t)+2)+b},V:9(x,t,b,c,d){6-c*(8.o(1-(t/=d)*t)-1)+b},S:9(x,t,b,c,d){6 c*8.o(1-(t=t/d-1)*t)+b},Q:9(x,t,b,c,d){e((t/=d/2)<1)6-c/2*(8.o(1-t*t)-1)+b;6 c/2*(8.o(1-(t-=2)*t)+1)+b},P:9(x,t,b,c,d){f s=1.l;f p=0;f a=c;e(t==0)6 b;e((t/=d)==1)6 b+c;e(!p)p=d*.3;e(a<8.w(c)){a=c;f s=p/4}m f s=p/(2*8.g)*8.r(c/a);6-(a*8.j(2,10*(t-=1))*8.n((t*d-s)*(2*8.g)/p))+b},H:9(x,t,b,c,d){f s=1.l;f p=0;f a=c;e(t==0)6 b;e((t/=d)==1)6 b+c;e(!p)p=d*.3;e(a<8.w(c)){a=c;f s=p/4}m f s=p/(2*8.g)*8.r(c/a);6 a*8.j(2,-10*t)*8.n((t*d-s)*(2*8.g)/p)+c+b},T:9(x,t,b,c,d){f s=1.l;f p=0;f a=c;e(t==0)6 b;e((t/=d/2)==2)6 b+c;e(!p)p=d*(.3*1.5);e(a<8.w(c)){a=c;f s=p/4}m f s=p/(2*8.g)*8.r(c/a);e(t<1)6-.5*(a*8.j(2,10*(t-=1))*8.n((t*d-s)*(2*8.g)/p))+b;6 a*8.j(2,-10*(t-=1))*8.n((t*d-s)*(2*8.g)/p)*.5+c+b},F:9(x,t,b,c,d,s){e(s==u)s=1.l;6 c*(t/=d)*t*((s+1)*t-s)+b},E:9(x,t,b,c,d,s){e(s==u)s=1.l;6 c*((t=t/d-1)*t*((s+1)*t+s)+1)+b},16:9(x,t,b,c,d,s){e(s==u)s=1.l;e((t/=d/2)<1)6 c/2*(t*t*(((s*=(1.B))+1)*t-s))+b;6 c/2*((t-=2)*t*(((s*=(1.B))+1)*t+s)+2)+b},A:9(x,t,b,c,d){6 c-h.i.v(x,d-t,0,c,d)+b},v:9(x,t,b,c,d){e((t/=d)<(1/2.k)){6 c*(7.q*t*t)+b}m e(t<(2/2.k)){6 c*(7.q*(t-=(1.5/2.k))*t+.k)+b}m e(t<(2.5/2.k)){6 c*(7.q*(t-=(2.14/2.k))*t+.11)+b}m{6 c*(7.q*(t-=(2.18/2.k))*t+.19)+b}},1b:9(x,t,b,c,d){e(t122||(d<65||j>90||b.push([Math.max(65,j)|32,Math.min(d,90)|32]),d<97||j>122||b.push([Math.max(97,j)&-33,Math.min(d,122)&-33]))}}b.sort(function(a,f){return a[0]-f[0]||f[1]-a[1]});f=[];j=[NaN,NaN];for(c=0;ci[0]&&(i[1]+1>i[0]&&b.push("-"),b.push(e(i[1])));b.push("]");return b.join("")}function y(a){for(var f=a.source.match(/\[(?:[^\\\]]|\\[\S\s])*]|\\u[\dA-Fa-f]{4}|\\x[\dA-Fa-f]{2}|\\\d+|\\[^\dux]|\(\?[!:=]|[()^]|[^()[\\^]+/g),b=f.length,d=[],c=0,i=0;c=2&&a==="["?f[c]=h(j):a!=="\\"&&(f[c]=j.replace(/[A-Za-z]/g,function(a){a=a.charCodeAt(0);return"["+String.fromCharCode(a&-33,a|32)+"]"}));return f.join("")}for(var t=0,s=!1,l=!1,p=0,d=a.length;p=5&&"lang-"===b.substring(0,5))&&!(o&&typeof o[1]==="string"))c=!1,b="src";c||(r[f]=b)}i=d;d+=f.length;if(c){c=o[1];var j=f.indexOf(c),k=j+c.length;o[2]&&(k=f.length-o[2].length,j=k-c.length);b=b.substring(5);B(l+i,f.substring(0,j),e,p);B(l+i+j,c,C(b,c),p);B(l+i+k,f.substring(k),e,p)}else p.push(l+i,b)}a.e=p}var h={},y;(function(){for(var e=a.concat(m), 9 | l=[],p={},d=0,g=e.length;d=0;)h[n.charAt(k)]=r;r=r[1];n=""+r;p.hasOwnProperty(n)||(l.push(r),p[n]=q)}l.push(/[\S\s]/);y=L(l)})();var t=m.length;return e}function u(a){var m=[],e=[];a.tripleQuotedStrings?m.push(["str",/^(?:'''(?:[^'\\]|\\[\S\s]|''?(?=[^']))*(?:'''|$)|"""(?:[^"\\]|\\[\S\s]|""?(?=[^"]))*(?:"""|$)|'(?:[^'\\]|\\[\S\s])*(?:'|$)|"(?:[^"\\]|\\[\S\s])*(?:"|$))/,q,"'\""]):a.multiLineStrings?m.push(["str",/^(?:'(?:[^'\\]|\\[\S\s])*(?:'|$)|"(?:[^"\\]|\\[\S\s])*(?:"|$)|`(?:[^\\`]|\\[\S\s])*(?:`|$))/, 10 | q,"'\"`"]):m.push(["str",/^(?:'(?:[^\n\r'\\]|\\.)*(?:'|$)|"(?:[^\n\r"\\]|\\.)*(?:"|$))/,q,"\"'"]);a.verbatimStrings&&e.push(["str",/^@"(?:[^"]|"")*(?:"|$)/,q]);var h=a.hashComments;h&&(a.cStyleComments?(h>1?m.push(["com",/^#(?:##(?:[^#]|#(?!##))*(?:###|$)|.*)/,q,"#"]):m.push(["com",/^#(?:(?:define|elif|else|endif|error|ifdef|include|ifndef|line|pragma|undef|warning)\b|[^\n\r]*)/,q,"#"]),e.push(["str",/^<(?:(?:(?:\.\.\/)*|\/?)(?:[\w-]+(?:\/[\w-]+)+)?[\w-]+\.h|[a-z]\w*)>/,q])):m.push(["com",/^#[^\n\r]*/, 11 | q,"#"]));a.cStyleComments&&(e.push(["com",/^\/\/[^\n\r]*/,q]),e.push(["com",/^\/\*[\S\s]*?(?:\*\/|$)/,q]));a.regexLiterals&&e.push(["lang-regex",/^(?:^^\.?|[!+-]|!=|!==|#|%|%=|&|&&|&&=|&=|\(|\*|\*=|\+=|,|-=|->|\/|\/=|:|::|;|<|<<|<<=|<=|=|==|===|>|>=|>>|>>=|>>>|>>>=|[?@[^]|\^=|\^\^|\^\^=|{|\||\|=|\|\||\|\|=|~|break|case|continue|delete|do|else|finally|instanceof|return|throw|try|typeof)\s*(\/(?=[^*/])(?:[^/[\\]|\\[\S\s]|\[(?:[^\\\]]|\\[\S\s])*(?:]|$))+\/)/]);(h=a.types)&&e.push(["typ",h]);a=(""+a.keywords).replace(/^ | $/g, 12 | "");a.length&&e.push(["kwd",RegExp("^(?:"+a.replace(/[\s,]+/g,"|")+")\\b"),q]);m.push(["pln",/^\s+/,q," \r\n\t\xa0"]);e.push(["lit",/^@[$_a-z][\w$@]*/i,q],["typ",/^(?:[@_]?[A-Z]+[a-z][\w$@]*|\w+_t\b)/,q],["pln",/^[$_a-z][\w$@]*/i,q],["lit",/^(?:0x[\da-f]+|(?:\d(?:_\d+)*\d*(?:\.\d*)?|\.\d\+)(?:e[+-]?\d+)?)[a-z]*/i,q,"0123456789"],["pln",/^\\[\S\s]?/,q],["pun",/^.[^\s\w"-$'./@\\`]*/,q]);return x(m,e)}function D(a,m){function e(a){switch(a.nodeType){case 1:if(k.test(a.className))break;if("BR"===a.nodeName)h(a), 13 | a.parentNode&&a.parentNode.removeChild(a);else for(a=a.firstChild;a;a=a.nextSibling)e(a);break;case 3:case 4:if(p){var b=a.nodeValue,d=b.match(t);if(d){var c=b.substring(0,d.index);a.nodeValue=c;(b=b.substring(d.index+d[0].length))&&a.parentNode.insertBefore(s.createTextNode(b),a.nextSibling);h(a);c||a.parentNode.removeChild(a)}}}}function h(a){function b(a,d){var e=d?a.cloneNode(!1):a,f=a.parentNode;if(f){var f=b(f,1),g=a.nextSibling;f.appendChild(e);for(var h=g;h;h=g)g=h.nextSibling,f.appendChild(h)}return e} 14 | for(;!a.nextSibling;)if(a=a.parentNode,!a)return;for(var a=b(a.nextSibling,0),e;(e=a.parentNode)&&e.nodeType===1;)a=e;d.push(a)}var k=/(?:^|\s)nocode(?:\s|$)/,t=/\r\n?|\n/,s=a.ownerDocument,l;a.currentStyle?l=a.currentStyle.whiteSpace:window.getComputedStyle&&(l=s.defaultView.getComputedStyle(a,q).getPropertyValue("white-space"));var p=l&&"pre"===l.substring(0,3);for(l=s.createElement("LI");a.firstChild;)l.appendChild(a.firstChild);for(var d=[l],g=0;g=0;){var h=m[e];A.hasOwnProperty(h)?window.console&&console.warn("cannot override language handler %s",h):A[h]=a}}function C(a,m){if(!a||!A.hasOwnProperty(a))a=/^\s*=o&&(h+=2);e>=c&&(a+=2)}}catch(w){"console"in window&&console.log(w&&w.stack?w.stack:w)}}var v=["break,continue,do,else,for,if,return,while"],w=[[v,"auto,case,char,const,default,double,enum,extern,float,goto,int,long,register,short,signed,sizeof,static,struct,switch,typedef,union,unsigned,void,volatile"], 18 | "catch,class,delete,false,import,new,operator,private,protected,public,this,throw,true,try,typeof"],F=[w,"alignof,align_union,asm,axiom,bool,concept,concept_map,const_cast,constexpr,decltype,dynamic_cast,explicit,export,friend,inline,late_check,mutable,namespace,nullptr,reinterpret_cast,static_assert,static_cast,template,typeid,typename,using,virtual,where"],G=[w,"abstract,boolean,byte,extends,final,finally,implements,import,instanceof,null,native,package,strictfp,super,synchronized,throws,transient"], 19 | H=[G,"as,base,by,checked,decimal,delegate,descending,dynamic,event,fixed,foreach,from,group,implicit,in,interface,internal,into,is,lock,object,out,override,orderby,params,partial,readonly,ref,sbyte,sealed,stackalloc,string,select,uint,ulong,unchecked,unsafe,ushort,var"],w=[w,"debugger,eval,export,function,get,null,set,undefined,var,with,Infinity,NaN"],I=[v,"and,as,assert,class,def,del,elif,except,exec,finally,from,global,import,in,is,lambda,nonlocal,not,or,pass,print,raise,try,with,yield,False,True,None"], 20 | J=[v,"alias,and,begin,case,class,def,defined,elsif,end,ensure,false,in,module,next,nil,not,or,redo,rescue,retry,self,super,then,true,undef,unless,until,when,yield,BEGIN,END"],v=[v,"case,done,elif,esac,eval,fi,function,in,local,set,then,until"],K=/^(DIR|FILE|vector|(de|priority_)?queue|list|stack|(const_)?iterator|(multi)?(set|map)|bitset|u?(int|float)\d*)/,N=/\S/,O=u({keywords:[F,H,w,"caller,delete,die,do,dump,elsif,eval,exit,foreach,for,goto,if,import,last,local,my,next,no,our,print,package,redo,require,sub,undef,unless,until,use,wantarray,while,BEGIN,END"+ 21 | I,J,v],hashComments:!0,cStyleComments:!0,multiLineStrings:!0,regexLiterals:!0}),A={};k(O,["default-code"]);k(x([],[["pln",/^[^]*(?:>|$)/],["com",/^<\!--[\S\s]*?(?:--\>|$)/],["lang-",/^<\?([\S\s]+?)(?:\?>|$)/],["lang-",/^<%([\S\s]+?)(?:%>|$)/],["pun",/^(?:<[%?]|[%?]>)/],["lang-",/^]*>([\S\s]+?)<\/xmp\b[^>]*>/i],["lang-js",/^]*>([\S\s]*?)(<\/script\b[^>]*>)/i],["lang-css",/^]*>([\S\s]*?)(<\/style\b[^>]*>)/i],["lang-in.tag",/^(<\/?[a-z][^<>]*>)/i]]), 22 | ["default-markup","htm","html","mxml","xhtml","xml","xsl"]);k(x([["pln",/^\s+/,q," \t\r\n"],["atv",/^(?:"[^"]*"?|'[^']*'?)/,q,"\"'"]],[["tag",/^^<\/?[a-z](?:[\w-.:]*\w)?|\/?>$/i],["atn",/^(?!style[\s=]|on)[a-z](?:[\w:-]*\w)?/i],["lang-uq.val",/^=\s*([^\s"'>]*(?:[^\s"'/>]|\/(?=\s)))/],["pun",/^[/<->]+/],["lang-js",/^on\w+\s*=\s*"([^"]+)"/i],["lang-js",/^on\w+\s*=\s*'([^']+)'/i],["lang-js",/^on\w+\s*=\s*([^\s"'>]+)/i],["lang-css",/^style\s*=\s*"([^"]+)"/i],["lang-css",/^style\s*=\s*'([^']+)'/i],["lang-css", 23 | /^style\s*=\s*([^\s"'>]+)/i]]),["in.tag"]);k(x([],[["atv",/^[\S\s]+/]]),["uq.val"]);k(u({keywords:F,hashComments:!0,cStyleComments:!0,types:K}),["c","cc","cpp","cxx","cyc","m"]);k(u({keywords:"null,true,false"}),["json"]);k(u({keywords:H,hashComments:!0,cStyleComments:!0,verbatimStrings:!0,types:K}),["cs"]);k(u({keywords:G,cStyleComments:!0}),["java"]);k(u({keywords:v,hashComments:!0,multiLineStrings:!0}),["bsh","csh","sh"]);k(u({keywords:I,hashComments:!0,multiLineStrings:!0,tripleQuotedStrings:!0}), 24 | ["cv","py"]);k(u({keywords:"caller,delete,die,do,dump,elsif,eval,exit,foreach,for,goto,if,import,last,local,my,next,no,our,print,package,redo,require,sub,undef,unless,until,use,wantarray,while,BEGIN,END",hashComments:!0,multiLineStrings:!0,regexLiterals:!0}),["perl","pl","pm"]);k(u({keywords:J,hashComments:!0,multiLineStrings:!0,regexLiterals:!0}),["rb"]);k(u({keywords:w,cStyleComments:!0,regexLiterals:!0}),["js"]);k(u({keywords:"all,and,by,catch,class,else,extends,false,finally,for,if,in,is,isnt,loop,new,no,not,null,of,off,on,or,return,super,then,true,try,unless,until,when,while,yes", 25 | hashComments:3,cStyleComments:!0,multilineStrings:!0,tripleQuotedStrings:!0,regexLiterals:!0}),["coffee"]);k(x([],[["str",/^[\S\s]+/]]),["regex"]);window.prettyPrintOne=function(a,m,e){var h=document.createElement("PRE");h.innerHTML=a;e&&D(h,e);E({g:m,i:e,h:h});return h.innerHTML};window.prettyPrint=function(a){function m(){for(var e=window.PR_SHOULD_USE_CONTINUATION?l.now()+250:Infinity;p=0){var k=k.match(g),f,b;if(b= 26 | !k){b=n;for(var o=void 0,c=b.firstChild;c;c=c.nextSibling)var i=c.nodeType,o=i===1?o?b:c:i===3?N.test(c.nodeValue)?b:o:o;b=(f=o===b?void 0:o)&&"CODE"===f.tagName}b&&(k=f.className.match(g));k&&(k=k[1]);b=!1;for(o=n.parentNode;o;o=o.parentNode)if((o.tagName==="pre"||o.tagName==="code"||o.tagName==="xmp")&&o.className&&o.className.indexOf("prettyprint")>=0){b=!0;break}b||((b=(b=n.className.match(/\blinenums\b(?::(\d+))?/))?b[1]&&b[1].length?+b[1]:!0:!1)&&D(n,b),d={g:k,h:n,i:b},E(d))}}p $task, 93 | "status" => "open", 94 | "duedate" => $duedate, 95 | "dateadded" => $dateadded, 96 | "priority" => $priority 97 | ); 98 | 99 | //RW 100 | $current = file_get_contents($file); 101 | $current = json_decode($current, TRUE); 102 | 103 | if (is_array($current)) { 104 | $current = array_merge_recursive($json_add, $current); 105 | } else { 106 | $current = $json_add; 107 | } 108 | 109 | $current = json_encode($current); 110 | if (file_put_contents($file, $current, LOCK_EX)) { 111 | echo $LANG["taskadded"]; 112 | } else { 113 | echo $LANG["etasknotadded"]; 114 | } 115 | } else { 116 | $isparamsok = false; 117 | } 118 | break; 119 | case 'update': 120 | if (!empty($_GET['id']) && !empty($_GET['task']) && !empty($_GET['prio'])) { 121 | #update task 122 | $taskid = htmlspecialchars($_GET['id']); 123 | $senttask = htmlspecialchars($_GET['task']); 124 | $duedate = htmlspecialchars($_GET['duedate']); 125 | $priority = htmlspecialchars($_GET['prio']); 126 | 127 | //If the due date is empty we replace it with a dash. 128 | if (empty($duedate) || !preg_match('/([0-9]{2}-[0-9]{2}-[0-9]{4})/', $duedate)) { 129 | $duedate = "-"; 130 | } 131 | 132 | //Validating priority. Only 4 possibilities. 133 | if ($priority != "1" && $priority != "2" && $priority != "3" && $priority != "4") { 134 | $priority = 2; 135 | } 136 | 137 | foreach ($json_a as $item => $task) { 138 | if ($item == $taskid) { 139 | $found = 1; 140 | $current = file_get_contents($file); 141 | $current = json_decode($current, TRUE); 142 | $json_update["tasks"]["$item"] = array( 143 | "task" => $senttask, 144 | "status" => "open", 145 | "duedate" => $duedate, 146 | "priority" => $priority 147 | ); 148 | $replaced = array_replace_recursive($current, $json_update); 149 | $replaced = json_encode($replaced); 150 | if (file_put_contents($file, $replaced, LOCK_EX)) { 151 | echo $LANG["taskupdated"]; 152 | } else { 153 | echo $LANG["eupdatetask"]; 154 | } 155 | } 156 | } 157 | if ($found == 0) { 158 | echo $LANG["etasknotfound"]; 159 | } 160 | } else { 161 | $isparamsok = false; 162 | } 163 | break; 164 | case 'delete': 165 | if (!empty($_GET['id'])) { 166 | $taskid = htmlspecialchars($_GET['id']); 167 | foreach ($json_a as $item => $task) { 168 | if ($item == $taskid) { 169 | $found = 1; 170 | $current = file_get_contents($file); 171 | $current = json_decode($current, TRUE); 172 | $json_delete["tasks"][$taskid]["status"] = "deleted"; 173 | $done = array_replace_recursive($current, $json_delete); 174 | $done = json_encode($done); 175 | if (file_put_contents($file, $done, LOCK_EX)) { 176 | echo $LANG["taskdeleted"]; 177 | } else { 178 | echo $LANG["etasknotdeleted"]; 179 | } 180 | } 181 | } 182 | if ($found == 0) { 183 | echo $LANG["etasknotdeleted"]; 184 | } 185 | } else { 186 | $isparamsok = false; 187 | } 188 | break; 189 | case 'kill': 190 | if (!empty($_GET['id'])) { 191 | $taskid = htmlspecialchars($_GET['id']); 192 | foreach ($json_a as $item => $task) { 193 | if ($item == $taskid) { 194 | $found = 1; 195 | $current = file_get_contents($file); 196 | $current = json_decode($current, TRUE); 197 | unset($current["tasks"][$taskid]); 198 | $done = json_encode($current); 199 | if (file_put_contents($file, $done, LOCK_EX)) { 200 | echo $LANG["taskkilled"]; 201 | } else { 202 | echo $LANG["etasknotkilled"]; 203 | } 204 | } 205 | } 206 | if ($found == 0) { 207 | echo $LANG["etasknotfound"]; 208 | } 209 | } else { 210 | $isparamsok = false; 211 | } 212 | break; 213 | case 'restore': 214 | if (!empty($_GET['id'])) { 215 | $taskid = htmlspecialchars($_GET['id']); 216 | foreach ($json_a as $item => $task) { 217 | if ($item == $taskid) { 218 | $found = 1; 219 | $current = file_get_contents($file); 220 | $current = json_decode($current, TRUE); 221 | $json_delete["tasks"][$taskid]["status"] = "open"; 222 | $done = array_replace_recursive($current, $json_delete); 223 | $done = json_encode($done); 224 | if (file_put_contents($file, $done, LOCK_EX)) { 225 | echo $LANG["taskrestored"]; 226 | } else { 227 | echo $LANG["etasknotrestored"]; 228 | } 229 | } 230 | } 231 | if ($found == 0) { 232 | echo $LANG["etasknotfound"]; 233 | } 234 | } else { 235 | $isparamsok = false; 236 | } 237 | break; 238 | case 'done': 239 | if (!empty($_GET['id'])) { 240 | $taskid = htmlspecialchars($_GET['id']); 241 | foreach ($json_a as $item => $task) { 242 | if ($item == $taskid) { 243 | $found = 1; 244 | $current = file_get_contents($file); 245 | $current = json_decode($current, TRUE); 246 | $json_done["tasks"][$taskid]["status"] = "closed"; 247 | $json_done["tasks"][$taskid]["donedate"] = $dateformat; 248 | $done = array_replace_recursive($current, $json_done); 249 | $done = json_encode($done); 250 | if (file_put_contents($file, $done, LOCK_EX)) { 251 | echo $LANG["taskdone"]; 252 | } else { 253 | echo $LANG["etasknotdone"]; 254 | } 255 | } 256 | } 257 | if ($found == 0) { 258 | echo $LANG["etasknotfound"]; 259 | } 260 | } else { 261 | $isparamsok = false; 262 | } 263 | break; 264 | case 'lang': 265 | if (!empty($_GET['lang'])) { 266 | if (changelang($_GET['lang'])) { 267 | echo $LANG["langdone"]; 268 | } else { 269 | echo $LANG["langfailed"]; 270 | } 271 | } else { 272 | $isparamsok = false; 273 | } 274 | break; 275 | case 'logout': 276 | logout(); 277 | echo $LANG["logoutok"]; 278 | break; 279 | default: 280 | echo $LANG["noactiongiven"]; 281 | break; 282 | } 283 | if (!$isparamsok) { 284 | echo $LANG["wrongparams"]; 285 | } 286 | } 287 | } 288 | 289 | //Redirect 290 | if ($_GET['action'] != 'edit' && !$ajax) { 291 | echo $LANG["redirected"]; 292 | redirect(); 293 | } 294 | 295 | if(!$ajax){ 296 | require_once("web/footer.php"); 297 | } 298 | ?> -------------------------------------------------------------------------------- /web/css/img/fancybox/jquery.fancybox-1.3.4.pack.js: -------------------------------------------------------------------------------- 1 | /* 2 | * FancyBox - jQuery Plugin 3 | * Simple and fancy lightbox alternative 4 | * 5 | * Examples and documentation at: http://fancybox.net 6 | * 7 | * Copyright (c) 2008 - 2010 Janis Skarnelis 8 | * That said, it is hardly a one-person project. Many people have submitted bugs, code, and offered their advice freely. Their support is greatly appreciated. 9 | * 10 | * Version: 1.3.4 (11/11/2010) 11 | * Requires: jQuery v1.3+ 12 | * 13 | * Dual licensed under the MIT and GPL licenses: 14 | * http://www.opensource.org/licenses/mit-license.php 15 | * http://www.gnu.org/licenses/gpl.html 16 | */ 17 | 18 | ;(function(b){var m,t,u,f,D,j,E,n,z,A,q=0,e={},o=[],p=0,d={},l=[],G=null,v=new Image,J=/\.(jpg|gif|png|bmp|jpeg)(.*)?$/i,W=/[^\.]\.(swf)\s*$/i,K,L=1,y=0,s="",r,i,h=false,B=b.extend(b("
")[0],{prop:0}),M=b.browser.msie&&b.browser.version<7&&!window.XMLHttpRequest,N=function(){t.hide();v.onerror=v.onload=null;G&&G.abort();m.empty()},O=function(){if(false===e.onError(o,q,e)){t.hide();h=false}else{e.titleShow=false;e.width="auto";e.height="auto";m.html('

The requested content cannot be loaded.
Please try again later.

'); 19 | F()}},I=function(){var a=o[q],c,g,k,C,P,w;N();e=b.extend({},b.fn.fancybox.defaults,typeof b(a).data("fancybox")=="undefined"?e:b(a).data("fancybox"));w=e.onStart(o,q,e);if(w===false)h=false;else{if(typeof w=="object")e=b.extend(e,w);k=e.title||(a.nodeName?b(a).attr("title"):a.title)||"";if(a.nodeName&&!e.orig)e.orig=b(a).children("img:first").length?b(a).children("img:first"):b(a);if(k===""&&e.orig&&e.titleFromAlt)k=e.orig.attr("alt");c=e.href||(a.nodeName?b(a).attr("href"):a.href)||null;if(/^(?:javascript)/i.test(c)|| 20 | c=="#")c=null;if(e.type){g=e.type;if(!c)c=e.content}else if(e.content)g="html";else if(c)g=c.match(J)?"image":c.match(W)?"swf":b(a).hasClass("iframe")?"iframe":c.indexOf("#")===0?"inline":"ajax";if(g){if(g=="inline"){a=c.substr(c.indexOf("#"));g=b(a).length>0?"inline":"ajax"}e.type=g;e.href=c;e.title=k;if(e.autoDimensions)if(e.type=="html"||e.type=="inline"||e.type=="ajax"){e.width="auto";e.height="auto"}else e.autoDimensions=false;if(e.modal){e.overlayShow=true;e.hideOnOverlayClick=false;e.hideOnContentClick= 21 | false;e.enableEscapeButton=false;e.showCloseButton=false}e.padding=parseInt(e.padding,10);e.margin=parseInt(e.margin,10);m.css("padding",e.padding+e.margin);b(".fancybox-inline-tmp").unbind("fancybox-cancel").bind("fancybox-change",function(){b(this).replaceWith(j.children())});switch(g){case "html":m.html(e.content);F();break;case "inline":if(b(a).parent().is("#fancybox-content")===true){h=false;break}b('
').hide().insertBefore(b(a)).bind("fancybox-cleanup",function(){b(this).replaceWith(j.children())}).bind("fancybox-cancel", 22 | function(){b(this).replaceWith(m.children())});b(a).appendTo(m);F();break;case "image":h=false;b.fancybox.showActivity();v=new Image;v.onerror=function(){O()};v.onload=function(){h=true;v.onerror=v.onload=null;e.width=v.width;e.height=v.height;b("").attr({id:"fancybox-img",src:v.src,alt:e.title}).appendTo(m);Q()};v.src=c;break;case "swf":e.scrolling="no";C='';P="";b.each(e.swf,function(x,H){C+='';P+=" "+x+'="'+H+'"'});C+='";m.html(C);F();break;case "ajax":h=false;b.fancybox.showActivity();e.ajax.win=e.ajax.success;G=b.ajax(b.extend({},e.ajax,{url:c,data:e.ajax.data||{},error:function(x){x.status>0&&O()},success:function(x,H,R){if((typeof R=="object"?R:G).status==200){if(typeof e.ajax.win== 24 | "function"){w=e.ajax.win(c,x,H,R);if(w===false){t.hide();return}else if(typeof w=="string"||typeof w=="object")x=w}m.html(x);F()}}}));break;case "iframe":Q()}}else O()}},F=function(){var a=e.width,c=e.height;a=a.toString().indexOf("%")>-1?parseInt((b(window).width()-e.margin*2)*parseFloat(a)/100,10)+"px":a=="auto"?"auto":a+"px";c=c.toString().indexOf("%")>-1?parseInt((b(window).height()-e.margin*2)*parseFloat(c)/100,10)+"px":c=="auto"?"auto":c+"px";m.wrapInner('
');e.width=m.width();e.height=m.height();Q()},Q=function(){var a,c;t.hide();if(f.is(":visible")&&false===d.onCleanup(l,p,d)){b.event.trigger("fancybox-cancel");h=false}else{h=true;b(j.add(u)).unbind();b(window).unbind("resize.fb scroll.fb");b(document).unbind("keydown.fb");f.is(":visible")&&d.titlePosition!=="outside"&&f.css("height",f.height());l=o;p=q;d=e;if(d.overlayShow){u.css({"background-color":d.overlayColor, 26 | opacity:d.overlayOpacity,cursor:d.hideOnOverlayClick?"pointer":"auto",height:b(document).height()});if(!u.is(":visible")){M&&b("select:not(#fancybox-tmp select)").filter(function(){return this.style.visibility!=="hidden"}).css({visibility:"hidden"}).one("fancybox-cleanup",function(){this.style.visibility="inherit"});u.show()}}else u.hide();i=X();s=d.title||"";y=0;n.empty().removeAttr("style").removeClass();if(d.titleShow!==false){if(b.isFunction(d.titleFormat))a=d.titleFormat(s,l,p,d);else a=s&&s.length? 27 | d.titlePosition=="float"?'
'+s+'
':'
'+s+"
":false;s=a;if(!(!s||s==="")){n.addClass("fancybox-title-"+d.titlePosition).html(s).appendTo("body").show();switch(d.titlePosition){case "inside":n.css({width:i.width-d.padding*2,marginLeft:d.padding,marginRight:d.padding}); 28 | y=n.outerHeight(true);n.appendTo(D);i.height+=y;break;case "over":n.css({marginLeft:d.padding,width:i.width-d.padding*2,bottom:d.padding}).appendTo(D);break;case "float":n.css("left",parseInt((n.width()-i.width-40)/2,10)*-1).appendTo(f);break;default:n.css({width:i.width-d.padding*2,paddingLeft:d.padding,paddingRight:d.padding}).appendTo(f)}}}n.hide();if(f.is(":visible")){b(E.add(z).add(A)).hide();a=f.position();r={top:a.top,left:a.left,width:f.width(),height:f.height()};c=r.width==i.width&&r.height== 29 | i.height;j.fadeTo(d.changeFade,0.3,function(){var g=function(){j.html(m.contents()).fadeTo(d.changeFade,1,S)};b.event.trigger("fancybox-change");j.empty().removeAttr("filter").css({"border-width":d.padding,width:i.width-d.padding*2,height:e.autoDimensions?"auto":i.height-y-d.padding*2});if(c)g();else{B.prop=0;b(B).animate({prop:1},{duration:d.changeSpeed,easing:d.easingChange,step:T,complete:g})}})}else{f.removeAttr("style");j.css("border-width",d.padding);if(d.transitionIn=="elastic"){r=V();j.html(m.contents()); 30 | f.show();if(d.opacity)i.opacity=0;B.prop=0;b(B).animate({prop:1},{duration:d.speedIn,easing:d.easingIn,step:T,complete:S})}else{d.titlePosition=="inside"&&y>0&&n.show();j.css({width:i.width-d.padding*2,height:e.autoDimensions?"auto":i.height-y-d.padding*2}).html(m.contents());f.css(i).fadeIn(d.transitionIn=="none"?0:d.speedIn,S)}}}},Y=function(){if(d.enableEscapeButton||d.enableKeyboardNav)b(document).bind("keydown.fb",function(a){if(a.keyCode==27&&d.enableEscapeButton){a.preventDefault();b.fancybox.close()}else if((a.keyCode== 31 | 37||a.keyCode==39)&&d.enableKeyboardNav&&a.target.tagName!=="INPUT"&&a.target.tagName!=="TEXTAREA"&&a.target.tagName!=="SELECT"){a.preventDefault();b.fancybox[a.keyCode==37?"prev":"next"]()}});if(d.showNavArrows){if(d.cyclic&&l.length>1||p!==0)z.show();if(d.cyclic&&l.length>1||p!=l.length-1)A.show()}else{z.hide();A.hide()}},S=function(){if(!b.support.opacity){j.get(0).style.removeAttribute("filter");f.get(0).style.removeAttribute("filter")}e.autoDimensions&&j.css("height","auto");f.css("height","auto"); 32 | s&&s.length&&n.show();d.showCloseButton&&E.show();Y();d.hideOnContentClick&&j.bind("click",b.fancybox.close);d.hideOnOverlayClick&&u.bind("click",b.fancybox.close);b(window).bind("resize.fb",b.fancybox.resize);d.centerOnScroll&&b(window).bind("scroll.fb",b.fancybox.center);if(d.type=="iframe")b('').appendTo(j); 33 | f.show();h=false;b.fancybox.center();d.onComplete(l,p,d);var a,c;if(l.length-1>p){a=l[p+1].href;if(typeof a!=="undefined"&&a.match(J)){c=new Image;c.src=a}}if(p>0){a=l[p-1].href;if(typeof a!=="undefined"&&a.match(J)){c=new Image;c.src=a}}},T=function(a){var c={width:parseInt(r.width+(i.width-r.width)*a,10),height:parseInt(r.height+(i.height-r.height)*a,10),top:parseInt(r.top+(i.top-r.top)*a,10),left:parseInt(r.left+(i.left-r.left)*a,10)};if(typeof i.opacity!=="undefined")c.opacity=a<0.5?0.5:a;f.css(c); 34 | j.css({width:c.width-d.padding*2,height:c.height-y*a-d.padding*2})},U=function(){return[b(window).width()-d.margin*2,b(window).height()-d.margin*2,b(document).scrollLeft()+d.margin,b(document).scrollTop()+d.margin]},X=function(){var a=U(),c={},g=d.autoScale,k=d.padding*2;c.width=d.width.toString().indexOf("%")>-1?parseInt(a[0]*parseFloat(d.width)/100,10):d.width+k;c.height=d.height.toString().indexOf("%")>-1?parseInt(a[1]*parseFloat(d.height)/100,10):d.height+k;if(g&&(c.width>a[0]||c.height>a[1]))if(e.type== 35 | "image"||e.type=="swf"){g=d.width/d.height;if(c.width>a[0]){c.width=a[0];c.height=parseInt((c.width-k)/g+k,10)}if(c.height>a[1]){c.height=a[1];c.width=parseInt((c.height-k)*g+k,10)}}else{c.width=Math.min(c.width,a[0]);c.height=Math.min(c.height,a[1])}c.top=parseInt(Math.max(a[3]-20,a[3]+(a[1]-c.height-40)*0.5),10);c.left=parseInt(Math.max(a[2]-20,a[2]+(a[0]-c.width-40)*0.5),10);return c},V=function(){var a=e.orig?b(e.orig):false,c={};if(a&&a.length){c=a.offset();c.top+=parseInt(a.css("paddingTop"), 36 | 10)||0;c.left+=parseInt(a.css("paddingLeft"),10)||0;c.top+=parseInt(a.css("border-top-width"),10)||0;c.left+=parseInt(a.css("border-left-width"),10)||0;c.width=a.width();c.height=a.height();c={width:c.width+d.padding*2,height:c.height+d.padding*2,top:c.top-d.padding-20,left:c.left-d.padding-20}}else{a=U();c={width:d.padding*2,height:d.padding*2,top:parseInt(a[3]+a[1]*0.5,10),left:parseInt(a[2]+a[0]*0.5,10)}}return c},Z=function(){if(t.is(":visible")){b("div",t).css("top",L*-40+"px");L=(L+1)%12}else clearInterval(K)}; 37 | b.fn.fancybox=function(a){if(!b(this).length)return this;b(this).data("fancybox",b.extend({},a,b.metadata?b(this).metadata():{})).unbind("click.fb").bind("click.fb",function(c){c.preventDefault();if(!h){h=true;b(this).blur();o=[];q=0;c=b(this).attr("rel")||"";if(!c||c==""||c==="nofollow")o.push(this);else{o=b("a[rel="+c+"], area[rel="+c+"]");q=o.index(this)}I()}});return this};b.fancybox=function(a,c){var g;if(!h){h=true;g=typeof c!=="undefined"?c:{};o=[];q=parseInt(g.index,10)||0;if(b.isArray(a)){for(var k= 38 | 0,C=a.length;ko.length||q<0)q=0;I()}};b.fancybox.showActivity=function(){clearInterval(K);t.show();K=setInterval(Z,66)};b.fancybox.hideActivity=function(){t.hide()};b.fancybox.next=function(){return b.fancybox.pos(p+ 39 | 1)};b.fancybox.prev=function(){return b.fancybox.pos(p-1)};b.fancybox.pos=function(a){if(!h){a=parseInt(a);o=l;if(a>-1&&a1){q=a>=l.length?0:l.length-1;I()}}};b.fancybox.cancel=function(){if(!h){h=true;b.event.trigger("fancybox-cancel");N();e.onCancel(o,q,e);h=false}};b.fancybox.close=function(){function a(){u.fadeOut("fast");n.empty().hide();f.hide();b.event.trigger("fancybox-cleanup");j.empty();d.onClosed(l,p,d);l=e=[];p=q=0;d=e={};h=false}if(!(h||f.is(":hidden"))){h= 40 | true;if(d&&false===d.onCleanup(l,p,d))h=false;else{N();b(E.add(z).add(A)).hide();b(j.add(u)).unbind();b(window).unbind("resize.fb scroll.fb");b(document).unbind("keydown.fb");j.find("iframe").attr("src",M&&/^https/i.test(window.location.href||"")?"javascript:void(false)":"about:blank");d.titlePosition!=="inside"&&n.empty();f.stop();if(d.transitionOut=="elastic"){r=V();var c=f.position();i={top:c.top,left:c.left,width:f.width(),height:f.height()};if(d.opacity)i.opacity=1;n.empty().hide();B.prop=1; 41 | b(B).animate({prop:0},{duration:d.speedOut,easing:d.easingOut,step:T,complete:a})}else f.fadeOut(d.transitionOut=="none"?0:d.speedOut,a)}}};b.fancybox.resize=function(){u.is(":visible")&&u.css("height",b(document).height());b.fancybox.center(true)};b.fancybox.center=function(a){var c,g;if(!h){g=a===true?1:0;c=U();!g&&(f.width()>c[0]||f.height()>c[1])||f.stop().animate({top:parseInt(Math.max(c[3]-20,c[3]+(c[1]-j.height()-40)*0.5-d.padding)),left:parseInt(Math.max(c[2]-20,c[2]+(c[0]-j.width()-40)*0.5- 42 | d.padding))},typeof a=="number"?a:200)}};b.fancybox.init=function(){if(!b("#fancybox-wrap").length){b("body").append(m=b('
'),t=b('
'),u=b('
'),f=b('
'));D=b('
').append('
').appendTo(f); 43 | D.append(j=b('
'),E=b(''),n=b('
'),z=b(''),A=b(''));E.click(b.fancybox.close);t.click(b.fancybox.cancel);z.click(function(a){a.preventDefault();b.fancybox.prev()});A.click(function(a){a.preventDefault();b.fancybox.next()}); 44 | b.fn.mousewheel&&f.bind("mousewheel.fb",function(a,c){if(h)a.preventDefault();else if(b(a.target).get(0).clientHeight==0||b(a.target).get(0).scrollHeight===b(a.target).get(0).clientHeight){a.preventDefault();b.fancybox[c>0?"prev":"next"]()}});b.support.opacity||f.addClass("fancybox-ie");if(M){t.addClass("fancybox-ie6");f.addClass("fancybox-ie6");b('').prependTo(D)}}}; 45 | b.fn.fancybox.defaults={padding:10,margin:40,opacity:false,modal:false,cyclic:false,scrolling:"auto",width:560,height:340,autoScale:true,autoDimensions:true,centerOnScroll:false,ajax:{},swf:{wmode:"transparent"},hideOnOverlayClick:true,hideOnContentClick:false,overlayShow:true,overlayOpacity:0.7,overlayColor:"#777",titleShow:true,titlePosition:"float",titleFormat:null,titleFromAlt:false,transitionIn:"fade",transitionOut:"fade",speedIn:300,speedOut:300,changeSpeed:300,changeFade:"fast",easingIn:"swing", 46 | easingOut:"swing",showCloseButton:true,showNavArrows:true,enableEscapeButton:true,enableKeyboardNav:true,onStart:function(){},onCancel:function(){},onComplete:function(){},onCleanup:function(){},onClosed:function(){},onError:function(){}};b(document).ready(function(){b.fancybox.init()})})(jQuery); -------------------------------------------------------------------------------- /web/css/chosen.css: -------------------------------------------------------------------------------- 1 | /* @group Base */ 2 | .chzn-container { 3 | font-size: 13px; 4 | position: relative; 5 | display: inline-block; 6 | zoom: 1; 7 | *display: inline; 8 | vertical-align: middle; 9 | } 10 | .chzn-container .chzn-drop { 11 | background: #fff; 12 | border: 1px solid #aaa; 13 | border-top: 0; 14 | position: absolute; 15 | top: 29px; 16 | left: 0; 17 | -webkit-box-shadow: 0 4px 5px rgba(0,0,0,.15); 18 | -moz-box-shadow : 0 4px 5px rgba(0,0,0,.15); 19 | -o-box-shadow : 0 4px 5px rgba(0,0,0,.15); 20 | box-shadow : 0 4px 5px rgba(0,0,0,.15); 21 | z-index: 999; 22 | } 23 | /* @end */ 24 | 25 | /* @group Single Chosen */ 26 | .chzn-container-single .chzn-single { 27 | background-color: #ffffff; 28 | filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#eeeeee', GradientType=0 ); 29 | background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(20%, #ffffff), color-stop(50%, #f6f6f6), color-stop(52%, #eeeeee), color-stop(100%, #f4f4f4)); 30 | background-image: -webkit-linear-gradient(top, #ffffff 20%, #f6f6f6 50%, #eeeeee 52%, #f4f4f4 100%); 31 | background-image: -moz-linear-gradient(top, #ffffff 20%, #f6f6f6 50%, #eeeeee 52%, #f4f4f4 100%); 32 | background-image: -o-linear-gradient(top, #ffffff 20%, #f6f6f6 50%, #eeeeee 52%, #f4f4f4 100%); 33 | background-image: -ms-linear-gradient(top, #ffffff 20%, #f6f6f6 50%, #eeeeee 52%, #f4f4f4 100%); 34 | background-image: linear-gradient(top, #ffffff 20%, #f6f6f6 50%, #eeeeee 52%, #f4f4f4 100%); 35 | -webkit-border-radius: 5px; 36 | -moz-border-radius : 5px; 37 | border-radius : 5px; 38 | -moz-background-clip : padding; 39 | -webkit-background-clip: padding-box; 40 | background-clip : padding-box; 41 | border: 1px solid #aaaaaa; 42 | -webkit-box-shadow: 0 0 3px #ffffff inset, 0 1px 1px rgba(0,0,0,0.1); 43 | -moz-box-shadow : 0 0 3px #ffffff inset, 0 1px 1px rgba(0,0,0,0.1); 44 | box-shadow : 0 0 3px #ffffff inset, 0 1px 1px rgba(0,0,0,0.1); 45 | display: block; 46 | overflow: hidden; 47 | white-space: nowrap; 48 | position: relative; 49 | height: 23px; 50 | line-height: 24px; 51 | padding: 0 0 0 8px; 52 | color: #444444; 53 | text-decoration: none; 54 | } 55 | .chzn-container-single .chzn-single span { 56 | margin-right: 26px; 57 | display: block; 58 | overflow: hidden; 59 | white-space: nowrap; 60 | -o-text-overflow: ellipsis; 61 | -ms-text-overflow: ellipsis; 62 | text-overflow: ellipsis; 63 | } 64 | .chzn-container-single .chzn-single abbr { 65 | display: block; 66 | position: absolute; 67 | right: 26px; 68 | top: 6px; 69 | width: 12px; 70 | height: 13px; 71 | font-size: 1px; 72 | background: url(img/chosen-sprite.png) right top no-repeat; 73 | } 74 | .chzn-container-single .chzn-single abbr:hover { 75 | background-position: right -11px; 76 | } 77 | .chzn-container-single .chzn-single div { 78 | position: absolute; 79 | right: 0; 80 | top: 0; 81 | display: block; 82 | height: 100%; 83 | width: 18px; 84 | } 85 | .chzn-container-single .chzn-single div b { 86 | background: url('img/chosen-sprite.png') no-repeat 0 0; 87 | display: block; 88 | width: 100%; 89 | height: 100%; 90 | } 91 | .chzn-container-single .chzn-search { 92 | padding: 3px 4px; 93 | position: relative; 94 | margin: 0; 95 | white-space: nowrap; 96 | z-index: 1010; 97 | } 98 | .chzn-container-single .chzn-search input { 99 | background: #fff url('img/chosen-sprite.png') no-repeat 100% -22px; 100 | background: url('img/chosen-sprite.png') no-repeat 100% -22px, -webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(1%, #eeeeee), color-stop(15%, #ffffff)); 101 | background: url('img/chosen-sprite.png') no-repeat 100% -22px, -webkit-linear-gradient(top, #eeeeee 1%, #ffffff 15%); 102 | background: url('img/chosen-sprite.png') no-repeat 100% -22px, -moz-linear-gradient(top, #eeeeee 1%, #ffffff 15%); 103 | background: url('img/chosen-sprite.png') no-repeat 100% -22px, -o-linear-gradient(top, #eeeeee 1%, #ffffff 15%); 104 | background: url('img/chosen-sprite.png') no-repeat 100% -22px, -ms-linear-gradient(top, #eeeeee 1%, #ffffff 15%); 105 | background: url('img/chosen-sprite.png') no-repeat 100% -22px, linear-gradient(top, #eeeeee 1%, #ffffff 15%); 106 | margin: 1px 0; 107 | padding: 4px 20px 4px 5px; 108 | outline: 0; 109 | border: 1px solid #aaa; 110 | font-family: sans-serif; 111 | font-size: 1em; 112 | -moz-box-sizing: content-box; 113 | -webkit-box-sizing: content-box; 114 | -ms-box-sizing: content-box; 115 | box-sizing:content-box; 116 | } 117 | .chzn-container-single .chzn-drop { 118 | -webkit-border-radius: 0 0 4px 4px; 119 | -moz-border-radius : 0 0 4px 4px; 120 | border-radius : 0 0 4px 4px; 121 | -moz-background-clip : padding; 122 | -webkit-background-clip: padding-box; 123 | background-clip : padding-box; 124 | } 125 | /* @end */ 126 | 127 | .chzn-container-single-nosearch .chzn-search input { 128 | position: absolute; 129 | left: -9000px; 130 | } 131 | 132 | /* @group Multi Chosen */ 133 | .chzn-container-multi .chzn-choices { 134 | background-color: #fff; 135 | background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(1%, #eeeeee), color-stop(15%, #ffffff)); 136 | background-image: -webkit-linear-gradient(top, #eeeeee 1%, #ffffff 15%); 137 | background-image: -moz-linear-gradient(top, #eeeeee 1%, #ffffff 15%); 138 | background-image: -o-linear-gradient(top, #eeeeee 1%, #ffffff 15%); 139 | background-image: -ms-linear-gradient(top, #eeeeee 1%, #ffffff 15%); 140 | background-image: linear-gradient(top, #eeeeee 1%, #ffffff 15%); 141 | border: 1px solid #aaa; 142 | margin: 0; 143 | padding: 0; 144 | cursor: text; 145 | overflow: hidden; 146 | height: auto !important; 147 | height: 1%; 148 | position: relative; 149 | display:inline-block; 150 | *display:inline; 151 | } 152 | .chzn-container-multi .chzn-choices li { 153 | display:inline-block; 154 | *display:inline; 155 | list-style: none; 156 | } 157 | .chzn-container-multi .chzn-choices .search-field { 158 | white-space: nowrap; 159 | margin: 0; 160 | padding: 0; 161 | } 162 | .chzn-container-multi .chzn-choices .search-field input { 163 | color: #666; 164 | background: transparent !important; 165 | border: 0 !important; 166 | font-family: sans-serif; 167 | font-size: 100%; 168 | height: 15px; 169 | padding: 5px; 170 | margin: 1px 0; 171 | outline: 0; 172 | -webkit-box-shadow: none; 173 | -moz-box-shadow : none; 174 | -o-box-shadow : none; 175 | box-shadow : none; 176 | } 177 | .chzn-container-multi .chzn-choices .search-field .default { 178 | color: #999; 179 | } 180 | .chzn-container-multi .chzn-choices .search-choice { 181 | -webkit-border-radius: 3px; 182 | -moz-border-radius : 3px; 183 | border-radius : 3px; 184 | -moz-background-clip : padding; 185 | -webkit-background-clip: padding-box; 186 | background-clip : padding-box; 187 | background-color: #e4e4e4; 188 | filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f4f4f4', endColorstr='#eeeeee', GradientType=0 ); 189 | background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(20%, #f4f4f4), color-stop(50%, #f0f0f0), color-stop(52%, #e8e8e8), color-stop(100%, #eeeeee)); 190 | background-image: -webkit-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%); 191 | background-image: -moz-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%); 192 | background-image: -o-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%); 193 | background-image: -ms-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%); 194 | background-image: linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%); 195 | -webkit-box-shadow: 0 0 2px #ffffff inset, 0 1px 0 rgba(0,0,0,0.05); 196 | -moz-box-shadow : 0 0 2px #ffffff inset, 0 1px 0 rgba(0,0,0,0.05); 197 | box-shadow : 0 0 2px #ffffff inset, 0 1px 0 rgba(0,0,0,0.05); 198 | color: #333; 199 | border: 1px solid #aaaaaa; 200 | line-height: 13px; 201 | padding: 3px 20px 3px 5px; 202 | margin: 3px 0 3px 5px; 203 | position: relative; 204 | cursor: default; 205 | } 206 | .chzn-container-multi .chzn-choices .search-choice-focus { 207 | background: #d4d4d4; 208 | } 209 | .chzn-container-multi .chzn-choices .search-choice .search-choice-close { 210 | display: block; 211 | position: absolute; 212 | right: 3px; 213 | top: 4px; 214 | width: 12px; 215 | height: 13px; 216 | font-size: 1px; 217 | background: url(img/chosen-sprite.png) right top no-repeat; 218 | } 219 | .chzn-container-multi .chzn-choices .search-choice .search-choice-close:hover { 220 | background-position: right -11px; 221 | } 222 | .chzn-container-multi .chzn-choices .search-choice-focus .search-choice-close { 223 | background-position: right -11px; 224 | } 225 | /* @end */ 226 | 227 | /* @group Results */ 228 | .chzn-container .chzn-results { 229 | margin: 0 4px 4px 0; 230 | max-height: 240px; 231 | padding: 0 0 0 4px; 232 | position: relative; 233 | overflow-x: hidden; 234 | overflow-y: auto; 235 | } 236 | .chzn-container-multi .chzn-results { 237 | margin: -1px 0 0; 238 | padding: 0; 239 | } 240 | .chzn-container .chzn-results li { 241 | display: none; 242 | line-height: 15px; 243 | padding: 5px 6px; 244 | margin: 0; 245 | list-style: none; 246 | } 247 | .chzn-container .chzn-results .active-result { 248 | cursor: pointer; 249 | display: list-item; 250 | } 251 | .chzn-container .chzn-results .highlighted { 252 | background-color: #3875d7; 253 | filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#3875d7', endColorstr='#2a62bc', GradientType=0 ); 254 | background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(20%, #3875d7), color-stop(90%, #2a62bc)); 255 | background-image: -webkit-linear-gradient(top, #3875d7 20%, #2a62bc 90%); 256 | background-image: -moz-linear-gradient(top, #3875d7 20%, #2a62bc 90%); 257 | background-image: -o-linear-gradient(top, #3875d7 20%, #2a62bc 90%); 258 | background-image: -ms-linear-gradient(top, #3875d7 20%, #2a62bc 90%); 259 | background-image: linear-gradient(top, #3875d7 20%, #2a62bc 90%); 260 | color: #fff; 261 | } 262 | .chzn-container .chzn-results li em { 263 | background: #feffde; 264 | font-style: normal; 265 | } 266 | .chzn-container .chzn-results .highlighted em { 267 | background: transparent; 268 | } 269 | .chzn-container .chzn-results .no-results { 270 | background: #f4f4f4; 271 | display: list-item; 272 | } 273 | .chzn-container .chzn-results .group-result { 274 | cursor: default; 275 | color: #999; 276 | font-weight: bold; 277 | } 278 | .chzn-container .chzn-results .group-option { 279 | padding-left: 15px; 280 | } 281 | .chzn-container-multi .chzn-drop .result-selected { 282 | display: none; 283 | } 284 | .chzn-container .chzn-results-scroll { 285 | background: white; 286 | margin: 0 4px; 287 | position: absolute; 288 | text-align: center; 289 | width: 321px; /* This should by dynamic with js */ 290 | z-index: 1; 291 | } 292 | .chzn-container .chzn-results-scroll span { 293 | display: inline-block; 294 | height: 17px; 295 | text-indent: -5000px; 296 | width: 9px; 297 | } 298 | .chzn-container .chzn-results-scroll-down { 299 | bottom: 0; 300 | } 301 | .chzn-container .chzn-results-scroll-down span { 302 | background: url('img/chosen-sprite.png') no-repeat -4px -3px; 303 | } 304 | .chzn-container .chzn-results-scroll-up span { 305 | background: url('img/chosen-sprite.png') no-repeat -22px -3px; 306 | } 307 | /* @end */ 308 | 309 | /* @group Active */ 310 | .chzn-container-active .chzn-single { 311 | -webkit-box-shadow: 0 0 5px #6DB9FF; 312 | -moz-box-shadow : 0 0 5px #6DB9FF; 313 | -o-box-shadow : 0 0 5px #6DB9FF; 314 | box-shadow : 0 0 5px #6DB9FF; 315 | border: 1px solid #50B1FE; 316 | } 317 | .chzn-container-active .chzn-single-with-drop { 318 | border: 1px solid #aaa; 319 | -webkit-box-shadow: 0 1px 0 #fff inset; 320 | -moz-box-shadow : 0 1px 0 #fff inset; 321 | -o-box-shadow : 0 1px 0 #fff inset; 322 | box-shadow : 0 1px 0 #fff inset; 323 | background-color: #eee; 324 | filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#eeeeee', endColorstr='#ffffff', GradientType=0 ); 325 | background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(20%, #eeeeee), color-stop(80%, #ffffff)); 326 | background-image: -webkit-linear-gradient(top, #eeeeee 20%, #ffffff 80%); 327 | background-image: -moz-linear-gradient(top, #eeeeee 20%, #ffffff 80%); 328 | background-image: -o-linear-gradient(top, #eeeeee 20%, #ffffff 80%); 329 | background-image: -ms-linear-gradient(top, #eeeeee 20%, #ffffff 80%); 330 | background-image: linear-gradient(top, #eeeeee 20%, #ffffff 80%); 331 | -webkit-border-bottom-left-radius : 0; 332 | -webkit-border-bottom-right-radius: 0; 333 | -moz-border-radius-bottomleft : 0; 334 | -moz-border-radius-bottomright: 0; 335 | border-bottom-left-radius : 0; 336 | border-bottom-right-radius: 0; 337 | } 338 | .chzn-container-active .chzn-single-with-drop div { 339 | background: transparent; 340 | border-left: none; 341 | } 342 | .chzn-container-active .chzn-single-with-drop div b { 343 | background-position: -18px 1px; 344 | } 345 | .chzn-container-active .chzn-choices { 346 | -webkit-box-shadow: 0 0 5px #6DB9FF; 347 | -moz-box-shadow : 0 0 5px #6DB9FF; 348 | -o-box-shadow : 0 0 5px #6DB9FF; 349 | box-shadow : 0 0 5px #6DB9FF; 350 | border: 1px solid #50B1FE; 351 | } 352 | .chzn-container-active .chzn-choices .search-field input { 353 | color: #111 !important; 354 | } 355 | /* @end */ 356 | 357 | /* @group Disabled Support */ 358 | .chzn-disabled { 359 | cursor: default; 360 | opacity:0.5 !important; 361 | } 362 | .chzn-disabled .chzn-single { 363 | cursor: default; 364 | } 365 | .chzn-disabled .chzn-choices .search-choice .search-choice-close { 366 | cursor: default; 367 | } 368 | 369 | /* @group Right to Left */ 370 | .chzn-rtl { text-align: right; } 371 | .chzn-rtl .chzn-single { padding: 0 8px 0 0; overflow: visible; } 372 | .chzn-rtl .chzn-single span { margin-left: 26px; margin-right: 0; direction: rtl; } 373 | 374 | .chzn-rtl .chzn-single div { left: 3px; right: auto; } 375 | .chzn-rtl .chzn-single abbr { 376 | left: 26px; 377 | right: auto; 378 | } 379 | .chzn-rtl .chzn-choices .search-field input { direction: rtl; } 380 | .chzn-rtl .chzn-choices li { float: right; } 381 | .chzn-rtl .chzn-choices .search-choice { padding: 3px 5px 3px 19px; margin: 3px 5px 3px 0; } 382 | .chzn-rtl .chzn-choices .search-choice .search-choice-close { left: 4px; right: auto; background-position: right top;} 383 | .chzn-rtl.chzn-container-single .chzn-results { margin: 0 0 4px 4px; padding: 0 4px 0 0; } 384 | .chzn-rtl .chzn-results .group-option { padding-left: 0; padding-right: 15px; } 385 | .chzn-rtl.chzn-container-active .chzn-single-with-drop div { border-right: none; } 386 | .chzn-rtl .chzn-search input { 387 | background: #fff url('img/chosen-sprite.png') no-repeat -38px -22px; 388 | background: url('img/chosen-sprite.png') no-repeat -38px -22px, -webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(1%, #eeeeee), color-stop(15%, #ffffff)); 389 | background: url('img/chosen-sprite.png') no-repeat -38px -22px, -webkit-linear-gradient(top, #eeeeee 1%, #ffffff 15%); 390 | background: url('img/chosen-sprite.png') no-repeat -38px -22px, -moz-linear-gradient(top, #eeeeee 1%, #ffffff 15%); 391 | background: url('img/chosen-sprite.png') no-repeat -38px -22px, -o-linear-gradient(top, #eeeeee 1%, #ffffff 15%); 392 | background: url('img/chosen-sprite.png') no-repeat -38px -22px, -ms-linear-gradient(top, #eeeeee 1%, #ffffff 15%); 393 | background: url('img/chosen-sprite.png') no-repeat -38px -22px, linear-gradient(top, #eeeeee 1%, #ffffff 15%); 394 | padding: 4px 5px 4px 20px; 395 | direction: rtl; 396 | } 397 | /* @end */ 398 | -------------------------------------------------------------------------------- /web/css/kickstart.css: -------------------------------------------------------------------------------- 1 | /* 2 | 99Lime.com HTML KickStart by Joshua Gatcke 3 | kickstart.css 4 | 5 | Don't edit the file if you want HTML KickStart to be upgradeable. 6 | Instead, copy any CSS selectors you want to modify to your style.css file. 7 | 8 | // Colors 9 | blue: #4D99E0; 10 | */ 11 | /*--------------------------------- 12 | IMPORTS 13 | -----------------------------------*/ 14 | @import url(kickstart-buttons.css); 15 | @import url(kickstart-forms.css); 16 | @import url(kickstart-menus.css); 17 | @import url(kickstart-grid.css); 18 | @import url(kickstart-icons.css); 19 | @import url(jquery.fancybox-1.3.4.css); 20 | @import url(prettify.css); 21 | @import url(chosen.css); 22 | @import url(tiptip.css); 23 | 24 | /*--------------------------------- 25 | HTML ELEMENTS 26 | -----------------------------------*/ 27 | a { 28 | color: #4D99E0; 29 | outline: 0; 30 | } 31 | 32 | a:active { 33 | color: inherit; 34 | } 35 | 36 | a:visited { 37 | } 38 | 39 | a:hover { 40 | } 41 | 42 | a img { 43 | border: 0; 44 | } 45 | 46 | strong, b { 47 | color: #000; 48 | position: relative; 49 | top: 0; 50 | left: 0; 51 | } 52 | 53 | strike { 54 | } 55 | 56 | em, i { 57 | } 58 | 59 | .hide { 60 | display: none; 61 | } 62 | 63 | .show { 64 | display: block; 65 | } 66 | 67 | /*--------------------------------- 68 | UTILITY 69 | -----------------------------------*/ 70 | .center { 71 | text-align: center; 72 | } 73 | 74 | .left { 75 | text-align: left; 76 | } 77 | 78 | .right { 79 | text-align: right; 80 | } 81 | 82 | /*--------------------------------- 83 | HR 84 | -----------------------------------*/ 85 | hr { 86 | clear: both; 87 | border-bottom: 0; 88 | border-top: 1px dotted #ccc; 89 | border-right: 0; 90 | border-left: 0; 91 | margin: 30px 0; 92 | min-height: 0px; 93 | height: 1px; 94 | } 95 | 96 | hr.alt1 { 97 | border-style: solid; 98 | } 99 | 100 | hr.alt2 { 101 | border-style: dashed; 102 | } 103 | 104 | /*--------------------------------- 105 | HTML5 ELEMENTS (shim) 106 | -----------------------------------*/ 107 | article, aside, details, figcaption, figure, 108 | footer, header, hgroup, menu, nav, section { 109 | display: block; 110 | } 111 | 112 | /*--------------------------------- 113 | HEADINGS 114 | -----------------------------------*/ 115 | h1, h2, h3, h4, h5, h6 { 116 | font-weight: bold; 117 | line-height: 140%; 118 | } 119 | 120 | h1 { 121 | font-size: 3em; 122 | margin: 10px 0 10px 0; 123 | } 124 | 125 | h2 { 126 | font-size: 2.5em; 127 | margin: 10px 0 10px 0; 128 | } 129 | 130 | h3 { 131 | font-size: 2em; 132 | margin: 10px 0 10px 0; 133 | line-height: 130%; 134 | } 135 | 136 | h4 { 137 | font-size: 1.5em; 138 | margin: 10px 0 10px 0; 139 | } 140 | 141 | h5 { 142 | font-size: 1.2em; 143 | margin: 10px 0 10px 0; 144 | } 145 | 146 | h6 { 147 | font-size: 1em; 148 | margin: 10px 0 5px 0; 149 | } 150 | 151 | /*--------------------------------- 152 | PARAGRAPHS 153 | -----------------------------------*/ 154 | p { 155 | line-height: 150%; 156 | color: #666; 157 | margin: 10px 0; 158 | } 159 | 160 | /*--------------------------------- 161 | BLOCKQUOTES 162 | -----------------------------------*/ 163 | blockquote { 164 | font-size: 1.5em; 165 | font-style: italic; 166 | color: #888; 167 | margin: 30px 30px 30px 0; 168 | padding: 0 0 0 20px; 169 | border-left: 1px solid #ccc; 170 | } 171 | 172 | blockquote span { 173 | font-size: 0.7em; 174 | color: #000; 175 | display: block; 176 | } 177 | 178 | blockquote.small { 179 | font-size: 1.2em; 180 | } 181 | 182 | /*--------------------------------- 183 | LISTS 184 | -----------------------------------*/ 185 | ul, ol { 186 | padding: 0; 187 | margin: 0 0 20px 25px; 188 | } 189 | 190 | li { 191 | padding: 5px 0; 192 | margin: 0; 193 | } 194 | 195 | ul.checks { 196 | padding: 0; 197 | margin: 0 0 20px 0; 198 | } 199 | 200 | ul.checks li { 201 | list-style-type: none; 202 | margin: 0; 203 | background: url(img/icon-check.png) no-repeat 5px 0.5em; 204 | padding-left: 30px; 205 | } 206 | 207 | ul.alt { 208 | padding: 0; 209 | margin: 0 0 20px 0; 210 | } 211 | 212 | ul.alt li { 213 | list-style-type: none; 214 | border-top: 1px dotted #ccc; 215 | border-bottom: 1px dotted #ccc; 216 | margin: 0 0 -1px 0; 217 | background: url(img/icon-arrow-right.png) no-repeat 5px 0.7em; 218 | padding-left: 20px; 219 | } 220 | 221 | /*--------------------------------- 222 | PRE & CODE 223 | -----------------------------------*/ 224 | code { 225 | font-family: Consolas, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", Monaco, "Courier New", Courier, monospace; 226 | font-size: 0.9em; 227 | border: 1px solid lightblue; 228 | padding: 3px; 229 | -moz-border-radius: 3px; 230 | -webkit-border-radius: 3px; 231 | border-radius: 3px; 232 | color: #518BAB; 233 | } 234 | 235 | pre { 236 | white-space: pre-wrap; /* css-3 */ 237 | white-space: -moz-pre-wrap !important; /* Mozilla, since 1999 */ 238 | white-space: -pre-wrap; /* Opera 4-6 */ 239 | white-space: -o-pre-wrap; /* Opera 7 */ 240 | word-wrap: break-word; /* Internet Explorer 5.5+ */ 241 | margin: 0px 0px 0px 0px; 242 | padding: 5px 5px 3px 5px; 243 | background: #fff; 244 | -moz-border-radius: 5px; 245 | -webkit-border-radius: 5px; 246 | border-radius: 5px; 247 | box-shadow: inset 0px 0px 7px rgba(0, 0, 0, 0.2); 248 | padding: 10px; 249 | margin: 0 0 20px 0; 250 | border: 1px solid #ddd; 251 | font-family: Consolas, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", Monaco, "Courier New", Courier, monospace; 252 | font-size: 0.9em; 253 | } 254 | 255 | /*--------------------------------- 256 | TABLES 257 | -----------------------------------*/ 258 | table { 259 | width: 100%; 260 | margin: 0 0 10px 0; 261 | text-align: left; 262 | border-collapse: collapse; 263 | } 264 | 265 | thead, tbody { 266 | margin: 0; 267 | padding: 0; 268 | } 269 | 270 | th, td { 271 | padding: 7px 10px; 272 | font-size: 0.9em; 273 | border-bottom: 1px dotted #ddd; 274 | text-align: right; 275 | } 276 | 277 | thead th { 278 | font-size: 0.9em; 279 | padding: 3px 10px; 280 | border-bottom: 1px solid #ddd; 281 | } 282 | 283 | tbody tr.last th, 284 | tbody tr.last td { 285 | border-bottom: 0; 286 | } 287 | 288 | /* striped */ 289 | table.striped { 290 | } 291 | 292 | table.striped tr.alt { 293 | background: #f5f5f5; 294 | } 295 | 296 | table.striped thead th { 297 | background: #fff; 298 | } 299 | 300 | table.striped tbody th { 301 | background: #f5f5f5; 302 | text-align: right; 303 | padding-right: 15px; 304 | border-right: 1px dotted #e5e5e5; 305 | } 306 | 307 | table.striped tbody tr.alt th { 308 | background: #efefef; 309 | } 310 | 311 | /* tight */ 312 | table.tight { 313 | } 314 | 315 | table.tight th, .tight td { 316 | padding: 2px 10px; 317 | } 318 | 319 | /* sortable */ 320 | table.sortable { 321 | border: 1px solid #ddd; 322 | } 323 | 324 | table.sortable thead th { 325 | cursor: pointer; 326 | position: relative; 327 | top: 0; 328 | left: 0; 329 | border-right: 1px solid #ddd; 330 | } 331 | 332 | table.sortable thead th:hover { 333 | background: #efefef; 334 | } 335 | 336 | table.sortable span.arrow { 337 | border-style: solid; 338 | border-width: 5px; 339 | display: block; 340 | position: absolute; 341 | top: 50%; 342 | right: 5px; 343 | font-size: 0; 344 | border-color: #ccc transparent transparent transparent; 345 | line-height: 0; 346 | height: 0; 347 | width: 0; 348 | margin-top: -2px; 349 | } 350 | 351 | table.sortable span.arrow.up { 352 | border-color: transparent transparent #ccc transparent; 353 | margin-top: -7px; 354 | } 355 | 356 | /*--------------------------------- 357 | TABS 358 | -----------------------------------*/ 359 | ul.tabs { 360 | margin: 10px 0 -1px 0; 361 | padding: 0; 362 | width: 100%; 363 | border-bottom: 1px solid #e5e5e5; 364 | float: left; 365 | } 366 | 367 | ul.tabs.left { 368 | text-align: left; 369 | } 370 | 371 | ul.tabs.center { 372 | text-align: center; 373 | } 374 | 375 | ul.tabs.right { 376 | text-align: right; 377 | } 378 | 379 | ul.tabs li { 380 | list-style-type: none; 381 | margin: 0 2px 0 0; 382 | padding: 0; 383 | display: inline-block; 384 | *display: inline; /*IE ONLY*/ 385 | position: relative; 386 | top: 0; 387 | left: 0; 388 | *top: 1px; /*IE 7 ONLY*/ 389 | zoom: 1; 390 | } 391 | 392 | ul.tabs li a { 393 | text-decoration: none; 394 | color: #666; 395 | display: inline-block; 396 | padding: 9px 15px; 397 | position: relative; 398 | top: 0; 399 | left: 0; 400 | line-height: 100%; 401 | background: #f5f5f5; 402 | box-shadow: inset 0px -3px 3px rgba(0, 0, 0, 0.03); 403 | border: 1px solid #e5e5e5; 404 | border-bottom: 0; 405 | font-size: 0.9em; 406 | zoom: 1; 407 | } 408 | 409 | ul.tabs li a:hover { 410 | background: #fff; 411 | } 412 | 413 | ul.tabs li.current a { 414 | position: relative; 415 | top: 1px; 416 | left: 0; 417 | background: #fff; 418 | box-shadow: none; 419 | color: #222; 420 | } 421 | 422 | .tab-content { 423 | border: 1px solid #efefef; 424 | border-left: 1px solid #e5e5e5; 425 | clear: both; 426 | padding: 20px; 427 | margin: 0 0 40px 0; 428 | } 429 | 430 | /* w/icon */ 431 | ul.tabs .icon { 432 | margin: -3px 7px -3px -5px; 433 | position: relative; 434 | top: -2px; 435 | left: 0; 436 | } 437 | 438 | /*--------------------------------- 439 | BREADCRUMBS 440 | -----------------------------------*/ 441 | ul.breadcrumbs { 442 | margin: 10px 0; 443 | padding: 0; 444 | line-height: 0%; 445 | font-size: 0; 446 | } 447 | 448 | ul.breadcrumbs li { 449 | list-style-type: none; 450 | margin: 0; 451 | padding: 0; 452 | display: inline-block; 453 | *display: inline; /* IE ONLY*/ 454 | position: relative; 455 | zoom: 1; 456 | line-height: 100%; 457 | font-size: 14px; /* 0.8em default to override font-size:0; on parent*/ 458 | } 459 | 460 | ul.breadcrumbs li a { 461 | display: inline-block; 462 | *display: inline; /* IE ONLY*/ 463 | position: relative; 464 | padding: 5px 15px 5px 5px; 465 | font-size: 0.9em; 466 | zoom: 1; 467 | margin: 0; 468 | background: url(img/icon-arrow-right.png) no-repeat right center; 469 | } 470 | 471 | ul.breadcrumbs li.last a { 472 | color: #333; 473 | cursor: default; 474 | text-decoration: none; 475 | background: none; 476 | } 477 | 478 | ul.breadcrumbs li.last a:hover { 479 | text-decoration: none; 480 | } 481 | 482 | /* Alternative Style */ 483 | ul.breadcrumbs.alt1 { 484 | border: 1px solid transparent; 485 | font-size: 0; 486 | } 487 | 488 | ul.breadcrumbs.alt1 li a { 489 | padding: 10px 25px 10px 15px; 490 | background: url(img/breadcrumbs-bg.gif) no-repeat right center; 491 | text-decoration: none; 492 | border-top: 1px solid #efefef; 493 | border-bottom: 1px solid #efefef; 494 | font-size: 12px; 495 | } 496 | 497 | ul.breadcrumbs.alt1 a:hover { 498 | text-decoration: underline; 499 | } 500 | 501 | ul.breadcrumbs.alt1 li.first a { 502 | border-left: 1px solid #efefef; 503 | } 504 | 505 | ul.breadcrumbs.alt1 li.last a { 506 | background: none; 507 | border-right: 1px solid #efefef; 508 | } 509 | 510 | /*--------------------------------- 511 | IMAGES 512 | -----------------------------------*/ 513 | /* 514 | for img .style1, .style2, .style3 515 | view js/kickstart.js Image Style Helpers 516 | */ 517 | img { 518 | margin: 0; 519 | padding: 0; 520 | display: inline-block; 521 | position: relative; 522 | zoom: 1; 523 | } 524 | 525 | img.align-left { 526 | float: left; 527 | margin: 0 10px 5px 0; 528 | } 529 | 530 | img.align-right { 531 | float: right; 532 | margin: 0 0 5px 10px; 533 | } 534 | 535 | img.full-width { 536 | clear: both; 537 | display: block; 538 | width: 100%; 539 | height: auto; 540 | margin: 0 0 10px 0; 541 | } 542 | 543 | span.img-wrap { 544 | display: inline-block; 545 | position: relative; 546 | top: 0; 547 | left: 0; 548 | zoom: 1; 549 | } 550 | 551 | span.img-inner { 552 | display: block; 553 | position: absolute; 554 | top: 0; 555 | left: 0; 556 | width: 100%; 557 | height: 100%; 558 | } 559 | 560 | span.img-wrap img { 561 | display: block; 562 | padding: 0; 563 | margin: 0; 564 | } 565 | 566 | img.style1 { 567 | /* DON'T Style This */ 568 | } 569 | 570 | .img-wrap.style1 { 571 | border: 1px solid #ddd; 572 | padding: 3px; 573 | background-color: #fff; 574 | margin-left: -3px; 575 | margin-top: -3px; 576 | margin-bottom: -3px; 577 | } 578 | 579 | img.style2 { 580 | /* DON'T Style This */ 581 | } 582 | 583 | .img-wrap.style2 { 584 | -moz-border-radius: 10px; 585 | -webkit-border-radius: 10px; 586 | border-radius: 10px; 587 | overflow: hidden; 588 | } 589 | 590 | img.style3 { 591 | /* DON'T Style This */ 592 | } 593 | 594 | .img-wrap.style3 { 595 | margin-left: -3px; 596 | margin-top: -3px; 597 | margin-bottom: -3px; 598 | border: 3px solid #efefef; 599 | -moz-border-radius: 10px; 600 | -webkit-border-radius: 10px; 601 | border-radius: 10px; 602 | overflow: hidden; 603 | -moz-box-shadow: inset 0px 0px 10px rgba(0, 0, 0, 0.5); 604 | -webkit-box-shadow: inset 0px 0px 10px rgba(0, 0, 0, 0.5); 605 | box-shadow: inset 0px 0px 10px rgba(0, 0, 0, 0.5); 606 | } 607 | 608 | div.caption { 609 | background: #f5f5f5; 610 | border: 1px solid #ddd; 611 | padding: 3px; 612 | } 613 | 614 | div.caption img { 615 | display: block; 616 | padding: 0; 617 | margin: 0; 618 | } 619 | 620 | div.caption span { 621 | display: block; 622 | margin-top: 3px; 623 | font-size: 0.8em; 624 | color: #666; 625 | padding: 0px 5px; 626 | } 627 | 628 | .gallery { 629 | } 630 | 631 | .gallery a { 632 | display: inline-block; 633 | position: relative; 634 | border: 1px solid #ddd; 635 | background: #fff; 636 | padding: 3px; 637 | margin: 5px; 638 | -moz-border-radius: 5px; 639 | -webkit-border-radius: 5px; 640 | border-radius: 5px; 641 | } 642 | 643 | .gallery a img { 644 | display: block; 645 | position: relative; 646 | margin: 0; 647 | padding: 0; 648 | } 649 | 650 | /*--------------------------------- 651 | SLIDESHOW2 652 | -----------------------------------*/ 653 | .slideshow-wrap { 654 | clear: both; 655 | margin: 0; 656 | padding: 0; 657 | position: relative; 658 | top: 0; 659 | left: 0; 660 | overflow: hidden; 661 | clear: both; 662 | } 663 | 664 | .slideshow-inner { 665 | overflow: hidden; 666 | clear: both; 667 | position: relative; 668 | top: 0; 669 | left: 0; 670 | border: 1px solid #efefef; 671 | } 672 | 673 | .slideshow { 674 | clear: both; 675 | margin: 0; 676 | padding: 0; 677 | width: auto; 678 | height: auto; 679 | overflow: hidden; 680 | } 681 | 682 | .slideshow li { 683 | list-style-type: none; 684 | margin: 0; 685 | padding: 0; 686 | float: left; 687 | display: block; 688 | } 689 | 690 | .slideshow img { 691 | vertical-align: bottom; 692 | } 693 | 694 | .slideshow-buttons { 695 | text-align: right; 696 | margin: 3px 0 0 0; 697 | padding: 0; 698 | } 699 | 700 | .slideshow-buttons li { 701 | display: inline; 702 | position: relative; 703 | top: 0; 704 | left: 0; 705 | line-height: 100%; 706 | margin: 0; 707 | padding: 0; 708 | } 709 | 710 | .slideshow-buttons li.current a { 711 | background: #ddd; 712 | } 713 | 714 | .slideshow-buttons a { 715 | display: inline; 716 | position: relative; 717 | top: 0; 718 | left: 0; 719 | padding: 1px 3px; 720 | margin: 0 1px; 721 | line-height: 100%; 722 | border: 1px solid #efefef; 723 | text-decoration: none; 724 | font-size: 0.8em; 725 | } 726 | 727 | /*--------------------------------- 728 | MEDIA 729 | -----------------------------------*/ 730 | .video-placeholder, 731 | .video-placeholder a { 732 | position: relative; 733 | top: 0; 734 | left: 0; 735 | display: inline-block; 736 | *display: inline; 737 | zoom: 1; 738 | margin: 0; 739 | padding: 0; 740 | text-decoration: none; 741 | } 742 | 743 | .video-placeholder img { 744 | vertical-align: bottom; 745 | } 746 | 747 | .video-placeholder .icon { 748 | position: absolute; 749 | top: 50%; 750 | left: 50%; 751 | margin: -24px 0 0 -24px; 752 | } 753 | 754 | .video-placeholder:hover .icon { 755 | text-shadow: 0px 0px 10px rgba(255, 255, 255, 0.8), 0px 2px 2px rgba(0, 0, 0, 1); 756 | cursor: pointer; 757 | } 758 | 759 | iframe.map-placeholder { 760 | border: 1px solid #ccc; 761 | margin: 0; 762 | padding: 0; 763 | overflow: hidden; 764 | box-sizing: border-box; 765 | } 766 | 767 | .calendar { 768 | text-align: center; 769 | text-shadow: 0px 1px 0px #fff; 770 | color: #666; 771 | border: 1px solid #ddd; 772 | background: #f5f5f5; 773 | } 774 | 775 | .calendar h4#current-month { 776 | font-size: 1em; 777 | margin: 0; 778 | padding: 2% 0; 779 | border-top: 1px solid #fff; 780 | line-height: 100%; 781 | font-weight: normal; 782 | } 783 | 784 | .calendar table { 785 | margin: 0; 786 | border-collapse: collapse; 787 | border: 0; 788 | } 789 | 790 | .calendar th, .calendar td { 791 | text-align: center; 792 | padding: 0; 793 | font-weight: normal; 794 | line-height: 100%; 795 | border: 0; 796 | } 797 | 798 | .calendar th { 799 | width: 14.2857%; 800 | padding: 2% 0; 801 | border-bottom: 1px solid #ddd; 802 | } 803 | 804 | .calendar td { 805 | background: #fff; 806 | padding: 3% 0; 807 | } 808 | 809 | .calendar th.weekday { 810 | color: #999; 811 | font-size: 0.7em; 812 | text-transform: uppercase; 813 | } 814 | 815 | .calendar td.other-month { 816 | color: #ccc; 817 | } 818 | 819 | .calendar td.current-month { 820 | background: #fff; 821 | color: #777; 822 | } -------------------------------------------------------------------------------- /web/css/kickstart-buttons.css: -------------------------------------------------------------------------------- 1 | /* 2 | 99Lime.com HTML KickStart by Joshua Gatcke 3 | kickstart-buttons.css 4 | 5 | Super Easy Cross Browser CSS3 Gradients 6 | http://www.colorzilla.com/gradient-editor/ 7 | */ 8 | 9 | /*--------------------------------- 10 | BUTTONS 11 | -----------------------------------*/ 12 | button, 13 | a.btn, 14 | a.btn:visited, 15 | a.button, 16 | a.button:visited, 17 | input[type="submit"], 18 | input[type="reset"], 19 | input[type="button"]{ 20 | position:relative; 21 | top:0; 22 | left:0; 23 | vertical-align: middle; 24 | margin:0; 25 | padding:10px 15px; 26 | line-height:100%; 27 | -moz-border-radius:5px; 28 | -webkit-border-radius:5px; 29 | border-radius:5px; 30 | cursor: pointer; 31 | width:auto; 32 | overflow:visible; 33 | font-weight:normal; 34 | font-size:14px; /*Pixels for consistancy*/ 35 | text-shadow:0 1px 0 #fff; 36 | color:#666; 37 | text-decoration:none; 38 | vertical-align: middle; 39 | box-sizing: border-box; 40 | display:inline-block; 41 | *display:inline;/*IE ONLY*/ 42 | zoom:1; 43 | border:1px solid #ccc; 44 | background: rgb(252,252,252); /* Old browsers */ 45 | background: -moz-linear-gradient(top, rgba(252,252,252,1) 0%, rgba(224,224,224,1) 100%); /* FF3.6+ */ 46 | background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(252,252,252,1)), color-stop(100%,rgba(224,224,224,1))); /* Chrome,Safari4+ */ 47 | background: -webkit-linear-gradient(top, rgba(252,252,252,1) 0%,rgba(224,224,224,1) 100%); /* Chrome10+,Safari5.1+ */ 48 | background: -o-linear-gradient(top, rgba(252,252,252,1) 0%,rgba(224,224,224,1) 100%); /* Opera11.10+ */ 49 | background: -ms-linear-gradient(top, rgba(252,252,252,1) 0%,rgba(224,224,224,1) 100%); /* IE10+ */ 50 | filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fcfcfc', endColorstr='#e0e0e0',GradientType=0 ); /* IE6-9 */ 51 | background: linear-gradient(top, rgba(252,252,252,1) 0%,rgba(224,224,224,1) 100%); /* W3C */ 52 | } 53 | 54 | button:active, 55 | a.btn:active, 56 | a.btn:visited:active, 57 | a.button:active, 58 | a.button:visited:active, 59 | input[type="submit"]:active, 60 | input[type="reset"]:active, 61 | input[type="button"]:active{box-shadow:inset 0px 3px 5px rgba(0,0,0,0.2),inset 0px -10px 20px rgba(0,0,0,0.07);} 62 | button[disabled],.disabled:active{box-shadow:none;} 63 | 64 | button, 65 | input[type="submit"], 66 | input[type="reset"], 67 | input[type="button"]{*padding:7px 15px;}/*IE 7 ONLY*/ 68 | 69 | a.btn,a.button{}/*overrides*/ 70 | button.small, a.btn.small, a.button.small{font-size:0.8em;padding:5px 10px;} 71 | button.medium, a.btn.medium, a.button.medium{}/*default*/ 72 | button.large, a.btn.large, a.button.large{font-size:1.3em;padding:10px 20px;} 73 | button.disabled, a.btn.disabled, a.button.disabled{color:#ccc;cursor:default;background:#efefef;} 74 | button.disabled:hover, a.btn.disabled:hover, a.button.disabled:hover{border:1px solid #ccc;background:#efefef;} 75 | 76 | button:hover, 77 | a.btn:hover, 78 | a.button:hover, 79 | input[type="submit"]:hover, 80 | input[type="reset"]:hover, 81 | input[type="button"]:hover{ 82 | border:1px solid #bbb; 83 | background: rgb(252,252,252); /* Old browsers */ 84 | background: -moz-linear-gradient(top, rgba(252,252,252,1) 0%, rgba(237,237,237,1) 100%); /* FF3.6+ */ 85 | background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(252,252,252,1)), color-stop(100%,rgba(237,237,237,1))); /* Chrome,Safari4+ */ 86 | background: -webkit-linear-gradient(top, rgba(252,252,252,1) 0%,rgba(237,237,237,1) 100%); /* Chrome10+,Safari5.1+ */ 87 | background: -o-linear-gradient(top, rgba(252,252,252,1) 0%,rgba(237,237,237,1) 100%); /* Opera11.10+ */ 88 | background: -ms-linear-gradient(top, rgba(252,252,252,1) 0%,rgba(237,237,237,1) 100%); /* IE10+ */ 89 | filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fcfcfc', endColorstr='#ededed',GradientType=0 ); /* IE6-9 */ 90 | background: linear-gradient(top, rgba(252,252,252,1) 0%,rgba(237,237,237,1) 100%); /* W3C */ 91 | } 92 | 93 | button img, 94 | a.btn img, 95 | a.button img, 96 | input[type="submit"] img, 97 | input[type="reset"] img, 98 | input[type="button"] img{ 99 | display:inline; 100 | margin:0; 101 | vertical-align: middle; 102 | margin:-10px 10px -5px -5px; 103 | padding:0; 104 | } 105 | 106 | .small img{margin:-3px 5px -3px -3px;} 107 | .medium img{margin:-10px 10px -5px -5px;} 108 | .large img{margin:-10px 10px -10px -10px;} 109 | .icon-only{padding:7px 10px;} 110 | .icon-only img{margin:0;display:block;padding:0;} 111 | .icon-only .icon{margin:-5px -6px -8px -6px;} 112 | 113 | /* icons */ 114 | button .icon, 115 | a.btn .icon, 116 | a.button .icon, 117 | input[type="submit"] .icon, 118 | input[type="reset"] .icon, 119 | input[type="button"] .icon{ 120 | vertical-align: middle; 121 | margin:-5px 3px -7px -2px; 122 | *margin:-5px 3px -10px 0px;/*IE 7 ONLY*/ 123 | } 124 | 125 | button .icon.medium, 126 | a.btn .icon.medium, 127 | a.button .icon.medium, 128 | input[type="submit"] .icon.medium, 129 | input[type="reset"] .icon.medium, 130 | input[type="button"] .icon.medium{ 131 | margin-left:-5px; 132 | *left:-5px; 133 | *top:0px; 134 | } 135 | 136 | button .icon.large, 137 | a.btn .icon.large, 138 | a.button .icon.large, 139 | input[type="submit"] .icon.large, 140 | input[type="reset"] .icon.large, 141 | input[type="button"] .icon.large{ 142 | margin-left:-10px; 143 | *left:-10px; 144 | *top:0px; 145 | } 146 | 147 | /*--------------------------------- 148 | BUTTON BAR 149 | -----------------------------------*/ 150 | ul.button-bar{ 151 | display:inline-block; 152 | *display:inline; 153 | margin:0; 154 | padding:0; 155 | font-size:0; 156 | position:relative; 157 | top:0; 158 | left:0; 159 | zoom:1; 160 | border:0; 161 | background:0; 162 | } 163 | 164 | ul.button-bar li{ 165 | display:inline-block; 166 | *display:inline; 167 | position:relative; 168 | top:0; 169 | left:0; 170 | zoom:1; 171 | margin:0 -1px 0 0; 172 | padding:0; 173 | line-height:100%; 174 | font-size:0px; 175 | border:1px solid #ccc; 176 | background: rgb(252,252,252); /* Old browsers */ 177 | background: -moz-linear-gradient(top, rgba(252,252,252,1) 0%, rgba(224,224,224,1) 100%); /* FF3.6+ */ 178 | background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(252,252,252,1)), color-stop(100%,rgba(224,224,224,1))); /* Chrome,Safari4+ */ 179 | background: -webkit-linear-gradient(top, rgba(252,252,252,1) 0%,rgba(224,224,224,1) 100%); /* Chrome10+,Safari5.1+ */ 180 | background: -o-linear-gradient(top, rgba(252,252,252,1) 0%,rgba(224,224,224,1) 100%); /* Opera11.10+ */ 181 | background: -ms-linear-gradient(top, rgba(252,252,252,1) 0%,rgba(224,224,224,1) 100%); /* IE10+ */ 182 | filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fcfcfc', endColorstr='#e0e0e0',GradientType=0 ); /* IE6-9 */ 183 | background: linear-gradient(top, rgba(252,252,252,1) 0%,rgba(224,224,224,1) 100%); /* W3C */ 184 | } 185 | 186 | ul.button-bar li a{ 187 | margin:0; 188 | display:inline-block; 189 | *display:inline; 190 | padding:7px 10px; 191 | position:relative; 192 | top:0; 193 | left:0; 194 | zoom:1; 195 | font-weight:normal; 196 | font-size:14px; /*Pixels for consistancy*/ 197 | text-shadow:0 1px 0 #fff; 198 | color:#666; 199 | text-decoration:none; 200 | vertical-align: middle; 201 | line-height:100%; 202 | border-left:1px solid #fff; 203 | } 204 | 205 | ul.button-bar li.first, 206 | ul.button-bar li.first a{ 207 | -moz-border-radius-bottomleft: 5px; 208 | -moz-border-radius-topleft: 5px; 209 | -webkit-border-bottom-left-radius: 5px; 210 | -webkit-border-top-left-radius: 5px; 211 | border-top-left-radius: 5px; 212 | border-bottom-left-radius: 5px; 213 | -moz-background-clip:content-box; 214 | -webkit-background-clip: border; 215 | background-clip: content-box; 216 | } 217 | 218 | ul.button-bar li.last, 219 | ul.button-bar li.last a{ 220 | -moz-border-radius-bottomright: 5px; 221 | -moz-border-radius-topright: 5px; 222 | -webkit-border-bottom-right-radius: 5px; 223 | -webkit-border-top-right-radius: 5px; 224 | -webkit-background-clip: 225 | border-top-right-radius: 5px; 226 | border-bottom-right-radius: 5px; 227 | -moz-background-clip:content-box; 228 | -webkit-background-clip: border; 229 | background-clip: content-box; 230 | } 231 | 232 | ul.button-bar li a .icon{ 233 | position:relative; 234 | top:-1px; 235 | left:0; 236 | margin:-5px 0; 237 | } 238 | 239 | ul.button-bar li a:hover{ 240 | background: rgb(252,252,252); /* Old browsers */ 241 | background: -moz-linear-gradient(top, rgba(252,252,252,1) 0%, rgba(237,237,237,1) 100%); /* FF3.6+ */ 242 | background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(252,252,252,1)), color-stop(100%,rgba(237,237,237,1))); /* Chrome,Safari4+ */ 243 | background: -webkit-linear-gradient(top, rgba(252,252,252,1) 0%,rgba(237,237,237,1) 100%); /* Chrome10+,Safari5.1+ */ 244 | background: -o-linear-gradient(top, rgba(252,252,252,1) 0%,rgba(237,237,237,1) 100%); /* Opera11.10+ */ 245 | background: -ms-linear-gradient(top, rgba(252,252,252,1) 0%,rgba(237,237,237,1) 100%); /* IE10+ */ 246 | filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fcfcfc', endColorstr='#ededed',GradientType=0 ); /* IE6-9 */ 247 | background: linear-gradient(top, rgba(252,252,252,1) 0%,rgba(237,237,237,1) 100%); /* W3C */ 248 | } 249 | 250 | ul.button-bar li a:active{box-shadow:inset 0px 3px 5px rgba(0,0,0,0.2),inset 0px -10px 20px rgba(0,0,0,0.07);border-left:1px solid #ccc;} 251 | 252 | /*--------------------------------- 253 | STYLES 254 | -----------------------------------*/ 255 | .pill{border-radius:200em;} 256 | .pop{box-shadow:0px 1px 5px rgba(0,0,0,0.2);} 257 | .inset{box-shadow:inset 0px 1px 3px rgba(0,0,0,0.3);} 258 | .square{-moz-border-radius:0;-webkit-border-radius:0;-o-border-radius:0;border-radius:0;} 259 | 260 | /*--------------------------------- 261 | ORANGE 262 | -----------------------------------*/ 263 | button.orange, 264 | a.btn.orange, 265 | a.button.orange, 266 | input[type=submit].orange, 267 | input[type=reset].orange, 268 | input[type=button].orange{ 269 | text-shadow:0 -1px 0 #FC730A; 270 | color:#fff; 271 | border:1px solid #FC730A; 272 | background: rgb(255,168,76); /* Old browsers */ 273 | background: -moz-linear-gradient(top, rgba(255,168,76,1) 0%, rgba(255,123,13,1) 100%); /* FF3.6+ */ 274 | background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,168,76,1)), color-stop(100%,rgba(255,123,13,1))); /* Chrome,Safari4+ */ 275 | background: -webkit-linear-gradient(top, rgba(255,168,76,1) 0%,rgba(255,123,13,1) 100%); /* Chrome10+,Safari5.1+ */ 276 | background: -o-linear-gradient(top, rgba(255,168,76,1) 0%,rgba(255,123,13,1) 100%); /* Opera 11.10+ */ 277 | background: -ms-linear-gradient(top, rgba(255,168,76,1) 0%,rgba(255,123,13,1) 100%); /* IE10+ */ 278 | background: linear-gradient(top, rgba(255,168,76,1) 0%,rgba(255,123,13,1) 100%); /* W3C */ 279 | filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffa84c', endColorstr='#ff7b0d',GradientType=0 ); /* IE6-9 */ 280 | } 281 | 282 | button.orange:hover, 283 | a.btn.orange:hover, 284 | a.button.orange:hover{ 285 | text-shadow:0 1px 0 #FC730A; 286 | border:1px solid #FC730A; 287 | background: rgb(249,191,74); /* Old browsers */ 288 | background: -moz-linear-gradient(top, rgba(249,191,74,1) 0%, rgba(249,181,9,1) 100%); /* FF3.6+ */ 289 | background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(249,191,74,1)), color-stop(100%,rgba(249,181,9,1))); /* Chrome,Safari4+ */ 290 | background: -webkit-linear-gradient(top, rgba(249,191,74,1) 0%,rgba(249,181,9,1) 100%); /* Chrome10+,Safari5.1+ */ 291 | background: -o-linear-gradient(top, rgba(249,191,74,1) 0%,rgba(249,181,9,1) 100%); /* Opera 11.10+ */ 292 | background: -ms-linear-gradient(top, rgba(249,191,74,1) 0%,rgba(249,181,9,1) 100%); /* IE10+ */ 293 | background: linear-gradient(top, rgba(249,191,74,1) 0%,rgba(249,181,9,1) 100%); /* W3C */ 294 | filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f9bf4a', endColorstr='#f9b509',GradientType=0 ); /* IE6-9 */ 295 | } 296 | 297 | /*--------------------------------- 298 | BLUE 299 | -----------------------------------*/ 300 | button.blue, 301 | a.btn.blue, 302 | a.button.blue, 303 | input[type=submit].blue, 304 | input[type=reset].blue, 305 | input[type=button].blue{ 306 | text-shadow:0 -1px 0 #1D6DC1; 307 | color:#fff; 308 | border:1px solid #1D6DC1; 309 | background: rgb(122,188,255); /* Old browsers */ 310 | background: -moz-linear-gradient(top, rgba(122,188,255,1) 0%, rgba(96,171,248,1) 44%, rgba(64,150,238,1) 100%); /* FF3.6+ */ 311 | background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(122,188,255,1)), color-stop(44%,rgba(96,171,248,1)), color-stop(100%,rgba(64,150,238,1))); /* Chrome,Safari4+ */ 312 | background: -webkit-linear-gradient(top, rgba(122,188,255,1) 0%,rgba(96,171,248,1) 44%,rgba(64,150,238,1) 100%); /* Chrome10+,Safari5.1+ */ 313 | background: -o-linear-gradient(top, rgba(122,188,255,1) 0%,rgba(96,171,248,1) 44%,rgba(64,150,238,1) 100%); /* Opera11.10+ */ 314 | background: -ms-linear-gradient(top, rgba(122,188,255,1) 0%,rgba(96,171,248,1) 44%,rgba(64,150,238,1) 100%); /* IE10+ */ 315 | filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#7abcff', endColorstr='#4096ee',GradientType=0 ); /* IE6-9 */ 316 | background: linear-gradient(top, rgba(122,188,255,1) 0%,rgba(96,171,248,1) 44%,rgba(64,150,238,1) 100%); /* W3C */ 317 | } 318 | 319 | button.blue:hover, 320 | a.btn.blue:hover, 321 | a.button.blue:hover{ 322 | text-shadow:0 1px 0 #1D6DC1; 323 | border:1px solid #1D6DC1; 324 | background: rgb(155,205,255); /* Old browsers */ 325 | background: -moz-linear-gradient(top, rgba(155,205,255,1) 0%, rgba(134,192,250,1) 44%, rgba(110,176,242,1) 100%); /* FF3.6+ */ 326 | background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(155,205,255,1)), color-stop(44%,rgba(134,192,250,1)), color-stop(100%,rgba(110,176,242,1))); /* Chrome,Safari4+ */ 327 | background: -webkit-linear-gradient(top, rgba(155,205,255,1) 0%,rgba(134,192,250,1) 44%,rgba(110,176,242,1) 100%); /* Chrome10+,Safari5.1+ */ 328 | background: -o-linear-gradient(top, rgba(155,205,255,1) 0%,rgba(134,192,250,1) 44%,rgba(110,176,242,1) 100%); /* Opera 11.10+ */ 329 | background: -ms-linear-gradient(top, rgba(155,205,255,1) 0%,rgba(134,192,250,1) 44%,rgba(110,176,242,1) 100%); /* IE10+ */ 330 | background: linear-gradient(top, rgba(155,205,255,1) 0%,rgba(134,192,250,1) 44%,rgba(110,176,242,1) 100%); /* W3C */ 331 | filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#9bcdff', endColorstr='#6eb0f2',GradientType=0 ); /* IE6-9 */ 332 | } 333 | 334 | /*--------------------------------- 335 | PINK 336 | -----------------------------------*/ 337 | button.pink, 338 | a.btn.pink, 339 | a.button.pink, 340 | input[type=submit].pink, 341 | input[type=reset].pink, 342 | input[type=button].pink{ 343 | text-shadow:0 -1px 0 #EF0251; 344 | color:#fff; 345 | border:1px solid #EF0251; 346 | background: rgb(255,93,177); /* Old browsers */ 347 | background: -moz-linear-gradient(top, rgba(255,93,177,1) 0%, rgba(239,1,124,1) 100%); /* FF3.6+ */ 348 | background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,93,177,1)), color-stop(100%,rgba(239,1,124,1))); /* Chrome,Safari4+ */ 349 | background: -webkit-linear-gradient(top, rgba(255,93,177,1) 0%,rgba(239,1,124,1) 100%); /* Chrome10+,Safari5.1+ */ 350 | background: -o-linear-gradient(top, rgba(255,93,177,1) 0%,rgba(239,1,124,1) 100%); /* Opera 11.10+ */ 351 | background: -ms-linear-gradient(top, rgba(255,93,177,1) 0%,rgba(239,1,124,1) 100%); /* IE10+ */ 352 | background: linear-gradient(top, rgba(255,93,177,1) 0%,rgba(239,1,124,1) 100%); /* W3C */ 353 | filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ff5db1', endColorstr='#ef017c',GradientType=0 ); /* IE6-9 */ 354 | } 355 | 356 | button.pink:hover, 357 | a.btn.pink:hover, 358 | a.button.pink:hover{ 359 | text-shadow:0 1px 0 #EF0251; 360 | border:1px solid #EF0251; 361 | background: rgb(255,169,213); /* Old browsers */ 362 | background: -moz-linear-gradient(top, rgba(255,169,213,1) 0%, rgba(254,112,185,1) 100%); /* FF3.6+ */ 363 | background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,169,213,1)), color-stop(100%,rgba(254,112,185,1))); /* Chrome,Safari4+ */ 364 | background: -webkit-linear-gradient(top, rgba(255,169,213,1) 0%,rgba(254,112,185,1) 100%); /* Chrome10+,Safari5.1+ */ 365 | background: -o-linear-gradient(top, rgba(255,169,213,1) 0%,rgba(254,112,185,1) 100%); /* Opera 11.10+ */ 366 | background: -ms-linear-gradient(top, rgba(255,169,213,1) 0%,rgba(254,112,185,1) 100%); /* IE10+ */ 367 | background: linear-gradient(top, rgba(255,169,213,1) 0%,rgba(254,112,185,1) 100%); /* W3C */ 368 | filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffa9d5', endColorstr='#fe70b9',GradientType=0 ); /* IE6-9 */ 369 | } 370 | 371 | /*--------------------------------- 372 | GREEN 373 | -----------------------------------*/ 374 | button.green, 375 | a.btn.green, 376 | a.button.green, 377 | input[type=submit].green, 378 | input[type=reset].green, 379 | input[type=button].green{ 380 | text-shadow:0 -1px 0 #669E00; 381 | color:#fff; 382 | border:1px solid #669E00; 383 | background: rgb(143,196,0); /* Old browsers */ 384 | background: -moz-linear-gradient(top, rgba(143,196,0,1) 0%, rgba(107,165,0,1) 100%); /* FF3.6+ */ 385 | background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(143,196,0,1)), color-stop(100%,rgba(107,165,0,1))); /* Chrome,Safari4+ */ 386 | background: -webkit-linear-gradient(top, rgba(143,196,0,1) 0%,rgba(107,165,0,1) 100%); /* Chrome10+,Safari5.1+ */ 387 | background: -o-linear-gradient(top, rgba(143,196,0,1) 0%,rgba(107,165,0,1) 100%); /* Opera 11.10+ */ 388 | background: -ms-linear-gradient(top, rgba(143,196,0,1) 0%,rgba(107,165,0,1) 100%); /* IE10+ */ 389 | background: linear-gradient(top, rgba(143,196,0,1) 0%,rgba(107,165,0,1) 100%); /* W3C */ 390 | filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#8fc400', endColorstr='#6ba500',GradientType=0 ); /* IE6-9 */ 391 | } 392 | 393 | button.green:hover, 394 | a.btn.green:hover, 395 | a.button.green:hover{ 396 | text-shadow:0 1px 0 #669E00; 397 | border:1px solid #669E00; 398 | background: rgb(198,226,120); /* Old browsers */ 399 | background: -moz-linear-gradient(top, rgba(198,226,120,1) 0%, rgba(167,211,44,1) 100%); /* FF3.6+ */ 400 | background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(198,226,120,1)), color-stop(100%,rgba(167,211,44,1))); /* Chrome,Safari4+ */ 401 | background: -webkit-linear-gradient(top, rgba(198,226,120,1) 0%,rgba(167,211,44,1) 100%); /* Chrome10+,Safari5.1+ */ 402 | background: -o-linear-gradient(top, rgba(198,226,120,1) 0%,rgba(167,211,44,1) 100%); /* Opera 11.10+ */ 403 | background: -ms-linear-gradient(top, rgba(198,226,120,1) 0%,rgba(167,211,44,1) 100%); /* IE10+ */ 404 | background: linear-gradient(top, rgba(198,226,120,1) 0%,rgba(167,211,44,1) 100%); /* W3C */ 405 | filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#c6e278', endColorstr='#a7d32c',GradientType=0 ); /* IE6-9 */ 406 | } 407 | 408 | /*--------------------------------- 409 | RED 410 | -----------------------------------*/ 411 | button.red, 412 | a.btn.red, 413 | a.button.red, 414 | input[type=submit].red, 415 | input[type=reset].red, 416 | input[type=button].red{ 417 | text-shadow:0 -1px 0 #B21203; 418 | color:#fff; 419 | border:1px solid #B21203; 420 | background: rgb(229,60,22); /* Old browsers */ 421 | background: -moz-linear-gradient(top, rgba(229,60,22,1) 0%, rgba(207,4,4,1) 100%); /* FF3.6+ */ 422 | background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(229,60,22,1)), color-stop(100%,rgba(207,4,4,1))); /* Chrome,Safari4+ */ 423 | background: -webkit-linear-gradient(top, rgba(229,60,22,1) 0%,rgba(207,4,4,1) 100%); /* Chrome10+,Safari5.1+ */ 424 | background: -o-linear-gradient(top, rgba(229,60,22,1) 0%,rgba(207,4,4,1) 100%); /* Opera 11.10+ */ 425 | background: -ms-linear-gradient(top, rgba(229,60,22,1) 0%,rgba(207,4,4,1) 100%); /* IE10+ */ 426 | background: linear-gradient(top, rgba(229,60,22,1) 0%,rgba(207,4,4,1) 100%); /* W3C */ 427 | filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e53c16', endColorstr='#cf0404',GradientType=0 ); /* IE6-9 */ 428 | } 429 | 430 | button.red:hover, 431 | a.btn.red:hover, 432 | a.button.red:hover{ 433 | text-shadow:0 1px 0 #B21203; 434 | border:1px solid #B21203; 435 | background: rgb(238,106,76); /* Old browsers */ 436 | background: -moz-linear-gradient(top, rgba(238,106,76,1) 0%, rgba(251,33,33,1) 100%); /* FF3.6+ */ 437 | background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(238,106,76,1)), color-stop(100%,rgba(251,33,33,1))); /* Chrome,Safari4+ */ 438 | background: -webkit-linear-gradient(top, rgba(238,106,76,1) 0%,rgba(251,33,33,1) 100%); /* Chrome10+,Safari5.1+ */ 439 | background: -o-linear-gradient(top, rgba(238,106,76,1) 0%,rgba(251,33,33,1) 100%); /* Opera 11.10+ */ 440 | background: -ms-linear-gradient(top, rgba(238,106,76,1) 0%,rgba(251,33,33,1) 100%); /* IE10+ */ 441 | background: linear-gradient(top, rgba(238,106,76,1) 0%,rgba(251,33,33,1) 100%); /* W3C */ 442 | filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ee6a4c', endColorstr='#fb2121',GradientType=0 ); /* IE6-9 */ 443 | } --------------------------------------------------------------------------------