├── client ├── .DS_Store ├── css │ ├── .DS_Store │ ├── responsive.css │ └── main.css ├── templates │ ├── sign.html │ ├── pop.js │ ├── joblist.js │ ├── content.js │ ├── sign.js │ ├── index.js │ ├── edit.js │ ├── pop.html │ ├── publish.js │ ├── joblist.html │ ├── search.html │ ├── content.html │ ├── jobinfo.js │ ├── contact.html │ ├── faqs.html │ ├── publish.html │ ├── edit.html │ ├── jobinfo.html │ └── index.html ├── head.html └── jquery.liveSearch.js ├── public ├── .DS_Store ├── images │ ├── like.png │ ├── logo.png │ ├── rss.png │ ├── user.png │ ├── .DS_Store │ ├── Descr.WD3 │ ├── image.png │ ├── quote.png │ ├── wechat.jpg │ ├── comment.png │ ├── faq-minus.png │ ├── faq-plus.png │ ├── favicon.ico │ ├── footer-bg.png │ ├── li-arrow.png │ ├── like-btn.png │ ├── loading.gif │ ├── main-bg.jpg │ ├── question.png │ ├── standard.png │ ├── support.png │ ├── image-large.png │ ├── plus-minus.png │ ├── scroll-top.png │ ├── calendar-icon.png │ ├── category-icon.png │ ├── question-large.png │ ├── search-loader.gif │ ├── standard-large.png │ ├── (ICON 图像,16x16 像素) │ ├── category-main-icon.png │ ├── glyphicons-halflings.png │ └── glyphicons-halflings-white.png └── cvs │ ├── cvstore-5yJvcPKwpKpRCWirC-baselogo.png │ ├── cvstore-HhkYAtYGqRiiJt79b-baselogo(1).png │ ├── cvstore-hGuo3RT6mDLv2uhfx-baselogo(1).png │ ├── cvstore-jpaFsfT9nHuzpN4Mo-baselogo(1).png │ └── cvstore-zoPfdZwzsDYszms9D-baselogo(1).png ├── .gitignore ├── server └── publish.js ├── README.md ├── lib ├── router.js ├── collections.js ├── methods.js └── template_config.js └── LICENSE /client/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CCharlieLi/OpenCAS-Base/HEAD/client/.DS_Store -------------------------------------------------------------------------------- /public/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CCharlieLi/OpenCAS-Base/HEAD/public/.DS_Store -------------------------------------------------------------------------------- /client/css/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CCharlieLi/OpenCAS-Base/HEAD/client/css/.DS_Store -------------------------------------------------------------------------------- /public/images/like.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CCharlieLi/OpenCAS-Base/HEAD/public/images/like.png -------------------------------------------------------------------------------- /public/images/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CCharlieLi/OpenCAS-Base/HEAD/public/images/logo.png -------------------------------------------------------------------------------- /public/images/rss.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CCharlieLi/OpenCAS-Base/HEAD/public/images/rss.png -------------------------------------------------------------------------------- /public/images/user.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CCharlieLi/OpenCAS-Base/HEAD/public/images/user.png -------------------------------------------------------------------------------- /client/templates/sign.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /public/images/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CCharlieLi/OpenCAS-Base/HEAD/public/images/.DS_Store -------------------------------------------------------------------------------- /public/images/Descr.WD3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CCharlieLi/OpenCAS-Base/HEAD/public/images/Descr.WD3 -------------------------------------------------------------------------------- /public/images/image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CCharlieLi/OpenCAS-Base/HEAD/public/images/image.png -------------------------------------------------------------------------------- /public/images/quote.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CCharlieLi/OpenCAS-Base/HEAD/public/images/quote.png -------------------------------------------------------------------------------- /public/images/wechat.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CCharlieLi/OpenCAS-Base/HEAD/public/images/wechat.jpg -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | 2 | *~ 3 | ~* 4 | .DS_Store 5 | 6 | 7 | *.swp 8 | 9 | 10 | .meteor 11 | server/config.js -------------------------------------------------------------------------------- /public/images/comment.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CCharlieLi/OpenCAS-Base/HEAD/public/images/comment.png -------------------------------------------------------------------------------- /public/images/faq-minus.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CCharlieLi/OpenCAS-Base/HEAD/public/images/faq-minus.png -------------------------------------------------------------------------------- /public/images/faq-plus.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CCharlieLi/OpenCAS-Base/HEAD/public/images/faq-plus.png -------------------------------------------------------------------------------- /public/images/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CCharlieLi/OpenCAS-Base/HEAD/public/images/favicon.ico -------------------------------------------------------------------------------- /public/images/footer-bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CCharlieLi/OpenCAS-Base/HEAD/public/images/footer-bg.png -------------------------------------------------------------------------------- /public/images/li-arrow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CCharlieLi/OpenCAS-Base/HEAD/public/images/li-arrow.png -------------------------------------------------------------------------------- /public/images/like-btn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CCharlieLi/OpenCAS-Base/HEAD/public/images/like-btn.png -------------------------------------------------------------------------------- /public/images/loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CCharlieLi/OpenCAS-Base/HEAD/public/images/loading.gif -------------------------------------------------------------------------------- /public/images/main-bg.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CCharlieLi/OpenCAS-Base/HEAD/public/images/main-bg.jpg -------------------------------------------------------------------------------- /public/images/question.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CCharlieLi/OpenCAS-Base/HEAD/public/images/question.png -------------------------------------------------------------------------------- /public/images/standard.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CCharlieLi/OpenCAS-Base/HEAD/public/images/standard.png -------------------------------------------------------------------------------- /public/images/support.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CCharlieLi/OpenCAS-Base/HEAD/public/images/support.png -------------------------------------------------------------------------------- /public/images/image-large.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CCharlieLi/OpenCAS-Base/HEAD/public/images/image-large.png -------------------------------------------------------------------------------- /public/images/plus-minus.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CCharlieLi/OpenCAS-Base/HEAD/public/images/plus-minus.png -------------------------------------------------------------------------------- /public/images/scroll-top.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CCharlieLi/OpenCAS-Base/HEAD/public/images/scroll-top.png -------------------------------------------------------------------------------- /public/images/calendar-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CCharlieLi/OpenCAS-Base/HEAD/public/images/calendar-icon.png -------------------------------------------------------------------------------- /public/images/category-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CCharlieLi/OpenCAS-Base/HEAD/public/images/category-icon.png -------------------------------------------------------------------------------- /public/images/question-large.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CCharlieLi/OpenCAS-Base/HEAD/public/images/question-large.png -------------------------------------------------------------------------------- /public/images/search-loader.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CCharlieLi/OpenCAS-Base/HEAD/public/images/search-loader.gif -------------------------------------------------------------------------------- /public/images/standard-large.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CCharlieLi/OpenCAS-Base/HEAD/public/images/standard-large.png -------------------------------------------------------------------------------- /public/images/(ICON 图像,16x16 像素): -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CCharlieLi/OpenCAS-Base/HEAD/public/images/(ICON 图像,16x16 像素) -------------------------------------------------------------------------------- /public/images/category-main-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CCharlieLi/OpenCAS-Base/HEAD/public/images/category-main-icon.png -------------------------------------------------------------------------------- /public/images/glyphicons-halflings.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CCharlieLi/OpenCAS-Base/HEAD/public/images/glyphicons-halflings.png -------------------------------------------------------------------------------- /client/templates/pop.js: -------------------------------------------------------------------------------- 1 | Template.pop.helpers({ 2 | pops:function(){ 3 | return Job.find({},{sort:{stars_num:-1},limit:10}); 4 | } 5 | }); -------------------------------------------------------------------------------- /public/images/glyphicons-halflings-white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CCharlieLi/OpenCAS-Base/HEAD/public/images/glyphicons-halflings-white.png -------------------------------------------------------------------------------- /public/cvs/cvstore-5yJvcPKwpKpRCWirC-baselogo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CCharlieLi/OpenCAS-Base/HEAD/public/cvs/cvstore-5yJvcPKwpKpRCWirC-baselogo.png -------------------------------------------------------------------------------- /public/cvs/cvstore-HhkYAtYGqRiiJt79b-baselogo(1).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CCharlieLi/OpenCAS-Base/HEAD/public/cvs/cvstore-HhkYAtYGqRiiJt79b-baselogo(1).png -------------------------------------------------------------------------------- /public/cvs/cvstore-hGuo3RT6mDLv2uhfx-baselogo(1).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CCharlieLi/OpenCAS-Base/HEAD/public/cvs/cvstore-hGuo3RT6mDLv2uhfx-baselogo(1).png -------------------------------------------------------------------------------- /public/cvs/cvstore-jpaFsfT9nHuzpN4Mo-baselogo(1).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CCharlieLi/OpenCAS-Base/HEAD/public/cvs/cvstore-jpaFsfT9nHuzpN4Mo-baselogo(1).png -------------------------------------------------------------------------------- /public/cvs/cvstore-zoPfdZwzsDYszms9D-baselogo(1).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CCharlieLi/OpenCAS-Base/HEAD/public/cvs/cvstore-zoPfdZwzsDYszms9D-baselogo(1).png -------------------------------------------------------------------------------- /client/templates/joblist.js: -------------------------------------------------------------------------------- 1 | Template.joblist.helpers({ 2 | lists: function(){ 3 | return Job.find({},{sort:{createdAt:-1}}); 4 | }, 5 | STARS:function(){ 6 | return this.stars_num; 7 | } 8 | }); -------------------------------------------------------------------------------- /client/templates/content.js: -------------------------------------------------------------------------------- 1 | Template.content.helpers({ 2 | pops:function(){ 3 | return Job.find({},{sort:{stars_num:-1},limit:10}); 4 | }, 5 | latests:function(){ 6 | return Job.find({},{sort:{createdAt:-1},limit:10}); 7 | } 8 | }); -------------------------------------------------------------------------------- /server/publish.js: -------------------------------------------------------------------------------- 1 | Meteor.publish('jobs', function() { 2 | return Job.find({}); 3 | }); 4 | 5 | /* 6 | Meteor.publish('tags', function() { 7 | return Tag.find({}); 8 | });*/ 9 | 10 | Meteor.publish('commits', function() { 11 | if (this.userId) { 12 | return Commit.find({from: this.userId}); 13 | } else { 14 | this.ready(); 15 | } 16 | }); 17 | 18 | Meteor.publish('users', function() { 19 | if (this.userId) { 20 | return users.find({_id: this.userId}); 21 | } else { 22 | this.ready(); 23 | } 24 | }); 25 | -------------------------------------------------------------------------------- /client/templates/sign.js: -------------------------------------------------------------------------------- 1 | var render = function() { 2 | //$('#at-pwd-form').find("label").before("
"); 3 | $('#at-pwd-form').addClass("row"); 4 | $('#at-pwd-form').prepend("
"); 5 | 6 | //$('.at-input.has-feedback').find("label").wrap("
"); 7 | //$('.at-input.has-feedback').find("input").wrap("
"); 8 | //$('#at-pwd-form').find("button").wrap("
"); 9 | //$('.at-pwd-link').wrap("
"); 10 | //$('.at-signup-link').wrap("
"); 11 | 12 | //$('#at-pwd-form').find("input").addClass("required input-xlarge"); 13 | $('#at-pwd-form').find("button").addClass("btn btn-inverse"); 14 | 15 | }; 16 | 17 | Template.sign.onRendered(render); 18 | -------------------------------------------------------------------------------- /client/head.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | OpenCAS Base 11 | 12 | 13 | 16 | 17 | -------------------------------------------------------------------------------- /client/templates/index.js: -------------------------------------------------------------------------------- 1 | 2 | 3 | Template.Appbody.onRendered(function() { 4 | $('#at-nav-button').addClass("waves-effect waves-light btn"); 5 | 6 | this.find('.page-content')._uihooks = { 7 | insertElement: function(node, next) { 8 | $(node) 9 | .hide() 10 | .insertBefore(next) 11 | .fadeIn(function () { 12 | listFadeInHold.release(); 13 | }); 14 | }, 15 | removeElement: function(node) { 16 | $(node).fadeOut(function() { 17 | $(this).remove(); 18 | }); 19 | } 20 | }; 21 | }); 22 | 23 | 24 | 25 | Template.Appbody.helpers({ 26 | STARS:function(){ 27 | return Job.findOne(this._id).stars_num; 28 | }, 29 | NOT_Search_FLAG:function(){ 30 | return Session.get("NOT_Search_FLAG"); 31 | } 32 | }); 33 | 34 | Template.Appbody.events({ 35 | 'focus #search-form':function(event){ 36 | Router.go('/search'); 37 | }, 38 | 'click a.btn.btn-mini':function(event){ 39 | var text = event.target.text; 40 | $(".search-term").focus(); 41 | $(".search-term").val(text); 42 | 43 | //Router.go('/search'); 44 | } 45 | }); -------------------------------------------------------------------------------- /client/templates/edit.js: -------------------------------------------------------------------------------- 1 | Session.setDefault('ERROR_FLAG', false); 2 | Session.setDefault('ERROR_MSG', ""); 3 | 4 | 5 | Template.edit.helpers({ 6 | ERROR_MSG:function(){ 7 | return Session.get('ERROR_MSG'); 8 | }, 9 | ERROR_FLAG:function(){ 10 | if(this.publisher_id != Meteor.userId()) 11 | { 12 | Router.go('joblist'); 13 | } 14 | return Session.get('ERROR_FLAG'); 15 | } 16 | }); 17 | 18 | Template.edit.events({ 19 | 'submit .row':function(event){ 20 | //alert(moment()); 21 | event.preventDefault(); 22 | 23 | //alert(this._id); 24 | //alert(Meteor.user().username); 25 | if(this.publisher_id == Meteor.userId()) 26 | { 27 | var text = event.target.company.value; 28 | var email = event.target.email.value; 29 | var jobname = event.target.jobname.value; 30 | var abstract = event.target.abstract.value; 31 | var description = event.target.description.value; 32 | var tags = event.target.tags.value; 33 | 34 | 35 | Meteor.call('editJob', 36 | this._id, 37 | text, 38 | email, 39 | jobname, 40 | abstract, 41 | description, 42 | tags); 43 | 44 | } 45 | } 46 | }); -------------------------------------------------------------------------------- /client/templates/pop.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /client/templates/publish.js: -------------------------------------------------------------------------------- 1 | Session.setDefault('ERROR_FLAG', false); 2 | Session.setDefault('ERROR_MSG', ""); 3 | 4 | Template.publish.helpers({ 5 | ERROR_MSG:function(){ 6 | return Session.get('ERROR_MSG'); 7 | }, 8 | ERROR_FLAG:function(){ 9 | return Session.get('ERROR_FLAG'); 10 | } 11 | }); 12 | 13 | Template.publish.events({ 14 | 'submit .row':function(event){ 15 | event.preventDefault(); 16 | //alert(Meteor.user().username); 17 | var text = event.target.company.value; 18 | var email = event.target.email.value; 19 | var jobname = event.target.jobname.value; 20 | var abstract = event.target.abstract.value; 21 | var description = event.target.description.value; 22 | var tags = event.target.tags.value; 23 | /*var call_back = function(error, result){ 24 | if(result == false) 25 | { 26 | Session.set('ERROR_FLAG', true); 27 | Session.set('ERROR_MSG', error.message); 28 | } 29 | else 30 | { 31 | Session.set('ERROR_FLAG', false); 32 | Router.go('joblist'); 33 | } 34 | }*/ 35 | //alert(users.findOne({_id: Meteor.userId()})); 36 | Meteor.call('publishJob', 37 | text, 38 | email, 39 | jobname, 40 | abstract, 41 | description, 42 | tags); 43 | 44 | } 45 | }); -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # OpenCAS Base 2 | 3 | This project is powered by [Meteor](https://www.meteor.com), a fantastic javascript framework. 4 | Not finished yet, I'm still working on it. 5 | 6 | Packages Used: 7 | - accounts-password 1.1.1 Password support for accounts 8 | - aldeed:collection2 2.3.3 Automatic validation of insert and update opera... 9 | - autopublish 1.0.3 Publish the entire database to all clients 10 | - email 1.0.6 Send email messages 11 | - insecure 1.0.3 Allow all database writes by default 12 | - iron:router 1.0.7 Routing specifically designed for Meteor 13 | - jquery 1.11.3_2 Manipulate the DOM using CSS selectors 14 | - markdown 1.0.4 Markdown-to-HTML processor 15 | - meteor-platform 1.2.2 Include a standard set of Meteor packages in yo... 16 | - momentjs:moment 2.10.3 Moment.js (official): parse, validate, manipul... 17 | - useraccounts:unstyled 1.9.1 Accounts Templates unstyled. 18 | - matteodem:easy-search 1.5.5 Easy-to-use search with Blaze Components (+ Ela... 19 | - cfs:filesystem 0.1.2 Filesystem storage adapter for CollectionFS 20 | - cfs:standard-packages 0.5.8 Filesystem for Meteor, collectionFS 21 | 22 | 23 | 24 | # Function 25 | - Sign In/Up 26 | - Publish recruitment info after signin and verification email.(not finish yet) 27 | - Apply a job by sending email to publisher.(After careful consideration, I choose to remove the email function to make this as simple as possible.) 28 | - Like it (点赞) 29 | - Search jobs 30 | - Once you registered as one of OpenCAS, we will keep you updated with the email of latest job information. 31 | 32 | 33 | # Author 34 | 35 | Charlie(ccharlieli@live.com) 36 | 37 | # License 38 | 39 | GPLv3 40 | -------------------------------------------------------------------------------- /lib/router.js: -------------------------------------------------------------------------------- 1 | Router.configure({ 2 | layoutTemplate: 'Appbody', 3 | 4 | waitOn: function() { 5 | return [ 6 | Meteor.subscribe('jobs'), 7 | //Meteor.subscribe('tags'), 8 | Meteor.subscribe('commits'), 9 | ]; 10 | } 11 | }); 12 | 13 | 14 | 15 | 16 | Router.plugin('ensureSignedIn', { 17 | only: ['jobinfo','publish','edit'] 18 | }); 19 | 20 | 21 | 22 | Router.map(function() { 23 | this.route('/', function () { 24 | this.render('content'); 25 | }); 26 | 27 | this.route('/joblist',function(){ 28 | this.render('joblist'); 29 | this.render('pop',{to:'pop'}); 30 | }); 31 | 32 | this.route('/jobinfo/:_id',function(){ 33 | name: "jobinfo", 34 | this.render('jobinfo', { 35 | data: function(){ 36 | return Job.findOne({_id:this.params._id}); 37 | } 38 | }); 39 | this.render('pop',{to:'pop'}); 40 | }); 41 | 42 | this.route('/faqs',function(){ 43 | this.render('faqs'); 44 | this.render('pop',{to:'pop'}); 45 | }); 46 | 47 | this.route('/search',function(){ 48 | this.render('search'); 49 | this.render('pop',{to:'pop'}); 50 | }); 51 | 52 | //this.route('/contact',function(){ 53 | // this.render('contact'); 54 | //}); 55 | 56 | //this.route('/sign',function(){ 57 | // this.render('sign'); 58 | //}); 59 | 60 | this.route('/publish',function(){ 61 | this.render('publish'); 62 | this.render('pop',{to:'pop'}); 63 | }); 64 | 65 | this.route('/edit/:_id',function(){ 66 | this.render('edit', { 67 | data: function(){ 68 | return Job.findOne({_id:this.params._id}); 69 | } 70 | }); 71 | this.render('pop',{to:'pop'}); 72 | }); 73 | 74 | 75 | this.route('/item', function () { 76 | var req = this.request; 77 | var res = this.response; 78 | res.end('hello from the server\n'); 79 | }, {where: 'server'}); 80 | 81 | 82 | }); 83 | 84 | 85 | -------------------------------------------------------------------------------- /client/templates/joblist.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /client/templates/search.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /client/templates/content.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /client/templates/jobinfo.js: -------------------------------------------------------------------------------- 1 | 2 | Session.setDefault('Editable',false); 3 | Session.setDefault('ERROR_FLAG', false); 4 | Session.setDefault('ERROR_MSG', ""); 5 | Session.setDefault('SUCCESS_FLAG', false); 6 | 7 | Template.jobinfo.helpers({ 8 | STAR:function(){ 9 | /*var temp=Job.findOne(this._id).stars; 10 | var count = 0; 11 | var offset = 0; 12 | do 13 | { 14 | offset = temp.indexOf(',', offset); 15 | if(offset != -1) 16 | { 17 | count++; 18 | offset += 1; 19 | } 20 | }while(offset != -1); 21 | */ 22 | Session.set('ERROR_FLAG',false); 23 | Session.set('SUCCESS_FLAG',false); 24 | return this.stars_num; 25 | }, 26 | Editable:function(){ 27 | if(this.publisher_id == Meteor.userId()) 28 | { 29 | Session.set('Editable',true); 30 | } 31 | else 32 | { 33 | Session.set('Editable',false); 34 | } 35 | return Session.get('Editable'); 36 | }, 37 | ERROR_MSG:function(){ 38 | return Session.get('ERROR_MSG'); 39 | }, 40 | ERROR_FLAG:function(){ 41 | return Session.get('ERROR_FLAG'); 42 | }, 43 | SUCCESS_FLAG:function(){ 44 | return Session.get('SUCCESS_FLAG'); 45 | }, 46 | comm:function(){ 47 | 48 | json = Commit.find({},{createdAt:1,sort:{createdAt:-1},limit:1}); 49 | 50 | return json; 51 | } 52 | }); 53 | 54 | Template.jobinfo.events({ 55 | 'click #like-it-form':function(event){ 56 | //var temp = Job.findOne(this._id); 57 | if(this.stars.indexOf(Meteor.userId()) == -1) //not in stars 58 | { 59 | var id = this._id; 60 | var stars = this.stars; 61 | var stars_num = this.stars_num; 62 | 63 | Meteor.call('likeit',id,stars,stars_num); 64 | 65 | } 66 | 67 | } 68 | /* 69 | 'submit .msg':function(event){ 70 | event.preventDefault(); 71 | //alert(Meteor.user().username); 72 | 73 | if(1) 74 | { 75 | var comment = event.target.comment.value; 76 | var company = this.company; 77 | var email = this.email; 78 | var job = this.job; 79 | var publisher = this.publisher_id; 80 | 81 | Meteor.call('commit', 82 | comment, 83 | company, 84 | email, 85 | job, 86 | publisher); 87 | 88 | 89 | if(Session.get('ERROR_FLAG') == false) 90 | { 91 | Meteor.call('sendEmail', 92 | 'ccharlieli@live.com', 93 | 'charlie@opencas.com', 94 | comment, 95 | comment); 96 | } 97 | } 98 | 99 | }*/ 100 | /* 101 | 'change .myFileInput': function(event, template) { 102 | var temp = this; 103 | FS.Utility.eachFile(event, function(file) { 104 | CVStore.insert(file, function (err, fileObj) { 105 | if (err){ 106 | alert("err"); 107 | } else { 108 | var userId = Meteor.userId(); 109 | var reveicer = temp._id; 110 | var cvURL = "/uploads/cvstore-" + fileObj._id; 111 | var createdAt = moment().format("YYYY-MM-DD HH:mm").toString(); 112 | Commit.insert({from:userId,rec:reveicer,cv:cvURL,createdAt:createdAt}); 113 | Session.set('SUCCESS_FLAG',true); 114 | 115 | //Router.go('joblist'); 116 | } 117 | }); 118 | }); 119 | }*/ 120 | }); -------------------------------------------------------------------------------- /lib/collections.js: -------------------------------------------------------------------------------- 1 | //Collection 2 | 3 | Job = new Mongo.Collection('jobs'); 4 | //Tag = new Mongo.Collection('tags'); 5 | Commit = new Mongo.Collection('commits'); 6 | 7 | 8 | //EasySearch 9 | 10 | Job.initEasySearch(['company', 'job','abstract','description','tags'], { 11 | 'limit' : 20, 12 | 'use' : 'mongo-db' 13 | }); 14 | 15 | 16 | //Schema 17 | 18 | var Schemas = {}; 19 | Schemas.Job = new SimpleSchema({ 20 | company: { 21 | type: String, 22 | label: "Company", 23 | max: 50, 24 | }, 25 | email: { 26 | label: "Contact Email", 27 | type: String, 28 | regEx: SimpleSchema.RegEx.Email, 29 | }, 30 | job: { 31 | type: String, 32 | label: "Job Name", 33 | min: 2, 34 | }, 35 | abstract: { 36 | type: String, 37 | label: "Abstract", 38 | max: 300, 39 | }, 40 | description: { 41 | type: String, 42 | label: "Job Description", 43 | }, 44 | tags: { 45 | type: String, 46 | label:"Tags", 47 | optional:true, 48 | }, 49 | stars: { 50 | type: String, 51 | label: "People of stars", 52 | optional:true, 53 | }, 54 | stars_num:{ 55 | type: Number, 56 | label: "Number of stars", 57 | optional:true, 58 | }, 59 | publisher:{ 60 | type: String, 61 | label:"Publisher", 62 | }, 63 | publisher_id:{ 64 | type: String, 65 | label:"Publisher_Id", 66 | }, 67 | createdAt:{ 68 | type: String, 69 | label: "Date", 70 | } 71 | }); 72 | 73 | 74 | Job.attachSchema(Schemas.Job); 75 | 76 | Schemas.Commit = new SimpleSchema({ 77 | from:{ 78 | type: String, 79 | label: "ID", 80 | }, 81 | commit:{ 82 | type:String, 83 | label:"Comment", 84 | }, 85 | company: { 86 | type: String, 87 | label: "Company", 88 | max: 50, 89 | }, 90 | email: { 91 | label: "Contact Email", 92 | type: String, 93 | regEx: SimpleSchema.RegEx.Email, 94 | }, 95 | job: { 96 | type: String, 97 | label: "Job Name", 98 | min: 2, 99 | }, 100 | publisher:{ 101 | type: String, 102 | label:"Publisher", 103 | }, 104 | createdAt:{ 105 | type: String, 106 | label: "Date", 107 | } 108 | }); 109 | 110 | 111 | Commit.attachSchema(Schemas.Commit); 112 | /* 113 | var CVStore = new FS.Store.GridFS("cvstore"); 114 | CVs = new FS.Collection("cvstore", { 115 | stores: [CVStore] 116 | }); 117 | 118 | CVStore = new FS.Collection("cvstore", { 119 | stores: [new FS.Store.FileSystem("cvstore", {path: "./../../../../../public/uploads"})] 120 | });*/ 121 | /* 122 | var CVs = new FS.Store.GridFS('cvs'); 123 | CVstore = new FS.Collection('cvstore', { 124 | stores: [CVs] 125 | }); 126 | 127 | CVStore.deny({ 128 | insert: function(){ 129 | return false; 130 | }, 131 | update: function(){ 132 | return false; 133 | }, 134 | remove: function(){ 135 | return false; 136 | }, 137 | download: function(){ 138 | return false; 139 | } 140 | }); 141 | 142 | CVStore.allow({ 143 | insert: function(){ 144 | return true; 145 | }, 146 | update: function(){ 147 | return true; 148 | }, 149 | remove: function(){ 150 | return true; 151 | }, 152 | download: function(){ 153 | return true; 154 | } 155 | });*/ 156 | -------------------------------------------------------------------------------- /lib/methods.js: -------------------------------------------------------------------------------- 1 | Meteor.methods({ 2 | sendEmail: function (to, from, subject, text) { 3 | check([to, from, subject, text], [String]); 4 | 5 | // Let other method calls from the same client start running, 6 | // without waiting for the email sending to complete. 7 | this.unblock(); 8 | 9 | Email.send({ 10 | to: to, 11 | from: from, 12 | subject: subject, 13 | text: text 14 | }); 15 | }, 16 | 17 | publishJob:function(text,email,jobname,abstract,description,tags){ 18 | check([text, email, jobname, abstract,description,tags], [String]); 19 | 20 | if (Meteor.userId()) { 21 | Job.insert({ 22 | company: text, 23 | email: email, 24 | job: jobname, 25 | abstract: abstract, 26 | description: description, 27 | stars: ",", 28 | stars_num: 0, 29 | tags: tags, 30 | publisher: Meteor.user().username, 31 | publisher_id: Meteor.userId(), 32 | createdAt: moment().format("YYYY-MM-DD HH:mm").toString(), 33 | }, function(error, result){ 34 | if(result == false) 35 | { 36 | Session.set('ERROR_FLAG', true); 37 | Session.set('ERROR_MSG', error.message); 38 | } 39 | else 40 | { 41 | Session.set('ERROR_FLAG', false); 42 | Router.go('joblist'); 43 | } 44 | }) 45 | } 46 | }, 47 | 48 | editJob:function(id,text,email,jobname,abstract,description,tags){ 49 | check([text, email, jobname, abstract,description,tags], [String]); 50 | 51 | if (Meteor.userId()) { 52 | Job.update({_id:id},{$set:{ 53 | company: text, 54 | email: email, 55 | job: jobname, 56 | abstract: abstract, 57 | description: description, 58 | tags: tags, 59 | //publisher: Meteor.user().username, 60 | //publisher_id: Meteor.userId(), 61 | //createdAt: moment().format("YYYY-MM-DD HH:mm").toString(), 62 | }}, function(error, result){ 63 | if(result == false) 64 | { 65 | Session.set('ERROR_FLAG', true); 66 | Session.set('ERROR_MSG', error.message); 67 | } 68 | else 69 | { 70 | Session.set('ERROR_FLAG', false); 71 | Router.go('joblist'); 72 | } 73 | }); 74 | } 75 | }, 76 | 77 | commit:function(comment,company,email,job,publisher){ 78 | 79 | if(Meteor.userId()) 80 | { 81 | Commit.insert({ 82 | from: Meteor.userId(), 83 | commit: comment, 84 | company: company, 85 | email: email, 86 | job: job, 87 | publisher: publisher, 88 | createdAt: moment().format("YYYY-MM-DD HH:mm").toString(), 89 | 90 | }, function(error, result){ 91 | if(result == false) 92 | { 93 | Session.set('ERROR_FLAG', true); 94 | Session.set('ERROR_MSG', error.message); 95 | } 96 | else 97 | { 98 | Session.set('ERROR_FLAG', false); 99 | Session.set('SUCCESS_FLAG', true); 100 | //Router.go('joblist'); 101 | 102 | } 103 | }); 104 | } 105 | 106 | }, 107 | 108 | likeit:function(id,_stars,_stars_num){ 109 | if(Meteor.userId()) 110 | { 111 | Job.update({_id:id},{$set:{stars:_stars+Meteor.userId()+","}}); 112 | Job.update({_id:id},{$set:{stars_num:_stars_num+1}}); 113 | } 114 | } 115 | }); 116 | -------------------------------------------------------------------------------- /client/templates/contact.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /client/templates/faqs.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /client/jquery.liveSearch.js: -------------------------------------------------------------------------------- 1 | /*** 2 | @title: 3 | Live Search 4 | 5 | @version: 6 | 2.0 7 | 8 | @author: 9 | Andreas Lagerkvist 10 | 11 | @date: 12 | 2008-08-31 13 | 14 | @url: 15 | http://andreaslagerkvist.com/jquery/live-search/ 16 | 17 | @license: 18 | http://creativecommons.org/licenses/by/3.0/ 19 | 20 | @copyright: 21 | 2008 Andreas Lagerkvist (andreaslagerkvist.com) 22 | 23 | ***/ 24 | jQuery.fn.liveSearch = function (conf) { 25 | var config = jQuery.extend({ 26 | url: '/search-results.php?q=', 27 | id: 'jquery-live-search', 28 | duration: 400, 29 | typeDelay: 200, 30 | loadingClass: 'loading', 31 | onSlideUp: function () {}, 32 | uptadePosition: false 33 | }, conf); 34 | 35 | var liveSearch = jQuery('#' + config.id); 36 | 37 | // Create live-search if it doesn't exist 38 | if (!liveSearch.length) { 39 | liveSearch = jQuery('
') 40 | .appendTo(document.body) 41 | .hide() 42 | .slideUp(0); 43 | 44 | // Close live-search when clicking outside it 45 | jQuery(document.body).click(function(event) { 46 | var clicked = jQuery(event.target); 47 | 48 | if (!(clicked.is('#' + config.id) || clicked.parents('#' + config.id).length || clicked.is('input'))) { 49 | liveSearch.slideUp(config.duration, function () { 50 | config.onSlideUp(); 51 | }); 52 | } 53 | }); 54 | } 55 | 56 | return this.each(function () { 57 | var input = jQuery(this).attr('autocomplete', 'off'); 58 | var liveSearchPaddingBorderHoriz = parseInt(liveSearch.css('paddingLeft'), 10) + parseInt(liveSearch.css('paddingRight'), 10) + parseInt(liveSearch.css('borderLeftWidth'), 10) + parseInt(liveSearch.css('borderRightWidth'), 10); 59 | 60 | // Re calculates live search's position 61 | var repositionLiveSearch = function () { 62 | var tmpOffset = input.offset(); 63 | var inputDim = { 64 | left: tmpOffset.left, 65 | top: tmpOffset.top, 66 | width: input.outerWidth(), 67 | height: input.outerHeight() 68 | }; 69 | 70 | inputDim.topPos = inputDim.top + inputDim.height; 71 | inputDim.totalWidth = inputDim.width - liveSearchPaddingBorderHoriz; 72 | 73 | liveSearch.css({ 74 | position: 'absolute', 75 | left: inputDim.left + 'px', 76 | top: inputDim.topPos + 'px', 77 | width: inputDim.totalWidth + 'px' 78 | }); 79 | }; 80 | 81 | // Shows live-search for this input 82 | var showLiveSearch = function () { 83 | // Always reposition the live-search every time it is shown 84 | // in case user has resized browser-window or zoomed in or whatever 85 | repositionLiveSearch(); 86 | 87 | // We need to bind a resize-event every time live search is shown 88 | // so it resizes based on the correct input element 89 | $(window).unbind('resize', repositionLiveSearch); 90 | $(window).bind('resize', repositionLiveSearch); 91 | 92 | liveSearch.slideDown(config.duration); 93 | }; 94 | 95 | // Hides live-search for this input 96 | var hideLiveSearch = function () { 97 | liveSearch.slideUp(config.duration, function () { 98 | config.onSlideUp(); 99 | }); 100 | }; 101 | 102 | input 103 | // On focus, if the live-search is empty, perform an new search 104 | // If not, just slide it down. Only do this if there's something in the input 105 | .focus(function () { 106 | if (this.value !== '') { 107 | // Perform a new search if there are no search results 108 | if (liveSearch.html() == '') { 109 | this.lastValue = ''; 110 | input.keyup(); 111 | } 112 | // If there are search results show live search 113 | else { 114 | // HACK: In case search field changes width onfocus 115 | setTimeout(showLiveSearch, 1); 116 | } 117 | } 118 | }) 119 | // Auto update live-search onkeyup 120 | .keyup(function () { 121 | // Don't update live-search if it's got the same value as last time 122 | if (this.value != this.lastValue) { 123 | input.addClass(config.loadingClass); 124 | 125 | var q = this.value; 126 | 127 | // Stop previous ajax-request 128 | if (this.timer) { 129 | clearTimeout(this.timer); 130 | } 131 | 132 | // Start a new ajax-request in X ms 133 | this.timer = setTimeout(function () { 134 | jQuery.get(config.url + q, function (data) { 135 | input.removeClass(config.loadingClass); 136 | 137 | // Show live-search if results and search-term aren't empty 138 | if (data.length && q.length) { 139 | liveSearch.html(data); 140 | showLiveSearch(); 141 | } 142 | else { 143 | hideLiveSearch(); 144 | } 145 | }); 146 | }, config.typeDelay); 147 | 148 | this.lastValue = this.value; 149 | } 150 | }); 151 | }); 152 | }; 153 | -------------------------------------------------------------------------------- /client/templates/publish.html: -------------------------------------------------------------------------------- 1 | 62 | -------------------------------------------------------------------------------- /client/templates/edit.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /client/templates/jobinfo.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /lib/template_config.js: -------------------------------------------------------------------------------- 1 | AccountsTemplates.configureRoute('signIn', { 2 | name: 'signin', 3 | path: '/sign', 4 | template: 'sign', 5 | //layoutTemplate: 'myLayout', 6 | //redirect: '/user-profile', 7 | }); 8 | AccountsTemplates.configureRoute('resetPwd', { 9 | name: 'atResetPwd', 10 | }); 11 | AccountsTemplates.configureRoute('forgotPwd', { 12 | name: 'atForgotPwd', 13 | }); 14 | AccountsTemplates.configureRoute('changePwd', { 15 | name: 'atChangePwd', 16 | }); 17 | AccountsTemplates.configureRoute('enrollAccount', { 18 | name: 'atEnrollAccount', 19 | }); 20 | AccountsTemplates.configureRoute('verifyEmail', { 21 | name: 'atVerifyEmail', 22 | }); 23 | 24 | 25 | AccountsTemplates.configure({ 26 | // Behaviour 27 | confirmPassword: true, 28 | enablePasswordChange: true, 29 | forbidClientAccountCreation: false, 30 | overrideLoginErrors: false, 31 | sendVerificationEmail: true, 32 | lowercaseUsername: true, 33 | 34 | // Appearance 35 | showAddRemoveServices: false, 36 | showForgotPasswordLink: true, 37 | showLabels: true, 38 | showPlaceholders: true, 39 | showResendVerificationEmailLink: false, 40 | 41 | // Client-side Validation 42 | continuousValidation: false, 43 | negativeValidation: true, 44 | positiveValidation: true, 45 | positiveFeedback: true, 46 | negativeFeedback: true, 47 | showValidating: true, 48 | 49 | // Privacy Policy and Terms of Use 50 | privacyUrl: '/faqs', 51 | //termsUrl: 'terms-of-use', 52 | 53 | // Redirects 54 | homeRoutePath: '/', 55 | redirectTimeout: 4000, 56 | 57 | // Hooks 58 | //onLogoutHook: myLogoutFunc, 59 | //onSubmitHook: mySubmitFunc, 60 | 61 | // Texts 62 | texts: { 63 | navSignIn: "signIn", 64 | navSignOut: "signOut", 65 | optionalField: "optional", 66 | pwdLink_pre: "", 67 | pwdLink_link: "forgotPassword", 68 | pwdLink_suff: "", 69 | //resendVerificationEmailLink_pre: "Verification email lost?", 70 | //resendVerificationEmailLink_link: "Send again", 71 | //resendVerificationEmailLink_suff: "", 72 | sep: "OR", 73 | signInLink_pre: "ifYouAlreadyHaveAnAccount", 74 | signInLink_link: "signin", 75 | signInLink_suff: "", 76 | signUpLink_pre: "dontHaveAnAccount", 77 | signUpLink_link: "signUp", 78 | signUpLink_suff: "", 79 | 80 | socialAdd: "add", 81 | socialConfigure: "configure", 82 | socialRemove: "remove", 83 | socialSignIn: "signIn", 84 | socialSignUp: "signUp", 85 | socialWith: "with", 86 | socialIcons: { 87 | google: "myGoogleIcon", 88 | "meteor-developer": "myMeteorIcon", 89 | }, 90 | 91 | termsPreamble: "clickAgree", 92 | termsPrivacy: "privacyPolicy", 93 | termsAnd: "and", 94 | termsTerms: "terms", 95 | 96 | button: { 97 | changePwd: "Change Password", 98 | enrollAccount: "Enroll Text", 99 | forgotPwd: "Send Email", 100 | resetPwd: "Reset Password", 101 | signIn: "Sign In", 102 | signUp: "Cheers!", 103 | }, 104 | 105 | title: { 106 | signIn: "Sign In", 107 | signUp: "Join the OpenCAS", 108 | forgotPwd: "Forgot Password ?", 109 | 110 | changePwd: "Change Password", 111 | enrollAccount: "Enroll Title", 112 | resetPwd: "Reset Password", 113 | verifyEmail: "Verify Email Title", 114 | }, 115 | info: { 116 | emailSent: "info.emailSent", 117 | emailVerified: "info.emailVerified", 118 | pwdChanged: "info.passwordChanged", 119 | pwdReset: "info.passwordReset", 120 | pwdSet: "info.passwordReset", 121 | signUpVerifyEmail: "Successful Registration! Please check your email and follow the instructions.", 122 | verificationEmailSent: "A new email has been sent to you. If the email doesn't show up in your inbox, be sure to check your spam folder.", 123 | }, 124 | errors: { 125 | accountsCreationDisabled: "Client side accounts creation is disabled!!!", 126 | cannotRemoveService: "Cannot remove the only active service!", 127 | captchaVerification: "Captcha verification failed!", 128 | loginForbidden: "error.accounts.Login forbidden", 129 | mustBeLoggedIn: "error.accounts.Must be logged in", 130 | pwdMismatch: "error.pwdsDontMatch", 131 | validationErrors: "Validation Errors", 132 | verifyEmailFirst: "Please verify your email first. Check the email and follow the link!", 133 | }, 134 | inputIcons: { 135 | isValidating: "fa fa-spinner fa-spin", 136 | hasSuccess: "fa fa-check", 137 | hasError: "fa fa-times", 138 | } 139 | } 140 | }); 141 | 142 | 143 | 144 | // current_password 145 | // email 146 | // password 147 | // password_again 148 | // username 149 | // username_and_email 150 | 151 | //======================================================= 152 | //AccountsTemplates.removeField('email'); 153 | AccountsTemplates.addFields([ 154 | { 155 | _id: "username", 156 | type: "text", 157 | displayName: "Username", 158 | placeholder: "Username", 159 | required: true, 160 | maxLength: 10, 161 | }, 162 | { 163 | _id:"institution", 164 | type: "text", 165 | displayName: "Institution", 166 | required: true, 167 | maxLength: 10, 168 | }, 169 | { 170 | _id:"research", 171 | type: "text", 172 | displayName: "Research", 173 | required: false, 174 | maxLength: 20, 175 | } 176 | ]); 177 | 178 | 179 | /* 180 | AccountsTemplates.addField({ 181 | _id: "gender", 182 | type: "select", 183 | displayName: "Gender", 184 | select: [ 185 | { 186 | text: "Male", 187 | value: "male", 188 | }, 189 | { 190 | text: "Female", 191 | value: "female", 192 | }, 193 | ], 194 | }); 195 | 196 | AccountsTemplates.addField({ 197 | _id: "fruit", 198 | type: "radio", 199 | displayName: "Preferred Fruit", 200 | select: [ 201 | { 202 | text: "Apple", 203 | value: "aa", 204 | }, { 205 | text: "Banana", 206 | value: "bb", 207 | }, { 208 | text: "Carrot", 209 | value: "cc", 210 | }, 211 | ], 212 | }); 213 | 214 | AccountsTemplates.addField({ 215 | _id: "mailing_list", 216 | type: "checkbox", 217 | displayName: "Subscribe me to mailing List", 218 | }); 219 | 220 | AccountsTemplates.addField({ 221 | _id: 'reg_code', 222 | type: 'hidden' 223 | }); 224 | */ 225 | 226 | 227 | -------------------------------------------------------------------------------- /client/templates/index.html: -------------------------------------------------------------------------------- 1 | 210 | -------------------------------------------------------------------------------- /client/css/responsive.css: -------------------------------------------------------------------------------- 1 | /* 2 | * Bootstrap Responsive v2.2.2 3 | * 4 | * Copyright 2012 Twitter, Inc 5 | * Licensed under the Apache License v2.0 6 | * http://www.apache.org/licenses/LICENSE-2.0 7 | * 8 | * Designed and built with all the love in the world @twitter by @mdo and @fat. 9 | */ 10 | @-ms-viewport { 11 | width: device-width; 12 | } 13 | 14 | .clearfix { 15 | *zoom: 1; 16 | } 17 | .clearfix:before, .clearfix:after { 18 | display: table; 19 | content: ""; 20 | line-height: 0; 21 | } 22 | .clearfix:after { 23 | clear: both; 24 | } 25 | 26 | .hide-text { 27 | font: 0/0 a; 28 | color: transparent; 29 | text-shadow: none; 30 | background-color: transparent; 31 | border: 0; 32 | } 33 | 34 | .input-block-level { 35 | display: block; 36 | width: 100%; 37 | min-height: 32px; 38 | -webkit-box-sizing: border-box; 39 | -moz-box-sizing: border-box; 40 | box-sizing: border-box; 41 | } 42 | 43 | .hidden { 44 | display: none; 45 | visibility: hidden; 46 | } 47 | 48 | .visible-phone { 49 | display: none !important; 50 | } 51 | 52 | .visible-tablet { 53 | display: none !important; 54 | } 55 | 56 | .hidden-desktop { 57 | display: none !important; 58 | } 59 | 60 | .visible-desktop { 61 | display: inherit !important; 62 | } 63 | 64 | @media (min-width: 768px) and (max-width: 979px) { 65 | .hidden-desktop { 66 | display: inherit !important; 67 | } 68 | 69 | .visible-desktop { 70 | display: none !important; 71 | } 72 | 73 | .visible-tablet { 74 | display: inherit !important; 75 | } 76 | 77 | .hidden-tablet { 78 | display: none !important; 79 | } 80 | } 81 | @media (max-width: 767px) { 82 | .hidden-desktop { 83 | display: inherit !important; 84 | } 85 | 86 | .visible-desktop { 87 | display: none !important; 88 | } 89 | 90 | .visible-phone { 91 | display: inherit !important; 92 | } 93 | 94 | .hidden-phone { 95 | display: none !important; 96 | } 97 | } 98 | 99 | 100 | 101 | @media (min-width: 1200px) { 102 | .row { 103 | margin-left: -30px; 104 | *zoom: 1; 105 | } 106 | .row:before, .row:after { 107 | display: table; 108 | content: ""; 109 | line-height: 0; 110 | } 111 | .row:after { 112 | clear: both; 113 | } 114 | 115 | 116 | [class*="span"] { 117 | float: left; 118 | min-height: 1px; 119 | margin-left: 30px; 120 | } 121 | 122 | .container, 123 | .navbar-static-top .container, 124 | .navbar-fixed-top .container, 125 | .navbar-fixed-bottom .container { 126 | width: 1170px; 127 | } 128 | 129 | .span12 { 130 | width: 1170px; 131 | } 132 | 133 | .span11 { 134 | width: 1070px; 135 | } 136 | 137 | .span10 { 138 | width: 970px; 139 | } 140 | 141 | .span9 { 142 | width: 870px; 143 | } 144 | 145 | .span8 { 146 | width: 770px; 147 | } 148 | 149 | .span7 { 150 | width: 670px; 151 | } 152 | 153 | .span6 { 154 | width: 570px; 155 | } 156 | 157 | .span5 { 158 | width: 470px; 159 | } 160 | 161 | .span4 { 162 | width: 370px; 163 | } 164 | 165 | .span3 { 166 | width: 270px; 167 | } 168 | 169 | .span2 { 170 | width: 170px; 171 | } 172 | 173 | .span1 { 174 | width: 70px; 175 | } 176 | 177 | .offset12 { 178 | margin-left: 1230px; 179 | } 180 | 181 | .offset11 { 182 | margin-left: 1130px; 183 | } 184 | 185 | .offset10 { 186 | margin-left: 1030px; 187 | } 188 | 189 | .offset9 { 190 | margin-left: 930px; 191 | } 192 | 193 | .offset8 { 194 | margin-left: 830px; 195 | } 196 | 197 | .offset7 { 198 | margin-left: 730px; 199 | } 200 | 201 | .offset6 { 202 | margin-left: 630px; 203 | } 204 | 205 | .offset5 { 206 | margin-left: 530px; 207 | } 208 | 209 | .offset4 { 210 | margin-left: 430px; 211 | } 212 | 213 | .offset3 { 214 | margin-left: 330px; 215 | } 216 | 217 | .offset2 { 218 | margin-left: 230px; 219 | } 220 | 221 | .offset1 { 222 | margin-left: 130px; 223 | } 224 | 225 | .row-fluid { 226 | width: 100%; 227 | *zoom: 1; 228 | } 229 | .row-fluid:before, .row-fluid:after { 230 | display: table; 231 | content: ""; 232 | line-height: 0; 233 | } 234 | .row-fluid:after { 235 | clear: both; 236 | } 237 | .row-fluid [class*="span"] { 238 | display: block; 239 | width: 100%; 240 | min-height: 32px; 241 | -webkit-box-sizing: border-box; 242 | -moz-box-sizing: border-box; 243 | box-sizing: border-box; 244 | float: left; 245 | margin-left: 2.5641%; 246 | *margin-left: 2.51091%; 247 | } 248 | .row-fluid [class*="span"]:first-child { 249 | margin-left: 0; 250 | } 251 | .row-fluid .controls-row [class*="span"] + [class*="span"] { 252 | margin-left: 2.5641%; 253 | } 254 | .row-fluid .span12 { 255 | width: 100%; 256 | *width: 99.94681%; 257 | } 258 | .row-fluid .span11 { 259 | width: 91.45299%; 260 | *width: 91.3998%; 261 | } 262 | .row-fluid .span10 { 263 | width: 82.90598%; 264 | *width: 82.85279%; 265 | } 266 | .row-fluid .span9 { 267 | width: 74.35897%; 268 | *width: 74.30578%; 269 | } 270 | .row-fluid .span8 { 271 | width: 65.81197%; 272 | *width: 65.75877%; 273 | } 274 | .row-fluid .span7 { 275 | width: 57.26496%; 276 | *width: 57.21177%; 277 | } 278 | .row-fluid .span6 { 279 | width: 48.71795%; 280 | *width: 48.66476%; 281 | } 282 | .row-fluid .span5 { 283 | width: 40.17094%; 284 | *width: 40.11775%; 285 | } 286 | .row-fluid .span4 { 287 | width: 31.62393%; 288 | *width: 31.57074%; 289 | } 290 | .row-fluid .span3 { 291 | width: 23.07692%; 292 | *width: 23.02373%; 293 | } 294 | .row-fluid .span2 { 295 | width: 14.52991%; 296 | *width: 14.47672%; 297 | } 298 | .row-fluid .span1 { 299 | width: 5.98291%; 300 | *width: 5.92971%; 301 | } 302 | .row-fluid .offset12 { 303 | margin-left: 105.12821%; 304 | *margin-left: 105.02182%; 305 | } 306 | .row-fluid .offset12:first-child { 307 | margin-left: 102.5641%; 308 | *margin-left: 102.45772%; 309 | } 310 | .row-fluid .offset11 { 311 | margin-left: 96.5812%; 312 | *margin-left: 96.47481%; 313 | } 314 | .row-fluid .offset11:first-child { 315 | margin-left: 94.01709%; 316 | *margin-left: 93.91071%; 317 | } 318 | .row-fluid .offset10 { 319 | margin-left: 88.03419%; 320 | *margin-left: 87.92781%; 321 | } 322 | .row-fluid .offset10:first-child { 323 | margin-left: 85.47009%; 324 | *margin-left: 85.3637%; 325 | } 326 | .row-fluid .offset9 { 327 | margin-left: 79.48718%; 328 | *margin-left: 79.3808%; 329 | } 330 | .row-fluid .offset9:first-child { 331 | margin-left: 76.92308%; 332 | *margin-left: 76.81669%; 333 | } 334 | .row-fluid .offset8 { 335 | margin-left: 70.94017%; 336 | *margin-left: 70.83379%; 337 | } 338 | .row-fluid .offset8:first-child { 339 | margin-left: 68.37607%; 340 | *margin-left: 68.26969%; 341 | } 342 | .row-fluid .offset7 { 343 | margin-left: 62.39316%; 344 | *margin-left: 62.28678%; 345 | } 346 | .row-fluid .offset7:first-child { 347 | margin-left: 59.82906%; 348 | *margin-left: 59.72268%; 349 | } 350 | .row-fluid .offset6 { 351 | margin-left: 53.84615%; 352 | *margin-left: 53.73977%; 353 | } 354 | .row-fluid .offset6:first-child { 355 | margin-left: 51.28205%; 356 | *margin-left: 51.17567%; 357 | } 358 | .row-fluid .offset5 { 359 | margin-left: 45.29915%; 360 | *margin-left: 45.19276%; 361 | } 362 | .row-fluid .offset5:first-child { 363 | margin-left: 42.73504%; 364 | *margin-left: 42.62866%; 365 | } 366 | .row-fluid .offset4 { 367 | margin-left: 36.75214%; 368 | *margin-left: 36.64575%; 369 | } 370 | .row-fluid .offset4:first-child { 371 | margin-left: 34.18803%; 372 | *margin-left: 34.08165%; 373 | } 374 | .row-fluid .offset3 { 375 | margin-left: 28.20513%; 376 | *margin-left: 28.09875%; 377 | } 378 | .row-fluid .offset3:first-child { 379 | margin-left: 25.64103%; 380 | *margin-left: 25.53464%; 381 | } 382 | .row-fluid .offset2 { 383 | margin-left: 19.65812%; 384 | *margin-left: 19.55174%; 385 | } 386 | .row-fluid .offset2:first-child { 387 | margin-left: 17.09402%; 388 | *margin-left: 16.98763%; 389 | } 390 | .row-fluid .offset1 { 391 | margin-left: 11.11111%; 392 | *margin-left: 11.00473%; 393 | } 394 | .row-fluid .offset1:first-child { 395 | margin-left: 8.54701%; 396 | *margin-left: 8.44063%; 397 | } 398 | 399 | input, 400 | textarea, 401 | .uneditable-input { 402 | margin-left: 0; 403 | } 404 | 405 | .controls-row [class*="span"] + [class*="span"] { 406 | margin-left: 30px; 407 | } 408 | 409 | input.span12, 410 | textarea.span12, 411 | .uneditable-input.span12 { 412 | width: 1156px; 413 | } 414 | 415 | input.span11, 416 | textarea.span11, 417 | .uneditable-input.span11 { 418 | width: 1056px; 419 | } 420 | 421 | input.span10, 422 | textarea.span10, 423 | .uneditable-input.span10 { 424 | width: 956px; 425 | } 426 | 427 | input.span9, 428 | textarea.span9, 429 | .uneditable-input.span9 { 430 | width: 856px; 431 | } 432 | 433 | input.span8, 434 | textarea.span8, 435 | .uneditable-input.span8 { 436 | width: 756px; 437 | } 438 | 439 | input.span7, 440 | textarea.span7, 441 | .uneditable-input.span7 { 442 | width: 656px; 443 | } 444 | 445 | input.span6, 446 | textarea.span6, 447 | .uneditable-input.span6 { 448 | width: 556px; 449 | } 450 | 451 | input.span5, 452 | textarea.span5, 453 | .uneditable-input.span5 { 454 | width: 456px; 455 | } 456 | 457 | input.span4, 458 | textarea.span4, 459 | .uneditable-input.span4 { 460 | width: 356px; 461 | } 462 | 463 | input.span3, 464 | textarea.span3, 465 | .uneditable-input.span3 { 466 | width: 256px; 467 | } 468 | 469 | input.span2, 470 | textarea.span2, 471 | .uneditable-input.span2 { 472 | width: 156px; 473 | } 474 | 475 | input.span1, 476 | textarea.span1, 477 | .uneditable-input.span1 { 478 | width: 56px; 479 | } 480 | 481 | .thumbnails { 482 | margin-left: -30px; 483 | } 484 | 485 | .thumbnails > li { 486 | margin-left: 30px; 487 | } 488 | 489 | .row-fluid .thumbnails { 490 | margin-left: 0; 491 | } 492 | } 493 | @media (min-width: 768px) and (max-width: 979px) { 494 | .row { 495 | margin-left: -20px; 496 | *zoom: 1; 497 | } 498 | .row:before, .row:after { 499 | display: table; 500 | content: ""; 501 | line-height: 0; 502 | } 503 | .row:after { 504 | clear: both; 505 | } 506 | 507 | [class*="span"] { 508 | float: left; 509 | min-height: 1px; 510 | margin-left: 20px; 511 | } 512 | 513 | .container, 514 | .navbar-static-top .container, 515 | .navbar-fixed-top .container, 516 | .navbar-fixed-bottom .container { 517 | width: 724px; 518 | } 519 | 520 | .span12 { 521 | width: 724px; 522 | } 523 | 524 | .span11 { 525 | width: 662px; 526 | } 527 | 528 | .span10 { 529 | width: 600px; 530 | } 531 | 532 | .span9 { 533 | width: 538px; 534 | } 535 | 536 | .span8 { 537 | width: 476px; 538 | } 539 | 540 | .span7 { 541 | width: 414px; 542 | } 543 | 544 | .span6 { 545 | width: 352px; 546 | } 547 | 548 | .span5 { 549 | width: 290px; 550 | } 551 | 552 | .span4 { 553 | width: 228px; 554 | } 555 | 556 | .span3 { 557 | width: 166px; 558 | } 559 | 560 | .span2 { 561 | width: 104px; 562 | } 563 | 564 | .span1 { 565 | width: 42px; 566 | } 567 | 568 | .offset12 { 569 | margin-left: 764px; 570 | } 571 | 572 | .offset11 { 573 | margin-left: 702px; 574 | } 575 | 576 | .offset10 { 577 | margin-left: 640px; 578 | } 579 | 580 | .offset9 { 581 | margin-left: 578px; 582 | } 583 | 584 | .offset8 { 585 | margin-left: 516px; 586 | } 587 | 588 | .offset7 { 589 | margin-left: 454px; 590 | } 591 | 592 | .offset6 { 593 | margin-left: 392px; 594 | } 595 | 596 | .offset5 { 597 | margin-left: 330px; 598 | } 599 | 600 | .offset4 { 601 | margin-left: 268px; 602 | } 603 | 604 | .offset3 { 605 | margin-left: 206px; 606 | } 607 | 608 | .offset2 { 609 | margin-left: 144px; 610 | } 611 | 612 | .offset1 { 613 | margin-left: 82px; 614 | } 615 | 616 | .row-fluid { 617 | width: 100%; 618 | *zoom: 1; 619 | } 620 | .row-fluid:before, .row-fluid:after { 621 | display: table; 622 | content: ""; 623 | line-height: 0; 624 | } 625 | .row-fluid:after { 626 | clear: both; 627 | } 628 | .row-fluid [class*="span"] { 629 | display: block; 630 | width: 100%; 631 | min-height: 32px; 632 | -webkit-box-sizing: border-box; 633 | -moz-box-sizing: border-box; 634 | box-sizing: border-box; 635 | float: left; 636 | margin-left: 2.76243%; 637 | *margin-left: 2.70924%; 638 | } 639 | .row-fluid [class*="span"]:first-child { 640 | margin-left: 0; 641 | } 642 | .row-fluid .controls-row [class*="span"] + [class*="span"] { 643 | margin-left: 2.76243%; 644 | } 645 | .row-fluid .span12 { 646 | width: 100%; 647 | *width: 99.94681%; 648 | } 649 | .row-fluid .span11 { 650 | width: 91.43646%; 651 | *width: 91.38327%; 652 | } 653 | .row-fluid .span10 { 654 | width: 82.87293%; 655 | *width: 82.81974%; 656 | } 657 | .row-fluid .span9 { 658 | width: 74.30939%; 659 | *width: 74.2562%; 660 | } 661 | .row-fluid .span8 { 662 | width: 65.74586%; 663 | *width: 65.69266%; 664 | } 665 | .row-fluid .span7 { 666 | width: 57.18232%; 667 | *width: 57.12913%; 668 | } 669 | .row-fluid .span6 { 670 | width: 48.61878%; 671 | *width: 48.56559%; 672 | } 673 | .row-fluid .span5 { 674 | width: 40.05525%; 675 | *width: 40.00206%; 676 | } 677 | .row-fluid .span4 { 678 | width: 31.49171%; 679 | *width: 31.43852%; 680 | } 681 | .row-fluid .span3 { 682 | width: 22.92818%; 683 | *width: 22.87499%; 684 | } 685 | .row-fluid .span2 { 686 | width: 14.36464%; 687 | *width: 14.31145%; 688 | } 689 | .row-fluid .span1 { 690 | width: 5.8011%; 691 | *width: 5.74791%; 692 | } 693 | .row-fluid .offset12 { 694 | margin-left: 105.52486%; 695 | *margin-left: 105.41848%; 696 | } 697 | .row-fluid .offset12:first-child { 698 | margin-left: 102.76243%; 699 | *margin-left: 102.65605%; 700 | } 701 | .row-fluid .offset11 { 702 | margin-left: 96.96133%; 703 | *margin-left: 96.85494%; 704 | } 705 | .row-fluid .offset11:first-child { 706 | margin-left: 94.1989%; 707 | *margin-left: 94.09251%; 708 | } 709 | .row-fluid .offset10 { 710 | margin-left: 88.39779%; 711 | *margin-left: 88.29141%; 712 | } 713 | .row-fluid .offset10:first-child { 714 | margin-left: 85.63536%; 715 | *margin-left: 85.52898%; 716 | } 717 | .row-fluid .offset9 { 718 | margin-left: 79.83425%; 719 | *margin-left: 79.72787%; 720 | } 721 | .row-fluid .offset9:first-child { 722 | margin-left: 77.07182%; 723 | *margin-left: 76.96544%; 724 | } 725 | .row-fluid .offset8 { 726 | margin-left: 71.27072%; 727 | *margin-left: 71.16434%; 728 | } 729 | .row-fluid .offset8:first-child { 730 | margin-left: 68.50829%; 731 | *margin-left: 68.4019%; 732 | } 733 | .row-fluid .offset7 { 734 | margin-left: 62.70718%; 735 | *margin-left: 62.6008%; 736 | } 737 | .row-fluid .offset7:first-child { 738 | margin-left: 59.94475%; 739 | *margin-left: 59.83837%; 740 | } 741 | .row-fluid .offset6 { 742 | margin-left: 54.14365%; 743 | *margin-left: 54.03726%; 744 | } 745 | .row-fluid .offset6:first-child { 746 | margin-left: 51.38122%; 747 | *margin-left: 51.27483%; 748 | } 749 | .row-fluid .offset5 { 750 | margin-left: 45.58011%; 751 | *margin-left: 45.47373%; 752 | } 753 | .row-fluid .offset5:first-child { 754 | margin-left: 42.81768%; 755 | *margin-left: 42.7113%; 756 | } 757 | .row-fluid .offset4 { 758 | margin-left: 37.01657%; 759 | *margin-left: 36.91019%; 760 | } 761 | .row-fluid .offset4:first-child { 762 | margin-left: 34.25414%; 763 | *margin-left: 34.14776%; 764 | } 765 | .row-fluid .offset3 { 766 | margin-left: 28.45304%; 767 | *margin-left: 28.34666%; 768 | } 769 | .row-fluid .offset3:first-child { 770 | margin-left: 25.69061%; 771 | *margin-left: 25.58422%; 772 | } 773 | .row-fluid .offset2 { 774 | margin-left: 19.8895%; 775 | *margin-left: 19.78312%; 776 | } 777 | .row-fluid .offset2:first-child { 778 | margin-left: 17.12707%; 779 | *margin-left: 17.02069%; 780 | } 781 | .row-fluid .offset1 { 782 | margin-left: 11.32597%; 783 | *margin-left: 11.21958%; 784 | } 785 | .row-fluid .offset1:first-child { 786 | margin-left: 8.56354%; 787 | *margin-left: 8.45715%; 788 | } 789 | 790 | input, 791 | textarea, 792 | .uneditable-input { 793 | margin-left: 0; 794 | } 795 | 796 | .controls-row [class*="span"] + [class*="span"] { 797 | margin-left: 20px; 798 | } 799 | 800 | input.span12, 801 | textarea.span12, 802 | .uneditable-input.span12 { 803 | width: 710px; 804 | } 805 | 806 | input.span11, 807 | textarea.span11, 808 | .uneditable-input.span11 { 809 | width: 648px; 810 | } 811 | 812 | input.span10, 813 | textarea.span10, 814 | .uneditable-input.span10 { 815 | width: 586px; 816 | } 817 | 818 | input.span9, 819 | textarea.span9, 820 | .uneditable-input.span9 { 821 | width: 524px; 822 | } 823 | 824 | input.span8, 825 | textarea.span8, 826 | .uneditable-input.span8 { 827 | width: 462px; 828 | } 829 | 830 | input.span7, 831 | textarea.span7, 832 | .uneditable-input.span7 { 833 | width: 400px; 834 | } 835 | 836 | input.span6, 837 | textarea.span6, 838 | .uneditable-input.span6 { 839 | width: 338px; 840 | } 841 | 842 | input.span5, 843 | textarea.span5, 844 | .uneditable-input.span5 { 845 | width: 276px; 846 | } 847 | 848 | input.span4, 849 | textarea.span4, 850 | .uneditable-input.span4 { 851 | width: 214px; 852 | } 853 | 854 | input.span3, 855 | textarea.span3, 856 | .uneditable-input.span3 { 857 | width: 152px; 858 | } 859 | 860 | input.span2, 861 | textarea.span2, 862 | .uneditable-input.span2 { 863 | width: 90px; 864 | } 865 | 866 | input.span1, 867 | textarea.span1, 868 | .uneditable-input.span1 { 869 | width: 28px; 870 | } 871 | } 872 | @media (max-width: 767px) { 873 | body { 874 | padding-left: 20px; 875 | padding-right: 20px; 876 | } 877 | 878 | .navbar-fixed-top, 879 | .navbar-fixed-bottom, 880 | .navbar-static-top { 881 | margin-left: -20px; 882 | margin-right: -20px; 883 | } 884 | 885 | .container-fluid { 886 | padding: 0; 887 | } 888 | 889 | .dl-horizontal dt { 890 | float: none; 891 | clear: none; 892 | width: auto; 893 | text-align: left; 894 | } 895 | .dl-horizontal dd { 896 | margin-left: 0; 897 | } 898 | 899 | .container { 900 | width: auto; 901 | } 902 | 903 | .row-fluid { 904 | width: 100%; 905 | } 906 | 907 | .row, 908 | .thumbnails { 909 | margin-left: 0; 910 | } 911 | 912 | .thumbnails > li { 913 | float: none; 914 | margin-left: 0; 915 | } 916 | 917 | [class*="span"], 918 | .uneditable-input[class*="span"], 919 | .row-fluid [class*="span"] { 920 | float: none; 921 | display: block; 922 | width: 100%; 923 | margin-left: 0; 924 | -webkit-box-sizing: border-box; 925 | -moz-box-sizing: border-box; 926 | box-sizing: border-box; 927 | } 928 | 929 | .span12, 930 | .row-fluid .span12 { 931 | width: 100%; 932 | -webkit-box-sizing: border-box; 933 | -moz-box-sizing: border-box; 934 | box-sizing: border-box; 935 | } 936 | 937 | .row-fluid [class*="offset"]:first-child { 938 | margin-left: 0; 939 | } 940 | 941 | .input-large, 942 | .input-xlarge, 943 | .input-xxlarge, 944 | input[class*="span"], 945 | select[class*="span"], 946 | textarea[class*="span"], 947 | .uneditable-input { 948 | display: block; 949 | width: 100%; 950 | min-height: 32px; 951 | -webkit-box-sizing: border-box; 952 | -moz-box-sizing: border-box; 953 | box-sizing: border-box; 954 | } 955 | 956 | .input-prepend input, 957 | .input-append input, 958 | .input-prepend input[class*="span"], 959 | .input-append input[class*="span"] { 960 | display: inline-block; 961 | width: auto; 962 | } 963 | 964 | .controls-row [class*="span"] + [class*="span"] { 965 | margin-left: 0; 966 | } 967 | 968 | .modal { 969 | position: fixed; 970 | top: 20px; 971 | left: 20px; 972 | right: 20px; 973 | width: auto; 974 | margin: 0; 975 | } 976 | .modal.fade { 977 | top: -100px; 978 | } 979 | .modal.fade.in { 980 | top: 20px; 981 | } 982 | } 983 | @media (max-width: 480px) { 984 | .nav-collapse { 985 | -webkit-transform: translate3d(0, 0, 0); 986 | } 987 | 988 | .page-header h1 small { 989 | display: block; 990 | line-height: 22px; 991 | } 992 | 993 | input[type="checkbox"], 994 | input[type="radio"] { 995 | border: 1px solid #ccc; 996 | } 997 | 998 | .form-horizontal .control-label { 999 | float: none; 1000 | width: auto; 1001 | padding-top: 0; 1002 | text-align: left; 1003 | } 1004 | .form-horizontal .controls { 1005 | margin-left: 0; 1006 | } 1007 | .form-horizontal .control-list { 1008 | padding-top: 0; 1009 | } 1010 | .form-horizontal .form-actions { 1011 | padding-left: 10px; 1012 | padding-right: 10px; 1013 | } 1014 | 1015 | .media .pull-left, 1016 | .media .pull-right { 1017 | float: none; 1018 | display: block; 1019 | margin-bottom: 10px; 1020 | } 1021 | 1022 | .media-object { 1023 | margin-right: 0; 1024 | margin-left: 0; 1025 | } 1026 | 1027 | .modal { 1028 | top: 10px; 1029 | left: 10px; 1030 | right: 10px; 1031 | } 1032 | 1033 | .modal-header .close { 1034 | padding: 10px; 1035 | margin: -10px; 1036 | } 1037 | 1038 | .carousel-caption { 1039 | position: static; 1040 | } 1041 | } 1042 | @media (max-width: 979px) { 1043 | body { 1044 | padding-top: 0; 1045 | } 1046 | 1047 | .navbar-fixed-top, 1048 | .navbar-fixed-bottom { 1049 | position: static; 1050 | } 1051 | 1052 | .navbar-fixed-top { 1053 | margin-bottom: 22px; 1054 | } 1055 | 1056 | .navbar-fixed-bottom { 1057 | margin-top: 22px; 1058 | } 1059 | 1060 | .navbar-fixed-top .navbar-inner, 1061 | .navbar-fixed-bottom .navbar-inner { 1062 | padding: 5px; 1063 | } 1064 | 1065 | .navbar .container { 1066 | width: auto; 1067 | padding: 0; 1068 | } 1069 | 1070 | .navbar .brand { 1071 | padding-left: 10px; 1072 | padding-right: 10px; 1073 | margin: 0 0 0 -5px; 1074 | } 1075 | 1076 | .nav-collapse { 1077 | clear: both; 1078 | } 1079 | 1080 | .nav-collapse .nav { 1081 | float: none; 1082 | margin: 0 0 11px; 1083 | } 1084 | 1085 | .nav-collapse .nav > li { 1086 | float: none; 1087 | } 1088 | 1089 | .nav-collapse .nav > li > a { 1090 | margin-bottom: 2px; 1091 | } 1092 | 1093 | .nav-collapse .nav > .divider-vertical { 1094 | display: none; 1095 | } 1096 | 1097 | .nav-collapse .nav .nav-header { 1098 | color: #777777; 1099 | text-shadow: none; 1100 | } 1101 | 1102 | .nav-collapse .nav > li > a, 1103 | .nav-collapse .dropdown-menu a { 1104 | padding: 9px 15px; 1105 | font-weight: bold; 1106 | color: #777777; 1107 | -webkit-border-radius: 3px; 1108 | -moz-border-radius: 3px; 1109 | border-radius: 3px; 1110 | } 1111 | 1112 | .nav-collapse .btn { 1113 | padding: 4px 10px 4px; 1114 | font-weight: normal; 1115 | -webkit-border-radius: 4px; 1116 | -moz-border-radius: 4px; 1117 | border-radius: 4px; 1118 | } 1119 | 1120 | .nav-collapse .dropdown-menu li + li a { 1121 | margin-bottom: 2px; 1122 | } 1123 | 1124 | .nav-collapse .nav > li > a:hover, 1125 | .nav-collapse .dropdown-menu a:hover { 1126 | background-color: #f2f2f2; 1127 | } 1128 | 1129 | .navbar-inverse .nav-collapse .nav > li > a, 1130 | .navbar-inverse .nav-collapse .dropdown-menu a { 1131 | color: #999999; 1132 | } 1133 | 1134 | .navbar-inverse .nav-collapse .nav > li > a:hover, 1135 | .navbar-inverse .nav-collapse .dropdown-menu a:hover { 1136 | background-color: #111111; 1137 | } 1138 | 1139 | .nav-collapse.in .btn-group { 1140 | margin-top: 5px; 1141 | padding: 0; 1142 | } 1143 | 1144 | .nav-collapse .dropdown-menu { 1145 | position: static; 1146 | top: auto; 1147 | left: auto; 1148 | float: none; 1149 | display: none; 1150 | max-width: none; 1151 | margin: 0 15px; 1152 | padding: 0; 1153 | background-color: transparent; 1154 | border: none; 1155 | -webkit-border-radius: 0; 1156 | -moz-border-radius: 0; 1157 | border-radius: 0; 1158 | -webkit-box-shadow: none; 1159 | -moz-box-shadow: none; 1160 | box-shadow: none; 1161 | } 1162 | 1163 | .nav-collapse .open > .dropdown-menu { 1164 | display: block; 1165 | } 1166 | 1167 | .nav-collapse .dropdown-menu:before, 1168 | .nav-collapse .dropdown-menu:after { 1169 | display: none; 1170 | } 1171 | 1172 | .nav-collapse .dropdown-menu .divider { 1173 | display: none; 1174 | } 1175 | 1176 | .nav-collapse .nav > li > .dropdown-menu:before, .nav-collapse .nav > li > .dropdown-menu:after { 1177 | display: none; 1178 | } 1179 | 1180 | .nav-collapse .navbar-form, 1181 | .nav-collapse .navbar-search { 1182 | float: none; 1183 | padding: 11px 15px; 1184 | margin: 11px 0; 1185 | border-top: 1px solid #f2f2f2; 1186 | border-bottom: 1px solid #f2f2f2; 1187 | -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.1); 1188 | -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.1); 1189 | box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.1); 1190 | } 1191 | 1192 | .navbar-inverse .nav-collapse .navbar-form, 1193 | .navbar-inverse .nav-collapse .navbar-search { 1194 | border-top-color: #111111; 1195 | border-bottom-color: #111111; 1196 | } 1197 | 1198 | .navbar .nav-collapse .nav.pull-right { 1199 | float: none; 1200 | margin-left: 0; 1201 | } 1202 | 1203 | .nav-collapse, 1204 | .nav-collapse.collapse { 1205 | overflow: hidden; 1206 | height: 0; 1207 | } 1208 | 1209 | .navbar .btn-navbar { 1210 | display: block; 1211 | } 1212 | 1213 | .navbar-static .navbar-inner { 1214 | padding-left: 10px; 1215 | padding-right: 10px; 1216 | } 1217 | } 1218 | @media (min-width: 980px) { 1219 | .nav-collapse.collapse { 1220 | height: auto !important; 1221 | overflow: visible !important; 1222 | } 1223 | } 1224 | 1225 | 1226 | 1227 | 1228 | 1229 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | GNU GENERAL PUBLIC LICENSE 2 | Version 3, 29 June 2007 3 | 4 | Copyright (C) 2007 Free Software Foundation, Inc. 5 | Everyone is permitted to copy and distribute verbatim copies 6 | of this license document, but changing it is not allowed. 7 | 8 | Preamble 9 | 10 | The GNU General Public License is a free, copyleft license for 11 | software and other kinds of works. 12 | 13 | The licenses for most software and other practical works are designed 14 | to take away your freedom to share and change the works. By contrast, 15 | the GNU General Public License is intended to guarantee your freedom to 16 | share and change all versions of a program--to make sure it remains free 17 | software for all its users. We, the Free Software Foundation, use the 18 | GNU General Public License for most of our software; it applies also to 19 | any other work released this way by its authors. You can apply it to 20 | your programs, too. 21 | 22 | When we speak of free software, we are referring to freedom, not 23 | price. Our General Public Licenses are designed to make sure that you 24 | have the freedom to distribute copies of free software (and charge for 25 | them if you wish), that you receive source code or can get it if you 26 | want it, that you can change the software or use pieces of it in new 27 | free programs, and that you know you can do these things. 28 | 29 | To protect your rights, we need to prevent others from denying you 30 | these rights or asking you to surrender the rights. Therefore, you have 31 | certain responsibilities if you distribute copies of the software, or if 32 | you modify it: responsibilities to respect the freedom of others. 33 | 34 | For example, if you distribute copies of such a program, whether 35 | gratis or for a fee, you must pass on to the recipients the same 36 | freedoms that you received. You must make sure that they, too, receive 37 | or can get the source code. And you must show them these terms so they 38 | know their rights. 39 | 40 | Developers that use the GNU GPL protect your rights with two steps: 41 | (1) assert copyright on the software, and (2) offer you this License 42 | giving you legal permission to copy, distribute and/or modify it. 43 | 44 | For the developers' and authors' protection, the GPL clearly explains 45 | that there is no warranty for this free software. For both users' and 46 | authors' sake, the GPL requires that modified versions be marked as 47 | changed, so that their problems will not be attributed erroneously to 48 | authors of previous versions. 49 | 50 | Some devices are designed to deny users access to install or run 51 | modified versions of the software inside them, although the manufacturer 52 | can do so. This is fundamentally incompatible with the aim of 53 | protecting users' freedom to change the software. The systematic 54 | pattern of such abuse occurs in the area of products for individuals to 55 | use, which is precisely where it is most unacceptable. Therefore, we 56 | have designed this version of the GPL to prohibit the practice for those 57 | products. If such problems arise substantially in other domains, we 58 | stand ready to extend this provision to those domains in future versions 59 | of the GPL, as needed to protect the freedom of users. 60 | 61 | Finally, every program is threatened constantly by software patents. 62 | States should not allow patents to restrict development and use of 63 | software on general-purpose computers, but in those that do, we wish to 64 | avoid the special danger that patents applied to a free program could 65 | make it effectively proprietary. To prevent this, the GPL assures that 66 | patents cannot be used to render the program non-free. 67 | 68 | The precise terms and conditions for copying, distribution and 69 | modification follow. 70 | 71 | TERMS AND CONDITIONS 72 | 73 | 0. Definitions. 74 | 75 | "This License" refers to version 3 of the GNU General Public License. 76 | 77 | "Copyright" also means copyright-like laws that apply to other kinds of 78 | works, such as semiconductor masks. 79 | 80 | "The Program" refers to any copyrightable work licensed under this 81 | License. Each licensee is addressed as "you". "Licensees" and 82 | "recipients" may be individuals or organizations. 83 | 84 | To "modify" a work means to copy from or adapt all or part of the work 85 | in a fashion requiring copyright permission, other than the making of an 86 | exact copy. The resulting work is called a "modified version" of the 87 | earlier work or a work "based on" the earlier work. 88 | 89 | A "covered work" means either the unmodified Program or a work based 90 | on the Program. 91 | 92 | To "propagate" a work means to do anything with it that, without 93 | permission, would make you directly or secondarily liable for 94 | infringement under applicable copyright law, except executing it on a 95 | computer or modifying a private copy. Propagation includes copying, 96 | distribution (with or without modification), making available to the 97 | public, and in some countries other activities as well. 98 | 99 | To "convey" a work means any kind of propagation that enables other 100 | parties to make or receive copies. Mere interaction with a user through 101 | a computer network, with no transfer of a copy, is not conveying. 102 | 103 | An interactive user interface displays "Appropriate Legal Notices" 104 | to the extent that it includes a convenient and prominently visible 105 | feature that (1) displays an appropriate copyright notice, and (2) 106 | tells the user that there is no warranty for the work (except to the 107 | extent that warranties are provided), that licensees may convey the 108 | work under this License, and how to view a copy of this License. If 109 | the interface presents a list of user commands or options, such as a 110 | menu, a prominent item in the list meets this criterion. 111 | 112 | 1. Source Code. 113 | 114 | The "source code" for a work means the preferred form of the work 115 | for making modifications to it. "Object code" means any non-source 116 | form of a work. 117 | 118 | A "Standard Interface" means an interface that either is an official 119 | standard defined by a recognized standards body, or, in the case of 120 | interfaces specified for a particular programming language, one that 121 | is widely used among developers working in that language. 122 | 123 | The "System Libraries" of an executable work include anything, other 124 | than the work as a whole, that (a) is included in the normal form of 125 | packaging a Major Component, but which is not part of that Major 126 | Component, and (b) serves only to enable use of the work with that 127 | Major Component, or to implement a Standard Interface for which an 128 | implementation is available to the public in source code form. A 129 | "Major Component", in this context, means a major essential component 130 | (kernel, window system, and so on) of the specific operating system 131 | (if any) on which the executable work runs, or a compiler used to 132 | produce the work, or an object code interpreter used to run it. 133 | 134 | The "Corresponding Source" for a work in object code form means all 135 | the source code needed to generate, install, and (for an executable 136 | work) run the object code and to modify the work, including scripts to 137 | control those activities. However, it does not include the work's 138 | System Libraries, or general-purpose tools or generally available free 139 | programs which are used unmodified in performing those activities but 140 | which are not part of the work. For example, Corresponding Source 141 | includes interface definition files associated with source files for 142 | the work, and the source code for shared libraries and dynamically 143 | linked subprograms that the work is specifically designed to require, 144 | such as by intimate data communication or control flow between those 145 | subprograms and other parts of the work. 146 | 147 | The Corresponding Source need not include anything that users 148 | can regenerate automatically from other parts of the Corresponding 149 | Source. 150 | 151 | The Corresponding Source for a work in source code form is that 152 | same work. 153 | 154 | 2. Basic Permissions. 155 | 156 | All rights granted under this License are granted for the term of 157 | copyright on the Program, and are irrevocable provided the stated 158 | conditions are met. This License explicitly affirms your unlimited 159 | permission to run the unmodified Program. The output from running a 160 | covered work is covered by this License only if the output, given its 161 | content, constitutes a covered work. This License acknowledges your 162 | rights of fair use or other equivalent, as provided by copyright law. 163 | 164 | You may make, run and propagate covered works that you do not 165 | convey, without conditions so long as your license otherwise remains 166 | in force. You may convey covered works to others for the sole purpose 167 | of having them make modifications exclusively for you, or provide you 168 | with facilities for running those works, provided that you comply with 169 | the terms of this License in conveying all material for which you do 170 | not control copyright. Those thus making or running the covered works 171 | for you must do so exclusively on your behalf, under your direction 172 | and control, on terms that prohibit them from making any copies of 173 | your copyrighted material outside their relationship with you. 174 | 175 | Conveying under any other circumstances is permitted solely under 176 | the conditions stated below. Sublicensing is not allowed; section 10 177 | makes it unnecessary. 178 | 179 | 3. Protecting Users' Legal Rights From Anti-Circumvention Law. 180 | 181 | No covered work shall be deemed part of an effective technological 182 | measure under any applicable law fulfilling obligations under article 183 | 11 of the WIPO copyright treaty adopted on 20 December 1996, or 184 | similar laws prohibiting or restricting circumvention of such 185 | measures. 186 | 187 | When you convey a covered work, you waive any legal power to forbid 188 | circumvention of technological measures to the extent such circumvention 189 | is effected by exercising rights under this License with respect to 190 | the covered work, and you disclaim any intention to limit operation or 191 | modification of the work as a means of enforcing, against the work's 192 | users, your or third parties' legal rights to forbid circumvention of 193 | technological measures. 194 | 195 | 4. Conveying Verbatim Copies. 196 | 197 | You may convey verbatim copies of the Program's source code as you 198 | receive it, in any medium, provided that you conspicuously and 199 | appropriately publish on each copy an appropriate copyright notice; 200 | keep intact all notices stating that this License and any 201 | non-permissive terms added in accord with section 7 apply to the code; 202 | keep intact all notices of the absence of any warranty; and give all 203 | recipients a copy of this License along with the Program. 204 | 205 | You may charge any price or no price for each copy that you convey, 206 | and you may offer support or warranty protection for a fee. 207 | 208 | 5. Conveying Modified Source Versions. 209 | 210 | You may convey a work based on the Program, or the modifications to 211 | produce it from the Program, in the form of source code under the 212 | terms of section 4, provided that you also meet all of these conditions: 213 | 214 | a) The work must carry prominent notices stating that you modified 215 | it, and giving a relevant date. 216 | 217 | b) The work must carry prominent notices stating that it is 218 | released under this License and any conditions added under section 219 | 7. This requirement modifies the requirement in section 4 to 220 | "keep intact all notices". 221 | 222 | c) You must license the entire work, as a whole, under this 223 | License to anyone who comes into possession of a copy. This 224 | License will therefore apply, along with any applicable section 7 225 | additional terms, to the whole of the work, and all its parts, 226 | regardless of how they are packaged. This License gives no 227 | permission to license the work in any other way, but it does not 228 | invalidate such permission if you have separately received it. 229 | 230 | d) If the work has interactive user interfaces, each must display 231 | Appropriate Legal Notices; however, if the Program has interactive 232 | interfaces that do not display Appropriate Legal Notices, your 233 | work need not make them do so. 234 | 235 | A compilation of a covered work with other separate and independent 236 | works, which are not by their nature extensions of the covered work, 237 | and which are not combined with it such as to form a larger program, 238 | in or on a volume of a storage or distribution medium, is called an 239 | "aggregate" if the compilation and its resulting copyright are not 240 | used to limit the access or legal rights of the compilation's users 241 | beyond what the individual works permit. Inclusion of a covered work 242 | in an aggregate does not cause this License to apply to the other 243 | parts of the aggregate. 244 | 245 | 6. Conveying Non-Source Forms. 246 | 247 | You may convey a covered work in object code form under the terms 248 | of sections 4 and 5, provided that you also convey the 249 | machine-readable Corresponding Source under the terms of this License, 250 | in one of these ways: 251 | 252 | a) Convey the object code in, or embodied in, a physical product 253 | (including a physical distribution medium), accompanied by the 254 | Corresponding Source fixed on a durable physical medium 255 | customarily used for software interchange. 256 | 257 | b) Convey the object code in, or embodied in, a physical product 258 | (including a physical distribution medium), accompanied by a 259 | written offer, valid for at least three years and valid for as 260 | long as you offer spare parts or customer support for that product 261 | model, to give anyone who possesses the object code either (1) a 262 | copy of the Corresponding Source for all the software in the 263 | product that is covered by this License, on a durable physical 264 | medium customarily used for software interchange, for a price no 265 | more than your reasonable cost of physically performing this 266 | conveying of source, or (2) access to copy the 267 | Corresponding Source from a network server at no charge. 268 | 269 | c) Convey individual copies of the object code with a copy of the 270 | written offer to provide the Corresponding Source. This 271 | alternative is allowed only occasionally and noncommercially, and 272 | only if you received the object code with such an offer, in accord 273 | with subsection 6b. 274 | 275 | d) Convey the object code by offering access from a designated 276 | place (gratis or for a charge), and offer equivalent access to the 277 | Corresponding Source in the same way through the same place at no 278 | further charge. You need not require recipients to copy the 279 | Corresponding Source along with the object code. If the place to 280 | copy the object code is a network server, the Corresponding Source 281 | may be on a different server (operated by you or a third party) 282 | that supports equivalent copying facilities, provided you maintain 283 | clear directions next to the object code saying where to find the 284 | Corresponding Source. Regardless of what server hosts the 285 | Corresponding Source, you remain obligated to ensure that it is 286 | available for as long as needed to satisfy these requirements. 287 | 288 | e) Convey the object code using peer-to-peer transmission, provided 289 | you inform other peers where the object code and Corresponding 290 | Source of the work are being offered to the general public at no 291 | charge under subsection 6d. 292 | 293 | A separable portion of the object code, whose source code is excluded 294 | from the Corresponding Source as a System Library, need not be 295 | included in conveying the object code work. 296 | 297 | A "User Product" is either (1) a "consumer product", which means any 298 | tangible personal property which is normally used for personal, family, 299 | or household purposes, or (2) anything designed or sold for incorporation 300 | into a dwelling. In determining whether a product is a consumer product, 301 | doubtful cases shall be resolved in favor of coverage. For a particular 302 | product received by a particular user, "normally used" refers to a 303 | typical or common use of that class of product, regardless of the status 304 | of the particular user or of the way in which the particular user 305 | actually uses, or expects or is expected to use, the product. A product 306 | is a consumer product regardless of whether the product has substantial 307 | commercial, industrial or non-consumer uses, unless such uses represent 308 | the only significant mode of use of the product. 309 | 310 | "Installation Information" for a User Product means any methods, 311 | procedures, authorization keys, or other information required to install 312 | and execute modified versions of a covered work in that User Product from 313 | a modified version of its Corresponding Source. The information must 314 | suffice to ensure that the continued functioning of the modified object 315 | code is in no case prevented or interfered with solely because 316 | modification has been made. 317 | 318 | If you convey an object code work under this section in, or with, or 319 | specifically for use in, a User Product, and the conveying occurs as 320 | part of a transaction in which the right of possession and use of the 321 | User Product is transferred to the recipient in perpetuity or for a 322 | fixed term (regardless of how the transaction is characterized), the 323 | Corresponding Source conveyed under this section must be accompanied 324 | by the Installation Information. But this requirement does not apply 325 | if neither you nor any third party retains the ability to install 326 | modified object code on the User Product (for example, the work has 327 | been installed in ROM). 328 | 329 | The requirement to provide Installation Information does not include a 330 | requirement to continue to provide support service, warranty, or updates 331 | for a work that has been modified or installed by the recipient, or for 332 | the User Product in which it has been modified or installed. Access to a 333 | network may be denied when the modification itself materially and 334 | adversely affects the operation of the network or violates the rules and 335 | protocols for communication across the network. 336 | 337 | Corresponding Source conveyed, and Installation Information provided, 338 | in accord with this section must be in a format that is publicly 339 | documented (and with an implementation available to the public in 340 | source code form), and must require no special password or key for 341 | unpacking, reading or copying. 342 | 343 | 7. Additional Terms. 344 | 345 | "Additional permissions" are terms that supplement the terms of this 346 | License by making exceptions from one or more of its conditions. 347 | Additional permissions that are applicable to the entire Program shall 348 | be treated as though they were included in this License, to the extent 349 | that they are valid under applicable law. If additional permissions 350 | apply only to part of the Program, that part may be used separately 351 | under those permissions, but the entire Program remains governed by 352 | this License without regard to the additional permissions. 353 | 354 | When you convey a copy of a covered work, you may at your option 355 | remove any additional permissions from that copy, or from any part of 356 | it. (Additional permissions may be written to require their own 357 | removal in certain cases when you modify the work.) You may place 358 | additional permissions on material, added by you to a covered work, 359 | for which you have or can give appropriate copyright permission. 360 | 361 | Notwithstanding any other provision of this License, for material you 362 | add to a covered work, you may (if authorized by the copyright holders of 363 | that material) supplement the terms of this License with terms: 364 | 365 | a) Disclaiming warranty or limiting liability differently from the 366 | terms of sections 15 and 16 of this License; or 367 | 368 | b) Requiring preservation of specified reasonable legal notices or 369 | author attributions in that material or in the Appropriate Legal 370 | Notices displayed by works containing it; or 371 | 372 | c) Prohibiting misrepresentation of the origin of that material, or 373 | requiring that modified versions of such material be marked in 374 | reasonable ways as different from the original version; or 375 | 376 | d) Limiting the use for publicity purposes of names of licensors or 377 | authors of the material; or 378 | 379 | e) Declining to grant rights under trademark law for use of some 380 | trade names, trademarks, or service marks; or 381 | 382 | f) Requiring indemnification of licensors and authors of that 383 | material by anyone who conveys the material (or modified versions of 384 | it) with contractual assumptions of liability to the recipient, for 385 | any liability that these contractual assumptions directly impose on 386 | those licensors and authors. 387 | 388 | All other non-permissive additional terms are considered "further 389 | restrictions" within the meaning of section 10. If the Program as you 390 | received it, or any part of it, contains a notice stating that it is 391 | governed by this License along with a term that is a further 392 | restriction, you may remove that term. If a license document contains 393 | a further restriction but permits relicensing or conveying under this 394 | License, you may add to a covered work material governed by the terms 395 | of that license document, provided that the further restriction does 396 | not survive such relicensing or conveying. 397 | 398 | If you add terms to a covered work in accord with this section, you 399 | must place, in the relevant source files, a statement of the 400 | additional terms that apply to those files, or a notice indicating 401 | where to find the applicable terms. 402 | 403 | Additional terms, permissive or non-permissive, may be stated in the 404 | form of a separately written license, or stated as exceptions; 405 | the above requirements apply either way. 406 | 407 | 8. Termination. 408 | 409 | You may not propagate or modify a covered work except as expressly 410 | provided under this License. Any attempt otherwise to propagate or 411 | modify it is void, and will automatically terminate your rights under 412 | this License (including any patent licenses granted under the third 413 | paragraph of section 11). 414 | 415 | However, if you cease all violation of this License, then your 416 | license from a particular copyright holder is reinstated (a) 417 | provisionally, unless and until the copyright holder explicitly and 418 | finally terminates your license, and (b) permanently, if the copyright 419 | holder fails to notify you of the violation by some reasonable means 420 | prior to 60 days after the cessation. 421 | 422 | Moreover, your license from a particular copyright holder is 423 | reinstated permanently if the copyright holder notifies you of the 424 | violation by some reasonable means, this is the first time you have 425 | received notice of violation of this License (for any work) from that 426 | copyright holder, and you cure the violation prior to 30 days after 427 | your receipt of the notice. 428 | 429 | Termination of your rights under this section does not terminate the 430 | licenses of parties who have received copies or rights from you under 431 | this License. If your rights have been terminated and not permanently 432 | reinstated, you do not qualify to receive new licenses for the same 433 | material under section 10. 434 | 435 | 9. Acceptance Not Required for Having Copies. 436 | 437 | You are not required to accept this License in order to receive or 438 | run a copy of the Program. Ancillary propagation of a covered work 439 | occurring solely as a consequence of using peer-to-peer transmission 440 | to receive a copy likewise does not require acceptance. However, 441 | nothing other than this License grants you permission to propagate or 442 | modify any covered work. These actions infringe copyright if you do 443 | not accept this License. Therefore, by modifying or propagating a 444 | covered work, you indicate your acceptance of this License to do so. 445 | 446 | 10. Automatic Licensing of Downstream Recipients. 447 | 448 | Each time you convey a covered work, the recipient automatically 449 | receives a license from the original licensors, to run, modify and 450 | propagate that work, subject to this License. You are not responsible 451 | for enforcing compliance by third parties with this License. 452 | 453 | An "entity transaction" is a transaction transferring control of an 454 | organization, or substantially all assets of one, or subdividing an 455 | organization, or merging organizations. If propagation of a covered 456 | work results from an entity transaction, each party to that 457 | transaction who receives a copy of the work also receives whatever 458 | licenses to the work the party's predecessor in interest had or could 459 | give under the previous paragraph, plus a right to possession of the 460 | Corresponding Source of the work from the predecessor in interest, if 461 | the predecessor has it or can get it with reasonable efforts. 462 | 463 | You may not impose any further restrictions on the exercise of the 464 | rights granted or affirmed under this License. For example, you may 465 | not impose a license fee, royalty, or other charge for exercise of 466 | rights granted under this License, and you may not initiate litigation 467 | (including a cross-claim or counterclaim in a lawsuit) alleging that 468 | any patent claim is infringed by making, using, selling, offering for 469 | sale, or importing the Program or any portion of it. 470 | 471 | 11. Patents. 472 | 473 | A "contributor" is a copyright holder who authorizes use under this 474 | License of the Program or a work on which the Program is based. The 475 | work thus licensed is called the contributor's "contributor version". 476 | 477 | A contributor's "essential patent claims" are all patent claims 478 | owned or controlled by the contributor, whether already acquired or 479 | hereafter acquired, that would be infringed by some manner, permitted 480 | by this License, of making, using, or selling its contributor version, 481 | but do not include claims that would be infringed only as a 482 | consequence of further modification of the contributor version. For 483 | purposes of this definition, "control" includes the right to grant 484 | patent sublicenses in a manner consistent with the requirements of 485 | this License. 486 | 487 | Each contributor grants you a non-exclusive, worldwide, royalty-free 488 | patent license under the contributor's essential patent claims, to 489 | make, use, sell, offer for sale, import and otherwise run, modify and 490 | propagate the contents of its contributor version. 491 | 492 | In the following three paragraphs, a "patent license" is any express 493 | agreement or commitment, however denominated, not to enforce a patent 494 | (such as an express permission to practice a patent or covenant not to 495 | sue for patent infringement). To "grant" such a patent license to a 496 | party means to make such an agreement or commitment not to enforce a 497 | patent against the party. 498 | 499 | If you convey a covered work, knowingly relying on a patent license, 500 | and the Corresponding Source of the work is not available for anyone 501 | to copy, free of charge and under the terms of this License, through a 502 | publicly available network server or other readily accessible means, 503 | then you must either (1) cause the Corresponding Source to be so 504 | available, or (2) arrange to deprive yourself of the benefit of the 505 | patent license for this particular work, or (3) arrange, in a manner 506 | consistent with the requirements of this License, to extend the patent 507 | license to downstream recipients. "Knowingly relying" means you have 508 | actual knowledge that, but for the patent license, your conveying the 509 | covered work in a country, or your recipient's use of the covered work 510 | in a country, would infringe one or more identifiable patents in that 511 | country that you have reason to believe are valid. 512 | 513 | If, pursuant to or in connection with a single transaction or 514 | arrangement, you convey, or propagate by procuring conveyance of, a 515 | covered work, and grant a patent license to some of the parties 516 | receiving the covered work authorizing them to use, propagate, modify 517 | or convey a specific copy of the covered work, then the patent license 518 | you grant is automatically extended to all recipients of the covered 519 | work and works based on it. 520 | 521 | A patent license is "discriminatory" if it does not include within 522 | the scope of its coverage, prohibits the exercise of, or is 523 | conditioned on the non-exercise of one or more of the rights that are 524 | specifically granted under this License. You may not convey a covered 525 | work if you are a party to an arrangement with a third party that is 526 | in the business of distributing software, under which you make payment 527 | to the third party based on the extent of your activity of conveying 528 | the work, and under which the third party grants, to any of the 529 | parties who would receive the covered work from you, a discriminatory 530 | patent license (a) in connection with copies of the covered work 531 | conveyed by you (or copies made from those copies), or (b) primarily 532 | for and in connection with specific products or compilations that 533 | contain the covered work, unless you entered into that arrangement, 534 | or that patent license was granted, prior to 28 March 2007. 535 | 536 | Nothing in this License shall be construed as excluding or limiting 537 | any implied license or other defenses to infringement that may 538 | otherwise be available to you under applicable patent law. 539 | 540 | 12. No Surrender of Others' Freedom. 541 | 542 | If conditions are imposed on you (whether by court order, agreement or 543 | otherwise) that contradict the conditions of this License, they do not 544 | excuse you from the conditions of this License. If you cannot convey a 545 | covered work so as to satisfy simultaneously your obligations under this 546 | License and any other pertinent obligations, then as a consequence you may 547 | not convey it at all. For example, if you agree to terms that obligate you 548 | to collect a royalty for further conveying from those to whom you convey 549 | the Program, the only way you could satisfy both those terms and this 550 | License would be to refrain entirely from conveying the Program. 551 | 552 | 13. Use with the GNU Affero General Public License. 553 | 554 | Notwithstanding any other provision of this License, you have 555 | permission to link or combine any covered work with a work licensed 556 | under version 3 of the GNU Affero General Public License into a single 557 | combined work, and to convey the resulting work. The terms of this 558 | License will continue to apply to the part which is the covered work, 559 | but the special requirements of the GNU Affero General Public License, 560 | section 13, concerning interaction through a network will apply to the 561 | combination as such. 562 | 563 | 14. Revised Versions of this License. 564 | 565 | The Free Software Foundation may publish revised and/or new versions of 566 | the GNU General Public License from time to time. Such new versions will 567 | be similar in spirit to the present version, but may differ in detail to 568 | address new problems or concerns. 569 | 570 | Each version is given a distinguishing version number. If the 571 | Program specifies that a certain numbered version of the GNU General 572 | Public License "or any later version" applies to it, you have the 573 | option of following the terms and conditions either of that numbered 574 | version or of any later version published by the Free Software 575 | Foundation. If the Program does not specify a version number of the 576 | GNU General Public License, you may choose any version ever published 577 | by the Free Software Foundation. 578 | 579 | If the Program specifies that a proxy can decide which future 580 | versions of the GNU General Public License can be used, that proxy's 581 | public statement of acceptance of a version permanently authorizes you 582 | to choose that version for the Program. 583 | 584 | Later license versions may give you additional or different 585 | permissions. However, no additional obligations are imposed on any 586 | author or copyright holder as a result of your choosing to follow a 587 | later version. 588 | 589 | 15. Disclaimer of Warranty. 590 | 591 | THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY 592 | APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT 593 | HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY 594 | OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, 595 | THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 596 | PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM 597 | IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF 598 | ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 599 | 600 | 16. Limitation of Liability. 601 | 602 | IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING 603 | WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS 604 | THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY 605 | GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE 606 | USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF 607 | DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD 608 | PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), 609 | EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF 610 | SUCH DAMAGES. 611 | 612 | 17. Interpretation of Sections 15 and 16. 613 | 614 | If the disclaimer of warranty and limitation of liability provided 615 | above cannot be given local legal effect according to their terms, 616 | reviewing courts shall apply local law that most closely approximates 617 | an absolute waiver of all civil liability in connection with the 618 | Program, unless a warranty or assumption of liability accompanies a 619 | copy of the Program in return for a fee. 620 | 621 | END OF TERMS AND CONDITIONS 622 | 623 | How to Apply These Terms to Your New Programs 624 | 625 | If you develop a new program, and you want it to be of the greatest 626 | possible use to the public, the best way to achieve this is to make it 627 | free software which everyone can redistribute and change under these terms. 628 | 629 | To do so, attach the following notices to the program. It is safest 630 | to attach them to the start of each source file to most effectively 631 | state the exclusion of warranty; and each file should have at least 632 | the "copyright" line and a pointer to where the full notice is found. 633 | 634 | {one line to give the program's name and a brief idea of what it does.} 635 | Copyright (C) {year} {name of author} 636 | 637 | This program is free software: you can redistribute it and/or modify 638 | it under the terms of the GNU General Public License as published by 639 | the Free Software Foundation, either version 3 of the License, or 640 | (at your option) any later version. 641 | 642 | This program is distributed in the hope that it will be useful, 643 | but WITHOUT ANY WARRANTY; without even the implied warranty of 644 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 645 | GNU General Public License for more details. 646 | 647 | You should have received a copy of the GNU General Public License 648 | along with this program. If not, see . 649 | 650 | Also add information on how to contact you by electronic and paper mail. 651 | 652 | If the program does terminal interaction, make it output a short 653 | notice like this when it starts in an interactive mode: 654 | 655 | {project} Copyright (C) {year} {fullname} 656 | This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. 657 | This is free software, and you are welcome to redistribute it 658 | under certain conditions; type `show c' for details. 659 | 660 | The hypothetical commands `show w' and `show c' should show the appropriate 661 | parts of the General Public License. Of course, your program's commands 662 | might be different; for a GUI interface, you would use an "about box". 663 | 664 | You should also get your employer (if you work as a programmer) or school, 665 | if any, to sign a "copyright disclaimer" for the program, if necessary. 666 | For more information on this, and how to apply and follow the GNU GPL, see 667 | . 668 | 669 | The GNU General Public License does not permit incorporating your program 670 | into proprietary programs. If your program is a subroutine library, you 671 | may consider it more useful to permit linking proprietary applications with 672 | the library. If this is what you want to do, use the GNU Lesser General 673 | Public License instead of this License. But first, please read 674 | . 675 | 676 | -------------------------------------------------------------------------------- /client/css/main.css: -------------------------------------------------------------------------------- 1 | /* General ------------------------------------------------------------------------------------------------------------*/ 2 | body { 3 | background-color: #fff; 4 | } 5 | 6 | a:hover { 7 | text-decoration: none; 8 | } 9 | 10 | blockquote { 11 | background: whitesmoke url("../images/quote.png") no-repeat 20px 25px; 12 | border: 1px solid #e8e8e8; 13 | padding: 20px 20px 20px 60px; 14 | color: #6f7579; 15 | } 16 | blockquote p { 17 | font-size: 13px; 18 | font-weight: normal; 19 | line-height: 22px; 20 | } 21 | 22 | .bm10 { 23 | margin-bottom: 10px; 24 | } 25 | 26 | .bm20 { 27 | margin-bottom: 20px; 28 | } 29 | 30 | .bm30 { 31 | margin-bottom: 30px; 32 | } 33 | .copyrights{text-indent:-9999px;height:0;line-height:0;font-size:0;overflow:hidden;} 34 | /* Header - Logo and Nav ---------------------------------------------------------------------------------------------*/ 35 | .header-wrapper { 36 | background-color: #3b4348; 37 | width: 100%; 38 | height: auto; 39 | } 40 | .header-wrapper .container { 41 | position: relative; 42 | min-height: 60px; 43 | height: auto !important; 44 | height: 60px; 45 | } 46 | 47 | .logo-container { 48 | padding: 19px 0; 49 | } 50 | .logo-container img { 51 | margin-right: 10px; 52 | } 53 | 54 | .lt-ie9 .logo-container { 55 | width: 450px; 56 | } 57 | 58 | span.tag-line { 59 | color: #818a90; 60 | font-size: 12px; 61 | position: relative; 62 | top: 2px; 63 | } 64 | 65 | .logo-heading { 66 | color: #fff; 67 | font-weight: 600; 68 | display: inline; 69 | margin-right: 15px; 70 | position: relative; 71 | top: 4px; 72 | } 73 | .logo-heading a { 74 | color: #fff; 75 | } 76 | .logo-heading a:hover { 77 | color: #eaeaea; 78 | } 79 | 80 | .main-nav { 81 | position: absolute; 82 | top: 5px; 83 | right: 0; 84 | } 85 | .main-nav div > ul { 86 | width: auto; 87 | margin: 0; 88 | } 89 | .main-nav div > ul > li { 90 | position: relative; 91 | float: left; 92 | list-style: none; 93 | padding: 16px 14px 18px; 94 | } 95 | .main-nav div > ul > li a { 96 | font-family: "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif; 97 | font-size: 13px; 98 | color: #c1cad1; 99 | } 100 | .main-nav div > ul > li a:hover { 101 | color: #fff; 102 | } 103 | .main-nav div > ul > li:hover > a { 104 | color: #fff; 105 | } 106 | .main-nav div > ul > li:last-child { 107 | padding-right: 0; 108 | } 109 | .main-nav div > ul li.current-menu-item a { 110 | color: #fff; 111 | } 112 | .main-nav .sub-menu { 113 | position: absolute; 114 | top: 56px; 115 | left: 0px; 116 | list-style: none; 117 | margin: 0; 118 | display: none; 119 | } 120 | .main-nav .sub-menu li { 121 | position: relative; 122 | background-color: #3b4348; 123 | padding: 6px 10px; 124 | width: 150px; 125 | cursor: pointer; 126 | } 127 | .main-nav .sub-menu li:hover { 128 | background-color: #292e32; 129 | } 130 | .main-nav .sub-menu li:hover > a { 131 | color: #fff; 132 | } 133 | .main-nav .sub-menu .sub-menu { 134 | top: 0px; 135 | right: 170px; 136 | left: auto; 137 | } 138 | .main-nav .responsive-nav { 139 | display: none; 140 | } 141 | 142 | /* Header - Search ---------------------------------------------------------------------------------------------------*/ 143 | .search-area-wrapper { 144 | background: #353b65 url("/images/main-bg.jpg") center top no-repeat; 145 | background-size: 100%; 146 | min-height: 279px; 147 | height: auto !important; 148 | height: 279px; 149 | } 150 | .search-area-wrapper .search-area { 151 | padding: 50px 0; 152 | } 153 | 154 | h3.search-header { 155 | font-family: "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif; 156 | font-weight: bold; 157 | font-size: 36px; 158 | color: #fff; 159 | text-align: center; 160 | } 161 | 162 | p.search-tag-line { 163 | font-family: "Droid Serif", serif; 164 | font-style: italic; 165 | font-size: 18px; 166 | line-height: 28px; 167 | color: #fff; 168 | text-align: center; 169 | } 170 | 171 | form.search-form { 172 | margin: 40px 0 0; 173 | text-align: center; 174 | } 175 | form.search-form .input-common, form.search-form input.search-term, form.search-form input.search-btn { 176 | font-family: "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif; 177 | box-shadow: none; 178 | border-radius: 0; 179 | display: inline-block; 180 | border: none; 181 | vertical-align: bottom; 182 | } 183 | form.search-form input.search-term { 184 | font-size: 14px; 185 | height: 24px; 186 | line-height: 24px; 187 | padding: 12px; 188 | width: 72%; 189 | color: #858c91; 190 | margin-right: 10px; 191 | margin-bottom: 0; 192 | } 193 | form.search-form input.search-term.loading { 194 | background-image: url("../images/search-loader.gif"); 195 | background-repeat: no-repeat; 196 | background-position: 98% 50%; 197 | } 198 | form.search-form input.search-btn { 199 | background-color: #3f4b55; 200 | font-size: 14px; 201 | line-height: 19px; 202 | font-weight: 600; 203 | padding: 14px 30px 15px; 204 | color: #fff; 205 | } 206 | form.search-form input.search-btn:hover { 207 | background-color: #4b5760; 208 | } 209 | 210 | #search-error-container label { 211 | color: #fff; 212 | padding: 5px; 213 | font-size: 14px; 214 | } 215 | 216 | .lt-ie8 form.search-form input.search-btn { 217 | padding-top: 12px; 218 | padding-bottom: 13px; 219 | } 220 | 221 | /* Page - Container --------------------------------------------------------------------------------------------------*/ 222 | .page-container { 223 | width: 100%; 224 | } 225 | .page-container > .container { 226 | padding: 40px 35px; 227 | background-color: #fff; 228 | } 229 | 230 | .breadcrumb { 231 | margin-bottom: 10px; 232 | background-color: #fcfcfc; 233 | font-size: 12px; 234 | } 235 | 236 | .hentry .wp-post-image { 237 | margin: 0 0 20px; 238 | } 239 | 240 | .pages-nav a { 241 | margin-right: 10px; 242 | } 243 | 244 | #pagination .btn { 245 | margin-bottom: 5px; 246 | } 247 | 248 | /* WordPress Core --------------------------------------------------------------------------------------------------- */ 249 | .alignnone { 250 | margin: 5px 0 20px; 251 | } 252 | 253 | .aligncenter, 254 | div.aligncenter { 255 | display: block; 256 | margin: 5px auto 20px auto; 257 | } 258 | 259 | .alignright { 260 | float: right; 261 | margin: 5px 0 20px 20px; 262 | } 263 | 264 | .alignleft { 265 | float: left; 266 | margin: 5px 20px 20px 0; 267 | } 268 | 269 | .aligncenter { 270 | display: block; 271 | margin: 5px auto 20px auto; 272 | } 273 | 274 | a img.alignright { 275 | float: right; 276 | margin: 5px 0 20px 20px; 277 | } 278 | 279 | a img.alignnone { 280 | margin: 5px 0 20px; 281 | } 282 | 283 | a img.alignleft { 284 | float: left; 285 | margin: 5px 20px 20px 0; 286 | } 287 | 288 | a img.aligncenter { 289 | display: block; 290 | margin-left: auto; 291 | margin-right: auto; 292 | } 293 | 294 | .wp-caption { 295 | background: #fff; 296 | border: 1px solid #f0f0f0; 297 | max-width: 96%; 298 | /* Image does not overflow the content area */ 299 | padding: 5px 5px 10px; 300 | text-align: center; 301 | } 302 | 303 | .wp-caption.alignnone { 304 | margin: 5px 20px 20px 0; 305 | } 306 | 307 | .wp-caption.alignleft { 308 | margin: 5px 20px 20px 0; 309 | } 310 | 311 | .wp-caption.alignright { 312 | margin: 5px 0 20px 20px; 313 | } 314 | 315 | .wp-caption img { 316 | border: 0 none; 317 | height: auto; 318 | margin: 0; 319 | max-width: 98%; 320 | padding: 0; 321 | width: auto; 322 | } 323 | 324 | .wp-caption p.wp-caption-text { 325 | font-size: 11px; 326 | line-height: 17px; 327 | margin: 0; 328 | padding: 0 4px 5px; 329 | } 330 | 331 | .sticky { 332 | visibility: visible; 333 | } 334 | 335 | .gallery-caption { 336 | visibility: visible; 337 | } 338 | 339 | .bypostauthor { 340 | visibility: visible; 341 | } 342 | 343 | /* Comments ----------------------------------------------------------------------------------------------------------*/ 344 | .commentlist { 345 | list-style: none; 346 | margin: 0; 347 | border-bottom: 1px solid #F2F2F2; 348 | } 349 | .commentlist > li.comment:first-child { 350 | border-top: none; 351 | } 352 | .commentlist li.comment { 353 | border: none; 354 | border-top: 1px solid #F2F2F2; 355 | list-style: none; 356 | margin: 10px 0 0; 357 | padding: 20px 0 0; 358 | } 359 | .commentlist li.comment article { 360 | *zoom: 1; 361 | padding-bottom: 20px; 362 | } 363 | .commentlist li.comment article:before, .commentlist li.comment article:after { 364 | display: table; 365 | content: ""; 366 | line-height: 0; 367 | } 368 | .commentlist li.comment article:after { 369 | clear: both; 370 | } 371 | .commentlist li.comment .children { 372 | margin-left: 70px; 373 | } 374 | 375 | li.comment > article .avatar { 376 | background: #fff; 377 | float: left; 378 | margin: 0px 10px 10px 0; 379 | position: relative; 380 | z-index: 1; 381 | -webkit-border-radius: 60px; 382 | -moz-border-radius: 60px; 383 | border-radius: 60px; 384 | } 385 | 386 | #respond .allowed-tags code { 387 | background-color: transparent; 388 | border: none; 389 | white-space: pre-wrap; 390 | } 391 | #respond form label { 392 | font-weight: bold; 393 | } 394 | 395 | /* Page - Sidebar ----------------------------------------------------------------------------------------------------*/ 396 | .page-content { 397 | margin-bottom: 20px; 398 | } 399 | 400 | .page-sidebar #twitter_update_list > ul { 401 | margin: 0 0 10px; 402 | } 403 | .page-sidebar #twitter_update_list > ul > li { 404 | background: none; 405 | padding: 0 0 10px; 406 | margin-bottom: 10px; 407 | } 408 | .page-sidebar #twitter_update_list > ul > li span { 409 | display: block; 410 | font-size: 11px; 411 | } 412 | .page-sidebar .flickr-photos img { 413 | background-color: #f2f2f2; 414 | } 415 | .page-sidebar .flickr-photos img:hover { 416 | background-color: #cccccc; 417 | } 418 | 419 | #searchform input { 420 | margin-bottom: 10px; 421 | } 422 | #searchform label.screen-reader-text { 423 | display: none; 424 | } 425 | 426 | .widget h3 { 427 | font-weight: 600; 428 | font-size: 20px; 429 | } 430 | .widget ul li { 431 | list-style: none; 432 | padding: 8px 8px 8px 23px; 433 | background: url("../images/li-arrow.png") no-repeat 8px 15px; 434 | border-bottom: 1px solid #f2f2f2; 435 | } 436 | .widget ul li:last-child { 437 | border-bottom: none; 438 | } 439 | .widget > div > ul, 440 | .widget > ul { 441 | margin-left: 0; 442 | } 443 | 444 | .support-widget { 445 | border: 1px solid #e9e6c4; 446 | padding: 10px 100px 10px 20px; 447 | background: #fefbdc url("../images/support.png") no-repeat 95% 20px; 448 | margin-bottom: 20px; 449 | } 450 | .support-widget h3 { 451 | margin: 0; 452 | padding: 0; 453 | } 454 | 455 | .quick-links-widget { 456 | border: 1px solid #d7d9dc; 457 | padding: 10px 15px 15px; 458 | } 459 | .quick-links-widget h3 { 460 | margin: 0; 461 | padding: 0; 462 | } 463 | .quick-links-widget .menu { 464 | margin: 0; 465 | padding: 0; 466 | } 467 | .quick-links-widget .menu > li { 468 | border-bottom: none; 469 | padding: 5px 5px 5px 20px; 470 | background-position: 5px 13px; 471 | float: left; 472 | width: 35%; 473 | margin-right: 5%; 474 | } 475 | .quick-links-widget .sub-menu { 476 | display: none; 477 | } 478 | 479 | /* Home --------------------------------------------------------------------------------------------------------------*/ 480 | .row.separator { 481 | margin-bottom: 10px; 482 | } 483 | 484 | .home-listing-area h2 { 485 | font-weight: 600; 486 | font-size: 22px; 487 | padding-bottom: 10px; 488 | border-bottom: 1px solid #f2f2f2; 489 | } 490 | 491 | .home-category-list-area h2 { 492 | font-weight: 600; 493 | font-size: 22px; 494 | padding-bottom: 10px; 495 | } 496 | 497 | .top-cats h4.category { 498 | margin: 9px 0; 499 | padding: 2px 0 2px 30px; 500 | background: url("../images/category-main-icon.png") no-repeat 0 0; 501 | font-weight: 600; 502 | } 503 | 504 | /* Articles List Widget ----------------------------------------------------------------------------------------------*/ 505 | .articles-list { 506 | margin-bottom: 20px; 507 | } 508 | .articles-list > h3 { 509 | font-weight: 600; 510 | margin-bottom: 20px; 511 | font-size: 20px; 512 | } 513 | .articles-list > h3 span { 514 | color: #6f7579; 515 | font-size: 16px; 516 | } 517 | .articles-list > h3 a { 518 | color: #3b4348; 519 | } 520 | .articles-list > h3 a:hover { 521 | color: #395996; 522 | } 523 | 524 | ul.articles { 525 | list-style: none; 526 | margin: 0; 527 | } 528 | ul.articles .article-entry { 529 | position: relative; 530 | border-bottom: 1px solid #f2f2f2; 531 | padding: 0 0 0 24px; 532 | background: url("../images/standard.png") no-repeat 0 3px; 533 | } 534 | ul.articles .article-entry.standard { 535 | background: url("../images/standard.png") no-repeat 0 3px; 536 | } 537 | ul.articles .article-entry.video { 538 | background: url("../images/video.png") no-repeat 0 3px; 539 | } 540 | ul.articles .article-entry.image { 541 | background: url("../images/image.png") no-repeat 0 3px; 542 | } 543 | ul.articles .article-entry.gallery { 544 | background: url("../images/image.png") no-repeat 0 3px; 545 | } 546 | ul.articles li.article-entry:last-child { 547 | border-bottom: 1px solid #f2f2f2; 548 | } 549 | 550 | .article-entry > h4 { 551 | font-size: 13px; 552 | margin-bottom: 5px; 553 | font-weight: 600; 554 | } 555 | .article-entry > h4 a { 556 | color: #3b4348; 557 | } 558 | .article-entry > h4 a:hover { 559 | color: #395996; 560 | } 561 | .article-entry .article-meta { 562 | display: block; 563 | margin-bottom: 10px; 564 | } 565 | .article-entry .like-count { 566 | position: absolute; 567 | bottom: 0px; 568 | right: 0px; 569 | line-height: 18px; 570 | font-weight: 600; 571 | padding: 3px 5px 3px 20px; 572 | border: 1px solid #f2f2f2; 573 | border-bottom: none; 574 | background: url("../images/like.png") no-repeat 6px 8px; 575 | } 576 | .article-entry:hover .like-count { 577 | background: url("../images/like.png") no-repeat 6px -22px; 578 | color: #395996; 579 | } 580 | 581 | #footer .article-entry .like-count { 582 | border-color: #535b61; 583 | } 584 | #footer .article-entry:hover .like-count { 585 | color: #fff; 586 | } 587 | #footer ul.articles li.article-entry:last-child { 588 | border-bottom: 1px solid #535b61; 589 | } 590 | 591 | /* Articles List ------------------------------------------------------------------------------------------------------*/ 592 | .main-listing { 593 | margin-bottom: 20px; 594 | } 595 | .main-listing article.hentry { 596 | margin-bottom: 0; 597 | } 598 | 599 | .hentry .post-meta { 600 | padding: 4px 3px 4px 0px; 601 | border-top: 1px solid #f2f2f2; 602 | border-bottom: 1px solid #f2f2f2; 603 | margin-bottom: 15px; 604 | font-size: 12px; 605 | } 606 | .hentry .post-meta > span { 607 | display: inline-block; 608 | padding-left: 22px; 609 | margin-right: 15px; 610 | line-height: 22px; 611 | } 612 | .hentry .post-meta .date { 613 | background: url("../images/calendar-icon.png") no-repeat left center; 614 | } 615 | .hentry .post-meta .category { 616 | background: url("../images/category-icon.png") no-repeat left center; 617 | } 618 | .hentry .post-meta .author { 619 | background: url("../images/user.png") no-repeat left center; 620 | } 621 | .hentry .post-meta .edit { 622 | background: url("../images/standard.png") no-repeat left center; 623 | } 624 | .hentry .post-meta .comments { 625 | background: url("../images/comment.png") no-repeat left center; 626 | } 627 | .hentry .post-meta .like-count { 628 | float: right; 629 | background: url("../images/like.png") no-repeat 4px 6px; 630 | } 631 | .hentry .post-meta .like-count:hover { 632 | background: url("../images/like.png") no-repeat 4px -24px; 633 | color: #395996; 634 | } 635 | 636 | .like-btn .like-it { 637 | display: inline-block; 638 | height: 20px; 639 | line-height: 20px; 640 | padding: 5px 13px; 641 | padding-left: 25px; 642 | background: #fafafa url("../images/like-btn.png") no-repeat 10px -20px; 643 | cursor: pointer; 644 | -webkit-border-radius: 3px; 645 | -moz-border-radius: 3px; 646 | border-radius: 3px; 647 | color: #8cd24e; 648 | } 649 | .like-btn .like-it:hover { 650 | background: #b6b6b6 url("../images/like-btn.png") no-repeat 10px 10px; 651 | color: #fff; 652 | } 653 | .like-btn .like-it.already-voted { 654 | cursor: default; 655 | } 656 | .like-btn .like-it.already-voted:hover { 657 | background: #fafafa url("../images/like-btn.png") no-repeat 10px -20px; 658 | color: #8cd24e; 659 | } 660 | 661 | .hentry.type-post .post-title { 662 | padding-left: 35px; 663 | background: url("../images/standard-large.png") no-repeat 0 3px; 664 | font-size: 20px; 665 | line-height: 30px; 666 | } 667 | .hentry.type-post h1.post-title { 668 | font-size: 26px; 669 | line-height: 36px; 670 | background-position: 0 6px; 671 | } 672 | .hentry.type-post h1.post-title a { 673 | color: #3B4348; 674 | } 675 | 676 | .single-faq .hentry h1.post-title { 677 | font-size: 24px; 678 | line-height: 34px; 679 | } 680 | 681 | .hentry.format-image .post-title { 682 | background: url("../images/image-large.png") no-repeat 0 3px; 683 | } 684 | 685 | .hentry.format-video .post-title { 686 | background: url("../images/video-large.png") no-repeat 0 3px; 687 | } 688 | 689 | .faq.hentry .post-title { 690 | background: url("../images/question-large.png") no-repeat 0 5px; 691 | padding-left: 30px; 692 | } 693 | 694 | .post-video { 695 | margin-bottom: 20px; 696 | } 697 | .post-video .video-wrapper { 698 | width: 100%; 699 | position: relative; 700 | padding: 0; 701 | padding-top: 56.2%; 702 | } 703 | .post-video .video-wrapper iframe { 704 | position: absolute; 705 | top: 0; 706 | left: 0; 707 | width: 100%; 708 | height: 100%; 709 | } 710 | 711 | .page-404 h1.title-404 { 712 | font-size: 200px; 713 | line-height: 210px; 714 | font-weight: 800; 715 | text-align: center; 716 | margin: 30px; 717 | } 718 | .page-404 h2 { 719 | font-size: 30px; 720 | text-align: center; 721 | } 722 | .page-404 h3 { 723 | font-size: 26px; 724 | text-align: center; 725 | } 726 | .page-404 p { 727 | font-size: 14px; 728 | text-align: center; 729 | } 730 | 731 | /* Search Page -------------------------------------------------------------------------------------------------------*/ 732 | h1.archive-title, 733 | h1.search-title { 734 | background-color: #fcfcfc; 735 | padding: 0 20px; 736 | font-size: 18px; 737 | font-weight: 600; 738 | color: #6f7579; 739 | -webkit-border-radius: 4px; 740 | -moz-border-radius: 4px; 741 | border-radius: 4px; 742 | } 743 | h1.archive-title span, 744 | h1.search-title span { 745 | color: #3f4b55; 746 | font-style: italic; 747 | } 748 | 749 | #live-search-results { 750 | z-index: 9999; 751 | background-color: #fff; 752 | list-style: none; 753 | margin: 10px 0 0; 754 | padding: 0; 755 | width: 370px; 756 | -webkit-box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.2); 757 | -moz-box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.2); 758 | box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.2); 759 | } 760 | #live-search-results .search-result { 761 | position: relative; 762 | padding: 10px 10px 10px 35px; 763 | background-image: url("../images/standard.png"); 764 | background-repeat: no-repeat; 765 | background-position: 10px 13px; 766 | } 767 | #live-search-results .search-result:hover { 768 | background-color: #f8f8f8; 769 | } 770 | #live-search-results .search-result:hover a { 771 | color: #395996; 772 | } 773 | #live-search-results .search-result a { 774 | font-weight: 600; 775 | } 776 | #live-search-results .search-result.standard { 777 | background-image: url("../images/standard.png"); 778 | } 779 | #live-search-results .search-result.video { 780 | background-image: url("../images/video.png"); 781 | } 782 | #live-search-results .search-result.image { 783 | background-image: url("../images/image.png"); 784 | } 785 | #live-search-results .search-result.gallery { 786 | background-image: url("../images/image.png"); 787 | } 788 | #live-search-results .search-result.faq { 789 | background-image: url("../images/question.png"); 790 | } 791 | #live-search-results .no-result { 792 | padding: 10px 10px 10px 10px; 793 | font-weight: 600; 794 | } 795 | #live-search-results .no-result:hover { 796 | background-color: #f8f8f8; 797 | color: #395996; 798 | } 799 | #live-search-results .search-result .like-count { 800 | position: absolute; 801 | top: 10px; 802 | right: 13px; 803 | line-height: 18px; 804 | font-weight: 600; 805 | padding: 3px 5px 3px 20px; 806 | background: url("../images/like.png") no-repeat 6px 8px; 807 | } 808 | #live-search-results .search-result:hover .like-count { 809 | background: url("../images/like.png") no-repeat 6px -22px; 810 | color: #395996; 811 | } 812 | 813 | /* FAQs --------------------------------------------------------------------------------------------------------------*/ 814 | .faq-item { 815 | padding: 12px 25px 10px 45px; 816 | border: 1px solid #fff; 817 | border-bottom: 1px solid #e8e8e8; 818 | position: relative; 819 | } 820 | 821 | .faq-icon { 822 | background-image: url("../images/faq-plus.png"); 823 | background-repeat: no-repeat; 824 | background-position: 0 0; 825 | position: absolute; 826 | display: inline-block; 827 | height: 17px; 828 | width: 17px; 829 | top: 15px; 830 | left: 15px; 831 | cursor: pointer; 832 | } 833 | 834 | .faq-item.active .faq-icon { 835 | background-image: url("../images/faq-minus.png"); 836 | } 837 | 838 | .faq-item.active { 839 | background-color: #f5f5f5; 840 | border: 1px solid #eaeaea; 841 | margin-bottom: 5px; 842 | } 843 | .faq-item.active h3.faq-question { 844 | color: #395996; 845 | } 846 | 847 | .faq-item h3.faq-question { 848 | color: #666565; 849 | font-size: 14px; 850 | line-height: 22px; 851 | font-family: "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif; 852 | font-weight: 600; 853 | margin: 0; 854 | } 855 | .faq-item h3.faq-question a { 856 | color: inherit; 857 | } 858 | .faq-item h3.faq-question a:hover { 859 | color: #395996; 860 | } 861 | 862 | .faq-item .faq-answer { 863 | margin-top: 10px; 864 | } 865 | 866 | /* sign-----------------------------*/ 867 | .at-title { 868 | margin-left: 156px; 869 | } 870 | 871 | .at-signin-link{ 872 | margin-left: 156px; 873 | } 874 | 875 | .at-terms-link.at-wrap{ 876 | margin-left: 156px; 877 | } 878 | 879 | .at-signup-link{ 880 | margin-left: 156px; 881 | } 882 | 883 | #at-pwd-form { 884 | margin-left: 156px; 885 | } 886 | 887 | #at-pwd-form label { 888 | font-weight: 700; 889 | } 890 | 891 | /* Contact -----------------------------------------------------------------------------------------------------------*/ 892 | #contact-form label { 893 | font-weight: 700; 894 | } 895 | 896 | textarea.error, 897 | input[type=text].error, 898 | .error { 899 | border-color: red; 900 | } 901 | 902 | .error-container { 903 | color: red; 904 | } 905 | 906 | #contact-form .error-container label { 907 | font-weight: 400; 908 | } 909 | 910 | #contact-loader { 911 | display: none; 912 | } 913 | 914 | #message-sent { 915 | font-weight: 600; 916 | color: #4a4e51; 917 | } 918 | 919 | /* Tag Cloud ---------------------------------------------------------------------------------------------------------*/ 920 | .tagcloud a { 921 | margin: 3px; 922 | font-size: 11px; 923 | } 924 | 925 | /* Footer ------------------------------------------------------------------------------------------------------------*/ 926 | #footer-wrapper { 927 | width: 100%; 928 | background: url("../images/footer-bg.png"); 929 | } 930 | #footer-wrapper > #footer { 931 | padding: 20px 35px; 932 | } 933 | 934 | #footer .widget { 935 | color: #8f98a0; 936 | } 937 | #footer .widget h3 { 938 | color: #fff; 939 | } 940 | #footer .widget a { 941 | color: #ddd; 942 | } 943 | #footer .widget a:hover { 944 | color: #fff; 945 | } 946 | #footer .widget #twitter_update_list > ul { 947 | margin: 0 0 10px; 948 | } 949 | #footer .widget #twitter_update_list > ul > li { 950 | border: none; 951 | background: none; 952 | padding: 0; 953 | margin-bottom: 20px; 954 | } 955 | #footer .widget #twitter_update_list > ul > li span { 956 | display: block; 957 | color: #656f79; 958 | } 959 | #footer .widget ul li { 960 | border-bottom: 1px solid #535b61; 961 | } 962 | #footer .widget ul li:last-child { 963 | border-bottom: none; 964 | } 965 | 966 | .flickr-photos { 967 | margin-left: -10px; 968 | } 969 | .flickr-photos img { 970 | margin: 0 0 10px 10px; 971 | padding: 4px; 972 | background-color: #8F98A0; 973 | } 974 | .flickr-photos img:hover { 975 | background-color: #b8bec3; 976 | } 977 | 978 | #footer-contact label { 979 | display: none; 980 | } 981 | #footer-contact input[type=text], #footer-contact textarea { 982 | border: none; 983 | box-shadow: none; 984 | border-radius: 0; 985 | background-color: #2d3338; 986 | color: #5a646c; 987 | } 988 | #footer-contact input[type=submit] { 989 | border: none; 990 | background-color: #5d686b; 991 | color: #aab5bf; 992 | padding: 5px 20px; 993 | } 994 | #footer-contact input[type=submit]:hover { 995 | background-color: #525e61; 996 | } 997 | 998 | .lt-ie9 #footer-contact label { 999 | display: block; 1000 | } 1001 | 1002 | #footer-bottom-wrapper { 1003 | background-color: #353c41; 1004 | width: 100%; 1005 | } 1006 | #footer-bottom-wrapper > #footer-bottom { 1007 | min-height: 25px; 1008 | height: auto !important; 1009 | height: 25px; 1010 | padding: 15px 35px 10px; 1011 | } 1012 | 1013 | #footer-bottom .copyright { 1014 | margin: 5px 0 10px; 1015 | } 1016 | #footer-bottom .social-nav { 1017 | list-style: none; 1018 | margin: 0; 1019 | } 1020 | 1021 | .social-nav > li { 1022 | float: right; 1023 | margin-left: 4px; 1024 | } 1025 | .social-nav li > a { 1026 | display: inline-block; 1027 | width: 30px; 1028 | height: 30px; 1029 | } 1030 | .social-nav li.facebook a { 1031 | background: url(../images/facebook.png) no-repeat 0 0; 1032 | } 1033 | .social-nav li.deviantart a { 1034 | background: url(../images/devine-art.png) no-repeat 0 0; 1035 | } 1036 | .social-nav li.flickr a { 1037 | background: url(../images/flickr.png) no-repeat 0 0; 1038 | } 1039 | .social-nav li.google a { 1040 | background: url(../images/google.png) no-repeat 0 0; 1041 | } 1042 | .social-nav li.linkedin a { 1043 | background: url(../images/linked-in.png) no-repeat 0 0; 1044 | } 1045 | .social-nav li.rss a { 1046 | background: url(../images/rss.png) no-repeat 0 0; 1047 | } 1048 | .social-nav li.skype a { 1049 | background: url(../images/skype.png) no-repeat 0 0; 1050 | } 1051 | .social-nav li.stumble a { 1052 | background: url(../images/stumble.png) no-repeat 0 0; 1053 | } 1054 | .social-nav li.twitter a { 1055 | background: url(../images/twitter.png) no-repeat 0 0; 1056 | } 1057 | .social-nav li > a:hover { 1058 | background-position: 0 -40px; 1059 | } 1060 | 1061 | /* Accordion Styles -----------------------------------------------------------------------------------*/ 1062 | .toggle, 1063 | .accordion { 1064 | margin-bottom: 25px; 1065 | padding-left: 0px; 1066 | text-align: left; 1067 | } 1068 | 1069 | .toggle dt, 1070 | .accordion dt { 1071 | position: relative; 1072 | padding: 10px 10px 9px 35px; 1073 | line-height: 20px; 1074 | margin-bottom: 1px; 1075 | border-bottom: 1px solid #e8e8e8; 1076 | cursor: pointer; 1077 | font-weight: 600; 1078 | } 1079 | .toggle dt:hover, 1080 | .accordion dt:hover { 1081 | color: #395996; 1082 | } 1083 | 1084 | .toggle dt span, 1085 | .accordion dt span { 1086 | position: absolute; 1087 | top: 11px; 1088 | left: 9px; 1089 | display: block; 1090 | width: 17px; 1091 | height: 17px; 1092 | background: url(../images/plus-minus.png) no-repeat 0px 0px; 1093 | } 1094 | 1095 | .toggle dt.current span, 1096 | .accordion dt.current span { 1097 | background-position: bottom; 1098 | } 1099 | 1100 | .toggle dd, 1101 | .accordion dd { 1102 | display: none; 1103 | padding: 20px; 1104 | margin-bottom: 0; 1105 | margin-left: 15px; 1106 | } 1107 | 1108 | .lt-ie8 .toggle dt span, 1109 | .lt-ie8 .accordion dt span { 1110 | top: 0px; 1111 | } 1112 | 1113 | /* Tabs Styles -----------------------------------------------------------------------------------*/ 1114 | .tabs-nav { 1115 | list-style: none; 1116 | overflow: hidden; 1117 | width: 100%; 1118 | margin: 0px; 1119 | padding-left: 0px; 1120 | } 1121 | 1122 | .tabs-nav li { 1123 | float: left; 1124 | line-height: 32px; 1125 | margin: 0; 1126 | overflow: hidden; 1127 | padding: 0; 1128 | position: relative; 1129 | border-bottom: none; 1130 | background: none; 1131 | } 1132 | 1133 | .tabs-nav li.active { 1134 | line-height: 31px; 1135 | } 1136 | 1137 | .tabs-nav li a { 1138 | background: #f5f5f5; 1139 | border: 1px solid #efefef; 1140 | border-bottom: 1px solid #efefef; 1141 | border-top: 2px solid #d7d7d7; 1142 | border-left: none; 1143 | color: #6f7579; 1144 | display: block; 1145 | letter-spacing: 0; 1146 | outline: none; 1147 | padding: 0 20px; 1148 | text-decoration: none; 1149 | text-shadow: 0 1px 0 #fff; 1150 | } 1151 | 1152 | .tabs-nav li:first-child a { 1153 | border-left: 1px solid #fbdfaa; 1154 | } 1155 | 1156 | .tabs-nav li a:hover { 1157 | background: #fafafa; 1158 | color: #395996; 1159 | } 1160 | 1161 | .tabs-nav li.active a { 1162 | color: #395996; 1163 | background: #fff; 1164 | border-bottom: 2px solid #fff; 1165 | border-top: 2px solid #395996; 1166 | } 1167 | 1168 | .tabs-container { 1169 | border: 1px solid #efefef; 1170 | margin: -1px 0 20px; 1171 | overflow: hidden; 1172 | width: 100%; 1173 | } 1174 | 1175 | .tabs-container .tab-content { 1176 | padding: 20px 15px; 1177 | margin-bottom: 0px; 1178 | } 1179 | 1180 | .lt-ie9 .tabs-container .tab-content { 1181 | background-color: #fff; 1182 | } 1183 | 1184 | /* Messages Styles -----------------------------------------------------------------------------------*/ 1185 | p.error { 1186 | padding: 10px 20px 10px 45px; 1187 | background: #F9E5E6; 1188 | border: 1px solid #F7C7C9; 1189 | border-left-width: 4px; 1190 | color: #B3696C; 1191 | } 1192 | 1193 | div.at-error { 1194 | padding: 10px 20px 10px 45px; 1195 | background: #F9E5E6; 1196 | border: 1px solid #F7C7C9; 1197 | border-left-width: 4px; 1198 | color: #B3696C; 1199 | } 1200 | 1201 | p.success { 1202 | padding: 10px 20px 10px 45px; 1203 | background: #e3ebc6; 1204 | border: 1px solid #c2d288; 1205 | border-left-width: 4px; 1206 | color: #8fa442; 1207 | } 1208 | 1209 | div.at-result { 1210 | padding: 10px 20px 10px 45px; 1211 | background: #e3ebc6; 1212 | border: 1px solid #c2d288; 1213 | border-left-width: 4px; 1214 | color: #8fa442; 1215 | } 1216 | 1217 | p.info { 1218 | padding: 10px 20px 10px 45px; 1219 | background: #d8ecf5; 1220 | border: 1px solid #9ac9df; 1221 | border-left-width: 4px; 1222 | color: #528da9; 1223 | } 1224 | 1225 | p.notice { 1226 | padding: 10px 20px 10px 45px; 1227 | background: #fcf7d9; 1228 | border: 1px solid #f5dc7d; 1229 | border-left-width: 4px; 1230 | color: #c4a21b; 1231 | } 1232 | 1233 | .dropcap { 1234 | font-size: 62px; 1235 | margin-right: 6px; 1236 | padding-top: 4px; 1237 | text-transform: uppercase; 1238 | float: left; 1239 | position: relative; 1240 | top: 5px; 1241 | color: #824328; 1242 | } 1243 | 1244 | /* Contact Form 7 CSS ----------------------------------------------------------------------------------------------- */ 1245 | .wpcf7-form p { 1246 | margin-bottom: 10px; 1247 | } 1248 | 1249 | /* Scroll Top ------------------------------------------------------------------------------------------------------- */ 1250 | a#scroll-top { 1251 | display: none; 1252 | position: fixed; 1253 | right: 20px; 1254 | bottom: 20px; 1255 | height: 42px; 1256 | width: 42px; 1257 | line-height: 42px; 1258 | background: #131517 url("images/scroll-top.png") center center no-repeat; 1259 | opacity: 0.8; 1260 | -moz-opacity: 0.8; 1261 | -webkit-opacity: 0.8; 1262 | border-radius: 4px; 1263 | -moz-border-radius: 4px; 1264 | -webkit-border-radius: 4px; 1265 | -webkit-transition: all 0.25s ease-in-out; 1266 | -moz-transition: all 0.25s ease-in-out; 1267 | -o-transition: all 0.25s ease-in-out; 1268 | } 1269 | 1270 | a#scroll-top:hover { 1271 | background-color: #353c41; 1272 | } 1273 | 1274 | /*------------------------------------------------------------------------------------------------------------------- */ 1275 | /* CUSTOM RESPONSIVE CSS -------------------------------------------------------------------------------------------- */ 1276 | /*------------------------------------------------------------------------------------------------------------------- */ 1277 | /*------------------------------------------------------------------------------------------------------------------- */ 1278 | /* Responsive: Tablet to desktop ------------------------------------------------------------------------------------ */ 1279 | /*------------------------------------------------------------------------------------------------------------------- */ 1280 | @media (min-width: 768px) and (max-width: 979px) { 1281 | .search-area-wrapper { 1282 | background-size: auto; 1283 | } 1284 | 1285 | ul.articles .article-entry { 1286 | padding-bottom: 20px; 1287 | } 1288 | 1289 | /* Custom Padding Adjustment For Desktop */ 1290 | .page-container > .container { 1291 | padding: 40px 20px; 1292 | } 1293 | 1294 | #footer-wrapper > #footer { 1295 | padding: 20px 20px; 1296 | } 1297 | 1298 | #footer-bottom-wrapper > #footer-bottom { 1299 | padding: 15px 20px 10px; 1300 | } 1301 | 1302 | .quick-links-widget .menu > li { 1303 | float: none; 1304 | width: auto; 1305 | margin-right: 0; 1306 | } 1307 | } 1308 | /*------------------------------------------------------------------------------------------------------------------- */ 1309 | /* Responsive: Header for devices below desktop --------------------------------------------------------------------- */ 1310 | /*------------------------------------------------------------------------------------------------------------------- */ 1311 | @media (max-width: 979px) { 1312 | /* logo */ 1313 | .logo-container { 1314 | text-align: center; 1315 | padding: 10px 0; 1316 | } 1317 | .logo-container img { 1318 | display: block; 1319 | margin: 10px auto 5px; 1320 | } 1321 | 1322 | span.tag-line { 1323 | color: #818a90; 1324 | font-size: 12px; 1325 | display: block; 1326 | text-align: center; 1327 | } 1328 | 1329 | .logo-heading { 1330 | display: block; 1331 | position: static; 1332 | top: auto; 1333 | text-align: center; 1334 | } 1335 | 1336 | /* Navigation */ 1337 | .main-nav { 1338 | position: static; 1339 | top: auto; 1340 | right: auto; 1341 | } 1342 | .main-nav > div > ul { 1343 | text-align: center; 1344 | } 1345 | .main-nav > div > ul > li { 1346 | float: none; 1347 | display: inline-block; 1348 | } 1349 | .main-nav > div > ul > li .sub-menu { 1350 | text-align: left; 1351 | top: 55px; 1352 | } 1353 | .main-nav > div > ul > li .sub-menu li { 1354 | width: 130px; 1355 | } 1356 | .main-nav > div > ul > li .sub-menu .sub-menu { 1357 | right: auto; 1358 | left: 150px; 1359 | } 1360 | 1361 | /* Flickr */ 1362 | .flickr-photos { 1363 | margin-left: -10px; 1364 | } 1365 | .flickr-photos img { 1366 | width: 67px; 1367 | height: 67px; 1368 | } 1369 | } 1370 | /*------------------------------------------------------------------------------------------------------------------- */ 1371 | /* Responsive: Landscape phone to desktop/tablet -------------------------------------------------------------------- */ 1372 | /*------------------------------------------------------------------------------------------------------------------- */ 1373 | @media (max-width: 767px) { 1374 | /* Navigation */ 1375 | .main-nav > div { 1376 | display: none; 1377 | } 1378 | .main-nav .responsive-nav { 1379 | display: block; 1380 | width: 85%; 1381 | margin: 10px auto; 1382 | padding: auto; 1383 | border-radius: 0; 1384 | border: none; 1385 | } 1386 | 1387 | /* Search Area */ 1388 | .search-area-wrapper { 1389 | background-size: auto; 1390 | min-height: 240px; 1391 | height: auto !important; 1392 | height: 240px; 1393 | } 1394 | .search-area-wrapper .search-area { 1395 | padding: 20px 0; 1396 | } 1397 | .search-area-wrapper h3.search-header { 1398 | font-size: 30px; 1399 | padding: 0 15px; 1400 | } 1401 | .search-area-wrapper p.search-tag-line { 1402 | padding: 0 15px; 1403 | font-size: 14px; 1404 | line-height: 22px; 1405 | } 1406 | .search-area-wrapper form.search-form input.search-term { 1407 | width: 60%; 1408 | } 1409 | 1410 | /* Comments */ 1411 | .commentlist li.comment .children { 1412 | margin-left: 0; 1413 | } 1414 | 1415 | .social-nav > li { 1416 | float: left; 1417 | margin: 0; 1418 | margin-right: 4px; 1419 | } 1420 | 1421 | .hentry .post-meta .like-count { 1422 | float: none; 1423 | } 1424 | 1425 | .page-404 h1.title-404 { 1426 | font-size: 100px; 1427 | line-height: 105px; 1428 | margin: 15px; 1429 | } 1430 | } 1431 | /*------------------------------------------------------------------------------------------------------------------- */ 1432 | /* Responsive: Portrait Phones -------------------------------------------------------------------------------------- */ 1433 | /*------------------------------------------------------------------------------------------------------------------- */ 1434 | @media (max-width: 480px) { 1435 | /* Search Area */ 1436 | .search-area-wrapper form.search-form input.search-term { 1437 | width: 80%; 1438 | display: block; 1439 | margin: 0 auto 10px; 1440 | } 1441 | .search-area-wrapper form.search-form input.search-btn { 1442 | display: block; 1443 | margin: 0 auto; 1444 | } 1445 | 1446 | ul.articles .article-entry { 1447 | padding-bottom: 20px; 1448 | } 1449 | 1450 | #jquery-live-search #live-search-results { 1451 | width: 248px; 1452 | } 1453 | } 1454 | /* Menu Fix for resizing to Bigger Screen sizes */ 1455 | @media (min-width: 980px) { 1456 | .main-nav div > ul > li { 1457 | float: none; 1458 | display: inline-block; 1459 | } 1460 | } 1461 | --------------------------------------------------------------------------------