├── README.md ├── assets ├── css │ ├── bootstrap-theme.css │ ├── bootstrap-theme.css.map │ ├── bootstrap-theme.min.css │ ├── bootstrap-theme.min.css.map │ ├── bootstrap.css │ ├── bootstrap.css.map │ ├── bootstrap.min.css │ ├── bootstrap.min.css.map │ ├── cal-heatmap.css │ ├── font-awesome.css │ ├── font-awesome.min.css │ ├── index.css │ ├── post.css │ ├── search.css │ └── shared.css ├── fonts │ ├── Collegiate.eot │ ├── Collegiate.ttf │ ├── Collegiate.woff │ ├── FontAwesome.otf │ ├── fontawesome-webfont.eot │ ├── fontawesome-webfont.svg │ ├── fontawesome-webfont.ttf │ ├── fontawesome-webfont.woff │ ├── fontawesome-webfont.woff2 │ ├── glyphicons-halflings-regular.eot │ ├── glyphicons-halflings-regular.svg │ ├── glyphicons-halflings-regular.ttf │ ├── glyphicons-halflings-regular.woff │ ├── glyphicons-halflings-regular.woff2 │ ├── octicons-regular-webfont.eot │ ├── octicons-regular-webfont.ttf │ └── octicons-regular-webfont.woff ├── img │ └── .gitkeep ├── js │ ├── bootstrap.js │ ├── bootstrap.min.js │ ├── cal-heatmap.min.js │ ├── customizer.js │ ├── d3.v3.min.js │ ├── index.js │ ├── list.min.js │ ├── npm.js │ ├── post.js │ ├── search.js │ └── stargaze.js └── screenshots │ ├── screenshot-1.png │ ├── screenshot-10.png │ ├── screenshot-11.png │ ├── screenshot-12.gif │ ├── screenshot-2.png │ ├── screenshot-3.png │ ├── screenshot-4.png │ ├── screenshot-5.png │ ├── screenshot-6.gif │ ├── screenshot-7.png │ ├── screenshot-8.gif │ └── screenshot-9.png ├── author.php ├── footer.php ├── functions.php ├── header.php ├── home-page.php ├── inc ├── customizer.php ├── data-provider-interface.php ├── data-provider.php ├── pagination.php ├── profile-fields.php ├── providers │ ├── home.php │ └── profile.php └── stargazer.php ├── index.php ├── languages └── default.pot ├── page.php ├── readme.txt ├── screenshot.png ├── search.php ├── single.php ├── style.css └── template-parts ├── latest-activities.php ├── latest-posts.php ├── popular-posts.php ├── post-feed.php └── profile.php /README.md: -------------------------------------------------------------------------------- 1 | # WP-Git 2 | 3 | 4 | Requires at least: 4.5 5 | 6 | 7 | ## Origin Story 8 | A few years ago my colleague [@s](https://github.com/s) and I wanted to build WordPress theme which looks like Github. We planned as weekend project but it took more than 2+ years. (Apology folks) 9 | 10 | ## Warnings 11 | - This theme shows post revisions publicly, be careful. 12 | 13 | ## Features 14 | 15 | ### A home page you like 16 | ![Homepage like Github](https://raw.githubusercontent.com/mustafauysal/wp-git/master/assets/screenshots/screenshot-1.png) 17 | ![Mobile friendly](https://raw.githubusercontent.com/mustafauysal/wp-git/master/assets/screenshots/screenshot-2.png) 18 | 19 | ### Author Template 20 | ![mustafa](https://raw.githubusercontent.com/mustafauysal/wp-git/master/assets/screenshots/screenshot-3.png) ![said](https://raw.githubusercontent.com/mustafauysal/wp-git/master/assets/screenshots/screenshot-4.png) 21 | 22 | ### Activity Calendar 23 | ![Activity Calendar](https://raw.githubusercontent.com/mustafauysal/wp-git/master/assets/screenshots/screenshot-5.png) 24 | 25 | You can use `wp_git_post_types` filter to add custom post type support, theme counts `'post', 'page', 'revision'` as default. 26 | 27 | ### Inline Search 28 | ![Inline Search](https://raw.githubusercontent.com/mustafauysal/wp-git/master/assets/screenshots/screenshot-6.gif) 29 | 30 | ### Activity Feed 31 | ![Activity Feed](https://raw.githubusercontent.com/mustafauysal/wp-git/master/assets/screenshots/screenshot-7.png) 32 | 33 | ### Hello Stargazers 34 | ![Stargazears](https://raw.githubusercontent.com/mustafauysal/wp-git/master/assets/screenshots/screenshot-8.gif) 35 | 36 | Starring posts easy, don't need extra plugin. Logged in? or not, doesn't matter. 37 | 38 | ### Simple Comments 39 | ![Comments](https://raw.githubusercontent.com/mustafauysal/wp-git/master/assets/screenshots/screenshot-9.png) 40 | 41 | ### Revisions 42 | ![Revisions](https://raw.githubusercontent.com/mustafauysal/wp-git/master/assets/screenshots/screenshot-10.png) 43 | 44 | ### Diff Comparison like a Boss 45 | ![Revisions](https://raw.githubusercontent.com/mustafauysal/wp-git/master/assets/screenshots/screenshot-11.png) 46 | 47 | ### Customizer 48 | ![Customizer](https://raw.githubusercontent.com/mustafauysal/wp-git/master/assets/screenshots/screenshot-12.gif) 49 | 50 | Homepage supports customizer. 51 | 52 | 53 | 54 | ## Credits 55 | * Based on Bootstrap http://getbootstrap.com/, Bootstrap is released under the MIT license and is copyright 2016 Twitter, [MIT](http://opensource.org/licenses/MIT) 56 | * Cal-HeatMap http://cal-heatmap.com/, Copyright 2014 Wan Qi Chen, [MIT](https://opensource.org/licenses/MIT) 57 | * List.js http://www.listjs.com/, Copyright (c) 2011-2014 Jonny Strömberg, jonnystromberg.com, [MIT](https://opensource.org/licenses/MIT) -------------------------------------------------------------------------------- /assets/css/bootstrap-theme.min.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * Bootstrap v3.3.7 (http://getbootstrap.com) 3 | * Copyright 2011-2016 Twitter, Inc. 4 | * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) 5 | */.btn-danger,.btn-default,.btn-info,.btn-primary,.btn-success,.btn-warning{text-shadow:0 -1px 0 rgba(0,0,0,.2);-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.15),0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 0 rgba(255,255,255,.15),0 1px 1px rgba(0,0,0,.075)}.btn-danger.active,.btn-danger:active,.btn-default.active,.btn-default:active,.btn-info.active,.btn-info:active,.btn-primary.active,.btn-primary:active,.btn-success.active,.btn-success:active,.btn-warning.active,.btn-warning:active{-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,.125);box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.btn-danger.disabled,.btn-danger[disabled],.btn-default.disabled,.btn-default[disabled],.btn-info.disabled,.btn-info[disabled],.btn-primary.disabled,.btn-primary[disabled],.btn-success.disabled,.btn-success[disabled],.btn-warning.disabled,.btn-warning[disabled],fieldset[disabled] .btn-danger,fieldset[disabled] .btn-default,fieldset[disabled] .btn-info,fieldset[disabled] .btn-primary,fieldset[disabled] .btn-success,fieldset[disabled] .btn-warning{-webkit-box-shadow:none;box-shadow:none}.btn-danger .badge,.btn-default .badge,.btn-info .badge,.btn-primary .badge,.btn-success .badge,.btn-warning .badge{text-shadow:none}.btn.active,.btn:active{background-image:none}.btn-default{text-shadow:0 1px 0 #fff;background-image:-webkit-linear-gradient(top,#fff 0,#e0e0e0 100%);background-image:-o-linear-gradient(top,#fff 0,#e0e0e0 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#fff),to(#e0e0e0));background-image:linear-gradient(to bottom,#fff 0,#e0e0e0 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe0e0e0', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);background-repeat:repeat-x;border-color:#dbdbdb;border-color:#ccc}.btn-default:focus,.btn-default:hover{background-color:#e0e0e0;background-position:0 -15px}.btn-default.active,.btn-default:active{background-color:#e0e0e0;border-color:#dbdbdb}.btn-default.disabled,.btn-default.disabled.active,.btn-default.disabled.focus,.btn-default.disabled:active,.btn-default.disabled:focus,.btn-default.disabled:hover,.btn-default[disabled],.btn-default[disabled].active,.btn-default[disabled].focus,.btn-default[disabled]:active,.btn-default[disabled]:focus,.btn-default[disabled]:hover,fieldset[disabled] .btn-default,fieldset[disabled] .btn-default.active,fieldset[disabled] .btn-default.focus,fieldset[disabled] .btn-default:active,fieldset[disabled] .btn-default:focus,fieldset[disabled] .btn-default:hover{background-color:#e0e0e0;background-image:none}.btn-primary{background-image:-webkit-linear-gradient(top,#337ab7 0,#265a88 100%);background-image:-o-linear-gradient(top,#337ab7 0,#265a88 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#337ab7),to(#265a88));background-image:linear-gradient(to bottom,#337ab7 0,#265a88 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff265a88', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);background-repeat:repeat-x;border-color:#245580}.btn-primary:focus,.btn-primary:hover{background-color:#265a88;background-position:0 -15px}.btn-primary.active,.btn-primary:active{background-color:#265a88;border-color:#245580}.btn-primary.disabled,.btn-primary.disabled.active,.btn-primary.disabled.focus,.btn-primary.disabled:active,.btn-primary.disabled:focus,.btn-primary.disabled:hover,.btn-primary[disabled],.btn-primary[disabled].active,.btn-primary[disabled].focus,.btn-primary[disabled]:active,.btn-primary[disabled]:focus,.btn-primary[disabled]:hover,fieldset[disabled] .btn-primary,fieldset[disabled] .btn-primary.active,fieldset[disabled] .btn-primary.focus,fieldset[disabled] .btn-primary:active,fieldset[disabled] .btn-primary:focus,fieldset[disabled] .btn-primary:hover{background-color:#265a88;background-image:none}.btn-success{background-image:-webkit-linear-gradient(top,#5cb85c 0,#419641 100%);background-image:-o-linear-gradient(top,#5cb85c 0,#419641 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#5cb85c),to(#419641));background-image:linear-gradient(to bottom,#5cb85c 0,#419641 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5cb85c', endColorstr='#ff419641', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);background-repeat:repeat-x;border-color:#3e8f3e}.btn-success:focus,.btn-success:hover{background-color:#419641;background-position:0 -15px}.btn-success.active,.btn-success:active{background-color:#419641;border-color:#3e8f3e}.btn-success.disabled,.btn-success.disabled.active,.btn-success.disabled.focus,.btn-success.disabled:active,.btn-success.disabled:focus,.btn-success.disabled:hover,.btn-success[disabled],.btn-success[disabled].active,.btn-success[disabled].focus,.btn-success[disabled]:active,.btn-success[disabled]:focus,.btn-success[disabled]:hover,fieldset[disabled] .btn-success,fieldset[disabled] .btn-success.active,fieldset[disabled] .btn-success.focus,fieldset[disabled] .btn-success:active,fieldset[disabled] .btn-success:focus,fieldset[disabled] .btn-success:hover{background-color:#419641;background-image:none}.btn-info{background-image:-webkit-linear-gradient(top,#5bc0de 0,#2aabd2 100%);background-image:-o-linear-gradient(top,#5bc0de 0,#2aabd2 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#5bc0de),to(#2aabd2));background-image:linear-gradient(to bottom,#5bc0de 0,#2aabd2 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff2aabd2', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);background-repeat:repeat-x;border-color:#28a4c9}.btn-info:focus,.btn-info:hover{background-color:#2aabd2;background-position:0 -15px}.btn-info.active,.btn-info:active{background-color:#2aabd2;border-color:#28a4c9}.btn-info.disabled,.btn-info.disabled.active,.btn-info.disabled.focus,.btn-info.disabled:active,.btn-info.disabled:focus,.btn-info.disabled:hover,.btn-info[disabled],.btn-info[disabled].active,.btn-info[disabled].focus,.btn-info[disabled]:active,.btn-info[disabled]:focus,.btn-info[disabled]:hover,fieldset[disabled] .btn-info,fieldset[disabled] .btn-info.active,fieldset[disabled] .btn-info.focus,fieldset[disabled] .btn-info:active,fieldset[disabled] .btn-info:focus,fieldset[disabled] .btn-info:hover{background-color:#2aabd2;background-image:none}.btn-warning{background-image:-webkit-linear-gradient(top,#f0ad4e 0,#eb9316 100%);background-image:-o-linear-gradient(top,#f0ad4e 0,#eb9316 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#f0ad4e),to(#eb9316));background-image:linear-gradient(to bottom,#f0ad4e 0,#eb9316 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff0ad4e', endColorstr='#ffeb9316', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);background-repeat:repeat-x;border-color:#e38d13}.btn-warning:focus,.btn-warning:hover{background-color:#eb9316;background-position:0 -15px}.btn-warning.active,.btn-warning:active{background-color:#eb9316;border-color:#e38d13}.btn-warning.disabled,.btn-warning.disabled.active,.btn-warning.disabled.focus,.btn-warning.disabled:active,.btn-warning.disabled:focus,.btn-warning.disabled:hover,.btn-warning[disabled],.btn-warning[disabled].active,.btn-warning[disabled].focus,.btn-warning[disabled]:active,.btn-warning[disabled]:focus,.btn-warning[disabled]:hover,fieldset[disabled] .btn-warning,fieldset[disabled] .btn-warning.active,fieldset[disabled] .btn-warning.focus,fieldset[disabled] .btn-warning:active,fieldset[disabled] .btn-warning:focus,fieldset[disabled] .btn-warning:hover{background-color:#eb9316;background-image:none}.btn-danger{background-image:-webkit-linear-gradient(top,#d9534f 0,#c12e2a 100%);background-image:-o-linear-gradient(top,#d9534f 0,#c12e2a 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#d9534f),to(#c12e2a));background-image:linear-gradient(to bottom,#d9534f 0,#c12e2a 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9534f', endColorstr='#ffc12e2a', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);background-repeat:repeat-x;border-color:#b92c28}.btn-danger:focus,.btn-danger:hover{background-color:#c12e2a;background-position:0 -15px}.btn-danger.active,.btn-danger:active{background-color:#c12e2a;border-color:#b92c28}.btn-danger.disabled,.btn-danger.disabled.active,.btn-danger.disabled.focus,.btn-danger.disabled:active,.btn-danger.disabled:focus,.btn-danger.disabled:hover,.btn-danger[disabled],.btn-danger[disabled].active,.btn-danger[disabled].focus,.btn-danger[disabled]:active,.btn-danger[disabled]:focus,.btn-danger[disabled]:hover,fieldset[disabled] .btn-danger,fieldset[disabled] .btn-danger.active,fieldset[disabled] .btn-danger.focus,fieldset[disabled] .btn-danger:active,fieldset[disabled] .btn-danger:focus,fieldset[disabled] .btn-danger:hover{background-color:#c12e2a;background-image:none}.img-thumbnail,.thumbnail{-webkit-box-shadow:0 1px 2px rgba(0,0,0,.075);box-shadow:0 1px 2px rgba(0,0,0,.075)}.dropdown-menu>li>a:focus,.dropdown-menu>li>a:hover{background-color:#e8e8e8;background-image:-webkit-linear-gradient(top,#f5f5f5 0,#e8e8e8 100%);background-image:-o-linear-gradient(top,#f5f5f5 0,#e8e8e8 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#f5f5f5),to(#e8e8e8));background-image:linear-gradient(to bottom,#f5f5f5 0,#e8e8e8 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#ffe8e8e8', GradientType=0);background-repeat:repeat-x}.dropdown-menu>.active>a,.dropdown-menu>.active>a:focus,.dropdown-menu>.active>a:hover{background-color:#2e6da4;background-image:-webkit-linear-gradient(top,#337ab7 0,#2e6da4 100%);background-image:-o-linear-gradient(top,#337ab7 0,#2e6da4 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#337ab7),to(#2e6da4));background-image:linear-gradient(to bottom,#337ab7 0,#2e6da4 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff2e6da4', GradientType=0);background-repeat:repeat-x}.navbar-default{background-image:-webkit-linear-gradient(top,#fff 0,#f8f8f8 100%);background-image:-o-linear-gradient(top,#fff 0,#f8f8f8 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#fff),to(#f8f8f8));background-image:linear-gradient(to bottom,#fff 0,#f8f8f8 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#fff8f8f8', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);background-repeat:repeat-x;border-radius:4px;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.15),0 1px 5px rgba(0,0,0,.075);box-shadow:inset 0 1px 0 rgba(255,255,255,.15),0 1px 5px rgba(0,0,0,.075)}.navbar-default .navbar-nav>.active>a,.navbar-default .navbar-nav>.open>a{background-image:-webkit-linear-gradient(top,#dbdbdb 0,#e2e2e2 100%);background-image:-o-linear-gradient(top,#dbdbdb 0,#e2e2e2 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#dbdbdb),to(#e2e2e2));background-image:linear-gradient(to bottom,#dbdbdb 0,#e2e2e2 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdbdbdb', endColorstr='#ffe2e2e2', GradientType=0);background-repeat:repeat-x;-webkit-box-shadow:inset 0 3px 9px rgba(0,0,0,.075);box-shadow:inset 0 3px 9px rgba(0,0,0,.075)}.navbar-brand,.navbar-nav>li>a{text-shadow:0 1px 0 rgba(255,255,255,.25)}.navbar-inverse{background-image:-webkit-linear-gradient(top,#3c3c3c 0,#222 100%);background-image:-o-linear-gradient(top,#3c3c3c 0,#222 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#3c3c3c),to(#222));background-image:linear-gradient(to bottom,#3c3c3c 0,#222 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff3c3c3c', endColorstr='#ff222222', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);background-repeat:repeat-x;border-radius:4px}.navbar-inverse .navbar-nav>.active>a,.navbar-inverse .navbar-nav>.open>a{background-image:-webkit-linear-gradient(top,#080808 0,#0f0f0f 100%);background-image:-o-linear-gradient(top,#080808 0,#0f0f0f 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#080808),to(#0f0f0f));background-image:linear-gradient(to bottom,#080808 0,#0f0f0f 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff080808', endColorstr='#ff0f0f0f', GradientType=0);background-repeat:repeat-x;-webkit-box-shadow:inset 0 3px 9px rgba(0,0,0,.25);box-shadow:inset 0 3px 9px rgba(0,0,0,.25)}.navbar-inverse .navbar-brand,.navbar-inverse .navbar-nav>li>a{text-shadow:0 -1px 0 rgba(0,0,0,.25)}.navbar-fixed-bottom,.navbar-fixed-top,.navbar-static-top{border-radius:0}@media (max-width:767px){.navbar .navbar-nav .open .dropdown-menu>.active>a,.navbar .navbar-nav .open .dropdown-menu>.active>a:focus,.navbar .navbar-nav .open .dropdown-menu>.active>a:hover{color:#fff;background-image:-webkit-linear-gradient(top,#337ab7 0,#2e6da4 100%);background-image:-o-linear-gradient(top,#337ab7 0,#2e6da4 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#337ab7),to(#2e6da4));background-image:linear-gradient(to bottom,#337ab7 0,#2e6da4 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff2e6da4', GradientType=0);background-repeat:repeat-x}}.alert{text-shadow:0 1px 0 rgba(255,255,255,.2);-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.25),0 1px 2px rgba(0,0,0,.05);box-shadow:inset 0 1px 0 rgba(255,255,255,.25),0 1px 2px rgba(0,0,0,.05)}.alert-success{background-image:-webkit-linear-gradient(top,#dff0d8 0,#c8e5bc 100%);background-image:-o-linear-gradient(top,#dff0d8 0,#c8e5bc 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#dff0d8),to(#c8e5bc));background-image:linear-gradient(to bottom,#dff0d8 0,#c8e5bc 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdff0d8', endColorstr='#ffc8e5bc', GradientType=0);background-repeat:repeat-x;border-color:#b2dba1}.alert-info{background-image:-webkit-linear-gradient(top,#d9edf7 0,#b9def0 100%);background-image:-o-linear-gradient(top,#d9edf7 0,#b9def0 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#d9edf7),to(#b9def0));background-image:linear-gradient(to bottom,#d9edf7 0,#b9def0 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9edf7', endColorstr='#ffb9def0', GradientType=0);background-repeat:repeat-x;border-color:#9acfea}.alert-warning{background-image:-webkit-linear-gradient(top,#fcf8e3 0,#f8efc0 100%);background-image:-o-linear-gradient(top,#fcf8e3 0,#f8efc0 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#fcf8e3),to(#f8efc0));background-image:linear-gradient(to bottom,#fcf8e3 0,#f8efc0 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffcf8e3', endColorstr='#fff8efc0', GradientType=0);background-repeat:repeat-x;border-color:#f5e79e}.alert-danger{background-image:-webkit-linear-gradient(top,#f2dede 0,#e7c3c3 100%);background-image:-o-linear-gradient(top,#f2dede 0,#e7c3c3 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#f2dede),to(#e7c3c3));background-image:linear-gradient(to bottom,#f2dede 0,#e7c3c3 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff2dede', endColorstr='#ffe7c3c3', GradientType=0);background-repeat:repeat-x;border-color:#dca7a7}.progress{background-image:-webkit-linear-gradient(top,#ebebeb 0,#f5f5f5 100%);background-image:-o-linear-gradient(top,#ebebeb 0,#f5f5f5 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#ebebeb),to(#f5f5f5));background-image:linear-gradient(to bottom,#ebebeb 0,#f5f5f5 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffebebeb', endColorstr='#fff5f5f5', GradientType=0);background-repeat:repeat-x}.progress-bar{background-image:-webkit-linear-gradient(top,#337ab7 0,#286090 100%);background-image:-o-linear-gradient(top,#337ab7 0,#286090 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#337ab7),to(#286090));background-image:linear-gradient(to bottom,#337ab7 0,#286090 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff286090', GradientType=0);background-repeat:repeat-x}.progress-bar-success{background-image:-webkit-linear-gradient(top,#5cb85c 0,#449d44 100%);background-image:-o-linear-gradient(top,#5cb85c 0,#449d44 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#5cb85c),to(#449d44));background-image:linear-gradient(to bottom,#5cb85c 0,#449d44 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5cb85c', endColorstr='#ff449d44', GradientType=0);background-repeat:repeat-x}.progress-bar-info{background-image:-webkit-linear-gradient(top,#5bc0de 0,#31b0d5 100%);background-image:-o-linear-gradient(top,#5bc0de 0,#31b0d5 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#5bc0de),to(#31b0d5));background-image:linear-gradient(to bottom,#5bc0de 0,#31b0d5 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff31b0d5', GradientType=0);background-repeat:repeat-x}.progress-bar-warning{background-image:-webkit-linear-gradient(top,#f0ad4e 0,#ec971f 100%);background-image:-o-linear-gradient(top,#f0ad4e 0,#ec971f 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#f0ad4e),to(#ec971f));background-image:linear-gradient(to bottom,#f0ad4e 0,#ec971f 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff0ad4e', endColorstr='#ffec971f', GradientType=0);background-repeat:repeat-x}.progress-bar-danger{background-image:-webkit-linear-gradient(top,#d9534f 0,#c9302c 100%);background-image:-o-linear-gradient(top,#d9534f 0,#c9302c 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#d9534f),to(#c9302c));background-image:linear-gradient(to bottom,#d9534f 0,#c9302c 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9534f', endColorstr='#ffc9302c', GradientType=0);background-repeat:repeat-x}.progress-bar-striped{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.list-group{border-radius:4px;-webkit-box-shadow:0 1px 2px rgba(0,0,0,.075);box-shadow:0 1px 2px rgba(0,0,0,.075)}.list-group-item.active,.list-group-item.active:focus,.list-group-item.active:hover{text-shadow:0 -1px 0 #286090;background-image:-webkit-linear-gradient(top,#337ab7 0,#2b669a 100%);background-image:-o-linear-gradient(top,#337ab7 0,#2b669a 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#337ab7),to(#2b669a));background-image:linear-gradient(to bottom,#337ab7 0,#2b669a 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff2b669a', GradientType=0);background-repeat:repeat-x;border-color:#2b669a}.list-group-item.active .badge,.list-group-item.active:focus .badge,.list-group-item.active:hover .badge{text-shadow:none}.panel{-webkit-box-shadow:0 1px 2px rgba(0,0,0,.05);box-shadow:0 1px 2px rgba(0,0,0,.05)}.panel-default>.panel-heading{background-image:-webkit-linear-gradient(top,#f5f5f5 0,#e8e8e8 100%);background-image:-o-linear-gradient(top,#f5f5f5 0,#e8e8e8 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#f5f5f5),to(#e8e8e8));background-image:linear-gradient(to bottom,#f5f5f5 0,#e8e8e8 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#ffe8e8e8', GradientType=0);background-repeat:repeat-x}.panel-primary>.panel-heading{background-image:-webkit-linear-gradient(top,#337ab7 0,#2e6da4 100%);background-image:-o-linear-gradient(top,#337ab7 0,#2e6da4 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#337ab7),to(#2e6da4));background-image:linear-gradient(to bottom,#337ab7 0,#2e6da4 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff2e6da4', GradientType=0);background-repeat:repeat-x}.panel-success>.panel-heading{background-image:-webkit-linear-gradient(top,#dff0d8 0,#d0e9c6 100%);background-image:-o-linear-gradient(top,#dff0d8 0,#d0e9c6 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#dff0d8),to(#d0e9c6));background-image:linear-gradient(to bottom,#dff0d8 0,#d0e9c6 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdff0d8', endColorstr='#ffd0e9c6', GradientType=0);background-repeat:repeat-x}.panel-info>.panel-heading{background-image:-webkit-linear-gradient(top,#d9edf7 0,#c4e3f3 100%);background-image:-o-linear-gradient(top,#d9edf7 0,#c4e3f3 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#d9edf7),to(#c4e3f3));background-image:linear-gradient(to bottom,#d9edf7 0,#c4e3f3 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9edf7', endColorstr='#ffc4e3f3', GradientType=0);background-repeat:repeat-x}.panel-warning>.panel-heading{background-image:-webkit-linear-gradient(top,#fcf8e3 0,#faf2cc 100%);background-image:-o-linear-gradient(top,#fcf8e3 0,#faf2cc 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#fcf8e3),to(#faf2cc));background-image:linear-gradient(to bottom,#fcf8e3 0,#faf2cc 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffcf8e3', endColorstr='#fffaf2cc', GradientType=0);background-repeat:repeat-x}.panel-danger>.panel-heading{background-image:-webkit-linear-gradient(top,#f2dede 0,#ebcccc 100%);background-image:-o-linear-gradient(top,#f2dede 0,#ebcccc 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#f2dede),to(#ebcccc));background-image:linear-gradient(to bottom,#f2dede 0,#ebcccc 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff2dede', endColorstr='#ffebcccc', GradientType=0);background-repeat:repeat-x}.well{background-image:-webkit-linear-gradient(top,#e8e8e8 0,#f5f5f5 100%);background-image:-o-linear-gradient(top,#e8e8e8 0,#f5f5f5 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#e8e8e8),to(#f5f5f5));background-image:linear-gradient(to bottom,#e8e8e8 0,#f5f5f5 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffe8e8e8', endColorstr='#fff5f5f5', GradientType=0);background-repeat:repeat-x;border-color:#dcdcdc;-webkit-box-shadow:inset 0 1px 3px rgba(0,0,0,.05),0 1px 0 rgba(255,255,255,.1);box-shadow:inset 0 1px 3px rgba(0,0,0,.05),0 1px 0 rgba(255,255,255,.1)} 6 | /*# sourceMappingURL=bootstrap-theme.min.css.map */ -------------------------------------------------------------------------------- /assets/css/bootstrap-theme.min.css.map: -------------------------------------------------------------------------------- 1 | {"version":3,"sources":["less/theme.less","less/mixins/vendor-prefixes.less","less/mixins/gradients.less","less/mixins/reset-filter.less"],"names":[],"mappings":";;;;AAmBA,YAAA,aAAA,UAAA,aAAA,aAAA,aAME,YAAA,EAAA,KAAA,EAAA,eC2CA,mBAAA,MAAA,EAAA,IAAA,EAAA,sBAAA,EAAA,IAAA,IAAA,iBACQ,WAAA,MAAA,EAAA,IAAA,EAAA,sBAAA,EAAA,IAAA,IAAA,iBDvCR,mBAAA,mBAAA,oBAAA,oBAAA,iBAAA,iBAAA,oBAAA,oBAAA,oBAAA,oBAAA,oBAAA,oBCsCA,mBAAA,MAAA,EAAA,IAAA,IAAA,iBACQ,WAAA,MAAA,EAAA,IAAA,IAAA,iBDlCR,qBAAA,sBAAA,sBAAA,uBAAA,mBAAA,oBAAA,sBAAA,uBAAA,sBAAA,uBAAA,sBAAA,uBAAA,+BAAA,gCAAA,6BAAA,gCAAA,gCAAA,gCCiCA,mBAAA,KACQ,WAAA,KDlDV,mBAAA,oBAAA,iBAAA,oBAAA,oBAAA,oBAuBI,YAAA,KAyCF,YAAA,YAEE,iBAAA,KAKJ,aErEI,YAAA,EAAA,IAAA,EAAA,KACA,iBAAA,iDACA,iBAAA,4CAAA,iBAAA,qEAEA,iBAAA,+CCnBF,OAAA,+GH4CA,OAAA,0DACA,kBAAA,SAuC2C,aAAA,QAA2B,aAAA,KArCtE,mBAAA,mBAEE,iBAAA,QACA,oBAAA,EAAA,MAGF,oBAAA,oBAEE,iBAAA,QACA,aAAA,QAMA,sBAAA,6BAAA,4BAAA,6BAAA,4BAAA,4BAAA,uBAAA,8BAAA,6BAAA,8BAAA,6BAAA,6BAAA,gCAAA,uCAAA,sCAAA,uCAAA,sCAAA,sCAME,iBAAA,QACA,iBAAA,KAgBN,aEtEI,iBAAA,oDACA,iBAAA,+CACA,iBAAA,wEAAA,iBAAA,kDAEA,OAAA,+GCnBF,OAAA,0DH4CA,kBAAA,SACA,aAAA,QAEA,mBAAA,mBAEE,iBAAA,QACA,oBAAA,EAAA,MAGF,oBAAA,oBAEE,iBAAA,QACA,aAAA,QAMA,sBAAA,6BAAA,4BAAA,6BAAA,4BAAA,4BAAA,uBAAA,8BAAA,6BAAA,8BAAA,6BAAA,6BAAA,gCAAA,uCAAA,sCAAA,uCAAA,sCAAA,sCAME,iBAAA,QACA,iBAAA,KAiBN,aEvEI,iBAAA,oDACA,iBAAA,+CACA,iBAAA,wEAAA,iBAAA,kDAEA,OAAA,+GCnBF,OAAA,0DH4CA,kBAAA,SACA,aAAA,QAEA,mBAAA,mBAEE,iBAAA,QACA,oBAAA,EAAA,MAGF,oBAAA,oBAEE,iBAAA,QACA,aAAA,QAMA,sBAAA,6BAAA,4BAAA,6BAAA,4BAAA,4BAAA,uBAAA,8BAAA,6BAAA,8BAAA,6BAAA,6BAAA,gCAAA,uCAAA,sCAAA,uCAAA,sCAAA,sCAME,iBAAA,QACA,iBAAA,KAkBN,UExEI,iBAAA,oDACA,iBAAA,+CACA,iBAAA,wEAAA,iBAAA,kDAEA,OAAA,+GCnBF,OAAA,0DH4CA,kBAAA,SACA,aAAA,QAEA,gBAAA,gBAEE,iBAAA,QACA,oBAAA,EAAA,MAGF,iBAAA,iBAEE,iBAAA,QACA,aAAA,QAMA,mBAAA,0BAAA,yBAAA,0BAAA,yBAAA,yBAAA,oBAAA,2BAAA,0BAAA,2BAAA,0BAAA,0BAAA,6BAAA,oCAAA,mCAAA,oCAAA,mCAAA,mCAME,iBAAA,QACA,iBAAA,KAmBN,aEzEI,iBAAA,oDACA,iBAAA,+CACA,iBAAA,wEAAA,iBAAA,kDAEA,OAAA,+GCnBF,OAAA,0DH4CA,kBAAA,SACA,aAAA,QAEA,mBAAA,mBAEE,iBAAA,QACA,oBAAA,EAAA,MAGF,oBAAA,oBAEE,iBAAA,QACA,aAAA,QAMA,sBAAA,6BAAA,4BAAA,6BAAA,4BAAA,4BAAA,uBAAA,8BAAA,6BAAA,8BAAA,6BAAA,6BAAA,gCAAA,uCAAA,sCAAA,uCAAA,sCAAA,sCAME,iBAAA,QACA,iBAAA,KAoBN,YE1EI,iBAAA,oDACA,iBAAA,+CACA,iBAAA,wEAAA,iBAAA,kDAEA,OAAA,+GCnBF,OAAA,0DH4CA,kBAAA,SACA,aAAA,QAEA,kBAAA,kBAEE,iBAAA,QACA,oBAAA,EAAA,MAGF,mBAAA,mBAEE,iBAAA,QACA,aAAA,QAMA,qBAAA,4BAAA,2BAAA,4BAAA,2BAAA,2BAAA,sBAAA,6BAAA,4BAAA,6BAAA,4BAAA,4BAAA,+BAAA,sCAAA,qCAAA,sCAAA,qCAAA,qCAME,iBAAA,QACA,iBAAA,KA2BN,eAAA,WClCE,mBAAA,EAAA,IAAA,IAAA,iBACQ,WAAA,EAAA,IAAA,IAAA,iBD2CV,0BAAA,0BE3FI,iBAAA,QACA,iBAAA,oDACA,iBAAA,+CAAA,iBAAA,wEACA,iBAAA,kDACA,OAAA,+GF0FF,kBAAA,SAEF,yBAAA,+BAAA,+BEhGI,iBAAA,QACA,iBAAA,oDACA,iBAAA,+CAAA,iBAAA,wEACA,iBAAA,kDACA,OAAA,+GFgGF,kBAAA,SASF,gBE7GI,iBAAA,iDACA,iBAAA,4CACA,iBAAA,qEAAA,iBAAA,+CACA,OAAA,+GACA,OAAA,0DCnBF,kBAAA,SH+HA,cAAA,ICjEA,mBAAA,MAAA,EAAA,IAAA,EAAA,sBAAA,EAAA,IAAA,IAAA,iBACQ,WAAA,MAAA,EAAA,IAAA,EAAA,sBAAA,EAAA,IAAA,IAAA,iBD6DV,sCAAA,oCE7GI,iBAAA,oDACA,iBAAA,+CACA,iBAAA,wEAAA,iBAAA,kDACA,OAAA,+GACA,kBAAA,SD2CF,mBAAA,MAAA,EAAA,IAAA,IAAA,iBACQ,WAAA,MAAA,EAAA,IAAA,IAAA,iBD0EV,cAAA,iBAEE,YAAA,EAAA,IAAA,EAAA,sBAIF,gBEhII,iBAAA,iDACA,iBAAA,4CACA,iBAAA,qEAAA,iBAAA,+CACA,OAAA,+GACA,OAAA,0DCnBF,kBAAA,SHkJA,cAAA,IAHF,sCAAA,oCEhII,iBAAA,oDACA,iBAAA,+CACA,iBAAA,wEAAA,iBAAA,kDACA,OAAA,+GACA,kBAAA,SD2CF,mBAAA,MAAA,EAAA,IAAA,IAAA,gBACQ,WAAA,MAAA,EAAA,IAAA,IAAA,gBDgFV,8BAAA,iCAYI,YAAA,EAAA,KAAA,EAAA,gBAKJ,qBAAA,kBAAA,mBAGE,cAAA,EAqBF,yBAfI,mDAAA,yDAAA,yDAGE,MAAA,KE7JF,iBAAA,oDACA,iBAAA,+CACA,iBAAA,wEAAA,iBAAA,kDACA,OAAA,+GACA,kBAAA,UFqKJ,OACE,YAAA,EAAA,IAAA,EAAA,qBC3HA,mBAAA,MAAA,EAAA,IAAA,EAAA,sBAAA,EAAA,IAAA,IAAA,gBACQ,WAAA,MAAA,EAAA,IAAA,EAAA,sBAAA,EAAA,IAAA,IAAA,gBDsIV,eEtLI,iBAAA,oDACA,iBAAA,+CACA,iBAAA,wEAAA,iBAAA,kDACA,OAAA,+GACA,kBAAA,SF8KF,aAAA,QAKF,YEvLI,iBAAA,oDACA,iBAAA,+CACA,iBAAA,wEAAA,iBAAA,kDACA,OAAA,+GACA,kBAAA,SF8KF,aAAA,QAMF,eExLI,iBAAA,oDACA,iBAAA,+CACA,iBAAA,wEAAA,iBAAA,kDACA,OAAA,+GACA,kBAAA,SF8KF,aAAA,QAOF,cEzLI,iBAAA,oDACA,iBAAA,+CACA,iBAAA,wEAAA,iBAAA,kDACA,OAAA,+GACA,kBAAA,SF8KF,aAAA,QAeF,UEjMI,iBAAA,oDACA,iBAAA,+CACA,iBAAA,wEAAA,iBAAA,kDACA,OAAA,+GACA,kBAAA,SFuMJ,cE3MI,iBAAA,oDACA,iBAAA,+CACA,iBAAA,wEAAA,iBAAA,kDACA,OAAA,+GACA,kBAAA,SFwMJ,sBE5MI,iBAAA,oDACA,iBAAA,+CACA,iBAAA,wEAAA,iBAAA,kDACA,OAAA,+GACA,kBAAA,SFyMJ,mBE7MI,iBAAA,oDACA,iBAAA,+CACA,iBAAA,wEAAA,iBAAA,kDACA,OAAA,+GACA,kBAAA,SF0MJ,sBE9MI,iBAAA,oDACA,iBAAA,+CACA,iBAAA,wEAAA,iBAAA,kDACA,OAAA,+GACA,kBAAA,SF2MJ,qBE/MI,iBAAA,oDACA,iBAAA,+CACA,iBAAA,wEAAA,iBAAA,kDACA,OAAA,+GACA,kBAAA,SF+MJ,sBElLI,iBAAA,yKACA,iBAAA,oKACA,iBAAA,iKFyLJ,YACE,cAAA,IC9KA,mBAAA,EAAA,IAAA,IAAA,iBACQ,WAAA,EAAA,IAAA,IAAA,iBDgLV,wBAAA,8BAAA,8BAGE,YAAA,EAAA,KAAA,EAAA,QEnOE,iBAAA,oDACA,iBAAA,+CACA,iBAAA,wEAAA,iBAAA,kDACA,OAAA,+GACA,kBAAA,SFiOF,aAAA,QALF,+BAAA,qCAAA,qCAQI,YAAA,KAUJ,OCnME,mBAAA,EAAA,IAAA,IAAA,gBACQ,WAAA,EAAA,IAAA,IAAA,gBD4MV,8BE5PI,iBAAA,oDACA,iBAAA,+CACA,iBAAA,wEAAA,iBAAA,kDACA,OAAA,+GACA,kBAAA,SFyPJ,8BE7PI,iBAAA,oDACA,iBAAA,+CACA,iBAAA,wEAAA,iBAAA,kDACA,OAAA,+GACA,kBAAA,SF0PJ,8BE9PI,iBAAA,oDACA,iBAAA,+CACA,iBAAA,wEAAA,iBAAA,kDACA,OAAA,+GACA,kBAAA,SF2PJ,2BE/PI,iBAAA,oDACA,iBAAA,+CACA,iBAAA,wEAAA,iBAAA,kDACA,OAAA,+GACA,kBAAA,SF4PJ,8BEhQI,iBAAA,oDACA,iBAAA,+CACA,iBAAA,wEAAA,iBAAA,kDACA,OAAA,+GACA,kBAAA,SF6PJ,6BEjQI,iBAAA,oDACA,iBAAA,+CACA,iBAAA,wEAAA,iBAAA,kDACA,OAAA,+GACA,kBAAA,SFoQJ,MExQI,iBAAA,oDACA,iBAAA,+CACA,iBAAA,wEAAA,iBAAA,kDACA,OAAA,+GACA,kBAAA,SFsQF,aAAA,QC3NA,mBAAA,MAAA,EAAA,IAAA,IAAA,gBAAA,EAAA,IAAA,EAAA,qBACQ,WAAA,MAAA,EAAA,IAAA,IAAA,gBAAA,EAAA,IAAA,EAAA","sourcesContent":["/*!\n * Bootstrap v3.3.7 (http://getbootstrap.com)\n * Copyright 2011-2016 Twitter, Inc.\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)\n */\n\n//\n// Load core variables and mixins\n// --------------------------------------------------\n\n@import \"variables.less\";\n@import \"mixins.less\";\n\n\n//\n// Buttons\n// --------------------------------------------------\n\n// Common styles\n.btn-default,\n.btn-primary,\n.btn-success,\n.btn-info,\n.btn-warning,\n.btn-danger {\n text-shadow: 0 -1px 0 rgba(0,0,0,.2);\n @shadow: inset 0 1px 0 rgba(255,255,255,.15), 0 1px 1px rgba(0,0,0,.075);\n .box-shadow(@shadow);\n\n // Reset the shadow\n &:active,\n &.active {\n .box-shadow(inset 0 3px 5px rgba(0,0,0,.125));\n }\n\n &.disabled,\n &[disabled],\n fieldset[disabled] & {\n .box-shadow(none);\n }\n\n .badge {\n text-shadow: none;\n }\n}\n\n// Mixin for generating new styles\n.btn-styles(@btn-color: #555) {\n #gradient > .vertical(@start-color: @btn-color; @end-color: darken(@btn-color, 12%));\n .reset-filter(); // Disable gradients for IE9 because filter bleeds through rounded corners; see https://github.com/twbs/bootstrap/issues/10620\n background-repeat: repeat-x;\n border-color: darken(@btn-color, 14%);\n\n &:hover,\n &:focus {\n background-color: darken(@btn-color, 12%);\n background-position: 0 -15px;\n }\n\n &:active,\n &.active {\n background-color: darken(@btn-color, 12%);\n border-color: darken(@btn-color, 14%);\n }\n\n &.disabled,\n &[disabled],\n fieldset[disabled] & {\n &,\n &:hover,\n &:focus,\n &.focus,\n &:active,\n &.active {\n background-color: darken(@btn-color, 12%);\n background-image: none;\n }\n }\n}\n\n// Common styles\n.btn {\n // Remove the gradient for the pressed/active state\n &:active,\n &.active {\n background-image: none;\n }\n}\n\n// Apply the mixin to the buttons\n.btn-default { .btn-styles(@btn-default-bg); text-shadow: 0 1px 0 #fff; border-color: #ccc; }\n.btn-primary { .btn-styles(@btn-primary-bg); }\n.btn-success { .btn-styles(@btn-success-bg); }\n.btn-info { .btn-styles(@btn-info-bg); }\n.btn-warning { .btn-styles(@btn-warning-bg); }\n.btn-danger { .btn-styles(@btn-danger-bg); }\n\n\n//\n// Images\n// --------------------------------------------------\n\n.thumbnail,\n.img-thumbnail {\n .box-shadow(0 1px 2px rgba(0,0,0,.075));\n}\n\n\n//\n// Dropdowns\n// --------------------------------------------------\n\n.dropdown-menu > li > a:hover,\n.dropdown-menu > li > a:focus {\n #gradient > .vertical(@start-color: @dropdown-link-hover-bg; @end-color: darken(@dropdown-link-hover-bg, 5%));\n background-color: darken(@dropdown-link-hover-bg, 5%);\n}\n.dropdown-menu > .active > a,\n.dropdown-menu > .active > a:hover,\n.dropdown-menu > .active > a:focus {\n #gradient > .vertical(@start-color: @dropdown-link-active-bg; @end-color: darken(@dropdown-link-active-bg, 5%));\n background-color: darken(@dropdown-link-active-bg, 5%);\n}\n\n\n//\n// Navbar\n// --------------------------------------------------\n\n// Default navbar\n.navbar-default {\n #gradient > .vertical(@start-color: lighten(@navbar-default-bg, 10%); @end-color: @navbar-default-bg);\n .reset-filter(); // Remove gradient in IE<10 to fix bug where dropdowns don't get triggered\n border-radius: @navbar-border-radius;\n @shadow: inset 0 1px 0 rgba(255,255,255,.15), 0 1px 5px rgba(0,0,0,.075);\n .box-shadow(@shadow);\n\n .navbar-nav > .open > a,\n .navbar-nav > .active > a {\n #gradient > .vertical(@start-color: darken(@navbar-default-link-active-bg, 5%); @end-color: darken(@navbar-default-link-active-bg, 2%));\n .box-shadow(inset 0 3px 9px rgba(0,0,0,.075));\n }\n}\n.navbar-brand,\n.navbar-nav > li > a {\n text-shadow: 0 1px 0 rgba(255,255,255,.25);\n}\n\n// Inverted navbar\n.navbar-inverse {\n #gradient > .vertical(@start-color: lighten(@navbar-inverse-bg, 10%); @end-color: @navbar-inverse-bg);\n .reset-filter(); // Remove gradient in IE<10 to fix bug where dropdowns don't get triggered; see https://github.com/twbs/bootstrap/issues/10257\n border-radius: @navbar-border-radius;\n .navbar-nav > .open > a,\n .navbar-nav > .active > a {\n #gradient > .vertical(@start-color: @navbar-inverse-link-active-bg; @end-color: lighten(@navbar-inverse-link-active-bg, 2.5%));\n .box-shadow(inset 0 3px 9px rgba(0,0,0,.25));\n }\n\n .navbar-brand,\n .navbar-nav > li > a {\n text-shadow: 0 -1px 0 rgba(0,0,0,.25);\n }\n}\n\n// Undo rounded corners in static and fixed navbars\n.navbar-static-top,\n.navbar-fixed-top,\n.navbar-fixed-bottom {\n border-radius: 0;\n}\n\n// Fix active state of dropdown items in collapsed mode\n@media (max-width: @grid-float-breakpoint-max) {\n .navbar .navbar-nav .open .dropdown-menu > .active > a {\n &,\n &:hover,\n &:focus {\n color: #fff;\n #gradient > .vertical(@start-color: @dropdown-link-active-bg; @end-color: darken(@dropdown-link-active-bg, 5%));\n }\n }\n}\n\n\n//\n// Alerts\n// --------------------------------------------------\n\n// Common styles\n.alert {\n text-shadow: 0 1px 0 rgba(255,255,255,.2);\n @shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 1px 2px rgba(0,0,0,.05);\n .box-shadow(@shadow);\n}\n\n// Mixin for generating new styles\n.alert-styles(@color) {\n #gradient > .vertical(@start-color: @color; @end-color: darken(@color, 7.5%));\n border-color: darken(@color, 15%);\n}\n\n// Apply the mixin to the alerts\n.alert-success { .alert-styles(@alert-success-bg); }\n.alert-info { .alert-styles(@alert-info-bg); }\n.alert-warning { .alert-styles(@alert-warning-bg); }\n.alert-danger { .alert-styles(@alert-danger-bg); }\n\n\n//\n// Progress bars\n// --------------------------------------------------\n\n// Give the progress background some depth\n.progress {\n #gradient > .vertical(@start-color: darken(@progress-bg, 4%); @end-color: @progress-bg)\n}\n\n// Mixin for generating new styles\n.progress-bar-styles(@color) {\n #gradient > .vertical(@start-color: @color; @end-color: darken(@color, 10%));\n}\n\n// Apply the mixin to the progress bars\n.progress-bar { .progress-bar-styles(@progress-bar-bg); }\n.progress-bar-success { .progress-bar-styles(@progress-bar-success-bg); }\n.progress-bar-info { .progress-bar-styles(@progress-bar-info-bg); }\n.progress-bar-warning { .progress-bar-styles(@progress-bar-warning-bg); }\n.progress-bar-danger { .progress-bar-styles(@progress-bar-danger-bg); }\n\n// Reset the striped class because our mixins don't do multiple gradients and\n// the above custom styles override the new `.progress-bar-striped` in v3.2.0.\n.progress-bar-striped {\n #gradient > .striped();\n}\n\n\n//\n// List groups\n// --------------------------------------------------\n\n.list-group {\n border-radius: @border-radius-base;\n .box-shadow(0 1px 2px rgba(0,0,0,.075));\n}\n.list-group-item.active,\n.list-group-item.active:hover,\n.list-group-item.active:focus {\n text-shadow: 0 -1px 0 darken(@list-group-active-bg, 10%);\n #gradient > .vertical(@start-color: @list-group-active-bg; @end-color: darken(@list-group-active-bg, 7.5%));\n border-color: darken(@list-group-active-border, 7.5%);\n\n .badge {\n text-shadow: none;\n }\n}\n\n\n//\n// Panels\n// --------------------------------------------------\n\n// Common styles\n.panel {\n .box-shadow(0 1px 2px rgba(0,0,0,.05));\n}\n\n// Mixin for generating new styles\n.panel-heading-styles(@color) {\n #gradient > .vertical(@start-color: @color; @end-color: darken(@color, 5%));\n}\n\n// Apply the mixin to the panel headings only\n.panel-default > .panel-heading { .panel-heading-styles(@panel-default-heading-bg); }\n.panel-primary > .panel-heading { .panel-heading-styles(@panel-primary-heading-bg); }\n.panel-success > .panel-heading { .panel-heading-styles(@panel-success-heading-bg); }\n.panel-info > .panel-heading { .panel-heading-styles(@panel-info-heading-bg); }\n.panel-warning > .panel-heading { .panel-heading-styles(@panel-warning-heading-bg); }\n.panel-danger > .panel-heading { .panel-heading-styles(@panel-danger-heading-bg); }\n\n\n//\n// Wells\n// --------------------------------------------------\n\n.well {\n #gradient > .vertical(@start-color: darken(@well-bg, 5%); @end-color: @well-bg);\n border-color: darken(@well-bg, 10%);\n @shadow: inset 0 1px 3px rgba(0,0,0,.05), 0 1px 0 rgba(255,255,255,.1);\n .box-shadow(@shadow);\n}\n","// Vendor Prefixes\n//\n// All vendor mixins are deprecated as of v3.2.0 due to the introduction of\n// Autoprefixer in our Gruntfile. They have been removed in v4.\n\n// - Animations\n// - Backface visibility\n// - Box shadow\n// - Box sizing\n// - Content columns\n// - Hyphens\n// - Placeholder text\n// - Transformations\n// - Transitions\n// - User Select\n\n\n// Animations\n.animation(@animation) {\n -webkit-animation: @animation;\n -o-animation: @animation;\n animation: @animation;\n}\n.animation-name(@name) {\n -webkit-animation-name: @name;\n animation-name: @name;\n}\n.animation-duration(@duration) {\n -webkit-animation-duration: @duration;\n animation-duration: @duration;\n}\n.animation-timing-function(@timing-function) {\n -webkit-animation-timing-function: @timing-function;\n animation-timing-function: @timing-function;\n}\n.animation-delay(@delay) {\n -webkit-animation-delay: @delay;\n animation-delay: @delay;\n}\n.animation-iteration-count(@iteration-count) {\n -webkit-animation-iteration-count: @iteration-count;\n animation-iteration-count: @iteration-count;\n}\n.animation-direction(@direction) {\n -webkit-animation-direction: @direction;\n animation-direction: @direction;\n}\n.animation-fill-mode(@fill-mode) {\n -webkit-animation-fill-mode: @fill-mode;\n animation-fill-mode: @fill-mode;\n}\n\n// Backface visibility\n// Prevent browsers from flickering when using CSS 3D transforms.\n// Default value is `visible`, but can be changed to `hidden`\n\n.backface-visibility(@visibility) {\n -webkit-backface-visibility: @visibility;\n -moz-backface-visibility: @visibility;\n backface-visibility: @visibility;\n}\n\n// Drop shadows\n//\n// Note: Deprecated `.box-shadow()` as of v3.1.0 since all of Bootstrap's\n// supported browsers that have box shadow capabilities now support it.\n\n.box-shadow(@shadow) {\n -webkit-box-shadow: @shadow; // iOS <4.3 & Android <4.1\n box-shadow: @shadow;\n}\n\n// Box sizing\n.box-sizing(@boxmodel) {\n -webkit-box-sizing: @boxmodel;\n -moz-box-sizing: @boxmodel;\n box-sizing: @boxmodel;\n}\n\n// CSS3 Content Columns\n.content-columns(@column-count; @column-gap: @grid-gutter-width) {\n -webkit-column-count: @column-count;\n -moz-column-count: @column-count;\n column-count: @column-count;\n -webkit-column-gap: @column-gap;\n -moz-column-gap: @column-gap;\n column-gap: @column-gap;\n}\n\n// Optional hyphenation\n.hyphens(@mode: auto) {\n word-wrap: break-word;\n -webkit-hyphens: @mode;\n -moz-hyphens: @mode;\n -ms-hyphens: @mode; // IE10+\n -o-hyphens: @mode;\n hyphens: @mode;\n}\n\n// Placeholder text\n.placeholder(@color: @input-color-placeholder) {\n // Firefox\n &::-moz-placeholder {\n color: @color;\n opacity: 1; // Override Firefox's unusual default opacity; see https://github.com/twbs/bootstrap/pull/11526\n }\n &:-ms-input-placeholder { color: @color; } // Internet Explorer 10+\n &::-webkit-input-placeholder { color: @color; } // Safari and Chrome\n}\n\n// Transformations\n.scale(@ratio) {\n -webkit-transform: scale(@ratio);\n -ms-transform: scale(@ratio); // IE9 only\n -o-transform: scale(@ratio);\n transform: scale(@ratio);\n}\n.scale(@ratioX; @ratioY) {\n -webkit-transform: scale(@ratioX, @ratioY);\n -ms-transform: scale(@ratioX, @ratioY); // IE9 only\n -o-transform: scale(@ratioX, @ratioY);\n transform: scale(@ratioX, @ratioY);\n}\n.scaleX(@ratio) {\n -webkit-transform: scaleX(@ratio);\n -ms-transform: scaleX(@ratio); // IE9 only\n -o-transform: scaleX(@ratio);\n transform: scaleX(@ratio);\n}\n.scaleY(@ratio) {\n -webkit-transform: scaleY(@ratio);\n -ms-transform: scaleY(@ratio); // IE9 only\n -o-transform: scaleY(@ratio);\n transform: scaleY(@ratio);\n}\n.skew(@x; @y) {\n -webkit-transform: skewX(@x) skewY(@y);\n -ms-transform: skewX(@x) skewY(@y); // See https://github.com/twbs/bootstrap/issues/4885; IE9+\n -o-transform: skewX(@x) skewY(@y);\n transform: skewX(@x) skewY(@y);\n}\n.translate(@x; @y) {\n -webkit-transform: translate(@x, @y);\n -ms-transform: translate(@x, @y); // IE9 only\n -o-transform: translate(@x, @y);\n transform: translate(@x, @y);\n}\n.translate3d(@x; @y; @z) {\n -webkit-transform: translate3d(@x, @y, @z);\n transform: translate3d(@x, @y, @z);\n}\n.rotate(@degrees) {\n -webkit-transform: rotate(@degrees);\n -ms-transform: rotate(@degrees); // IE9 only\n -o-transform: rotate(@degrees);\n transform: rotate(@degrees);\n}\n.rotateX(@degrees) {\n -webkit-transform: rotateX(@degrees);\n -ms-transform: rotateX(@degrees); // IE9 only\n -o-transform: rotateX(@degrees);\n transform: rotateX(@degrees);\n}\n.rotateY(@degrees) {\n -webkit-transform: rotateY(@degrees);\n -ms-transform: rotateY(@degrees); // IE9 only\n -o-transform: rotateY(@degrees);\n transform: rotateY(@degrees);\n}\n.perspective(@perspective) {\n -webkit-perspective: @perspective;\n -moz-perspective: @perspective;\n perspective: @perspective;\n}\n.perspective-origin(@perspective) {\n -webkit-perspective-origin: @perspective;\n -moz-perspective-origin: @perspective;\n perspective-origin: @perspective;\n}\n.transform-origin(@origin) {\n -webkit-transform-origin: @origin;\n -moz-transform-origin: @origin;\n -ms-transform-origin: @origin; // IE9 only\n transform-origin: @origin;\n}\n\n\n// Transitions\n\n.transition(@transition) {\n -webkit-transition: @transition;\n -o-transition: @transition;\n transition: @transition;\n}\n.transition-property(@transition-property) {\n -webkit-transition-property: @transition-property;\n transition-property: @transition-property;\n}\n.transition-delay(@transition-delay) {\n -webkit-transition-delay: @transition-delay;\n transition-delay: @transition-delay;\n}\n.transition-duration(@transition-duration) {\n -webkit-transition-duration: @transition-duration;\n transition-duration: @transition-duration;\n}\n.transition-timing-function(@timing-function) {\n -webkit-transition-timing-function: @timing-function;\n transition-timing-function: @timing-function;\n}\n.transition-transform(@transition) {\n -webkit-transition: -webkit-transform @transition;\n -moz-transition: -moz-transform @transition;\n -o-transition: -o-transform @transition;\n transition: transform @transition;\n}\n\n\n// User select\n// For selecting text on the page\n\n.user-select(@select) {\n -webkit-user-select: @select;\n -moz-user-select: @select;\n -ms-user-select: @select; // IE10+\n user-select: @select;\n}\n","// Gradients\n\n#gradient {\n\n // Horizontal gradient, from left to right\n //\n // Creates two color stops, start and end, by specifying a color and position for each color stop.\n // Color stops are not available in IE9 and below.\n .horizontal(@start-color: #555; @end-color: #333; @start-percent: 0%; @end-percent: 100%) {\n background-image: -webkit-linear-gradient(left, @start-color @start-percent, @end-color @end-percent); // Safari 5.1-6, Chrome 10+\n background-image: -o-linear-gradient(left, @start-color @start-percent, @end-color @end-percent); // Opera 12\n background-image: linear-gradient(to right, @start-color @start-percent, @end-color @end-percent); // Standard, IE10, Firefox 16+, Opera 12.10+, Safari 7+, Chrome 26+\n background-repeat: repeat-x;\n filter: e(%(\"progid:DXImageTransform.Microsoft.gradient(startColorstr='%d', endColorstr='%d', GradientType=1)\",argb(@start-color),argb(@end-color))); // IE9 and down\n }\n\n // Vertical gradient, from top to bottom\n //\n // Creates two color stops, start and end, by specifying a color and position for each color stop.\n // Color stops are not available in IE9 and below.\n .vertical(@start-color: #555; @end-color: #333; @start-percent: 0%; @end-percent: 100%) {\n background-image: -webkit-linear-gradient(top, @start-color @start-percent, @end-color @end-percent); // Safari 5.1-6, Chrome 10+\n background-image: -o-linear-gradient(top, @start-color @start-percent, @end-color @end-percent); // Opera 12\n background-image: linear-gradient(to bottom, @start-color @start-percent, @end-color @end-percent); // Standard, IE10, Firefox 16+, Opera 12.10+, Safari 7+, Chrome 26+\n background-repeat: repeat-x;\n filter: e(%(\"progid:DXImageTransform.Microsoft.gradient(startColorstr='%d', endColorstr='%d', GradientType=0)\",argb(@start-color),argb(@end-color))); // IE9 and down\n }\n\n .directional(@start-color: #555; @end-color: #333; @deg: 45deg) {\n background-repeat: repeat-x;\n background-image: -webkit-linear-gradient(@deg, @start-color, @end-color); // Safari 5.1-6, Chrome 10+\n background-image: -o-linear-gradient(@deg, @start-color, @end-color); // Opera 12\n background-image: linear-gradient(@deg, @start-color, @end-color); // Standard, IE10, Firefox 16+, Opera 12.10+, Safari 7+, Chrome 26+\n }\n .horizontal-three-colors(@start-color: #00b3ee; @mid-color: #7a43b6; @color-stop: 50%; @end-color: #c3325f) {\n background-image: -webkit-linear-gradient(left, @start-color, @mid-color @color-stop, @end-color);\n background-image: -o-linear-gradient(left, @start-color, @mid-color @color-stop, @end-color);\n background-image: linear-gradient(to right, @start-color, @mid-color @color-stop, @end-color);\n background-repeat: no-repeat;\n filter: e(%(\"progid:DXImageTransform.Microsoft.gradient(startColorstr='%d', endColorstr='%d', GradientType=1)\",argb(@start-color),argb(@end-color))); // IE9 and down, gets no color-stop at all for proper fallback\n }\n .vertical-three-colors(@start-color: #00b3ee; @mid-color: #7a43b6; @color-stop: 50%; @end-color: #c3325f) {\n background-image: -webkit-linear-gradient(@start-color, @mid-color @color-stop, @end-color);\n background-image: -o-linear-gradient(@start-color, @mid-color @color-stop, @end-color);\n background-image: linear-gradient(@start-color, @mid-color @color-stop, @end-color);\n background-repeat: no-repeat;\n filter: e(%(\"progid:DXImageTransform.Microsoft.gradient(startColorstr='%d', endColorstr='%d', GradientType=0)\",argb(@start-color),argb(@end-color))); // IE9 and down, gets no color-stop at all for proper fallback\n }\n .radial(@inner-color: #555; @outer-color: #333) {\n background-image: -webkit-radial-gradient(circle, @inner-color, @outer-color);\n background-image: radial-gradient(circle, @inner-color, @outer-color);\n background-repeat: no-repeat;\n }\n .striped(@color: rgba(255,255,255,.15); @angle: 45deg) {\n background-image: -webkit-linear-gradient(@angle, @color 25%, transparent 25%, transparent 50%, @color 50%, @color 75%, transparent 75%, transparent);\n background-image: -o-linear-gradient(@angle, @color 25%, transparent 25%, transparent 50%, @color 50%, @color 75%, transparent 75%, transparent);\n background-image: linear-gradient(@angle, @color 25%, transparent 25%, transparent 50%, @color 50%, @color 75%, transparent 75%, transparent);\n }\n}\n","// Reset filters for IE\n//\n// When you need to remove a gradient background, do not forget to use this to reset\n// the IE filter for IE9 and below.\n\n.reset-filter() {\n filter: e(%(\"progid:DXImageTransform.Microsoft.gradient(enabled = false)\"));\n}\n"]} -------------------------------------------------------------------------------- /assets/css/cal-heatmap.css: -------------------------------------------------------------------------------- 1 | /* Cal-HeatMap CSS */ 2 | 3 | .cal-heatmap-container { 4 | display: block; 5 | } 6 | 7 | .graph 8 | { 9 | font-family: "Lucida Grande", Lucida, Verdana, sans-serif; 10 | } 11 | 12 | .graph-label 13 | { 14 | fill: #999; 15 | font-size: 10px 16 | } 17 | 18 | .graph, .graph-legend rect { 19 | shape-rendering: crispedges 20 | } 21 | 22 | .graph-rect 23 | { 24 | fill: #ededed 25 | } 26 | 27 | .graph-subdomain-group rect:hover 28 | { 29 | stroke: #000; 30 | stroke-width: 1px 31 | } 32 | 33 | .subdomain-text { 34 | font-size: 8px; 35 | fill: #999; 36 | pointer-events: none 37 | } 38 | 39 | .hover_cursor:hover { 40 | cursor: pointer 41 | } 42 | 43 | .qi { 44 | background-color: #999; 45 | fill: #999 46 | } 47 | 48 | /* 49 | Remove comment to apply this style to date with value equal to 0 50 | .q0 51 | { 52 | background-color: #fff; 53 | fill: #fff; 54 | stroke: #ededed 55 | } 56 | */ 57 | 58 | .q1 59 | { 60 | background-color: #dae289; 61 | fill: #dae289 62 | } 63 | 64 | .q2 65 | { 66 | background-color: #cedb9c; 67 | fill: #9cc069 68 | } 69 | 70 | .q3 71 | { 72 | background-color: #b5cf6b; 73 | fill: #669d45 74 | } 75 | 76 | .q4 77 | { 78 | background-color: #637939; 79 | fill: #637939 80 | } 81 | 82 | .q5 83 | { 84 | background-color: #3b6427; 85 | fill: #3b6427 86 | } 87 | 88 | rect.highlight 89 | { 90 | stroke:#444; 91 | stroke-width:1 92 | } 93 | 94 | text.highlight 95 | { 96 | fill: #444 97 | } 98 | 99 | rect.now 100 | { 101 | stroke: red 102 | } 103 | 104 | text.now 105 | { 106 | fill: red; 107 | font-weight: 800 108 | } 109 | 110 | .domain-background { 111 | fill: none; 112 | shape-rendering: crispedges 113 | } 114 | 115 | .ch-tooltip { 116 | padding: 10px; 117 | background: #222; 118 | color: #bbb; 119 | font-size: 12px; 120 | line-height: 1.4; 121 | width: 140px; 122 | position: absolute; 123 | z-index: 99999; 124 | text-align: center; 125 | border-radius: 2px; 126 | box-shadow: 2px 2px 2px rgba(0,0,0,0.2); 127 | display: none; 128 | box-sizing: border-box; 129 | } 130 | 131 | .ch-tooltip::after{ 132 | position: absolute; 133 | width: 0; 134 | height: 0; 135 | border-color: transparent; 136 | border-style: solid; 137 | content: ""; 138 | padding: 0; 139 | display: "block"; 140 | bottom: -6px; 141 | left: 50%; 142 | margin-left: -6px; 143 | border-width: 6px 6px 0; 144 | border-top-color: #222; 145 | } -------------------------------------------------------------------------------- /assets/css/font-awesome.min.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * Font Awesome 4.6.3 by @davegandy - http://fontawesome.io - @fontawesome 3 | * License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License) 4 | */@font-face{font-family:'FontAwesome';src:url('../fonts/fontawesome-webfont.eot?v=4.6.3');src:url('../fonts/fontawesome-webfont.eot?#iefix&v=4.6.3') format('embedded-opentype'),url('../fonts/fontawesome-webfont.woff2?v=4.6.3') format('woff2'),url('../fonts/fontawesome-webfont.woff?v=4.6.3') format('woff'),url('../fonts/fontawesome-webfont.ttf?v=4.6.3') format('truetype'),url('../fonts/fontawesome-webfont.svg?v=4.6.3#fontawesomeregular') format('svg');font-weight:normal;font-style:normal}.fa{display:inline-block;font:normal normal normal 14px/1 FontAwesome;font-size:inherit;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.fa-lg{font-size:1.33333333em;line-height:.75em;vertical-align:-15%}.fa-2x{font-size:2em}.fa-3x{font-size:3em}.fa-4x{font-size:4em}.fa-5x{font-size:5em}.fa-fw{width:1.28571429em;text-align:center}.fa-ul{padding-left:0;margin-left:2.14285714em;list-style-type:none}.fa-ul>li{position:relative}.fa-li{position:absolute;left:-2.14285714em;width:2.14285714em;top:.14285714em;text-align:center}.fa-li.fa-lg{left:-1.85714286em}.fa-border{padding:.2em .25em .15em;border:solid .08em #eee;border-radius:.1em}.fa-pull-left{float:left}.fa-pull-right{float:right}.fa.fa-pull-left{margin-right:.3em}.fa.fa-pull-right{margin-left:.3em}.pull-right{float:right}.pull-left{float:left}.fa.pull-left{margin-right:.3em}.fa.pull-right{margin-left:.3em}.fa-spin{-webkit-animation:fa-spin 2s infinite linear;animation:fa-spin 2s infinite linear}.fa-pulse{-webkit-animation:fa-spin 1s infinite steps(8);animation:fa-spin 1s infinite steps(8)}@-webkit-keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}.fa-rotate-90{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=1)";-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg);transform:rotate(90deg)}.fa-rotate-180{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2)";-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.fa-rotate-270{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=3)";-webkit-transform:rotate(270deg);-ms-transform:rotate(270deg);transform:rotate(270deg)}.fa-flip-horizontal{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)";-webkit-transform:scale(-1, 1);-ms-transform:scale(-1, 1);transform:scale(-1, 1)}.fa-flip-vertical{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";-webkit-transform:scale(1, -1);-ms-transform:scale(1, -1);transform:scale(1, -1)}:root .fa-rotate-90,:root .fa-rotate-180,:root .fa-rotate-270,:root .fa-flip-horizontal,:root .fa-flip-vertical{filter:none}.fa-stack{position:relative;display:inline-block;width:2em;height:2em;line-height:2em;vertical-align:middle}.fa-stack-1x,.fa-stack-2x{position:absolute;left:0;width:100%;text-align:center}.fa-stack-1x{line-height:inherit}.fa-stack-2x{font-size:2em}.fa-inverse{color:#fff}.fa-glass:before{content:"\f000"}.fa-music:before{content:"\f001"}.fa-search:before{content:"\f002"}.fa-envelope-o:before{content:"\f003"}.fa-heart:before{content:"\f004"}.fa-star:before{content:"\f005"}.fa-star-o:before{content:"\f006"}.fa-user:before{content:"\f007"}.fa-film:before{content:"\f008"}.fa-th-large:before{content:"\f009"}.fa-th:before{content:"\f00a"}.fa-th-list:before{content:"\f00b"}.fa-check:before{content:"\f00c"}.fa-remove:before,.fa-close:before,.fa-times:before{content:"\f00d"}.fa-search-plus:before{content:"\f00e"}.fa-search-minus:before{content:"\f010"}.fa-power-off:before{content:"\f011"}.fa-signal:before{content:"\f012"}.fa-gear:before,.fa-cog:before{content:"\f013"}.fa-trash-o:before{content:"\f014"}.fa-home:before{content:"\f015"}.fa-file-o:before{content:"\f016"}.fa-clock-o:before{content:"\f017"}.fa-road:before{content:"\f018"}.fa-download:before{content:"\f019"}.fa-arrow-circle-o-down:before{content:"\f01a"}.fa-arrow-circle-o-up:before{content:"\f01b"}.fa-inbox:before{content:"\f01c"}.fa-play-circle-o:before{content:"\f01d"}.fa-rotate-right:before,.fa-repeat:before{content:"\f01e"}.fa-refresh:before{content:"\f021"}.fa-list-alt:before{content:"\f022"}.fa-lock:before{content:"\f023"}.fa-flag:before{content:"\f024"}.fa-headphones:before{content:"\f025"}.fa-volume-off:before{content:"\f026"}.fa-volume-down:before{content:"\f027"}.fa-volume-up:before{content:"\f028"}.fa-qrcode:before{content:"\f029"}.fa-barcode:before{content:"\f02a"}.fa-tag:before{content:"\f02b"}.fa-tags:before{content:"\f02c"}.fa-book:before{content:"\f02d"}.fa-bookmark:before{content:"\f02e"}.fa-print:before{content:"\f02f"}.fa-camera:before{content:"\f030"}.fa-font:before{content:"\f031"}.fa-bold:before{content:"\f032"}.fa-italic:before{content:"\f033"}.fa-text-height:before{content:"\f034"}.fa-text-width:before{content:"\f035"}.fa-align-left:before{content:"\f036"}.fa-align-center:before{content:"\f037"}.fa-align-right:before{content:"\f038"}.fa-align-justify:before{content:"\f039"}.fa-list:before{content:"\f03a"}.fa-dedent:before,.fa-outdent:before{content:"\f03b"}.fa-indent:before{content:"\f03c"}.fa-video-camera:before{content:"\f03d"}.fa-photo:before,.fa-image:before,.fa-picture-o:before{content:"\f03e"}.fa-pencil:before{content:"\f040"}.fa-map-marker:before{content:"\f041"}.fa-adjust:before{content:"\f042"}.fa-tint:before{content:"\f043"}.fa-edit:before,.fa-pencil-square-o:before{content:"\f044"}.fa-share-square-o:before{content:"\f045"}.fa-check-square-o:before{content:"\f046"}.fa-arrows:before{content:"\f047"}.fa-step-backward:before{content:"\f048"}.fa-fast-backward:before{content:"\f049"}.fa-backward:before{content:"\f04a"}.fa-play:before{content:"\f04b"}.fa-pause:before{content:"\f04c"}.fa-stop:before{content:"\f04d"}.fa-forward:before{content:"\f04e"}.fa-fast-forward:before{content:"\f050"}.fa-step-forward:before{content:"\f051"}.fa-eject:before{content:"\f052"}.fa-chevron-left:before{content:"\f053"}.fa-chevron-right:before{content:"\f054"}.fa-plus-circle:before{content:"\f055"}.fa-minus-circle:before{content:"\f056"}.fa-times-circle:before{content:"\f057"}.fa-check-circle:before{content:"\f058"}.fa-question-circle:before{content:"\f059"}.fa-info-circle:before{content:"\f05a"}.fa-crosshairs:before{content:"\f05b"}.fa-times-circle-o:before{content:"\f05c"}.fa-check-circle-o:before{content:"\f05d"}.fa-ban:before{content:"\f05e"}.fa-arrow-left:before{content:"\f060"}.fa-arrow-right:before{content:"\f061"}.fa-arrow-up:before{content:"\f062"}.fa-arrow-down:before{content:"\f063"}.fa-mail-forward:before,.fa-share:before{content:"\f064"}.fa-expand:before{content:"\f065"}.fa-compress:before{content:"\f066"}.fa-plus:before{content:"\f067"}.fa-minus:before{content:"\f068"}.fa-asterisk:before{content:"\f069"}.fa-exclamation-circle:before{content:"\f06a"}.fa-gift:before{content:"\f06b"}.fa-leaf:before{content:"\f06c"}.fa-fire:before{content:"\f06d"}.fa-eye:before{content:"\f06e"}.fa-eye-slash:before{content:"\f070"}.fa-warning:before,.fa-exclamation-triangle:before{content:"\f071"}.fa-plane:before{content:"\f072"}.fa-calendar:before{content:"\f073"}.fa-random:before{content:"\f074"}.fa-comment:before{content:"\f075"}.fa-magnet:before{content:"\f076"}.fa-chevron-up:before{content:"\f077"}.fa-chevron-down:before{content:"\f078"}.fa-retweet:before{content:"\f079"}.fa-shopping-cart:before{content:"\f07a"}.fa-folder:before{content:"\f07b"}.fa-folder-open:before{content:"\f07c"}.fa-arrows-v:before{content:"\f07d"}.fa-arrows-h:before{content:"\f07e"}.fa-bar-chart-o:before,.fa-bar-chart:before{content:"\f080"}.fa-twitter-square:before{content:"\f081"}.fa-facebook-square:before{content:"\f082"}.fa-camera-retro:before{content:"\f083"}.fa-key:before{content:"\f084"}.fa-gears:before,.fa-cogs:before{content:"\f085"}.fa-comments:before{content:"\f086"}.fa-thumbs-o-up:before{content:"\f087"}.fa-thumbs-o-down:before{content:"\f088"}.fa-star-half:before{content:"\f089"}.fa-heart-o:before{content:"\f08a"}.fa-sign-out:before{content:"\f08b"}.fa-linkedin-square:before{content:"\f08c"}.fa-thumb-tack:before{content:"\f08d"}.fa-external-link:before{content:"\f08e"}.fa-sign-in:before{content:"\f090"}.fa-trophy:before{content:"\f091"}.fa-github-square:before{content:"\f092"}.fa-upload:before{content:"\f093"}.fa-lemon-o:before{content:"\f094"}.fa-phone:before{content:"\f095"}.fa-square-o:before{content:"\f096"}.fa-bookmark-o:before{content:"\f097"}.fa-phone-square:before{content:"\f098"}.fa-twitter:before{content:"\f099"}.fa-facebook-f:before,.fa-facebook:before{content:"\f09a"}.fa-github:before{content:"\f09b"}.fa-unlock:before{content:"\f09c"}.fa-credit-card:before{content:"\f09d"}.fa-feed:before,.fa-rss:before{content:"\f09e"}.fa-hdd-o:before{content:"\f0a0"}.fa-bullhorn:before{content:"\f0a1"}.fa-bell:before{content:"\f0f3"}.fa-certificate:before{content:"\f0a3"}.fa-hand-o-right:before{content:"\f0a4"}.fa-hand-o-left:before{content:"\f0a5"}.fa-hand-o-up:before{content:"\f0a6"}.fa-hand-o-down:before{content:"\f0a7"}.fa-arrow-circle-left:before{content:"\f0a8"}.fa-arrow-circle-right:before{content:"\f0a9"}.fa-arrow-circle-up:before{content:"\f0aa"}.fa-arrow-circle-down:before{content:"\f0ab"}.fa-globe:before{content:"\f0ac"}.fa-wrench:before{content:"\f0ad"}.fa-tasks:before{content:"\f0ae"}.fa-filter:before{content:"\f0b0"}.fa-briefcase:before{content:"\f0b1"}.fa-arrows-alt:before{content:"\f0b2"}.fa-group:before,.fa-users:before{content:"\f0c0"}.fa-chain:before,.fa-link:before{content:"\f0c1"}.fa-cloud:before{content:"\f0c2"}.fa-flask:before{content:"\f0c3"}.fa-cut:before,.fa-scissors:before{content:"\f0c4"}.fa-copy:before,.fa-files-o:before{content:"\f0c5"}.fa-paperclip:before{content:"\f0c6"}.fa-save:before,.fa-floppy-o:before{content:"\f0c7"}.fa-square:before{content:"\f0c8"}.fa-navicon:before,.fa-reorder:before,.fa-bars:before{content:"\f0c9"}.fa-list-ul:before{content:"\f0ca"}.fa-list-ol:before{content:"\f0cb"}.fa-strikethrough:before{content:"\f0cc"}.fa-underline:before{content:"\f0cd"}.fa-table:before{content:"\f0ce"}.fa-magic:before{content:"\f0d0"}.fa-truck:before{content:"\f0d1"}.fa-pinterest:before{content:"\f0d2"}.fa-pinterest-square:before{content:"\f0d3"}.fa-google-plus-square:before{content:"\f0d4"}.fa-google-plus:before{content:"\f0d5"}.fa-money:before{content:"\f0d6"}.fa-caret-down:before{content:"\f0d7"}.fa-caret-up:before{content:"\f0d8"}.fa-caret-left:before{content:"\f0d9"}.fa-caret-right:before{content:"\f0da"}.fa-columns:before{content:"\f0db"}.fa-unsorted:before,.fa-sort:before{content:"\f0dc"}.fa-sort-down:before,.fa-sort-desc:before{content:"\f0dd"}.fa-sort-up:before,.fa-sort-asc:before{content:"\f0de"}.fa-envelope:before{content:"\f0e0"}.fa-linkedin:before{content:"\f0e1"}.fa-rotate-left:before,.fa-undo:before{content:"\f0e2"}.fa-legal:before,.fa-gavel:before{content:"\f0e3"}.fa-dashboard:before,.fa-tachometer:before{content:"\f0e4"}.fa-comment-o:before{content:"\f0e5"}.fa-comments-o:before{content:"\f0e6"}.fa-flash:before,.fa-bolt:before{content:"\f0e7"}.fa-sitemap:before{content:"\f0e8"}.fa-umbrella:before{content:"\f0e9"}.fa-paste:before,.fa-clipboard:before{content:"\f0ea"}.fa-lightbulb-o:before{content:"\f0eb"}.fa-exchange:before{content:"\f0ec"}.fa-cloud-download:before{content:"\f0ed"}.fa-cloud-upload:before{content:"\f0ee"}.fa-user-md:before{content:"\f0f0"}.fa-stethoscope:before{content:"\f0f1"}.fa-suitcase:before{content:"\f0f2"}.fa-bell-o:before{content:"\f0a2"}.fa-coffee:before{content:"\f0f4"}.fa-cutlery:before{content:"\f0f5"}.fa-file-text-o:before{content:"\f0f6"}.fa-building-o:before{content:"\f0f7"}.fa-hospital-o:before{content:"\f0f8"}.fa-ambulance:before{content:"\f0f9"}.fa-medkit:before{content:"\f0fa"}.fa-fighter-jet:before{content:"\f0fb"}.fa-beer:before{content:"\f0fc"}.fa-h-square:before{content:"\f0fd"}.fa-plus-square:before{content:"\f0fe"}.fa-angle-double-left:before{content:"\f100"}.fa-angle-double-right:before{content:"\f101"}.fa-angle-double-up:before{content:"\f102"}.fa-angle-double-down:before{content:"\f103"}.fa-angle-left:before{content:"\f104"}.fa-angle-right:before{content:"\f105"}.fa-angle-up:before{content:"\f106"}.fa-angle-down:before{content:"\f107"}.fa-desktop:before{content:"\f108"}.fa-laptop:before{content:"\f109"}.fa-tablet:before{content:"\f10a"}.fa-mobile-phone:before,.fa-mobile:before{content:"\f10b"}.fa-circle-o:before{content:"\f10c"}.fa-quote-left:before{content:"\f10d"}.fa-quote-right:before{content:"\f10e"}.fa-spinner:before{content:"\f110"}.fa-circle:before{content:"\f111"}.fa-mail-reply:before,.fa-reply:before{content:"\f112"}.fa-github-alt:before{content:"\f113"}.fa-folder-o:before{content:"\f114"}.fa-folder-open-o:before{content:"\f115"}.fa-smile-o:before{content:"\f118"}.fa-frown-o:before{content:"\f119"}.fa-meh-o:before{content:"\f11a"}.fa-gamepad:before{content:"\f11b"}.fa-keyboard-o:before{content:"\f11c"}.fa-flag-o:before{content:"\f11d"}.fa-flag-checkered:before{content:"\f11e"}.fa-terminal:before{content:"\f120"}.fa-code:before{content:"\f121"}.fa-mail-reply-all:before,.fa-reply-all:before{content:"\f122"}.fa-star-half-empty:before,.fa-star-half-full:before,.fa-star-half-o:before{content:"\f123"}.fa-location-arrow:before{content:"\f124"}.fa-crop:before{content:"\f125"}.fa-code-fork:before{content:"\f126"}.fa-unlink:before,.fa-chain-broken:before{content:"\f127"}.fa-question:before{content:"\f128"}.fa-info:before{content:"\f129"}.fa-exclamation:before{content:"\f12a"}.fa-superscript:before{content:"\f12b"}.fa-subscript:before{content:"\f12c"}.fa-eraser:before{content:"\f12d"}.fa-puzzle-piece:before{content:"\f12e"}.fa-microphone:before{content:"\f130"}.fa-microphone-slash:before{content:"\f131"}.fa-shield:before{content:"\f132"}.fa-calendar-o:before{content:"\f133"}.fa-fire-extinguisher:before{content:"\f134"}.fa-rocket:before{content:"\f135"}.fa-maxcdn:before{content:"\f136"}.fa-chevron-circle-left:before{content:"\f137"}.fa-chevron-circle-right:before{content:"\f138"}.fa-chevron-circle-up:before{content:"\f139"}.fa-chevron-circle-down:before{content:"\f13a"}.fa-html5:before{content:"\f13b"}.fa-css3:before{content:"\f13c"}.fa-anchor:before{content:"\f13d"}.fa-unlock-alt:before{content:"\f13e"}.fa-bullseye:before{content:"\f140"}.fa-ellipsis-h:before{content:"\f141"}.fa-ellipsis-v:before{content:"\f142"}.fa-rss-square:before{content:"\f143"}.fa-play-circle:before{content:"\f144"}.fa-ticket:before{content:"\f145"}.fa-minus-square:before{content:"\f146"}.fa-minus-square-o:before{content:"\f147"}.fa-level-up:before{content:"\f148"}.fa-level-down:before{content:"\f149"}.fa-check-square:before{content:"\f14a"}.fa-pencil-square:before{content:"\f14b"}.fa-external-link-square:before{content:"\f14c"}.fa-share-square:before{content:"\f14d"}.fa-compass:before{content:"\f14e"}.fa-toggle-down:before,.fa-caret-square-o-down:before{content:"\f150"}.fa-toggle-up:before,.fa-caret-square-o-up:before{content:"\f151"}.fa-toggle-right:before,.fa-caret-square-o-right:before{content:"\f152"}.fa-euro:before,.fa-eur:before{content:"\f153"}.fa-gbp:before{content:"\f154"}.fa-dollar:before,.fa-usd:before{content:"\f155"}.fa-rupee:before,.fa-inr:before{content:"\f156"}.fa-cny:before,.fa-rmb:before,.fa-yen:before,.fa-jpy:before{content:"\f157"}.fa-ruble:before,.fa-rouble:before,.fa-rub:before{content:"\f158"}.fa-won:before,.fa-krw:before{content:"\f159"}.fa-bitcoin:before,.fa-btc:before{content:"\f15a"}.fa-file:before{content:"\f15b"}.fa-file-text:before{content:"\f15c"}.fa-sort-alpha-asc:before{content:"\f15d"}.fa-sort-alpha-desc:before{content:"\f15e"}.fa-sort-amount-asc:before{content:"\f160"}.fa-sort-amount-desc:before{content:"\f161"}.fa-sort-numeric-asc:before{content:"\f162"}.fa-sort-numeric-desc:before{content:"\f163"}.fa-thumbs-up:before{content:"\f164"}.fa-thumbs-down:before{content:"\f165"}.fa-youtube-square:before{content:"\f166"}.fa-youtube:before{content:"\f167"}.fa-xing:before{content:"\f168"}.fa-xing-square:before{content:"\f169"}.fa-youtube-play:before{content:"\f16a"}.fa-dropbox:before{content:"\f16b"}.fa-stack-overflow:before{content:"\f16c"}.fa-instagram:before{content:"\f16d"}.fa-flickr:before{content:"\f16e"}.fa-adn:before{content:"\f170"}.fa-bitbucket:before{content:"\f171"}.fa-bitbucket-square:before{content:"\f172"}.fa-tumblr:before{content:"\f173"}.fa-tumblr-square:before{content:"\f174"}.fa-long-arrow-down:before{content:"\f175"}.fa-long-arrow-up:before{content:"\f176"}.fa-long-arrow-left:before{content:"\f177"}.fa-long-arrow-right:before{content:"\f178"}.fa-apple:before{content:"\f179"}.fa-windows:before{content:"\f17a"}.fa-android:before{content:"\f17b"}.fa-linux:before{content:"\f17c"}.fa-dribbble:before{content:"\f17d"}.fa-skype:before{content:"\f17e"}.fa-foursquare:before{content:"\f180"}.fa-trello:before{content:"\f181"}.fa-female:before{content:"\f182"}.fa-male:before{content:"\f183"}.fa-gittip:before,.fa-gratipay:before{content:"\f184"}.fa-sun-o:before{content:"\f185"}.fa-moon-o:before{content:"\f186"}.fa-archive:before{content:"\f187"}.fa-bug:before{content:"\f188"}.fa-vk:before{content:"\f189"}.fa-weibo:before{content:"\f18a"}.fa-renren:before{content:"\f18b"}.fa-pagelines:before{content:"\f18c"}.fa-stack-exchange:before{content:"\f18d"}.fa-arrow-circle-o-right:before{content:"\f18e"}.fa-arrow-circle-o-left:before{content:"\f190"}.fa-toggle-left:before,.fa-caret-square-o-left:before{content:"\f191"}.fa-dot-circle-o:before{content:"\f192"}.fa-wheelchair:before{content:"\f193"}.fa-vimeo-square:before{content:"\f194"}.fa-turkish-lira:before,.fa-try:before{content:"\f195"}.fa-plus-square-o:before{content:"\f196"}.fa-space-shuttle:before{content:"\f197"}.fa-slack:before{content:"\f198"}.fa-envelope-square:before{content:"\f199"}.fa-wordpress:before{content:"\f19a"}.fa-openid:before{content:"\f19b"}.fa-institution:before,.fa-bank:before,.fa-university:before{content:"\f19c"}.fa-mortar-board:before,.fa-graduation-cap:before{content:"\f19d"}.fa-yahoo:before{content:"\f19e"}.fa-google:before{content:"\f1a0"}.fa-reddit:before{content:"\f1a1"}.fa-reddit-square:before{content:"\f1a2"}.fa-stumbleupon-circle:before{content:"\f1a3"}.fa-stumbleupon:before{content:"\f1a4"}.fa-delicious:before{content:"\f1a5"}.fa-digg:before{content:"\f1a6"}.fa-pied-piper-pp:before{content:"\f1a7"}.fa-pied-piper-alt:before{content:"\f1a8"}.fa-drupal:before{content:"\f1a9"}.fa-joomla:before{content:"\f1aa"}.fa-language:before{content:"\f1ab"}.fa-fax:before{content:"\f1ac"}.fa-building:before{content:"\f1ad"}.fa-child:before{content:"\f1ae"}.fa-paw:before{content:"\f1b0"}.fa-spoon:before{content:"\f1b1"}.fa-cube:before{content:"\f1b2"}.fa-cubes:before{content:"\f1b3"}.fa-behance:before{content:"\f1b4"}.fa-behance-square:before{content:"\f1b5"}.fa-steam:before{content:"\f1b6"}.fa-steam-square:before{content:"\f1b7"}.fa-recycle:before{content:"\f1b8"}.fa-automobile:before,.fa-car:before{content:"\f1b9"}.fa-cab:before,.fa-taxi:before{content:"\f1ba"}.fa-tree:before{content:"\f1bb"}.fa-spotify:before{content:"\f1bc"}.fa-deviantart:before{content:"\f1bd"}.fa-soundcloud:before{content:"\f1be"}.fa-database:before{content:"\f1c0"}.fa-file-pdf-o:before{content:"\f1c1"}.fa-file-word-o:before{content:"\f1c2"}.fa-file-excel-o:before{content:"\f1c3"}.fa-file-powerpoint-o:before{content:"\f1c4"}.fa-file-photo-o:before,.fa-file-picture-o:before,.fa-file-image-o:before{content:"\f1c5"}.fa-file-zip-o:before,.fa-file-archive-o:before{content:"\f1c6"}.fa-file-sound-o:before,.fa-file-audio-o:before{content:"\f1c7"}.fa-file-movie-o:before,.fa-file-video-o:before{content:"\f1c8"}.fa-file-code-o:before{content:"\f1c9"}.fa-vine:before{content:"\f1ca"}.fa-codepen:before{content:"\f1cb"}.fa-jsfiddle:before{content:"\f1cc"}.fa-life-bouy:before,.fa-life-buoy:before,.fa-life-saver:before,.fa-support:before,.fa-life-ring:before{content:"\f1cd"}.fa-circle-o-notch:before{content:"\f1ce"}.fa-ra:before,.fa-resistance:before,.fa-rebel:before{content:"\f1d0"}.fa-ge:before,.fa-empire:before{content:"\f1d1"}.fa-git-square:before{content:"\f1d2"}.fa-git:before{content:"\f1d3"}.fa-y-combinator-square:before,.fa-yc-square:before,.fa-hacker-news:before{content:"\f1d4"}.fa-tencent-weibo:before{content:"\f1d5"}.fa-qq:before{content:"\f1d6"}.fa-wechat:before,.fa-weixin:before{content:"\f1d7"}.fa-send:before,.fa-paper-plane:before{content:"\f1d8"}.fa-send-o:before,.fa-paper-plane-o:before{content:"\f1d9"}.fa-history:before{content:"\f1da"}.fa-circle-thin:before{content:"\f1db"}.fa-header:before{content:"\f1dc"}.fa-paragraph:before{content:"\f1dd"}.fa-sliders:before{content:"\f1de"}.fa-share-alt:before{content:"\f1e0"}.fa-share-alt-square:before{content:"\f1e1"}.fa-bomb:before{content:"\f1e2"}.fa-soccer-ball-o:before,.fa-futbol-o:before{content:"\f1e3"}.fa-tty:before{content:"\f1e4"}.fa-binoculars:before{content:"\f1e5"}.fa-plug:before{content:"\f1e6"}.fa-slideshare:before{content:"\f1e7"}.fa-twitch:before{content:"\f1e8"}.fa-yelp:before{content:"\f1e9"}.fa-newspaper-o:before{content:"\f1ea"}.fa-wifi:before{content:"\f1eb"}.fa-calculator:before{content:"\f1ec"}.fa-paypal:before{content:"\f1ed"}.fa-google-wallet:before{content:"\f1ee"}.fa-cc-visa:before{content:"\f1f0"}.fa-cc-mastercard:before{content:"\f1f1"}.fa-cc-discover:before{content:"\f1f2"}.fa-cc-amex:before{content:"\f1f3"}.fa-cc-paypal:before{content:"\f1f4"}.fa-cc-stripe:before{content:"\f1f5"}.fa-bell-slash:before{content:"\f1f6"}.fa-bell-slash-o:before{content:"\f1f7"}.fa-trash:before{content:"\f1f8"}.fa-copyright:before{content:"\f1f9"}.fa-at:before{content:"\f1fa"}.fa-eyedropper:before{content:"\f1fb"}.fa-paint-brush:before{content:"\f1fc"}.fa-birthday-cake:before{content:"\f1fd"}.fa-area-chart:before{content:"\f1fe"}.fa-pie-chart:before{content:"\f200"}.fa-line-chart:before{content:"\f201"}.fa-lastfm:before{content:"\f202"}.fa-lastfm-square:before{content:"\f203"}.fa-toggle-off:before{content:"\f204"}.fa-toggle-on:before{content:"\f205"}.fa-bicycle:before{content:"\f206"}.fa-bus:before{content:"\f207"}.fa-ioxhost:before{content:"\f208"}.fa-angellist:before{content:"\f209"}.fa-cc:before{content:"\f20a"}.fa-shekel:before,.fa-sheqel:before,.fa-ils:before{content:"\f20b"}.fa-meanpath:before{content:"\f20c"}.fa-buysellads:before{content:"\f20d"}.fa-connectdevelop:before{content:"\f20e"}.fa-dashcube:before{content:"\f210"}.fa-forumbee:before{content:"\f211"}.fa-leanpub:before{content:"\f212"}.fa-sellsy:before{content:"\f213"}.fa-shirtsinbulk:before{content:"\f214"}.fa-simplybuilt:before{content:"\f215"}.fa-skyatlas:before{content:"\f216"}.fa-cart-plus:before{content:"\f217"}.fa-cart-arrow-down:before{content:"\f218"}.fa-diamond:before{content:"\f219"}.fa-ship:before{content:"\f21a"}.fa-user-secret:before{content:"\f21b"}.fa-motorcycle:before{content:"\f21c"}.fa-street-view:before{content:"\f21d"}.fa-heartbeat:before{content:"\f21e"}.fa-venus:before{content:"\f221"}.fa-mars:before{content:"\f222"}.fa-mercury:before{content:"\f223"}.fa-intersex:before,.fa-transgender:before{content:"\f224"}.fa-transgender-alt:before{content:"\f225"}.fa-venus-double:before{content:"\f226"}.fa-mars-double:before{content:"\f227"}.fa-venus-mars:before{content:"\f228"}.fa-mars-stroke:before{content:"\f229"}.fa-mars-stroke-v:before{content:"\f22a"}.fa-mars-stroke-h:before{content:"\f22b"}.fa-neuter:before{content:"\f22c"}.fa-genderless:before{content:"\f22d"}.fa-facebook-official:before{content:"\f230"}.fa-pinterest-p:before{content:"\f231"}.fa-whatsapp:before{content:"\f232"}.fa-server:before{content:"\f233"}.fa-user-plus:before{content:"\f234"}.fa-user-times:before{content:"\f235"}.fa-hotel:before,.fa-bed:before{content:"\f236"}.fa-viacoin:before{content:"\f237"}.fa-train:before{content:"\f238"}.fa-subway:before{content:"\f239"}.fa-medium:before{content:"\f23a"}.fa-yc:before,.fa-y-combinator:before{content:"\f23b"}.fa-optin-monster:before{content:"\f23c"}.fa-opencart:before{content:"\f23d"}.fa-expeditedssl:before{content:"\f23e"}.fa-battery-4:before,.fa-battery-full:before{content:"\f240"}.fa-battery-3:before,.fa-battery-three-quarters:before{content:"\f241"}.fa-battery-2:before,.fa-battery-half:before{content:"\f242"}.fa-battery-1:before,.fa-battery-quarter:before{content:"\f243"}.fa-battery-0:before,.fa-battery-empty:before{content:"\f244"}.fa-mouse-pointer:before{content:"\f245"}.fa-i-cursor:before{content:"\f246"}.fa-object-group:before{content:"\f247"}.fa-object-ungroup:before{content:"\f248"}.fa-sticky-note:before{content:"\f249"}.fa-sticky-note-o:before{content:"\f24a"}.fa-cc-jcb:before{content:"\f24b"}.fa-cc-diners-club:before{content:"\f24c"}.fa-clone:before{content:"\f24d"}.fa-balance-scale:before{content:"\f24e"}.fa-hourglass-o:before{content:"\f250"}.fa-hourglass-1:before,.fa-hourglass-start:before{content:"\f251"}.fa-hourglass-2:before,.fa-hourglass-half:before{content:"\f252"}.fa-hourglass-3:before,.fa-hourglass-end:before{content:"\f253"}.fa-hourglass:before{content:"\f254"}.fa-hand-grab-o:before,.fa-hand-rock-o:before{content:"\f255"}.fa-hand-stop-o:before,.fa-hand-paper-o:before{content:"\f256"}.fa-hand-scissors-o:before{content:"\f257"}.fa-hand-lizard-o:before{content:"\f258"}.fa-hand-spock-o:before{content:"\f259"}.fa-hand-pointer-o:before{content:"\f25a"}.fa-hand-peace-o:before{content:"\f25b"}.fa-trademark:before{content:"\f25c"}.fa-registered:before{content:"\f25d"}.fa-creative-commons:before{content:"\f25e"}.fa-gg:before{content:"\f260"}.fa-gg-circle:before{content:"\f261"}.fa-tripadvisor:before{content:"\f262"}.fa-odnoklassniki:before{content:"\f263"}.fa-odnoklassniki-square:before{content:"\f264"}.fa-get-pocket:before{content:"\f265"}.fa-wikipedia-w:before{content:"\f266"}.fa-safari:before{content:"\f267"}.fa-chrome:before{content:"\f268"}.fa-firefox:before{content:"\f269"}.fa-opera:before{content:"\f26a"}.fa-internet-explorer:before{content:"\f26b"}.fa-tv:before,.fa-television:before{content:"\f26c"}.fa-contao:before{content:"\f26d"}.fa-500px:before{content:"\f26e"}.fa-amazon:before{content:"\f270"}.fa-calendar-plus-o:before{content:"\f271"}.fa-calendar-minus-o:before{content:"\f272"}.fa-calendar-times-o:before{content:"\f273"}.fa-calendar-check-o:before{content:"\f274"}.fa-industry:before{content:"\f275"}.fa-map-pin:before{content:"\f276"}.fa-map-signs:before{content:"\f277"}.fa-map-o:before{content:"\f278"}.fa-map:before{content:"\f279"}.fa-commenting:before{content:"\f27a"}.fa-commenting-o:before{content:"\f27b"}.fa-houzz:before{content:"\f27c"}.fa-vimeo:before{content:"\f27d"}.fa-black-tie:before{content:"\f27e"}.fa-fonticons:before{content:"\f280"}.fa-reddit-alien:before{content:"\f281"}.fa-edge:before{content:"\f282"}.fa-credit-card-alt:before{content:"\f283"}.fa-codiepie:before{content:"\f284"}.fa-modx:before{content:"\f285"}.fa-fort-awesome:before{content:"\f286"}.fa-usb:before{content:"\f287"}.fa-product-hunt:before{content:"\f288"}.fa-mixcloud:before{content:"\f289"}.fa-scribd:before{content:"\f28a"}.fa-pause-circle:before{content:"\f28b"}.fa-pause-circle-o:before{content:"\f28c"}.fa-stop-circle:before{content:"\f28d"}.fa-stop-circle-o:before{content:"\f28e"}.fa-shopping-bag:before{content:"\f290"}.fa-shopping-basket:before{content:"\f291"}.fa-hashtag:before{content:"\f292"}.fa-bluetooth:before{content:"\f293"}.fa-bluetooth-b:before{content:"\f294"}.fa-percent:before{content:"\f295"}.fa-gitlab:before{content:"\f296"}.fa-wpbeginner:before{content:"\f297"}.fa-wpforms:before{content:"\f298"}.fa-envira:before{content:"\f299"}.fa-universal-access:before{content:"\f29a"}.fa-wheelchair-alt:before{content:"\f29b"}.fa-question-circle-o:before{content:"\f29c"}.fa-blind:before{content:"\f29d"}.fa-audio-description:before{content:"\f29e"}.fa-volume-control-phone:before{content:"\f2a0"}.fa-braille:before{content:"\f2a1"}.fa-assistive-listening-systems:before{content:"\f2a2"}.fa-asl-interpreting:before,.fa-american-sign-language-interpreting:before{content:"\f2a3"}.fa-deafness:before,.fa-hard-of-hearing:before,.fa-deaf:before{content:"\f2a4"}.fa-glide:before{content:"\f2a5"}.fa-glide-g:before{content:"\f2a6"}.fa-signing:before,.fa-sign-language:before{content:"\f2a7"}.fa-low-vision:before{content:"\f2a8"}.fa-viadeo:before{content:"\f2a9"}.fa-viadeo-square:before{content:"\f2aa"}.fa-snapchat:before{content:"\f2ab"}.fa-snapchat-ghost:before{content:"\f2ac"}.fa-snapchat-square:before{content:"\f2ad"}.fa-pied-piper:before{content:"\f2ae"}.fa-first-order:before{content:"\f2b0"}.fa-yoast:before{content:"\f2b1"}.fa-themeisle:before{content:"\f2b2"}.fa-google-plus-circle:before,.fa-google-plus-official:before{content:"\f2b3"}.fa-fa:before,.fa-font-awesome:before{content:"\f2b4"}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.sr-only-focusable:active,.sr-only-focusable:focus{position:static;width:auto;height:auto;margin:0;overflow:visible;clip:auto} 5 | -------------------------------------------------------------------------------- /assets/css/index.css: -------------------------------------------------------------------------------- 1 | #search-form{ 2 | margin-top: 22px; 3 | } 4 | #search-form #q{ 5 | height: 25px; 6 | border-radius: 2px; 7 | background-color: #fcfcfc; 8 | } 9 | #search-form #q:focus{ 10 | background-color: #fff; 11 | } 12 | .user-names{ 13 | margin-top: 10px !important; 14 | } 15 | .user-fullname{ 16 | display: block; 17 | overflow: hidden; 18 | width: 100%; 19 | font-size: 26px; 20 | line-height: 30px; 21 | text-overflow: ellipsis; 22 | } 23 | .user-username{ 24 | display: block; 25 | overflow: hidden; 26 | width: 100%; 27 | font-size: 20px; 28 | font-style: normal; 29 | font-weight: 300; 30 | line-height: 24px; 31 | color: #666; 32 | text-overflow: ellipsis; 33 | } 34 | 35 | .user-bio{ 36 | display: block; 37 | overflow: hidden; 38 | width: 100%; 39 | font-size: 14px; 40 | color: #767676; 41 | font-style: normal; 42 | font-weight: 300; 43 | line-height: 16px; 44 | text-overflow: ellipsis; 45 | } 46 | .user-details{ 47 | list-style: none; 48 | padding-top: 15px; 49 | padding-bottom: 15px; 50 | border-top: 1px solid #eee; 51 | border-bottom: 1px solid #eee; 52 | } 53 | .user-detail{ 54 | width: 100%; 55 | padding: 2px 0 2px 0px; 56 | overflow-x: hidden; 57 | font-size: 14px; 58 | text-overflow: ellipsis; 59 | } 60 | .user-detail span.icon, .user-detail i{ 61 | width: 20px; 62 | text-align: center; 63 | margin-top: 2px; 64 | color:#ccc; 65 | font-size: 16px; 66 | font-weight: bold; 67 | } 68 | .user-stats{ 69 | height: 74px; 70 | margin-bottom: 10px; 71 | padding-top: 15px; 72 | padding-bottom: 15px; 73 | text-align: center; 74 | clear: both; 75 | } 76 | .user-stat{ 77 | float: left; 78 | width: 33.333%; 79 | font-size: 11px; 80 | color: #999; 81 | } 82 | .user-stat-count{ 83 | display: block; 84 | font-size: 28px; 85 | font-weight: bold; 86 | line-height: 1; 87 | color: #222; 88 | } 89 | .user-stat:hover, 90 | .user-stat-count:hover{ 91 | color:#428bca !important; 92 | text-decoration: none !important; 93 | cursor: pointer; 94 | } 95 | .nav.nav-tabs li a{ 96 | color:#666; 97 | } 98 | .summary-box{ 99 | margin-top: 20px; 100 | margin-bottom: 20px; 101 | } 102 | .summary-box-header{ 103 | min-height: 40px; 104 | line-height: 1; 105 | background-color: #eaeaea; 106 | background-image: -moz-linear-gradient(#fafafa, #eaeaea); 107 | background-image: -webkit-linear-gradient(#fafafa, #eaeaea); 108 | background-image: linear-gradient(#fafafa, #eaeaea); 109 | background-repeat: repeat-x; 110 | border: 1px solid #d5d5d5; 111 | border-top-left-radius: 4px; 112 | border-top-right-radius: 4px; 113 | } 114 | .summary-box-header .box-title{ 115 | font-size: 13px; 116 | float: left; 117 | margin: 9px 10px; 118 | font-size: 14px; 119 | line-height: 1.429; 120 | color: #555; 121 | } 122 | #summary-box-wrapper{ 123 | background-color: #fff; 124 | border: solid #d5d5d5; 125 | border-width: 0 1px 1px; 126 | border-bottom-left-radius: 4px; 127 | border-bottom-right-radius: 4px; 128 | } 129 | .blogs{ 130 | list-style-type: none; 131 | display: block; 132 | margin: 0px; 133 | padding: 0px; 134 | } 135 | .blog{ 136 | display: inline-block; 137 | padding: 5px 10px 5px 10px; 138 | border-top: 1px solid #d5d5d5; 139 | clear: both; 140 | float: none; 141 | } 142 | .blog-name{ 143 | font-weight: bold; 144 | } 145 | .blog-name:hover{ 146 | text-decoration: underline; 147 | } 148 | .blog a:link, 149 | .blog a:visited, 150 | .blog a:hover, 151 | .blog a:active{ 152 | color:#428bca; 153 | } 154 | .blog .glyphicon{ 155 | color:#666; 156 | margin-top: 10px; 157 | } 158 | .blog-description{ 159 | font-size: 12px; 160 | color:#666 !important; 161 | text-overflow:ellipsis; 162 | } 163 | .blog-star_count{ 164 | text-align:right; 165 | font-size: 14px; 166 | color:#666 !important; 167 | } 168 | .filter-blogs{ 169 | border-radius: 2px; 170 | } 171 | .filter-form{ 172 | margin: 0px; 173 | padding: 0px; 174 | margin: 20px 0px 0px -15px; 175 | } 176 | .filter-blogs-button{ 177 | margin-left: -20px; 178 | } 179 | .all-posts{ 180 | list-style-type: none; 181 | margin: 0px; 182 | padding: 0px; 183 | } 184 | .all-posts-one{ 185 | border-bottom: 1px solid #eee; 186 | margin-bottom: 20px; 187 | padding-bottom: 20px; 188 | } 189 | .all-posts-one .pencil-icon{ 190 | text-align: left; 191 | font-size: 25px; 192 | padding-left: 25px; 193 | color:#bbb; 194 | } 195 | .all-posts-one a:link, 196 | .all-posts-one a:visited, 197 | .all-posts-one a:hover, 198 | .all-posts-one a:active{ 199 | color:#428bca; 200 | } 201 | .all_posts_one_blog_name:hover{ 202 | text-decoration: underline; 203 | } 204 | .all_posts_one_blog_name{ 205 | font-size: 19px; 206 | font-weight: bold; 207 | } 208 | .all_posts_one_blog_description{ 209 | color:#777; 210 | font-size: 14px; 211 | } 212 | .all_posts_one_blog_ago{ 213 | color:#777; 214 | font-size: 12px; 215 | } 216 | .all_posts_one_category{ 217 | font-weight: bold; 218 | margin-right: 10px; 219 | } 220 | .all-posts-one .blog-star_count{ 221 | margin-top: 5px; 222 | } 223 | .latest-activities{ 224 | list-style-type: none; 225 | margin: 0px 0px 0px 0px; 226 | padding: 0px; 227 | } 228 | .latest-activity{ 229 | border-bottom: 1px solid #eee; 230 | padding-bottom: 20px; 231 | padding-top: 20px; 232 | } 233 | .latest-activity-text{ 234 | text-align: left; 235 | } 236 | .latest-activity-icon{ 237 | text-align: left; 238 | font-size: 25px; 239 | padding-left: 25px; 240 | color:#bbb; 241 | } 242 | .latest-activity-ago{ 243 | color:#bbb; 244 | font-weight: 400; 245 | font-size: 13px; 246 | } 247 | .latest-activity-text{ 248 | margin-top: -5px; 249 | } 250 | .latest-activity-photo{ 251 | margin-right: 10px; 252 | } 253 | /*.calendar-activity .summary-box-content{*/ 254 | /*padding-left: 35px;*/ 255 | /*padding-top: 20px;*/ 256 | /*}*/ 257 | 258 | #summary-box-wrapper{ 259 | display: block; 260 | position:relative; 261 | padding-left: 35px; 262 | padding-top: 20px; 263 | } 264 | #cal-heatmap{ 265 | height: 150px; 266 | } 267 | 268 | -------------------------------------------------------------------------------- /assets/css/post.css: -------------------------------------------------------------------------------- 1 | .post-meta-info{ 2 | 3 | } 4 | .post-meta-info .glyphicon-pencil{ 5 | font-size: 25px; 6 | color:#b9b9b9; 7 | } 8 | .post-meta-info .glyphicon-file{ 9 | font-size: 25px; 10 | color:#b9b9b9; 11 | } 12 | .post-owner-username{ 13 | font-size: 20px; 14 | } 15 | 16 | .post-title, h1.post-title { 17 | font-size: 20px; 18 | font-weight: bold; 19 | martin: 0!important; 20 | padding: 0!important;; 21 | } 22 | .post-left-info{ 23 | margin-top: -3px; 24 | margin-left: 10px; 25 | } 26 | .slash-divider{ 27 | font-size: 20px; 28 | } 29 | .post-action-star-left-button{ 30 | -moz-user-select: none; 31 | background-color: #EEEEEE; 32 | background-image: linear-gradient(#FCFCFC, #EEEEEE); 33 | background-repeat: repeat-x; 34 | border: 1px solid #D5D5D5; 35 | border-radius: 3px; 36 | color: #333333; 37 | cursor: pointer; 38 | display: inline-block; 39 | font-size: 13px; 40 | font-weight: bold; 41 | padding: 3px 12px; 42 | position: relative; 43 | text-shadow: 0 1px 0 rgba(255, 255, 255, 0.9); 44 | vertical-align: middle; 45 | white-space: nowrap; 46 | height: 27px; 47 | } 48 | .post-action-star-right-count{ 49 | -moz-border-bottom-colors: none; 50 | -moz-border-left-colors: none; 51 | -moz-border-right-colors: none; 52 | -moz-border-top-colors: none; 53 | background-color: #FFFFFF; 54 | border-bottom-right-radius: 3px; 55 | border-bottom-left-radius: 0px; 56 | border-top-left-radius: 0px; 57 | border-color: #D5D5D5; 58 | border-image: none; 59 | border-style: solid solid solid none; 60 | border-top-right-radius: 3px; 61 | border-width: 1px 1px 1px 0; 62 | color: #333333; 63 | float: left; 64 | font-size: 11px; 65 | font-weight: bold; 66 | line-height: 24px; 67 | padding: 0 7px; 68 | height: 27px; 69 | vertical-align: middle; 70 | cursor: pointer; 71 | margin-left: -1px; 72 | } 73 | .post-excerpt-info .post-excerpt{ 74 | font-size: 16px; 75 | color:#666; 76 | } 77 | .post-basic-stats{ 78 | text-align: center; 79 | border:1px solid #ddd; 80 | margin:20px 0px 0px 0px; 81 | padding: 10px 0px 10px 0px; 82 | } 83 | .post-basic-stats .glyphicon{ 84 | color:#ccc; 85 | } 86 | .post-basic-stats .post-basic-stat-text{ 87 | font-size: 14px; 88 | color:#999; 89 | } 90 | .post-basic-stat-count{ 91 | color:#000; 92 | font-weight: bold; 93 | } 94 | .post-content-wrapper{ 95 | background: none repeat scroll 0 0 #EEEEEE; 96 | border-radius: 3px; 97 | -moz-border-bottom-colors: none; 98 | -moz-border-left-colors: none; 99 | -moz-border-right-colors: none; 100 | -moz-border-top-colors: none; 101 | border-color: rgb(234,234,234); 102 | border-image: none; 103 | border-style: solid; 104 | border-top-left-radius: 2px; 105 | border-top-right-radius: 2px; 106 | border-width: 3px; 107 | padding: 1px; 108 | margin: 20px 0px 0px 0px; 109 | } 110 | .post-owner-ago{ 111 | background-color: #fff; 112 | padding:5px 1px 5px 1px; 113 | } 114 | .post-owner-ago img{ 115 | border-radius: 3px; 116 | } 117 | .post-owner-img{ 118 | margin-left: -10px; 119 | } 120 | .post-owner-ago-content{ 121 | font-size: 12px; 122 | } 123 | .post-owner-ago-text{ 124 | margin-top: 2px; 125 | margin-left: 5px; 126 | font-size: 12px; 127 | color:#999999; 128 | padding-left: 10px; 129 | } 130 | .post-owner-ago-text a:link, 131 | .post-owner-ago-text a:visited, 132 | .post-owner-ago-text a:hover, 133 | .post-owner-ago-text a:active{ 134 | color:#000; 135 | text-decoration: none; 136 | font-weight: bold; 137 | } 138 | .post-owner-latest-update{ 139 | text-align: right; 140 | font-weight: 400; 141 | font-size: 11px; 142 | margin-top: 3px; 143 | vertical-align: middle; 144 | color:#888; 145 | font-family: Monaco, "Liberation Mono", Courier, monospace; 146 | } 147 | .commit{ 148 | color:#444; 149 | } 150 | .post-owner-latest-update a:link, 151 | .post-owner-latest-update a:visited, 152 | .post-owner-latest-update a:hover, 153 | .post-owner-latest-update a:active{ 154 | color:inherit; 155 | } 156 | .post-inner-wrapper{ 157 | border-color:#b7c7cf; 158 | background: none repeat scroll 0 0 #EEEEEE; 159 | border-radius: 3px; 160 | -moz-border-bottom-colors: none; 161 | -moz-border-left-colors: none; 162 | -moz-border-right-colors: none; 163 | -moz-border-top-colors: none; 164 | border-image: none; 165 | border-style: solid; 166 | border-top-left-radius: 2px; 167 | border-top-right-radius: 2px; 168 | border-width: 2px; 169 | } 170 | .post-content{ 171 | padding:10px 7px 10px 7px; 172 | word-wrap:break-word; 173 | background-color: #fff; 174 | border-top: 2px solid #b7c7cf; 175 | } 176 | .post-image{ 177 | display: block; 178 | margin: 0 auto; 179 | margin-top: 20px; 180 | margin-bottom: 20px; 181 | } 182 | .blog-tabs li{ 183 | clear: both; 184 | width: 150px; 185 | } 186 | .blog-tabs li a{ 187 | font-size: 13px; 188 | font-weight: bold; 189 | } 190 | /* custom inclusion of right, left and below tabs */ 191 | 192 | .tabs-below > .nav-tabs, 193 | .tabs-right > .nav-tabs, 194 | .tabs-left > .nav-tabs { 195 | border-bottom: 0; 196 | } 197 | 198 | .tab-content > .tab-pane, 199 | .pill-content > .pill-pane { 200 | display: none; 201 | } 202 | 203 | .tab-content > .active, 204 | .pill-content > .active { 205 | display: block; 206 | } 207 | 208 | .tabs-below > .nav-tabs { 209 | border-top: 1px solid #ddd; 210 | } 211 | 212 | .tabs-below > .nav-tabs > li { 213 | margin-top: -1px; 214 | margin-bottom: 0; 215 | } 216 | 217 | .tabs-below > .nav-tabs > li > a { 218 | -webkit-border-radius:0px; 219 | -moz-border-radius:0px; 220 | border-radius:0px; 221 | } 222 | 223 | .tabs-below > .nav-tabs > li > a:hover, 224 | .tabs-below > .nav-tabs > li > a:focus { 225 | border-top-color: #ddd; 226 | border-bottom-color: transparent; 227 | } 228 | 229 | .tabs-below > .nav-tabs > .active > a, 230 | .tabs-below > .nav-tabs > .active > a:hover, 231 | .tabs-below > .nav-tabs > .active > a:focus { 232 | border-color: transparent #ddd #ddd #ddd; 233 | } 234 | 235 | .tabs-left > .nav-tabs > li, 236 | .tabs-right > .nav-tabs > li { 237 | float: none; 238 | } 239 | 240 | .tabs-left > .nav-tabs > li > a, 241 | .tabs-right > .nav-tabs > li > a { 242 | min-width: 74px; 243 | margin-right: 0; 244 | margin-bottom: 3px; 245 | } 246 | 247 | .tabs-left > .nav-tabs { 248 | float: left; 249 | margin-right: 19px; 250 | border-right: 1px solid #ddd; 251 | } 252 | 253 | .tabs-left > .nav-tabs > li > a { 254 | margin-right: -1px; 255 | -webkit-border-radius:0px; 256 | -moz-border-radius:0px; 257 | border-radius:0px; 258 | } 259 | 260 | .tabs-left > .nav-tabs > li > a:hover, 261 | .tabs-left > .nav-tabs > li > a:focus { 262 | border-color: #eeeeee #dddddd #eeeeee #eeeeee; 263 | } 264 | 265 | .tabs-left > .nav-tabs .active > a, 266 | .tabs-left > .nav-tabs .active > a:hover, 267 | .tabs-left > .nav-tabs .active > a:focus { 268 | border-color: #ddd transparent #ddd #ddd; 269 | *border-right-color: #ffffff; 270 | } 271 | 272 | .tabs-right > .nav-tabs { 273 | float: right; 274 | margin-left: 19px; 275 | border-left: 1px solid #ddd; 276 | } 277 | 278 | .tabs-right > .nav-tabs > li > a { 279 | margin-left: -1px; 280 | -webkit-border-radius:0px; 281 | -moz-border-radius:0px; 282 | border-radius:0px; 283 | } 284 | 285 | .tabs-right > .nav-tabs > li > a:hover, 286 | .tabs-right > .nav-tabs > li > a:focus { 287 | border-color: #eeeeee #eeeeee #eeeeee #dddddd; 288 | } 289 | 290 | .tabs-right > .nav-tabs .active > a, 291 | .tabs-right > .nav-tabs .active > a:hover, 292 | .tabs-right > .nav-tabs .active > a:focus { 293 | border-color: #ddd #ddd #ddd transparent; 294 | *border-left-color: #ffffff; 295 | } 296 | .nav-tabs > li.active > a, 297 | .nav-tabs > li.active > a:hover, 298 | .nav-tabs > li.active > a:focus { 299 | color: #555555; 300 | cursor: default; 301 | background-color: #ffffff !important; 302 | border: 1px solid #dddddd; 303 | border-bottom-color: transparent; 304 | } 305 | .all-comments{ 306 | margin-top: 20px; 307 | } 308 | .any-comment-right { 309 | position: relative; 310 | background: #f7f7f7; 311 | border: 1px solid #ddd; 312 | } 313 | .any-comment-right:after, .any-comment-right:before { 314 | right: 100%; 315 | top: 20px; 316 | border: solid transparent; 317 | content: " "; 318 | height: 0; 319 | width: 0; 320 | position: absolute; 321 | pointer-events: none; 322 | } 323 | 324 | .any-comment-right:after { 325 | border-color: rgba(247, 247, 247, 0); 326 | border-right-color: #f7f7f7; 327 | border-width: 8px; 328 | margin-top: -11px; 329 | } 330 | .any-comment-right:before { 331 | border-color: rgba(221, 221, 221, 0); 332 | border-right-color: #ddd; 333 | border-width: 9px; 334 | margin-top: -12px; 335 | } 336 | .any-comment-header{ 337 | padding-left: 15px; 338 | padding-right: 15px; 339 | padding-top: 10px; 340 | padding-bottom: 10px; 341 | color: #777; 342 | background-color: #f7f7f7; 343 | border-bottom: 1px solid #eee; 344 | border-top-left-radius: 4px; 345 | border-top-right-radius: 4px; 346 | font-size: 13px; 347 | } 348 | .any-comment-content{ 349 | padding-left: 15px; 350 | padding-right: 15px; 351 | padding-top: 15px; 352 | padding-bottom: 15px; 353 | background-color: #fff; 354 | } 355 | .any-comment-username:link, 356 | .any-comment-username:visited, 357 | .any-comment-username:hover, 358 | .any-comment-username:active{ 359 | color:#000; 360 | } 361 | .any-comment{ 362 | margin-bottom: 20px; 363 | } 364 | .leave-comment{ 365 | resize:vertical; 366 | outline: none; 367 | padding: 10px; 368 | border-radius: 5px; 369 | border-color:#ddd; 370 | border-width: 2px; 371 | } 372 | .all-revisions{ 373 | margin-top: 20px; 374 | } 375 | .revision-group-header{ 376 | margin: 0px 0 0 0; 377 | padding: 5px 8px; 378 | font-size: 13px; 379 | color: #3a505b; 380 | text-shadow: 0 1px white; 381 | background: #e6f1f6; 382 | border: 1px solid #c5d5dd; 383 | font-weight: bold; 384 | } 385 | .any-revision{ 386 | margin:0px; 387 | background: #fff; 388 | border: 1px solid #c5d5dd; 389 | border-top: none; 390 | padding: 5px; 391 | } 392 | .any-revision:hover{ 393 | background-color: #fcfce2; 394 | } 395 | .any-revision-message{ 396 | margin: 1px 0 1px 0; 397 | font-size: 14px; 398 | font-weight: bold; 399 | color: #333; 400 | } 401 | .img-revision{ 402 | padding:4px; 403 | } 404 | .any-revision-right-group{ 405 | margin-left: -20px !important; 406 | } 407 | .any-revision-author{ 408 | font-size: 12px; 409 | } 410 | .revision-group{ 411 | margin-bottom: 20px; 412 | } 413 | .social-share{ 414 | padding-top: 30px; 415 | list-style: none; 416 | float: left; 417 | margin-left: -1px; 418 | border-left: 1px solid #ddd; 419 | } 420 | .social-share li{ 421 | margin: 0px 10px 10px -25px; 422 | } 423 | .social-share-button{ 424 | width: 110px; 425 | text-align: left; 426 | } 427 | .social-share-button i{ 428 | text-align: center; 429 | width: 20px; 430 | } 431 | 432 | .comment-form-author{ 433 | text-align: center; 434 | padding: 10px; 435 | } 436 | #comment_submit{ 437 | display: none; 438 | } -------------------------------------------------------------------------------- /assets/css/search.css: -------------------------------------------------------------------------------- 1 | .search-title{ 2 | font-size: 20px; 3 | margin-top: 5px; 4 | } 5 | .search-button{ 6 | margin-right: 0px; 7 | margin-left: 20px; 8 | } 9 | .search-result-menus{ 10 | background: #fafafb; 11 | border-color: rgb(234,234,234); 12 | border-image: none; 13 | border-style: solid; 14 | border-width: 3px; 15 | list-style: none; 16 | width: 220px; 17 | padding-left: 0px; 18 | } 19 | .search-result-menus li{ 20 | height: 30px; 21 | padding: 5px 10px 10px 10px; 22 | border-bottom: 1px solid #eee; 23 | border-top: 1px solid #fff; 24 | } 25 | .search-result-menus li.active{ 26 | background-color: #fff !important; 27 | border-left: 2px solid #d26911; 28 | color: #000 !important; 29 | font-weight: bold; 30 | } 31 | .search-result-menus li:hover{ 32 | background-color: #fdfdfe; 33 | } 34 | .search-result-menus li.active a:link, 35 | .search-result-menus li.active a:visited, 36 | .search-result-menus li.active a:hover, 37 | .search-result-menus li.active a:active{ 38 | color:#000; 39 | } 40 | .search-result-menus li a:link, 41 | .search-result-menus li a:visited, 42 | .search-result-menus li a:hover, 43 | .search-result-menus li a:active{ 44 | text-decoration: none; 45 | } 46 | .search-result-menus li i{ 47 | width: 20px; 48 | text-align: left; 49 | color:#333333; 50 | font-size: 12px; 51 | } 52 | .search-result-menu-count .label{ 53 | background-color: #eee; 54 | color: #999; 55 | } -------------------------------------------------------------------------------- /assets/css/shared.css: -------------------------------------------------------------------------------- 1 | html, 2 | body { 3 | height: 100%; 4 | } 5 | #wrap { 6 | min-height: 100%; 7 | height: auto; 8 | margin: 0 auto -60px; 9 | padding: 0 0 60px; 10 | } 11 | #footer { 12 | margin-top: 30px; 13 | height: 100px; 14 | } 15 | #footer .container{ 16 | border-top: 1px solid #ccc; 17 | padding-top: 30px; 18 | } 19 | @font-face { 20 | font-family: "Octicons Regular"; 21 | src: url("../fonts/octicons-regular-webfont.eot"); 22 | src: url("../fonts/octicons-regular-webfont.eot") format("embedded-opentype"), url("../fonts/octicons-regular-webfont.woff") format("woff"), url("../fonts/octicons-regular-webfont.ttf") format("truetype"), url("../fonts/octicons-regular-webfont.svg") format("svg"); 23 | style: normal; 24 | weight: normal; 25 | } 26 | 27 | @font-face { 28 | font-family: "Collegiate"; 29 | src: url("../fonts/Collegiate.eot"); 30 | src: url("../fonts/Collegiate.eot") format("embedded-opentype"), url("../fonts/Collegiate.woff") format("woff"), url("../fonts/Collegiate.ttf") format("truetype"), url("../fonts/Collegiate.svg") format("svg"); 31 | style: normal; 32 | weight: normal; 33 | } 34 | .navbar-static-top{ 35 | border-bottom: 1px solid #e5e5e5; 36 | height: 68px; 37 | } 38 | .navbar-header a { 39 | line-height: 40px; 40 | } 41 | .navbar-nav li a { 42 | line-height: 40px; 43 | color: #000000; 44 | font-weight: 400; 45 | } 46 | .navbar-brand{ 47 | font-size: 25px; 48 | color: #000000; 49 | font-weight: 400; 50 | } 51 | .navbar-brand:link, 52 | .navbar-brand:visited, 53 | .navbar-brand:hover, 54 | .navbar-brand:active{ 55 | color:#000000; 56 | } 57 | @media (min-width: 1200px) { 58 | .container{ 59 | max-width: 990px; 60 | } 61 | } 62 | .footer-center{ 63 | text-align: center; 64 | } 65 | .footer-menu{ 66 | list-style-type: none; 67 | text-align: right; 68 | } 69 | .footer-menu li{ 70 | float: left; 71 | text-align: right; 72 | margin-left: 20px; 73 | } 74 | .no-padding-left{ 75 | padding-left: 0px !important; 76 | } 77 | .no-padding-top{ 78 | padding-top: 0px !important; 79 | } 80 | .no-padding-right{ 81 | padding-right: 0px !important; 82 | } 83 | .no-padding-bottom{ 84 | padding-bottom: 0px !important; 85 | } 86 | .bold{ 87 | font-weight: bold; 88 | } 89 | .add-on .input-group-btn > .btn { 90 | border-left-width:0;left:-2px; 91 | -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); 92 | box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); 93 | } 94 | /* stop the glowing blue shadow */ 95 | .add-on .form-control:focus { 96 | box-shadow:none; 97 | -webkit-box-shadow:none; 98 | border-color:#cccccc; 99 | } 100 | .add-on{ 101 | margin-top: 15px; 102 | } 103 | .ml15{ 104 | margin-left: 15px; 105 | } 106 | .footer-brand-logo{ 107 | font-size: 30px; 108 | margin-top: -15px; 109 | } -------------------------------------------------------------------------------- /assets/fonts/Collegiate.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mustafauysal/wp-git/bf2f187f32b49ac84b4288308482d620ad4981d9/assets/fonts/Collegiate.eot -------------------------------------------------------------------------------- /assets/fonts/Collegiate.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mustafauysal/wp-git/bf2f187f32b49ac84b4288308482d620ad4981d9/assets/fonts/Collegiate.ttf -------------------------------------------------------------------------------- /assets/fonts/Collegiate.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mustafauysal/wp-git/bf2f187f32b49ac84b4288308482d620ad4981d9/assets/fonts/Collegiate.woff -------------------------------------------------------------------------------- /assets/fonts/FontAwesome.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mustafauysal/wp-git/bf2f187f32b49ac84b4288308482d620ad4981d9/assets/fonts/FontAwesome.otf -------------------------------------------------------------------------------- /assets/fonts/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mustafauysal/wp-git/bf2f187f32b49ac84b4288308482d620ad4981d9/assets/fonts/fontawesome-webfont.eot -------------------------------------------------------------------------------- /assets/fonts/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mustafauysal/wp-git/bf2f187f32b49ac84b4288308482d620ad4981d9/assets/fonts/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /assets/fonts/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mustafauysal/wp-git/bf2f187f32b49ac84b4288308482d620ad4981d9/assets/fonts/fontawesome-webfont.woff -------------------------------------------------------------------------------- /assets/fonts/fontawesome-webfont.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mustafauysal/wp-git/bf2f187f32b49ac84b4288308482d620ad4981d9/assets/fonts/fontawesome-webfont.woff2 -------------------------------------------------------------------------------- /assets/fonts/glyphicons-halflings-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mustafauysal/wp-git/bf2f187f32b49ac84b4288308482d620ad4981d9/assets/fonts/glyphicons-halflings-regular.eot -------------------------------------------------------------------------------- /assets/fonts/glyphicons-halflings-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mustafauysal/wp-git/bf2f187f32b49ac84b4288308482d620ad4981d9/assets/fonts/glyphicons-halflings-regular.ttf -------------------------------------------------------------------------------- /assets/fonts/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mustafauysal/wp-git/bf2f187f32b49ac84b4288308482d620ad4981d9/assets/fonts/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /assets/fonts/glyphicons-halflings-regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mustafauysal/wp-git/bf2f187f32b49ac84b4288308482d620ad4981d9/assets/fonts/glyphicons-halflings-regular.woff2 -------------------------------------------------------------------------------- /assets/fonts/octicons-regular-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mustafauysal/wp-git/bf2f187f32b49ac84b4288308482d620ad4981d9/assets/fonts/octicons-regular-webfont.eot -------------------------------------------------------------------------------- /assets/fonts/octicons-regular-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mustafauysal/wp-git/bf2f187f32b49ac84b4288308482d620ad4981d9/assets/fonts/octicons-regular-webfont.ttf -------------------------------------------------------------------------------- /assets/fonts/octicons-regular-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mustafauysal/wp-git/bf2f187f32b49ac84b4288308482d620ad4981d9/assets/fonts/octicons-regular-webfont.woff -------------------------------------------------------------------------------- /assets/img/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mustafauysal/wp-git/bf2f187f32b49ac84b4288308482d620ad4981d9/assets/img/.gitkeep -------------------------------------------------------------------------------- /assets/js/customizer.js: -------------------------------------------------------------------------------- 1 | /** 2 | * File customizer.js. 3 | * 4 | * Theme Customizer enhancements for a better user experience. 5 | * 6 | * Contains handlers to make Theme Customizer preview reload changes asynchronously. 7 | */ 8 | 9 | ( function( $ ) { 10 | 11 | // Site title and description. 12 | wp.customize( 'blogname', function( value ) { 13 | value.bind( function( to ) { 14 | $( '.site-title a' ).text( to ); 15 | } ); 16 | } ); 17 | wp.customize( 'blogdescription', function( value ) { 18 | value.bind( function( to ) { 19 | $( '.site-description' ).text( to ); 20 | } ); 21 | } ); 22 | 23 | wp.customize( 'wp_git_homepage_profile_name', function( value ) { 24 | value.bind( function( to ) { 25 | $( '.user-fullname' ).text( to ); 26 | } ); 27 | } ); 28 | 29 | wp.customize( 'wp_git_homepage_username', function( value ) { 30 | value.bind( function( to ) { 31 | $( '.user-username' ).text( to ); 32 | } ); 33 | } ); 34 | 35 | wp.customize( 'wp_git_homepage_bio', function( value ) { 36 | value.bind( function( to ) { 37 | $( '.user-bio' ).text( to ); 38 | } ); 39 | } ); 40 | 41 | wp.customize( 'wp_git_homepage_bio', function( value ) { 42 | value.bind( function( to ) { 43 | $( '.user-bio' ).text( to ); 44 | } ); 45 | } ); 46 | 47 | wp.customize('wp_git_homepage_company', function (value) { 48 | value.bind(function (to) { 49 | $('.wp_git_company').text(to); 50 | }); 51 | }); 52 | 53 | wp.customize('wp_git_homepage_location', function (value) { 54 | value.bind(function (to) { 55 | $('.wp_git_location').text(to); 56 | }); 57 | }); 58 | 59 | wp.customize('wp_git_homepage_email', function (value) { 60 | value.bind(function (to) { 61 | if(to == ''){ 62 | $('.wp_git_email').parent('li').hide(); 63 | }else{ 64 | $('.wp_git_email').parent('li').show(); 65 | } 66 | 67 | $('.wp_git_email').text(to); 68 | $('.wp_git_email').attr('href', 'mailto:' + to); 69 | }); 70 | }); 71 | 72 | wp.customize('wp_git_homepage_url', function (value) { 73 | value.bind(function (to) { 74 | if(to == ''){ 75 | $('.wp_git_url').parent('li').hide(); 76 | }else{ 77 | $('.wp_git_url').parent('li').show(); 78 | } 79 | 80 | $('.wp_git_url').text(to); 81 | $('.wp_git_url').attr('href', to); 82 | }); 83 | }); 84 | 85 | wp.customize('wp_git_homepage_date', function (value) { 86 | value.bind(function (to) { 87 | if(to == ''){ 88 | $('.wp_git_date').parent('li').hide(); 89 | }else{ 90 | $('.wp_git_date').parent('li').show(); 91 | } 92 | $('.wp_git_date').text(to); 93 | }); 94 | }); 95 | 96 | // Header text color. 97 | wp.customize( 'header_textcolor', function( value ) { 98 | value.bind( function( to ) { 99 | if ( 'blank' === to ) { 100 | $( '.site-title a, .site-description' ).css( { 101 | 'clip': 'rect(1px, 1px, 1px, 1px)', 102 | 'position': 'absolute' 103 | } ); 104 | } else { 105 | $( '.site-title a, .site-description' ).css( { 106 | 'clip': 'auto', 107 | 'position': 'relative' 108 | } ); 109 | $( '.site-title a, .site-description' ).css( { 110 | 'color': to 111 | } ); 112 | } 113 | } ); 114 | } ); 115 | } )( jQuery ); 116 | -------------------------------------------------------------------------------- /assets/js/index.js: -------------------------------------------------------------------------------- 1 | jQuery(function ($) { 2 | 3 | template="
  • \ 4 | \ 5 | \ 6 |
    \ 7 |
    \ 8 |
    \ 9 |
    \ 10 |
    \ 11 |
    \ 12 |
    \ 13 |
  • "; 14 | 15 | options = { 16 | valueNames: [ 'all_posts_one_blog_name', 'all-posts-one_blog_permalink', 'all_posts_one_blog_description','all_posts_one_blog_ago','all_posts_one_category','star_count' ], 17 | item: template 18 | }; 19 | 20 | if (typeof(List) != "undefined") { 21 | 22 | userList = new List('posts', options); 23 | 24 | userList.add(posts, function () { 25 | 26 | $('.all-posts-one_blog_permalink_real').each(function () { 27 | href = $(this).find('.all-posts-one_blog_permalink').html(); 28 | $(this).attr('href', href); 29 | }); 30 | }); 31 | 32 | 33 | dropdown = false; 34 | 35 | $(function () { 36 | $('.filter-by-categories-dropdown .dropdown-menu li').on('click', function () { 37 | 38 | var a = $(this).find('a'); 39 | 40 | var cat = a.html(); 41 | 42 | if ('All Categories' == cat) { 43 | userList.filter(); 44 | userList.search(); 45 | 46 | } else { 47 | 48 | userList.filter(function (item) { 49 | if (item.values().all_posts_one_category == cat) { 50 | return true; 51 | } else { 52 | return false; 53 | } 54 | 55 | }); 56 | } 57 | $('.filter-by-categories-dropdown .dropdown-toggle').html(cat); 58 | 59 | $('.filter-by-categories-dropdown .dropdown-toggle').append(' '); 60 | }); 61 | }); 62 | 63 | var calendar = new CalHeatMap(); 64 | calendar.init({ 65 | displayLegend : true, 66 | tooltip : true, 67 | data : wp_git_vars.data, 68 | domain : "month", 69 | range : 10, 70 | cellSize : 10, 71 | start : new Date(new Date().getFullYear(), 0, 1), 72 | label : { 73 | position: "top" 74 | }, 75 | legendCellSize : 10, 76 | legendCellPadding : 3, 77 | legendHorizontalPosition: 'right', 78 | itemName : wp_git_vars.item_name, 79 | cellLabel : { 80 | empty : "{date}", 81 | filled: wp_git_vars.cell.filled 82 | } 83 | }); 84 | } 85 | 86 | }); -------------------------------------------------------------------------------- /assets/js/list.min.js: -------------------------------------------------------------------------------- 1 | !function a(b,c,d){function e(g,h){if(!c[g]){if(!b[g]){var i="function"==typeof require&&require;if(!h&&i)return i(g,!0);if(f)return f(g,!0);var j=new Error("Cannot find module '"+g+"'");throw j.code="MODULE_NOT_FOUND",j}var k=c[g]={exports:{}};b[g][0].call(k.exports,function(a){var c=b[g][1][a];return e(c?c:a)},k,k.exports,a,b,c,d)}return c[g].exports}for(var f="function"==typeof require&&require,g=0;gb;b++)a.push(r.items[b].values());return a},this.add=function(a,b){if(0!==a.length){if(b)return void t(a,b);var c=[],e=!1;a[0]===d&&(a=[a]);for(var f=0,g=a.length;g>f;f++){var h=null;e=r.items.length>r.page?!0:!1,h=new s(a[f],d,e),r.items.push(h),c.push(h)}return r.update(),c}},this.show=function(a,b){return this.i=a,this.page=b,r.update(),r},this.remove=function(a,b,c){for(var d=0,e=0,f=r.items.length;f>e;e++)r.items[e].values()[a]==b&&(r.templater.remove(r.items[e],c),r.items.splice(e,1),f--,e--,d++);return r.update(),d},this.get=function(a,b){for(var c=[],d=0,e=r.items.length;e>d;d++){var f=r.items[d];f.values()[a]==b&&c.push(f)}return c},this.size=function(){return r.items.length},this.clear=function(){return r.templater.clear(),r.items=[],r},this.on=function(a,b){return r.handlers[a].push(b),r},this.off=function(a,b){var c=r.handlers[a],d=h(c,b);return d>-1&&c.splice(d,1),r},this.trigger=function(a){for(var b=r.handlers[a].length;b--;)r.handlers[a][b](r);return r},this.reset={filter:function(){for(var a=r.items,b=a.length;b--;)a[b].filtered=!1;return r},search:function(){for(var a=r.items,b=a.length;b--;)a[b].found=!1;return r}},this.update=function(){var a=r.items,b=a.length;r.visibleItems=[],r.matchingItems=[],r.templater.clear();for(var c=0;b>c;c++)a[c].matching()&&r.matchingItems.length+1>=r.i&&r.visibleItems.length0?setTimeout(function(){b(c,d,e)},1):(a.update(),d(e))};return b}},{}],3:[function(a,b,c){b.exports=function(a){return a.handlers.filterStart=a.handlers.filterStart||[],a.handlers.filterComplete=a.handlers.filterComplete||[],function(b){if(a.trigger("filterStart"),a.i=1,a.reset.filter(),void 0===b)a.filtered=!1;else{a.filtered=!0;for(var c=a.items,d=0,e=c.length;e>d;d++){var f=c[d];b(f)?f.filtered=!0:f.filtered=!1}}return a.update(),a.trigger("filterComplete"),a.visibleItems}}},{}],4:[function(a,b,c){b.exports=function(a){return function(b,c,d){var e=this;this._values={},this.found=!1,this.filtered=!1;var f=function(b,c,d){if(void 0===c)d?e.values(b,d):e.values(b);else{e.elm=c;var f=a.templater.get(e,b);e.values(f)}};this.values=function(b,c){if(void 0===b)return e._values;for(var d in b)e._values[d]=b[d];c!==!0&&a.templater.set(e,e.values())},this.show=function(){a.templater.show(e)},this.hide=function(){a.templater.hide(e)},this.matching=function(){return a.filtered&&a.searched&&e.found&&e.filtered||a.filtered&&!a.searched&&e.filtered||!a.filtered&&a.searched&&e.found||!a.filtered&&!a.searched},this.visible=function(){return e.elm&&e.elm.parentNode==a.list?!0:!1},f(b,c,d)}}},{}],5:[function(a,b,c){b.exports=function(b){var c=a("./item")(b),d=function(a){for(var b=a.childNodes,c=[],d=0,e=b.length;e>d;d++)void 0===b[d].data&&c.push(b[d]);return c},e=function(a,d){for(var e=0,f=a.length;f>e;e++)b.items.push(new c(d,a[e]))},f=function(a,c){var d=a.splice(0,50);e(d,c),a.length>0?setTimeout(function(){f(a,c)},1):(b.update(),b.trigger("parseComplete"))};return b.handlers.parseComplete=b.handlers.parseComplete||[],function(){var a=d(b.list),c=b.valueNames;b.indexAsync?f(a,c):e(a,c)}}},{"./item":4}],6:[function(a,b,c){b.exports=function(a){var b,c,d,e,f={resetList:function(){a.i=1,a.templater.clear(),e=void 0},setOptions:function(a){2==a.length&&a[1]instanceof Array?c=a[1]:2==a.length&&"function"==typeof a[1]?e=a[1]:3==a.length&&(c=a[1],e=a[2])},setColumns:function(){0!==a.items.length&&void 0===c&&(c=void 0===a.searchColumns?f.toArray(a.items[0].values()):a.searchColumns)},setSearchString:function(b){b=a.utils.toString(b).toLowerCase(),b=b.replace(/[-[\]{}()*+?.,\\^$|#]/g,"\\$&"),d=b},toArray:function(a){var b=[];for(var c in a)b.push(c);return b}},g={list:function(){for(var b=0,c=a.items.length;c>b;b++)g.item(a.items[b])},item:function(a){a.found=!1;for(var b=0,d=c.length;d>b;b++)if(g.values(a.values(),c[b]))return void(a.found=!0)},values:function(c,e){return c.hasOwnProperty(e)&&(b=a.utils.toString(c[e]).toLowerCase(),""!==d&&b.search(d)>-1)?!0:!1},reset:function(){a.reset.search(),a.searched=!1}},h=function(b){return a.trigger("searchStart"),f.resetList(),f.setSearchString(b),f.setOptions(arguments),f.setColumns(),""===d?g.reset():(a.searched=!0,e?e(d,c):g.list()),a.update(),a.trigger("searchComplete"),a.visibleItems};return a.handlers.searchStart=a.handlers.searchStart||[],a.handlers.searchComplete=a.handlers.searchComplete||[],a.utils.events.bind(a.utils.getByClass(a.listContainer,a.searchClass),"keyup",function(b){var c=b.target||b.srcElement,d=""===c.value&&!a.searched;d||h(c.value)}),a.utils.events.bind(a.utils.getByClass(a.listContainer,a.searchClass),"input",function(a){var b=a.target||a.srcElement;""===b.value&&h("")}),h}},{}],7:[function(a,b,c){b.exports=function(a){a.sortFunction=a.sortFunction||function(b,c,d){return d.desc="desc"==d.order?!0:!1,a.utils.naturalSort(b.values()[d.valueName],c.values()[d.valueName],d)};var b={els:void 0,clear:function(){for(var c=0,d=b.els.length;d>c;c++)a.utils.classes(b.els[c]).remove("asc"),a.utils.classes(b.els[c]).remove("desc")},getOrder:function(b){var c=a.utils.getAttribute(b,"data-order");return"asc"==c||"desc"==c?c:a.utils.classes(b).has("desc")?"asc":a.utils.classes(b).has("asc")?"desc":"asc"},getInSensitive:function(b,c){var d=a.utils.getAttribute(b,"data-insensitive");"false"===d?c.insensitive=!1:c.insensitive=!0},setOrder:function(c){for(var d=0,e=b.els.length;e>d;d++){var f=b.els[d];if(a.utils.getAttribute(f,"data-sort")===c.valueName){var g=a.utils.getAttribute(f,"data-order");"asc"==g||"desc"==g?g==c.order&&a.utils.classes(f).add(c.order):a.utils.classes(f).add(c.order)}}}},c=function(){a.trigger("sortStart");var c={},d=arguments[0].currentTarget||arguments[0].srcElement||void 0;d?(c.valueName=a.utils.getAttribute(d,"data-sort"),b.getInSensitive(d,c),c.order=b.getOrder(d)):(c=arguments[1]||c,c.valueName=arguments[0],c.order=c.order||"asc",c.insensitive="undefined"==typeof c.insensitive?!0:c.insensitive),b.clear(),b.setOrder(c),c.sortFunction=c.sortFunction||a.sortFunction,a.items.sort(function(a,b){var d="desc"===c.order?-1:1;return c.sortFunction(a,b,c)*d}),a.update(),a.trigger("sortComplete")};return a.handlers.sortStart=a.handlers.sortStart||[],a.handlers.sortComplete=a.handlers.sortComplete||[],b.els=a.utils.getByClass(a.listContainer,a.sortClass),a.utils.events.bind(b.els,"click",c),a.on("searchStart",b.clear),a.on("filterStart",b.clear),c}},{}],8:[function(a,b,c){var d=function(a){var b,c=this,d=function(){b=c.getItemSource(a.item),b=c.clearSourceItem(b,a.valueNames)};this.clearSourceItem=function(b,c){for(var d=0,e=c.length;e>d;d++){var f;if(c[d].data)for(var g=0,h=c[d].data.length;h>g;g++)b.setAttribute("data-"+c[d].data[g],"");else c[d].attr&&c[d].name?(f=a.utils.getByClass(b,c[d].name,!0),f&&f.setAttribute(c[d].attr,"")):(f=a.utils.getByClass(b,c[d],!0),f&&(f.innerHTML=""));f=void 0}return b},this.getItemSource=function(b){if(void 0===b){for(var c=a.list.childNodes,d=0,e=c.length;e>d;d++)if(void 0===c[d].data)return c[d].cloneNode(!0)}else{if(/^tr[\s>]/.exec(b)){var f=document.createElement("table");return f.innerHTML=b,f.firstChild}if(-1!==b.indexOf("<")){var g=document.createElement("div");return g.innerHTML=b,g.firstChild}var h=document.getElementById(a.item);if(h)return h}throw new Error("The list need to have at list one item on init otherwise you'll have to add a template.")},this.get=function(b,d){c.create(b);for(var e={},f=0,g=d.length;g>f;f++){var h;if(d[f].data)for(var i=0,j=d[f].data.length;j>i;i++)e[d[f].data[i]]=a.utils.getAttribute(b.elm,"data-"+d[f].data[i]);else d[f].attr&&d[f].name?(h=a.utils.getByClass(b.elm,d[f].name,!0),e[d[f].name]=h?a.utils.getAttribute(h,d[f].attr):""):(h=a.utils.getByClass(b.elm,d[f],!0),e[d[f]]=h?h.innerHTML:"");h=void 0}return e},this.set=function(b,d){var e=function(b){for(var c=0,d=a.valueNames.length;d>c;c++)if(a.valueNames[c].data){for(var e=a.valueNames[c].data,f=0,g=e.length;g>f;f++)if(e[f]===b)return{data:b}}else{if(a.valueNames[c].attr&&a.valueNames[c].name&&a.valueNames[c].name==b)return a.valueNames[c];if(a.valueNames[c]===b)return b}},f=function(c,d){var f,g=e(c);g&&(g.data?b.elm.setAttribute("data-"+g.data,d):g.attr&&g.name?(f=a.utils.getByClass(b.elm,g.name,!0),f&&f.setAttribute(g.attr,d)):(f=a.utils.getByClass(b.elm,g,!0),f&&(f.innerHTML=d)),f=void 0)};if(!c.create(b))for(var g in d)d.hasOwnProperty(g)&&f(g,d[g])},this.create=function(a){if(void 0!==a.elm)return!1;var d=b.cloneNode(!0);return d.removeAttribute("id"),a.elm=d,c.set(a,a.values()),!0},this.remove=function(b){b.elm.parentNode===a.list&&a.list.removeChild(b.elm)},this.show=function(b){c.create(b),a.list.appendChild(b.elm)},this.hide=function(b){void 0!==b.elm&&b.elm.parentNode===a.list&&a.list.removeChild(b.elm)},this.clear=function(){if(a.list.hasChildNodes())for(;a.list.childNodes.length>=1;)a.list.removeChild(a.list.firstChild)},d()};b.exports=function(a){return new d(a)}},{}],9:[function(a,b,c){function d(a){if(!a||!a.nodeType)throw new Error("A DOM element reference is required");this.el=a,this.list=a.classList}var e=a("./index-of"),f=/\s+/,g=Object.prototype.toString;b.exports=function(a){return new d(a)},d.prototype.add=function(a){if(this.list)return this.list.add(a),this;var b=this.array(),c=e(b,a);return~c||b.push(a),this.el.className=b.join(" "),this},d.prototype.remove=function(a){if("[object RegExp]"==g.call(a))return this.removeMatching(a);if(this.list)return this.list.remove(a),this;var b=this.array(),c=e(b,a);return~c&&b.splice(c,1),this.el.className=b.join(" "),this},d.prototype.removeMatching=function(a){for(var b=this.array(),c=0;cf;f++)void 0!==b[f]&&b[f].nodeName===b&&(c=b[f].nodeValue);return c}},{}],13:[function(a,b,c){b.exports=function(){return document.getElementsByClassName?function(a,b,c){return c?a.getElementsByClassName(b)[0]:a.getElementsByClassName(b)}:document.querySelector?function(a,b,c){return b="."+b,c?a.querySelector(b):a.querySelectorAll(b)}:function(a,b,c){var d=[],e="*";null===a&&(a=document);for(var f=a.getElementsByTagName(e),g=f.length,h=new RegExp("(^|\\s)"+b+"(\\s|$)"),i=0,j=0;g>i;i++)if(h.test(f[i].className)){if(c)return f[i];d[j]=f[i],j++}return d}}()},{}],14:[function(a,b,c){var d=[].indexOf;b.exports=function(a,b){if(d)return a.indexOf(b);for(var c=0;cr)return-1;if(r>s)return 1}for(var u=0,v=p.length,w=q.length,x=Math.max(v,w);x>u;u++){if(d=t(p[u],v),e=t(q[u],w),isNaN(d)!==isNaN(e))return isNaN(d)?1:-1;if(typeof d!=typeof e&&(d+="",e+=""),e>d)return-1;if(d>e)return 1}return 0}},{}],16:[function(a,b,c){function d(a){return"[object Array]"===Object.prototype.toString.call(a)}b.exports=function(a){if("undefined"==typeof a)return[];if(null===a)return[null];if(a===window)return[window];if("string"==typeof a)return[a];if(d(a))return a;if("number"!=typeof a.length)return[a];if("function"==typeof a&&a instanceof Function)return[a];for(var b=[],c=0;c'); 30 | target.val(elm.text()); 31 | elm.addClass('active'); 32 | } 33 | function getURLParameter(name) { 34 | return decodeURI( 35 | (RegExp(name + '=' + '(.+?)(&|$)').exec(location.search)||[,null])[1] 36 | ); 37 | } -------------------------------------------------------------------------------- /assets/js/stargaze.js: -------------------------------------------------------------------------------- 1 | jQuery(document).ready( function($) { 2 | 3 | $('.post-action-star').on('click', function() { 4 | 5 | count_element = $('.post-action-star-right-count'); 6 | 7 | var _cur = parseInt(count_element.html()); 8 | var $this = $(this); 9 | var post_id = $this.data('post-id'); 10 | var user_id = $this.data('user-id'); 11 | var ip_address = $this.data('ip-address'); 12 | 13 | var post_data = { 14 | action: 'star_it', 15 | item_id: post_id, 16 | user_id: user_id, 17 | ip_address: ip_address, 18 | is_logged: wp_git_stargaze_vars.is_logged, 19 | star_it_nonce: wp_git_stargaze_vars.nonce 20 | }; 21 | 22 | 23 | if(!$(this).hasClass('unstar')){ 24 | 25 | 26 | $(this).addClass('unstar'); 27 | 28 | $("#span_status").html("Unstar"); 29 | 30 | }else{ 31 | 32 | 33 | $(this).removeClass('unstar'); 34 | 35 | $("#span_status").html("Star"); 36 | 37 | } 38 | 39 | 40 | $.post(wp_git_stargaze_vars.ajaxurl, post_data, function(response) { 41 | count_element.html(response.count); 42 | }); 43 | return false; 44 | 45 | 46 | 47 | 48 | }); 49 | 50 | 51 | 52 | }); -------------------------------------------------------------------------------- /assets/screenshots/screenshot-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mustafauysal/wp-git/bf2f187f32b49ac84b4288308482d620ad4981d9/assets/screenshots/screenshot-1.png -------------------------------------------------------------------------------- /assets/screenshots/screenshot-10.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mustafauysal/wp-git/bf2f187f32b49ac84b4288308482d620ad4981d9/assets/screenshots/screenshot-10.png -------------------------------------------------------------------------------- /assets/screenshots/screenshot-11.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mustafauysal/wp-git/bf2f187f32b49ac84b4288308482d620ad4981d9/assets/screenshots/screenshot-11.png -------------------------------------------------------------------------------- /assets/screenshots/screenshot-12.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mustafauysal/wp-git/bf2f187f32b49ac84b4288308482d620ad4981d9/assets/screenshots/screenshot-12.gif -------------------------------------------------------------------------------- /assets/screenshots/screenshot-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mustafauysal/wp-git/bf2f187f32b49ac84b4288308482d620ad4981d9/assets/screenshots/screenshot-2.png -------------------------------------------------------------------------------- /assets/screenshots/screenshot-3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mustafauysal/wp-git/bf2f187f32b49ac84b4288308482d620ad4981d9/assets/screenshots/screenshot-3.png -------------------------------------------------------------------------------- /assets/screenshots/screenshot-4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mustafauysal/wp-git/bf2f187f32b49ac84b4288308482d620ad4981d9/assets/screenshots/screenshot-4.png -------------------------------------------------------------------------------- /assets/screenshots/screenshot-5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mustafauysal/wp-git/bf2f187f32b49ac84b4288308482d620ad4981d9/assets/screenshots/screenshot-5.png -------------------------------------------------------------------------------- /assets/screenshots/screenshot-6.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mustafauysal/wp-git/bf2f187f32b49ac84b4288308482d620ad4981d9/assets/screenshots/screenshot-6.gif -------------------------------------------------------------------------------- /assets/screenshots/screenshot-7.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mustafauysal/wp-git/bf2f187f32b49ac84b4288308482d620ad4981d9/assets/screenshots/screenshot-7.png -------------------------------------------------------------------------------- /assets/screenshots/screenshot-8.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mustafauysal/wp-git/bf2f187f32b49ac84b4288308482d620ad4981d9/assets/screenshots/screenshot-8.gif -------------------------------------------------------------------------------- /assets/screenshots/screenshot-9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mustafauysal/wp-git/bf2f187f32b49ac84b4288308482d620ad4981d9/assets/screenshots/screenshot-9.png -------------------------------------------------------------------------------- /author.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /footer.php: -------------------------------------------------------------------------------- 1 | 18 | 19 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /functions.php: -------------------------------------------------------------------------------- 1 | tag in the document head, and expect WordPress to 13 | * provide it for us. 14 | */ 15 | add_theme_support( 'title-tag' ); 16 | 17 | /* 18 | * Enable support for Post Thumbnails on posts and pages. 19 | * 20 | * @link https://developer.wordpress.org/themes/functionality/featured-images-post-thumbnails/ 21 | */ 22 | add_theme_support( 'post-thumbnails' ); 23 | 24 | } 25 | add_action( 'after_setup_theme', 'wp_git_setup' ); 26 | 27 | 28 | /** 29 | * Enqueue scripts and styles. 30 | */ 31 | function wp_git_scripts() { 32 | 33 | wp_enqueue_script( 'jquery' ); 34 | 35 | wp_enqueue_style( 'wp-git-bootstrap', get_template_directory_uri() . '/assets/css/bootstrap.min.css' ); 36 | wp_enqueue_style( 'wp-git-fontawesome', get_template_directory_uri() . '/assets/css/font-awesome.min.css' ); 37 | wp_enqueue_style( 'wp-git-shared', get_template_directory_uri() . '/assets/css/shared.css' ); 38 | wp_enqueue_style( 'wp-git-index', get_template_directory_uri() . '/assets/css/index.css' ); 39 | wp_enqueue_style( 'wp-git-cal-heatmap', get_template_directory_uri() . '/assets/css/cal-heatmap.css' ); 40 | 41 | wp_enqueue_script( 'wp-git-bootstrap', get_template_directory_uri() . '/assets/js/bootstrap.min.js', array(), false, true ); 42 | if ( is_archive() || is_home() ) { 43 | wp_enqueue_script( 'wp-git-list', get_template_directory_uri() . '/assets/js/list.min.js', array( 'jquery' ), false, true ); 44 | wp_enqueue_script( 'wp-git-d3', get_template_directory_uri() . '/assets/js/d3.v3.min.js', array(), false, true ); 45 | wp_enqueue_script( 'wp-git-cal-heatmap', get_template_directory_uri() . '/assets/js/cal-heatmap.min.js', array(), false, true ); 46 | } 47 | 48 | wp_enqueue_script( 'wp-git-index', get_template_directory_uri() . '/assets/js/index.js', array(), false, true ); 49 | wp_localize_script( 'wp-git-index', 'wp_git_vars', array( 50 | 'data' => wp_git_data('contribution_data'), 51 | 'item_name' => array(__('contribution','wp-git'),__('contributions','wp-git')), 52 | 'cell' => array('filled' => __("{count} contributions {name} a {date}","wp-git") ) 53 | ) 54 | ); 55 | 56 | if ( is_singular() && comments_open() && get_option( 'thread_comments' ) ) { 57 | wp_enqueue_script( 'comment-reply' ); 58 | } 59 | 60 | if ( is_single() || is_page() ) { 61 | wp_enqueue_script( 'wp-git-post', get_template_directory_uri() . '/assets/js/post.js', array(), false, true ); 62 | wp_enqueue_style( 'wp-git-post', get_template_directory_uri() . '/assets/css/post.css' ); 63 | 64 | } 65 | 66 | if(is_search()){ 67 | wp_enqueue_style( 'wp-git-search', get_template_directory_uri() . '/assets/css/search.css' ); 68 | } 69 | 70 | wp_enqueue_style( 'wp-git-style', get_stylesheet_uri() ); 71 | 72 | 73 | } 74 | 75 | add_action( 'wp_enqueue_scripts', 'wp_git_scripts' ); 76 | 77 | 78 | 79 | function wp_git_get_gravatar_url( $email, $size ) { 80 | $hash = md5( strtolower( trim( $email ) ) ) . '?s=' . $size; 81 | 82 | return 'http://gravatar.com/avatar/' . $hash; 83 | } 84 | 85 | function wp_git_get_author_gravatar_url( $args = array() ) { 86 | global $post; 87 | 88 | $params = wp_parse_args( $args, array( 89 | 'size' => '80', 90 | 'author_id' => $post->post_author, 91 | ) ); 92 | 93 | $email = get_the_author_meta('user_email', $params['author_id']); 94 | $hash = md5( strtolower( trim( $email ) ) ) . '?s=' . $params['size']; 95 | 96 | return 'http://gravatar.com/avatar/' . $hash; 97 | } 98 | 99 | add_filter( 'comment_form_default_fields', 'wp_git_unset_comment_fields' ); 100 | function wp_git_unset_comment_fields( $fields ) { 101 | if ( isset( $fields['url'] ) ) { 102 | unset( $fields['url'] ); 103 | } 104 | 105 | 106 | return $fields; 107 | } 108 | 109 | 110 | function wp_git_excerpt( $post_id = null, $limit ) { 111 | $excerpt_str = get_the_excerpt( $post_id ); 112 | if ( empty( $excerpt_str ) && ! empty( $post_id ) ) { 113 | $post = get_post( $post_id ); 114 | $excerpt_str = $post->post_content; 115 | } 116 | 117 | $excerpt = explode( ' ',$excerpt_str , $limit ); 118 | 119 | if ( count( $excerpt ) >= $limit ) { 120 | array_pop( $excerpt ); 121 | $excerpt = implode( " ", $excerpt ) . '...'; 122 | } 123 | else { 124 | $excerpt = implode( " ", $excerpt ); 125 | } 126 | $excerpt = preg_replace( '`\[[^\]]*\]`', '', $excerpt ); 127 | 128 | return wp_strip_all_tags( $excerpt ); 129 | } 130 | 131 | 132 | function wp_git_get_post_revision_count() { 133 | global $post, $wpdb; 134 | if ( is_single() ) { 135 | $result = $wpdb->get_results( $wpdb->prepare( "select id from $wpdb->posts where post_parent=%d and post_type=%s", get_the_ID(), 'revision' ) ); 136 | 137 | return count( $result ); 138 | } 139 | 140 | return 0; 141 | } 142 | 143 | function wp_git_word_count() { 144 | global $post; 145 | $content = get_post_field( 'post_content', $post->ID ); 146 | $word_count = str_word_count( strip_tags( $content ) ); 147 | 148 | return $word_count; 149 | } 150 | 151 | function wp_git_post_revisions() { 152 | if ( is_single() ) { 153 | global $post; 154 | 155 | $revisions = wp_get_post_revisions( $post ); 156 | $revision_group = array(); 157 | foreach ( $revisions as $rev_item ) { 158 | //date based group 159 | $rev_date = substr( $rev_item->post_date, 0, 10 ); 160 | 161 | $revision_group[ $rev_date ][] = $rev_item; 162 | } 163 | return $revision_group; 164 | } 165 | return false; 166 | } 167 | 168 | function wp_git_get_post_hash( $context ) { 169 | return substr( sha1( $context ), 0, 7 ); 170 | } 171 | 172 | function wp_git_get_latest_revision( $post_id ) { 173 | $revisions = wp_get_post_revisions( $post_id ); 174 | 175 | if ( is_array( $revisions ) && ! empty( $revisions ) ) { 176 | return array_shift( array_values( $revisions ) ); 177 | } 178 | 179 | return false; 180 | } 181 | 182 | function wp_git_compare_revision($post_id, $revision_id, $to = false ) { 183 | $revision_id = absint( $revision_id ); 184 | if ( false !== $to ) { 185 | $to = absint( $to ); 186 | } 187 | 188 | if ( $revision_id == $to ) { 189 | $to = false; 190 | } 191 | 192 | $revisions = wp_get_post_revisions( $post_id ); 193 | if(false!==$to){ 194 | $prev_revision = $revisions[$to]; 195 | } 196 | 197 | 198 | foreach ( $revisions as $rev_id => $revision ) { 199 | 200 | if ( $rev_id == $revision_id ) { 201 | $base_revision = $revision; 202 | } 203 | 204 | if ( $rev_id < $revision_id && empty( $prev_revision ) ) { 205 | $prev_revision = $revision; 206 | break; 207 | } 208 | 209 | } 210 | $diff = wp_text_diff( $prev_revision->post_content, $base_revision->post_content); 211 | if ( ! empty( $diff ) ) { 212 | return $diff; 213 | } 214 | 215 | return __( "the content unchanged between these revisions. Other part of post data might be changed.", 'wp-git' ); 216 | } 217 | 218 | 219 | function wp_git_register_menus() { 220 | register_nav_menus( 221 | array( 222 | 'header-menu' => __( 'Header Menu', 'wp-git' ), 223 | 'footer-menu' => __( 'Footer Menu', 'wp-git' ), 224 | ) 225 | ); 226 | } 227 | add_action( 'init', 'wp_git_register_menus' ); 228 | 229 | 230 | 231 | 232 | add_theme_support( 'custom-logo', array( 233 | 'height' => 220, 234 | 'width' => 220, 235 | ) ); 236 | 237 | function wp_git_search_widget() { 238 | register_sidebar( array( 239 | 'name' => 'Search sidebar', 240 | 'id' => 'search_sidebar', 241 | 'before_widget' => '
    ', 242 | 'after_widget' => '
    ', 243 | 'before_title' => '

    ', 244 | 'after_title' => '

    ', 245 | ) ); 246 | 247 | } 248 | add_action( 'widgets_init', 'wp_git_search_widget' ); 249 | 250 | 251 | /** 252 | * Customizer additions. 253 | */ 254 | require get_template_directory() . '/inc/customizer.php'; 255 | 256 | require get_template_directory() . '/inc/stargazer.php'; 257 | /** 258 | * Extra profile fields 259 | */ 260 | require get_template_directory() . '/inc/profile-fields.php'; 261 | 262 | require get_template_directory() . '/inc/data-provider.php'; 263 | 264 | require get_template_directory() . '/inc/pagination.php'; 265 | -------------------------------------------------------------------------------- /header.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 |
    15 | -------------------------------------------------------------------------------- /home-page.php: -------------------------------------------------------------------------------- 1 |
    2 |
    3 | 4 | 5 |
    6 | 26 |
    27 |
    28 | 29 |
    30 | 31 | 32 |
    33 | 34 | 50 |
    51 |
    52 |
    53 |
    54 |
    55 | 56 |
    57 | 58 |
    59 | 60 |
    61 | 62 |
    63 | 64 |
    65 | 66 |
    67 | 68 |
    69 | 70 |
    71 | 74 | 92 |
    93 |
    94 | 95 |
    96 | 97 | 98 | 99 |
    100 | 101 | 102 | 103 |
    104 |
    105 |
    106 |
    107 |
    108 |
    109 |
      110 |
      111 |
      112 |
      113 | 114 |
      115 |
      116 |
      117 |
      118 |
      -------------------------------------------------------------------------------- /inc/customizer.php: -------------------------------------------------------------------------------- 1 | get_setting( 'blogname' )->transport = 'postMessage'; 15 | $wp_customize->get_setting( 'blogdescription' )->transport = 'postMessage'; 16 | $wp_customize->get_setting( 'header_textcolor' )->transport = 'postMessage'; 17 | 18 | 19 | // $wp_customize->add_section( 'wp_git_homepage_settings' , array( 20 | // 'title' => __( 'Homepage Settings', 'wp-git' ), 21 | // 'priority' => 30, 22 | // 'capability' => 'edit_theme_options', 23 | // 24 | // ) ); 25 | // Add a footer/copyright information section. 26 | 27 | 28 | 29 | 30 | $wp_customize->add_section( 'wp_git_home', array( 31 | 'priority' => 10, 32 | 'capability' => 'edit_theme_options', 33 | 'theme_supports' => '', 34 | 'title' => __( 'Home Profile Section', 'textdomain' ), 35 | 'description' => '', 36 | ) ); 37 | 38 | $wp_customize->add_setting( 'wp_git_homepage_profile_name', array( 39 | 'default' => '', 40 | 'type' => 'theme_mod', 41 | 'capability' => 'edit_theme_options', 42 | 'transport' => '', 43 | 'sanitize_callback' => 'esc_attr', 44 | ) ); 45 | 46 | $wp_customize->add_control( 'wp_git_homepage_profile_name', array( 47 | 'type' => 'text', 48 | 'priority' => 10, 49 | 'section' => 'wp_git_home', 50 | 'description' => __( 'Display name for homepage', 'wp-git' ), 51 | ) ); 52 | 53 | $wp_customize->add_setting( 'wp_git_homepage_username', array( 54 | 'default' => '', 55 | 'type' => 'theme_mod', 56 | 'capability' => 'edit_theme_options', 57 | 'transport' => '', 58 | 'sanitize_callback' => 'esc_attr', 59 | ) ); 60 | 61 | $wp_customize->add_control( 'wp_git_homepage_username', array( 62 | 'type' => 'text', 63 | 'priority' => 10, 64 | 'section' => 'wp_git_home', 65 | 'description' => __( 'Username for homepage', 'wp-git' ), 66 | ) ); 67 | 68 | $wp_customize->add_setting( 'wp_git_homepage_bio', array( 69 | 'default' => '', 70 | 'type' => 'theme_mod', 71 | 'capability' => 'edit_theme_options', 72 | 'transport' => '', 73 | 'sanitize_callback' => 'esc_attr', 74 | ) ); 75 | 76 | $wp_customize->add_control( 'wp_git_homepage_bio', array( 77 | 'type' => 'text', 78 | 'priority' => 10, 79 | 'section' => 'wp_git_home', 80 | 'description' => __( 'Bio', 'wp-git' ), 81 | ) ); 82 | 83 | $wp_customize->add_setting( 'wp_git_homepage_company', array( 84 | 'default' => '', 85 | 'type' => 'theme_mod', 86 | 'capability' => 'edit_theme_options', 87 | 'transport' => '', 88 | 'sanitize_callback' => 'esc_attr', 89 | ) ); 90 | 91 | $wp_customize->add_control( 'wp_git_homepage_company', array( 92 | 'type' => 'text', 93 | 'priority' => 10, 94 | 'section' => 'wp_git_home', 95 | 'description' => __( 'Company', 'wp-git' ), 96 | ) ); 97 | 98 | $wp_customize->add_setting( 'wp_git_homepage_location', array( 99 | 'default' => '', 100 | 'type' => 'theme_mod', 101 | 'capability' => 'edit_theme_options', 102 | 'transport' => '', 103 | 'sanitize_callback' => 'esc_attr', 104 | ) ); 105 | 106 | $wp_customize->add_control( 'wp_git_homepage_location', array( 107 | 'type' => 'text', 108 | 'priority' => 10, 109 | 'section' => 'wp_git_home', 110 | 'description' => __( 'Location', 'wp-git' ), 111 | ) ); 112 | 113 | $wp_customize->add_setting( 'wp_git_homepage_email', array( 114 | 'default' => get_bloginfo( 'admin_email' ), 115 | 'type' => 'theme_mod', 116 | 'capability' => 'edit_theme_options', 117 | 'transport' => '', 118 | 'sanitize_callback' => 'esc_attr', 119 | ) ); 120 | 121 | $wp_customize->add_control( 'wp_git_homepage_email', array( 122 | 'type' => 'email', 123 | 'priority' => 10, 124 | 'section' => 'wp_git_home', 125 | 'description' => __( 'Email', 'wp-git' ), 126 | ) ); 127 | 128 | $wp_customize->add_setting( 'wp_git_homepage_url', array( 129 | 'default' => home_url('/'), 130 | 'type' => 'theme_mod', 131 | 'capability' => 'edit_theme_options', 132 | 'transport' => '', 133 | 'sanitize_callback' => 'esc_attr', 134 | ) ); 135 | 136 | $wp_customize->add_control( 'wp_git_homepage_url', array( 137 | 'type' => 'url', 138 | 'priority' => 10, 139 | 'section' => 'wp_git_home', 140 | 'description' => __( 'URL', 'wp-git' ), 141 | ) ); 142 | 143 | $wp_customize->add_setting( 'wp_git_homepage_date', array( 144 | 'default' => '', 145 | 'type' => 'theme_mod', 146 | 'capability' => 'edit_theme_options', 147 | 'transport' => '', 148 | 'sanitize_callback' => 'wp_git_format_date', 149 | ) ); 150 | 151 | $wp_customize->add_control( 'wp_git_homepage_date', array( 152 | 'type' => 'date', 153 | 'priority' => 10, 154 | 'section' => 'wp_git_home', 155 | 'description' => __( 'Start date', 'wp-git' ), 156 | ) ); 157 | 158 | 159 | $wp_customize->get_setting( 'wp_git_homepage_profile_name' )->transport = 'postMessage'; 160 | $wp_customize->get_setting( 'wp_git_homepage_username' )->transport = 'postMessage'; 161 | $wp_customize->get_setting( 'wp_git_homepage_bio' )->transport = 'postMessage'; 162 | $wp_customize->get_setting( 'wp_git_homepage_company' )->transport = 'postMessage'; 163 | $wp_customize->get_setting( 'wp_git_homepage_location' )->transport = 'postMessage'; 164 | $wp_customize->get_setting( 'wp_git_homepage_email' )->transport = 'postMessage'; 165 | $wp_customize->get_setting( 'wp_git_homepage_url' )->transport = 'postMessage'; 166 | $wp_customize->get_setting( 'wp_git_homepage_date' )->transport = 'postMessage'; 167 | 168 | 169 | 170 | } 171 | add_action( 'customize_register', 'wp_git_customize_register' ); 172 | 173 | /** 174 | * Binds JS handlers to make Theme Customizer preview reload changes asynchronously. 175 | */ 176 | function wp_git_customize_preview_js() { 177 | wp_enqueue_script( 'github_customizer', get_template_directory_uri() . '/assets/js/customizer.js', array( 'customize-preview' ), '20151215', true ); 178 | } 179 | add_action( 'customize_preview_init', 'wp_git_customize_preview_js' ); 180 | 181 | function wp_git_format_date( $data ) { 182 | return date_i18n( get_option( 'date_format' ), strtotime( $data ) ); 183 | } 184 | -------------------------------------------------------------------------------- /inc/data-provider-interface.php: -------------------------------------------------------------------------------- 1 | is_author = true; 25 | $queried_object = get_queried_object(); 26 | if ( $queried_object instanceof WP_User ) { 27 | $this->author = get_queried_object(); 28 | }else{ 29 | $this->author = new WP_User($queried_object->post_author); 30 | } 31 | 32 | $this->provider = new WP_Git_Profile_Data_Provider( $this->author ); 33 | }else{ 34 | $this->provider = new WP_Git_Home_Data_Provider(); 35 | } 36 | } 37 | 38 | public function __get( $method ) { 39 | if ( method_exists( $this->provider, $method ) && is_callable( array( $this->provider, $method ) ) ) { 40 | return call_user_func( array( $this->provider, $method ) ); 41 | } 42 | return false; 43 | } 44 | 45 | } 46 | 47 | 48 | function wp_git_prepare_data( $is_author ) { 49 | return WP_Git_Data_Provider::factory( $is_author ); 50 | } 51 | 52 | function wp_git_data( $provider_method ) { 53 | 54 | $provider = WP_Git_Data_Provider::factory(); 55 | return $provider->$provider_method; 56 | } -------------------------------------------------------------------------------- /inc/pagination.php: -------------------------------------------------------------------------------- 1 | max_num_pages <= 1 ) 12 | return; 13 | 14 | $paged = get_query_var( 'paged' ) ? absint( get_query_var( 'paged' ) ) : 1; 15 | $max = intval( $wp_query->max_num_pages ); 16 | 17 | /** Add current page to the array */ 18 | if ( $paged >= 1 ) 19 | $links[] = $paged; 20 | 21 | /** Add the pages around the current page to the array */ 22 | if ( $paged >= 3 ) { 23 | $links[] = $paged - 1; 24 | $links[] = $paged - 2; 25 | } 26 | 27 | if ( ( $paged + 2 ) <= $max ) { 28 | $links[] = $paged + 2; 29 | $links[] = $paged + 1; 30 | } 31 | 32 | echo '' . "\n"; 69 | } 70 | -------------------------------------------------------------------------------- /inc/profile-fields.php: -------------------------------------------------------------------------------- 1 | 7 |

      8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 30 | 31 | 32 |
      ID ) ) ) ?> /> 28 | 29 |
      33 | get_var( $wpdb->prepare( "select count(ID) from $wpdb->posts where post_status=%s and post_type in($post_types)",'publish') ); 66 | } 67 | 68 | 69 | public function comment_count(){ 70 | global $wpdb; 71 | return $wpdb->get_var( "SELECT COUNT(*) AS total FROM $wpdb->comments WHERE comment_approved = 1" ); 72 | } 73 | 74 | public function star_count(){ 75 | global $wpdb; 76 | return $wpdb->get_var( "SELECT SUM(meta_value) AS total FROM $wpdb->postmeta WHERE meta_key ='wp_git_starred_count' " ); 77 | } 78 | 79 | 80 | public function popular_posts() { 81 | $args = array( 82 | 'post_type' => 'any', 83 | 'numberposts' => apply_filters('wp_git_popular_posts_count',5), 84 | 'meta_key' => 'wp_git_starred_count', 85 | 'meta_query' => array( 86 | 'key' => 'wp_git_starred_count', 87 | 'value' => '0', 88 | 'compare' => '>', 89 | ), 90 | 'orderby' => 'meta_value', 91 | 'order' => 'DESC', 92 | ); 93 | 94 | $most_starred = get_posts( $args ); 95 | 96 | if ( $most_starred ) { 97 | return $most_starred; 98 | } 99 | 100 | return false; 101 | 102 | } 103 | 104 | public function latest_posts( ) { 105 | $args = array( 106 | 'posts_per_page' => apply_filters( 'wp_git_latest_posts_count', 5 ), 107 | ); 108 | 109 | $latest_posts = get_posts( $args ); 110 | 111 | if ( $latest_posts ) { 112 | return $latest_posts; 113 | } 114 | 115 | return false; 116 | } 117 | 118 | public function contribution_data() { 119 | global $wpdb; 120 | $current_year = date( 'Y', current_time( 'timestamp' ) ); 121 | $date = $current_year . '-01-01'; 122 | $post_types = "'" . implode( "','", apply_filters( 'wp_git_post_types', array( 'post', 'page', 'revision' ) ) ) . "'"; 123 | 124 | 125 | $data = array(); 126 | $start = 0; 127 | $step = apply_filters( 'wp_git_contribution_cal_query_limit', 5000 ); 128 | while ( $posts = $wpdb->get_results( $wpdb->prepare( "select * from $wpdb->posts where post_date >= %s and post_type in($post_types) limit $start,$step", $date ) ) ) { 129 | foreach ( $posts as $post ) { 130 | $key = strtotime( date( 'Y-m-d', strtotime( $post->post_date ) ) ); 131 | $data[ $key ] += 1; 132 | } 133 | $start += $step; 134 | $step += $step; 135 | } 136 | 137 | 138 | return $data; 139 | } 140 | 141 | public function posts_page(){ 142 | $posts_per_page = apply_filters( 'wp_git_posts_per_page', get_option( 'posts_per_page' ) ); 143 | return new WP_Query( 'post_type=post&posts_per_page='.$posts_per_page ); 144 | } 145 | 146 | public function latest_feed(){ 147 | $latest_feed_time = apply_filters( 'wp_git_latest_feed_time', current_time( 'timestamp' ) - strtotime( "-1 month" ) ); 148 | $latest_comments = get_comments( 149 | array( 150 | 'status' => 'approve', 151 | 'date_query' => array( 152 | 'after' => $latest_feed_time, 153 | ) 154 | ) 155 | ); 156 | 157 | $latest_posts = get_posts(array( 158 | 'date_query' => array( 159 | 'after' => $latest_feed_time, 160 | ) 161 | )); 162 | 163 | $activities = array(); 164 | 165 | 166 | foreach ( $latest_comments as $comment ) { 167 | $item = array( 168 | 'icon' => 'glyphicon-comment', 169 | 'time_ago' => sprintf( _x( '%s ago', '%s = human-readable time difference', 'wp-git' ), human_time_diff( strtotime( $comment->comment_date ), current_time( 'timestamp' ) ) ), 170 | ); 171 | 172 | if ( $comment->user_id > 0 ) { 173 | $user_profile_url = get_author_posts_url($comment->user_id); 174 | $item['avatar'] = ''; 175 | $item['description'] = ''.get_the_author_meta( 'display_name', $comment->user_id ).' left a comment at a post: '.$comment->comment_content.''; 176 | }else{ 177 | $item['avatar'] = ''; 178 | $item['description'] = ''.$comment->comment_author.' left a comment at a post: '.$comment->comment_content.''; 179 | } 180 | 181 | $activities[ strtotime( $comment->comment_date ) ][] = $item; 182 | } 183 | 184 | 185 | foreach ( $latest_posts as $post_item ) { 186 | $user_profile_url = get_author_posts_url($post_item->post_author); 187 | $item = array( 188 | 'icon' => 'glyphicon-pencil', 189 | 'time_ago' => sprintf( _x( '%s ago', '%s = human-readable time difference', 'wp-git' ), human_time_diff( strtotime( $post_item->post_date ), current_time( 'timestamp' ) ) ), 190 | 'avatar' => '', 191 | 'description' => ''. get_the_author_meta( 'display_name', $post_item->post_author ).' wrote a blog post: '.get_the_title($post_item->ID).'' 192 | ); 193 | 194 | $activities[ strtotime( $post_item->post_date ) ][] = $item; 195 | } 196 | 197 | $timeline = array(); 198 | 199 | krsort( $activities ); 200 | foreach ( $activities as $timestamp => $items ) { 201 | foreach ( $items as $item ) { 202 | $timeline[] = $item; 203 | } 204 | } 205 | 206 | return $timeline; 207 | } 208 | } -------------------------------------------------------------------------------- /inc/providers/profile.php: -------------------------------------------------------------------------------- 1 | author = $author; 8 | } 9 | 10 | public function profile_url(){ 11 | return get_author_posts_url($this->author->data->ID); 12 | } 13 | 14 | public function avatar_url(){ 15 | global $wp_query; 16 | return wp_git_get_gravatar_url( $this->author->data->user_email, '220' ); 17 | } 18 | 19 | public function profile_name(){ 20 | return $this->author->data->display_name; 21 | } 22 | 23 | public function profile_username(){ 24 | return $this->author->data->user_nicename; 25 | } 26 | 27 | 28 | public function profile_bio(){ 29 | return get_the_author_meta( 'wp_git_bio', $this->author->data->ID ); 30 | } 31 | 32 | 33 | public function profile_company(){ 34 | return get_the_author_meta( 'wp_git_company', $this->author->data->ID ); 35 | } 36 | 37 | public function profile_location(){ 38 | return get_the_author_meta( 'wp_git_location', $this->author->data->ID ); 39 | } 40 | 41 | public function profile_email() { 42 | if ( "true" == get_the_author_meta( 'wp_git_show_email', $this->author->data->ID ) ) { 43 | return $this->author->data->user_email; 44 | } 45 | 46 | return null; 47 | } 48 | 49 | public function profile_website_url(){ 50 | return $this->author->data->user_url; 51 | } 52 | 53 | 54 | public function profile_date(){ 55 | return date_i18n( get_option( 'date_format' ), strtotime( $this->author->data->user_registered ) ); 56 | } 57 | 58 | 59 | public function post_count(){ 60 | global $wpdb; 61 | $post_types = "'" . implode( "','", apply_filters( 'wp_git_count_post_type', array( 'post' ) ) ) . "'"; 62 | return $wpdb->get_var( $wpdb->prepare( "select count(ID) from $wpdb->posts where post_author=%s and post_status=%s and post_type in($post_types)", $this->author->ID,'publish' ) ); 63 | } 64 | 65 | 66 | public function comment_count(){ 67 | global $wpdb; 68 | return $wpdb->get_var( $wpdb->prepare( "SELECT COUNT(*) AS total FROM $wpdb->comments WHERE comment_approved = 1 AND user_id = %s", $this->author->ID ) ); 69 | } 70 | 71 | public function star_count(){ 72 | global $wpdb; 73 | return $wpdb->get_var( $wpdb->prepare( "SELECT SUM(meta_value) AS total FROM $wpdb->postmeta WHERE meta_key ='wp_git_starred_count' and post_id in (select id from wp_posts where post_author=%s and post_status='publish')", $this->author->ID ) ); 74 | } 75 | 76 | public function popular_posts() { 77 | $args = array( 78 | 'post_type' => 'any', 79 | 'author' => $this->author->data->ID, 80 | 'numberposts' => apply_filters('wp_git_popular_posts_count',5), 81 | 'meta_key' => 'wp_git_starred_count', 82 | 'meta_query' => array( 83 | 'key' => 'wp_git_starred_count', 84 | 'value' => '0', 85 | 'compare' => '>', 86 | ), 87 | 'orderby' => 'meta_value', 88 | 'order' => 'DESC', 89 | ); 90 | 91 | $most_starred = get_posts( $args ); 92 | 93 | if ( $most_starred ) { 94 | return $most_starred; 95 | } 96 | 97 | return false; 98 | 99 | } 100 | 101 | public function latest_posts( ) { 102 | $args = array( 103 | 'posts_per_page' => apply_filters( 'wp_git_latest_posts_count', 5 ), 104 | 'author' => $this->author->data->ID, 105 | ); 106 | 107 | $latest_posts = get_posts( $args ); 108 | 109 | if ( $latest_posts ) { 110 | return $latest_posts; 111 | } 112 | 113 | return false; 114 | } 115 | 116 | public function contribution_data() { 117 | global $wpdb; 118 | $current_year = date( 'Y', current_time( 'timestamp' ) ); 119 | $date = $current_year . '-01-01'; 120 | $post_types = "'" . implode( "','", apply_filters( 'wp_git_post_types', array( 'post', 'page', 'revision' ) ) ) . "'"; 121 | 122 | $data = array(); 123 | $start = 0; 124 | $step = apply_filters( 'wp_git_contribution_cal_query_limit', 5000 ); 125 | while ( $posts = $wpdb->get_results( $wpdb->prepare( "select * from $wpdb->posts where post_author=%s and post_date >= %s and post_type in($post_types) limit $start,$step",$this->author->data->ID, $date ) ) ) { 126 | foreach ( $posts as $post ) { 127 | $key = strtotime( date( 'Y-m-d', strtotime( $post->post_date ) ) ); 128 | $data[ $key ] += 1; 129 | } 130 | $start += $step; 131 | $step += $step; 132 | } 133 | 134 | 135 | return $data; 136 | } 137 | 138 | public function posts_page(){ 139 | $posts_per_page = apply_filters( 'wp_git_posts_per_page', get_option( 'posts_per_page' ) ); 140 | return new WP_Query( 'post_type=post&posts_per_page='.$posts_per_page.'&author='.$this->author->data->ID ); 141 | } 142 | 143 | public function latest_feed(){ 144 | $latest_feed_time = apply_filters( 'wp_git_latest_feed_time', current_time( 'timestamp' ) - strtotime( "-1 month" ) ); 145 | $latest_comments = get_comments( 146 | array( 147 | 'status' => 'approve', 148 | 'user_id' => $this->author->data->ID, 149 | 'date_query' => array( 150 | 'after' => $latest_feed_time, 151 | ) 152 | ) 153 | ); 154 | 155 | $latest_posts = get_posts(array( 156 | 'author' => $this->author->data->ID, 157 | 'date_query' => array( 158 | 'after' => $latest_feed_time, 159 | ) 160 | )); 161 | 162 | $activities = array(); 163 | 164 | foreach ( $latest_comments as $comment ) { 165 | $item = array( 166 | 'icon' => 'glyphicon-comment', 167 | 'time_ago' => sprintf( _x( '%s ago', '%s = human-readable time difference', 'wp-git' ), human_time_diff( strtotime( $comment->comment_date ), current_time( 'timestamp' ) ) ), 168 | ); 169 | 170 | if ( $comment->user_id > 0 ) { 171 | $user_profile_url = get_author_posts_url($comment->user_id); 172 | $item['avatar'] = ''; 173 | $item['description'] = ''.get_the_author_meta( 'display_name', $comment->user_id ).' left a comment at a post: '.$comment->comment_content.''; 174 | }else{ 175 | $item['avatar'] = ''; 176 | $item['description'] = ''.$comment->comment_author.' left a comment at a post: '.$comment->comment_content.''; 177 | } 178 | 179 | $activities[ strtotime( $comment->comment_date ) ][] = $item; 180 | } 181 | 182 | 183 | foreach ( $latest_posts as $post_item ) { 184 | $user_profile_url = get_author_posts_url($post_item->post_author); 185 | $item = array( 186 | 'icon' => 'glyphicon-pencil', 187 | 'time_ago' => sprintf( _x( '%s ago', '%s = human-readable time difference', 'wp-git' ), human_time_diff( strtotime( $post_item->post_date ), current_time( 'timestamp' ) ) ), 188 | 'avatar' => '', 189 | 'description' => ''. get_the_author_meta( 'display_name', $post_item->post_author ).' wrote a blog post: '.get_the_title($post_item->ID).'' 190 | ); 191 | 192 | $activities[ strtotime( $post_item->post_date ) ][] = $item; 193 | } 194 | 195 | $timeline = array(); 196 | 197 | krsort( $activities ); 198 | foreach ( $activities as $timestamp => $items ) { 199 | foreach ( $items as $item ) { 200 | $timeline[] = $item; 201 | } 202 | } 203 | 204 | return $timeline; 205 | 206 | } 207 | 208 | } -------------------------------------------------------------------------------- /inc/stargazer.php: -------------------------------------------------------------------------------- 1 | '; 13 | $output .= '
      '; 14 | 15 | if ( $is_starred ) { 16 | $output .= '
      '; 17 | $output .= ' ' . __( 'Unstar', 'wp-git' ) . ''; 18 | $output .= '
      '; 19 | } else { 20 | $output .= '
      '; 21 | $output .= ' ' . __( 'Star', 'wp-git' ) . ''; 22 | $output .= '
      '; 23 | } 24 | 25 | $output .= '
      ' . $star_count . '
      '; 26 | 27 | 28 | $output .= '
      '; 29 | 30 | 31 | 32 | $output .= ''; 33 | 34 | return $output; 35 | } 36 | 37 | 38 | function wp_git_has_starred_post( $post_id ) { 39 | 40 | if ( is_user_logged_in() ) { 41 | $meta_value = get_current_user_id(); 42 | } else { 43 | $meta_value = $_SERVER['HTTP_CLIENT_IP'] ? $_SERVER['HTTP_CLIENT_IP'] : $_SERVER['HTTP_X_FORWARDE‌​D_FOR'] ? sanitize_text_field( $_SERVER['HTTP_X_FORWARDE‌​D_FOR'] ) : sanitize_text_field( $_SERVER['REMOTE_ADDR'] ); 44 | } 45 | 46 | $stargazers = get_post_meta( $post_id, 'wp_git_stargazer', true ); 47 | 48 | if ( ! $stargazers ) { 49 | return false; 50 | } 51 | 52 | if ( is_string( $stargazers ) ) { 53 | $stargazers = unserialize( $stargazers ); 54 | } 55 | 56 | if ( in_array( $meta_value, array_keys( $stargazers ) ) ) { 57 | return true; 58 | } 59 | 60 | return false; 61 | 62 | } 63 | 64 | function wp_git_get_starred_count( $post_id ) { 65 | $stargazers_count = get_post_meta( $post_id, 'wp_git_starred_count', true ); 66 | 67 | if ( empty( $stargazers_count ) ) { 68 | return 0; 69 | } 70 | 71 | return absint( $stargazers_count ); 72 | } 73 | 74 | function wp_git_stargaze_front_end_js() { 75 | wp_enqueue_script( 'wp-git-stargaze', get_template_directory_uri() . '/assets/js/stargaze.js', array( 'jquery' ) ); 76 | wp_localize_script( 'wp-git-stargaze', 'wp_git_stargaze_vars', 77 | array( 78 | 'ajaxurl' => admin_url( 'admin-ajax.php' ), 79 | 'nonce' => wp_create_nonce('star_it_nonce'), 80 | 'is_logged' => is_user_logged_in(), 81 | ) 82 | ); 83 | } 84 | add_action('wp_enqueue_scripts', 'wp_git_stargaze_front_end_js'); 85 | 86 | function wp_git_mark_post_as_starred( $post_id, $user_id_or_ip_address ) { 87 | 88 | $post_id = absint( $post_id ); 89 | $user_id_or_ip_address = sanitize_text_field( $user_id_or_ip_address ); 90 | 91 | $star_count = get_post_meta( $post_id, 'wp_git_starred_count', true ); 92 | $stargazers = get_post_meta( $post_id, 'wp_git_stargazer', true ); 93 | 94 | if ( ! empty( $stargazers ) ) { 95 | if ( ! in_array( $user_id_or_ip_address, array_keys( $stargazers ) ) ) { 96 | $stargazers[ $user_id_or_ip_address ] = current_time('timestamp'); 97 | $star_count = $star_count + 1; 98 | } else { 99 | // remove star 100 | $star_count = $star_count - 1; 101 | unset( $stargazers[ $user_id_or_ip_address ] ); 102 | } 103 | } else { 104 | $stargazers[ $user_id_or_ip_address ] = current_time('timestamp'); 105 | $star_count = 1; 106 | } 107 | 108 | 109 | if ( update_post_meta( $post_id, 'wp_git_stargazer', $stargazers ) ) { 110 | update_post_meta( $post_id, 'wp_git_starred_count', $star_count ); 111 | 112 | return true; 113 | } 114 | 115 | return false; 116 | } 117 | 118 | 119 | function wp_git_star_it() { 120 | 121 | if ( isset( $_POST['item_id'] ) && wp_verify_nonce($_POST['star_it_nonce'], 'star_it_nonce') ) { 122 | 123 | $value = $_POST['is_logged'] ? $_POST['user_id'] : $_POST['ip_address']; 124 | 125 | if ( wp_git_mark_post_as_starred( $_POST['item_id'], $value ) ) { 126 | echo json_encode( array( 'status' => 'ok', 'count' => get_post_meta( $_POST['item_id'], 'wp_git_starred_count', true ) ) ); 127 | } else { 128 | echo json_encode( array( 'status' => 'fail', 'count' => get_post_meta( $_POST['item_id'], 'wp_git_starred_count', true ) ) ); 129 | } 130 | } 131 | die(); 132 | } 133 | 134 | add_action( 'wp_ajax_star_it', 'wp_git_star_it' ); 135 | add_action( 'wp_ajax_nopriv_star_it', 'wp_git_star_it' ); -------------------------------------------------------------------------------- /index.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /languages/default.pot: -------------------------------------------------------------------------------- 1 | # Copyright (C) 2016 mustafauysal 2 | # This file is distributed under the GNU General Public License v2 or later. 3 | msgid "" 4 | msgstr "" 5 | "Project-Id-Version: wp-git 1.0.0\n" 6 | "Report-Msgid-Bugs-To: https://github.com/mustafauysal/wp-git\n" 7 | "POT-Creation-Date: 2016-08-11 20:35+0200\n" 8 | "PO-Revision-Date: 2016-08-11 20:35+0200\n" 9 | "Last-Translator: FULL NAME \n" 10 | "Language-Team: LANGUAGE \n" 11 | "Language: en\n" 12 | "MIME-Version: 1.0\n" 13 | "Content-Type: text/plain; charset=UTF-8\n" 14 | "Content-Transfer-Encoding: 8bit\n" 15 | "Plural-Forms: nplurals=2; plural=(n != 1);\n" 16 | "X-Generator: Poedit 1.6.7\n" 17 | "X-Poedit-SourceCharset: UTF-8\n" 18 | "X-Poedit-KeywordsList: __;_e\n" 19 | "X-Poedit-Basepath: .\n" 20 | "X-Poedit-SearchPath-0: ..\n" 21 | 22 | #: ../functions.php:51 23 | msgid "contribution" 24 | msgstr "" 25 | 26 | #: ../functions.php:51 27 | msgid "contributions" 28 | msgstr "" 29 | 30 | #: ../functions.php:52 31 | msgid "{count} contributions {name} a {date}" 32 | msgstr "" 33 | 34 | #: ../functions.php:230 35 | msgid "" 36 | "the content unchanged between these revisions. Other part of post data might " 37 | "be changed." 38 | msgstr "" 39 | 40 | #: ../functions.php:237 41 | msgid "Header Menu" 42 | msgstr "" 43 | 44 | #: ../functions.php:238 45 | msgid "Footer Menu" 46 | msgstr "" 47 | 48 | #: ../header.php:21 49 | msgid "Toggle navigation" 50 | msgstr "" 51 | 52 | #: ../header.php:35 53 | msgid "Search..." 54 | msgstr "" 55 | 56 | #: ../home-page.php:10 57 | msgid "Summary" 58 | msgstr "" 59 | 60 | #: ../home-page.php:16 61 | msgid "Posts" 62 | msgstr "" 63 | 64 | #: ../home-page.php:22 65 | msgid "Latest Feed" 66 | msgstr "" 67 | 68 | #: ../home-page.php:39 69 | msgid "Activity Calendar" 70 | msgstr "" 71 | 72 | #: ../home-page.php:61 73 | msgid "Filter Posts" 74 | msgstr "" 75 | 76 | #: ../home-page.php:65 ../search.php:10 ../search.php:23 77 | msgid "Search" 78 | msgstr "" 79 | 80 | #: ../home-page.php:72 ../home-page.php:75 81 | msgid "All Categories" 82 | msgstr "" 83 | 84 | #: ../inc/customizer.php:34 85 | msgid "Home Profile Section" 86 | msgstr "" 87 | 88 | #: ../inc/customizer.php:50 89 | msgid "Display name for homepage" 90 | msgstr "" 91 | 92 | #: ../inc/customizer.php:65 93 | msgid "Username for homepage" 94 | msgstr "" 95 | 96 | #: ../inc/customizer.php:80 ../inc/profile-fields.php:11 97 | msgid "Bio" 98 | msgstr "" 99 | 100 | #: ../inc/customizer.php:95 ../inc/profile-fields.php:16 101 | msgid "Company" 102 | msgstr "" 103 | 104 | #: ../inc/customizer.php:110 ../inc/profile-fields.php:21 105 | msgid "Location" 106 | msgstr "" 107 | 108 | #: ../inc/customizer.php:125 ../inc/profile-fields.php:26 ../page.php:129 109 | #: ../single.php:186 110 | msgid "Email" 111 | msgstr "" 112 | 113 | #: ../inc/customizer.php:140 114 | msgid "URL" 115 | msgstr "" 116 | 117 | #: ../inc/customizer.php:155 118 | msgid "Start date" 119 | msgstr "" 120 | 121 | #: ../inc/profile-fields.php:7 122 | msgid "Github Profile Info" 123 | msgstr "" 124 | 125 | #: ../inc/profile-fields.php:28 126 | msgid "Show email address on profile page" 127 | msgstr "" 128 | 129 | #: ../inc/stargazer.php:17 130 | msgid "Unstar" 131 | msgstr "" 132 | 133 | #: ../inc/stargazer.php:21 134 | msgid "Star" 135 | msgstr "" 136 | 137 | #: ../page.php:126 ../page.php:130 ../page.php:137 ../single.php:183 138 | #: ../single.php:187 ../single.php:194 139 | msgid "Comment" 140 | msgstr "" 141 | 142 | #: ../page.php:128 ../single.php:185 143 | msgid "Name" 144 | msgstr "" 145 | 146 | #: ../page.php:132 ../single.php:189 147 | msgid "Leave a comment" 148 | msgstr "" 149 | 150 | #: ../search.php:50 151 | #, php-format 152 | msgid "We've found %s results for your search" 153 | msgstr "" 154 | 155 | #: ../search.php:105 156 | msgid "Ooops! there is nothing..." 157 | msgstr "" 158 | 159 | #: ../single.php:65 160 | msgid "versions" 161 | msgstr "" 162 | 163 | #: ../single.php:74 164 | msgid "comments" 165 | msgstr "" 166 | 167 | #: ../single.php:83 168 | msgid "words" 169 | msgstr "" 170 | 171 | #: ../single.php:263 172 | msgid "Post" 173 | msgstr "" 174 | 175 | #: ../single.php:266 176 | msgid "Comments" 177 | msgstr "" 178 | 179 | #: ../single.php:269 180 | msgid "Revisions" 181 | msgstr "" 182 | 183 | #: ../template-parts/latest-posts.php:6 184 | msgid "Latest Posts" 185 | msgstr "" 186 | 187 | #: ../template-parts/popular-posts.php:6 188 | msgid "Popular Posts" 189 | msgstr "" 190 | 191 | #: ../template-parts/profile.php:98 192 | #, php-format 193 | msgid "%s posts" 194 | msgstr "" 195 | 196 | #: ../template-parts/profile.php:102 197 | #, php-format 198 | msgid "%s comments" 199 | msgstr "" 200 | 201 | #: ../template-parts/profile.php:106 202 | #, php-format 203 | msgid "%s stars gotten" 204 | msgstr "" 205 | -------------------------------------------------------------------------------- /page.php: -------------------------------------------------------------------------------- 1 | 2 | 3 |
      4 |
      5 | 6 | 7 | 8 | 23 | 24 | 25 | 26 | 27 |
      28 |
      29 |
      30 | 31 |
      32 |
      33 |
      34 | 35 |
      36 | 37 |
      38 | 39 |
      40 | 41 |
      42 | 43 | 44 |
      45 | 46 |
      47 | 48 | 49 | 50 | 51 | 52 |
      53 | 54 | 55 | 56 | 57 |
      58 |
      59 |
      60 | ID; 62 | ?> 63 | 64 | 65 | latest update 66 | 67 | 68 | 69 | 70 |
      71 |
      72 | 73 | 74 |
      75 | 0):?> 76 | 77 | 78 | 79 | 80 |
      81 | 82 |
      83 |
      84 |
      85 | 86 | 87 | 88 |
      89 |
      90 |
      91 | post->ID ); 93 | foreach ( $comments as $comment ) : 94 | echo( $comment->comment_author ); 95 | ?> 96 |
      97 | 98 |
      99 | <?php echo get_the_author();?> 100 |
      101 | 102 |
      103 |
      104 | 105 | comment_author; ?> comment_date_gmt), current_time( 'timestamp' ) ) . ' ago'; ?> 106 | 107 |
      108 |
      109 | comment_content; ?> 110 |
      111 |
      112 | 113 |
      114 | 115 |
      116 | 117 | 118 | "", 124 | 'logged_in_as' => false, 125 | 'title_reply' => "", 126 | 'label_submit' => __( 'Comment' ), 127 | 'fields' => array( 128 | 'author' => '

      ' . ' ' . ( $req ? '*' : '' ) . '', 129 | 'email' => ' ' . ( $req ? '*' : '' ) . '

      130 | ', 131 | ), 132 | 'comment_field' => '', 133 | 'id_submit' => 'comment_submit', 134 | ); 135 | 136 | if(is_user_logged_in()){ 137 | $arg['comment_notes_after'] = ''; 138 | } 139 | 140 | comment_form( $arg ); ?> 141 | 142 |
      143 |
      144 |
      145 |
      146 |
      147 |
      148 | 149 | 152 | $revisions_by_date):?> 153 |
      154 |
      155 | 156 | 157 | 158 |
      159 | 160 |
      161 |
      162 |
      163 |
      164 | 165 |
      166 | 167 |
      168 |
      169 | post_title;?> 170 |
      171 |
      172 | post_author); 174 | echo $user_info->display_name; 175 | ?> authored post_date), current_time( 'timestamp' ) ) ); ?> 176 | 177 |
      178 |
      179 | 180 | 189 |
      190 |
      191 |
      192 |
      193 | 194 |
      195 | 196 | 197 | 198 | 199 |
      200 |
      201 |
      202 |
      203 |
      204 |
      205 |
      206 | 207 | 208 | -------------------------------------------------------------------------------- /readme.txt: -------------------------------------------------------------------------------- 1 | === wp-git === 2 | 3 | Contributors: m_uysl 4 | Tags: translation-ready, theme-options, custom-menu 5 | 6 | Requires at least: 4.5 7 | Tested up to: 4.5.3 8 | Stable tag: 1.0.0 9 | License: GPLv2 or later 10 | License URI: http://www.gnu.org/licenses/gpl-2.0.html 11 | 12 | WP-Git is a WordPress theme for GitHub lovers. 13 | 14 | == Description == 15 | 16 | WP-Git is a WordPress theme for GitHub lovers. It offers similar features with WordPress way. 17 | 18 | == Installation == 19 | 20 | 1. In your admin panel, go to Appearance > Themes and click the Add New button. 21 | 2. Click Upload and Choose File, then select the theme's .zip file. Click Install Now. 22 | 3. Click Activate to use your new theme right away. 23 | 24 | == Frequently Asked Questions == 25 | 26 | = Do I need any plugin? = 27 | 28 | Nope! 29 | 30 | == Changelog == 31 | 32 | = 1.0.0 - Aug 11 2016 = 33 | * Initial release 34 | 35 | == Credits == 36 | 37 | * Based on Bootstrap http://getbootstrap.com/, Bootstrap is released under the MIT license and is copyright 2016 Twitter, [MIT](http://opensource.org/licenses/MIT) 38 | * Cal-HeatMap http://cal-heatmap.com/, Copyright 2014 Wan Qi Chen, [MIT](https://opensource.org/licenses/MIT) 39 | * List.js http://www.listjs.com/, Copyright (c) 2011-2014 Jonny Strömberg, jonnystromberg.com, [MIT](https://opensource.org/licenses/MIT) -------------------------------------------------------------------------------- /screenshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mustafauysal/wp-git/bf2f187f32b49ac84b4288308482d620ad4981d9/screenshot.png -------------------------------------------------------------------------------- /search.php: -------------------------------------------------------------------------------- 1 | 2 |
      3 |
      4 | 5 |
      6 | 7 | 8 | 13 | 14 | 15 |
      16 | 17 |
      18 |
      19 | 20 |
      21 |
      22 | 25 |
      26 |
      27 |
      28 |
      29 | 30 | 31 |
      32 |
      33 |
      34 |
      35 |
      36 |
      37 | 38 |
      39 | 40 | 43 | 44 |
      45 | 46 |
      47 | 48 | 49 |
      50 |

      found_posts));?>

      51 |
      52 | 53 |
      54 |
      55 | 56 | 104 | 105 | 106 | 107 |
      108 | 109 |
      110 | 111 |
      112 | 113 |
      114 | 115 | -------------------------------------------------------------------------------- /single.php: -------------------------------------------------------------------------------- 1 | 2 | 3 |
      4 |
      5 | 6 | 7 | 8 | 23 | 24 | 25 | 26 | 27 | 28 | 29 |
      30 |
      31 |
      32 | 33 |
      34 |
      35 |
      36 | 37 |
      38 | 39 |
      40 | 41 |
      42 |
      43 | 44 | 45 | 46 | 47 | 48 | 49 |
      50 |
      51 | 52 |
      53 | 54 | 55 |
      56 | 57 |
      58 | 59 |
      60 | 61 |
      62 | 63 | 64 | 65 | 66 | 67 | 68 |
      69 | 70 |
      71 | 72 | 73 | 74 | 75 | 76 | 77 |
      78 | 79 |
      80 | 81 | 82 | 83 | 84 | 85 | 86 |
      87 | 88 |
      89 | 90 |
      91 | 92 |
      93 | 94 |
      95 | 96 |
      97 | 98 |
      99 | 100 | 101 |
      102 | 103 |
      104 | 105 | 106 | 107 | 108 | 109 |
      110 | 111 | 112 | 113 | 114 |
      115 |
      116 |
      117 | ID; 119 | ?> 120 | 121 | 122 | latest update 123 | 124 | 125 | 126 | 127 |
      128 |
      129 | 130 | 131 |
      132 | 0):?> 133 | 134 | 135 | 136 | 137 |
      138 | 139 |
      140 |
      141 |
      142 | 143 | 144 | 145 |
      146 |
      147 |
      148 | post->ID ); 150 | foreach ( $comments as $comment ) : 151 | echo( $comment->comment_author ); 152 | ?> 153 |
      154 | 155 |
      156 | <?php echo get_the_author();?> 157 |
      158 | 159 |
      160 |
      161 | 162 | comment_author; ?> comment_date_gmt), current_time( 'timestamp' ) ) . ' ago'; ?> 163 | 164 |
      165 |
      166 | comment_content; ?> 167 |
      168 |
      169 | 170 |
      171 | 172 |
      173 | 174 | 175 | "", 181 | 'logged_in_as' => false, 182 | 'title_reply' => "", 183 | 'label_submit' => __( 'Comment' ), 184 | 'fields' => array( 185 | 'author' => '

      ' . ' ' . ( $req ? '*' : '' ) . '', 186 | 'email' => ' ' . ( $req ? '*' : '' ) . '

      187 | ', 188 | ), 189 | 'comment_field' => '', 190 | 'id_submit' => 'comment_submit', 191 | ); 192 | 193 | if(is_user_logged_in()){ 194 | $arg['comment_notes_after'] = ''; 195 | } 196 | 197 | comment_form( $arg ); ?> 198 | 199 |
      200 |
      201 |
      202 |
      203 |
      204 |
      205 | 206 | 209 | $revisions_by_date):?> 210 |
      211 |
      212 | 213 | 214 | 215 |
      216 | 217 |
      218 |
      219 |
      220 |
      221 | 222 |
      223 | 224 |
      225 |
      226 | post_title;?> 227 |
      228 |
      229 | post_author); 231 | echo $user_info->display_name; 232 | ?> authored post_date), current_time( 'timestamp' ) ) ); ?> 233 | 234 |
      235 |
      236 | 237 |
      238 |
      239 | 240 | #post_date);?> 241 | 242 |
      243 |
      244 | 245 |
      246 |
      247 |
      248 |
      249 | 250 |
      251 | 252 | 253 | 254 | 255 |
      256 |
      257 |
      258 |
      259 |
      260 |
      261 | 272 | 273 |
      274 | 275 | 314 |
      315 | 316 |
      317 |
      318 | 319 | 320 | -------------------------------------------------------------------------------- /style.css: -------------------------------------------------------------------------------- 1 | /* 2 | Theme Name: WP-Git 3 | Theme URI: https://github.com/mustafauysal/wp-git 4 | Author: s, mustafauysal 5 | Author URI: http://uysalmustafa.com 6 | Description: WP-Git is a WordPress theme for GitHub lovers. 7 | Version: 1.0.0 8 | License: GNU General Public License v2 or later 9 | License URI: http://www.gnu.org/licenses/gpl-2.0.html 10 | Text Domain: wp-git 11 | Domain Path: /languages/ 12 | */ 13 | 14 | .revisions-control-frame,.revisions-diff-frame{position:relative}.revisions-controls{padding-top:40px;height:100px;z-index:1}.revisions-controls input[type=checkbox]{position:relative;top:-1px;vertical-align:text-bottom}.revisions.pinned .revisions-controls{position:fixed;top:0;height:82px;background:#fff;-webkit-box-shadow:0 1px 3px rgba(0,0,0,.1);box-shadow:0 1px 3px rgba(0,0,0,.1)}.revisions-diff,.revisions-meta{background-color:#fff;-webkit-box-shadow:0 1px 3px rgba(0,0,0,.1)}.revisions-tickmarks{position:relative;margin:0 auto;height:.7em;top:7px;max-width:70%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;background-color:#fff}.revisions-tickmarks>div{position:absolute;height:100%;border-left:1px solid #a0a5aa;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.revisions-tickmarks>div:first-child{border-width:0}.comparing-two-revisions .revisions-controls{height:140px}.comparing-two-revisions.pinned .revisions-controls{height:124px}.revisions .diff-error{position:absolute;text-align:center;margin:0 auto;width:100%;display:none}.revisions.diff-error .diff-error{display:block}.revisions .loading-indicator{position:absolute;vertical-align:middle;opacity:0;width:100%;width:-webkit-calc(100% - 30px);width:calc(100% - 30px);top:50%;top:-webkit-calc(50% - 10px);top:calc(50% - 10px);-webkit-transition:opacity .5s;transition:opacity .5s;filter:alpha(opacity=0)}body.folded .revisions .loading-indicator{margin-left:-32px}.revisions .loading-indicator span.spinner{display:block;margin:0 auto;float:none}.revisions.loading .loading-indicator{opacity:1;filter:alpha(opacity=100)}.revisions .diff{-webkit-transition:opacity .5s;transition:opacity .5s}.revisions.loading .diff{opacity:.5;filter:alpha(opacity=50)}.revisions.diff-error .diff{visibility:hidden}.revisions-meta{margin-top:20px;box-shadow:0 1px 3px rgba(0,0,0,.1)}.revisions.pinned .revisions-meta{-webkit-box-shadow:none;box-shadow:none}.revision-toggle-compare-mode{position:absolute;top:0;right:0}.comparing-two-revisions .revisions-next,.comparing-two-revisions .revisions-previous,.revisions-meta .diff-meta-to strong{display:none}.revisions-controls .author-card .date{color:#72777c}.revisions-controls .author-card.autosave{color:#d54e21}.revisions-controls .author-card .author-name{font-weight:700}.comparing-two-revisions .diff-meta-to strong{display:block}.revisions.pinned .revisions-buttons{padding:0 11px}.revisions-next,.revisions-previous{position:relative;z-index:1}.revisions-previous{float:left}.revisions-next{float:right}.revisions-controls .wp-slider{max-width:70%;margin:0 auto;top:-3px}.revisions-diff{padding:15px;box-shadow:0 1px 3px rgba(0,0,0,.1)}.revisions-diff h3:first-child{margin-top:0}#revisions-meta-restored img,.post-revisions li img{vertical-align:middle}table.diff tbody tr td:nth-child(2){width:4%}table.diff{table-layout:fixed;width:100%;white-space:pre-wrap}table.diff col.content{width:auto}table.diff col.content.diffsplit{width:48%}table.diff col.diffsplit.middle{width:auto}table.diff col.ltype{width:30px}table.diff tr{background-color:transparent}table.diff td,table.diff th{font-family:Consolas,Monaco,monospace;font-size:14px;line-height:1.618;padding:.5em;vertical-align:top;word-wrap:break-word}table.diff td h1,table.diff td h2,table.diff td h3,table.diff td h4,table.diff td h5,table.diff td h6{margin:0}table.diff .diff-addedline ins,table.diff .diff-deletedline del{text-decoration:none}table.diff .diff-deletedline{background-color:#ffe9e9}table.diff .diff-deletedline del{background-color:#faa}table.diff .diff-addedline{background-color:#e9ffe9}table.diff .diff-addedline ins{background-color:#afa}.diff-meta{padding:5px;clear:both;min-height:32px}.diff-title strong{line-height:32px;min-width:60px;text-align:right;float:left;margin-right:5px}.revisions-controls .author-card .author-info{font-size:12px;line-height:16px}.revisions-controls .author-card .author-info,.revisions-controls .author-card .avatar{float:left;margin-left:6px;margin-right:6px}.revisions-controls .author-card .byline{display:block;font-size:12px}.revisions-controls .author-card .avatar{vertical-align:middle}.diff-meta input.restore-revision{float:right;margin-left:6px;margin-right:6px;margin-top:4px}.diff-meta-from{display:none}.comparing-two-revisions .diff-meta-from{display:block}.revisions-tooltip{position:absolute;bottom:105px;margin-right:0;margin-left:-69px;z-index:0;max-width:350px;min-width:130px;padding:8px 4px;opacity:0}.revisions-tooltip.flipped{margin-left:0;margin-right:-70px}.revisions.pinned .revisions-tooltip{display:none!important}.comparing-two-revisions .revisions-tooltip{bottom:145px}.revisions-tooltip-arrow{width:70px;height:15px;overflow:hidden;position:absolute;left:0;margin-left:35px;bottom:-15px}.revisions-tooltip.flipped .revisions-tooltip-arrow{margin-left:0;margin-right:35px;left:auto;right:0}.revisions-tooltip-arrow>span{content:"";position:absolute;left:20px;top:-20px;width:25px;height:25px;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}.revisions-tooltip.flipped .revisions-tooltip-arrow>span{left:auto;right:20px}.ie8 .revisions-tooltip-arrow>span{left:15px;top:-25px;-ms-filter:"progid:DXImageTransform.Microsoft.Matrix(SizingMethod='auto expand', M11=0.7071067811865476, M12=-0.7071067811865475, M21=0.7071067811865475, M22=0.7071067811865476)"}.ie8 .revisions-tooltip.flipped .revisions-tooltip-arrow>span{right:25px}.revisions-tooltip,.revisions-tooltip-arrow>span{border:1px solid #ddd;background-color:#fff}.revisions-tooltip{display:none}.arrow{width:70px;height:16px;overflow:hidden;position:absolute;left:0;margin-left:-35px;bottom:90px;z-index:10000}.arrow.top{top:-16px;bottom:auto}.arrow.left{left:20%}.arrow:after{z-index:9999;background-color:#fff;-webkit-box-shadow:0 1px 3px rgba(0,0,0,.1);box-shadow:0 1px 3px rgba(0,0,0,.1);content:"";position:absolute;left:20px;top:-20px;width:25px;height:25px;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}.revisions-tooltip,.revisions-tooltip-arrow:after{border-width:1px;border-style:solid}div.revisions-controls>.wp-slider>.ui-slider-handle{margin-left:-10px}.rtl div.revisions-controls>.wp-slider>.ui-slider-handle{margin-right:-10px}.wp-slider.ui-slider{position:relative;border:1px solid #ddd;text-align:left;cursor:pointer}.wp-slider .ui-slider-handle{-webkit-border-radius:50%;border-radius:50%;height:18px;margin-top:-5px;outline:0;padding:2px;position:absolute;width:18px;z-index:2;-ms-touch-action:none;touch-action:none}.wp-slider .ui-slider-handle,.wp-slider .ui-slider-handle.focus{background:#f7f7f7;border:1px solid #ccc;-webkit-box-shadow:0 1px 0 #ccc;box-shadow:0 1px 0 #ccc}.wp-slider .ui-slider-handle.ui-state-hover,.wp-slider .ui-slider-handle:hover{background:#fafafa;border-color:#999}.wp-slider .ui-slider-handle.ui-state-active,.wp-slider .ui-slider-handle:active{background:#eee;border-color:#999;-webkit-box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5);box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5);-webkit-transform:translateY(1px);-ms-transform:translateY(1px);transform:translateY(1px)}.wp-slider .ui-slider-handle:before{background:0 0;position:absolute;top:2px;left:2px;color:#555;content:"\f229";font:400 18px/1 dashicons;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.wp-slider .ui-slider-handle.ui-state-hover:before,.wp-slider .ui-slider-handle:hover:before{color:#23282d}.wp-slider .ui-slider-handle.from-handle:before,.wp-slider .ui-slider-handle.to-handle:before{font-size:20px!important;margin:-1px 0 0 -1px}.wp-slider .ui-slider-handle.from-handle:before{content:"\f139"}.wp-slider .ui-slider-handle.to-handle:before{content:"\f141"}.rtl .wp-slider .ui-slider-handle.from-handle:before{content:"\f141"}.rtl .wp-slider .ui-slider-handle.to-handle:before{content:"\f139";right:-1px}.wp-slider .ui-slider-range{position:absolute;font-size:.7em;display:block;border:0;background-color:transparent;background-image:none}.wp-slider.ui-slider-horizontal{height:.7em}.wp-slider.ui-slider-horizontal .ui-slider-handle{top:-.25em;margin-left:-.6em}.wp-slider.ui-slider-horizontal .ui-slider-range{top:0;height:100%}.wp-slider.ui-slider-horizontal .ui-slider-range-min{left:0}.wp-slider.ui-slider-horizontal .ui-slider-range-max{right:0}@media print,(-webkit-min-device-pixel-ratio:1.25),(min-resolution:120dpi){.revision-tick.completed-false{background-image:url(../images/spinner-2x.gif)}}@media screen and (max-width:782px){#diff-next-revision,#diff-previous-revision{margin-top:-1em}table.diff{-ms-word-break:break-all;word-break:break-all;word-wrap:break-word}} 15 | 16 | #header-search{ 17 | width: 100%; 18 | } 19 | img{ 20 | max-width: 100%; 21 | } 22 | 23 | .navbar-toggle .icon-bar { 24 | background-color: black; 25 | } 26 | #commentform input{ 27 | border: 1px solid #eee; 28 | } 29 | .post-action-star{ 30 | min-width: 90px; 31 | } 32 | .post-action-star.unstar{ 33 | min-width: 110px; 34 | } 35 | 36 | 37 | 38 | @media (max-width: 990px) { 39 | 40 | .social-share{ 41 | padding-top: 0; 42 | border-left: 0; 43 | } 44 | .social-share li { 45 | float: left; 46 | margin: 0 5px 0 0; 47 | } 48 | 49 | .nav>li>a{ 50 | padding: 5px 5px; 51 | } 52 | .filter-blogs-button,.category-filter-btn{ 53 | margin:10px 0 0 0; 54 | width: 100%; 55 | } 56 | .all-posts-one .blog-star_count { 57 | margin-top: 5px; 58 | width: 120px; 59 | overflow: hidden; 60 | } 61 | .navbar-brand{ 62 | font-size: 20px; 63 | overflow: hidden; 64 | } 65 | 66 | } 67 | -------------------------------------------------------------------------------- /template-parts/latest-activities.php: -------------------------------------------------------------------------------- 1 | 2 |
      3 |
      4 |
      5 |
        6 | 7 | 10 |
      • 11 |
        12 |
        13 | 14 |
        15 |
        16 | 17 |
        18 |
        19 | 20 | 21 | 22 | 23 | 24 | 25 |
        26 |
        27 |
        28 |
      • 29 | 30 |
      31 |
      32 |
      33 |
      34 | -------------------------------------------------------------------------------- /template-parts/latest-posts.php: -------------------------------------------------------------------------------- 1 |
      2 | 3 | 47 | 48 |
      -------------------------------------------------------------------------------- /template-parts/popular-posts.php: -------------------------------------------------------------------------------- 1 |
      2 | 3 |
      4 | 5 |
      6 |

      7 |
      8 | 9 | 49 |
      50 | 51 |
      52 | -------------------------------------------------------------------------------- /template-parts/post-feed.php: -------------------------------------------------------------------------------- 1 | 22 | -------------------------------------------------------------------------------- /template-parts/profile.php: -------------------------------------------------------------------------------- 1 | 10 |
      11 |
      12 | 13 | 14 | 15 |
      16 | 17 |
      18 |

      19 | 22 | 23 | 24 | 25 | 28 | 29 | 30 | 31 | 34 | 35 | 36 | 37 |

      38 | 39 |
      40 | 41 |
        42 | 45 |
      • 46 | 47 | 48 |
      • 49 | 50 | 51 | 54 |
      • 55 | 56 | 57 |
      • 58 | 59 | 60 | 63 |
      • 64 | 65 | 66 | 67 | 68 |
      • 69 | 70 | 71 | 74 |
      • 75 | 76 | 77 | 78 | 79 |
      • 80 | 81 | 82 | 85 |
      • 86 | 87 | 88 |
      • 89 | 90 | 91 |
      92 |
      93 | 94 |
      95 | 96 | 109 |
      --------------------------------------------------------------------------------