diff --git a/.gitignore b/.gitignore index 32162bc..ed3d6d1 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,5 @@ wp-config.php *.swp .sass-cache/ wp-content/uploads +wp-content/**/bower_components +wp-content/**/node_modules diff --git a/wp-content/themes/tn-2014/.bowerrc b/wp-content/themes/tn-2014/.bowerrc new file mode 100644 index 0000000..69fad35 --- /dev/null +++ b/wp-content/themes/tn-2014/.bowerrc @@ -0,0 +1,3 @@ +{ + "directory": "bower_components" +} diff --git a/wp-content/themes/tn-2014/404.php b/wp-content/themes/tn-2014/404.php old mode 100755 new mode 100644 diff --git a/wp-content/themes/tn-2014/Gruntfile.js b/wp-content/themes/tn-2014/Gruntfile.js new file mode 100644 index 0000000..d3f763b --- /dev/null +++ b/wp-content/themes/tn-2014/Gruntfile.js @@ -0,0 +1,48 @@ +/* TODO concat, uglify, etc */ +module.exports = function(grunt) { + grunt.initConfig({ + pkg: grunt.file.readJSON('package.json'), + + tn2014: { + // potential config here + }, + autoprefixer: { + dist: { + files: { + 'css/style.css': 'css/style.css', + } + }, + }, + sass: { + options: { + includePaths: ['bower_components/foundation/scss'] + }, + dist: { + options: { + outputStyle: 'compressed' + }, + files: { + 'css/style.css': 'scss/style.scss' + } + } + }, + watch: { + sass: { + files: ['scss/**/*.scss'], + tasks: ['sass', 'autoprefixer'], + }, + livereload: { + files: ['**/*.php', 'css/style.css', '**/*.js'], + options: { + livereload: true + } + } + } + }); + + // load all grunt tasks + require('matchdep').filterDev('grunt-*').forEach(grunt.loadNpmTasks); + + grunt.registerTask('build', ['sass']); + grunt.registerTask('default', ['build','watch']); +}; diff --git a/wp-content/themes/tn-2014/bower.json b/wp-content/themes/tn-2014/bower.json new file mode 100644 index 0000000..04547bd --- /dev/null +++ b/wp-content/themes/tn-2014/bower.json @@ -0,0 +1,8 @@ +{ + "name": "tn2014", + "dependencies": { + "foundation": "zurb/bower-foundation", + "underscore": "latest" + } +} + diff --git a/wp-content/themes/tn-2014/config.rb b/wp-content/themes/tn-2014/config.rb deleted file mode 100644 index 1e74163..0000000 --- a/wp-content/themes/tn-2014/config.rb +++ /dev/null @@ -1,25 +0,0 @@ -# Require any additional compass plugins here. -require 'ninesixty' - -# Set this to the root of your project when deployed: -http_path = "/" -css_dir = "stylesheets" -sass_dir = "sass" -images_dir = "images" -javascripts_dir = "javascripts" - -# You can select your preferred output style here (can be overridden via the command line): -# output_style = :expanded or :nested or :compact or :compressed - -# To enable relative paths to assets via compass helper functions. Uncomment: -# relative_assets = true - -# To disable debugging comments that display the original location of your selectors. Uncomment: -line_comments = false - - -# If you prefer the indented syntax, you might want to regenerate this -# project again passing --syntax sass, or you can uncomment this: -# preferred_syntax = :sass -# and then run: -# sass-convert -R --from scss --to sass sass scss && rm -rf sass && mv scss sass diff --git a/wp-content/themes/tn-2014/css/style.css b/wp-content/themes/tn-2014/css/style.css new file mode 100644 index 0000000..091abc1 --- /dev/null +++ b/wp-content/themes/tn-2014/css/style.css @@ -0,0 +1 @@ +html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;}body{margin:0;}article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary{display:block;}audio,canvas,progress,video{display:inline-block;vertical-align:baseline;}audio:not([controls]){display:none;height:0;}[hidden],template{display:none;}a{background:transparent;}a:active,a:hover{outline:0;}abbr[title]{border-bottom:1px dotted;}b,strong{font-weight:bold;}dfn{font-style:italic;}h1{font-size:2em;margin:0.67em 0;}mark{background:#ff0;color:#000;}small{font-size:80%;}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline;}sup{top:-0.5em;}sub{bottom:-0.25em;}img{border:0;}svg:not(:root){overflow:hidden;}figure{margin:1em 40px;}hr{-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box;height:0;}pre{overflow:auto;}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em;}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0;}button{overflow:visible;}button,select{text-transform:none;}button,html input[type="button"],input[type="reset"],input[type="submit"]{-webkit-appearance:button;cursor:pointer;}button[disabled],html input[disabled]{cursor:default;}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0;}input{line-height:normal;}input[type="checkbox"],input[type="radio"]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;padding:0;}input[type="number"]::-webkit-inner-spin-button,input[type="number"]::-webkit-outer-spin-button{height:auto;}input[type="search"]{-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box;}input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration{-webkit-appearance:none;}fieldset{border:1px solid #c0c0c0;margin:0 2px;padding:0.35em 0.625em 0.75em;}legend{border:0;padding:0;}textarea{overflow:auto;}optgroup{font-weight:bold;}table{border-collapse:collapse;border-spacing:0;}td,th{padding:0;}meta.foundation-version{font-family:"/5.2.2/";}meta.foundation-mq-small{font-family:"/only screen/";width:0em;}meta.foundation-mq-medium{font-family:"/only screen and (min-width:40.063em)/";width:40.063em;}meta.foundation-mq-large{font-family:"/only screen and (min-width:64.063em)/";width:64.063em;}meta.foundation-mq-xlarge{font-family:"/only screen and (min-width:90.063em)/";width:90.063em;}meta.foundation-mq-xxlarge{font-family:"/only screen and (min-width:120.063em)/";width:120.063em;}meta.foundation-data-attribute-namespace{font-family:false;}html,body{height:100%;}*,*:before,*:after{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;}html,body{font-size:100%;}body{background:#fff;color:#222;padding:0;margin:0;font-family:Arial,sans-serif;font-weight:normal;font-style:normal;line-height:1;position:relative;cursor:default;}a:hover{cursor:pointer;}img{max-width:100%;height:auto;}img{-ms-interpolation-mode:bicubic;}#map_canvas img,#map_canvas embed,#map_canvas object,.map_canvas img,.map_canvas embed,.map_canvas object{max-width:none !important;}.left{float:left !important;}.right{float:right !important;}.clearfix{*zoom:1;}.clearfix:before,.clearfix:after{content:" ";display:table;}.clearfix:after{clear:both;}.hide{display:none;}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;}img{display:inline-block;vertical-align:middle;}textarea{height:auto;min-height:50px;}select{width:100%;}.row{width:100%;margin-left:auto;margin-right:auto;margin-top:0;margin-bottom:0;max-width:90rem;*zoom:1;}.row:before,.row:after{content:" ";display:table;}.row:after{clear:both;}.row.collapse>.column,.row.collapse>.columns{padding-left:0;padding-right:0;}.row.collapse .row{margin-left:0;margin-right:0;}.row .row{width:auto;margin-left:-0.9375rem;margin-right:-0.9375rem;margin-top:0;margin-bottom:0;max-width:none;*zoom:1;}.row .row:before,.row .row:after{content:" ";display:table;}.row .row:after{clear:both;}.row .row.collapse{width:auto;margin:0;max-width:none;*zoom:1;}.row .row.collapse:before,.row .row.collapse:after{content:" ";display:table;}.row .row.collapse:after{clear:both;}.column,.columns{padding-left:0.9375rem;padding-right:0.9375rem;width:100%;float:left;}@media only screen{.small-push-0{position:relative;left:0%;right:auto;}.small-pull-0{position:relative;right:0%;left:auto;}.small-push-1{position:relative;left:8.33333%;right:auto;}.small-pull-1{position:relative;right:8.33333%;left:auto;}.small-push-2{position:relative;left:16.66667%;right:auto;}.small-pull-2{position:relative;right:16.66667%;left:auto;}.small-push-3{position:relative;left:25%;right:auto;}.small-pull-3{position:relative;right:25%;left:auto;}.small-push-4{position:relative;left:33.33333%;right:auto;}.small-pull-4{position:relative;right:33.33333%;left:auto;}.small-push-5{position:relative;left:41.66667%;right:auto;}.small-pull-5{position:relative;right:41.66667%;left:auto;}.small-push-6{position:relative;left:50%;right:auto;}.small-pull-6{position:relative;right:50%;left:auto;}.small-push-7{position:relative;left:58.33333%;right:auto;}.small-pull-7{position:relative;right:58.33333%;left:auto;}.small-push-8{position:relative;left:66.66667%;right:auto;}.small-pull-8{position:relative;right:66.66667%;left:auto;}.small-push-9{position:relative;left:75%;right:auto;}.small-pull-9{position:relative;right:75%;left:auto;}.small-push-10{position:relative;left:83.33333%;right:auto;}.small-pull-10{position:relative;right:83.33333%;left:auto;}.small-push-11{position:relative;left:91.66667%;right:auto;}.small-pull-11{position:relative;right:91.66667%;left:auto;}.column,.columns{position:relative;padding-left:0.9375rem;padding-right:0.9375rem;float:left;}.small-1{width:8.33333%;}.small-2{width:16.66667%;}.small-3{width:25%;}.small-4{width:33.33333%;}.small-5{width:41.66667%;}.small-6{width:50%;}.small-7{width:58.33333%;}.small-8{width:66.66667%;}.small-9{width:75%;}.small-10{width:83.33333%;}.small-11{width:91.66667%;}.small-12{width:100%;}[class*="column"]+[class*="column"]:last-child{float:right;}[class*="column"]+[class*="column"].end{float:left;}.small-offset-0{margin-left:0% !important;}.small-offset-1{margin-left:8.33333% !important;}.small-offset-2{margin-left:16.66667% !important;}.small-offset-3{margin-left:25% !important;}.small-offset-4{margin-left:33.33333% !important;}.small-offset-5{margin-left:41.66667% !important;}.small-offset-6{margin-left:50% !important;}.small-offset-7{margin-left:58.33333% !important;}.small-offset-8{margin-left:66.66667% !important;}.small-offset-9{margin-left:75% !important;}.small-offset-10{margin-left:83.33333% !important;}.small-offset-11{margin-left:91.66667% !important;}.small-reset-order,.small-reset-order{margin-left:0;margin-right:0;left:auto;right:auto;float:left;}.column.small-centered,.columns.small-centered{margin-left:auto;margin-right:auto;float:none;}.column.small-uncentered,.columns.small-uncentered{margin-left:0;margin-right:0;float:left !important;}.column.small-uncentered.opposite,.columns.small-uncentered.opposite{float:right;}}@media only screen and (min-width:40.063em){.medium-push-0{position:relative;left:0%;right:auto;}.medium-pull-0{position:relative;right:0%;left:auto;}.medium-push-1{position:relative;left:8.33333%;right:auto;}.medium-pull-1{position:relative;right:8.33333%;left:auto;}.medium-push-2{position:relative;left:16.66667%;right:auto;}.medium-pull-2{position:relative;right:16.66667%;left:auto;}.medium-push-3{position:relative;left:25%;right:auto;}.medium-pull-3{position:relative;right:25%;left:auto;}.medium-push-4{position:relative;left:33.33333%;right:auto;}.medium-pull-4{position:relative;right:33.33333%;left:auto;}.medium-push-5{position:relative;left:41.66667%;right:auto;}.medium-pull-5{position:relative;right:41.66667%;left:auto;}.medium-push-6{position:relative;left:50%;right:auto;}.medium-pull-6{position:relative;right:50%;left:auto;}.medium-push-7{position:relative;left:58.33333%;right:auto;}.medium-pull-7{position:relative;right:58.33333%;left:auto;}.medium-push-8{position:relative;left:66.66667%;right:auto;}.medium-pull-8{position:relative;right:66.66667%;left:auto;}.medium-push-9{position:relative;left:75%;right:auto;}.medium-pull-9{position:relative;right:75%;left:auto;}.medium-push-10{position:relative;left:83.33333%;right:auto;}.medium-pull-10{position:relative;right:83.33333%;left:auto;}.medium-push-11{position:relative;left:91.66667%;right:auto;}.medium-pull-11{position:relative;right:91.66667%;left:auto;}.column,.columns{position:relative;padding-left:0.9375rem;padding-right:0.9375rem;float:left;}.medium-1{width:8.33333%;}.medium-2{width:16.66667%;}.medium-3{width:25%;}.medium-4{width:33.33333%;}.medium-5{width:41.66667%;}.medium-6{width:50%;}.medium-7{width:58.33333%;}.medium-8{width:66.66667%;}.medium-9{width:75%;}.medium-10{width:83.33333%;}.medium-11{width:91.66667%;}.medium-12{width:100%;}[class*="column"]+[class*="column"]:last-child{float:right;}[class*="column"]+[class*="column"].end{float:left;}.medium-offset-0{margin-left:0% !important;}.medium-offset-1{margin-left:8.33333% !important;}.medium-offset-2{margin-left:16.66667% !important;}.medium-offset-3{margin-left:25% !important;}.medium-offset-4{margin-left:33.33333% !important;}.medium-offset-5{margin-left:41.66667% !important;}.medium-offset-6{margin-left:50% !important;}.medium-offset-7{margin-left:58.33333% !important;}.medium-offset-8{margin-left:66.66667% !important;}.medium-offset-9{margin-left:75% !important;}.medium-offset-10{margin-left:83.33333% !important;}.medium-offset-11{margin-left:91.66667% !important;}.medium-reset-order,.medium-reset-order{margin-left:0;margin-right:0;left:auto;right:auto;float:left;}.column.medium-centered,.columns.medium-centered{margin-left:auto;margin-right:auto;float:none;}.column.medium-uncentered,.columns.medium-uncentered{margin-left:0;margin-right:0;float:left !important;}.column.medium-uncentered.opposite,.columns.medium-uncentered.opposite{float:right;}.push-0{position:relative;left:0%;right:auto;}.pull-0{position:relative;right:0%;left:auto;}.push-1{position:relative;left:8.33333%;right:auto;}.pull-1{position:relative;right:8.33333%;left:auto;}.push-2{position:relative;left:16.66667%;right:auto;}.pull-2{position:relative;right:16.66667%;left:auto;}.push-3{position:relative;left:25%;right:auto;}.pull-3{position:relative;right:25%;left:auto;}.push-4{position:relative;left:33.33333%;right:auto;}.pull-4{position:relative;right:33.33333%;left:auto;}.push-5{position:relative;left:41.66667%;right:auto;}.pull-5{position:relative;right:41.66667%;left:auto;}.push-6{position:relative;left:50%;right:auto;}.pull-6{position:relative;right:50%;left:auto;}.push-7{position:relative;left:58.33333%;right:auto;}.pull-7{position:relative;right:58.33333%;left:auto;}.push-8{position:relative;left:66.66667%;right:auto;}.pull-8{position:relative;right:66.66667%;left:auto;}.push-9{position:relative;left:75%;right:auto;}.pull-9{position:relative;right:75%;left:auto;}.push-10{position:relative;left:83.33333%;right:auto;}.pull-10{position:relative;right:83.33333%;left:auto;}.push-11{position:relative;left:91.66667%;right:auto;}.pull-11{position:relative;right:91.66667%;left:auto;}}@media only screen and (min-width:64.063em){.large-push-0{position:relative;left:0%;right:auto;}.large-pull-0{position:relative;right:0%;left:auto;}.large-push-1{position:relative;left:8.33333%;right:auto;}.large-pull-1{position:relative;right:8.33333%;left:auto;}.large-push-2{position:relative;left:16.66667%;right:auto;}.large-pull-2{position:relative;right:16.66667%;left:auto;}.large-push-3{position:relative;left:25%;right:auto;}.large-pull-3{position:relative;right:25%;left:auto;}.large-push-4{position:relative;left:33.33333%;right:auto;}.large-pull-4{position:relative;right:33.33333%;left:auto;}.large-push-5{position:relative;left:41.66667%;right:auto;}.large-pull-5{position:relative;right:41.66667%;left:auto;}.large-push-6{position:relative;left:50%;right:auto;}.large-pull-6{position:relative;right:50%;left:auto;}.large-push-7{position:relative;left:58.33333%;right:auto;}.large-pull-7{position:relative;right:58.33333%;left:auto;}.large-push-8{position:relative;left:66.66667%;right:auto;}.large-pull-8{position:relative;right:66.66667%;left:auto;}.large-push-9{position:relative;left:75%;right:auto;}.large-pull-9{position:relative;right:75%;left:auto;}.large-push-10{position:relative;left:83.33333%;right:auto;}.large-pull-10{position:relative;right:83.33333%;left:auto;}.large-push-11{position:relative;left:91.66667%;right:auto;}.large-pull-11{position:relative;right:91.66667%;left:auto;}.column,.columns{position:relative;padding-left:0.9375rem;padding-right:0.9375rem;float:left;}.large-1{width:8.33333%;}.large-2{width:16.66667%;}.large-3{width:25%;}.large-4{width:33.33333%;}.large-5{width:41.66667%;}.large-6{width:50%;}.large-7{width:58.33333%;}.large-8{width:66.66667%;}.large-9{width:75%;}.large-10{width:83.33333%;}.large-11{width:91.66667%;}.large-12{width:100%;}[class*="column"]+[class*="column"]:last-child{float:right;}[class*="column"]+[class*="column"].end{float:left;}.large-offset-0{margin-left:0% !important;}.large-offset-1{margin-left:8.33333% !important;}.large-offset-2{margin-left:16.66667% !important;}.large-offset-3{margin-left:25% !important;}.large-offset-4{margin-left:33.33333% !important;}.large-offset-5{margin-left:41.66667% !important;}.large-offset-6{margin-left:50% !important;}.large-offset-7{margin-left:58.33333% !important;}.large-offset-8{margin-left:66.66667% !important;}.large-offset-9{margin-left:75% !important;}.large-offset-10{margin-left:83.33333% !important;}.large-offset-11{margin-left:91.66667% !important;}.large-reset-order,.large-reset-order{margin-left:0;margin-right:0;left:auto;right:auto;float:left;}.column.large-centered,.columns.large-centered{margin-left:auto;margin-right:auto;float:none;}.column.large-uncentered,.columns.large-uncentered{margin-left:0;margin-right:0;float:left !important;}.column.large-uncentered.opposite,.columns.large-uncentered.opposite{float:right;}.push-0{position:relative;left:0%;right:auto;}.pull-0{position:relative;right:0%;left:auto;}.push-1{position:relative;left:8.33333%;right:auto;}.pull-1{position:relative;right:8.33333%;left:auto;}.push-2{position:relative;left:16.66667%;right:auto;}.pull-2{position:relative;right:16.66667%;left:auto;}.push-3{position:relative;left:25%;right:auto;}.pull-3{position:relative;right:25%;left:auto;}.push-4{position:relative;left:33.33333%;right:auto;}.pull-4{position:relative;right:33.33333%;left:auto;}.push-5{position:relative;left:41.66667%;right:auto;}.pull-5{position:relative;right:41.66667%;left:auto;}.push-6{position:relative;left:50%;right:auto;}.pull-6{position:relative;right:50%;left:auto;}.push-7{position:relative;left:58.33333%;right:auto;}.pull-7{position:relative;right:58.33333%;left:auto;}.push-8{position:relative;left:66.66667%;right:auto;}.pull-8{position:relative;right:66.66667%;left:auto;}.push-9{position:relative;left:75%;right:auto;}.pull-9{position:relative;right:75%;left:auto;}.push-10{position:relative;left:83.33333%;right:auto;}.pull-10{position:relative;right:83.33333%;left:auto;}.push-11{position:relative;left:91.66667%;right:auto;}.pull-11{position:relative;right:91.66667%;left:auto;}}[class*="block-grid-"]{display:block;padding:0;margin:0 -0.625rem;*zoom:1;}[class*="block-grid-"]:before,[class*="block-grid-"]:after{content:" ";display:table;}[class*="block-grid-"]:after{clear:both;}[class*="block-grid-"]>li{display:block;height:auto;float:left;padding:0 0.625rem 1.25rem;}@media only screen{.small-block-grid-1>li{width:100%;list-style:none;}.small-block-grid-1>li:nth-of-type(n){clear:none;}.small-block-grid-1>li:nth-of-type(1n+1){clear:both;}.small-block-grid-2>li{width:50%;list-style:none;}.small-block-grid-2>li:nth-of-type(n){clear:none;}.small-block-grid-2>li:nth-of-type(2n+1){clear:both;}.small-block-grid-3>li{width:33.33333%;list-style:none;}.small-block-grid-3>li:nth-of-type(n){clear:none;}.small-block-grid-3>li:nth-of-type(3n+1){clear:both;}.small-block-grid-4>li{width:25%;list-style:none;}.small-block-grid-4>li:nth-of-type(n){clear:none;}.small-block-grid-4>li:nth-of-type(4n+1){clear:both;}.small-block-grid-5>li{width:20%;list-style:none;}.small-block-grid-5>li:nth-of-type(n){clear:none;}.small-block-grid-5>li:nth-of-type(5n+1){clear:both;}.small-block-grid-6>li{width:16.66667%;list-style:none;}.small-block-grid-6>li:nth-of-type(n){clear:none;}.small-block-grid-6>li:nth-of-type(6n+1){clear:both;}.small-block-grid-7>li{width:14.28571%;list-style:none;}.small-block-grid-7>li:nth-of-type(n){clear:none;}.small-block-grid-7>li:nth-of-type(7n+1){clear:both;}.small-block-grid-8>li{width:12.5%;list-style:none;}.small-block-grid-8>li:nth-of-type(n){clear:none;}.small-block-grid-8>li:nth-of-type(8n+1){clear:both;}.small-block-grid-9>li{width:11.11111%;list-style:none;}.small-block-grid-9>li:nth-of-type(n){clear:none;}.small-block-grid-9>li:nth-of-type(9n+1){clear:both;}.small-block-grid-10>li{width:10%;list-style:none;}.small-block-grid-10>li:nth-of-type(n){clear:none;}.small-block-grid-10>li:nth-of-type(10n+1){clear:both;}.small-block-grid-11>li{width:9.09091%;list-style:none;}.small-block-grid-11>li:nth-of-type(n){clear:none;}.small-block-grid-11>li:nth-of-type(11n+1){clear:both;}.small-block-grid-12>li{width:8.33333%;list-style:none;}.small-block-grid-12>li:nth-of-type(n){clear:none;}.small-block-grid-12>li:nth-of-type(12n+1){clear:both;}}@media only screen and (min-width:40.063em){.medium-block-grid-1>li{width:100%;list-style:none;}.medium-block-grid-1>li:nth-of-type(n){clear:none;}.medium-block-grid-1>li:nth-of-type(1n+1){clear:both;}.medium-block-grid-2>li{width:50%;list-style:none;}.medium-block-grid-2>li:nth-of-type(n){clear:none;}.medium-block-grid-2>li:nth-of-type(2n+1){clear:both;}.medium-block-grid-3>li{width:33.33333%;list-style:none;}.medium-block-grid-3>li:nth-of-type(n){clear:none;}.medium-block-grid-3>li:nth-of-type(3n+1){clear:both;}.medium-block-grid-4>li{width:25%;list-style:none;}.medium-block-grid-4>li:nth-of-type(n){clear:none;}.medium-block-grid-4>li:nth-of-type(4n+1){clear:both;}.medium-block-grid-5>li{width:20%;list-style:none;}.medium-block-grid-5>li:nth-of-type(n){clear:none;}.medium-block-grid-5>li:nth-of-type(5n+1){clear:both;}.medium-block-grid-6>li{width:16.66667%;list-style:none;}.medium-block-grid-6>li:nth-of-type(n){clear:none;}.medium-block-grid-6>li:nth-of-type(6n+1){clear:both;}.medium-block-grid-7>li{width:14.28571%;list-style:none;}.medium-block-grid-7>li:nth-of-type(n){clear:none;}.medium-block-grid-7>li:nth-of-type(7n+1){clear:both;}.medium-block-grid-8>li{width:12.5%;list-style:none;}.medium-block-grid-8>li:nth-of-type(n){clear:none;}.medium-block-grid-8>li:nth-of-type(8n+1){clear:both;}.medium-block-grid-9>li{width:11.11111%;list-style:none;}.medium-block-grid-9>li:nth-of-type(n){clear:none;}.medium-block-grid-9>li:nth-of-type(9n+1){clear:both;}.medium-block-grid-10>li{width:10%;list-style:none;}.medium-block-grid-10>li:nth-of-type(n){clear:none;}.medium-block-grid-10>li:nth-of-type(10n+1){clear:both;}.medium-block-grid-11>li{width:9.09091%;list-style:none;}.medium-block-grid-11>li:nth-of-type(n){clear:none;}.medium-block-grid-11>li:nth-of-type(11n+1){clear:both;}.medium-block-grid-12>li{width:8.33333%;list-style:none;}.medium-block-grid-12>li:nth-of-type(n){clear:none;}.medium-block-grid-12>li:nth-of-type(12n+1){clear:both;}}@media only screen and (min-width:64.063em){.large-block-grid-1>li{width:100%;list-style:none;}.large-block-grid-1>li:nth-of-type(n){clear:none;}.large-block-grid-1>li:nth-of-type(1n+1){clear:both;}.large-block-grid-2>li{width:50%;list-style:none;}.large-block-grid-2>li:nth-of-type(n){clear:none;}.large-block-grid-2>li:nth-of-type(2n+1){clear:both;}.large-block-grid-3>li{width:33.33333%;list-style:none;}.large-block-grid-3>li:nth-of-type(n){clear:none;}.large-block-grid-3>li:nth-of-type(3n+1){clear:both;}.large-block-grid-4>li{width:25%;list-style:none;}.large-block-grid-4>li:nth-of-type(n){clear:none;}.large-block-grid-4>li:nth-of-type(4n+1){clear:both;}.large-block-grid-5>li{width:20%;list-style:none;}.large-block-grid-5>li:nth-of-type(n){clear:none;}.large-block-grid-5>li:nth-of-type(5n+1){clear:both;}.large-block-grid-6>li{width:16.66667%;list-style:none;}.large-block-grid-6>li:nth-of-type(n){clear:none;}.large-block-grid-6>li:nth-of-type(6n+1){clear:both;}.large-block-grid-7>li{width:14.28571%;list-style:none;}.large-block-grid-7>li:nth-of-type(n){clear:none;}.large-block-grid-7>li:nth-of-type(7n+1){clear:both;}.large-block-grid-8>li{width:12.5%;list-style:none;}.large-block-grid-8>li:nth-of-type(n){clear:none;}.large-block-grid-8>li:nth-of-type(8n+1){clear:both;}.large-block-grid-9>li{width:11.11111%;list-style:none;}.large-block-grid-9>li:nth-of-type(n){clear:none;}.large-block-grid-9>li:nth-of-type(9n+1){clear:both;}.large-block-grid-10>li{width:10%;list-style:none;}.large-block-grid-10>li:nth-of-type(n){clear:none;}.large-block-grid-10>li:nth-of-type(10n+1){clear:both;}.large-block-grid-11>li{width:9.09091%;list-style:none;}.large-block-grid-11>li:nth-of-type(n){clear:none;}.large-block-grid-11>li:nth-of-type(11n+1){clear:both;}.large-block-grid-12>li{width:8.33333%;list-style:none;}.large-block-grid-12>li:nth-of-type(n){clear:none;}.large-block-grid-12>li:nth-of-type(12n+1){clear:both;}}@media only screen{.show-for-small-only,.show-for-small-up,.show-for-small,.show-for-small-down,.hide-for-medium-only,.hide-for-medium-up,.hide-for-medium,.show-for-medium-down,.hide-for-large-only,.hide-for-large-up,.hide-for-large,.show-for-large-down,.hide-for-xlarge-only,.hide-for-xlarge-up,.hide-for-xxlarge-only,.hide-for-xxlarge-up{display:inherit !important;}.hide-for-small-only,.hide-for-small-up,.hide-for-small,.hide-for-small-down,.show-for-medium-only,.show-for-medium-up,.show-for-medium,.hide-for-medium-down,.show-for-large-only,.show-for-large-up,.show-for-large,.hide-for-large-down,.show-for-xlarge-only,.show-for-xlarge-up,.show-for-xxlarge-only,.show-for-xxlarge-up{display:none !important;}table.show-for-small-only,table.show-for-small-up,table.show-for-small,table.show-for-small-down,table.hide-for-medium-only,table.hide-for-medium-up,table.hide-for-medium,table.show-for-medium-down,table.hide-for-large-only,table.hide-for-large-up,table.hide-for-large,table.show-for-large-down,table.hide-for-xlarge-only,table.hide-for-xlarge-up,table.hide-for-xxlarge-only,table.hide-for-xxlarge-up{display:table;}thead.show-for-small-only,thead.show-for-small-up,thead.show-for-small,thead.show-for-small-down,thead.hide-for-medium-only,thead.hide-for-medium-up,thead.hide-for-medium,thead.show-for-medium-down,thead.hide-for-large-only,thead.hide-for-large-up,thead.hide-for-large,thead.show-for-large-down,thead.hide-for-xlarge-only,thead.hide-for-xlarge-up,thead.hide-for-xxlarge-only,thead.hide-for-xxlarge-up{display:table-header-group !important;}tbody.show-for-small-only,tbody.show-for-small-up,tbody.show-for-small,tbody.show-for-small-down,tbody.hide-for-medium-only,tbody.hide-for-medium-up,tbody.hide-for-medium,tbody.show-for-medium-down,tbody.hide-for-large-only,tbody.hide-for-large-up,tbody.hide-for-large,tbody.show-for-large-down,tbody.hide-for-xlarge-only,tbody.hide-for-xlarge-up,tbody.hide-for-xxlarge-only,tbody.hide-for-xxlarge-up{display:table-row-group !important;}tr.show-for-small-only,tr.show-for-small-up,tr.show-for-small,tr.show-for-small-down,tr.hide-for-medium-only,tr.hide-for-medium-up,tr.hide-for-medium,tr.show-for-medium-down,tr.hide-for-large-only,tr.hide-for-large-up,tr.hide-for-large,tr.show-for-large-down,tr.hide-for-xlarge-only,tr.hide-for-xlarge-up,tr.hide-for-xxlarge-only,tr.hide-for-xxlarge-up{display:table-row !important;}th.show-for-small-only,td.show-for-small-only,th.show-for-small-up,td.show-for-small-up,th.show-for-small,td.show-for-small,th.show-for-small-down,td.show-for-small-down,th.hide-for-medium-only,td.hide-for-medium-only,th.hide-for-medium-up,td.hide-for-medium-up,th.hide-for-medium,td.hide-for-medium,th.show-for-medium-down,td.show-for-medium-down,th.hide-for-large-only,td.hide-for-large-only,th.hide-for-large-up,td.hide-for-large-up,th.hide-for-large,td.hide-for-large,th.show-for-large-down,td.show-for-large-down,th.hide-for-xlarge-only,td.hide-for-xlarge-only,th.hide-for-xlarge-up,td.hide-for-xlarge-up,th.hide-for-xxlarge-only,td.hide-for-xxlarge-only,th.hide-for-xxlarge-up,td.hide-for-xxlarge-up{display:table-cell !important;}}@media only screen and (min-width:40.063em){.hide-for-small-only,.show-for-small-up,.hide-for-small,.hide-for-small-down,.show-for-medium-only,.show-for-medium-up,.show-for-medium,.show-for-medium-down,.hide-for-large-only,.hide-for-large-up,.hide-for-large,.show-for-large-down,.hide-for-xlarge-only,.hide-for-xlarge-up,.hide-for-xxlarge-only,.hide-for-xxlarge-up{display:inherit !important;}.show-for-small-only,.hide-for-small-up,.show-for-small,.show-for-small-down,.hide-for-medium-only,.hide-for-medium-up,.hide-for-medium,.hide-for-medium-down,.show-for-large-only,.show-for-large-up,.show-for-large,.hide-for-large-down,.show-for-xlarge-only,.show-for-xlarge-up,.show-for-xxlarge-only,.show-for-xxlarge-up{display:none !important;}table.hide-for-small-only,table.show-for-small-up,table.hide-for-small,table.hide-for-small-down,table.show-for-medium-only,table.show-for-medium-up,table.show-for-medium,table.show-for-medium-down,table.hide-for-large-only,table.hide-for-large-up,table.hide-for-large,table.show-for-large-down,table.hide-for-xlarge-only,table.hide-for-xlarge-up,table.hide-for-xxlarge-only,table.hide-for-xxlarge-up{display:table;}thead.hide-for-small-only,thead.show-for-small-up,thead.hide-for-small,thead.hide-for-small-down,thead.show-for-medium-only,thead.show-for-medium-up,thead.show-for-medium,thead.show-for-medium-down,thead.hide-for-large-only,thead.hide-for-large-up,thead.hide-for-large,thead.show-for-large-down,thead.hide-for-xlarge-only,thead.hide-for-xlarge-up,thead.hide-for-xxlarge-only,thead.hide-for-xxlarge-up{display:table-header-group !important;}tbody.hide-for-small-only,tbody.show-for-small-up,tbody.hide-for-small,tbody.hide-for-small-down,tbody.show-for-medium-only,tbody.show-for-medium-up,tbody.show-for-medium,tbody.show-for-medium-down,tbody.hide-for-large-only,tbody.hide-for-large-up,tbody.hide-for-large,tbody.show-for-large-down,tbody.hide-for-xlarge-only,tbody.hide-for-xlarge-up,tbody.hide-for-xxlarge-only,tbody.hide-for-xxlarge-up{display:table-row-group !important;}tr.hide-for-small-only,tr.show-for-small-up,tr.hide-for-small,tr.hide-for-small-down,tr.show-for-medium-only,tr.show-for-medium-up,tr.show-for-medium,tr.show-for-medium-down,tr.hide-for-large-only,tr.hide-for-large-up,tr.hide-for-large,tr.show-for-large-down,tr.hide-for-xlarge-only,tr.hide-for-xlarge-up,tr.hide-for-xxlarge-only,tr.hide-for-xxlarge-up{display:table-row !important;}th.hide-for-small-only,td.hide-for-small-only,th.show-for-small-up,td.show-for-small-up,th.hide-for-small,td.hide-for-small,th.hide-for-small-down,td.hide-for-small-down,th.show-for-medium-only,td.show-for-medium-only,th.show-for-medium-up,td.show-for-medium-up,th.show-for-medium,td.show-for-medium,th.show-for-medium-down,td.show-for-medium-down,th.hide-for-large-only,td.hide-for-large-only,th.hide-for-large-up,td.hide-for-large-up,th.hide-for-large,td.hide-for-large,th.show-for-large-down,td.show-for-large-down,th.hide-for-xlarge-only,td.hide-for-xlarge-only,th.hide-for-xlarge-up,td.hide-for-xlarge-up,th.hide-for-xxlarge-only,td.hide-for-xxlarge-only,th.hide-for-xxlarge-up,td.hide-for-xxlarge-up{display:table-cell !important;}}@media only screen and (min-width:64.063em){.hide-for-small-only,.show-for-small-up,.hide-for-small,.hide-for-small-down,.hide-for-medium-only,.show-for-medium-up,.hide-for-medium,.hide-for-medium-down,.show-for-large-only,.show-for-large-up,.show-for-large,.show-for-large-down,.hide-for-xlarge-only,.hide-for-xlarge-up,.hide-for-xxlarge-only,.hide-for-xxlarge-up{display:inherit !important;}.show-for-small-only,.hide-for-small-up,.show-for-small,.show-for-small-down,.show-for-medium-only,.hide-for-medium-up,.show-for-medium,.show-for-medium-down,.hide-for-large-only,.hide-for-large-up,.hide-for-large,.hide-for-large-down,.show-for-xlarge-only,.show-for-xlarge-up,.show-for-xxlarge-only,.show-for-xxlarge-up{display:none !important;}table.hide-for-small-only,table.show-for-small-up,table.hide-for-small,table.hide-for-small-down,table.hide-for-medium-only,table.show-for-medium-up,table.hide-for-medium,table.hide-for-medium-down,table.show-for-large-only,table.show-for-large-up,table.show-for-large,table.show-for-large-down,table.hide-for-xlarge-only,table.hide-for-xlarge-up,table.hide-for-xxlarge-only,table.hide-for-xxlarge-up{display:table;}thead.hide-for-small-only,thead.show-for-small-up,thead.hide-for-small,thead.hide-for-small-down,thead.hide-for-medium-only,thead.show-for-medium-up,thead.hide-for-medium,thead.hide-for-medium-down,thead.show-for-large-only,thead.show-for-large-up,thead.show-for-large,thead.show-for-large-down,thead.hide-for-xlarge-only,thead.hide-for-xlarge-up,thead.hide-for-xxlarge-only,thead.hide-for-xxlarge-up{display:table-header-group !important;}tbody.hide-for-small-only,tbody.show-for-small-up,tbody.hide-for-small,tbody.hide-for-small-down,tbody.hide-for-medium-only,tbody.show-for-medium-up,tbody.hide-for-medium,tbody.hide-for-medium-down,tbody.show-for-large-only,tbody.show-for-large-up,tbody.show-for-large,tbody.show-for-large-down,tbody.hide-for-xlarge-only,tbody.hide-for-xlarge-up,tbody.hide-for-xxlarge-only,tbody.hide-for-xxlarge-up{display:table-row-group !important;}tr.hide-for-small-only,tr.show-for-small-up,tr.hide-for-small,tr.hide-for-small-down,tr.hide-for-medium-only,tr.show-for-medium-up,tr.hide-for-medium,tr.hide-for-medium-down,tr.show-for-large-only,tr.show-for-large-up,tr.show-for-large,tr.show-for-large-down,tr.hide-for-xlarge-only,tr.hide-for-xlarge-up,tr.hide-for-xxlarge-only,tr.hide-for-xxlarge-up{display:table-row !important;}th.hide-for-small-only,td.hide-for-small-only,th.show-for-small-up,td.show-for-small-up,th.hide-for-small,td.hide-for-small,th.hide-for-small-down,td.hide-for-small-down,th.hide-for-medium-only,td.hide-for-medium-only,th.show-for-medium-up,td.show-for-medium-up,th.hide-for-medium,td.hide-for-medium,th.hide-for-medium-down,td.hide-for-medium-down,th.show-for-large-only,td.show-for-large-only,th.show-for-large-up,td.show-for-large-up,th.show-for-large,td.show-for-large,th.show-for-large-down,td.show-for-large-down,th.hide-for-xlarge-only,td.hide-for-xlarge-only,th.hide-for-xlarge-up,td.hide-for-xlarge-up,th.hide-for-xxlarge-only,td.hide-for-xxlarge-only,th.hide-for-xxlarge-up,td.hide-for-xxlarge-up{display:table-cell !important;}}@media only screen and (min-width:90.063em){.hide-for-small-only,.show-for-small-up,.hide-for-small,.hide-for-small-down,.hide-for-medium-only,.show-for-medium-up,.hide-for-medium,.hide-for-medium-down,.hide-for-large-only,.show-for-large-up,.hide-for-large,.hide-for-large-down,.show-for-xlarge-only,.show-for-xlarge-up,.hide-for-xxlarge-only,.hide-for-xxlarge-up{display:inherit !important;}.show-for-small-only,.hide-for-small-up,.show-for-small,.show-for-small-down,.show-for-medium-only,.hide-for-medium-up,.show-for-medium,.show-for-medium-down,.show-for-large-only,.hide-for-large-up,.show-for-large,.show-for-large-down,.hide-for-xlarge-only,.hide-for-xlarge-up,.show-for-xxlarge-only,.show-for-xxlarge-up{display:none !important;}table.hide-for-small-only,table.show-for-small-up,table.hide-for-small,table.hide-for-small-down,table.hide-for-medium-only,table.show-for-medium-up,table.hide-for-medium,table.hide-for-medium-down,table.hide-for-large-only,table.show-for-large-up,table.hide-for-large,table.hide-for-large-down,table.show-for-xlarge-only,table.show-for-xlarge-up,table.hide-for-xxlarge-only,table.hide-for-xxlarge-up{display:table;}thead.hide-for-small-only,thead.show-for-small-up,thead.hide-for-small,thead.hide-for-small-down,thead.hide-for-medium-only,thead.show-for-medium-up,thead.hide-for-medium,thead.hide-for-medium-down,thead.hide-for-large-only,thead.show-for-large-up,thead.hide-for-large,thead.hide-for-large-down,thead.show-for-xlarge-only,thead.show-for-xlarge-up,thead.hide-for-xxlarge-only,thead.hide-for-xxlarge-up{display:table-header-group !important;}tbody.hide-for-small-only,tbody.show-for-small-up,tbody.hide-for-small,tbody.hide-for-small-down,tbody.hide-for-medium-only,tbody.show-for-medium-up,tbody.hide-for-medium,tbody.hide-for-medium-down,tbody.hide-for-large-only,tbody.show-for-large-up,tbody.hide-for-large,tbody.hide-for-large-down,tbody.show-for-xlarge-only,tbody.show-for-xlarge-up,tbody.hide-for-xxlarge-only,tbody.hide-for-xxlarge-up{display:table-row-group !important;}tr.hide-for-small-only,tr.show-for-small-up,tr.hide-for-small,tr.hide-for-small-down,tr.hide-for-medium-only,tr.show-for-medium-up,tr.hide-for-medium,tr.hide-for-medium-down,tr.hide-for-large-only,tr.show-for-large-up,tr.hide-for-large,tr.hide-for-large-down,tr.show-for-xlarge-only,tr.show-for-xlarge-up,tr.hide-for-xxlarge-only,tr.hide-for-xxlarge-up{display:table-row !important;}th.hide-for-small-only,td.hide-for-small-only,th.show-for-small-up,td.show-for-small-up,th.hide-for-small,td.hide-for-small,th.hide-for-small-down,td.hide-for-small-down,th.hide-for-medium-only,td.hide-for-medium-only,th.show-for-medium-up,td.show-for-medium-up,th.hide-for-medium,td.hide-for-medium,th.hide-for-medium-down,td.hide-for-medium-down,th.hide-for-large-only,td.hide-for-large-only,th.show-for-large-up,td.show-for-large-up,th.hide-for-large,td.hide-for-large,th.hide-for-large-down,td.hide-for-large-down,th.show-for-xlarge-only,td.show-for-xlarge-only,th.show-for-xlarge-up,td.show-for-xlarge-up,th.hide-for-xxlarge-only,td.hide-for-xxlarge-only,th.hide-for-xxlarge-up,td.hide-for-xxlarge-up{display:table-cell !important;}}@media only screen and (min-width:120.063em){.hide-for-small-only,.show-for-small-up,.hide-for-small,.hide-for-small-down,.hide-for-medium-only,.show-for-medium-up,.hide-for-medium,.hide-for-medium-down,.hide-for-large-only,.show-for-large-up,.hide-for-large,.hide-for-large-down,.hide-for-xlarge-only,.show-for-xlarge-up,.show-for-xxlarge-only,.show-for-xxlarge-up{display:inherit !important;}.show-for-small-only,.hide-for-small-up,.show-for-small,.show-for-small-down,.show-for-medium-only,.hide-for-medium-up,.show-for-medium,.show-for-medium-down,.show-for-large-only,.hide-for-large-up,.show-for-large,.show-for-large-down,.show-for-xlarge-only,.hide-for-xlarge-up,.hide-for-xxlarge-only,.hide-for-xxlarge-up{display:none !important;}table.hide-for-small-only,table.show-for-small-up,table.hide-for-small,table.hide-for-small-down,table.hide-for-medium-only,table.show-for-medium-up,table.hide-for-medium,table.hide-for-medium-down,table.hide-for-large-only,table.show-for-large-up,table.hide-for-large,table.hide-for-large-down,table.hide-for-xlarge-only,table.show-for-xlarge-up,table.show-for-xxlarge-only,table.show-for-xxlarge-up{display:table;}thead.hide-for-small-only,thead.show-for-small-up,thead.hide-for-small,thead.hide-for-small-down,thead.hide-for-medium-only,thead.show-for-medium-up,thead.hide-for-medium,thead.hide-for-medium-down,thead.hide-for-large-only,thead.show-for-large-up,thead.hide-for-large,thead.hide-for-large-down,thead.hide-for-xlarge-only,thead.show-for-xlarge-up,thead.show-for-xxlarge-only,thead.show-for-xxlarge-up{display:table-header-group !important;}tbody.hide-for-small-only,tbody.show-for-small-up,tbody.hide-for-small,tbody.hide-for-small-down,tbody.hide-for-medium-only,tbody.show-for-medium-up,tbody.hide-for-medium,tbody.hide-for-medium-down,tbody.hide-for-large-only,tbody.show-for-large-up,tbody.hide-for-large,tbody.hide-for-large-down,tbody.hide-for-xlarge-only,tbody.show-for-xlarge-up,tbody.show-for-xxlarge-only,tbody.show-for-xxlarge-up{display:table-row-group !important;}tr.hide-for-small-only,tr.show-for-small-up,tr.hide-for-small,tr.hide-for-small-down,tr.hide-for-medium-only,tr.show-for-medium-up,tr.hide-for-medium,tr.hide-for-medium-down,tr.hide-for-large-only,tr.show-for-large-up,tr.hide-for-large,tr.hide-for-large-down,tr.hide-for-xlarge-only,tr.show-for-xlarge-up,tr.show-for-xxlarge-only,tr.show-for-xxlarge-up{display:table-row !important;}th.hide-for-small-only,td.hide-for-small-only,th.show-for-small-up,td.show-for-small-up,th.hide-for-small,td.hide-for-small,th.hide-for-small-down,td.hide-for-small-down,th.hide-for-medium-only,td.hide-for-medium-only,th.show-for-medium-up,td.show-for-medium-up,th.hide-for-medium,td.hide-for-medium,th.hide-for-medium-down,td.hide-for-medium-down,th.hide-for-large-only,td.hide-for-large-only,th.show-for-large-up,td.show-for-large-up,th.hide-for-large,td.hide-for-large,th.hide-for-large-down,td.hide-for-large-down,th.hide-for-xlarge-only,td.hide-for-xlarge-only,th.show-for-xlarge-up,td.show-for-xlarge-up,th.show-for-xxlarge-only,td.show-for-xxlarge-only,th.show-for-xxlarge-up,td.show-for-xxlarge-up{display:table-cell !important;}}.show-for-landscape,.hide-for-portrait{display:inherit !important;}.hide-for-landscape,.show-for-portrait{display:none !important;}table.hide-for-landscape,table.show-for-portrait{display:table;}thead.hide-for-landscape,thead.show-for-portrait{display:table-header-group !important;}tbody.hide-for-landscape,tbody.show-for-portrait{display:table-row-group !important;}tr.hide-for-landscape,tr.show-for-portrait{display:table-row !important;}td.hide-for-landscape,td.show-for-portrait,th.hide-for-landscape,th.show-for-portrait{display:table-cell !important;}@media only screen and (orientation: landscape){.show-for-landscape,.hide-for-portrait{display:inherit !important;}.hide-for-landscape,.show-for-portrait{display:none !important;}table.show-for-landscape,table.hide-for-portrait{display:table;}thead.show-for-landscape,thead.hide-for-portrait{display:table-header-group !important;}tbody.show-for-landscape,tbody.hide-for-portrait{display:table-row-group !important;}tr.show-for-landscape,tr.hide-for-portrait{display:table-row !important;}td.show-for-landscape,td.hide-for-portrait,th.show-for-landscape,th.hide-for-portrait{display:table-cell !important;}}@media only screen and (orientation: portrait){.show-for-portrait,.hide-for-landscape{display:inherit !important;}.hide-for-portrait,.show-for-landscape{display:none !important;}table.show-for-portrait,table.hide-for-landscape{display:table;}thead.show-for-portrait,thead.hide-for-landscape{display:table-header-group !important;}tbody.show-for-portrait,tbody.hide-for-landscape{display:table-row-group !important;}tr.show-for-portrait,tr.hide-for-landscape{display:table-row !important;}td.show-for-portrait,td.hide-for-landscape,th.show-for-portrait,th.hide-for-landscape{display:table-cell !important;}}.show-for-touch{display:none !important;}.hide-for-touch{display:inherit !important;}.touch .show-for-touch{display:inherit !important;}.touch .hide-for-touch{display:none !important;}table.hide-for-touch{display:table;}.touch table.show-for-touch{display:table;}thead.hide-for-touch{display:table-header-group !important;}.touch thead.show-for-touch{display:table-header-group !important;}tbody.hide-for-touch{display:table-row-group !important;}.touch tbody.show-for-touch{display:table-row-group !important;}tr.hide-for-touch{display:table-row !important;}.touch tr.show-for-touch{display:table-row !important;}td.hide-for-touch{display:table-cell !important;}.touch td.show-for-touch{display:table-cell !important;}th.hide-for-touch{display:table-cell !important;}.touch th.show-for-touch{display:table-cell !important;}.text-left{text-align:left !important;}.text-right{text-align:right !important;}.text-center{text-align:center !important;}.text-justify{text-align:justify !important;}@media only screen and (max-width: 40em){.small-only-text-left{text-align:left !important;}.small-only-text-right{text-align:right !important;}.small-only-text-center{text-align:center !important;}.small-only-text-justify{text-align:justify !important;}}@media only screen{.small-text-left{text-align:left !important;}.small-text-right{text-align:right !important;}.small-text-center{text-align:center !important;}.small-text-justify{text-align:justify !important;}}@media only screen and (min-width:40.063em) and (max-width:64em){.medium-only-text-left{text-align:left !important;}.medium-only-text-right{text-align:right !important;}.medium-only-text-center{text-align:center !important;}.medium-only-text-justify{text-align:justify !important;}}@media only screen and (min-width:40.063em){.medium-text-left{text-align:left !important;}.medium-text-right{text-align:right !important;}.medium-text-center{text-align:center !important;}.medium-text-justify{text-align:justify !important;}}@media only screen and (min-width:64.063em) and (max-width:90em){.large-only-text-left{text-align:left !important;}.large-only-text-right{text-align:right !important;}.large-only-text-center{text-align:center !important;}.large-only-text-justify{text-align:justify !important;}}@media only screen and (min-width:64.063em){.large-text-left{text-align:left !important;}.large-text-right{text-align:right !important;}.large-text-center{text-align:center !important;}.large-text-justify{text-align:justify !important;}}@media only screen and (min-width:90.063em) and (max-width:120em){.xlarge-only-text-left{text-align:left !important;}.xlarge-only-text-right{text-align:right !important;}.xlarge-only-text-center{text-align:center !important;}.xlarge-only-text-justify{text-align:justify !important;}}@media only screen and (min-width:90.063em){.xlarge-text-left{text-align:left !important;}.xlarge-text-right{text-align:right !important;}.xlarge-text-center{text-align:center !important;}.xlarge-text-justify{text-align:justify !important;}}@media only screen and (min-width:120.063em) and (max-width:99999999em){.xxlarge-only-text-left{text-align:left !important;}.xxlarge-only-text-right{text-align:right !important;}.xxlarge-only-text-center{text-align:center !important;}.xxlarge-only-text-justify{text-align:justify !important;}}@media only screen and (min-width:120.063em){.xxlarge-text-left{text-align:left !important;}.xxlarge-text-right{text-align:right !important;}.xxlarge-text-center{text-align:center !important;}.xxlarge-text-justify{text-align:justify !important;}}div,dl,dt,dd,ul,ol,li,h1,h2,#menu,h3,h4,h5,h6,pre,form,p,blockquote,th,td{margin:0;padding:0;}a{color:#7c0c1b;text-decoration:none;line-height:inherit;}a:hover,a:focus{color:#6b0b17;}a img{border:none;}p{font-family:inherit;font-weight:normal;font-size:1rem;line-height:1.6;margin-bottom:1.25rem;text-rendering:optimizeLegibility;}p.lead{font-size:1.21875rem;line-height:1.6;}p aside{font-size:0.875rem;line-height:1.35;font-style:italic;}h1,h2,#menu,h3,h4,h5,h6{font-family:Arvo,Georgia,serif;font-weight:normal;font-style:normal;color:#404040;text-rendering:optimizeLegibility;margin-top:0.2rem;margin-bottom:0.5rem;line-height:1.4;}h1 small,h2 small,h2 #menu,h3 small,h4 small,h5 small,h6 small{font-size:60%;color:#838383;line-height:0;}h1{font-size:2.125rem;}h2,#menu{font-size:1.6875rem;}h3{font-size:1.375rem;}h4{font-size:1.125rem;}h5{font-size:1.125rem;}h6{font-size:1rem;}.subheader{line-height:1.4;color:#838383;font-weight:normal;margin-top:0.2rem;margin-bottom:0.5rem;}hr{border:solid #ddd;border-width:1px 0 0;clear:both;margin:1.25rem 0 1.1875rem;height:0;}em,i{font-style:italic;line-height:inherit;}strong,b{font-weight:bold;line-height:inherit;}small{font-size:60%;line-height:inherit;}code{font-family:Consolas,'Liberation Mono',Courier,monospace;font-weight:bold;color:#bd240d;}ul,ol,dl{font-size:1rem;line-height:1.6;margin-bottom:1.25rem;list-style-position:outside;font-family:inherit;}ul{margin-left:1.1rem;}ul.no-bullet{margin-left:0;}ul.no-bullet li ul,ul.no-bullet li ol{margin-left:1.25rem;margin-bottom:0;list-style:none;}ul li ul,ul li ol{margin-left:1.25rem;margin-bottom:0;}ul.square li ul,ul.circle li ul,ul.disc li ul{list-style:inherit;}ul.square{list-style-type:square;margin-left:1.1rem;}ul.circle{list-style-type:circle;margin-left:1.1rem;}ul.disc{list-style-type:disc;margin-left:1.1rem;}ul.no-bullet{list-style:none;}ol{margin-left:1.4rem;}ol li ul,ol li ol{margin-left:1.25rem;margin-bottom:0;}dl dt{margin-bottom:0.3rem;font-weight:bold;}dl dd{margin-bottom:0.75rem;}abbr,acronym{text-transform:uppercase;font-size:90%;color:#222;border-bottom:1px dotted #ddd;cursor:help;}abbr{text-transform:none;}blockquote{margin:0 0 1.25rem;padding:0.5625rem 1.25rem 0 1.1875rem;border-left:1px solid #ddd;}blockquote cite{display:block;font-size:0.8125rem;color:#6c6c6c;}blockquote cite:before{content:"\2014 \0020";}blockquote cite a,blockquote cite a:visited{color:#6c6c6c;}blockquote,blockquote p{line-height:1.6;color:#838383;}.vcard{display:inline-block;margin:0 0 1.25rem 0;border:1px solid #ddd;padding:0.625rem 0.75rem;}.vcard li{margin:0;display:block;}.vcard .fn{font-weight:bold;font-size:0.9375rem;}.vevent .summary{font-weight:bold;}.vevent abbr{cursor:default;text-decoration:none;font-weight:bold;border:none;padding:0 0.0625rem;}@media only screen and (min-width:40.063em){h1,h2,#menu,h3,h4,h5,h6{line-height:1.4;}h1{font-size:2.75rem;}h2,#menu{font-size:2.3125rem;}h3{font-size:1.6875rem;}h4{font-size:1.4375rem;}}.print-only{display:none !important;}@media print{@page{margin:0.5cm;}*{background:transparent !important;color:#000 !important;-webkit-box-shadow:none !important;box-shadow:none !important;text-shadow:none !important;}a,a:visited{text-decoration:underline;}a[href]:after{content:" (" attr(href) ")";}abbr[title]:after{content:" (" attr(title) ")";}.ir a:after,a[href^="javascript:"]:after,a[href^="#"]:after{content:"";}pre,blockquote{border:1px solid #999;page-break-inside:avoid;}thead{display:table-header-group;}tr,img{page-break-inside:avoid;}img{max-width:100% !important;}p,h2,#menu,h3{orphans:3;widows:3;}h2,#menu,h3{page-break-after:avoid;}.hide-on-print{display:none !important;}.print-only{display:block !important;}.hide-for-print{display:none !important;}.show-for-print{display:inherit !important;}}body a{text-decoration:none;}body ul{list-style:disc;padding-left:25px;}body ul li{display:list-item;}body strong{font-weight:bold;}body p{margin-top:5px;margin-bottom:5px;}body em{font-style:italic;}#ribbon img{position:absolute;right:0;top:0;margin:0px;padding:0px;z-index:1;}#site-header{background-color:#650A15;min-width:100%;height:150px;padding-top:25px;padding-bottom:25px;position:relative;margin-bottom:10px;}#site-header #header-container{width:100%;margin-left:auto;margin-right:auto;margin-top:0;margin-bottom:0;max-width:90rem;*zoom:1;}#site-header #header-container:before,#site-header #header-container:after{content:" ";display:table;}#site-header #header-container:after{clear:both;}#site-header #header-container .site-title{padding-left:0.9375rem;padding-right:0.9375rem;width:50%;float:left;}#site-header #header-container .site-title .logo{background:url('../img/teater_neuf_logo.png') no-repeat;display:inline-block;width:185px;height:120px;margin-top:10px;text-indent:-9999px;position:relative;bottom:10px;}#menu{padding-left:0.9375rem;padding-right:0.9375rem;width:50%;float:left;position:relative;top:36px;text-transform:uppercase;}#menu a{color:#ffffff;text-decoration:none;}#menu ul{list-style-type:none;margin:0px;padding:0px;display:inline;}#menu ul ul{position:absolute;display:none;margin:0;}#menu ul li{margin:0px;padding:0px;display:inline;float:left;position:relative;}#menu ul li:hover ul,#menu ul li:focus ul{display:block;z-index:9;color:white;background:#37050c;}#menu ul li a{display:block;padding:20px 25px;text-decoration:none;border-right:1px solid #FFFFE1;position:relative;}#menu ul li a:hover,#menu ul li a .current{color:white;background:#37050c;}#menu ul li .sub-menu li{position:relative;}#menu ul li .sub-menu li a{border:0px;}#menu ul li:first-child{padding-left:0px;}#content{width:100%;margin-left:auto;margin-right:auto;margin-top:0;margin-bottom:0;max-width:90rem;*zoom:1;}#content:before,#content:after{content:" ";display:table;}#content:after{clear:both;}#content #featured{padding-left:0.9375rem;padding-right:0.9375rem;width:100%;float:left;padding-bottom:25px;}#content #featured a h1{color:#000;}#content #featured #prevLink{display:inline-block;width:0;height:0;border-top:8px solid transparent;border-bottom:8px solid transparent;border-right:16px solid #650A15;cursor:pointer;}#content #featured #prevLink:hover{border-right:16px solid #c2132a;}#content #featured #nextLink{display:inline-block;width:0;height:0;border-top:8px solid transparent;border-bottom:8px solid transparent;border-left:16px solid #650A15;cursor:pointer;}#content #featured #nextLink:hover{border-left:16px solid #c2132a;}#content #featured #slidernav{display:inline-block;}#content #featured #slidernav a{content:'';background:#c2132a;border-radius:50%;width:16px;height:16px;display:inline-block;z-index:10;margin-left:4px;margin-right:4px;}#content #featured #slidernav a.activeSlide{background:#650A15;}#content #featured #slider-buttons{position:relative;top:350px;z-index:10;}#content #featured #slider .featured-text{padding-left:0.9375rem;padding-right:0.9375rem;width:50%;float:left;height:328px;}#content #featured #slider .featured-text .entry-meta{position:absolute;bottom:6px;color:#fff;background:#999999;padding:4px;}#content #featured #slider .featured-text .entry-meta .datetime{padding-left:0.9375rem;padding-right:0.9375rem;width:16.66667%;float:left;}#content #featured #slider .featured-text .entry-meta .venue{padding-left:0.9375rem;padding-right:0.9375rem;width:16.66667%;float:left;}#content #featured #slider .featured-text .entry-meta .price{padding-left:0.9375rem;padding-right:0.9375rem;width:16.66667%;float:left;}#content #featured #slider .featured-image{padding-left:0.9375rem;padding-right:0.9375rem;width:50%;float:left;}#content #digest-news{padding-left:0.9375rem;padding-right:0.9375rem;width:100%;float:left;margin-top:10px;}#content #digest-news h2 a,#content #digest-news h2 #menu{color:#000;}#content #digest-news .news-entry{padding-left:0.9375rem;padding-right:0.9375rem;width:33.33333%;float:left;}#content #digest-news .news-entry .entry-meta{font-size:12px;line-height:1em;padding-bottom:10px;}#content .body{padding-left:0.9375rem;padding-right:0.9375rem;width:50%;float:left;margin-bottom:25px;}#content .featured-image{padding-left:0.9375rem;padding-right:0.9375rem;width:50%;float:left;}#content #social-sharing{margin-top:10px;}#content #social-sharing .share-twitter{display:inline-block;}#content #social-sharing .share-facebook{display:inline-block;position:relative;bottom:3px;}#content .byline{color:#aaa;}#content .byline .author{color:#000;font-weight:bold;}#content .entry-content{margin-top:15px;}#content .text-body{padding-left:0.9375rem;padding-right:0.9375rem;width:50%;float:left;margin-bottom:20px;}#content .thumbnail{padding-left:0.9375rem;padding-right:0.9375rem;width:50%;float:left;margin-bottom:20px;}#content .page-title{margin-left:10px;}#content #posts-nav-link{padding-left:0.9375rem;padding-right:0.9375rem;width:100%;float:left;}#site-footer{background-color:#650A15;min-width:100%;margin-top:25px;padding-top:25px;padding-bottom:25px;color:#fff;}#site-footer a{color:#fff;text-decoration:none;}#site-footer a:link{color:#fff;}#site-footer a:hover{text-decoration:underline;}#site-footer a:active{color:#fff;}#site-footer #footer-container{width:100%;margin-left:auto;margin-right:auto;margin-top:0;margin-bottom:0;max-width:90rem;*zoom:1;}#site-footer #footer-container:before,#site-footer #footer-container:after{content:" ";display:table;}#site-footer #footer-container:after{clear:both;}#site-footer #footer-container #footer-about{padding-left:0.9375rem;padding-right:0.9375rem;width:50%;float:left;font-size:0.875rem;}#site-footer #footer-container #footer-about ul{list-style:none;display:inline-block;margin:0;padding:0;}#site-footer #footer-container #footer-about ul li.social-icon{display:inline-block;margin:0;padding:0;}#site-footer #footer-container #footer-about ul li.social-icon a{border:0px;}#site-footer #footer-container #footer-about ul li.social-icon a:first-child{padding-right:20px;}#site-footer #kolofon{width:100%;margin-left:auto;margin-right:auto;margin-top:0;margin-bottom:0;max-width:90rem;*zoom:1;}#site-footer #kolofon:before,#site-footer #kolofon:after{content:" ";display:table;}#site-footer #kolofon:after{clear:both;}#site-footer #kolofon #kolofon-text{padding-left:0.9375rem;padding-right:0.9375rem;width:100%;float:left;margin-top:25px;}.credits-wrap{width:100%;margin-left:auto;margin-right:auto;margin-top:0;margin-bottom:0;max-width:90rem;*zoom:1;}.credits-wrap:before,.credits-wrap:after{content:" ";display:table;}.credits-wrap:after{clear:both;}.credits-wrap .credits{margin-top:25px;padding-left:0.9375rem;padding-right:0.9375rem;width:100%;float:left;text-align:center;color:#666;font-size:0.75rem;}.love{color:#faafba;} \ No newline at end of file diff --git a/wp-content/themes/tn-2014/digest.php b/wp-content/themes/tn-2014/digest.php old mode 100755 new mode 100644 diff --git a/wp-content/themes/tn-2014/eventmeta-single.php b/wp-content/themes/tn-2014/eventmeta-single.php deleted file mode 100755 index 0853a6a..0000000 --- a/wp-content/themes/tn-2014/eventmeta-single.php +++ /dev/null @@ -1,22 +0,0 @@ -
-neuf_event_venue = get_post_meta(get_the_ID(), '_neuf_events_venue',true); -$ticket = get_post_meta(get_the_id(), '_neuf_events_bs_url',true); -if ( 'Annet' != $post->neuf_event_venue ) { -?> - -

- - - -
- - - - - CC: - - Kjøp billett' : ""; ?> -
- neuf_event_venue; ?> -
- diff --git a/wp-content/themes/tn-2014/eventmeta.php b/wp-content/themes/tn-2014/eventmeta.php deleted file mode 100755 index 2339676..0000000 --- a/wp-content/themes/tn-2014/eventmeta.php +++ /dev/null @@ -1,20 +0,0 @@ -
-neuf_event_venue = get_post_meta(get_the_id(), '_neuf_events_venue',true); -$ticket = get_post_meta(get_the_id(), '_neuf_events_bs_url',true); -if ( 'Annet' != $post->neuf_event_venue ) { -?> - neuf_event_venue; ?> - - -
- -
- - - - CC: - Kjøp billett' : ""; ?> - -
-
- diff --git a/wp-content/themes/tn-2014/eventslider.php b/wp-content/themes/tn-2014/eventslider.php old mode 100755 new mode 100644 diff --git a/wp-content/themes/tn-2014/flowplayer-3.2.6.min.js b/wp-content/themes/tn-2014/flowplayer-3.2.6.min.js deleted file mode 100644 index 500492e..0000000 --- a/wp-content/themes/tn-2014/flowplayer-3.2.6.min.js +++ /dev/null @@ -1,24 +0,0 @@ -/* - * flowplayer.js 3.2.6. The Flowplayer API - * - * Copyright 2009-2011 Flowplayer Oy - * - * This file is part of Flowplayer. - * - * Flowplayer is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Flowplayer is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Flowplayer. If not, see . - * - * Date: 2011-02-04 05:45:28 -0500 (Fri, 04 Feb 2011) - * Revision: 614 - */ -(function(){function g(o){console.log("$f.fireEvent",[].slice.call(o))}function k(q){if(!q||typeof q!="object"){return q}var o=new q.constructor();for(var p in q){if(q.hasOwnProperty(p)){o[p]=k(q[p])}}return o}function m(t,q){if(!t){return}var o,p=0,r=t.length;if(r===undefined){for(o in t){if(q.call(t[o],o,t[o])===false){break}}}else{for(var s=t[0];p1){var t=arguments[1],q=(arguments.length==3)?arguments[2]:{};if(typeof t=="string"){t={src:t}}t=i({bgcolor:"#000000",version:[9,0],expressInstall:"http://static.flowplayer.org/swf/expressinstall.swf",cachebusting:false},t);if(typeof o=="string"){if(o.indexOf(".")!=-1){var s=[];m(n(o),function(){s.push(new b(this,k(t),k(q)))});return new d(s)}else{var r=c(o);return new b(r!==null?r:o,t,q)}}else{if(o){return new b(o,t,q)}}}return null};i(window.$f,{fireEvent:function(){var o=[].slice.call(arguments);var q=$f(o[0]);return q?q._fireEvent(o.slice(1)):null},addPlugin:function(o,p){b.prototype[o]=p;return $f},each:m,extend:i});if(typeof jQuery=="function"){jQuery.fn.flowplayer=function(q,p){if(!arguments.length||typeof arguments[0]=="number"){var o=[];this.each(function(){var r=$f(this);if(r){o.push(r)}});return arguments.length?o[arguments[0]]:new d(o)}return this.each(function(){$f(this,k(q),p?k(p):{})})}}})();(function(){var e=typeof jQuery=="function";var i={width:"100%",height:"100%",allowfullscreen:true,allowscriptaccess:"always",quality:"high",version:null,onFail:null,expressInstall:null,w3c:false,cachebusting:false};if(e){jQuery.tools=jQuery.tools||{};jQuery.tools.flashembed={version:"1.0.4",conf:i}}function j(){if(c.done){return false}var l=document;if(l&&l.getElementsByTagName&&l.getElementById&&l.body){clearInterval(c.timer);c.timer=null;for(var k=0;k'}q.width=q.height=q.id=q.w3c=q.src=null;for(var l in q){if(q[l]!==null){n+=''}}var o="";if(t){for(var m in t){if(t[m]!==null){o+=m+"="+(typeof t[m]=="object"?g(t[m]):t[m])+"&"}}o=o.substring(0,o.length-1);n+='"}n+="";return n}function d(m,p,l){var k=flashembed.getVersion();f(this,{getContainer:function(){return m},getConf:function(){return p},getVersion:function(){return k},getFlashvars:function(){return l},getApi:function(){return m.firstChild},getHTML:function(){return a(p,l)}});var q=p.version;var r=p.expressInstall;var o=!q||flashembed.isSupported(q);if(o){p.onFail=p.version=p.expressInstall=null;m.innerHTML=a(p,l)}else{if(q&&r&&flashembed.isSupported([6,65])){f(p,{src:r});l={MMredirectURL:location.href,MMplayerType:"PlugIn",MMdoctitle:document.title};m.innerHTML=a(p,l)}else{if(m.innerHTML.replace(/\s/g,"")!==""){}else{m.innerHTML="

Flash version "+q+" or greater is required

"+(k[0]>0?"Your version is "+k:"You have no flash plugin installed")+"

"+(m.tagName=="A"?"

Click here to download latest version

":"

Download latest version from here

");if(m.tagName=="A"){m.onclick=function(){location.href="http://www.adobe.com/go/getflashplayer"}}}}}if(!o&&p.onFail){var n=p.onFail.call(this);if(typeof n=="string"){m.innerHTML=n}}if(document.all){window[p.id]=document.getElementById(p.id)}}window.flashembed=function(l,m,k){if(typeof l=="string"){var n=document.getElementById(l);if(n){l=n}else{c(function(){flashembed(l,m,k)});return}}if(!l){return}if(typeof m=="string"){m={src:m}}var o=f({},i);f(o,m);return new d(l,o,k)};f(window.flashembed,{getVersion:function(){var m=[0,0];if(navigator.plugins&&typeof navigator.plugins["Shockwave Flash"]=="object"){var l=navigator.plugins["Shockwave Flash"].description;if(typeof l!="undefined"){l=l.replace(/^.*\s+(\S+\s+\S+$)/,"$1");var n=parseInt(l.replace(/^(.*)\..*$/,"$1"),10);var r=/r/.test(l)?parseInt(l.replace(/^.*r(.*)$/,"$1"),10):0;m=[n,r]}}else{if(window.ActiveXObject){try{var p=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7")}catch(q){try{p=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");m=[6,0];p.AllowScriptAccess="always"}catch(k){if(m[0]==6){return m}}try{p=new ActiveXObject("ShockwaveFlash.ShockwaveFlash")}catch(o){}}if(typeof p=="object"){l=p.GetVariable("$version");if(typeof l!="undefined"){l=l.replace(/^\S+\s+(.*)$/,"$1").split(",");m=[parseInt(l[0],10),parseInt(l[2],10)]}}}}return m},isSupported:function(k){var m=flashembed.getVersion();var l=(m[0]>k[0])||(m[0]==k[0]&&m[1]>=k[1]);return l},domReady:c,asString:g,getHTML:a});if(e){jQuery.fn.flashembed=function(l,k){var m=null;this.each(function(){m=flashembed(this,l,k)});return l.api===false?this:m}}})(); \ No newline at end of file diff --git a/wp-content/themes/tn-2014/flowplayer-3.2.7.swf b/wp-content/themes/tn-2014/flowplayer-3.2.7.swf deleted file mode 100644 index 20a4119..0000000 Binary files a/wp-content/themes/tn-2014/flowplayer-3.2.7.swf and /dev/null differ diff --git a/wp-content/themes/tn-2014/flowplayer.controls-3.2.5.swf b/wp-content/themes/tn-2014/flowplayer.controls-3.2.5.swf deleted file mode 100644 index 5507a53..0000000 Binary files a/wp-content/themes/tn-2014/flowplayer.controls-3.2.5.swf and /dev/null differ diff --git a/wp-content/themes/tn-2014/footer.php b/wp-content/themes/tn-2014/footer.php old mode 100755 new mode 100644 index d09f628..80f6327 --- a/wp-content/themes/tn-2014/footer.php +++ b/wp-content/themes/tn-2014/footer.php @@ -1,20 +1,28 @@
+
+
Laget med ♥ av KAK
+
diff --git a/wp-content/themes/tn-2014/front-page.php b/wp-content/themes/tn-2014/front-page.php old mode 100755 new mode 100644 diff --git a/wp-content/themes/tn-2014/functions.php b/wp-content/themes/tn-2014/functions.php index ca19aa1..b7516c7 100644 --- a/wp-content/themes/tn-2014/functions.php +++ b/wp-content/themes/tn-2014/functions.php @@ -5,11 +5,8 @@ add_theme_support( 'automatic-feed-links' ); $content_width = 770; -add_image_size( 'two-column-thumb' , 170 , 69 , true ); -add_image_size( 'four-column-thumb' , 370 , 150 , true ); add_image_size( 'six-column-promo' , 570 , 322 , true ); add_image_size( 'six-column-slim' , 570 , 161 , true ); -add_image_size( 'association-thumb' , 270 , 250, false ); /** * Register navigation menus. @@ -183,41 +180,6 @@ function neuf_doctitle() { echo $doctitle; } // end neuf_doctitle -/** - * Should return true if the file displaying the current page is defined as part of the given section. - * - * @todo Do we need this in a WordPress theme? misund 2012-12-18 - */ -function is_in_section($section) { - switch ($section) { - case 'program': - if ( in_array(get_requested_file(),array('prog','konsepter','konsept','booking','vis')) ) - return true; - break; - case 'foreninger': - if ( in_array(get_requested_file(),array('foreninger')) ) - return true; - break; - case 'forum': - if ( substr($_SERVER['REQUEST_URI'],1,5) == 'forum' ) - return true; - break; - case 'inside': - if ( substr($_SERVER['REQUEST_URI'],1,6) == 'inside' || in_array(get_requested_file(),array('aktive')) ) - return true; - break; - case 'nyheter': - if ( in_array(get_requested_file(),array('nyheter','nyhet')) ) - return true; - break; - case 'forside': - if ( !( is_in_section('program') || is_in_section('foreninger') || is_in_section('medlem') || is_in_section('forum') || is_in_section('inside') || is_in_section('nyheter') ) ) - return true; - break; - default: - return false; - } -} /** @@ -269,24 +231,6 @@ function neuf_maybe_display_gallery() { echo do_shortcode( '[gallery]' ); } -function neuf_event_format_date($timestamp) { - return date_i18n('d/n', intval($timestamp)); -} - -/** - * Takes 2 date strings in $format. - * - * Returns the difference in days * 2, for use in - * a grid based layout on the program page. - */ -function neuf_event_day_gap_size($current_day,$previous_day) { - $format = '%Y-%m-%d'; - $prev = new DateTime($previous_day); - $cur = new DateTime($current_day); - $diff = $prev->diff($cur)->d; - return ($diff - 1) * 2; -} - /** * Trims $text down to $length words. * If $text is truncated, then "[..]" is appended. diff --git a/wp-content/themes/tn-2014/header.php b/wp-content/themes/tn-2014/header.php old mode 100755 new mode 100644 index c77a864..743b52a --- a/wp-content/themes/tn-2014/header.php +++ b/wp-content/themes/tn-2014/header.php @@ -1,46 +1,32 @@ - + - + + + + + - + + + - + + - - - - - - - - +> +
+
+ diff --git a/wp-content/themes/tn-2014/header2.php b/wp-content/themes/tn-2014/header2.php deleted file mode 100644 index 0e2084a..0000000 --- a/wp-content/themes/tn-2014/header2.php +++ /dev/null @@ -1,43 +0,0 @@ - - - - - - - - - - - - - - - - - - - - > -
- - - - - - diff --git a/wp-content/themes/tn-2014/img/generate.gif b/wp-content/themes/tn-2014/img/generate.gif new file mode 100644 index 0000000..1452a68 Binary files /dev/null and b/wp-content/themes/tn-2014/img/generate.gif differ diff --git a/wp-content/themes/tn-2014/img/ribbon.gif b/wp-content/themes/tn-2014/img/ribbon.gif new file mode 100644 index 0000000..1452a68 Binary files /dev/null and b/wp-content/themes/tn-2014/img/ribbon.gif differ diff --git a/wp-content/themes/tn-2014/index.php b/wp-content/themes/tn-2014/index.php old mode 100755 new mode 100644 diff --git a/wp-content/themes/tn-2014/js/application.js b/wp-content/themes/tn-2014/js/application.js deleted file mode 100644 index 94c817f..0000000 --- a/wp-content/themes/tn-2014/js/application.js +++ /dev/null @@ -1,42 +0,0 @@ -$(document).ready( function() { - /* Urlize */ - jQuery.fn.urlize = function( base ) { - var x = this.html(); - list = x.match( /\b(http:\/\/|www\.|http:\/\/www\.)[^ ]{2,100}\b/g ); - if ( list ) { - for ( i = 0; i < list.length; i++ ) { - x = x.replace( list[i], ""+ list[i] + "" ); - } - this.html(x); - } - }; - - /* Flickr */ - var flickr_limit = 10; - /* - * Feed alternatives. - * $url = "http://api.flickr.com/services/feeds/photos_public.gne?format=json&tags=" . $tag; - * $url = "http://api.flickr.com/services/feeds/groups_pool.gne?format=json&id=" . $groupid; - * $url = "http://api.flickr.com/services/feeds/groups_pool.gne?id=1292860@N21&lang=en-us&format=json"; - */ - var flickr_feed_url = 'http://api.flickr.com/services/feeds/photos_public.gne?id=48351899@N07&tags=betong&format=json&jsoncallback=?'; - $.getJSON(flickr_feed_url, function(result) { - var html = ""; - - $.each(result.items, function(i, item) { - var sourceSquare = (item.media.m).replace("_m.jpg", "_s.jpg"); - - html += '
  • '; - html += ''; html += item.title + ''; - html += '
  • '; - - if(parseInt(i) == flickr_limit - 1) { - return false; - } - return true; - }); - $("#flickr_feed").html(html); - }); - -}); diff --git a/wp-content/themes/tn-2014/js/front-page.js b/wp-content/themes/tn-2014/js/front-page.js deleted file mode 100755 index 5b4c4cf..0000000 --- a/wp-content/themes/tn-2014/js/front-page.js +++ /dev/null @@ -1,92 +0,0 @@ -function addTwitter() { - /* Twitter feed in footer. */ - var feed = 'https://twitter.com/statuses/user_timeline/dns1813.json?count=10&include_rts=1&callback=?'; - var retweet_url = 'http://twitter.com/intent/retweet?tweet_id='; - var reply_url = 'http://twitter.com/intent/tweet?in_reply_to='; - var tweet_url = 'https://twitter.com/dns1813/status/'; - - var count = 2; // Done this way to ensure at least 2 tweets in allways. - $.getJSON(feed, function(results) { - jQuery.each(results, function(i) { - if (count-- > 0) { - var id = results[i].id_str; - /* relative tweet time */ - /* Format tweet */ - jQuery('#twitter_feed').append('

    ' + results[i].text + '
    * • svar • retweet

    '); - } - }); - - if( !results ) { - $('#twitter_feed').html("Ikke svar fra Twitter."); - } - /* Make links of tweet text */ - jQuery('.tweet_text').each(function(i) { - jQuery(this).urlize(); - }); - }); - -} -function addVimeo() { - var username = 'ostvn'; - var feed_url = "http://vimeo.com/api/v2/" + username + "/videos.json?callback=?"; - - $.getJSON(feed_url, function(videos) { - var latest = videos[0]; - var latest_video = ''; - var description = '

    OSTV

    \n

    ' + latest['title'] + '

    \n

    ' + truncate(latest['description'], 40) + '

    '; - - $("#ostv-latest-description").html(description); - $("#ostv-latest-video").html(latest_video); - }); -} - -/** - * Truncate text down to length words. - * If text is truncated, then "[..]" is appended. - */ -function truncate(text, length) { - org_length = text.length; - text = text.split(" "); // word boundary - text = text.slice(0, length); - text = text.join(" "); - if(org_length != text.length) { - return text + " [...]"; - } - return text; -} - -$(document).ready(function(){ - /* events */ - var events = $('#events'); - var articles = events.find('article').each(function(){ - $(this).hover(function(){ - $(this).find('header.info').children().slideDown('fast'); - }, - function(){ - $(this).find('header.info').find('.price').slideUp('fast'); - $(this).find('header.info').find('.venue').slideUp('fast'); - $(this).find('header.info').find('.type').slideUp('fast'); - }); - }); - - /* - * Eventslider in header. - * Doc: http://jquery.malsup.com/cycle/options.html - */ - $('#slider') - .cycle({ - fx: 'fade', - speed: 'fast', - timeout: 8000, - next: '#nextLink', - prev: '#prevLink', - pager: '#slidernav', - pauseOnPagerHover: 1, - pagerAnchorBuilder: function(index, DOMelement) { - return ''; - }, - }); - - addTwitter(); - addVimeo(); -}); diff --git a/wp-content/themes/tn-2014/js/html5shiv.js b/wp-content/themes/tn-2014/js/html5shiv.js deleted file mode 100644 index 8dab2e1..0000000 --- a/wp-content/themes/tn-2014/js/html5shiv.js +++ /dev/null @@ -1,220 +0,0 @@ -/*! HTML5 Shiv vpre3.6 | @afarkas @jdalton @jon_neal @rem | MIT/GPL2 Licensed */ -;(function(window, document) { - - /** Preset options */ - var options = window.html5 || {}; - - /** Used to skip problem elements */ - var reSkip = /^<|^(?:button|form|map|select|textarea|object|iframe|option|optgroup)$/i; - - /** Not all elements can be cloned in IE (this list can be shortend) **/ - var saveClones = /^<|^(?:a|b|button|code|div|fieldset|form|h1|h2|h3|h4|h5|h6|i|iframe|img|input|label|li|link|ol|option|p|param|q|script|select|span|strong|style|table|tbody|td|textarea|tfoot|th|thead|tr|ul)$/i; - - /** Detect whether the browser supports default html5 styles */ - var supportsHtml5Styles; - - /** Detect whether the browser supports unknown elements */ - var supportsUnknownElements; - - (function() { - var a = document.createElement('a'); - - a.innerHTML = ''; - - //if the hidden property is implemented we can assume, that the browser supports HTML5 Styles | this fails in Chrome 8 - supportsHtml5Styles = ('hidden' in a); - //if we are part of Modernizr, we do an additional test to solve the Chrome 8 fail - if(supportsHtml5Styles && typeof injectElementWithStyles == 'function'){ - injectElementWithStyles('#modernizr{}', function(node){ - node.hidden = true; - supportsHtml5Styles = (window.getComputedStyle ? - getComputedStyle(node, null) : - node.currentStyle).display == 'none'; - }); - } - - supportsUnknownElements = a.childNodes.length == 1 || (function() { - // assign a false positive if unable to shiv - try { - (document.createElement)('a'); - } catch(e) { - return true; - } - var frag = document.createDocumentFragment(); - return ( - typeof frag.cloneNode == 'undefined' || - typeof frag.createDocumentFragment == 'undefined' || - typeof frag.createElement == 'undefined' - ); - }()); - - }()); - - /*--------------------------------------------------------------------------*/ - - /** - * Creates a style sheet with the given CSS text and adds it to the document. - * @private - * @param {Document} ownerDocument The document. - * @param {String} cssText The CSS text. - * @returns {StyleSheet} The style element. - */ - function addStyleSheet(ownerDocument, cssText) { - var p = ownerDocument.createElement('p'), - parent = ownerDocument.getElementsByTagName('head')[0] || ownerDocument.documentElement; - - p.innerHTML = 'x'; - return parent.insertBefore(p.lastChild, parent.firstChild); - } - - /** - * Returns the value of `html5.elements` as an array. - * @private - * @returns {Array} An array of shived element node names. - */ - function getElements() { - var elements = html5.elements; - return typeof elements == 'string' ? elements.split(' ') : elements; - } - - /** - * Shivs the `createElement` and `createDocumentFragment` methods of the document. - * @private - * @param {Document|DocumentFragment} ownerDocument The document. - */ - function shivMethods(ownerDocument) { - var cache = {}, - docCreateElement = ownerDocument.createElement, - docCreateFragment = ownerDocument.createDocumentFragment, - frag = docCreateFragment(); - - ownerDocument.createElement = function(nodeName) { - //abort shiv - if(!html5.shivMethods){ - return docCreateElement(nodeName); - } - - var node; - - if(cache[nodeName]){ - node = cache[nodeName].cloneNode(); - } else if(saveClones.test(nodeName)){ - node = (cache[nodeName] = docCreateElement(nodeName)).cloneNode(); - } else { - node = docCreateElement(nodeName); - } - - // Avoid adding some elements to fragments in IE < 9 because - // * Attributes like `name` or `type` cannot be set/changed once an element - // is inserted into a document/fragment - // * Link elements with `src` attributes that are inaccessible, as with - // a 403 response, will cause the tab/window to crash - // * Script elements appended to fragments will execute when their `src` - // or `text` property is set - return node.canHaveChildren && !reSkip.test(nodeName) ? frag.appendChild(node) : node; - }; - - ownerDocument.createDocumentFragment = Function('h,f', 'return function(){' + - 'var n=f.cloneNode(),c=n.createElement;' + - 'h.shivMethods&&(' + - // unroll the `createElement` calls - getElements().join().replace(/\w+/g, function(nodeName) { - docCreateElement(nodeName); - frag.createElement(nodeName); - return 'c("' + nodeName + '")'; - }) + - ');return n}' - )(html5, frag); - } - - /*--------------------------------------------------------------------------*/ - - /** - * Shivs the given document. - * @memberOf html5 - * @param {Document} ownerDocument The document to shiv. - * @returns {Document} The shived document. - */ - function shivDocument(ownerDocument) { - var shived; - if (ownerDocument.documentShived) { - return ownerDocument; - } - if (html5.shivCSS && !supportsHtml5Styles) { - shived = !!addStyleSheet(ownerDocument, - // corrects block display not defined in IE6/7/8/9 - 'article,aside,details,figcaption,figure,footer,header,hgroup,nav,section{display:block}' + - // corrects audio display not defined in IE6/7/8/9 - 'audio{display:none}' + - // corrects canvas and video display not defined in IE6/7/8/9 - 'canvas,video{display:inline-block;*display:inline;*zoom:1}' + - // corrects 'hidden' attribute and audio[controls] display not present in IE7/8/9 - '[hidden]{display:none}audio[controls]{display:inline-block;*display:inline;*zoom:1}' + - // adds styling not present in IE6/7/8/9 - 'mark{background:#FF0;color:#000}' - ); - } - if (!supportsUnknownElements) { - shived = !shivMethods(ownerDocument); - } - if (shived) { - ownerDocument.documentShived = shived; - } - return ownerDocument; - } - - /*--------------------------------------------------------------------------*/ - - /** - * The `html5` object is exposed so that more elements can be shived and - * existing shiving can be detected on iframes. - * @type Object - * @example - * - * // options can be changed before the script is included - * html5 = { 'elements': 'mark section', 'shivCSS': false, 'shivMethods': false }; - */ - var html5 = { - - /** - * An array or space separated string of node names of the elements to shiv. - * @memberOf html5 - * @type Array|String - */ - 'elements': options.elements || 'abbr article aside audio bdi canvas data datalist details figcaption figure footer header hgroup mark meter nav output progress section summary time video', - - /** - * A flag to indicate that the HTML5 style sheet should be inserted. - * @memberOf html5 - * @type Boolean - */ - 'shivCSS': !(options.shivCSS === false), - - /** - * A flag to indicate that the document's `createElement` and `createDocumentFragment` - * methods should be overwritten. - * @memberOf html5 - * @type Boolean - */ - 'shivMethods': !(options.shivMethods === false), - - /** - * A string to describe the type of `html5` object ("default" or "default print"). - * @memberOf html5 - * @type String - */ - 'type': 'default', - - // shivs the document according to the specified `html5` object options - 'shivDocument': shivDocument - }; - - /*--------------------------------------------------------------------------*/ - - // expose html5 - window.html5 = html5; - - // shiv the document - shivDocument(document); - -}(this, document)); \ No newline at end of file diff --git a/wp-content/themes/tn-2014/js/jquery-1.7.1.min.js b/wp-content/themes/tn-2014/js/jquery-1.7.1.min.js deleted file mode 100644 index 198b3ff..0000000 --- a/wp-content/themes/tn-2014/js/jquery-1.7.1.min.js +++ /dev/null @@ -1,4 +0,0 @@ -/*! jQuery v1.7.1 jquery.com | jquery.org/license */ -(function(a,b){function cy(a){return f.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:!1}function cv(a){if(!ck[a]){var b=c.body,d=f("<"+a+">").appendTo(b),e=d.css("display");d.remove();if(e==="none"||e===""){cl||(cl=c.createElement("iframe"),cl.frameBorder=cl.width=cl.height=0),b.appendChild(cl);if(!cm||!cl.createElement)cm=(cl.contentWindow||cl.contentDocument).document,cm.write((c.compatMode==="CSS1Compat"?"":"")+""),cm.close();d=cm.createElement(a),cm.body.appendChild(d),e=f.css(d,"display"),b.removeChild(cl)}ck[a]=e}return ck[a]}function cu(a,b){var c={};f.each(cq.concat.apply([],cq.slice(0,b)),function(){c[this]=a});return c}function ct(){cr=b}function cs(){setTimeout(ct,0);return cr=f.now()}function cj(){try{return new a.ActiveXObject("Microsoft.XMLHTTP")}catch(b){}}function ci(){try{return new a.XMLHttpRequest}catch(b){}}function cc(a,c){a.dataFilter&&(c=a.dataFilter(c,a.dataType));var d=a.dataTypes,e={},g,h,i=d.length,j,k=d[0],l,m,n,o,p;for(g=1;g0){if(c!=="border")for(;g=0===c})}function S(a){return!a||!a.parentNode||a.parentNode.nodeType===11}function K(){return!0}function J(){return!1}function n(a,b,c){var d=b+"defer",e=b+"queue",g=b+"mark",h=f._data(a,d);h&&(c==="queue"||!f._data(a,e))&&(c==="mark"||!f._data(a,g))&&setTimeout(function(){!f._data(a,e)&&!f._data(a,g)&&(f.removeData(a,d,!0),h.fire())},0)}function m(a){for(var b in a){if(b==="data"&&f.isEmptyObject(a[b]))continue;if(b!=="toJSON")return!1}return!0}function l(a,c,d){if(d===b&&a.nodeType===1){var e="data-"+c.replace(k,"-$1").toLowerCase();d=a.getAttribute(e);if(typeof d=="string"){try{d=d==="true"?!0:d==="false"?!1:d==="null"?null:f.isNumeric(d)?parseFloat(d):j.test(d)?f.parseJSON(d):d}catch(g){}f.data(a,c,d)}else d=b}return d}function h(a){var b=g[a]={},c,d;a=a.split(/\s+/);for(c=0,d=a.length;c)[^>]*$|#([\w\-]*)$)/,j=/\S/,k=/^\s+/,l=/\s+$/,m=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,n=/^[\],:{}\s]*$/,o=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,p=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,q=/(?:^|:|,)(?:\s*\[)+/g,r=/(webkit)[ \/]([\w.]+)/,s=/(opera)(?:.*version)?[ \/]([\w.]+)/,t=/(msie) ([\w.]+)/,u=/(mozilla)(?:.*? rv:([\w.]+))?/,v=/-([a-z]|[0-9])/ig,w=/^-ms-/,x=function(a,b){return(b+"").toUpperCase()},y=d.userAgent,z,A,B,C=Object.prototype.toString,D=Object.prototype.hasOwnProperty,E=Array.prototype.push,F=Array.prototype.slice,G=String.prototype.trim,H=Array.prototype.indexOf,I={};e.fn=e.prototype={constructor:e,init:function(a,d,f){var g,h,j,k;if(!a)return this;if(a.nodeType){this.context=this[0]=a,this.length=1;return this}if(a==="body"&&!d&&c.body){this.context=c,this[0]=c.body,this.selector=a,this.length=1;return this}if(typeof a=="string"){a.charAt(0)!=="<"||a.charAt(a.length-1)!==">"||a.length<3?g=i.exec(a):g=[null,a,null];if(g&&(g[1]||!d)){if(g[1]){d=d instanceof e?d[0]:d,k=d?d.ownerDocument||d:c,j=m.exec(a),j?e.isPlainObject(d)?(a=[c.createElement(j[1])],e.fn.attr.call(a,d,!0)):a=[k.createElement(j[1])]:(j=e.buildFragment([g[1]],[k]),a=(j.cacheable?e.clone(j.fragment):j.fragment).childNodes);return e.merge(this,a)}h=c.getElementById(g[2]);if(h&&h.parentNode){if(h.id!==g[2])return f.find(a);this.length=1,this[0]=h}this.context=c,this.selector=a;return this}return!d||d.jquery?(d||f).find(a):this.constructor(d).find(a)}if(e.isFunction(a))return f.ready(a);a.selector!==b&&(this.selector=a.selector,this.context=a.context);return e.makeArray(a,this)},selector:"",jquery:"1.7.1",length:0,size:function(){return this.length},toArray:function(){return F.call(this,0)},get:function(a){return a==null?this.toArray():a<0?this[this.length+a]:this[a]},pushStack:function(a,b,c){var d=this.constructor();e.isArray(a)?E.apply(d,a):e.merge(d,a),d.prevObject=this,d.context=this.context,b==="find"?d.selector=this.selector+(this.selector?" ":"")+c:b&&(d.selector=this.selector+"."+b+"("+c+")");return d},each:function(a,b){return e.each(this,a,b)},ready:function(a){e.bindReady(),A.add(a);return this},eq:function(a){a=+a;return a===-1?this.slice(a):this.slice(a,a+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(F.apply(this,arguments),"slice",F.call(arguments).join(","))},map:function(a){return this.pushStack(e.map(this,function(b,c){return a.call(b,c,b)}))},end:function(){return this.prevObject||this.constructor(null)},push:E,sort:[].sort,splice:[].splice},e.fn.init.prototype=e.fn,e.extend=e.fn.extend=function(){var a,c,d,f,g,h,i=arguments[0]||{},j=1,k=arguments.length,l=!1;typeof i=="boolean"&&(l=i,i=arguments[1]||{},j=2),typeof i!="object"&&!e.isFunction(i)&&(i={}),k===j&&(i=this,--j);for(;j0)return;A.fireWith(c,[e]),e.fn.trigger&&e(c).trigger("ready").off("ready")}},bindReady:function(){if(!A){A=e.Callbacks("once memory");if(c.readyState==="complete")return setTimeout(e.ready,1);if(c.addEventListener)c.addEventListener("DOMContentLoaded",B,!1),a.addEventListener("load",e.ready,!1);else if(c.attachEvent){c.attachEvent("onreadystatechange",B),a.attachEvent("onload",e.ready);var b=!1;try{b=a.frameElement==null}catch(d){}c.documentElement.doScroll&&b&&J()}}},isFunction:function(a){return e.type(a)==="function"},isArray:Array.isArray||function(a){return e.type(a)==="array"},isWindow:function(a){return a&&typeof a=="object"&&"setInterval"in a},isNumeric:function(a){return!isNaN(parseFloat(a))&&isFinite(a)},type:function(a){return a==null?String(a):I[C.call(a)]||"object"},isPlainObject:function(a){if(!a||e.type(a)!=="object"||a.nodeType||e.isWindow(a))return!1;try{if(a.constructor&&!D.call(a,"constructor")&&!D.call(a.constructor.prototype,"isPrototypeOf"))return!1}catch(c){return!1}var d;for(d in a);return d===b||D.call(a,d)},isEmptyObject:function(a){for(var b in a)return!1;return!0},error:function(a){throw new Error(a)},parseJSON:function(b){if(typeof b!="string"||!b)return null;b=e.trim(b);if(a.JSON&&a.JSON.parse)return a.JSON.parse(b);if(n.test(b.replace(o,"@").replace(p,"]").replace(q,"")))return(new Function("return "+b))();e.error("Invalid JSON: "+b)},parseXML:function(c){var d,f;try{a.DOMParser?(f=new DOMParser,d=f.parseFromString(c,"text/xml")):(d=new ActiveXObject("Microsoft.XMLDOM"),d.async="false",d.loadXML(c))}catch(g){d=b}(!d||!d.documentElement||d.getElementsByTagName("parsererror").length)&&e.error("Invalid XML: "+c);return d},noop:function(){},globalEval:function(b){b&&j.test(b)&&(a.execScript||function(b){a.eval.call(a,b)})(b)},camelCase:function(a){return a.replace(w,"ms-").replace(v,x)},nodeName:function(a,b){return a.nodeName&&a.nodeName.toUpperCase()===b.toUpperCase()},each:function(a,c,d){var f,g=0,h=a.length,i=h===b||e.isFunction(a);if(d){if(i){for(f in a)if(c.apply(a[f],d)===!1)break}else for(;g0&&a[0]&&a[j-1]||j===0||e.isArray(a));if(k)for(;i1?i.call(arguments,0):b,j.notifyWith(k,e)}}function l(a){return function(c){b[a]=arguments.length>1?i.call(arguments,0):c,--g||j.resolveWith(j,b)}}var b=i.call(arguments,0),c=0,d=b.length,e=Array(d),g=d,h=d,j=d<=1&&a&&f.isFunction(a.promise)?a:f.Deferred(),k=j.promise();if(d>1){for(;c
    a",d=q.getElementsByTagName("*"),e=q.getElementsByTagName("a")[0];if(!d||!d.length||!e)return{};g=c.createElement("select"),h=g.appendChild(c.createElement("option")),i=q.getElementsByTagName("input")[0],b={leadingWhitespace:q.firstChild.nodeType===3,tbody:!q.getElementsByTagName("tbody").length,htmlSerialize:!!q.getElementsByTagName("link").length,style:/top/.test(e.getAttribute("style")),hrefNormalized:e.getAttribute("href")==="/a",opacity:/^0.55/.test(e.style.opacity),cssFloat:!!e.style.cssFloat,checkOn:i.value==="on",optSelected:h.selected,getSetAttribute:q.className!=="t",enctype:!!c.createElement("form").enctype,html5Clone:c.createElement("nav").cloneNode(!0).outerHTML!=="<:nav>",submitBubbles:!0,changeBubbles:!0,focusinBubbles:!1,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0},i.checked=!0,b.noCloneChecked=i.cloneNode(!0).checked,g.disabled=!0,b.optDisabled=!h.disabled;try{delete q.test}catch(s){b.deleteExpando=!1}!q.addEventListener&&q.attachEvent&&q.fireEvent&&(q.attachEvent("onclick",function(){b.noCloneEvent=!1}),q.cloneNode(!0).fireEvent("onclick")),i=c.createElement("input"),i.value="t",i.setAttribute("type","radio"),b.radioValue=i.value==="t",i.setAttribute("checked","checked"),q.appendChild(i),k=c.createDocumentFragment(),k.appendChild(q.lastChild),b.checkClone=k.cloneNode(!0).cloneNode(!0).lastChild.checked,b.appendChecked=i.checked,k.removeChild(i),k.appendChild(q),q.innerHTML="",a.getComputedStyle&&(j=c.createElement("div"),j.style.width="0",j.style.marginRight="0",q.style.width="2px",q.appendChild(j),b.reliableMarginRight=(parseInt((a.getComputedStyle(j,null)||{marginRight:0}).marginRight,10)||0)===0);if(q.attachEvent)for(o in{submit:1,change:1,focusin:1})n="on"+o,p=n in q,p||(q.setAttribute(n,"return;"),p=typeof q[n]=="function"),b[o+"Bubbles"]=p;k.removeChild(q),k=g=h=j=q=i=null,f(function(){var a,d,e,g,h,i,j,k,m,n,o,r=c.getElementsByTagName("body")[0];!r||(j=1,k="position:absolute;top:0;left:0;width:1px;height:1px;margin:0;",m="visibility:hidden;border:0;",n="style='"+k+"border:5px solid #000;padding:0;'",o="
    "+""+"
    ",a=c.createElement("div"),a.style.cssText=m+"width:0;height:0;position:static;top:0;margin-top:"+j+"px",r.insertBefore(a,r.firstChild),q=c.createElement("div"),a.appendChild(q),q.innerHTML="
    t
    ",l=q.getElementsByTagName("td"),p=l[0].offsetHeight===0,l[0].style.display="",l[1].style.display="none",b.reliableHiddenOffsets=p&&l[0].offsetHeight===0,q.innerHTML="",q.style.width=q.style.paddingLeft="1px",f.boxModel=b.boxModel=q.offsetWidth===2,typeof q.style.zoom!="undefined"&&(q.style.display="inline",q.style.zoom=1,b.inlineBlockNeedsLayout=q.offsetWidth===2,q.style.display="",q.innerHTML="
    ",b.shrinkWrapBlocks=q.offsetWidth!==2),q.style.cssText=k+m,q.innerHTML=o,d=q.firstChild,e=d.firstChild,h=d.nextSibling.firstChild.firstChild,i={doesNotAddBorder:e.offsetTop!==5,doesAddBorderForTableAndCells:h.offsetTop===5},e.style.position="fixed",e.style.top="20px",i.fixedPosition=e.offsetTop===20||e.offsetTop===15,e.style.position=e.style.top="",d.style.overflow="hidden",d.style.position="relative",i.subtractsBorderForOverflowNotVisible=e.offsetTop===-5,i.doesNotIncludeMarginInBodyOffset=r.offsetTop!==j,r.removeChild(a),q=a=null,f.extend(b,i))});return b}();var j=/^(?:\{.*\}|\[.*\])$/,k=/([A-Z])/g;f.extend({cache:{},uuid:0,expando:"jQuery"+(f.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(a){a=a.nodeType?f.cache[a[f.expando]]:a[f.expando];return!!a&&!m(a)},data:function(a,c,d,e){if(!!f.acceptData(a)){var g,h,i,j=f.expando,k=typeof c=="string",l=a.nodeType,m=l?f.cache:a,n=l?a[j]:a[j]&&j,o=c==="events";if((!n||!m[n]||!o&&!e&&!m[n].data)&&k&&d===b)return;n||(l?a[j]=n=++f.uuid:n=j),m[n]||(m[n]={},l||(m[n].toJSON=f.noop));if(typeof c=="object"||typeof c=="function")e?m[n]=f.extend(m[n],c):m[n].data=f.extend(m[n].data,c);g=h=m[n],e||(h.data||(h.data={}),h=h.data),d!==b&&(h[f.camelCase(c)]=d);if(o&&!h[c])return g.events;k?(i=h[c],i==null&&(i=h[f.camelCase(c)])):i=h;return i}},removeData:function(a,b,c){if(!!f.acceptData(a)){var d,e,g,h=f.expando,i=a.nodeType,j=i?f.cache:a,k=i?a[h]:h;if(!j[k])return;if(b){d=c?j[k]:j[k].data;if(d){f.isArray(b)||(b in d?b=[b]:(b=f.camelCase(b),b in d?b=[b]:b=b.split(" ")));for(e=0,g=b.length;e-1)return!0;return!1},val:function(a){var c,d,e,g=this[0];{if(!!arguments.length){e=f.isFunction(a);return this.each(function(d){var g=f(this),h;if(this.nodeType===1){e?h=a.call(this,d,g.val()):h=a,h==null?h="":typeof h=="number"?h+="":f.isArray(h)&&(h=f.map(h,function(a){return a==null?"":a+""})),c=f.valHooks[this.nodeName.toLowerCase()]||f.valHooks[this.type];if(!c||!("set"in c)||c.set(this,h,"value")===b)this.value=h}})}if(g){c=f.valHooks[g.nodeName.toLowerCase()]||f.valHooks[g.type];if(c&&"get"in c&&(d=c.get(g,"value"))!==b)return d;d=g.value;return typeof d=="string"?d.replace(q,""):d==null?"":d}}}}),f.extend({valHooks:{option:{get:function(a){var b=a.attributes.value;return!b||b.specified?a.value:a.text}},select:{get:function(a){var b,c,d,e,g=a.selectedIndex,h=[],i=a.options,j=a.type==="select-one";if(g<0)return null;c=j?g:0,d=j?g+1:i.length;for(;c=0}),c.length||(a.selectedIndex=-1);return c}}},attrFn:{val:!0,css:!0,html:!0,text:!0,data:!0,width:!0,height:!0,offset:!0},attr:function(a,c,d,e){var g,h,i,j=a.nodeType;if(!!a&&j!==3&&j!==8&&j!==2){if(e&&c in f.attrFn)return f(a)[c](d);if(typeof a.getAttribute=="undefined")return f.prop(a,c,d);i=j!==1||!f.isXMLDoc(a),i&&(c=c.toLowerCase(),h=f.attrHooks[c]||(u.test(c)?x:w));if(d!==b){if(d===null){f.removeAttr(a,c);return}if(h&&"set"in h&&i&&(g=h.set(a,d,c))!==b)return g;a.setAttribute(c,""+d);return d}if(h&&"get"in h&&i&&(g=h.get(a,c))!==null)return g;g=a.getAttribute(c);return g===null?b:g}},removeAttr:function(a,b){var c,d,e,g,h=0;if(b&&a.nodeType===1){d=b.toLowerCase().split(p),g=d.length;for(;h=0}})});var z=/^(?:textarea|input|select)$/i,A=/^([^\.]*)?(?:\.(.+))?$/,B=/\bhover(\.\S+)?\b/,C=/^key/,D=/^(?:mouse|contextmenu)|click/,E=/^(?:focusinfocus|focusoutblur)$/,F=/^(\w*)(?:#([\w\-]+))?(?:\.([\w\-]+))?$/,G=function(a){var b=F.exec(a);b&&(b[1]=(b[1]||"").toLowerCase(),b[3]=b[3]&&new RegExp("(?:^|\\s)"+b[3]+"(?:\\s|$)"));return b},H=function(a,b){var c=a.attributes||{};return(!b[1]||a.nodeName.toLowerCase()===b[1])&&(!b[2]||(c.id||{}).value===b[2])&&(!b[3]||b[3].test((c["class"]||{}).value))},I=function(a){return f.event.special.hover?a:a.replace(B,"mouseenter$1 mouseleave$1")}; -f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3||a.nodeType===8||!c||!d||!(h=f._data(a)))){d.handler&&(p=d,d=p.handler),d.guid||(d.guid=f.guid++),j=h.events,j||(h.events=j={}),i=h.handle,i||(h.handle=i=function(a){return typeof f!="undefined"&&(!a||f.event.triggered!==a.type)?f.event.dispatch.apply(i.elem,arguments):b},i.elem=a),c=f.trim(I(c)).split(" ");for(k=0;k=0&&(h=h.slice(0,-1),k=!0),h.indexOf(".")>=0&&(i=h.split("."),h=i.shift(),i.sort());if((!e||f.event.customEvent[h])&&!f.event.global[h])return;c=typeof c=="object"?c[f.expando]?c:new f.Event(h,c):new f.Event(h),c.type=h,c.isTrigger=!0,c.exclusive=k,c.namespace=i.join("."),c.namespace_re=c.namespace?new RegExp("(^|\\.)"+i.join("\\.(?:.*\\.)?")+"(\\.|$)"):null,o=h.indexOf(":")<0?"on"+h:"";if(!e){j=f.cache;for(l in j)j[l].events&&j[l].events[h]&&f.event.trigger(c,d,j[l].handle.elem,!0);return}c.result=b,c.target||(c.target=e),d=d!=null?f.makeArray(d):[],d.unshift(c),p=f.event.special[h]||{};if(p.trigger&&p.trigger.apply(e,d)===!1)return;r=[[e,p.bindType||h]];if(!g&&!p.noBubble&&!f.isWindow(e)){s=p.delegateType||h,m=E.test(s+h)?e:e.parentNode,n=null;for(;m;m=m.parentNode)r.push([m,s]),n=m;n&&n===e.ownerDocument&&r.push([n.defaultView||n.parentWindow||a,s])}for(l=0;le&&i.push({elem:this,matches:d.slice(e)});for(j=0;j0?this.on(b,null,a,c):this.trigger(b)},f.attrFn&&(f.attrFn[b]=!0),C.test(b)&&(f.event.fixHooks[b]=f.event.keyHooks),D.test(b)&&(f.event.fixHooks[b]=f.event.mouseHooks)}),function(){function x(a,b,c,e,f,g){for(var h=0,i=e.length;h0){k=j;break}}j=j[a]}e[h]=k}}}function w(a,b,c,e,f,g){for(var h=0,i=e.length;h+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,d="sizcache"+(Math.random()+"").replace(".",""),e=0,g=Object.prototype.toString,h=!1,i=!0,j=/\\/g,k=/\r\n/g,l=/\W/;[0,0].sort(function(){i=!1;return 0});var m=function(b,d,e,f){e=e||[],d=d||c;var h=d;if(d.nodeType!==1&&d.nodeType!==9)return[];if(!b||typeof b!="string")return e;var i,j,k,l,n,q,r,t,u=!0,v=m.isXML(d),w=[],x=b;do{a.exec(""),i=a.exec(x);if(i){x=i[3],w.push(i[1]);if(i[2]){l=i[3];break}}}while(i);if(w.length>1&&p.exec(b))if(w.length===2&&o.relative[w[0]])j=y(w[0]+w[1],d,f);else{j=o.relative[w[0]]?[d]:m(w.shift(),d);while(w.length)b=w.shift(),o.relative[b]&&(b+=w.shift()),j=y(b,j,f)}else{!f&&w.length>1&&d.nodeType===9&&!v&&o.match.ID.test(w[0])&&!o.match.ID.test(w[w.length-1])&&(n=m.find(w.shift(),d,v),d=n.expr?m.filter(n.expr,n.set)[0]:n.set[0]);if(d){n=f?{expr:w.pop(),set:s(f)}:m.find(w.pop(),w.length===1&&(w[0]==="~"||w[0]==="+")&&d.parentNode?d.parentNode:d,v),j=n.expr?m.filter(n.expr,n.set):n.set,w.length>0?k=s(j):u=!1;while(w.length)q=w.pop(),r=q,o.relative[q]?r=w.pop():q="",r==null&&(r=d),o.relative[q](k,r,v)}else k=w=[]}k||(k=j),k||m.error(q||b);if(g.call(k)==="[object Array]")if(!u)e.push.apply(e,k);else if(d&&d.nodeType===1)for(t=0;k[t]!=null;t++)k[t]&&(k[t]===!0||k[t].nodeType===1&&m.contains(d,k[t]))&&e.push(j[t]);else for(t=0;k[t]!=null;t++)k[t]&&k[t].nodeType===1&&e.push(j[t]);else s(k,e);l&&(m(l,h,e,f),m.uniqueSort(e));return e};m.uniqueSort=function(a){if(u){h=i,a.sort(u);if(h)for(var b=1;b0},m.find=function(a,b,c){var d,e,f,g,h,i;if(!a)return[];for(e=0,f=o.order.length;e":function(a,b){var c,d=typeof b=="string",e=0,f=a.length;if(d&&!l.test(b)){b=b.toLowerCase();for(;e=0)?c||d.push(h):c&&(b[g]=!1));return!1},ID:function(a){return a[1].replace(j,"")},TAG:function(a,b){return a[1].replace(j,"").toLowerCase()},CHILD:function(a){if(a[1]==="nth"){a[2]||m.error(a[0]),a[2]=a[2].replace(/^\+|\s*/g,"");var b=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(a[2]==="even"&&"2n"||a[2]==="odd"&&"2n+1"||!/\D/.test(a[2])&&"0n+"+a[2]||a[2]);a[2]=b[1]+(b[2]||1)-0,a[3]=b[3]-0}else a[2]&&m.error(a[0]);a[0]=e++;return a},ATTR:function(a,b,c,d,e,f){var g=a[1]=a[1].replace(j,"");!f&&o.attrMap[g]&&(a[1]=o.attrMap[g]),a[4]=(a[4]||a[5]||"").replace(j,""),a[2]==="~="&&(a[4]=" "+a[4]+" ");return a},PSEUDO:function(b,c,d,e,f){if(b[1]==="not")if((a.exec(b[3])||"").length>1||/^\w/.test(b[3]))b[3]=m(b[3],null,null,c);else{var g=m.filter(b[3],c,d,!0^f);d||e.push.apply(e,g);return!1}else if(o.match.POS.test(b[0])||o.match.CHILD.test(b[0]))return!0;return b},POS:function(a){a.unshift(!0);return a}},filters:{enabled:function(a){return a.disabled===!1&&a.type!=="hidden"},disabled:function(a){return a.disabled===!0},checked:function(a){return a.checked===!0},selected:function(a){a.parentNode&&a.parentNode.selectedIndex;return a.selected===!0},parent:function(a){return!!a.firstChild},empty:function(a){return!a.firstChild},has:function(a,b,c){return!!m(c[3],a).length},header:function(a){return/h\d/i.test(a.nodeName)},text:function(a){var b=a.getAttribute("type"),c=a.type;return a.nodeName.toLowerCase()==="input"&&"text"===c&&(b===c||b===null)},radio:function(a){return a.nodeName.toLowerCase()==="input"&&"radio"===a.type},checkbox:function(a){return a.nodeName.toLowerCase()==="input"&&"checkbox"===a.type},file:function(a){return a.nodeName.toLowerCase()==="input"&&"file"===a.type},password:function(a){return a.nodeName.toLowerCase()==="input"&&"password"===a.type},submit:function(a){var b=a.nodeName.toLowerCase();return(b==="input"||b==="button")&&"submit"===a.type},image:function(a){return a.nodeName.toLowerCase()==="input"&&"image"===a.type},reset:function(a){var b=a.nodeName.toLowerCase();return(b==="input"||b==="button")&&"reset"===a.type},button:function(a){var b=a.nodeName.toLowerCase();return b==="input"&&"button"===a.type||b==="button"},input:function(a){return/input|select|textarea|button/i.test(a.nodeName)},focus:function(a){return a===a.ownerDocument.activeElement}},setFilters:{first:function(a,b){return b===0},last:function(a,b,c,d){return b===d.length-1},even:function(a,b){return b%2===0},odd:function(a,b){return b%2===1},lt:function(a,b,c){return bc[3]-0},nth:function(a,b,c){return c[3]-0===b},eq:function(a,b,c){return c[3]-0===b}},filter:{PSEUDO:function(a,b,c,d){var e=b[1],f=o.filters[e];if(f)return f(a,c,b,d);if(e==="contains")return(a.textContent||a.innerText||n([a])||"").indexOf(b[3])>=0;if(e==="not"){var g=b[3];for(var h=0,i=g.length;h=0}},ID:function(a,b){return a.nodeType===1&&a.getAttribute("id")===b},TAG:function(a,b){return b==="*"&&a.nodeType===1||!!a.nodeName&&a.nodeName.toLowerCase()===b},CLASS:function(a,b){return(" "+(a.className||a.getAttribute("class"))+" ").indexOf(b)>-1},ATTR:function(a,b){var c=b[1],d=m.attr?m.attr(a,c):o.attrHandle[c]?o.attrHandle[c](a):a[c]!=null?a[c]:a.getAttribute(c),e=d+"",f=b[2],g=b[4];return d==null?f==="!=":!f&&m.attr?d!=null:f==="="?e===g:f==="*="?e.indexOf(g)>=0:f==="~="?(" "+e+" ").indexOf(g)>=0:g?f==="!="?e!==g:f==="^="?e.indexOf(g)===0:f==="$="?e.substr(e.length-g.length)===g:f==="|="?e===g||e.substr(0,g.length+1)===g+"-":!1:e&&d!==!1},POS:function(a,b,c,d){var e=b[2],f=o.setFilters[e];if(f)return f(a,c,b,d)}}},p=o.match.POS,q=function(a,b){return"\\"+(b-0+1)};for(var r in o.match)o.match[r]=new RegExp(o.match[r].source+/(?![^\[]*\])(?![^\(]*\))/.source),o.leftMatch[r]=new RegExp(/(^(?:.|\r|\n)*?)/.source+o.match[r].source.replace(/\\(\d+)/g,q));var s=function(a,b){a=Array.prototype.slice.call(a,0);if(b){b.push.apply(b,a);return b}return a};try{Array.prototype.slice.call(c.documentElement.childNodes,0)[0].nodeType}catch(t){s=function(a,b){var c=0,d=b||[];if(g.call(a)==="[object Array]")Array.prototype.push.apply(d,a);else if(typeof a.length=="number")for(var e=a.length;c",e.insertBefore(a,e.firstChild),c.getElementById(d)&&(o.find.ID=function(a,c,d){if(typeof c.getElementById!="undefined"&&!d){var e=c.getElementById(a[1]);return e?e.id===a[1]||typeof e.getAttributeNode!="undefined"&&e.getAttributeNode("id").nodeValue===a[1]?[e]:b:[]}},o.filter.ID=function(a,b){var c=typeof a.getAttributeNode!="undefined"&&a.getAttributeNode("id");return a.nodeType===1&&c&&c.nodeValue===b}),e.removeChild(a),e=a=null}(),function(){var a=c.createElement("div");a.appendChild(c.createComment("")),a.getElementsByTagName("*").length>0&&(o.find.TAG=function(a,b){var c=b.getElementsByTagName(a[1]);if(a[1]==="*"){var d=[];for(var e=0;c[e];e++)c[e].nodeType===1&&d.push(c[e]);c=d}return c}),a.innerHTML="",a.firstChild&&typeof a.firstChild.getAttribute!="undefined"&&a.firstChild.getAttribute("href")!=="#"&&(o.attrHandle.href=function(a){return a.getAttribute("href",2)}),a=null}(),c.querySelectorAll&&function(){var a=m,b=c.createElement("div"),d="__sizzle__";b.innerHTML="

    ";if(!b.querySelectorAll||b.querySelectorAll(".TEST").length!==0){m=function(b,e,f,g){e=e||c;if(!g&&!m.isXML(e)){var h=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(b);if(h&&(e.nodeType===1||e.nodeType===9)){if(h[1])return s(e.getElementsByTagName(b),f);if(h[2]&&o.find.CLASS&&e.getElementsByClassName)return s(e.getElementsByClassName(h[2]),f)}if(e.nodeType===9){if(b==="body"&&e.body)return s([e.body],f);if(h&&h[3]){var i=e.getElementById(h[3]);if(!i||!i.parentNode)return s([],f);if(i.id===h[3])return s([i],f)}try{return s(e.querySelectorAll(b),f)}catch(j){}}else if(e.nodeType===1&&e.nodeName.toLowerCase()!=="object"){var k=e,l=e.getAttribute("id"),n=l||d,p=e.parentNode,q=/^\s*[+~]/.test(b);l?n=n.replace(/'/g,"\\$&"):e.setAttribute("id",n),q&&p&&(e=e.parentNode);try{if(!q||p)return s(e.querySelectorAll("[id='"+n+"'] "+b),f)}catch(r){}finally{l||k.removeAttribute("id")}}}return a(b,e,f,g)};for(var e in a)m[e]=a[e];b=null}}(),function(){var a=c.documentElement,b=a.matchesSelector||a.mozMatchesSelector||a.webkitMatchesSelector||a.msMatchesSelector;if(b){var d=!b.call(c.createElement("div"),"div"),e=!1;try{b.call(c.documentElement,"[test!='']:sizzle")}catch(f){e=!0}m.matchesSelector=function(a,c){c=c.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!m.isXML(a))try{if(e||!o.match.PSEUDO.test(c)&&!/!=/.test(c)){var f=b.call(a,c);if(f||!d||a.document&&a.document.nodeType!==11)return f}}catch(g){}return m(c,null,null,[a]).length>0}}}(),function(){var a=c.createElement("div");a.innerHTML="
    ";if(!!a.getElementsByClassName&&a.getElementsByClassName("e").length!==0){a.lastChild.className="e";if(a.getElementsByClassName("e").length===1)return;o.order.splice(1,0,"CLASS"),o.find.CLASS=function(a,b,c){if(typeof b.getElementsByClassName!="undefined"&&!c)return b.getElementsByClassName(a[1])},a=null}}(),c.documentElement.contains?m.contains=function(a,b){return a!==b&&(a.contains?a.contains(b):!0)}:c.documentElement.compareDocumentPosition?m.contains=function(a,b){return!!(a.compareDocumentPosition(b)&16)}:m.contains=function(){return!1},m.isXML=function(a){var b=(a?a.ownerDocument||a:0).documentElement;return b?b.nodeName!=="HTML":!1};var y=function(a,b,c){var d,e=[],f="",g=b.nodeType?[b]:b;while(d=o.match.PSEUDO.exec(a))f+=d[0],a=a.replace(o.match.PSEUDO,"");a=o.relative[a]?a+"*":a;for(var h=0,i=g.length;h0)for(h=g;h=0:f.filter(a,this).length>0:this.filter(a).length>0)},closest:function(a,b){var c=[],d,e,g=this[0];if(f.isArray(a)){var h=1;while(g&&g.ownerDocument&&g!==b){for(d=0;d-1:f.find.matchesSelector(g,a)){c.push(g);break}g=g.parentNode;if(!g||!g.ownerDocument||g===b||g.nodeType===11)break}}c=c.length>1?f.unique(c):c;return this.pushStack(c,"closest",a)},index:function(a){if(!a)return this[0]&&this[0].parentNode?this.prevAll().length:-1;if(typeof a=="string")return f.inArray(this[0],f(a));return f.inArray(a.jquery?a[0]:a,this)},add:function(a,b){var c=typeof a=="string"?f(a,b):f.makeArray(a&&a.nodeType?[a]:a),d=f.merge(this.get(),c);return this.pushStack(S(c[0])||S(d[0])?d:f.unique(d))},andSelf:function(){return this.add(this.prevObject)}}),f.each({parent:function(a){var b=a.parentNode;return b&&b.nodeType!==11?b:null},parents:function(a){return f.dir(a,"parentNode")},parentsUntil:function(a,b,c){return f.dir(a,"parentNode",c)},next:function(a){return f.nth(a,2,"nextSibling")},prev:function(a){return f.nth(a,2,"previousSibling")},nextAll:function(a){return f.dir(a,"nextSibling")},prevAll:function(a){return f.dir(a,"previousSibling")},nextUntil:function(a,b,c){return f.dir(a,"nextSibling",c)},prevUntil:function(a,b,c){return f.dir(a,"previousSibling",c)},siblings:function(a){return f.sibling(a.parentNode.firstChild,a)},children:function(a){return f.sibling(a.firstChild)},contents:function(a){return f.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:f.makeArray(a.childNodes)}},function(a,b){f.fn[a]=function(c,d){var e=f.map(this,b,c);L.test(a)||(d=c),d&&typeof d=="string"&&(e=f.filter(d,e)),e=this.length>1&&!R[a]?f.unique(e):e,(this.length>1||N.test(d))&&M.test(a)&&(e=e.reverse());return this.pushStack(e,a,P.call(arguments).join(","))}}),f.extend({filter:function(a,b,c){c&&(a=":not("+a+")");return b.length===1?f.find.matchesSelector(b[0],a)?[b[0]]:[]:f.find.matches(a,b)},dir:function(a,c,d){var e=[],g=a[c];while(g&&g.nodeType!==9&&(d===b||g.nodeType!==1||!f(g).is(d)))g.nodeType===1&&e.push(g),g=g[c];return e},nth:function(a,b,c,d){b=b||1;var e=0;for(;a;a=a[c])if(a.nodeType===1&&++e===b)break;return a},sibling:function(a,b){var c=[];for(;a;a=a.nextSibling)a.nodeType===1&&a!==b&&c.push(a);return c}});var V="abbr|article|aside|audio|canvas|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",W=/ jQuery\d+="(?:\d+|null)"/g,X=/^\s+/,Y=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,Z=/<([\w:]+)/,$=/",""],legend:[1,"
    ","
    "],thead:[1,"","
    "],tr:[2,"","
    "],td:[3,"","
    "],col:[2,"","
    "],area:[1,"",""],_default:[0,"",""]},bh=U(c);bg.optgroup=bg.option,bg.tbody=bg.tfoot=bg.colgroup=bg.caption=bg.thead,bg.th=bg.td,f.support.htmlSerialize||(bg._default=[1,"div
    ","
    "]),f.fn.extend({text:function(a){if(f.isFunction(a))return this.each(function(b){var c=f(this);c.text(a.call(this,b,c.text()))});if(typeof a!="object"&&a!==b)return this.empty().append((this[0]&&this[0].ownerDocument||c).createTextNode(a));return f.text(this)},wrapAll:function(a){if(f.isFunction(a))return this.each(function(b){f(this).wrapAll(a.call(this,b))});if(this[0]){var b=f(a,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&b.insertBefore(this[0]),b.map(function(){var a=this;while(a.firstChild&&a.firstChild.nodeType===1)a=a.firstChild;return a}).append(this)}return this},wrapInner:function(a){if(f.isFunction(a))return this.each(function(b){f(this).wrapInner(a.call(this,b))});return this.each(function(){var b=f(this),c=b.contents();c.length?c.wrapAll(a):b.append(a)})},wrap:function(a){var b=f.isFunction(a);return this.each(function(c){f(this).wrapAll(b?a.call(this,c):a)})},unwrap:function(){return this.parent().each(function(){f.nodeName(this,"body")||f(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(a){this.nodeType===1&&this.appendChild(a)})},prepend:function(){return this.domManip(arguments,!0,function(a){this.nodeType===1&&this.insertBefore(a,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this)});if(arguments.length){var a=f.clean(arguments);a.push.apply(a,this.toArray());return this.pushStack(a,"before",arguments)}},after:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this.nextSibling)});if(arguments.length){var a=this.pushStack(this,"after",arguments);a.push.apply(a,f.clean(arguments));return a}},remove:function(a,b){for(var c=0,d;(d=this[c])!=null;c++)if(!a||f.filter(a,[d]).length)!b&&d.nodeType===1&&(f.cleanData(d.getElementsByTagName("*")),f.cleanData([d])),d.parentNode&&d.parentNode.removeChild(d);return this},empty:function() -{for(var a=0,b;(b=this[a])!=null;a++){b.nodeType===1&&f.cleanData(b.getElementsByTagName("*"));while(b.firstChild)b.removeChild(b.firstChild)}return this},clone:function(a,b){a=a==null?!1:a,b=b==null?a:b;return this.map(function(){return f.clone(this,a,b)})},html:function(a){if(a===b)return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(W,""):null;if(typeof a=="string"&&!ba.test(a)&&(f.support.leadingWhitespace||!X.test(a))&&!bg[(Z.exec(a)||["",""])[1].toLowerCase()]){a=a.replace(Y,"<$1>");try{for(var c=0,d=this.length;c1&&l0?this.clone(!0):this).get();f(e[h])[b](j),d=d.concat(j)}return this.pushStack(d,a,e.selector)}}),f.extend({clone:function(a,b,c){var d,e,g,h=f.support.html5Clone||!bc.test("<"+a.nodeName)?a.cloneNode(!0):bo(a);if((!f.support.noCloneEvent||!f.support.noCloneChecked)&&(a.nodeType===1||a.nodeType===11)&&!f.isXMLDoc(a)){bk(a,h),d=bl(a),e=bl(h);for(g=0;d[g];++g)e[g]&&bk(d[g],e[g])}if(b){bj(a,h);if(c){d=bl(a),e=bl(h);for(g=0;d[g];++g)bj(d[g],e[g])}}d=e=null;return h},clean:function(a,b,d,e){var g;b=b||c,typeof b.createElement=="undefined"&&(b=b.ownerDocument||b[0]&&b[0].ownerDocument||c);var h=[],i;for(var j=0,k;(k=a[j])!=null;j++){typeof k=="number"&&(k+="");if(!k)continue;if(typeof k=="string")if(!_.test(k))k=b.createTextNode(k);else{k=k.replace(Y,"<$1>");var l=(Z.exec(k)||["",""])[1].toLowerCase(),m=bg[l]||bg._default,n=m[0],o=b.createElement("div");b===c?bh.appendChild(o):U(b).appendChild(o),o.innerHTML=m[1]+k+m[2];while(n--)o=o.lastChild;if(!f.support.tbody){var p=$.test(k),q=l==="table"&&!p?o.firstChild&&o.firstChild.childNodes:m[1]===""&&!p?o.childNodes:[];for(i=q.length-1;i>=0;--i)f.nodeName(q[i],"tbody")&&!q[i].childNodes.length&&q[i].parentNode.removeChild(q[i])}!f.support.leadingWhitespace&&X.test(k)&&o.insertBefore(b.createTextNode(X.exec(k)[0]),o.firstChild),k=o.childNodes}var r;if(!f.support.appendChecked)if(k[0]&&typeof (r=k.length)=="number")for(i=0;i=0)return b+"px"}}}),f.support.opacity||(f.cssHooks.opacity={get:function(a,b){return br.test((b&&a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?parseFloat(RegExp.$1)/100+"":b?"1":""},set:function(a,b){var c=a.style,d=a.currentStyle,e=f.isNumeric(b)?"alpha(opacity="+b*100+")":"",g=d&&d.filter||c.filter||"";c.zoom=1;if(b>=1&&f.trim(g.replace(bq,""))===""){c.removeAttribute("filter");if(d&&!d.filter)return}c.filter=bq.test(g)?g.replace(bq,e):g+" "+e}}),f(function(){f.support.reliableMarginRight||(f.cssHooks.marginRight={get:function(a,b){var c;f.swap(a,{display:"inline-block"},function(){b?c=bz(a,"margin-right","marginRight"):c=a.style.marginRight});return c}})}),c.defaultView&&c.defaultView.getComputedStyle&&(bA=function(a,b){var c,d,e;b=b.replace(bs,"-$1").toLowerCase(),(d=a.ownerDocument.defaultView)&&(e=d.getComputedStyle(a,null))&&(c=e.getPropertyValue(b),c===""&&!f.contains(a.ownerDocument.documentElement,a)&&(c=f.style(a,b)));return c}),c.documentElement.currentStyle&&(bB=function(a,b){var c,d,e,f=a.currentStyle&&a.currentStyle[b],g=a.style;f===null&&g&&(e=g[b])&&(f=e),!bt.test(f)&&bu.test(f)&&(c=g.left,d=a.runtimeStyle&&a.runtimeStyle.left,d&&(a.runtimeStyle.left=a.currentStyle.left),g.left=b==="fontSize"?"1em":f||0,f=g.pixelLeft+"px",g.left=c,d&&(a.runtimeStyle.left=d));return f===""?"auto":f}),bz=bA||bB,f.expr&&f.expr.filters&&(f.expr.filters.hidden=function(a){var b=a.offsetWidth,c=a.offsetHeight;return b===0&&c===0||!f.support.reliableHiddenOffsets&&(a.style&&a.style.display||f.css(a,"display"))==="none"},f.expr.filters.visible=function(a){return!f.expr.filters.hidden(a)});var bD=/%20/g,bE=/\[\]$/,bF=/\r?\n/g,bG=/#.*$/,bH=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,bI=/^(?:color|date|datetime|datetime-local|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,bJ=/^(?:about|app|app\-storage|.+\-extension|file|res|widget):$/,bK=/^(?:GET|HEAD)$/,bL=/^\/\//,bM=/\?/,bN=/)<[^<]*)*<\/script>/gi,bO=/^(?:select|textarea)/i,bP=/\s+/,bQ=/([?&])_=[^&]*/,bR=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+))?)?/,bS=f.fn.load,bT={},bU={},bV,bW,bX=["*/"]+["*"];try{bV=e.href}catch(bY){bV=c.createElement("a"),bV.href="",bV=bV.href}bW=bR.exec(bV.toLowerCase())||[],f.fn.extend({load:function(a,c,d){if(typeof a!="string"&&bS)return bS.apply(this,arguments);if(!this.length)return this;var e=a.indexOf(" ");if(e>=0){var g=a.slice(e,a.length);a=a.slice(0,e)}var h="GET";c&&(f.isFunction(c)?(d=c,c=b):typeof c=="object"&&(c=f.param(c,f.ajaxSettings.traditional),h="POST"));var i=this;f.ajax({url:a,type:h,dataType:"html",data:c,complete:function(a,b,c){c=a.responseText,a.isResolved()&&(a.done(function(a){c=a}),i.html(g?f("
    ").append(c.replace(bN,"")).find(g):c)),d&&i.each(d,[c,b,a])}});return this},serialize:function(){return f.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?f.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||bO.test(this.nodeName)||bI.test(this.type))}).map(function(a,b){var c=f(this).val();return c==null?null:f.isArray(c)?f.map(c,function(a,c){return{name:b.name,value:a.replace(bF,"\r\n")}}):{name:b.name,value:c.replace(bF,"\r\n")}}).get()}}),f.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(a,b){f.fn[b]=function(a){return this.on(b,a)}}),f.each(["get","post"],function(a,c){f[c]=function(a,d,e,g){f.isFunction(d)&&(g=g||e,e=d,d=b);return f.ajax({type:c,url:a,data:d,success:e,dataType:g})}}),f.extend({getScript:function(a,c){return f.get(a,b,c,"script")},getJSON:function(a,b,c){return f.get(a,b,c,"json")},ajaxSetup:function(a,b){b?b_(a,f.ajaxSettings):(b=a,a=f.ajaxSettings),b_(a,b);return a},ajaxSettings:{url:bV,isLocal:bJ.test(bW[1]),global:!0,type:"GET",contentType:"application/x-www-form-urlencoded",processData:!0,async:!0,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":bX},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":a.String,"text html":!0,"text json":f.parseJSON,"text xml":f.parseXML},flatOptions:{context:!0,url:!0}},ajaxPrefilter:bZ(bT),ajaxTransport:bZ(bU),ajax:function(a,c){function w(a,c,l,m){if(s!==2){s=2,q&&clearTimeout(q),p=b,n=m||"",v.readyState=a>0?4:0;var o,r,u,w=c,x=l?cb(d,v,l):b,y,z;if(a>=200&&a<300||a===304){if(d.ifModified){if(y=v.getResponseHeader("Last-Modified"))f.lastModified[k]=y;if(z=v.getResponseHeader("Etag"))f.etag[k]=z}if(a===304)w="notmodified",o=!0;else try{r=cc(d,x),w="success",o=!0}catch(A){w="parsererror",u=A}}else{u=w;if(!w||a)w="error",a<0&&(a=0)}v.status=a,v.statusText=""+(c||w),o?h.resolveWith(e,[r,w,v]):h.rejectWith(e,[v,w,u]),v.statusCode(j),j=b,t&&g.trigger("ajax"+(o?"Success":"Error"),[v,d,o?r:u]),i.fireWith(e,[v,w]),t&&(g.trigger("ajaxComplete",[v,d]),--f.active||f.event.trigger("ajaxStop"))}}typeof a=="object"&&(c=a,a=b),c=c||{};var d=f.ajaxSetup({},c),e=d.context||d,g=e!==d&&(e.nodeType||e instanceof f)?f(e):f.event,h=f.Deferred(),i=f.Callbacks("once memory"),j=d.statusCode||{},k,l={},m={},n,o,p,q,r,s=0,t,u,v={readyState:0,setRequestHeader:function(a,b){if(!s){var c=a.toLowerCase();a=m[c]=m[c]||a,l[a]=b}return this},getAllResponseHeaders:function(){return s===2?n:null},getResponseHeader:function(a){var c;if(s===2){if(!o){o={};while(c=bH.exec(n))o[c[1].toLowerCase()]=c[2]}c=o[a.toLowerCase()]}return c===b?null:c},overrideMimeType:function(a){s||(d.mimeType=a);return this},abort:function(a){a=a||"abort",p&&p.abort(a),w(0,a);return this}};h.promise(v),v.success=v.done,v.error=v.fail,v.complete=i.add,v.statusCode=function(a){if(a){var b;if(s<2)for(b in a)j[b]=[j[b],a[b]];else b=a[v.status],v.then(b,b)}return this},d.url=((a||d.url)+"").replace(bG,"").replace(bL,bW[1]+"//"),d.dataTypes=f.trim(d.dataType||"*").toLowerCase().split(bP),d.crossDomain==null&&(r=bR.exec(d.url.toLowerCase()),d.crossDomain=!(!r||r[1]==bW[1]&&r[2]==bW[2]&&(r[3]||(r[1]==="http:"?80:443))==(bW[3]||(bW[1]==="http:"?80:443)))),d.data&&d.processData&&typeof d.data!="string"&&(d.data=f.param(d.data,d.traditional)),b$(bT,d,c,v);if(s===2)return!1;t=d.global,d.type=d.type.toUpperCase(),d.hasContent=!bK.test(d.type),t&&f.active++===0&&f.event.trigger("ajaxStart");if(!d.hasContent){d.data&&(d.url+=(bM.test(d.url)?"&":"?")+d.data,delete d.data),k=d.url;if(d.cache===!1){var x=f.now(),y=d.url.replace(bQ,"$1_="+x);d.url=y+(y===d.url?(bM.test(d.url)?"&":"?")+"_="+x:"")}}(d.data&&d.hasContent&&d.contentType!==!1||c.contentType)&&v.setRequestHeader("Content-Type",d.contentType),d.ifModified&&(k=k||d.url,f.lastModified[k]&&v.setRequestHeader("If-Modified-Since",f.lastModified[k]),f.etag[k]&&v.setRequestHeader("If-None-Match",f.etag[k])),v.setRequestHeader("Accept",d.dataTypes[0]&&d.accepts[d.dataTypes[0]]?d.accepts[d.dataTypes[0]]+(d.dataTypes[0]!=="*"?", "+bX+"; q=0.01":""):d.accepts["*"]);for(u in d.headers)v.setRequestHeader(u,d.headers[u]);if(d.beforeSend&&(d.beforeSend.call(e,v,d)===!1||s===2)){v.abort();return!1}for(u in{success:1,error:1,complete:1})v[u](d[u]);p=b$(bU,d,c,v);if(!p)w(-1,"No Transport");else{v.readyState=1,t&&g.trigger("ajaxSend",[v,d]),d.async&&d.timeout>0&&(q=setTimeout(function(){v.abort("timeout")},d.timeout));try{s=1,p.send(l,w)}catch(z){if(s<2)w(-1,z);else throw z}}return v},param:function(a,c){var d=[],e=function(a,b){b=f.isFunction(b)?b():b,d[d.length]=encodeURIComponent(a)+"="+encodeURIComponent(b)};c===b&&(c=f.ajaxSettings.traditional);if(f.isArray(a)||a.jquery&&!f.isPlainObject(a))f.each(a,function(){e(this.name,this.value)});else for(var g in a)ca(g,a[g],c,e);return d.join("&").replace(bD,"+")}}),f.extend({active:0,lastModified:{},etag:{}});var cd=f.now(),ce=/(\=)\?(&|$)|\?\?/i;f.ajaxSetup({jsonp:"callback",jsonpCallback:function(){return f.expando+"_"+cd++}}),f.ajaxPrefilter("json jsonp",function(b,c,d){var e=b.contentType==="application/x-www-form-urlencoded"&&typeof b.data=="string";if(b.dataTypes[0]==="jsonp"||b.jsonp!==!1&&(ce.test(b.url)||e&&ce.test(b.data))){var g,h=b.jsonpCallback=f.isFunction(b.jsonpCallback)?b.jsonpCallback():b.jsonpCallback,i=a[h],j=b.url,k=b.data,l="$1"+h+"$2";b.jsonp!==!1&&(j=j.replace(ce,l),b.url===j&&(e&&(k=k.replace(ce,l)),b.data===k&&(j+=(/\?/.test(j)?"&":"?")+b.jsonp+"="+h))),b.url=j,b.data=k,a[h]=function(a){g=[a]},d.always(function(){a[h]=i,g&&f.isFunction(i)&&a[h](g[0])}),b.converters["script json"]=function(){g||f.error(h+" was not called");return g[0]},b.dataTypes[0]="json";return"script"}}),f.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(a){f.globalEval(a);return a}}}),f.ajaxPrefilter("script",function(a){a.cache===b&&(a.cache=!1),a.crossDomain&&(a.type="GET",a.global=!1)}),f.ajaxTransport("script",function(a){if(a.crossDomain){var d,e=c.head||c.getElementsByTagName("head")[0]||c.documentElement;return{send:function(f,g){d=c.createElement("script"),d.async="async",a.scriptCharset&&(d.charset=a.scriptCharset),d.src=a.url,d.onload=d.onreadystatechange=function(a,c){if(c||!d.readyState||/loaded|complete/.test(d.readyState))d.onload=d.onreadystatechange=null,e&&d.parentNode&&e.removeChild(d),d=b,c||g(200,"success")},e.insertBefore(d,e.firstChild)},abort:function(){d&&d.onload(0,1)}}}});var cf=a.ActiveXObject?function(){for(var a in ch)ch[a](0,1)}:!1,cg=0,ch;f.ajaxSettings.xhr=a.ActiveXObject?function(){return!this.isLocal&&ci()||cj()}:ci,function(a){f.extend(f.support,{ajax:!!a,cors:!!a&&"withCredentials"in a})}(f.ajaxSettings.xhr()),f.support.ajax&&f.ajaxTransport(function(c){if(!c.crossDomain||f.support.cors){var d;return{send:function(e,g){var h=c.xhr(),i,j;c.username?h.open(c.type,c.url,c.async,c.username,c.password):h.open(c.type,c.url,c.async);if(c.xhrFields)for(j in c.xhrFields)h[j]=c.xhrFields[j];c.mimeType&&h.overrideMimeType&&h.overrideMimeType(c.mimeType),!c.crossDomain&&!e["X-Requested-With"]&&(e["X-Requested-With"]="XMLHttpRequest");try{for(j in e)h.setRequestHeader(j,e[j])}catch(k){}h.send(c.hasContent&&c.data||null),d=function(a,e){var j,k,l,m,n;try{if(d&&(e||h.readyState===4)){d=b,i&&(h.onreadystatechange=f.noop,cf&&delete ch[i]);if(e)h.readyState!==4&&h.abort();else{j=h.status,l=h.getAllResponseHeaders(),m={},n=h.responseXML,n&&n.documentElement&&(m.xml=n),m.text=h.responseText;try{k=h.statusText}catch(o){k=""}!j&&c.isLocal&&!c.crossDomain?j=m.text?200:404:j===1223&&(j=204)}}}catch(p){e||g(-1,p)}m&&g(j,k,m,l)},!c.async||h.readyState===4?d():(i=++cg,cf&&(ch||(ch={},f(a).unload(cf)),ch[i]=d),h.onreadystatechange=d)},abort:function(){d&&d(0,1)}}}});var ck={},cl,cm,cn=/^(?:toggle|show|hide)$/,co=/^([+\-]=)?([\d+.\-]+)([a-z%]*)$/i,cp,cq=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]],cr;f.fn.extend({show:function(a,b,c){var d,e;if(a||a===0)return this.animate(cu("show",3),a,b,c);for(var g=0,h=this.length;g=i.duration+this.startTime){this.now=this.end,this.pos=this.state=1,this.update(),i.animatedProperties[this.prop]=!0;for(b in i.animatedProperties)i.animatedProperties[b]!==!0&&(g=!1);if(g){i.overflow!=null&&!f.support.shrinkWrapBlocks&&f.each(["","X","Y"],function(a,b){h.style["overflow"+b]=i.overflow[a]}),i.hide&&f(h).hide();if(i.hide||i.show)for(b in i.animatedProperties)f.style(h,b,i.orig[b]),f.removeData(h,"fxshow"+b,!0),f.removeData(h,"toggle"+b,!0);d=i.complete,d&&(i.complete=!1,d.call(h))}return!1}i.duration==Infinity?this.now=e:(c=e-this.startTime,this.state=c/i.duration,this.pos=f.easing[i.animatedProperties[this.prop]](this.state,c,0,1,i.duration),this.now=this.start+(this.end-this.start)*this.pos),this.update();return!0}},f.extend(f.fx,{tick:function(){var a,b=f.timers,c=0;for(;c-1,k={},l={},m,n;j?(l=e.position(),m=l.top,n=l.left):(m=parseFloat(h)||0,n=parseFloat(i)||0),f.isFunction(b)&&(b=b.call(a,c,g)),b.top!=null&&(k.top=b.top-g.top+m),b.left!=null&&(k.left=b.left-g.left+n),"using"in b?b.using.call(a,k):e.css(k)}},f.fn.extend({position:function(){if(!this[0])return null;var a=this[0],b=this.offsetParent(),c=this.offset(),d=cx.test(b[0].nodeName)?{top:0,left:0}:b.offset();c.top-=parseFloat(f.css(a,"marginTop"))||0,c.left-=parseFloat(f.css(a,"marginLeft"))||0,d.top+=parseFloat(f.css(b[0],"borderTopWidth"))||0,d.left+=parseFloat(f.css(b[0],"borderLeftWidth"))||0;return{top:c.top-d.top,left:c.left-d.left}},offsetParent:function(){return this.map(function(){var a=this.offsetParent||c.body;while(a&&!cx.test(a.nodeName)&&f.css(a,"position")==="static")a=a.offsetParent;return a})}}),f.each(["Left","Top"],function(a,c){var d="scroll"+c;f.fn[d]=function(c){var e,g;if(c===b){e=this[0];if(!e)return null;g=cy(e);return g?"pageXOffset"in g?g[a?"pageYOffset":"pageXOffset"]:f.support.boxModel&&g.document.documentElement[d]||g.document.body[d]:e[d]}return this.each(function(){g=cy(this),g?g.scrollTo(a?f(g).scrollLeft():c,a?c:f(g).scrollTop()):this[d]=c})}}),f.each(["Height","Width"],function(a,c){var d=c.toLowerCase();f.fn["inner"+c]=function(){var a=this[0];return a?a.style?parseFloat(f.css(a,d,"padding")):this[d]():null},f.fn["outer"+c]=function(a){var b=this[0];return b?b.style?parseFloat(f.css(b,d,a?"margin":"border")):this[d]():null},f.fn[d]=function(a){var e=this[0];if(!e)return a==null?null:this;if(f.isFunction(a))return this.each(function(b){var c=f(this);c[d](a.call(this,b,c[d]()))});if(f.isWindow(e)){var g=e.document.documentElement["client"+c],h=e.document.body;return e.document.compatMode==="CSS1Compat"&&g||h&&h["client"+c]||g}if(e.nodeType===9)return Math.max(e.documentElement["client"+c],e.body["scroll"+c],e.documentElement["scroll"+c],e.body["offset"+c],e.documentElement["offset"+c]);if(a===b){var i=f.css(e,d),j=parseFloat(i);return f.isNumeric(j)?j:i}return this.css(d,typeof a=="string"?a:a+"px")}}),a.jQuery=a.$=f,typeof define=="function"&&define.amd&&define.amd.jQuery&&define("jquery",[],function(){return f})})(window); \ No newline at end of file diff --git a/wp-content/themes/tn-2014/js/jquery.cycle.all.js b/wp-content/themes/tn-2014/js/jquery.cycle.all.js deleted file mode 100755 index d57fb72..0000000 --- a/wp-content/themes/tn-2014/js/jquery.cycle.all.js +++ /dev/null @@ -1,1529 +0,0 @@ -/*! - * jQuery Cycle Plugin (with Transition Definitions) - * Examples and documentation at: http://jquery.malsup.com/cycle/ - * Copyright (c) 2007-2010 M. Alsup - * Version: 2.9999 (13-NOV-2011) - * Dual licensed under the MIT and GPL licenses. - * http://jquery.malsup.com/license.html - * Requires: jQuery v1.3.2 or later - */ -;(function($, undefined) { - -var ver = '2.9999'; - -// if $.support is not defined (pre jQuery 1.3) add what I need -if ($.support == undefined) { - $.support = { - opacity: !($.browser.msie) - }; -} - -function debug(s) { - $.fn.cycle.debug && log(s); -} -function log() { - window.console && console.log && console.log('[cycle] ' + Array.prototype.join.call(arguments,' ')); -} -$.expr[':'].paused = function(el) { - return el.cyclePause; -} - - -// the options arg can be... -// a number - indicates an immediate transition should occur to the given slide index -// a string - 'pause', 'resume', 'toggle', 'next', 'prev', 'stop', 'destroy' or the name of a transition effect (ie, 'fade', 'zoom', etc) -// an object - properties to control the slideshow -// -// the arg2 arg can be... -// the name of an fx (only used in conjunction with a numeric value for 'options') -// the value true (only used in first arg == 'resume') and indicates -// that the resume should occur immediately (not wait for next timeout) - -$.fn.cycle = function(options, arg2) { - var o = { s: this.selector, c: this.context }; - - // in 1.3+ we can fix mistakes with the ready state - if (this.length === 0 && options != 'stop') { - if (!$.isReady && o.s) { - log('DOM not ready, queuing slideshow'); - $(function() { - $(o.s,o.c).cycle(options,arg2); - }); - return this; - } - // is your DOM ready? http://docs.jquery.com/Tutorials:Introducing_$(document).ready() - log('terminating; zero elements found by selector' + ($.isReady ? '' : ' (DOM not ready)')); - return this; - } - - // iterate the matched nodeset - return this.each(function() { - var opts = handleArguments(this, options, arg2); - if (opts === false) - return; - - opts.updateActivePagerLink = opts.updateActivePagerLink || $.fn.cycle.updateActivePagerLink; - - // stop existing slideshow for this container (if there is one) - if (this.cycleTimeout) - clearTimeout(this.cycleTimeout); - this.cycleTimeout = this.cyclePause = 0; - - var $cont = $(this); - var $slides = opts.slideExpr ? $(opts.slideExpr, this) : $cont.children(); - var els = $slides.get(); - - var opts2 = buildOptions($cont, $slides, els, opts, o); - if (opts2 === false) - return; - - if (els.length < 2) { - log('terminating; too few slides: ' + els.length); - return; - } - - var startTime = opts2.continuous ? 10 : getTimeout(els[opts2.currSlide], els[opts2.nextSlide], opts2, !opts2.backwards); - - // if it's an auto slideshow, kick it off - if (startTime) { - startTime += (opts2.delay || 0); - if (startTime < 10) - startTime = 10; - debug('first timeout: ' + startTime); - this.cycleTimeout = setTimeout(function(){go(els,opts2,0,!opts.backwards)}, startTime); - } - }); -}; - -function triggerPause(cont, byHover, onPager) { - var opts = $(cont).data('cycle.opts'); - var paused = !!cont.cyclePause; - if (paused && opts.paused) - opts.paused(cont, opts, byHover, onPager); - else if (!paused && opts.resumed) - opts.resumed(cont, opts, byHover, onPager); -} - -// process the args that were passed to the plugin fn -function handleArguments(cont, options, arg2) { - if (cont.cycleStop == undefined) - cont.cycleStop = 0; - if (options === undefined || options === null) - options = {}; - if (options.constructor == String) { - switch(options) { - case 'destroy': - case 'stop': - var opts = $(cont).data('cycle.opts'); - if (!opts) - return false; - cont.cycleStop++; // callbacks look for change - if (cont.cycleTimeout) - clearTimeout(cont.cycleTimeout); - cont.cycleTimeout = 0; - opts.elements && $(opts.elements).stop(); - $(cont).removeData('cycle.opts'); - if (options == 'destroy') - destroy(opts); - return false; - case 'toggle': - cont.cyclePause = (cont.cyclePause === 1) ? 0 : 1; - checkInstantResume(cont.cyclePause, arg2, cont); - triggerPause(cont); - return false; - case 'pause': - cont.cyclePause = 1; - triggerPause(cont); - return false; - case 'resume': - cont.cyclePause = 0; - checkInstantResume(false, arg2, cont); - triggerPause(cont); - return false; - case 'prev': - case 'next': - var opts = $(cont).data('cycle.opts'); - if (!opts) { - log('options not found, "prev/next" ignored'); - return false; - } - $.fn.cycle[options](opts); - return false; - default: - options = { fx: options }; - }; - return options; - } - else if (options.constructor == Number) { - // go to the requested slide - var num = options; - options = $(cont).data('cycle.opts'); - if (!options) { - log('options not found, can not advance slide'); - return false; - } - if (num < 0 || num >= options.elements.length) { - log('invalid slide index: ' + num); - return false; - } - options.nextSlide = num; - if (cont.cycleTimeout) { - clearTimeout(cont.cycleTimeout); - cont.cycleTimeout = 0; - } - if (typeof arg2 == 'string') - options.oneTimeFx = arg2; - go(options.elements, options, 1, num >= options.currSlide); - return false; - } - return options; - - function checkInstantResume(isPaused, arg2, cont) { - if (!isPaused && arg2 === true) { // resume now! - var options = $(cont).data('cycle.opts'); - if (!options) { - log('options not found, can not resume'); - return false; - } - if (cont.cycleTimeout) { - clearTimeout(cont.cycleTimeout); - cont.cycleTimeout = 0; - } - go(options.elements, options, 1, !options.backwards); - } - } -}; - -function removeFilter(el, opts) { - if (!$.support.opacity && opts.cleartype && el.style.filter) { - try { el.style.removeAttribute('filter'); } - catch(smother) {} // handle old opera versions - } -}; - -// unbind event handlers -function destroy(opts) { - if (opts.next) - $(opts.next).unbind(opts.prevNextEvent); - if (opts.prev) - $(opts.prev).unbind(opts.prevNextEvent); - - if (opts.pager || opts.pagerAnchorBuilder) - $.each(opts.pagerAnchors || [], function() { - this.unbind().remove(); - }); - opts.pagerAnchors = null; - if (opts.destroy) // callback - opts.destroy(opts); -}; - -// one-time initialization -function buildOptions($cont, $slides, els, options, o) { - var startingSlideSpecified; - // support metadata plugin (v1.0 and v2.0) - var opts = $.extend({}, $.fn.cycle.defaults, options || {}, $.metadata ? $cont.metadata() : $.meta ? $cont.data() : {}); - var meta = $.isFunction($cont.data) ? $cont.data(opts.metaAttr) : null; - if (meta) - opts = $.extend(opts, meta); - if (opts.autostop) - opts.countdown = opts.autostopCount || els.length; - - var cont = $cont[0]; - $cont.data('cycle.opts', opts); - opts.$cont = $cont; - opts.stopCount = cont.cycleStop; - opts.elements = els; - opts.before = opts.before ? [opts.before] : []; - opts.after = opts.after ? [opts.after] : []; - - // push some after callbacks - if (!$.support.opacity && opts.cleartype) - opts.after.push(function() { removeFilter(this, opts); }); - if (opts.continuous) - opts.after.push(function() { go(els,opts,0,!opts.backwards); }); - - saveOriginalOpts(opts); - - // clearType corrections - if (!$.support.opacity && opts.cleartype && !opts.cleartypeNoBg) - clearTypeFix($slides); - - // container requires non-static position so that slides can be position within - if ($cont.css('position') == 'static') - $cont.css('position', 'relative'); - if (opts.width) - $cont.width(opts.width); - if (opts.height && opts.height != 'auto') - $cont.height(opts.height); - - if (opts.startingSlide != undefined) { - opts.startingSlide = parseInt(opts.startingSlide,10); - if (opts.startingSlide >= els.length || opts.startSlide < 0) - opts.startingSlide = 0; // catch bogus input - else - startingSlideSpecified = true; - } - else if (opts.backwards) - opts.startingSlide = els.length - 1; - else - opts.startingSlide = 0; - - // if random, mix up the slide array - if (opts.random) { - opts.randomMap = []; - for (var i = 0; i < els.length; i++) - opts.randomMap.push(i); - opts.randomMap.sort(function(a,b) {return Math.random() - 0.5;}); - if (startingSlideSpecified) { - // try to find the specified starting slide and if found set start slide index in the map accordingly - for ( var cnt = 0; cnt < els.length; cnt++ ) { - if ( opts.startingSlide == opts.randomMap[cnt] ) { - opts.randomIndex = cnt; - } - } - } - else { - opts.randomIndex = 1; - opts.startingSlide = opts.randomMap[1]; - } - } - else if (opts.startingSlide >= els.length) - opts.startingSlide = 0; // catch bogus input - opts.currSlide = opts.startingSlide || 0; - var first = opts.startingSlide; - - // set position and zIndex on all the slides - $slides.css({position: 'absolute', top:0, left:0}).hide().each(function(i) { - var z; - if (opts.backwards) - z = first ? i <= first ? els.length + (i-first) : first-i : els.length-i; - else - z = first ? i >= first ? els.length - (i-first) : first-i : els.length-i; - $(this).css('z-index', z) - }); - - // make sure first slide is visible - $(els[first]).css('opacity',1).show(); // opacity bit needed to handle restart use case - removeFilter(els[first], opts); - - // stretch slides - if (opts.fit) { - if (!opts.aspect) { - if (opts.width) - $slides.width(opts.width); - if (opts.height && opts.height != 'auto') - $slides.height(opts.height); - } else { - $slides.each(function(){ - var $slide = $(this); - var ratio = (opts.aspect === true) ? $slide.width()/$slide.height() : opts.aspect; - if( opts.width && $slide.width() != opts.width ) { - $slide.width( opts.width ); - $slide.height( opts.width / ratio ); - } - - if( opts.height && $slide.height() < opts.height ) { - $slide.height( opts.height ); - $slide.width( opts.height * ratio ); - } - }); - } - } - - if (opts.center && ((!opts.fit) || opts.aspect)) { - $slides.each(function(){ - var $slide = $(this); - $slide.css({ - "margin-left": opts.width ? - ((opts.width - $slide.width()) / 2) + "px" : - 0, - "margin-top": opts.height ? - ((opts.height - $slide.height()) / 2) + "px" : - 0 - }); - }); - } - - if (opts.center && !opts.fit && !opts.slideResize) { - $slides.each(function(){ - var $slide = $(this); - $slide.css({ - "margin-left": opts.width ? ((opts.width - $slide.width()) / 2) + "px" : 0, - "margin-top": opts.height ? ((opts.height - $slide.height()) / 2) + "px" : 0 - }); - }); - } - - // stretch container - var reshape = opts.containerResize && !$cont.innerHeight(); - if (reshape) { // do this only if container has no size http://tinyurl.com/da2oa9 - var maxw = 0, maxh = 0; - for(var j=0; j < els.length; j++) { - var $e = $(els[j]), e = $e[0], w = $e.outerWidth(), h = $e.outerHeight(); - if (!w) w = e.offsetWidth || e.width || $e.attr('width'); - if (!h) h = e.offsetHeight || e.height || $e.attr('height'); - maxw = w > maxw ? w : maxw; - maxh = h > maxh ? h : maxh; - } - if (maxw > 0 && maxh > 0) - $cont.css({width:maxw+'px',height:maxh+'px'}); - } - - var pauseFlag = false; // https://github.com/malsup/cycle/issues/44 - if (opts.pause) - $cont.hover( - function(){ - pauseFlag = true; - this.cyclePause++; - triggerPause(cont, true); - }, - function(){ - pauseFlag && this.cyclePause--; - triggerPause(cont, true); - } - ); - - if (supportMultiTransitions(opts) === false) - return false; - - // apparently a lot of people use image slideshows without height/width attributes on the images. - // Cycle 2.50+ requires the sizing info for every slide; this block tries to deal with that. - var requeue = false; - options.requeueAttempts = options.requeueAttempts || 0; - $slides.each(function() { - // try to get height/width of each slide - var $el = $(this); - this.cycleH = (opts.fit && opts.height) ? opts.height : ($el.height() || this.offsetHeight || this.height || $el.attr('height') || 0); - this.cycleW = (opts.fit && opts.width) ? opts.width : ($el.width() || this.offsetWidth || this.width || $el.attr('width') || 0); - - if ( $el.is('img') ) { - // sigh.. sniffing, hacking, shrugging... this crappy hack tries to account for what browsers do when - // an image is being downloaded and the markup did not include sizing info (height/width attributes); - // there seems to be some "default" sizes used in this situation - var loadingIE = ($.browser.msie && this.cycleW == 28 && this.cycleH == 30 && !this.complete); - var loadingFF = ($.browser.mozilla && this.cycleW == 34 && this.cycleH == 19 && !this.complete); - var loadingOp = ($.browser.opera && ((this.cycleW == 42 && this.cycleH == 19) || (this.cycleW == 37 && this.cycleH == 17)) && !this.complete); - var loadingOther = (this.cycleH == 0 && this.cycleW == 0 && !this.complete); - // don't requeue for images that are still loading but have a valid size - if (loadingIE || loadingFF || loadingOp || loadingOther) { - if (o.s && opts.requeueOnImageNotLoaded && ++options.requeueAttempts < 100) { // track retry count so we don't loop forever - log(options.requeueAttempts,' - img slide not loaded, requeuing slideshow: ', this.src, this.cycleW, this.cycleH); - setTimeout(function() {$(o.s,o.c).cycle(options)}, opts.requeueTimeout); - requeue = true; - return false; // break each loop - } - else { - log('could not determine size of image: '+this.src, this.cycleW, this.cycleH); - } - } - } - return true; - }); - - if (requeue) - return false; - - opts.cssBefore = opts.cssBefore || {}; - opts.cssAfter = opts.cssAfter || {}; - opts.cssFirst = opts.cssFirst || {}; - opts.animIn = opts.animIn || {}; - opts.animOut = opts.animOut || {}; - - $slides.not(':eq('+first+')').css(opts.cssBefore); - $($slides[first]).css(opts.cssFirst); - - if (opts.timeout) { - opts.timeout = parseInt(opts.timeout,10); - // ensure that timeout and speed settings are sane - if (opts.speed.constructor == String) - opts.speed = $.fx.speeds[opts.speed] || parseInt(opts.speed,10); - if (!opts.sync) - opts.speed = opts.speed / 2; - - var buffer = opts.fx == 'none' ? 0 : opts.fx == 'shuffle' ? 500 : 250; - while((opts.timeout - opts.speed) < buffer) // sanitize timeout - opts.timeout += opts.speed; - } - if (opts.easing) - opts.easeIn = opts.easeOut = opts.easing; - if (!opts.speedIn) - opts.speedIn = opts.speed; - if (!opts.speedOut) - opts.speedOut = opts.speed; - - opts.slideCount = els.length; - opts.currSlide = opts.lastSlide = first; - if (opts.random) { - if (++opts.randomIndex == els.length) - opts.randomIndex = 0; - opts.nextSlide = opts.randomMap[opts.randomIndex]; - } - else if (opts.backwards) - opts.nextSlide = opts.startingSlide == 0 ? (els.length-1) : opts.startingSlide-1; - else - opts.nextSlide = opts.startingSlide >= (els.length-1) ? 0 : opts.startingSlide+1; - - // run transition init fn - if (!opts.multiFx) { - var init = $.fn.cycle.transitions[opts.fx]; - if ($.isFunction(init)) - init($cont, $slides, opts); - else if (opts.fx != 'custom' && !opts.multiFx) { - log('unknown transition: ' + opts.fx,'; slideshow terminating'); - return false; - } - } - - // fire artificial events - var e0 = $slides[first]; - if (!opts.skipInitializationCallbacks) { - if (opts.before.length) - opts.before[0].apply(e0, [e0, e0, opts, true]); - if (opts.after.length) - opts.after[0].apply(e0, [e0, e0, opts, true]); - } - if (opts.next) - $(opts.next).bind(opts.prevNextEvent,function(){return advance(opts,1)}); - if (opts.prev) - $(opts.prev).bind(opts.prevNextEvent,function(){return advance(opts,0)}); - if (opts.pager || opts.pagerAnchorBuilder) - buildPager(els,opts); - - exposeAddSlide(opts, els); - - return opts; -}; - -// save off original opts so we can restore after clearing state -function saveOriginalOpts(opts) { - opts.original = { before: [], after: [] }; - opts.original.cssBefore = $.extend({}, opts.cssBefore); - opts.original.cssAfter = $.extend({}, opts.cssAfter); - opts.original.animIn = $.extend({}, opts.animIn); - opts.original.animOut = $.extend({}, opts.animOut); - $.each(opts.before, function() { opts.original.before.push(this); }); - $.each(opts.after, function() { opts.original.after.push(this); }); -}; - -function supportMultiTransitions(opts) { - var i, tx, txs = $.fn.cycle.transitions; - // look for multiple effects - if (opts.fx.indexOf(',') > 0) { - opts.multiFx = true; - opts.fxs = opts.fx.replace(/\s*/g,'').split(','); - // discard any bogus effect names - for (i=0; i < opts.fxs.length; i++) { - var fx = opts.fxs[i]; - tx = txs[fx]; - if (!tx || !txs.hasOwnProperty(fx) || !$.isFunction(tx)) { - log('discarding unknown transition: ',fx); - opts.fxs.splice(i,1); - i--; - } - } - // if we have an empty list then we threw everything away! - if (!opts.fxs.length) { - log('No valid transitions named; slideshow terminating.'); - return false; - } - } - else if (opts.fx == 'all') { // auto-gen the list of transitions - opts.multiFx = true; - opts.fxs = []; - for (p in txs) { - tx = txs[p]; - if (txs.hasOwnProperty(p) && $.isFunction(tx)) - opts.fxs.push(p); - } - } - if (opts.multiFx && opts.randomizeEffects) { - // munge the fxs array to make effect selection random - var r1 = Math.floor(Math.random() * 20) + 30; - for (i = 0; i < r1; i++) { - var r2 = Math.floor(Math.random() * opts.fxs.length); - opts.fxs.push(opts.fxs.splice(r2,1)[0]); - } - debug('randomized fx sequence: ',opts.fxs); - } - return true; -}; - -// provide a mechanism for adding slides after the slideshow has started -function exposeAddSlide(opts, els) { - opts.addSlide = function(newSlide, prepend) { - var $s = $(newSlide), s = $s[0]; - if (!opts.autostopCount) - opts.countdown++; - els[prepend?'unshift':'push'](s); - if (opts.els) - opts.els[prepend?'unshift':'push'](s); // shuffle needs this - opts.slideCount = els.length; - - // add the slide to the random map and resort - if (opts.random) { - opts.randomMap.push(opts.slideCount-1); - opts.randomMap.sort(function(a,b) {return Math.random() - 0.5;}); - } - - $s.css('position','absolute'); - $s[prepend?'prependTo':'appendTo'](opts.$cont); - - if (prepend) { - opts.currSlide++; - opts.nextSlide++; - } - - if (!$.support.opacity && opts.cleartype && !opts.cleartypeNoBg) - clearTypeFix($s); - - if (opts.fit && opts.width) - $s.width(opts.width); - if (opts.fit && opts.height && opts.height != 'auto') - $s.height(opts.height); - s.cycleH = (opts.fit && opts.height) ? opts.height : $s.height(); - s.cycleW = (opts.fit && opts.width) ? opts.width : $s.width(); - - $s.css(opts.cssBefore); - - if (opts.pager || opts.pagerAnchorBuilder) - $.fn.cycle.createPagerAnchor(els.length-1, s, $(opts.pager), els, opts); - - if ($.isFunction(opts.onAddSlide)) - opts.onAddSlide($s); - else - $s.hide(); // default behavior - }; -} - -// reset internal state; we do this on every pass in order to support multiple effects -$.fn.cycle.resetState = function(opts, fx) { - fx = fx || opts.fx; - opts.before = []; opts.after = []; - opts.cssBefore = $.extend({}, opts.original.cssBefore); - opts.cssAfter = $.extend({}, opts.original.cssAfter); - opts.animIn = $.extend({}, opts.original.animIn); - opts.animOut = $.extend({}, opts.original.animOut); - opts.fxFn = null; - $.each(opts.original.before, function() { opts.before.push(this); }); - $.each(opts.original.after, function() { opts.after.push(this); }); - - // re-init - var init = $.fn.cycle.transitions[fx]; - if ($.isFunction(init)) - init(opts.$cont, $(opts.elements), opts); -}; - -// this is the main engine fn, it handles the timeouts, callbacks and slide index mgmt -function go(els, opts, manual, fwd) { - // opts.busy is true if we're in the middle of an animation - if (manual && opts.busy && opts.manualTrump) { - // let manual transitions requests trump active ones - debug('manualTrump in go(), stopping active transition'); - $(els).stop(true,true); - opts.busy = 0; - } - // don't begin another timeout-based transition if there is one active - if (opts.busy) { - debug('transition active, ignoring new tx request'); - return; - } - - var p = opts.$cont[0], curr = els[opts.currSlide], next = els[opts.nextSlide]; - - // stop cycling if we have an outstanding stop request - if (p.cycleStop != opts.stopCount || p.cycleTimeout === 0 && !manual) - return; - - // check to see if we should stop cycling based on autostop options - if (!manual && !p.cyclePause && !opts.bounce && - ((opts.autostop && (--opts.countdown <= 0)) || - (opts.nowrap && !opts.random && opts.nextSlide < opts.currSlide))) { - if (opts.end) - opts.end(opts); - return; - } - - // if slideshow is paused, only transition on a manual trigger - var changed = false; - if ((manual || !p.cyclePause) && (opts.nextSlide != opts.currSlide)) { - changed = true; - var fx = opts.fx; - // keep trying to get the slide size if we don't have it yet - curr.cycleH = curr.cycleH || $(curr).height(); - curr.cycleW = curr.cycleW || $(curr).width(); - next.cycleH = next.cycleH || $(next).height(); - next.cycleW = next.cycleW || $(next).width(); - - // support multiple transition types - if (opts.multiFx) { - if (fwd && (opts.lastFx == undefined || ++opts.lastFx >= opts.fxs.length)) - opts.lastFx = 0; - else if (!fwd && (opts.lastFx == undefined || --opts.lastFx < 0)) - opts.lastFx = opts.fxs.length - 1; - fx = opts.fxs[opts.lastFx]; - } - - // one-time fx overrides apply to: $('div').cycle(3,'zoom'); - if (opts.oneTimeFx) { - fx = opts.oneTimeFx; - opts.oneTimeFx = null; - } - - $.fn.cycle.resetState(opts, fx); - - // run the before callbacks - if (opts.before.length) - $.each(opts.before, function(i,o) { - if (p.cycleStop != opts.stopCount) return; - o.apply(next, [curr, next, opts, fwd]); - }); - - // stage the after callacks - var after = function() { - opts.busy = 0; - $.each(opts.after, function(i,o) { - if (p.cycleStop != opts.stopCount) return; - o.apply(next, [curr, next, opts, fwd]); - }); - if (!p.cycleStop) { - // queue next transition - queueNext(); - } - }; - - debug('tx firing('+fx+'); currSlide: ' + opts.currSlide + '; nextSlide: ' + opts.nextSlide); - - // get ready to perform the transition - opts.busy = 1; - if (opts.fxFn) // fx function provided? - opts.fxFn(curr, next, opts, after, fwd, manual && opts.fastOnEvent); - else if ($.isFunction($.fn.cycle[opts.fx])) // fx plugin ? - $.fn.cycle[opts.fx](curr, next, opts, after, fwd, manual && opts.fastOnEvent); - else - $.fn.cycle.custom(curr, next, opts, after, fwd, manual && opts.fastOnEvent); - } - else { - queueNext(); - } - - if (changed || opts.nextSlide == opts.currSlide) { - // calculate the next slide - opts.lastSlide = opts.currSlide; - if (opts.random) { - opts.currSlide = opts.nextSlide; - if (++opts.randomIndex == els.length) { - opts.randomIndex = 0; - opts.randomMap.sort(function(a,b) {return Math.random() - 0.5;}); - } - opts.nextSlide = opts.randomMap[opts.randomIndex]; - if (opts.nextSlide == opts.currSlide) - opts.nextSlide = (opts.currSlide == opts.slideCount - 1) ? 0 : opts.currSlide + 1; - } - else if (opts.backwards) { - var roll = (opts.nextSlide - 1) < 0; - if (roll && opts.bounce) { - opts.backwards = !opts.backwards; - opts.nextSlide = 1; - opts.currSlide = 0; - } - else { - opts.nextSlide = roll ? (els.length-1) : opts.nextSlide-1; - opts.currSlide = roll ? 0 : opts.nextSlide+1; - } - } - else { // sequence - var roll = (opts.nextSlide + 1) == els.length; - if (roll && opts.bounce) { - opts.backwards = !opts.backwards; - opts.nextSlide = els.length-2; - opts.currSlide = els.length-1; - } - else { - opts.nextSlide = roll ? 0 : opts.nextSlide+1; - opts.currSlide = roll ? els.length-1 : opts.nextSlide-1; - } - } - } - if (changed && opts.pager) - opts.updateActivePagerLink(opts.pager, opts.currSlide, opts.activePagerClass); - - function queueNext() { - // stage the next transition - var ms = 0, timeout = opts.timeout; - if (opts.timeout && !opts.continuous) { - ms = getTimeout(els[opts.currSlide], els[opts.nextSlide], opts, fwd); - if (opts.fx == 'shuffle') - ms -= opts.speedOut; - } - else if (opts.continuous && p.cyclePause) // continuous shows work off an after callback, not this timer logic - ms = 10; - if (ms > 0) - p.cycleTimeout = setTimeout(function(){ go(els, opts, 0, !opts.backwards) }, ms); - } -}; - -// invoked after transition -$.fn.cycle.updateActivePagerLink = function(pager, currSlide, clsName) { - $(pager).each(function() { - $(this).children().removeClass(clsName).eq(currSlide).addClass(clsName); - }); -}; - -// calculate timeout value for current transition -function getTimeout(curr, next, opts, fwd) { - if (opts.timeoutFn) { - // call user provided calc fn - var t = opts.timeoutFn.call(curr,curr,next,opts,fwd); - while (opts.fx != 'none' && (t - opts.speed) < 250) // sanitize timeout - t += opts.speed; - debug('calculated timeout: ' + t + '; speed: ' + opts.speed); - if (t !== false) - return t; - } - return opts.timeout; -}; - -// expose next/prev function, caller must pass in state -$.fn.cycle.next = function(opts) { advance(opts,1); }; -$.fn.cycle.prev = function(opts) { advance(opts,0);}; - -// advance slide forward or back -function advance(opts, moveForward) { - var val = moveForward ? 1 : -1; - var els = opts.elements; - var p = opts.$cont[0], timeout = p.cycleTimeout; - if (timeout) { - clearTimeout(timeout); - p.cycleTimeout = 0; - } - if (opts.random && val < 0) { - // move back to the previously display slide - opts.randomIndex--; - if (--opts.randomIndex == -2) - opts.randomIndex = els.length-2; - else if (opts.randomIndex == -1) - opts.randomIndex = els.length-1; - opts.nextSlide = opts.randomMap[opts.randomIndex]; - } - else if (opts.random) { - opts.nextSlide = opts.randomMap[opts.randomIndex]; - } - else { - opts.nextSlide = opts.currSlide + val; - if (opts.nextSlide < 0) { - if (opts.nowrap) return false; - opts.nextSlide = els.length - 1; - } - else if (opts.nextSlide >= els.length) { - if (opts.nowrap) return false; - opts.nextSlide = 0; - } - } - - var cb = opts.onPrevNextEvent || opts.prevNextClick; // prevNextClick is deprecated - if ($.isFunction(cb)) - cb(val > 0, opts.nextSlide, els[opts.nextSlide]); - go(els, opts, 1, moveForward); - return false; -}; - -function buildPager(els, opts) { - var $p = $(opts.pager); - $.each(els, function(i,o) { - $.fn.cycle.createPagerAnchor(i,o,$p,els,opts); - }); - opts.updateActivePagerLink(opts.pager, opts.startingSlide, opts.activePagerClass); -}; - -$.fn.cycle.createPagerAnchor = function(i, el, $p, els, opts) { - var a; - if ($.isFunction(opts.pagerAnchorBuilder)) { - a = opts.pagerAnchorBuilder(i,el); - debug('pagerAnchorBuilder('+i+', el) returned: ' + a); - } - else - a = ''+(i+1)+''; - - if (!a) - return; - var $a = $(a); - // don't reparent if anchor is in the dom - if ($a.parents('body').length === 0) { - var arr = []; - if ($p.length > 1) { - $p.each(function() { - var $clone = $a.clone(true); - $(this).append($clone); - arr.push($clone[0]); - }); - $a = $(arr); - } - else { - $a.appendTo($p); - } - } - - opts.pagerAnchors = opts.pagerAnchors || []; - opts.pagerAnchors.push($a); - - var pagerFn = function(e) { - e.preventDefault(); - opts.nextSlide = i; - var p = opts.$cont[0], timeout = p.cycleTimeout; - if (timeout) { - clearTimeout(timeout); - p.cycleTimeout = 0; - } - var cb = opts.onPagerEvent || opts.pagerClick; // pagerClick is deprecated - if ($.isFunction(cb)) - cb(opts.nextSlide, els[opts.nextSlide]); - go(els,opts,1,opts.currSlide < i); // trigger the trans -// return false; // <== allow bubble - } - - if ( /mouseenter|mouseover/i.test(opts.pagerEvent) ) { - $a.hover(pagerFn, function(){/* no-op */} ); - } - else { - $a.bind(opts.pagerEvent, pagerFn); - } - - if ( ! /^click/.test(opts.pagerEvent) && !opts.allowPagerClickBubble) - $a.bind('click.cycle', function(){return false;}); // suppress click - - var cont = opts.$cont[0]; - var pauseFlag = false; // https://github.com/malsup/cycle/issues/44 - if (opts.pauseOnPagerHover) { - $a.hover( - function() { - pauseFlag = true; - cont.cyclePause++; - triggerPause(cont,true,true); - }, function() { - pauseFlag && cont.cyclePause--; - triggerPause(cont,true,true); - } - ); - } -}; - -// helper fn to calculate the number of slides between the current and the next -$.fn.cycle.hopsFromLast = function(opts, fwd) { - var hops, l = opts.lastSlide, c = opts.currSlide; - if (fwd) - hops = c > l ? c - l : opts.slideCount - l; - else - hops = c < l ? l - c : l + opts.slideCount - c; - return hops; -}; - -// fix clearType problems in ie6 by setting an explicit bg color -// (otherwise text slides look horrible during a fade transition) -function clearTypeFix($slides) { - debug('applying clearType background-color hack'); - function hex(s) { - s = parseInt(s,10).toString(16); - return s.length < 2 ? '0'+s : s; - }; - function getBg(e) { - for ( ; e && e.nodeName.toLowerCase() != 'html'; e = e.parentNode) { - var v = $.css(e,'background-color'); - if (v && v.indexOf('rgb') >= 0 ) { - var rgb = v.match(/\d+/g); - return '#'+ hex(rgb[0]) + hex(rgb[1]) + hex(rgb[2]); - } - if (v && v != 'transparent') - return v; - } - return '#ffffff'; - }; - $slides.each(function() { $(this).css('background-color', getBg(this)); }); -}; - -// reset common props before the next transition -$.fn.cycle.commonReset = function(curr,next,opts,w,h,rev) { - $(opts.elements).not(curr).hide(); - if (typeof opts.cssBefore.opacity == 'undefined') - opts.cssBefore.opacity = 1; - opts.cssBefore.display = 'block'; - if (opts.slideResize && w !== false && next.cycleW > 0) - opts.cssBefore.width = next.cycleW; - if (opts.slideResize && h !== false && next.cycleH > 0) - opts.cssBefore.height = next.cycleH; - opts.cssAfter = opts.cssAfter || {}; - opts.cssAfter.display = 'none'; - $(curr).css('zIndex',opts.slideCount + (rev === true ? 1 : 0)); - $(next).css('zIndex',opts.slideCount + (rev === true ? 0 : 1)); -}; - -// the actual fn for effecting a transition -$.fn.cycle.custom = function(curr, next, opts, cb, fwd, speedOverride) { - var $l = $(curr), $n = $(next); - var speedIn = opts.speedIn, speedOut = opts.speedOut, easeIn = opts.easeIn, easeOut = opts.easeOut; - $n.css(opts.cssBefore); - if (speedOverride) { - if (typeof speedOverride == 'number') - speedIn = speedOut = speedOverride; - else - speedIn = speedOut = 1; - easeIn = easeOut = null; - } - var fn = function() { - $n.animate(opts.animIn, speedIn, easeIn, function() { - cb(); - }); - }; - $l.animate(opts.animOut, speedOut, easeOut, function() { - $l.css(opts.cssAfter); - if (!opts.sync) - fn(); - }); - if (opts.sync) fn(); -}; - -// transition definitions - only fade is defined here, transition pack defines the rest -$.fn.cycle.transitions = { - fade: function($cont, $slides, opts) { - $slides.not(':eq('+opts.currSlide+')').css('opacity',0); - opts.before.push(function(curr,next,opts) { - $.fn.cycle.commonReset(curr,next,opts); - opts.cssBefore.opacity = 0; - }); - opts.animIn = { opacity: 1 }; - opts.animOut = { opacity: 0 }; - opts.cssBefore = { top: 0, left: 0 }; - } -}; - -$.fn.cycle.ver = function() { return ver; }; - -// override these globally if you like (they are all optional) -$.fn.cycle.defaults = { - activePagerClass: 'activeSlide', // class name used for the active pager link - after: null, // transition callback (scope set to element that was shown): function(currSlideElement, nextSlideElement, options, forwardFlag) - allowPagerClickBubble: false, // allows or prevents click event on pager anchors from bubbling - animIn: null, // properties that define how the slide animates in - animOut: null, // properties that define how the slide animates out - aspect: false, // preserve aspect ratio during fit resizing, cropping if necessary (must be used with fit option) - autostop: 0, // true to end slideshow after X transitions (where X == slide count) - autostopCount: 0, // number of transitions (optionally used with autostop to define X) - backwards: false, // true to start slideshow at last slide and move backwards through the stack - before: null, // transition callback (scope set to element to be shown): function(currSlideElement, nextSlideElement, options, forwardFlag) - center: null, // set to true to have cycle add top/left margin to each slide (use with width and height options) - cleartype: !$.support.opacity, // true if clearType corrections should be applied (for IE) - cleartypeNoBg: false, // set to true to disable extra cleartype fixing (leave false to force background color setting on slides) - containerResize: 1, // resize container to fit largest slide - continuous: 0, // true to start next transition immediately after current one completes - cssAfter: null, // properties that defined the state of the slide after transitioning out - cssBefore: null, // properties that define the initial state of the slide before transitioning in - delay: 0, // additional delay (in ms) for first transition (hint: can be negative) - easeIn: null, // easing for "in" transition - easeOut: null, // easing for "out" transition - easing: null, // easing method for both in and out transitions - end: null, // callback invoked when the slideshow terminates (use with autostop or nowrap options): function(options) - fastOnEvent: 0, // force fast transitions when triggered manually (via pager or prev/next); value == time in ms - fit: 0, // force slides to fit container - fx: 'fade', // name of transition effect (or comma separated names, ex: 'fade,scrollUp,shuffle') - fxFn: null, // function used to control the transition: function(currSlideElement, nextSlideElement, options, afterCalback, forwardFlag) - height: 'auto', // container height (if the 'fit' option is true, the slides will be set to this height as well) - manualTrump: true, // causes manual transition to stop an active transition instead of being ignored - metaAttr: 'cycle',// data- attribute that holds the option data for the slideshow - next: null, // element, jQuery object, or jQuery selector string for the element to use as event trigger for next slide - nowrap: 0, // true to prevent slideshow from wrapping - onPagerEvent: null, // callback fn for pager events: function(zeroBasedSlideIndex, slideElement) - onPrevNextEvent: null,// callback fn for prev/next events: function(isNext, zeroBasedSlideIndex, slideElement) - pager: null, // element, jQuery object, or jQuery selector string for the element to use as pager container - pagerAnchorBuilder: null, // callback fn for building anchor links: function(index, DOMelement) - pagerEvent: 'click.cycle', // name of event which drives the pager navigation - pause: 0, // true to enable "pause on hover" - pauseOnPagerHover: 0, // true to pause when hovering over pager link - prev: null, // element, jQuery object, or jQuery selector string for the element to use as event trigger for previous slide - prevNextEvent:'click.cycle',// event which drives the manual transition to the previous or next slide - random: 0, // true for random, false for sequence (not applicable to shuffle fx) - randomizeEffects: 1, // valid when multiple effects are used; true to make the effect sequence random - requeueOnImageNotLoaded: true, // requeue the slideshow if any image slides are not yet loaded - requeueTimeout: 250, // ms delay for requeue - rev: 0, // causes animations to transition in reverse (for effects that support it such as scrollHorz/scrollVert/shuffle) - shuffle: null, // coords for shuffle animation, ex: { top:15, left: 200 } - skipInitializationCallbacks: false, // set to true to disable the first before/after callback that occurs prior to any transition - slideExpr: null, // expression for selecting slides (if something other than all children is required) - slideResize: 1, // force slide width/height to fixed size before every transition - speed: 1000, // speed of the transition (any valid fx speed value) - speedIn: null, // speed of the 'in' transition - speedOut: null, // speed of the 'out' transition - startingSlide: undefined, // zero-based index of the first slide to be displayed - sync: 1, // true if in/out transitions should occur simultaneously - timeout: 4000, // milliseconds between slide transitions (0 to disable auto advance) - timeoutFn: null, // callback for determining per-slide timeout value: function(currSlideElement, nextSlideElement, options, forwardFlag) - updateActivePagerLink: null, // callback fn invoked to update the active pager link (adds/removes activePagerClass style) - width: null // container width (if the 'fit' option is true, the slides will be set to this width as well) -}; - -})(jQuery); - - -/*! - * jQuery Cycle Plugin Transition Definitions - * This script is a plugin for the jQuery Cycle Plugin - * Examples and documentation at: http://malsup.com/jquery/cycle/ - * Copyright (c) 2007-2010 M. Alsup - * Version: 2.73 - * Dual licensed under the MIT and GPL licenses: - * http://www.opensource.org/licenses/mit-license.php - * http://www.gnu.org/licenses/gpl.html - */ -(function($) { - -// -// These functions define slide initialization and properties for the named -// transitions. To save file size feel free to remove any of these that you -// don't need. -// -$.fn.cycle.transitions.none = function($cont, $slides, opts) { - opts.fxFn = function(curr,next,opts,after){ - $(next).show(); - $(curr).hide(); - after(); - }; -}; - -// not a cross-fade, fadeout only fades out the top slide -$.fn.cycle.transitions.fadeout = function($cont, $slides, opts) { - $slides.not(':eq('+opts.currSlide+')').css({ display: 'block', 'opacity': 1 }); - opts.before.push(function(curr,next,opts,w,h,rev) { - $(curr).css('zIndex',opts.slideCount + (!rev === true ? 1 : 0)); - $(next).css('zIndex',opts.slideCount + (!rev === true ? 0 : 1)); - }); - opts.animIn.opacity = 1; - opts.animOut.opacity = 0; - opts.cssBefore.opacity = 1; - opts.cssBefore.display = 'block'; - opts.cssAfter.zIndex = 0; -}; - -// scrollUp/Down/Left/Right -$.fn.cycle.transitions.scrollUp = function($cont, $slides, opts) { - $cont.css('overflow','hidden'); - opts.before.push($.fn.cycle.commonReset); - var h = $cont.height(); - opts.cssBefore.top = h; - opts.cssBefore.left = 0; - opts.cssFirst.top = 0; - opts.animIn.top = 0; - opts.animOut.top = -h; -}; -$.fn.cycle.transitions.scrollDown = function($cont, $slides, opts) { - $cont.css('overflow','hidden'); - opts.before.push($.fn.cycle.commonReset); - var h = $cont.height(); - opts.cssFirst.top = 0; - opts.cssBefore.top = -h; - opts.cssBefore.left = 0; - opts.animIn.top = 0; - opts.animOut.top = h; -}; -$.fn.cycle.transitions.scrollLeft = function($cont, $slides, opts) { - $cont.css('overflow','hidden'); - opts.before.push($.fn.cycle.commonReset); - var w = $cont.width(); - opts.cssFirst.left = 0; - opts.cssBefore.left = w; - opts.cssBefore.top = 0; - opts.animIn.left = 0; - opts.animOut.left = 0-w; -}; -$.fn.cycle.transitions.scrollRight = function($cont, $slides, opts) { - $cont.css('overflow','hidden'); - opts.before.push($.fn.cycle.commonReset); - var w = $cont.width(); - opts.cssFirst.left = 0; - opts.cssBefore.left = -w; - opts.cssBefore.top = 0; - opts.animIn.left = 0; - opts.animOut.left = w; -}; -$.fn.cycle.transitions.scrollHorz = function($cont, $slides, opts) { - $cont.css('overflow','hidden').width(); - opts.before.push(function(curr, next, opts, fwd) { - if (opts.rev) - fwd = !fwd; - $.fn.cycle.commonReset(curr,next,opts); - opts.cssBefore.left = fwd ? (next.cycleW-1) : (1-next.cycleW); - opts.animOut.left = fwd ? -curr.cycleW : curr.cycleW; - }); - opts.cssFirst.left = 0; - opts.cssBefore.top = 0; - opts.animIn.left = 0; - opts.animOut.top = 0; -}; -$.fn.cycle.transitions.scrollVert = function($cont, $slides, opts) { - $cont.css('overflow','hidden'); - opts.before.push(function(curr, next, opts, fwd) { - if (opts.rev) - fwd = !fwd; - $.fn.cycle.commonReset(curr,next,opts); - opts.cssBefore.top = fwd ? (1-next.cycleH) : (next.cycleH-1); - opts.animOut.top = fwd ? curr.cycleH : -curr.cycleH; - }); - opts.cssFirst.top = 0; - opts.cssBefore.left = 0; - opts.animIn.top = 0; - opts.animOut.left = 0; -}; - -// slideX/slideY -$.fn.cycle.transitions.slideX = function($cont, $slides, opts) { - opts.before.push(function(curr, next, opts) { - $(opts.elements).not(curr).hide(); - $.fn.cycle.commonReset(curr,next,opts,false,true); - opts.animIn.width = next.cycleW; - }); - opts.cssBefore.left = 0; - opts.cssBefore.top = 0; - opts.cssBefore.width = 0; - opts.animIn.width = 'show'; - opts.animOut.width = 0; -}; -$.fn.cycle.transitions.slideY = function($cont, $slides, opts) { - opts.before.push(function(curr, next, opts) { - $(opts.elements).not(curr).hide(); - $.fn.cycle.commonReset(curr,next,opts,true,false); - opts.animIn.height = next.cycleH; - }); - opts.cssBefore.left = 0; - opts.cssBefore.top = 0; - opts.cssBefore.height = 0; - opts.animIn.height = 'show'; - opts.animOut.height = 0; -}; - -// shuffle -$.fn.cycle.transitions.shuffle = function($cont, $slides, opts) { - var i, w = $cont.css('overflow', 'visible').width(); - $slides.css({left: 0, top: 0}); - opts.before.push(function(curr,next,opts) { - $.fn.cycle.commonReset(curr,next,opts,true,true,true); - }); - // only adjust speed once! - if (!opts.speedAdjusted) { - opts.speed = opts.speed / 2; // shuffle has 2 transitions - opts.speedAdjusted = true; - } - opts.random = 0; - opts.shuffle = opts.shuffle || {left:-w, top:15}; - opts.els = []; - for (i=0; i < $slides.length; i++) - opts.els.push($slides[i]); - - for (i=0; i < opts.currSlide; i++) - opts.els.push(opts.els.shift()); - - // custom transition fn (hat tip to Benjamin Sterling for this bit of sweetness!) - opts.fxFn = function(curr, next, opts, cb, fwd) { - if (opts.rev) - fwd = !fwd; - var $el = fwd ? $(curr) : $(next); - $(next).css(opts.cssBefore); - var count = opts.slideCount; - $el.animate(opts.shuffle, opts.speedIn, opts.easeIn, function() { - var hops = $.fn.cycle.hopsFromLast(opts, fwd); - for (var k=0; k < hops; k++) - fwd ? opts.els.push(opts.els.shift()) : opts.els.unshift(opts.els.pop()); - if (fwd) { - for (var i=0, len=opts.els.length; i < len; i++) - $(opts.els[i]).css('z-index', len-i+count); - } - else { - var z = $(curr).css('z-index'); - $el.css('z-index', parseInt(z,10)+1+count); - } - $el.animate({left:0, top:0}, opts.speedOut, opts.easeOut, function() { - $(fwd ? this : curr).hide(); - if (cb) cb(); - }); - }); - }; - $.extend(opts.cssBefore, { display: 'block', opacity: 1, top: 0, left: 0 }); -}; - -// turnUp/Down/Left/Right -$.fn.cycle.transitions.turnUp = function($cont, $slides, opts) { - opts.before.push(function(curr, next, opts) { - $.fn.cycle.commonReset(curr,next,opts,true,false); - opts.cssBefore.top = next.cycleH; - opts.animIn.height = next.cycleH; - opts.animOut.width = next.cycleW; - }); - opts.cssFirst.top = 0; - opts.cssBefore.left = 0; - opts.cssBefore.height = 0; - opts.animIn.top = 0; - opts.animOut.height = 0; -}; -$.fn.cycle.transitions.turnDown = function($cont, $slides, opts) { - opts.before.push(function(curr, next, opts) { - $.fn.cycle.commonReset(curr,next,opts,true,false); - opts.animIn.height = next.cycleH; - opts.animOut.top = curr.cycleH; - }); - opts.cssFirst.top = 0; - opts.cssBefore.left = 0; - opts.cssBefore.top = 0; - opts.cssBefore.height = 0; - opts.animOut.height = 0; -}; -$.fn.cycle.transitions.turnLeft = function($cont, $slides, opts) { - opts.before.push(function(curr, next, opts) { - $.fn.cycle.commonReset(curr,next,opts,false,true); - opts.cssBefore.left = next.cycleW; - opts.animIn.width = next.cycleW; - }); - opts.cssBefore.top = 0; - opts.cssBefore.width = 0; - opts.animIn.left = 0; - opts.animOut.width = 0; -}; -$.fn.cycle.transitions.turnRight = function($cont, $slides, opts) { - opts.before.push(function(curr, next, opts) { - $.fn.cycle.commonReset(curr,next,opts,false,true); - opts.animIn.width = next.cycleW; - opts.animOut.left = curr.cycleW; - }); - $.extend(opts.cssBefore, { top: 0, left: 0, width: 0 }); - opts.animIn.left = 0; - opts.animOut.width = 0; -}; - -// zoom -$.fn.cycle.transitions.zoom = function($cont, $slides, opts) { - opts.before.push(function(curr, next, opts) { - $.fn.cycle.commonReset(curr,next,opts,false,false,true); - opts.cssBefore.top = next.cycleH/2; - opts.cssBefore.left = next.cycleW/2; - $.extend(opts.animIn, { top: 0, left: 0, width: next.cycleW, height: next.cycleH }); - $.extend(opts.animOut, { width: 0, height: 0, top: curr.cycleH/2, left: curr.cycleW/2 }); - }); - opts.cssFirst.top = 0; - opts.cssFirst.left = 0; - opts.cssBefore.width = 0; - opts.cssBefore.height = 0; -}; - -// fadeZoom -$.fn.cycle.transitions.fadeZoom = function($cont, $slides, opts) { - opts.before.push(function(curr, next, opts) { - $.fn.cycle.commonReset(curr,next,opts,false,false); - opts.cssBefore.left = next.cycleW/2; - opts.cssBefore.top = next.cycleH/2; - $.extend(opts.animIn, { top: 0, left: 0, width: next.cycleW, height: next.cycleH }); - }); - opts.cssBefore.width = 0; - opts.cssBefore.height = 0; - opts.animOut.opacity = 0; -}; - -// blindX -$.fn.cycle.transitions.blindX = function($cont, $slides, opts) { - var w = $cont.css('overflow','hidden').width(); - opts.before.push(function(curr, next, opts) { - $.fn.cycle.commonReset(curr,next,opts); - opts.animIn.width = next.cycleW; - opts.animOut.left = curr.cycleW; - }); - opts.cssBefore.left = w; - opts.cssBefore.top = 0; - opts.animIn.left = 0; - opts.animOut.left = w; -}; -// blindY -$.fn.cycle.transitions.blindY = function($cont, $slides, opts) { - var h = $cont.css('overflow','hidden').height(); - opts.before.push(function(curr, next, opts) { - $.fn.cycle.commonReset(curr,next,opts); - opts.animIn.height = next.cycleH; - opts.animOut.top = curr.cycleH; - }); - opts.cssBefore.top = h; - opts.cssBefore.left = 0; - opts.animIn.top = 0; - opts.animOut.top = h; -}; -// blindZ -$.fn.cycle.transitions.blindZ = function($cont, $slides, opts) { - var h = $cont.css('overflow','hidden').height(); - var w = $cont.width(); - opts.before.push(function(curr, next, opts) { - $.fn.cycle.commonReset(curr,next,opts); - opts.animIn.height = next.cycleH; - opts.animOut.top = curr.cycleH; - }); - opts.cssBefore.top = h; - opts.cssBefore.left = w; - opts.animIn.top = 0; - opts.animIn.left = 0; - opts.animOut.top = h; - opts.animOut.left = w; -}; - -// growX - grow horizontally from centered 0 width -$.fn.cycle.transitions.growX = function($cont, $slides, opts) { - opts.before.push(function(curr, next, opts) { - $.fn.cycle.commonReset(curr,next,opts,false,true); - opts.cssBefore.left = this.cycleW/2; - opts.animIn.left = 0; - opts.animIn.width = this.cycleW; - opts.animOut.left = 0; - }); - opts.cssBefore.top = 0; - opts.cssBefore.width = 0; -}; -// growY - grow vertically from centered 0 height -$.fn.cycle.transitions.growY = function($cont, $slides, opts) { - opts.before.push(function(curr, next, opts) { - $.fn.cycle.commonReset(curr,next,opts,true,false); - opts.cssBefore.top = this.cycleH/2; - opts.animIn.top = 0; - opts.animIn.height = this.cycleH; - opts.animOut.top = 0; - }); - opts.cssBefore.height = 0; - opts.cssBefore.left = 0; -}; - -// curtainX - squeeze in both edges horizontally -$.fn.cycle.transitions.curtainX = function($cont, $slides, opts) { - opts.before.push(function(curr, next, opts) { - $.fn.cycle.commonReset(curr,next,opts,false,true,true); - opts.cssBefore.left = next.cycleW/2; - opts.animIn.left = 0; - opts.animIn.width = this.cycleW; - opts.animOut.left = curr.cycleW/2; - opts.animOut.width = 0; - }); - opts.cssBefore.top = 0; - opts.cssBefore.width = 0; -}; -// curtainY - squeeze in both edges vertically -$.fn.cycle.transitions.curtainY = function($cont, $slides, opts) { - opts.before.push(function(curr, next, opts) { - $.fn.cycle.commonReset(curr,next,opts,true,false,true); - opts.cssBefore.top = next.cycleH/2; - opts.animIn.top = 0; - opts.animIn.height = next.cycleH; - opts.animOut.top = curr.cycleH/2; - opts.animOut.height = 0; - }); - opts.cssBefore.height = 0; - opts.cssBefore.left = 0; -}; - -// cover - curr slide covered by next slide -$.fn.cycle.transitions.cover = function($cont, $slides, opts) { - var d = opts.direction || 'left'; - var w = $cont.css('overflow','hidden').width(); - var h = $cont.height(); - opts.before.push(function(curr, next, opts) { - $.fn.cycle.commonReset(curr,next,opts); - if (d == 'right') - opts.cssBefore.left = -w; - else if (d == 'up') - opts.cssBefore.top = h; - else if (d == 'down') - opts.cssBefore.top = -h; - else - opts.cssBefore.left = w; - }); - opts.animIn.left = 0; - opts.animIn.top = 0; - opts.cssBefore.top = 0; - opts.cssBefore.left = 0; -}; - -// uncover - curr slide moves off next slide -$.fn.cycle.transitions.uncover = function($cont, $slides, opts) { - var d = opts.direction || 'left'; - var w = $cont.css('overflow','hidden').width(); - var h = $cont.height(); - opts.before.push(function(curr, next, opts) { - $.fn.cycle.commonReset(curr,next,opts,true,true,true); - if (d == 'right') - opts.animOut.left = w; - else if (d == 'up') - opts.animOut.top = -h; - else if (d == 'down') - opts.animOut.top = h; - else - opts.animOut.left = -w; - }); - opts.animIn.left = 0; - opts.animIn.top = 0; - opts.cssBefore.top = 0; - opts.cssBefore.left = 0; -}; - -// toss - move top slide and fade away -$.fn.cycle.transitions.toss = function($cont, $slides, opts) { - var w = $cont.css('overflow','visible').width(); - var h = $cont.height(); - opts.before.push(function(curr, next, opts) { - $.fn.cycle.commonReset(curr,next,opts,true,true,true); - // provide default toss settings if animOut not provided - if (!opts.animOut.left && !opts.animOut.top) - $.extend(opts.animOut, { left: w*2, top: -h/2, opacity: 0 }); - else - opts.animOut.opacity = 0; - }); - opts.cssBefore.left = 0; - opts.cssBefore.top = 0; - opts.animIn.left = 0; -}; - -// wipe - clip animation -$.fn.cycle.transitions.wipe = function($cont, $slides, opts) { - var w = $cont.css('overflow','hidden').width(); - var h = $cont.height(); - opts.cssBefore = opts.cssBefore || {}; - var clip; - if (opts.clip) { - if (/l2r/.test(opts.clip)) - clip = 'rect(0px 0px '+h+'px 0px)'; - else if (/r2l/.test(opts.clip)) - clip = 'rect(0px '+w+'px '+h+'px '+w+'px)'; - else if (/t2b/.test(opts.clip)) - clip = 'rect(0px '+w+'px 0px 0px)'; - else if (/b2t/.test(opts.clip)) - clip = 'rect('+h+'px '+w+'px '+h+'px 0px)'; - else if (/zoom/.test(opts.clip)) { - var top = parseInt(h/2,10); - var left = parseInt(w/2,10); - clip = 'rect('+top+'px '+left+'px '+top+'px '+left+'px)'; - } - } - - opts.cssBefore.clip = opts.cssBefore.clip || clip || 'rect(0px 0px 0px 0px)'; - - var d = opts.cssBefore.clip.match(/(\d+)/g); - var t = parseInt(d[0],10), r = parseInt(d[1],10), b = parseInt(d[2],10), l = parseInt(d[3],10); - - opts.before.push(function(curr, next, opts) { - if (curr == next) return; - var $curr = $(curr), $next = $(next); - $.fn.cycle.commonReset(curr,next,opts,true,true,false); - opts.cssAfter.display = 'block'; - - var step = 1, count = parseInt((opts.speedIn / 13),10) - 1; - (function f() { - var tt = t ? t - parseInt(step * (t/count),10) : 0; - var ll = l ? l - parseInt(step * (l/count),10) : 0; - var bb = b < h ? b + parseInt(step * ((h-b)/count || 1),10) : h; - var rr = r < w ? r + parseInt(step * ((w-r)/count || 1),10) : w; - $next.css({ clip: 'rect('+tt+'px '+rr+'px '+bb+'px '+ll+'px)' }); - (step++ <= count) ? setTimeout(f, 13) : $curr.css('display', 'none'); - })(); - }); - $.extend(opts.cssBefore, { display: 'block', opacity: 1, top: 0, left: 0 }); - opts.animIn = { left: 0 }; - opts.animOut = { left: 0 }; -}; - -})(jQuery); diff --git a/wp-content/themes/tn-2014/js/knockout-2.0.0.js b/wp-content/themes/tn-2014/js/knockout-2.0.0.js deleted file mode 100644 index 6302c9c..0000000 --- a/wp-content/themes/tn-2014/js/knockout-2.0.0.js +++ /dev/null @@ -1,97 +0,0 @@ -// Knockout JavaScript library v2.0.0 -// (c) Steven Sanderson - http://knockoutjs.com/ -// License: MIT (http://www.opensource.org/licenses/mit-license.php) - -(function(window,undefined){ -function c(a){throw a;}var l=void 0,m=!0,o=null,p=!1,r=window.ko={};r.b=function(a,b){for(var d=a.split("."),e=window,f=0;f",b[0];);return 4r.a.k(e,a[b])&&e.push(a[b]);return e},ba:function(a,e){for(var a=a||[],b=[],f=0,d=a.length;fa.length?p:a.substring(0,e.length)===e},hb:function(a){for(var e=Array.prototype.slice.call(arguments,1),b="return ("+a+")",f=0;f","
    "]||!d.indexOf("",""]||(!d.indexOf("",""]||[0,"",""];a="ignored
    "+ -d[1]+a+d[2]+"
    ";for("function"==typeof window.innerShiv?b.appendChild(window.innerShiv(a)):b.innerHTML=a;d[0]--;)b=b.lastChild;b=r.a.X(b.lastChild.childNodes)}return b};r.a.Z=function(a,b){r.a.U(a);if(b!==o&&b!==l)if("string"!=typeof b&&(b=b.toString()),"undefined"!=typeof jQuery)jQuery(a).html(b);else for(var d=r.a.ma(b),e=0;e"},Ra:function(a,b){var h=d[a];h===l&&c(Error("Couldn't find any memo with ID "+ -a+". Perhaps it's already been unmemoized."));try{return h.apply(o,b||[]),m}finally{delete d[a]}},Sa:function(a,f){var d=[];b(a,d);for(var g=0,i=d.length;gb;b++)a=a();return a})};r.toJSON=function(a){a=r.Pa(a);return r.a.qa(a)}})();r.b("ko.toJS",r.Pa);r.b("ko.toJSON",r.toJSON); -r.h={q:function(a){return"OPTION"==a.tagName?a.__ko__hasDomDataOptionValue__===m?r.a.e.get(a,r.c.options.la):a.getAttribute("value"):"SELECT"==a.tagName?0<=a.selectedIndex?r.h.q(a.options[a.selectedIndex]):l:a.value},S:function(a,b){if("OPTION"==a.tagName)switch(typeof b){case "string":r.a.e.set(a,r.c.options.la,l);"__ko__hasDomDataOptionValue__"in a&&delete a.__ko__hasDomDataOptionValue__;a.value=b;break;default:r.a.e.set(a,r.c.options.la,b),a.__ko__hasDomDataOptionValue__=m,a.value="number"===typeof b? -b:""}else if("SELECT"==a.tagName)for(var d=a.options.length-1;0<=d;d--){if(r.h.q(a.options[d])==b){a.selectedIndex=d;break}}else{if(b===o||b===l)b="";a.value=b}}};r.b("ko.selectExtensions",r.h);r.b("ko.selectExtensions.readValue",r.h.q);r.b("ko.selectExtensions.writeValue",r.h.S); -r.j=function(){function a(a,e){for(var d=o;a!=d;)d=a,a=a.replace(b,function(a,b){return e[b]});return a}var b=/\@ko_token_(\d+)\@/g,d=/^[\_$a-z][\_$a-z0-9]*(\[.*?\])*(\.[\_$a-z][\_$a-z0-9]*(\[.*?\])*)*$/i,e=["true","false"];return{D:[],Y:function(b){var e=r.a.z(b);if(3>e.length)return[];"{"===e.charAt(0)&&(e=e.substring(1,e.length-1));for(var b=[],d=o,i,j=0;j$/: -/^\s*ko\s+(.*\:.*)\s*$/,g=f?/^<\!--\s*\/ko\s*--\>$/:/^\s*\/ko\s*$/,i={ul:m,ol:m};r.f={C:{},childNodes:function(b){return a(b)?d(b):b.childNodes},ha:function(b){if(a(b))for(var b=r.f.childNodes(b),e=0,d=b.length;e"),p)}};r.c.uniqueName.Za=0; -r.c.checked={init:function(a,b,d){r.a.s(a,"click",function(){var e;if("checkbox"==a.type)e=a.checked;else if("radio"==a.type&&a.checked)e=a.value;else return;var f=b();"checkbox"==a.type&&r.a.d(f)instanceof Array?(e=r.a.k(r.a.d(f),a.value),a.checked&&0>e?f.push(a.value):!a.checked&&0<=e&&f.splice(e,1)):r.P(f)?f()!==e&&f(e):(f=d(),f._ko_property_writers&&f._ko_property_writers.checked&&f._ko_property_writers.checked(e))});"radio"==a.type&&!a.name&&r.c.uniqueName.init(a,function(){return m})},update:function(a, -b){var d=r.a.d(b());if("checkbox"==a.type)a.checked=d instanceof Array?0<=r.a.k(d,a.value):d;else if("radio"==a.type)a.checked=a.value==d}};r.c.attr={update:function(a,b){var d=r.a.d(b())||{},e;for(e in d)if("string"==typeof e){var f=r.a.d(d[e]);f===p||f===o||f===l?a.removeAttribute(e):a.setAttribute(e,f.toString())}}}; -r.c.hasfocus={init:function(a,b,d){function e(a){var e=b();a!=r.a.d(e)&&(r.P(e)?e(a):(e=d(),e._ko_property_writers&&e._ko_property_writers.hasfocus&&e._ko_property_writers.hasfocus(a)))}r.a.s(a,"focus",function(){e(m)});r.a.s(a,"focusin",function(){e(m)});r.a.s(a,"blur",function(){e(p)});r.a.s(a,"focusout",function(){e(p)})},update:function(a,b){var d=r.a.d(b());d?a.focus():a.blur();r.a.sa(a,d?"focusin":"focusout")}}; -r.c["with"]={o:function(a){return function(){var b=a();return{"if":b,data:b,templateEngine:r.p.M}}},init:function(a,b){return r.c.template.init(a,r.c["with"].o(b))},update:function(a,b,d,e,f){return r.c.template.update(a,r.c["with"].o(b),d,e,f)}};r.j.D["with"]=p;r.f.C["with"]=m;r.c["if"]={o:function(a){return function(){return{"if":a(),templateEngine:r.p.M}}},init:function(a,b){return r.c.template.init(a,r.c["if"].o(b))},update:function(a,b,d,e,f){return r.c.template.update(a,r.c["if"].o(b),d,e,f)}}; -r.j.D["if"]=p;r.f.C["if"]=m;r.c.ifnot={o:function(a){return function(){return{ifnot:a(),templateEngine:r.p.M}}},init:function(a,b){return r.c.template.init(a,r.c.ifnot.o(b))},update:function(a,b,d,e,f){return r.c.template.update(a,r.c.ifnot.o(b),d,e,f)}};r.j.D.ifnot=p;r.f.C.ifnot=m; -r.c.foreach={o:function(a){return function(){var b=r.a.d(a());return!b||"number"==typeof b.length?{foreach:b,templateEngine:r.p.M}:{foreach:b.data,includeDestroyed:b.includeDestroyed,afterAdd:b.afterAdd,beforeRemove:b.beforeRemove,afterRender:b.afterRender,templateEngine:r.p.M}}},init:function(a,b){return r.c.template.init(a,r.c.foreach.o(b))},update:function(a,b,d,e,f){return r.c.template.update(a,r.c.foreach.o(b),d,e,f)}};r.j.D.foreach=p;r.f.C.foreach=m;r.b("ko.allowedVirtualElementBindings",r.f.C); -r.t=function(){};r.t.prototype.renderTemplateSource=function(){c("Override renderTemplateSource")};r.t.prototype.createJavaScriptEvaluatorBlock=function(){c("Override createJavaScriptEvaluatorBlock")};r.t.prototype.makeTemplateSource=function(a){if("string"==typeof a){var b=document.getElementById(a);b||c(Error("Cannot find template with ID "+a));return new r.m.g(b)}if(1==a.nodeType||8==a.nodeType)return new r.m.I(a);c(Error("Unknown template type: "+a))}; -r.t.prototype.renderTemplate=function(a,b,d){return this.renderTemplateSource(this.makeTemplateSource(a),b,d)};r.t.prototype.isTemplateRewritten=function(a){return this.allowTemplateRewriting===p?m:this.W&&this.W[a]?m:this.makeTemplateSource(a).data("isRewritten")};r.t.prototype.rewriteTemplate=function(a,b){var d=this.makeTemplateSource(a),e=b(d.text());d.text(e);d.data("isRewritten",m);if("string"==typeof a)this.W=this.W||{},this.W[a]=m};r.b("ko.templateEngine",r.t); -r.$=function(){function a(a,b,d){for(var a=r.j.Y(a),g=r.j.D,i=0;i/g;return{gb:function(a,b){b.isTemplateRewritten(a)||b.rewriteTemplate(a,function(a){return r.$.ub(a,b)})},ub:function(e,f){return e.replace(b,function(b,e,d,j,k,n,t){return a(t,e,f)}).replace(d,function(b,e){return a(e,"<\!-- ko --\>",f)})},Ua:function(a){return r.r.ka(function(b,d){b.nextSibling&&r.xa(b.nextSibling,a,d)})}}}();r.b("ko.templateRewriting",r.$);r.b("ko.templateRewriting.applyMemoizedBindingsToNextSibling",r.$.Ua);r.m={};r.m.g=function(a){this.g=a}; -r.m.g.prototype.text=function(){if(0==arguments.length)return"script"==this.g.tagName.toLowerCase()?this.g.text:this.g.innerHTML;var a=arguments[0];"script"==this.g.tagName.toLowerCase()?this.g.text=a:r.a.Z(this.g,a)};r.m.g.prototype.data=function(a){if(1===arguments.length)return r.a.e.get(this.g,"templateSourceData_"+a);r.a.e.set(this.g,"templateSourceData_"+a,arguments[1])};r.m.I=function(a){this.g=a};r.m.I.prototype=new r.m.g; -r.m.I.prototype.text=function(){if(0==arguments.length)return r.a.e.get(this.g,"__ko_anon_template__");r.a.e.set(this.g,"__ko_anon_template__",arguments[0])};r.b("ko.templateSources",r.m);r.b("ko.templateSources.domElement",r.m.g);r.b("ko.templateSources.anonymousTemplate",r.m.I); -(function(){function a(a,b,d){for(var g=0;node=a[g];g++)node.parentNode===b&&(1===node.nodeType||8===node.nodeType)&&d(node)}function b(a,b,h,g,i){var i=i||{},j=i.templateEngine||d;r.$.gb(h,j);h=j.renderTemplate(h,g,i);("number"!=typeof h.length||0a&&c(Error("Your version of jQuery.tmpl is too old. Please upgrade to jQuery.tmpl 1.0.0pre or later."));var h=d.data("precompiled");h||(h=d.text()||"",h=jQuery.template(o,"{{ko_with $item.koBindingContext}}"+h+"{{/ko_with}}"),d.data("precompiled",h)); -d=[e.$data];e=jQuery.extend({koBindingContext:e},f.templateOptions);e=jQuery.tmpl(h,d,e);e.appendTo(document.createElement("div"));jQuery.fragments={};return e};this.createJavaScriptEvaluatorBlock=function(a){return"{{ko_code ((function() { return "+a+" })()) }}"};this.addTemplate=function(a,b){document.write(" - - -
    - - -
    - - - diff --git a/wp-content/themes/tn-2014/page-neste-arrangement.php b/wp-content/themes/tn-2014/page-neste-arrangement.php deleted file mode 100755 index 1a4e762..0000000 --- a/wp-content/themes/tn-2014/page-neste-arrangement.php +++ /dev/null @@ -1,174 +0,0 @@ - '_neuf_events_starttime', - 'value' => date( 'U' , strtotime( '-30 minutes' ) ), - 'compare' => '>', - 'type' => 'numeric' -); - -$args = array( - 'post_type' => 'event', - 'meta_query' => array( $meta_query ), - 'posts_per_page' => 1, - 'orderby' => 'meta_value_num', - 'meta_key' => '_neuf_events_starttime', - 'order' => 'ASC' -); - -$args['offset'] = get_query_var( 'page' ) - 1 >= 0 ? get_query_var( 'page' ) - 1 : 0; - -$events = new WP_Query( $args ); - -if ($events->have_posts() ) : while ( $events->have_posts() ) : $events->the_post(); - -$bg = wp_get_attachment_image_src( get_post_thumbnail_id() , 'extra-large' ); -$bg = $bg[0]; - - -$event_array = get_the_terms( $post->ID , 'event_type' ); -foreach ( $event_array as $event_type ) { - $post->event_types[] = $event_type->name; - $post->post_classes[] = 'event-type-' . $event_type->slug; -} -$post->event_types_comma = implode( ', ' , $post->event_types ); - -?> - - - - Snart på Studentersamfundet - - - - - -
    -
    - event_types_comma ); ?> -

    -
    -
    -

    neuf_event_venue = get_post_meta(get_the_ID(), '_neuf_events_venue',true) ); ?>

    -

    neuf_event_venue = get_post_meta(get_the_ID(), '_neuf_events_starttime',true) ) ) ); ?>

    -
    -
    -

    -
    -
    - - - - - - - -Ingen flere arrangementer -

    Ingen flere arrangementer

    Bli aktiv i Studentersamfundet, og lag flere arrangementer.

    blimedlem@studentersamfundet.no

    - - - diff --git a/wp-content/themes/tn-2014/page-program.php b/wp-content/themes/tn-2014/page-program.php old mode 100755 new mode 100644 diff --git a/wp-content/themes/tn-2014/page-syndikering-kommende-program.php b/wp-content/themes/tn-2014/page-syndikering-kommende-program.php deleted file mode 100644 index d37970b..0000000 --- a/wp-content/themes/tn-2014/page-syndikering-kommende-program.php +++ /dev/null @@ -1,60 +0,0 @@ - '_neuf_events_starttime', - 'value' => date( 'U' , strtotime( '-8 hours' )), // start - 'type' => 'numeric', - 'compare' => '>' -); - -$args = array( - 'post_type' => 'event', - 'meta_query' => array($meta_query), - 'posts_per_page' => 100, - 'orderby' => 'meta_value_num', - 'meta_key' => '_neuf_events_starttime', - 'order' => 'ASC' -); - -$events = new WP_Query( $args ); - -if (0) - print(''); - -print(''); -?> - - - - - Program - Det Norske Studentersamfund - - http://studentersamfundet.no/program/ - - - have_posts() ) : while ( $events->have_posts() ) : $events->the_post(); - ?> - - <?php echo( htmlspecialchars( get_the_title() ) ); ?> - "); ?> - - - "); ?> - ID, '_neuf_events_starttime', true ) ) ); ?> - - - - - - - - diff --git a/wp-content/themes/tn-2014/program-3days.php b/wp-content/themes/tn-2014/program-3days.php deleted file mode 100755 index 613ffbb..0000000 --- a/wp-content/themes/tn-2014/program-3days.php +++ /dev/null @@ -1,80 +0,0 @@ - '_neuf_events_starttime', - 'value' => date( 'U' , strtotime( '-8 hours' ) ), - 'compare' => '>', - 'type' => 'numeric' -); - -$args = array( - 'post_type' => 'event', - 'meta_query' => array( $meta_query ), - 'posts_per_page' => 25, - 'orderby' => 'meta_value_num', - 'meta_key' => '_neuf_events_starttime', - 'order' => 'ASC' -); - -$events = new WP_Query( $args ); - -if ( $events->have_posts() ) : - $event_daycounter = 1; - $newday = true; -?> - -
    - -
    - - have_posts() ) : $events->the_post(); ?> - - ID , '_neuf_events_starttime' , true ) ); - - if ( isset( $event_previous_day ) && $event_previous_day != $event_current_day ) { - // New day - $newday = true; - - // We only want the first three days - if ( $event_daycounter >= 4 ) - break; -?> -
    - -
    "> - - - - - -

    ID , '_neuf_events_starttime' , true ) ) ); ?>

    - - - - - -

    ID , '_neuf_events_starttime' , true ) ); ?>

    - - - have_posts(); ?> - -
    - -
    - -have_posts() ?> diff --git a/wp-content/themes/tn-2014/program-6days.php b/wp-content/themes/tn-2014/program-6days.php deleted file mode 100755 index dadf6e1..0000000 --- a/wp-content/themes/tn-2014/program-6days.php +++ /dev/null @@ -1,79 +0,0 @@ - '_neuf_events_starttime', - 'value' => date( 'U' , strtotime( '-8 hours' ) ), - 'compare' => '>', - 'type' => 'numeric' -); - -$args = array( - 'post_type' => 'event', - 'meta_query' => array( $meta_query ), - 'posts_per_page' => 50, - 'orderby' => 'meta_value_num', - 'meta_key' => '_neuf_events_starttime', - 'order' => 'ASC' -); - -$events = new WP_Query( $args ); - -if ( $events->have_posts() ) : - $event_daycounter = 1; - $newday = true; -?> - -
    - -
    - - have_posts() ) : $events->the_post(); ?> - - ID , '_neuf_events_starttime' , true ) ); - - if ( isset( $event_previous_day ) && $event_previous_day != $event_current_day ) { - // New day - $newday = true; - if ( $event_daycounter >= 7 ) - break; -?> -
    - -
    "> - - - - - -

    ID , '_neuf_events_starttime' , true ) ) ); ?>

    - - - - - -

    ID , '_neuf_events_starttime' , true ) ); ?>

    - - - have_posts(); ?> - -
    - -
    - -have_posts() ?> diff --git a/wp-content/themes/tn-2014/program-feed.php b/wp-content/themes/tn-2014/program-feed.php deleted file mode 100755 index f607236..0000000 --- a/wp-content/themes/tn-2014/program-feed.php +++ /dev/null @@ -1,75 +0,0 @@ - '_neuf_events_starttime', - 'value' => date( 'U' , strtotime( '-8 hours' ) ), - 'compare' => '>', - 'type' => 'numeric' -); - -$args = array( - 'post_type' => 'event', - 'meta_query' => array( $meta_query ), - 'posts_per_page' => 25, - 'orderby' => 'meta_value_num', - 'meta_key' => '_neuf_events_starttime', - 'order' => 'ASC' -); - -$events = new WP_Query( $args ); - - -header('Content-Type: ' . feed_content_type('rss-http') . '; charset=' . get_option('blog_charset'), true); -$more = 1; - -echo ''; ?> - - -> - - - <?php bloginfo_rss('name'); wp_title_rss(); ?> - - - - - - - - - have_posts()) : $events->the_post(); ?> - - <?php the_title_rss() ?> - - - - - - - - - ]]> - - ]]> - post_content ) > 0 ) : ?> - ]]> - - ]]> - - - - - - - - diff --git a/wp-content/themes/tn-2014/sass/ie.scss b/wp-content/themes/tn-2014/sass/ie.scss deleted file mode 100644 index 5cd5b6c..0000000 --- a/wp-content/themes/tn-2014/sass/ie.scss +++ /dev/null @@ -1,5 +0,0 @@ -/* Welcome to Compass. Use this file to write IE specific override styles. - * Import this file using the following HTML or equivalent: - * */ diff --git a/wp-content/themes/tn-2014/sass/print.scss b/wp-content/themes/tn-2014/sass/print.scss deleted file mode 100644 index b0e9e45..0000000 --- a/wp-content/themes/tn-2014/sass/print.scss +++ /dev/null @@ -1,3 +0,0 @@ -/* Welcome to Compass. Use this file to define print styles. - * Import this file using the following HTML or equivalent: - * */ diff --git a/wp-content/themes/tn-2014/sass/screen.scss b/wp-content/themes/tn-2014/sass/screen.scss deleted file mode 100644 index 6820997..0000000 --- a/wp-content/themes/tn-2014/sass/screen.scss +++ /dev/null @@ -1,490 +0,0 @@ -/* Welcome to Compass. - * In this file you should write your main styles. (or centralize your imports) - * Import this file using the following HTML or equivalent: - * */ - -@import "compass/reset"; -@import "compass/utilities/general/clearfix"; -@import "compass/typography/lists"; -@import "compass/css3/text-shadow"; -@import "960/grid"; - -$main-color: #7650b3; -$old-color: #a3626a; -$alt-color: #2f2524; -$link-color: lighten($main-color, 5%); - -/*$ninesixty-columns (default: 12) controls the default number of grid columns -$ninesixty-grid-width (default: 960px) controls the default overall grid width -$ninesixty-gutter-width */ -$ninesixty-grid-width: 1200px; - -body { - /* Base styles */ - font: 14px Arial, sans-serif; - line-height: 1.5em; - - h1,h2,h3,h4 { - font-family: Arvo, Georgia, serif; - font-weight: bold; - line-height: 1.5em; - @include single-text-shadow(darken(#fff, 10%), 1px, 1px, 0); - } - h1 { - font-size: 2.5em; - } - h2,h3,h4 { - font-size: 1.5em; - } - a { - color: $link-color; - text-decoration: none; - @include single-text-shadow(darken(#fff, 5%), 1px, 1px, 0); - - &:link { color: $link-color; } - &:visited { color: $link-color; } - &:hover { text-decoration: underline; } - &:active { color: $link-color; } - } - ul { - list-style: disc; - padding-left: 25px; - - li { - display: list-item; - } - } - strong { - font-weight: bold; - } - p { - margin-top: 5px; - margin-bottom: 5px; - } - em { - font-style: italic; - } - - #site-header { - background-color: $main-color; - min-width: 100%; - height: 90px; - padding-top: 25px; - padding-bottom: 25px; - position: relative; - margin-bottom: 10px; - margin-top: 30px; - - #header-container { - @include grid_container; - - .site-title { - @include grid(6); - - .logo { - background: url('../img/teater_neuf_logo.png') no-repeat; - display: inline-block; - width: 185px; - height: 120px; - margin-top: 10px; - text-indent: -9999px; - position: relative; - bottom: 10px; - } - } - #menu { - @include grid(6); - @extend h2; - position: relative; - top: 36px; - text-transform: uppercase; - - a { - color: #ffffff; - text-decoration: none; - - @include single-text-shadow(darken(#fff, 90%), 1px, 1px, 0); - } - - ul { - @include inline-list; - - ul { - position: absolute; - display: none; - margin: 0; - } - - li { - float: left; - position: relative; - - &:hover ul, &:focus ul { - display:block; - z-index: 9; - color:rgba(255,255,255,1); - background:darken($main-color, 10%); - } - - a { - display: block; - height: 22px; - padding: 0px 7px 7px; - text-decoration: none; - border-right: 1px solid #FFFFE1; - position: relative; - - &:hover, .current { - color:rgba(255,255,255,1); - background:darken($main-color, 10%); - } - } - - .sub-menu li { - position: relative; - a { - border: 0px; - } - } - - &.social-icon { - a { - border: 0px; - } - - #facebook-icon { - padding-left: 6px; - } - } - &:first-child { - padding-left: 0px; - } - } - } - } - } - } - #site-topbar { - position: fixed; - top: 0px; - left: 0px; - background-color: #E99835; - width: 100%; - height: 30px; - z-index: 9999; - text-align: center; - - .logo { - background: url('../img/dns_30px.png') no-repeat; - display: inline-block; - width: 271px; - height: 100%; - margin-top: 4px; - text-indent: -9999px; - } - } - #access { - display: none; - } - - #content { - @include grid_container; - @include clearfix; - - #featured { - @include grid(12); - padding-bottom: 25px; - a h1 { - color: #000; - } - - #prevLink { - display: inline-block; - width: 0; - height: 0; - border-top: 8px solid transparent; - border-bottom: 8px solid transparent; - border-right: 16px solid $main-color; - cursor: pointer; - - &:hover { - border-right: 16px solid lighten($main-color, 20%); - } - } - #nextLink { - display: inline-block; - width: 0; - height: 0; - border-top: 8px solid transparent; - border-bottom: 8px solid transparent; - border-left: 16px solid $main-color; - cursor: pointer; - - &:hover { - border-left: 16px solid lighten($main-color, 20%); - } - } - #slidernav { - display: inline-block; - a { - content: ''; - background: lighten($main-color, 20%); - border-radius: 50%; - width: 16px; - height: 16px; - display: inline-block; - z-index: 10; - margin-left: 4px; - margin-right: 4px; - - &.activeSlide { - background: $main-color; - - } - } - } - #slider-buttons { - position: relative; - top: 350px; - z-index: 10; - } - - #slider { - .featured-text { - @include grid(6); - @include alpha(); - height: 328px; - - .entry-meta { - position: absolute; - bottom: 6px; - color: #fff; - @include single-text-shadow(darken(#fff, 90%), 1px, 1px, 0); - background: darken(#fff, 40%); - padding: 4px; - - .datetime { - @include grid(2); - @include alpha(); - } - .venue { - @include grid(2); - @include omega(); - } - .price { - @include grid(2); - } - } - } - - .featured-image { - @include grid(6); - @include omega(); - } - - } - } - #program-6days { - @include grid(12); - margin-top: 10px; - - .day { - @include grid(2); - - &.alpha { - @include alpha(); - - } - &.omega { - @include omega(); - } - } - } - #digest-news { - @include grid(12); - margin-top: 10px; - - h2 a { - color: #000; - } - - .news-entry { - @include grid(4); - - &.alpha { - @include alpha(); - } - &.omega { - @include omega(); - } - .entry-meta { - font-size: 12px; - line-height: 1em; - padding-bottom: 10px; - - } - } - } - .body { - @include grid(6); - margin-bottom: 25px; - } - - .featured-image { - @include grid(6); - } - - .hentry { - } - #social-sharing { - margin-top: 10px; - - .share-twitter { - display: inline-block; - } - .share-facebook { - display: inline-block; - position: relative; - bottom: 3px; - } - - } - .byline { - color: #aaa; - - .author { - color: #000; - font-weight: bold; - } - } - .entry-content { - margin-top: 15px; - } - #program-text { - @include grid_container(); - @include clearfix(); - @include grid(12); - } - #program-list { - @include grid_container(); - @include clearfix(); - - .day { - @include grid(12); - padding-top: 20px; - font-weight: bold; - } - .month { - @include grid(12); - } - - .event { - @include grid(12); - - .body { - position: relative; - @include grid(6); - @include alpha(); - height: 161px; - - .entry-meta { - position: absolute; - bottom: 0px; - color: #fff; - @include single-text-shadow(darken(#fff, 90%), 1px, 1px, 0); - background: darken(#fff, 40%); - padding: 4px; - - .datetime { - @include grid(2); - @include alpha(); - } - .venue { - @include grid(2); - @include alpha(); - @include omega(); - } - .price { - @include grid(2); - } - } - } - - .thumbnail { - @include grid(6); - @include omega(); - } - - } - - } - .text-body { - @include grid(6); - margin-bottom: 20px; - - } - .thumbnail { - @include grid(6); - margin-bottom: 20px; - - } - .page-title { - margin-left: 10px; - } - .post { - @include clearfix(); - - } - #posts-nav-link { - @include grid(12); - } - } - #site-footer { - background-color: $main-color; - min-width: 100%; - margin-top: 25px; - padding-top: 25px; - padding-bottom: 25px; - color: #fff; - @include single-text-shadow(darken(#fff, 90%), 1px, 1px, 0); - - a { - color: #fff; - text-decoration: none; - @include single-text-shadow(darken(#fff, 90%), 1px, 1px, 0); - - &:link { color: #fff; } - &:visited { color: #fff; } - &:hover { text-decoration: underline; } - &:active { color: #fff; } - } - h1,h2,h3,h4 { - color: #000; - @include single-text-shadow(lighten($main-color, 10%), 1px, 1px, 0); - } - - #footer-container { - @include grid_container; - @include clearfix; - - #footer-about { - @include grid(6); - - a.black { - color: #000; - @include single-text-shadow(lighten($main-color, 10%), 1px, 1px, 0); - } - } - } - #kolofon { - @include grid_container; - @include clearfix; - - #kolofon-text { - @include grid(12); - margin-top: 25px; - - } - } - } -} diff --git a/wp-content/themes/tn-2014/screen.css b/wp-content/themes/tn-2014/screen.css deleted file mode 100644 index a3518f7..0000000 --- a/wp-content/themes/tn-2014/screen.css +++ /dev/null @@ -1,615 +0,0 @@ -/* Welcome to Compass. - * In this file you should write your main styles. (or centralize your imports) - * Import this file using the following HTML or equivalent: - * */ -html, body, div, span, applet, object, iframe, -h1, h2, body #site-header #header-container #menu, h3, h4, h5, h6, p, blockquote, pre, -a, abbr, acronym, address, big, cite, code, -del, dfn, em, img, ins, kbd, q, s, samp, -small, strike, strong, sub, sup, tt, var, -b, u, i, center, -dl, dt, dd, ol, ul, li, -fieldset, form, label, legend, -table, caption, tbody, tfoot, thead, tr, th, td, -article, aside, canvas, details, embed, -figure, figcaption, footer, header, hgroup, -menu, nav, output, ruby, section, summary, -time, mark, audio, video { - margin: 0; - padding: 0; - border: 0; - font-size: 100%; - font: inherit; - vertical-align: baseline; -} - -body { - line-height: 1; -} - -ol, ul { - list-style: none; -} - -table { - border-collapse: collapse; - border-spacing: 0; -} - -caption, th, td { - text-align: left; - font-weight: normal; - vertical-align: middle; -} - -q, blockquote { - quotes: none; -} -q:before, q:after, blockquote:before, blockquote:after { - content: ""; - content: none; -} - -a img { - border: none; -} - -article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary { - display: block; -} - -/*$ninesixty-columns (default: 12) controls the default number of grid columns -$ninesixty-grid-width (default: 960px) controls the default overall grid width -$ninesixty-gutter-width */ -body { - /* Base styles */ - font: 14px Arial, sans-serif; - line-height: 1.5em; -} -body h1, body h2, body #site-header #header-container #menu, body h3, body h4 { - font-family: Arvo, Georgia, serif; - font-weight: bold; - line-height: 1.5em; - text-shadow: #e6e6e6 1px 1px 0; -} -body h1 { - font-size: 2.5em; -} -body h2, body #site-header #header-container #menu, body h3, body h4 { - font-size: 1.5em; -} -body a { - color: #8462bb; - text-decoration: none; - text-shadow: #f2f2f2 1px 1px 0; -} -body a:link { - color: #8462bb; -} -body a:visited { - color: #8462bb; -} -body a:hover { - text-decoration: underline; -} -body a:active { - color: #8462bb; -} -body ul { - list-style: disc; - padding-left: 25px; -} -body ul li { - display: list-item; -} -body strong { - font-weight: bold; -} -body p { - margin-top: 5px; - margin-bottom: 5px; -} -body em { - font-style: italic; -} -body #site-header { - background-color: #7650b3; - min-width: 100%; - height: 90px; - padding-top: 25px; - padding-bottom: 25px; - position: relative; - margin-bottom: 10px; - margin-top: 30px; -} -body #site-header #header-container { - margin-left: auto; - margin-right: auto; - width: 1200px; -} -body #site-header #header-container .site-title { - display: inline; - float: left; - margin-left: 10px; - margin-right: 10px; - width: 580px; -} -body #site-header #header-container .site-title .logo { - background: url("../img/teater_neuf_logo.png") no-repeat; - display: inline-block; - width: 185px; - height: 120px; - margin-top: 10px; - text-indent: -9999px; - position: relative; - bottom: 10px; -} -body #site-header #header-container #menu { - display: inline; - float: left; - margin-left: 10px; - margin-right: 10px; - width: 580px; - position: relative; - top: 36px; - text-transform: uppercase; -} -body #site-header #header-container #menu a { - color: #ffffff; - text-decoration: none; - text-shadow: #1a1a1a 1px 1px 0; -} -body #site-header #header-container #menu ul { - list-style-type: none; -} -body #site-header #header-container #menu ul, body #site-header #header-container #menu ul li { - margin: 0px; - padding: 0px; - display: inline; -} -body #site-header #header-container #menu ul ul { - position: absolute; - display: none; - margin: 0; -} -body #site-header #header-container #menu ul li { - float: left; - position: relative; -} -body #site-header #header-container #menu ul li:hover ul, body #site-header #header-container #menu ul li:focus ul { - display: block; - z-index: 9; - color: white; - background: #5e3f91; -} -body #site-header #header-container #menu ul li a { - display: block; - height: 22px; - padding: 0px 7px 7px; - text-decoration: none; - border-right: 1px solid #FFFFE1; - position: relative; -} -body #site-header #header-container #menu ul li a:hover, body #site-header #header-container #menu ul li a .current { - color: white; - background: #5e3f91; -} -body #site-header #header-container #menu ul li .sub-menu li { - position: relative; -} -body #site-header #header-container #menu ul li .sub-menu li a { - border: 0px; -} -body #site-header #header-container #menu ul li.social-icon a { - border: 0px; -} -body #site-header #header-container #menu ul li.social-icon #facebook-icon { - padding-left: 6px; -} -body #site-header #header-container #menu ul li:first-child { - padding-left: 0px; -} -body #site-topbar { - position: fixed; - top: 0px; - left: 0px; - background-color: #E99835; - width: 100%; - height: 30px; - z-index: 9999; - text-align: center; -} -body #site-topbar .logo { - background: url("../img/dns_30px.png") no-repeat; - display: inline-block; - width: 271px; - height: 100%; - margin-top: 4px; - text-indent: -9999px; -} -body #access { - display: none; -} -body #content { - margin-left: auto; - margin-right: auto; - width: 1200px; - overflow: hidden; - *zoom: 1; -} -body #content #featured { - display: inline; - float: left; - margin-left: 10px; - margin-right: 10px; - width: 1180px; - padding-bottom: 25px; -} -body #content #featured a h1 { - color: #000; -} -body #content #featured #prevLink { - display: inline-block; - width: 0; - height: 0; - border-top: 8px solid transparent; - border-bottom: 8px solid transparent; - border-right: 16px solid #7650b3; - cursor: pointer; -} -body #content #featured #prevLink:hover { - border-right: 16px solid #ae97d2; -} -body #content #featured #nextLink { - display: inline-block; - width: 0; - height: 0; - border-top: 8px solid transparent; - border-bottom: 8px solid transparent; - border-left: 16px solid #7650b3; - cursor: pointer; -} -body #content #featured #nextLink:hover { - border-left: 16px solid #ae97d2; -} -body #content #featured #slidernav { - display: inline-block; -} -body #content #featured #slidernav a { - content: ''; - background: #ae97d2; - border-radius: 50%; - width: 16px; - height: 16px; - display: inline-block; - z-index: 10; - margin-left: 4px; - margin-right: 4px; -} -body #content #featured #slidernav a.activeSlide { - background: #7650b3; -} -body #content #featured #slider-buttons { - position: relative; - top: 350px; - z-index: 10; -} -body #content #featured #slider .featured-text { - display: inline; - float: left; - margin-left: 10px; - margin-right: 10px; - width: 580px; - margin-left: 0; - height: 328px; -} -body #content #featured #slider .featured-text .entry-meta { - position: absolute; - bottom: 6px; - color: #fff; - text-shadow: #1a1a1a 1px 1px 0; - background: #999999; - padding: 4px; -} -body #content #featured #slider .featured-text .entry-meta .datetime { - display: inline; - float: left; - margin-left: 10px; - margin-right: 10px; - width: 180px; - margin-left: 0; -} -body #content #featured #slider .featured-text .entry-meta .venue { - display: inline; - float: left; - margin-left: 10px; - margin-right: 10px; - width: 180px; - margin-right: 0; -} -body #content #featured #slider .featured-text .entry-meta .price { - display: inline; - float: left; - margin-left: 10px; - margin-right: 10px; - width: 180px; -} -body #content #featured #slider .featured-image { - display: inline; - float: left; - margin-left: 10px; - margin-right: 10px; - width: 580px; - margin-right: 0; -} -body #content #program-6days { - display: inline; - float: left; - margin-left: 10px; - margin-right: 10px; - width: 1180px; - margin-top: 10px; -} -body #content #program-6days .day { - display: inline; - float: left; - margin-left: 10px; - margin-right: 10px; - width: 180px; -} -body #content #program-6days .day.alpha { - margin-left: 0; -} -body #content #program-6days .day.omega { - margin-right: 0; -} -body #content #digest-news { - display: inline; - float: left; - margin-left: 10px; - margin-right: 10px; - width: 1180px; - margin-top: 10px; -} -body #content #digest-news h2 a, body #content #digest-news #site-header #header-container #menu a, body #site-header #header-container #content #digest-news #menu a { - color: #000; -} -body #content #digest-news .news-entry { - display: inline; - float: left; - margin-left: 10px; - margin-right: 10px; - width: 380px; -} -body #content #digest-news .news-entry.alpha { - margin-left: 0; -} -body #content #digest-news .news-entry.omega { - margin-right: 0; -} -body #content #digest-news .news-entry .entry-meta { - font-size: 12px; - line-height: 1em; - padding-bottom: 10px; -} -body #content .body { - display: inline; - float: left; - margin-left: 10px; - margin-right: 10px; - width: 580px; - margin-bottom: 25px; -} -body #content .featured-image { - display: inline; - float: left; - margin-left: 10px; - margin-right: 10px; - width: 580px; -} -body #content #social-sharing { - margin-top: 10px; -} -body #content #social-sharing .share-twitter { - display: inline-block; -} -body #content #social-sharing .share-facebook { - display: inline-block; - position: relative; - bottom: 3px; -} -body #content .byline { - color: #aaa; -} -body #content .byline .author { - color: #000; - font-weight: bold; -} -body #content .entry-content { - margin-top: 15px; -} -body #content #program-text { - margin-left: auto; - margin-right: auto; - width: 1200px; - overflow: hidden; - *zoom: 1; - display: inline; - float: left; - margin-left: 10px; - margin-right: 10px; - width: 1180px; -} -body #content #program-list { - margin-left: auto; - margin-right: auto; - width: 1200px; - overflow: hidden; - *zoom: 1; -} -body #content #program-list .day { - display: inline; - float: left; - margin-left: 10px; - margin-right: 10px; - width: 1180px; - padding-top: 20px; - font-weight: bold; -} -body #content #program-list .month { - display: inline; - float: left; - margin-left: 10px; - margin-right: 10px; - width: 1180px; -} -body #content #program-list .event { - display: inline; - float: left; - margin-left: 10px; - margin-right: 10px; - width: 1180px; -} -body #content #program-list .event .body { - position: relative; - display: inline; - float: left; - margin-left: 10px; - margin-right: 10px; - width: 580px; - margin-left: 0; - height: 161px; -} -body #content #program-list .event .body .entry-meta { - position: absolute; - bottom: 0px; - color: #fff; - text-shadow: #1a1a1a 1px 1px 0; - background: #999999; - padding: 4px; -} -body #content #program-list .event .body .entry-meta .datetime { - display: inline; - float: left; - margin-left: 10px; - margin-right: 10px; - width: 180px; - margin-left: 0; -} -body #content #program-list .event .body .entry-meta .venue { - display: inline; - float: left; - margin-left: 10px; - margin-right: 10px; - width: 180px; - margin-left: 0; - margin-right: 0; -} -body #content #program-list .event .body .entry-meta .price { - display: inline; - float: left; - margin-left: 10px; - margin-right: 10px; - width: 180px; -} -body #content #program-list .event .thumbnail { - display: inline; - float: left; - margin-left: 10px; - margin-right: 10px; - width: 580px; - margin-right: 0; -} -body #content .text-body { - display: inline; - float: left; - margin-left: 10px; - margin-right: 10px; - width: 580px; - margin-bottom: 20px; -} -body #content .thumbnail { - display: inline; - float: left; - margin-left: 10px; - margin-right: 10px; - width: 580px; - margin-bottom: 20px; -} -body #content .page-title { - margin-left: 10px; -} -body #content .post { - overflow: hidden; - *zoom: 1; -} -body #content #posts-nav-link { - display: inline; - float: left; - margin-left: 10px; - margin-right: 10px; - width: 1180px; -} -body #site-footer { - background-color: #7650b3; - min-width: 100%; - margin-top: 25px; - padding-top: 25px; - padding-bottom: 25px; - color: #fff; - text-shadow: #1a1a1a 1px 1px 0; -} -body #site-footer a { - color: #fff; - text-decoration: none; - text-shadow: #1a1a1a 1px 1px 0; -} -body #site-footer a:link { - color: #fff; -} -body #site-footer a:visited { - color: #fff; -} -body #site-footer a:hover { - text-decoration: underline; -} -body #site-footer a:active { - color: #fff; -} -body #site-footer h1, body #site-footer h2, body #site-footer #site-header #header-container #menu, body #site-header #header-container #site-footer #menu, body #site-footer h3, body #site-footer h4 { - color: #000; - text-shadow: #9274c2 1px 1px 0; -} -body #site-footer #footer-container { - margin-left: auto; - margin-right: auto; - width: 1200px; - overflow: hidden; - *zoom: 1; -} -body #site-footer #footer-container #footer-about { - display: inline; - float: left; - margin-left: 10px; - margin-right: 10px; - width: 580px; -} -body #site-footer #footer-container #footer-about a.black { - color: #000; - text-shadow: #9274c2 1px 1px 0; -} -body #site-footer #kolofon { - margin-left: auto; - margin-right: auto; - width: 1200px; - overflow: hidden; - *zoom: 1; -} -body #site-footer #kolofon #kolofon-text { - display: inline; - float: left; - margin-left: 10px; - margin-right: 10px; - width: 1180px; - margin-top: 25px; -} diff --git a/wp-content/themes/tn-2014/scss/_normalize.scss b/wp-content/themes/tn-2014/scss/_normalize.scss new file mode 100644 index 0000000..6d24a38 --- /dev/null +++ b/wp-content/themes/tn-2014/scss/_normalize.scss @@ -0,0 +1,402 @@ +/*! normalize.css v2.1.1 | MIT License | git.io/normalize */ + +/* ========================================================================== + HTML5 display definitions + ========================================================================== */ + +/** + * Correct `block` display not defined in IE 8/9. + */ + +article, +aside, +details, +figcaption, +figure, +footer, +header, +hgroup, +main, +nav, +section, +summary { + display: block; +} + +/** + * Correct `inline-block` display not defined in IE 8/9. + */ + +audio, +canvas, +video { + display: inline-block; +} + +/** + * Prevent modern browsers from displaying `audio` without controls. + * Remove excess height in iOS 5 devices. + */ + +audio:not([controls]) { + display: none; + height: 0; +} + +/** + * Address styling not present in IE 8/9. + */ + +[hidden] { + display: none; +} + +/* ========================================================================== + Base + ========================================================================== */ + +/** + * 1. Prevent system color scheme's background color being used in Firefox, IE, + * and Opera. + * 2. Prevent system color scheme's text color being used in Firefox, IE, and + * Opera. + * 3. Set default font family to sans-serif. + * 4. Prevent iOS text size adjust after orientation change, without disabling + * user zoom. + */ + +html { + background: #fff; /* 1 */ + color: #000; /* 2 */ + font-family: sans-serif; /* 3 */ + -ms-text-size-adjust: 100%; /* 4 */ + -webkit-text-size-adjust: 100%; /* 4 */ +} + +/** + * Remove default margin. + */ + +body { + margin: 0; +} + +/* ========================================================================== + Links + ========================================================================== */ + +/** + * Address `outline` inconsistency between Chrome and other browsers. + */ + +a:focus { + outline: thin dotted; +} + +/** + * Improve readability when focused and also mouse hovered in all browsers. + */ + +a:active, +a:hover { + outline: 0; +} + +/* ========================================================================== + Typography + ========================================================================== */ + +/** + * Address variable `h1` font-size and margin within `section` and `article` + * contexts in Firefox 4+, Safari 5, and Chrome. + */ + +h1 { + font-size: 2em; + margin: 0.67em 0; +} + +/** + * Address styling not present in IE 8/9, Safari 5, and Chrome. + */ + +abbr[title] { + border-bottom: 1px dotted; +} + +/** + * Address style set to `bolder` in Firefox 4+, Safari 5, and Chrome. + */ + +b, +strong { + font-weight: bold; +} + +/** + * Address styling not present in Safari 5 and Chrome. + */ + +dfn { + font-style: italic; +} + +/** + * Address differences between Firefox and other browsers. + */ + +hr { + -moz-box-sizing: content-box; + box-sizing: content-box; + height: 0; +} + +/** + * Address styling not present in IE 8/9. + */ + +mark { + background: #ff0; + color: #000; +} + +/** + * Correct font family set oddly in Safari 5 and Chrome. + */ + +code, +kbd, +pre, +samp { + font-family: monospace, serif; + font-size: 1em; +} + +/** + * Improve readability of pre-formatted text in all browsers. + */ + +pre { + white-space: pre-wrap; +} + +/** + * Set consistent quote types. + */ + +q { + quotes: "\201C" "\201D" "\2018" "\2019"; +} + +/** + * Address inconsistent and variable font size in all browsers. + */ + +small { + font-size: 80%; +} + +/** + * Prevent `sub` and `sup` affecting `line-height` in all browsers. + */ + +sub, +sup { + font-size: 75%; + line-height: 0; + position: relative; + vertical-align: baseline; +} + +sup { + top: -0.5em; +} + +sub { + bottom: -0.25em; +} + +/* ========================================================================== + Embedded content + ========================================================================== */ + +/** + * Remove border when inside `a` element in IE 8/9. + */ + +img { + border: 0; +} + +/** + * Correct overflow displayed oddly in IE 9. + */ + +svg:not(:root) { + overflow: hidden; +} + +/* ========================================================================== + Figures + ========================================================================== */ + +/** + * Address margin not present in IE 8/9 and Safari 5. + */ + +figure { + margin: 0; +} + +/* ========================================================================== + Forms + ========================================================================== */ + +/** + * Define consistent border, margin, and padding. + */ + +fieldset { + border: 1px solid #c0c0c0; + margin: 0 2px; + padding: 0.35em 0.625em 0.75em; +} + +/** + * 1. Correct `color` not being inherited in IE 8/9. + * 2. Remove padding so people aren't caught out if they zero out fieldsets. + */ + +legend { + border: 0; /* 1 */ + padding: 0; /* 2 */ +} + +/** + * 1. Correct font family not being inherited in all browsers. + * 2. Correct font size not being inherited in all browsers. + * 3. Address margins set differently in Firefox 4+, Safari 5, and Chrome. + */ + +button, +input, +select, +textarea { + font-family: inherit; /* 1 */ + font-size: 100%; /* 2 */ + margin: 0; /* 3 */ +} + +/** + * Address Firefox 4+ setting `line-height` on `input` using `!important` in + * the UA stylesheet. + */ + +button, +input { + line-height: normal; +} + +/** + * Address inconsistent `text-transform` inheritance for `button` and `select`. + * All other form control elements do not inherit `text-transform` values. + * Correct `button` style inheritance in Chrome, Safari 5+, and IE 8+. + * Correct `select` style inheritance in Firefox 4+ and Opera. + */ + +button, +select { + text-transform: none; +} + +/** + * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio` + * and `video` controls. + * 2. Correct inability to style clickable `input` types in iOS. + * 3. Improve usability and consistency of cursor style between image-type + * `input` and others. + */ + +button, +html input[type="button"], /* 1 */ +input[type="reset"], +input[type="submit"] { + -webkit-appearance: button; /* 2 */ + cursor: pointer; /* 3 */ +} + +/** + * Re-set default cursor for disabled elements. + */ + +button[disabled], +html input[disabled] { + cursor: default; +} + +/** + * 1. Address box sizing set to `content-box` in IE 8/9. + * 2. Remove excess padding in IE 8/9. + */ + +input[type="checkbox"], +input[type="radio"] { + box-sizing: border-box; /* 1 */ + padding: 0; /* 2 */ +} + +/** + * 1. Address `appearance` set to `searchfield` in Safari 5 and Chrome. + * 2. Address `box-sizing` set to `border-box` in Safari 5 and Chrome + * (include `-moz` to future-proof). + */ + +input[type="search"] { + -webkit-appearance: textfield; /* 1 */ + -moz-box-sizing: content-box; + -webkit-box-sizing: content-box; /* 2 */ + box-sizing: content-box; +} + +/** + * Remove inner padding and search cancel button in Safari 5 and Chrome + * on OS X. + */ + +input[type="search"]::-webkit-search-cancel-button, +input[type="search"]::-webkit-search-decoration { + -webkit-appearance: none; +} + +/** + * Remove inner padding and border in Firefox 4+. + */ + +button::-moz-focus-inner, +input::-moz-focus-inner { + border: 0; + padding: 0; +} + +/** + * 1. Remove default vertical scrollbar in IE 8/9. + * 2. Improve readability and alignment in all browsers. + */ + +textarea { + overflow: auto; /* 1 */ + vertical-align: top; /* 2 */ +} + +/* ========================================================================== + Tables + ========================================================================== */ + +/** + * Remove most spacing between table cells. + */ + +table { + border-collapse: collapse; + border-spacing: 0; +} diff --git a/wp-content/themes/tn-2014/scss/_settings.scss b/wp-content/themes/tn-2014/scss/_settings.scss new file mode 100644 index 0000000..def28b8 --- /dev/null +++ b/wp-content/themes/tn-2014/scss/_settings.scss @@ -0,0 +1,1199 @@ +// My settings + +// +// FOUNDATION SETTINGS +// + +// This is the default html and body font-size for the base rem value. +// $rem-base: 16px; + +// Allows the use of rem-calc() or lower-bound() in your settings +@import "foundation/functions"; + +// $experimental: true; + +// The default font-size is set to 100% of the browser style sheet (usually 16px) +// for compatibility with browser-based text zoom or user-set defaults. + +// Since the typical default browser font-size is 16px, that makes the calculation for grid size. +// If you want your base font-size to be different and not have it affect the grid breakpoints, +// set $rem-base to $base-font-size and make sure $base-font-size is a px value. +// $base-font-size: 100%; + +// The $base-line-height is 100% while $base-font-size is 150% +// $base-line-height: 150%; + +// We use this to control whether or not CSS classes come through in the gem files. +// $include-html-classes: true; +// $include-print-styles: true; +// $include-html-global-classes: $include-html-classes; + +// Grid + +// $include-html-grid-classes: $include-html-classes; +// $include-xl-html-grid-classes: false; + +$row-width: rem-calc(1440); +// $column-gutter: rem-calc(30); +// $total-columns: 12; + +// We use these to control various global styles +// $body-bg: #fff; +// $body-font-color: #222; +$body-font-family: 'Arial', sans-serif; +// $body-font-weight: normal; +// $body-font-style: normal; + +// We use this to control font-smoothing +// $font-smoothing: antialiased; + +// We use these to control text direction settings +// $text-direction: ltr; +// $opposite-direction: right; +// $default-float: left; + +// We use these as default colors throughout +// $primary-color: #008CBA; +// $secondary-color: #e7e7e7; +// $primary-color: #393939; +// $secondary-color: #f42b2a; +// $alert-color: #f04124; +// $success-color: #43AC6A; +// $warning-color: #f08a24; +// $info-color: #a0d3e8; + +// We use these to make sure border radius matches unless we want it different. +// $global-radius: 3px; +// $global-rounded: 1000px; + +// We use these to control inset shadow shiny edges and depressions. +// $shiny-edge-size: 0 1px 0; +// $shiny-edge-color: rgba(#fff, .5); +// $shiny-edge-active-color: rgba(#000, .2); + +// Media Query Ranges +// $small-range: (0em, 40em); +// $medium-range: (40.063em, 64em); +// $large-range: (64.063em, 90em); +// $xlarge-range: (90.063em, 120em); +// $xxlarge-range: (120.063em); + +// $screen: "only screen"; + +// $landscape: "#{$screen} and (orientation: landscape)"; +// $portrait: "#{$screen} and (orientation: portrait)"; + +// $small-up: $screen; +// $small-only: "#{$screen} and (max-width: #{upper-bound($small-range)})"; + +// $medium-up: "#{$screen} and (min-width:#{lower-bound($medium-range)})"; +// $medium-only: "#{$screen} and (min-width:#{lower-bound($medium-range)}) and (max-width:#{upper-bound($medium-range)})"; + +// $large-up: "#{$screen} and (min-width:#{lower-bound($large-range)})"; +// $large-only: "#{$screen} and (min-width:#{lower-bound($large-range)}) and (max-width:#{upper-bound($large-range)})"; + +// $xlarge-up: "#{$screen} and (min-width:#{lower-bound($xlarge-range)})"; +// $xlarge-only: "#{$screen} and (min-width:#{lower-bound($xlarge-range)}) and (max-width:#{upper-bound($xlarge-range)})"; + +// $xxlarge-up: "#{$screen} and (min-width:#{lower-bound($xxlarge-range)})"; +// $xxlarge-only: "#{$screen} and (min-width:#{lower-bound($xxlarge-range)}) and (max-width:#{upper-bound($xxlarge-range)})"; + +// Legacy +// $small: $medium-up; +// $medium: $medium-up; +// $large: $large-up; + +//We use this as cursors values for enabling the option of having custom cursors in the whole site's stylesheet +// $cursor-crosshair-value: crosshair; +// $cursor-default-value: default; +// $cursor-pointer-value: pointer; +// $cursor-help-value: help; +// $cursor-text-value: text; + +// +// TYPOGRAPHY +// + +// $include-html-type-classes: $include-html-classes; + +// We use these to control header font styles +// $header-font-family: $body-font-family; +// $header-font-weight: 300; +// $header-font-style: normal; +// $header-font-color: #222; +// $header-line-height: 1.4; +// $header-top-margin: .2rem; +// $header-bottom-margin: .5rem; +// $header-text-rendering: optimizeLegibility; + +// We use these to control header font sizes +// $h1-font-size: rem-calc(44); +// $h2-font-size: rem-calc(37); +// $h3-font-size: rem-calc(27); +// $h4-font-size: rem-calc(23); +// $h5-font-size: rem-calc(18); +// $h6-font-size: 1rem; + +// These control how subheaders are styled. +// $subheader-line-height: 1.4; +// $subheader-font-color: scale-color($header-font-color, $lightness: 35%); +// $subheader-font-weight: 300; +// $subheader-top-margin: .2rem; +// $subheader-bottom-margin: .5rem; + +// A general styling +// $small-font-size: 60%; +// $small-font-color: scale-color($header-font-color, $lightness: 35%); + +// We use these to style paragraphs +// $paragraph-font-family: inherit; +// $paragraph-font-weight: normal; +// $paragraph-font-size: 1rem; +// $paragraph-line-height: 1.6; +// $paragraph-margin-bottom: rem-calc(20); +// $paragraph-aside-font-size: rem-calc(14); +// $paragraph-aside-line-height: 1.35; +// $paragraph-aside-font-style: italic; +// $paragraph-text-rendering: optimizeLegibility; + +// We use these to style tags +// $code-color: scale-color($alert-color, $lightness: -27%); +// $code-font-family: Consolas, 'Liberation Mono', Courier, monospace; +// $code-font-weight: bold; + +// We use these to style anchors +// $anchor-text-decoration: none; +// $anchor-font-color: $primary-color; +// $anchor-font-color-hover: scale-color($primary-color, $lightness: -14%); + +// We use these to style the
    element +// $hr-border-width: 1px; +// $hr-border-style: solid; +// $hr-border-color: #ddd; +// $hr-margin: rem-calc(20); + +// We use these to style lists +// $list-style-position: outside; +// $list-side-margin: 1.1rem; +// $list-ordered-side-margin: 1.4rem; +// $list-side-margin-no-bullet: 0; +// $list-nested-margin: rem-calc(20); +// $definition-list-header-weight: bold; +// $definition-list-header-margin-bottom: .3rem; +// $definition-list-margin-bottom: rem-calc(12); + +// We use these to style blockquotes +// $blockquote-font-color: scale-color($header-font-color, $lightness: 35%); +// $blockquote-padding: rem-calc(9 20 0 19); +// $blockquote-border: 1px solid #ddd; +// $blockquote-cite-font-size: rem-calc(13); +// $blockquote-cite-font-color: scale-color($header-font-color, $lightness: 23%); +// $blockquote-cite-link-color: $blockquote-cite-font-color; + +// Acronym styles +// $acronym-underline: 1px dotted #ddd; + +// We use these to control padding and margin +// $microformat-padding: rem-calc(10 12); +// $microformat-margin: rem-calc(0 0 20 0); + +// We use these to control the border styles +// $microformat-border-width: 1px; +// $microformat-border-style: solid; +// $microformat-border-color: #ddd; + +// We use these to control full name font styles +// $microformat-fullname-font-weight: bold; +// $microformat-fullname-font-size: rem-calc(15); + +// We use this to control the summary font styles +// $microformat-summary-font-weight: bold; + +// We use this to control abbr padding +// $microformat-abbr-padding: rem-calc(0 1); + +// We use this to control abbr font styles +// $microformat-abbr-font-weight: bold; +// $microformat-abbr-font-decoration: none; + +// Accordion + +// $include-html-accordion-classes: $include-html-classes; + +// $accordion-navigation-padding: rem-calc(16); +// $accordion-navigation-bg-color: #efefef ; +// $accordion-navigation-hover-bg-color: scale-color($accordion-navigation-bg-color, $lightness: -5%); +// $accordion-navigation-active-bg-color: scale-color($accordion-navigation-bg-color, $lightness: -3%); +// $accordion-navigation-font-color: #222; +// $accordion-navigation-font-size: rem-calc(16); +// $accordion-navigation-font-family: $body-font-family; + +// $accordion-content-padding: $column-gutter/2; +// $accordion-content-active-bg-color: #fff; + +// Alert Boxes + +// $include-html-alert-classes: $include-html-classes; + +// We use this to control alert padding. +// $alert-padding-top: rem-calc(14); +// $alert-padding-default-float: $alert-padding-top; +// $alert-padding-opposite-direction: $alert-padding-top + rem-calc(10); +// $alert-padding-bottom: $alert-padding-top; + +// We use these to control text style. +// $alert-font-weight: normal; +// $alert-font-size: rem-calc(13); +// $alert-font-color: #fff; +// $alert-font-color-alt: scale-color($secondary-color, $lightness: -66%); + +// We use this for close hover effect. +// $alert-function-factor: -14%; + +// We use these to control border styles. +// $alert-border-style: solid; +// $alert-border-width: 1px; +// $alert-border-color: scale-color($primary-color, $lightness: $alert-function-factor); +// $alert-bottom-margin: rem-calc(20); + +// We use these to style the close buttons +// $alert-close-color: #333; +// $alert-close-top: 50%; +// $alert-close-position: rem-calc(5); +// $alert-close-font-size: rem-calc(22); +// $alert-close-opacity: 0.3; +// $alert-close-opacity-hover: 0.5; +// $alert-close-padding: 9px 6px 4px; + +// We use this to control border radius +// $alert-radius: $global-radius; + +// Block Grid + +// $include-html-grid-classes: $include-html-classes; + +// We use this to control the maximum number of block grid elements per row +// $block-grid-elements: 12; +// $block-grid-default-spacing: rem-calc(0); + +// Enables media queries for block-grid classes. Set to false if writing semantic HTML. +// $block-grid-media-queries: true; + +// Breadcrumbs + +// $include-html-nav-classes: $include-html-classes; + +// We use this to set the background color for the breadcrumb container. +// $crumb-bg: scale-color($secondary-color, $lightness: 55%); + +// We use these to set the padding around the breadcrumbs. +// $crumb-padding: rem-calc(9 14 9); +// $crumb-side-padding: rem-calc(12); + +// We use these to control border styles. +// $crumb-function-factor: -10%; +// $crumb-border-size: 1px; +// $crumb-border-style: solid; +// $crumb-border-color: scale-color($crumb-bg, $lightness: $crumb-function-factor); +// $crumb-radius: $global-radius; + +// We use these to set various text styles for breadcrumbs. +// $crumb-font-size: rem-calc(11); +// $crumb-font-color: $primary-color; +// $crumb-font-color-current: #333; +// $crumb-font-color-unavailable: #999; +// $crumb-font-transform: uppercase; +// $crumb-link-decor: underline; + +// We use these to control the slash between breadcrumbs +// $crumb-slash-color: #aaa; +// $crumb-slash: "/"; + +// +// BUTTONS +// + +// $include-html-button-classes: $include-html-classes; + +// We use these to build padding for buttons. +// $button-tny: rem-calc(10); +// $button-sml: rem-calc(14); +// $button-med: rem-calc(16); +// $button-lrg: rem-calc(18); + +// We use this to control the display property. +// $button-display: inline-block; +// $button-margin-bottom: rem-calc(20); + +// We use these to control button text styles. +// $button-font-family: $body-font-family; +// $button-font-color: #fff; +// $button-font-color-alt: #333; +// $button-font-tny: rem-calc(11); +// $button-font-sml: rem-calc(13); +// $button-font-med: rem-calc(16); +// $button-font-lrg: rem-calc(20); +// $button-font-weight: normal; +// $button-font-align: center; + +// We use these to control various hover effects. +// $button-function-factor: 5%; + +// We use these to control button border styles. +// $button-border-width: 1px; +// $button-border-style: solid; + +// We use this to set the default radius used throughout the core. +// $button-radius: $global-radius; +// $button-round: $global-rounded; + +// We use this to set default opacity for disabled buttons. +// $button-disabled-opacity: 0.7; + +// Button Groups + +// $include-html-button-classes: $include-html-classes; + +// Sets the margin for the right side by default, and the left margin if right-to-left direction is used +// $button-bar-margin-opposite: rem-calc(10); +// $button-group-border-width: 1px; + +// Clearing + +// $include-html-clearing-classes: $include-html-classes; + +// We use these to set the background colors for parts of Clearing. +// $clearing-bg: #333; +// $clearing-caption-bg: $clearing-bg; +// $clearing-carousel-bg: rgba (51,51,51,0.8); +// $clearing-img-bg: $clearing-bg; + +// We use these to style the close button +// $clearing-close-color: #ccc; +// $clearing-close-size: 30px; + +// We use these to style the arrows +// $clearing-arrow-size: 12px; +// $clearing-arrow-color: $clearing-close-color; + +// We use these to style captions +// $clearing-caption-font-color: #ccc; +// $clearing-caption-font-size: 0.875em; +// $clearing-caption-padding: 10px 30px 20px; + +// We use these to make the image and carousel height and style +// $clearing-active-img-height: 85%; +// $clearing-carousel-height: 120px; +// $clearing-carousel-thumb-width: 120px; +// $clearing-carousel-thumb-active-border: 1px solid rgb(255,255,255); + +// Dropdown + +// $include-html-dropdown-classes: $include-html-classes; + +// We use these to controls height and width styles. +// $f-dropdown-max-width: 200px; +// $f-dropdown-height: auto; +// $f-dropdown-max-height: none; +// $f-dropdown-margin-top: 2px; + +// We use this to control the background color +// $f-dropdown-bg: #fff; + +// We use this to set the border styles for dropdowns. +// $f-dropdown-border-style: solid; +// $f-dropdown-border-width: 1px; +// $f-dropdown-border-color: scale-color(#fff, $lightness: -20%); + +// We use these to style the triangle pip. +// $f-dropdown-triangle-size: 6px; +// $f-dropdown-triangle-color: #fff; +// $f-dropdown-triangle-side-offset: 10px; + +// We use these to control styles for the list elements. +// $f-dropdown-list-style: none; +// $f-dropdown-font-color: #555; +// $f-dropdown-font-size: rem-calc(14); +// $f-dropdown-list-padding: rem-calc(5, 10); +// $f-dropdown-line-height: rem-calc(18); +// $f-dropdown-list-hover-bg: #eeeeee ; +// $dropdown-mobile-default-float: 0; + +// We use this to control the styles for when the dropdown has custom content. +// $f-dropdown-content-padding: rem-calc(20); + +// Dropdown Buttons + +// $include-html-button-classes: $include-html-classes; + +// We use these to set the color of the pip in dropdown buttons +// $dropdown-button-pip-color: #fff; +// $dropdown-button-pip-color-alt: #333; + +// $button-pip-tny: rem-calc(6); +// $button-pip-sml: rem-calc(7); +// $button-pip-med: rem-calc(9); +// $button-pip-lrg: rem-calc(11); + +// We use these to style tiny dropdown buttons +// $dropdown-button-padding-tny: $button-pip-tny * 7; +// $dropdown-button-pip-size-tny: $button-pip-tny; +// $dropdown-button-pip-opposite-tny: $button-pip-tny * 3; +// $dropdown-button-pip-top-tny: -$button-pip-tny / 2 + rem-calc(1); + +// We use these to style small dropdown buttons +// $dropdown-button-padding-sml: $button-pip-sml * 7; +// $dropdown-button-pip-size-sml: $button-pip-sml; +// $dropdown-button-pip-opposite-sml: $button-pip-sml * 3; +// $dropdown-button-pip-top-sml: -$button-pip-sml / 2 + rem-calc(1); + +// We use these to style medium dropdown buttons +// $dropdown-button-padding-med: $button-pip-med * 6 + rem-calc(3); +// $dropdown-button-pip-size-med: $button-pip-med - rem-calc(3); +// $dropdown-button-pip-opposite-med: $button-pip-med * 2.5; +// $dropdown-button-pip-top-med: -$button-pip-med / 2 + rem-calc(2); + +// We use these to style large dropdown buttons +// $dropdown-button-padding-lrg: $button-pip-lrg * 5 + rem-calc(3); +// $dropdown-button-pip-size-lrg: $button-pip-lrg - rem-calc(6); +// $dropdown-button-pip-opposite-lrg: $button-pip-lrg * 2.5; +// $dropdown-button-pip-top-lrg: -$button-pip-lrg / 2 + rem-calc(3); + +// Flex Video + +// $include-html-media-classes: $include-html-classes; + +// We use these to control video container padding and margins +// $flex-video-padding-top: rem-calc(25); +// $flex-video-padding-bottom: 67.5%; +// $flex-video-margin-bottom: rem-calc(16); + +// We use this to control widescreen bottom padding +// $flex-video-widescreen-padding-bottom: 57.25%; + +// Forms + +// $include-html-form-classes: $include-html-classes; + +// We use this to set the base for lots of form spacing and positioning styles +// $form-spacing: rem-calc(16); + +// We use these to style the labels in different ways +// $form-label-pointer: pointer; +// $form-label-font-size: rem-calc(14); +// $form-label-font-weight: normal; +// $form-label-line-height: 1.5; +// $form-label-font-color: scale-color(#000, $lightness: 30%); +// $form-label-bottom-margin: 0; +// $input-font-family: inherit; +// $input-font-color: rgba(0,0,0,0.75); +// $input-font-size: rem-calc(14); +// $input-bg-color: #fff; +// $input-focus-bg-color: scale-color(#fff, $lightness: -2%); +// $input-border-color: scale-color(#fff, $lightness: -20%); +// $input-focus-border-color: scale-color(#fff, $lightness: -40%); +// $input-border-style: solid; +// $input-border-width: 1px; +// $input-border-radius: $global-radius; +// $input-disabled-bg: #ddd; +// $input-box-shadow: inset 0 1px 2px rgba(0,0,0,0.1); +// $input-include-glowing-effect: true; + +// We use these to style the fieldset border and spacing. +// $fieldset-border-style: solid; +// $fieldset-border-width: 1px; +// $fieldset-border-color: #ddd; +// $fieldset-padding: rem-calc(20); +// $fieldset-margin: rem-calc(18 0); + +// We use these to style the legends when you use them +// $legend-bg: #fff; +// $legend-font-weight: bold; +// $legend-padding: rem-calc(0 3); + +// We use these to style the prefix and postfix input elements +// $input-prefix-bg: scale-color(#fff, $lightness: -5%); +// $input-prefix-border-color: scale-color(#fff, $lightness: -20%); +// $input-prefix-border-size: 1px; +// $input-prefix-border-type: solid; +// $input-prefix-overflow: hidden; +// $input-prefix-font-color: #333; +// $input-prefix-font-color-alt: #fff; + +// We use these to style the error states for inputs and labels +// $input-error-message-padding: rem-calc(6 9 9); +// $input-error-message-top: -1px; +// $input-error-message-font-size: rem-calc(12); +// $input-error-message-font-weight: normal; +// $input-error-message-font-style: italic; +// $input-error-message-font-color: #fff; +// $input-error-message-font-color-alt: #333; + +// We use this to style the glowing effect of inputs when focused +// $glowing-effect-fade-time: 0.45s; +// $glowing-effect-color: $input-focus-border-color; + +// Select variables +// $select-bg-color: #fafafa; + +// Inline Lists + +// $include-html-inline-list-classes: $include-html-classes; + +// We use this to control the margins and padding of the inline list. +// $inline-list-top-margin: 0; +// $inline-list-opposite-margin: 0; +// $inline-list-bottom-margin: rem-calc(17); +// $inline-list-default-float-margin: rem-calc(-22); + +// $inline-list-padding: 0; + +// We use this to control the overflow of the inline list. +// $inline-list-overflow: hidden; + +// We use this to control the list items +// $inline-list-display: block; + +// We use this to control any elments within list items +// $inline-list-children-display: block; + +// Joyride + +// $include-html-joyride-classes: $include-html-classes; + +// Controlling default Joyride styles +// $joyride-tip-bg: #333; +// $joyride-tip-default-width: 300px; +// $joyride-tip-padding: rem-calc(18 20 24); +// $joyride-tip-border: solid 1px #555; +// $joyride-tip-radius: 4px; +// $joyride-tip-position-offset: 22px; + +// Here, we're setting the tip dont styles +// $joyride-tip-font-color: #fff; +// $joyride-tip-font-size: rem-calc(14); +// $joyride-tip-header-weight: bold; + +// This changes the nub size +// $joyride-tip-nub-size: 10px; + +// This adjusts the styles for the timer when its enabled +// $joyride-tip-timer-width: 50px; +// $joyride-tip-timer-height: 3px; +// $joyride-tip-timer-color: #666; + +// This changes up the styles for the close button +// $joyride-tip-close-color: #777; +// $joyride-tip-close-size: 24px; +// $joyride-tip-close-weight: normal; + +// When Joyride is filling the screen, we use this style for the bg +// $joyride-screenfill: rgba(0,0,0,0.5); + +// Keystrokes + +// $include-html-type-classes: $include-html-classes; + +// We use these to control text styles. +// $keystroke-font: "Consolas", "Menlo", "Courier", monospace; +// $keystroke-font-size: rem-calc(14); +// $keystroke-font-color: #222; +// $keystroke-font-color-alt: #fff; +// $keystroke-function-factor: -7%; + +// We use this to control keystroke padding. +// $keystroke-padding: rem-calc(2 4 0); + +// We use these to control background and border styles. +// $keystroke-bg: scale-color(#fff, $lightness: $keystroke-function-factor); +// $keystroke-border-style: solid; +// $keystroke-border-width: 1px; +// $keystroke-border-color: scale-color($keystroke-bg, $lightness: $keystroke-function-factor); +// $keystroke-radius: $global-radius; + +// Labels + +// $include-html-label-classes: $include-html-classes; + +// We use these to style the labels +// $label-padding: rem-calc(4 8 6); +// $label-radius: $global-radius; + +// We use these to style the label text +// $label-font-sizing: rem-calc(11); +// $label-font-weight: normal; +// $label-font-color: #333; +// $label-font-color-alt: #fff; +// $label-font-family: $body-font-family; + +// Magellan + +// $include-html-magellan-classes: $include-html-classes; + +// $magellan-bg: #fff; +// $magellan-padding: 10px; + +// Off-canvas + +// $tabbar-bg: #333; +// $tabbar-height: rem-calc(45); +// $tabbar-line-height: $tabbar-height; +// $tabbar-color: #FFF; +// $tabbar-middle-padding: 0 rem-calc(10); + +// Off Canvas Divider Styles +// $tabbar-right-section-border: solid 1px scale-color($tabbar-bg, $lightness: 13%); +// $tabbar-left-section-border: solid 1px scale-color($tabbar-bg, $lightness: -50%); + +// Off Canvas Tab Bar Headers +// $tabbar-header-color: #FFF; +// $tabbar-header-weight: bold; +// $tabbar-header-line-height: $tabbar-height; +// $tabbar-header-margin: 0; + +// Off Canvas Menu Variables +// $off-canvas-width: 250px; +// $off-canvas-bg: #333; + +// Off Canvas Menu List Variables +// $off-canvas-label-padding: 0.3rem rem-calc(15); +// $off-canvas-label-color: #999; +// $off-canvas-label-text-transform: uppercase; +// $off-canvas-label-font-weight: bold; +// $off-canvas-label-bg: #444; +// $off-canvas-label-border-top: 1px solid scale-color(#444, $lightness: 14%); +// $off-canvas-label-border-bottom: none; +// $off-canvas-label-margin:0; +// $off-canvas-link-padding: rem-calc(10, 15); +// $off-canvas-link-color: rgba(#FFF, 0.7); +// $off-canvas-link-border-bottom: 1px solid scale-color($off-canvas-bg, $lightness: -25%); + +// Off Canvas Menu Icon Variables +// $tabbar-menu-icon-color: #FFF; +// $tabbar-menu-icon-hover: scale-color($tabbar-menu-icon-color, $lightness: -30%); + +// $tabbar-menu-icon-text-indent: rem-calc(35); +// $tabbar-menu-icon-width: $tabbar-height; +// $tabbar-menu-icon-height: $tabbar-height; +// $tabbar-menu-icon-line-height: rem-calc(33); +// $tabbar-menu-icon-padding: 0; + +// $tabbar-hamburger-icon-width: rem-calc(16); +// $tabbar-hamburger-icon-left: rem-calc(13); +// $tabbar-hamburger-icon-top: rem-calc(5); + +// Off Canvas Back-Link Overlay +// $off-canvas-overlay-transition: background 300ms ease; +// $off-canvas-overlay-cursor: pointer; +// $off-canvas-overlay-box-shadow: -4px 0 4px rgba(#000, 0.5), 4px 0 4px rgba(#000, 0.5); +// $off-canvas-overlay-background: rgba(#FFF, 0.2); +// $off-canvas-overlay-background-hover: rgba(#FFF, 0.05); + +// Transition Variables +// $menu-slide: "transform 500ms ease"; + +// Orbit + +// $include-html-orbit-classes: $include-html-classes; + +// We use these to control the caption styles +// $orbit-container-bg: none; +// $orbit-caption-bg: rgba(51,51,51, 0.8); +// $orbit-caption-font-color: #fff; +// $orbit-caption-font-size: rem-calc(14); +// $orbit-caption-position: "bottom"; // Supported values: "bottom", "under" +// $orbit-caption-padding: rem-calc(10 14); +// $orbit-caption-height: auto; + +// We use these to control the left/right nav styles +// $orbit-nav-bg: none; +// $orbit-nav-bg-hover: rgba(0,0,0,0.3); +// $orbit-nav-arrow-color: #fff; +// $orbit-nav-arrow-color-hover: #fff; + +// We use these to control the timer styles +// $orbit-timer-bg: rgba(255,255,255,0.3); +// $orbit-timer-show-progress-bar: true; + +// We use these to control the bullet nav styles +// $orbit-bullet-nav-color: #ccc; +// $orbit-bullet-nav-color-active: #999; +// $orbit-bullet-radius: rem-calc(9); + +// We use these to controls the style of slide numbers +// $orbit-slide-number-bg: rgba(0,0,0,0); +// $orbit-slide-number-font-color: #fff; +// $orbit-slide-number-padding: rem-calc(5); + +// Graceful Loading Wrapper and preloader +// $wrapper-class: "slideshow-wrapper"; +// $preloader-class: "preloader"; + +// Pagination + +// $include-html-nav-classes: $include-html-classes; + +// We use these to control the pagination container +// $pagination-height: rem-calc(24); +// $pagination-margin: rem-calc(-5); + +// We use these to set the list-item properties +// $pagination-li-float: $default-float; +// $pagination-li-height: rem-calc(24); +// $pagination-li-font-color: #222; +// $pagination-li-font-size: rem-calc(14); +// $pagination-li-margin: rem-calc(5); + +// We use these for the pagination anchor links +// $pagination-link-pad: rem-calc(1 10 1); +// $pagination-link-font-color: #999; +// $pagination-link-active-bg: scale-color(#fff, $lightness: -10%); + +// We use these for disabled anchor links +// $pagination-link-unavailable-cursor: default; +// $pagination-link-unavailable-font-color: #999; +// $pagination-link-unavailable-bg-active: transparent; + +// We use these for currently selected anchor links +// $pagination-link-current-background: $primary-color; +// $pagination-link-current-font-color: #fff; +// $pagination-link-current-font-weight: bold; +// $pagination-link-current-cursor: default; +// $pagination-link-current-active-bg: $primary-color; + +// Panels + +// $include-html-panel-classes: $include-html-classes; + +// We use these to control the background and border styles +// $panel-bg: scale-color(#fff, $lightness: -5%); +// $panel-border-style: solid; +// $panel-border-size: 1px; + +// We use this % to control how much we darken things on hover +// $panel-function-factor: -11%; +// $panel-border-color: scale-color($panel-bg, $lightness: $panel-function-factor); + +// We use these to set default inner padding and bottom margin +// $panel-margin-bottom: rem-calc(20); +// $panel-padding: rem-calc(20); + +// We use these to set default font colors +// $panel-font-color: #333; +// $panel-font-color-alt: #fff; + +// $panel-header-adjust: true; +// $callout-panel-link-color: $primary-color; + +// Pricing Tables + +// $include-html-pricing-classes: $include-html-classes; + +// We use this to control the border color +// $price-table-border: solid 1px #ddd; + +// We use this to control the bottom margin of the pricing table +// $price-table-margin-bottom: rem-calc(20); + +// We use these to control the title styles +// $price-title-bg: #333; +// $price-title-padding: rem-calc(15 20); +// $price-title-align: center; +// $price-title-color: #eee; +// $price-title-weight: normal; +// $price-title-size: rem-calc(16); +// $price-title-font-family: $body-font-family; + +// We use these to control the price styles +// $price-money-bg: #f6f6f6 ; +// $price-money-padding: rem-calc(15 20); +// $price-money-align: center; +// $price-money-color: #333; +// $price-money-weight: normal; +// $price-money-size: rem-calc(32); +// $price-money-font-family: $body-font-family; + + +// We use these to control the description styles +// $price-bg: #fff; +// $price-desc-color: #777; +// $price-desc-padding: rem-calc(15); +// $price-desc-align: center; +// $price-desc-font-size: rem-calc(12); +// $price-desc-weight: normal; +// $price-desc-line-height: 1.4; +// $price-desc-bottom-border: dotted 1px #ddd; + +// We use these to control the list item styles +// $price-item-color: #333; +// $price-item-padding: rem-calc(15); +// $price-item-align: center; +// $price-item-font-size: rem-calc(14); +// $price-item-weight: normal; +// $price-item-bottom-border: dotted 1px #ddd; + +// We use these to control the CTA area styles +// $price-cta-bg: #fff; +// $price-cta-align: center; +// $price-cta-padding: rem-calc(20 20 0); + +// Progress Meters + +// $include-html-media-classes: $include-html-classes; + +// We use this to se the prog bar height +// $progress-bar-height: rem-calc(25); +// $progress-bar-color: #f6f6f6 ; + +// We use these to control the border styles +// $progress-bar-border-color: scale-color(#fff, $lightness: -20%); +// $progress-bar-border-size: 1px; +// $progress-bar-border-style: solid; +// $progress-bar-border-radius: $global-radius; + +// We use these to control the margin & padding +// $progress-bar-pad: rem-calc(2); +// $progress-bar-margin-bottom: rem-calc(10); + +// We use these to set the meter colors +// $progress-meter-color: $primary-color; +// $progress-meter-secondary-color: $secondary-color; +// $progress-meter-success-color: $success-color; +// $progress-meter-alert-color: $alert-color; + +// Reveal + +// $include-html-reveal-classes: $include-html-classes; + +// We use these to control the style of the reveal overlay. +// $reveal-overlay-bg: rgba(#000, .45); +// $reveal-overlay-bg-old: #000; + +// We use these to control the style of the modal itself. +// $reveal-modal-bg: #fff; +// $reveal-position-top: 50px; +// $reveal-default-width: 80%; +// $reveal-modal-padding: rem-calc(20); +// $reveal-box-shadow: 0 0 10px rgba(#000,.4); + +// We use these to style the reveal close button +// $reveal-close-font-size: rem-calc(22); +// $reveal-close-top: rem-calc(8); +// $reveal-close-side: rem-calc(11); +// $reveal-close-color: #aaa; +// $reveal-close-weight: bold; + +// We use these to control the modal border +// $reveal-border-style: solid; +// $reveal-border-width: 1px; +// $reveal-border-color: #666; + +// $reveal-modal-class: "reveal-modal"; +// $close-reveal-modal-class: "close-reveal-modal"; + +// Side Nav + +// $include-html-nav-classes: $include-html-classes; + +// We use this to control padding. +// $side-nav-padding: rem-calc(14 0); + +// We use these to control list styles. +// $side-nav-list-type: none; +// $side-nav-list-position: inside; +// $side-nav-list-margin: rem-calc(0 0 7 0); + +// We use these to control link styles. +// $side-nav-link-color: $primary-color; +// $side-nav-link-color-active: scale-color($side-nav-link-color, $lightness: 30%); +// $side-nav-link-color-hover: scale-color($side-nav-link-color, $lightness: 30%); +// $side-nav-font-size: rem-calc(14); +// $side-nav-font-weight: normal; +// $side-nav-font-family: $body-font-family; +// $side-nav-active-font-family: $side-nav-font-family; + + + +// We use these to control border styles +// $side-nav-divider-size: 1px; +// $side-nav-divider-style: solid; +// $side-nav-divider-color: scale-color(#fff, $lightness: -10%); + +// Split Buttons + +// $include-html-button-classes: $include-html-classes; + +// We use these to control different shared styles for Split Buttons +// $split-button-function-factor: 10%; +// $split-button-pip-color: #fff; +// $split-button-pip-color-alt: #333; +// $split-button-active-bg-tint: rgba(0,0,0,0.1); + +// We use these to control tiny split buttons +// $split-button-padding-tny: $button-pip-tny * 10; +// $split-button-span-width-tny: $button-pip-tny * 6; +// $split-button-pip-size-tny: $button-pip-tny; +// $split-button-pip-top-tny: $button-pip-tny * 2; +// $split-button-pip-default-float-tny: rem-calc(-6); + +// We use these to control small split buttons +// $split-button-padding-sml: $button-pip-sml * 10; +// $split-button-span-width-sml: $button-pip-sml * 6; +// $split-button-pip-size-sml: $button-pip-sml; +// $split-button-pip-top-sml: $button-pip-sml * 1.5; +// $split-button-pip-default-float-sml: rem-calc(-6); + +// We use these to control medium split buttons +// $split-button-padding-med: $button-pip-med * 9; +// $split-button-span-width-med: $button-pip-med * 5.5; +// $split-button-pip-size-med: $button-pip-med - rem-calc(3); +// $split-button-pip-top-med: $button-pip-med * 1.5; +// $split-button-pip-default-float-med: rem-calc(-6); + +// We use these to control large split buttons +// $split-button-padding-lrg: $button-pip-lrg * 8; +// $split-button-span-width-lrg: $button-pip-lrg * 5; +// $split-button-pip-size-lrg: $button-pip-lrg - rem-calc(6); +// $split-button-pip-top-lrg: $button-pip-lrg + rem-calc(5); +// $split-button-pip-default-float-lrg: rem-calc(-6); + +// Sub Nav + +// $include-html-nav-classes: $include-html-classes; + +// We use these to control margin and padding +// $sub-nav-list-margin: rem-calc(-4 0 18); +// $sub-nav-list-padding-top: rem-calc(4); + +// We use this to control the definition +// $sub-nav-font-family: $body-font-family; +// $sub-nav-font-size: rem-calc(14); +// $sub-nav-font-color: #999; +// $sub-nav-font-weight: normal; +// $sub-nav-text-decoration: none; +// $sub-nav-border-radius: 3px; +// $sub-nav-font-color-hover: scale-color($sub-nav-font-color, $lightness: -25%); + + +// We use these to control the active item styles + +// $sub-nav-active-font-weight: normal; +// $sub-nav-active-bg: $primary-color; +// $sub-nav-active-bg-hover: scale-color($sub-nav-active-bg, $lightness: -14%); +// $sub-nav-active-color: #fff; +// $sub-nav-active-padding: rem-calc(3 16); +// $sub-nav-active-cursor: default; + +// $sub-nav-item-divider: ""; +// $sub-nav-item-divider-margin: rem-calc(12); + +// +// SWITCH +// + +// $include-html-form-classes: $include-html-classes; + +// Controlling border styles and background colors for the switch container +// $switch-border-color: scale-color(#fff, $lightness: -20%); +// $switch-border-style: solid; +// $switch-border-width: 1px; +// $switch-bg: #fff; + +// We use these to control the switch heights for our default classes +// $switch-height-tny: 22px; +// $switch-height-sml: 28px; +// $switch-height-med: 36px; +// $switch-height-lrg: 44px; +// $switch-bottom-margin: rem-calc(20); + +// We use these to control default font sizes for our classes. +// $switch-font-size-tny: 11px; +// $switch-font-size-sml: 12px; +// $switch-font-size-med: 14px; +// $switch-font-size-lrg: 17px; +// $switch-label-side-padding: 6px; + +// We use these to style the switch-paddle +// $switch-paddle-bg: #fff; +// $switch-paddle-fade-to-color: scale-color($switch-paddle-bg, $lightness: -10%); +// $switch-paddle-border-color: scale-color($switch-paddle-bg, $lightness: -35%); +// $switch-paddle-border-width: 1px; +// $switch-paddle-border-style: solid; +// $switch-paddle-transition-speed: .1s; +// $switch-paddle-transition-ease: ease-out; +// $switch-positive-color: scale-color($success-color, $lightness: 94%); +// $switch-negative-color: #f5f5f5; + +// Outline Style for tabbing through switches +// $switch-label-outline: 1px dotted #888; + +// Tables + +// $include-html-table-classes: $include-html-classes; + +// These control the background color for the table and even rows +// $table-bg: #fff; +// $table-even-row-bg: #f9f9f9 ; + +// These control the table cell border style +// $table-border-style: solid; +// $table-border-size: 1px; +// $table-border-color: #ddd; + +// These control the table head styles +// $table-head-bg: #f5f5f5 ; +// $table-head-font-size: rem-calc(14); +// $table-head-font-color: #222; +// $table-head-font-weight: bold; +// $table-head-padding: rem-calc(8 10 10); + +// These control the row padding and font styles +// $table-row-padding: rem-calc(9 10); +// $table-row-font-size: rem-calc(14); +// $table-row-font-color: #222; +// $table-line-height: rem-calc(18); + +// These are for controlling the display and margin of tables +// $table-display: table-cell; +// $table-margin-bottom: rem-calc(20); + +// +// TABS +// + +// $include-html-tabs-classes: $include-html-classes; + +// $tabs-navigation-padding: rem-calc(16); +// $tabs-navigation-bg-color: #efefef ; +// $tabs-navigation-active-bg-color: #fff; +// $tabs-navigation-hover-bg-color: scale-color($tabs-navigation-bg-color, $lightness: -6%); +// $tabs-navigation-font-color: #222; +// $tabs-navigation-font-size: rem-calc(16); +// $tabs-navigation-font-family: $body-font-family; + +// $tabs-content-margin-bottom: rem-calc(24); +// $tabs-content-padding: $column-gutter/2; + +// $tabs-vertical-navigation-margin-bottom: 1.25rem; + +// +// THUMBNAILS +// + +// $include-html-media-classes: $include-html-classes; + +// We use these to control border styles +// $thumb-border-style: solid; +// $thumb-border-width: 4px; +// $thumb-border-color: #fff; +// $thumb-box-shadow: 0 0 0 1px rgba(#000,.2); +// $thumb-box-shadow-hover: 0 0 6px 1px rgba($primary-color,0.5); + +// Radius and transition speed for thumbs +// $thumb-radius: $global-radius; +// $thumb-transition-speed: 200ms; + +// +// TOOLTIPS +// + +// $include-html-tooltip-classes: $include-html-classes; + +// $has-tip-border-bottom: dotted 1px #ccc; +// $has-tip-font-weight: bold; +// $has-tip-font-color: #333; +// $has-tip-border-bottom-hover: dotted 1px scale-color($primary-color, $lightness: -55%); +// $has-tip-font-color-hover: $primary-color; +// $has-tip-cursor-type: help; + +// $tooltip-padding: rem-calc(12); +// $tooltip-bg: #333; +// $tooltip-font-size: rem-calc(14); +// $tooltip-font-weight: normal; +// $tooltip-font-color: #fff; +// $tooltip-line-height: 1.3; +// $tooltip-close-font-size: rem-calc(10); +// $tooltip-close-font-weight: normal; +// $tooltip-close-font-color: #777; +// $tooltip-font-size-sml: rem-calc(14); +// $tooltip-radius: $global-radius; +// $tooltip-rounded: $global-rounded; +// $tooltip-pip-size: 5px; + +// +// TOP BAR +// + +// $include-html-top-bar-classes: $include-html-classes; + +// Background color for the top bar +// $topbar-bg-color: #333; +// $topbar-bg: $topbar-bg-color; + +// Height and margin +// $topbar-height: 45px; +// $topbar-margin-bottom: 0; + +// Controlling the styles for the title in the top bar +// $topbar-title-weight: normal; +// $topbar-title-font-size: rem-calc(17); + +// Style the top bar dropdown elements +// $topbar-dropdown-bg: #333; +// $topbar-dropdown-link-color: #fff; +// $topbar-dropdown-link-bg: #333; +// $topbar-dropdown-link-weight: normal; +// $topbar-dropdown-toggle-size: 5px; +// $topbar-dropdown-toggle-color: #fff; +// $topbar-dropdown-toggle-alpha: 0.4; + +// Set the link colors and styles for top-level nav +// $topbar-link-color: #fff; +// $topbar-link-color-hover: #fff; +// $topbar-link-color-active: #fff; +// $topbar-link-color-active-hover: #fff; +// $topbar-link-weight: normal; +// $topbar-link-font-size: rem-calc(13); +// $topbar-link-hover-lightness: -10%; // Darken by 10% +// $topbar-link-bg-hover: #272727 ; +// $topbar-link-bg-active: $primary-color; +// $topbar-link-bg-active-hover: scale-color($primary-color, $lightness: -14%); +// $topbar-link-font-family: $body-font-family; + +// $topbar-button-font-size: 0.75rem; + +// $topbar-dropdown-label-color: #777; +// $topbar-dropdown-label-text-transform: uppercase; +// $topbar-dropdown-label-font-weight: bold; +// $topbar-dropdown-label-font-size: rem-calc(10); +// $topbar-dropdown-label-bg: #333; + +// Top menu icon styles +// $topbar-menu-link-transform: uppercase; +// $topbar-menu-link-font-size: rem-calc(13); +// $topbar-menu-link-weight: bold; +// $topbar-menu-link-color: #fff; +// $topbar-menu-icon-color: #fff; +// $topbar-menu-link-color-toggled: #888; +// $topbar-menu-icon-color-toggled: #888; + +// Transitions and breakpoint styles +// $topbar-transition-speed: 300ms; +// Using rem-calc for the below breakpoint causes issues with top bar +// $topbar-breakpoint: #{upper-bound($medium-range)}; // Change to 9999px for always mobile layout +// $topbar-media-query: "only screen and (min-width: #{upper-bound($medium-range)})"; + +// Divider Styles +// $topbar-divider-border-bottom: solid 1px scale-color($topbar-bg-color, $lightness: 13%); +// $topbar-divider-border-top: solid 1px scale-color($topbar-bg-color, $lightness: -50%); + +// Sticky Class +// $topbar-sticky-class: ".sticky"; +// $topbar-arrows: true; //Set false to remove the triangle icon from the menu item + +// +// VISIBILITY CLASSES +// + +// $include-html-visibility-classes: $include-html-classes; + diff --git a/wp-content/themes/tn-2014/scss/style.scss b/wp-content/themes/tn-2014/scss/style.scss new file mode 100644 index 0000000..b96b833 --- /dev/null +++ b/wp-content/themes/tn-2014/scss/style.scss @@ -0,0 +1,380 @@ +@import './bower_components/foundation/scss/normalize'; +// TODO +// - colors + +@import "settings"; +// Foundation overrides +$primary-color: #650A15; +$secondary-color: #404040; +$anchor-font-color: lighten($primary-color, 5%); +$body-font-family: Arial, sans-serif; +$header-font-family: Arvo, Georgia, serif; +$header-font-color: $secondary-color; + +// Own colors +$button-color: #f1f1f1; +$yellow-color: #fdb813; + +@import "foundation/components/grid"; +@import "foundation/components/block-grid"; +@import "foundation/components/visibility"; +@import "foundation/components/type"; + + +body { + a { + text-decoration: none; + } + ul { + list-style: disc; + padding-left: 25px; + + li { + display: list-item; + } + } + strong { + font-weight: bold; + } + p { + margin-top: 5px; + margin-bottom: 5px; + } + em { + font-style: italic; + } +} +#ribbon img { + position: absolute; + right: 0; + top: 0; + margin: 0px; + padding: 0px; + z-index: 1; +} + +#site-header { + background-color: $primary-color; + min-width: 100%; + height: 150px; + padding-top: 25px; + padding-bottom: 25px; + position: relative; + margin-bottom: 10px; + + #header-container { + @include grid-row(); + + .site-title { + @include grid-column(6); + + .logo { + background: url('../img/teater_neuf_logo.png') no-repeat; + display: inline-block; + width: 185px; + height: 120px; + margin-top: 10px; + text-indent: -9999px; + position: relative; + bottom: 10px; + } + } + } +} +#menu { + @include grid-column(6); + @extend h2; + position: relative; + top: 36px; + text-transform: uppercase; + + a { + color: #ffffff; + text-decoration: none; + } + + ul { + list-style-type: none; + margin: 0px; + padding: 0px; + display: inline; + + ul { + position: absolute; + display: none; + margin: 0; + } + + li { + margin: 0px; + padding: 0px; + display: inline; + float: left; + position: relative; + + &:hover ul, &:focus ul { + display:block; + z-index: 9; + color:rgba(255,255,255,1); + background:darken($primary-color, 10%); + } + + a { + display: block; + padding: 20px 25px; + text-decoration: none; + border-right: 1px solid #FFFFE1; + position: relative; + + &:hover, .current { + color:rgba(255,255,255,1); + background:darken($primary-color, 10%); + } + } + + .sub-menu li { + position: relative; + a { + border: 0px; + } + } + + &:first-child { + padding-left: 0px; + } + } + } +} +#content { + @include grid-row(); + + #featured { + @include grid-column(12); + padding-bottom: 25px; + a h1 { + color: #000; + } + + #prevLink { + display: inline-block; + width: 0; + height: 0; + border-top: 8px solid transparent; + border-bottom: 8px solid transparent; + border-right: 16px solid $primary-color; + cursor: pointer; + + &:hover { + border-right: 16px solid lighten($primary-color, 20%); + } + } + #nextLink { + display: inline-block; + width: 0; + height: 0; + border-top: 8px solid transparent; + border-bottom: 8px solid transparent; + border-left: 16px solid $primary-color; + cursor: pointer; + + &:hover { + border-left: 16px solid lighten($primary-color, 20%); + } + } + #slidernav { + display: inline-block; + a { + content: ''; + background: lighten($primary-color, 20%); + border-radius: 50%; + width: 16px; + height: 16px; + display: inline-block; + z-index: 10; + margin-left: 4px; + margin-right: 4px; + + &.activeSlide { + background: $primary-color; + + } + } + } + #slider-buttons { + position: relative; + top: 350px; + z-index: 10; + } + + #slider { + .featured-text { + @include grid-column(6); + height: 328px; + + .entry-meta { + position: absolute; + bottom: 6px; + color: #fff; + background: darken(#fff, 40%); + padding: 4px; + + .datetime { + @include grid-column(2); + } + .venue { + @include grid-column(2); + } + .price { + @include grid-column(2); + } + } + } + + .featured-image { + @include grid-column(6); + } + + } + } + #digest-news { + @include grid-column(12); + margin-top: 10px; + + h2 a { + color: #000; + } + + .news-entry { + @include grid-column(4); + + .entry-meta { + font-size: 12px; + line-height: 1em; + padding-bottom: 10px; + + } + } + } + .body { + @include grid-column(6); + margin-bottom: 25px; + } + + .featured-image { + @include grid-column(6); + } + + .hentry { + } + #social-sharing { + margin-top: 10px; + + .share-twitter { + display: inline-block; + } + .share-facebook { + display: inline-block; + position: relative; + bottom: 3px; + } + + } + .byline { + color: #aaa; + + .author { + color: #000; + font-weight: bold; + } + } + .entry-content { + margin-top: 15px; + } + .text-body { + @include grid-column(6); + margin-bottom: 20px; + + } + .thumbnail { + @include grid-column(6); + margin-bottom: 20px; + + } + .page-title { + margin-left: 10px; + } + #posts-nav-link { + @include grid-column(12); + } +} +#site-footer { + $footer-color: #fff; + + background-color: $primary-color; + min-width: 100%; + margin-top: 25px; + padding-top: 25px; + padding-bottom: 25px; + color: $footer-color; + + a { + color: $footer-color; + text-decoration: none; + + &:link { color: $footer-color; } + &:hover { text-decoration: underline; } + &:active { color: $footer-color; } + } + + #footer-container { + @include grid-row(); + + #footer-about { + @include grid-column(6); + font-size: rem-calc(14); + + ul{ + list-style: none; + display: inline-block; + margin: 0; + padding: 0; + + li.social-icon { + display: inline-block; + margin: 0; + padding: 0; + a { + border: 0px; + &:first-child { + padding-right: 20px; + } + } + } + } + } + } + #kolofon { + @include grid-row(); + + #kolofon-text { + @include grid-column(12); + margin-top: 25px; + + } + } +} +.credits-wrap { + @include grid-row(); + + .credits { + margin-top: 25px; + @include grid-column(12); + text-align: center; + color: #666; + font-size: rem-calc(12); + } +} +/* Reusable styles */ +.love { + color: #faafba; +} diff --git a/wp-content/themes/tn-2014/search.php b/wp-content/themes/tn-2014/search.php old mode 100755 new mode 100644 diff --git a/wp-content/themes/tn-2014/sidebar.php b/wp-content/themes/tn-2014/sidebar.php old mode 100755 new mode 100644 diff --git a/wp-content/themes/tn-2014/single-event.php b/wp-content/themes/tn-2014/single-event.php deleted file mode 100755 index 5c3e5ac..0000000 --- a/wp-content/themes/tn-2014/single-event.php +++ /dev/null @@ -1,14 +0,0 @@ - - -
    - - - - - - - - -
    - - diff --git a/wp-content/themes/tn-2014/single.php b/wp-content/themes/tn-2014/single.php old mode 100755 new mode 100644 diff --git a/wp-content/themes/tn-2014/studentmedia.php b/wp-content/themes/tn-2014/studentmedia.php deleted file mode 100755 index 63ce0e1..0000000 --- a/wp-content/themes/tn-2014/studentmedia.php +++ /dev/null @@ -1,24 +0,0 @@ -
    - -
    -
    -
    -
    - - - -
    diff --git a/wp-content/themes/tn-2014/style-old.css b/wp-content/themes/tn-2014/style-old.css deleted file mode 100755 index aac9dac..0000000 --- a/wp-content/themes/tn-2014/style-old.css +++ /dev/null @@ -1,1031 +0,0 @@ -/** - * Theme Name: Neuf Old Style - * Theme URI: http://studentersamfundet.no/ - * Description: Horisontal outline. - * Author: Just Thomas Misund,Robert Kolner,Nikolai Kristiansen - * Author URI: http://hemmeligadresse.com/ - * Version: 0.2 - */ - -@import 'css/reset.css'; -@import 'css/rebuild.css'; -@import 'css/grid.css'; -@import 'css/wp.css'; - -/** - * Structure - */ - -/* Layout */ -/* A lot of the layout CSS is placed in css/grid.css. Only stuff not concerning the grid should be in this section. If in doubt, don't put stuff here. */ -#access { - display:none; -} - -#content { - background: transparent; - padding:0; - clear:both; - overflow:auto; -} - -.hentry.forsidesak -{ - min-height:250px; -} - -.program #program { - background:#9ac9f7; -} - -.program #program li, -.program #sorting li { - display:block; - overflow:hidden; - padding:10px; -} - -.program #program span, -.program #sorting span { - display:block; - float:left; -} - -/* end layout */ - -/* Header */ -body.dns { - background:#efefef; -} -header#site-header, -footer#site-footer { - background-color:#E99835; - background-color:hsl(33,80%,56%); -} -header#site-header { - height:90px; - padding-top:25px; - padding-bottom:25px; - position:relative; - margin-bottom:50px; -} -header#site-header .site-title { - z-index:999; - width:570px; - height:67px; - margin-top:11px; -} -header#site-header .site-title a { - background: url('img/logo-web.png') no-repeat; - display:block; - width:100%; - height:100%; - margin-top:0px; - text-indent:-9999px; -} -#facebook-followers { - float:right; -} - -#menu { - height:25px; - margin-top:35px; -} -#menu a { - /* color:rgb(88,89,91); */ - color:white; -} - -#menu a.current, -#menu a:hover, -#menu li:hover a { - color:rgba(256,256,256,1); - background:rgb(88,89,91); -} - -#menu > ul { - display:inline-block; - float:right; -} - -#menu ul,#menu li { - list-style-type:none; -} -#menu li { - float:left; - border-right:1px solid rgb(255,255,225); - position:relative; -} -#menu .aapningstider li, -#menu .sub-menu li { - border-right:none; - position: relative; -} -#menu li a { - display:block; - height:22px; - padding:5px 4px 3px; - text-decoration:none; -} - -#menu ul ul { - position:absolute; - display:none; - margin:0; -} -#menu ul li:hover ul, -#menu ul li:focus ul -{ - display:block; - z-index:9; -} -#menu li ul { -} -#menu .aapningstider li ul { - border-right:none; - min-width: 100%; -} - -#menu .aapningstider li ul li { - padding:0 5%; -} - -#menu .aapningstider { - margin:0; -} - -#menu .aapningstider table { - text-align:left; - font-family:Arial,sans-serif; - font-size:12px; - font-weight:normal; - text-transform:none; - color:#fff; -} -#menu .aapningstider td.right { - padding-left: 10px; - text-align: right; -} - -/* -#menu .aapningstider > li { - background:transparent url('img/arrow-down.png') no-repeat center right; - padding-right:15px; -} -*/ - -#menu .aapningstider > li:hover, -#menu li:hover ul { - background:rgb(88,89,91); -} - -#menu .aapningstider > li:hover ul table { - border-top:1px solid white; -} -#menu .aapningstider #bokkafeen_tider a { - padding: 0px; -} - -/* Header slutt */ - -/* Hoveddel */ - -#content > .hentry .entry-content { - margin-top:15px; - margin-bottom:15px; -} - -.single #content > .hentry, -.page #content > .hentry { - margin-top:30px; - margin-bottom:30px; -} - -.single-event .entry-meta { - display:inline-block; - border-bottom:1px solid #ff9e29; - padding-bottom:15px; - width: 100%; -} - -#digest_news, -#digest_events, -#program-3days, -#program-6days, -.program-6days, -#student-media > * -{ - padding-top:15px; - border-top:1px solid #ff9e29; -} - -#digest_news, -#digest_events { - padding-bottom:15px; -} - -#student-media #nova-player { - padding-top: 15px; - height:110px; -} - -#student-media #nova-player h2 { - width:252px; - height:86px; - float:left; -} -#student-media #nova-player h2 a { - width:100%; - height:100%; - background:url('img/logo-rn-x86.png'); - display:block; - overflow:hidden; - text-indent:-99999px; -} -#student-media #nova-player #nova-player-link { - display:block; - float:left; - width:0px; - height:0px; - text-indent:-9999px; - position:relative; - background:#ed1c24; - width:45px; - height:45px; - border-radius:50%; - top:21px; - left:40px; -} -#student-media #nova-player #nova-player-link:before { - content:''; - display:block; - position:absolute; - top:9px; - left:13px; - border-top:13px solid transparent; - border-bottom:13px solid transparent; - border-left:26px solid #673337; -} - -#student-media #twitter_feed { - overflow:hidden; - border-bottom:1px solid #FF9E29; -} - -#student-media #twitter_feed_title img { - display:inline-block; - width:70px; -} - -#student-media #twitter_feed_title a { - display:inline-block; - vertical-align:top; -} - -#student-media #twitter_feed_title_name { - display:inline-block; -} -#student-media #twitter_feed_title_name h3 { - margin-bottom: 0px; -} - -#student-media #twitter_feed_title_name a { - display:block; -} - -/* Hoveddel slutt */ - -/* Footer */ - -#sponsors .sponsor { - text-align: center; - display: table-cell; - height: 120px; - width: 400px; - vertical-align: middle; -} -#sponsors .sponsor img { - max-width: 390px; - max-height: 90px; -} - -#kolofon { - padding-top: 25px; - padding-bottom: 10px; -} -#site-footer { - margin-top: 20px; - padding-top: 25px; - clear: both; - overflow: auto; - color: #000; -} -#site-footer a { - color:#ffffff; -} -#site-footer h2, -#site-footer h2 a, -#site-footer .links { - color:#ffffff; - font-family: Arvo,Georgia,serif; - font-weight: normal; - text-transform: uppercase; - font-style: normal; - font-size: 16px; -} - -#flickr-images > ul { - list-style-type:none; - margin:0; -} -#flickr-images > ul > li { - display:block; - float:left; - width:74px; -} -.fb-like-box { - overflow:hidden; - height:170px; -} - -/* Footer slutt */ - -/** - * Typography - */ -body, input, textarea, -#program-3days a, -#program-6days a, -#digest_events a -{ - color:#333333; -} -#digest_events h2 a { - color:#FF9E29; -} - -body, input, textarea { - font: 14px Arial,sans-serif; - line-height:1.5em; -} - -p, ul, ol, dd, pre { - margin-bottom:1.5em; -} -pre, code { - font:14px Monaco, monospace; - line-height:1.3; -} -a:hover, a:focus { - text-decoration:underline; -} -a:focus { outline:thin dotted; } -a:hover, a:active { outline: none; } - -a.blocklink, a.blocklink:visited, -a.blocklink:focus, a.blocklink:active, -a.blocklink:hover { - color:inherit; - text-decoration:none; -} - -abbr { - border-bottom: 1px dotted; -} - -h1 { - font-style:normal; -} - -h1,h2,h3,h4,h5,h6, -.single-event .entry-meta { - font-family: Arvo, Georgia, serif; - line-height:1.2; -} -h1,h2,h3,h4,h5,h6 { - margin-bottom:0.5em; -} - -a,a:visited, -h1,h2,h3,h4,h5,h6 -{ - color: #ff9e29; - text-decoration:none; -} -h1 { - font-size: 35px; - font-weight:bold; - font-style:normal; -} -h2, -#featured article h1, -.single-event h1, -.single-event .entry-meta -{ - font-size:20px; - letter-spacing:2px; - font-style:italic; - font-weight:normal; -} -h3 { - font-size:23px; -} -h4 { - font-size:16px; -} -h5 { - font-size:16px; -} -h6 { - font-size:16px; -} -/* Single posts */ -.single-post h1.entry-title { - margin-bottom:0; -} -.single-post .byline { - color: #aaaaaa; -} -.single-post .byline .author { - color: #333; - font-weight: bold; -} - -/* Menus */ -#menu { - font-family:Arvo,Georgia,serif; - font-weight:bold; - font-size:18px; - text-transform:uppercase; -} - -/* Lists */ -.entry-content ul, -.entry-content ol { - padding:0; -} -.entry-content ul ul, -.entry-content ol ol, -.entry-content ul ol, -.entry-content ol ul { - padding-left:20px; -} -.entry-content ul { - list-style: circle inside; -} -.entry-content ul ul { - list-style: disc inside; -} -.entry-content ul ul ul { - list-style: square inside; -} -.entry-content ul ul ul ul { - list-style: circle inside; -} -.entry-content ul ul ul ul ul { - list-style: disc inside; -} -.entry-content ul ul ul ul ul ul { - list-style: square inside; -} -.entry-content ol { - list-style: decimal inside; -} -.entry-content ol ol { - list-style: upper-roman inside; -} -.entry-content ol ol ol { - list-style: lower-roman inside; -} -.entry-content ol ol ol ol { - list-style: decimal inside; -} -.entry-content ol ol ol ol ol { - list-style: upper-roman inside; -} -.entry-content ol ol ol ol ol ol { - list-style: lower-roman inside; -} -.big_bullet { - display:inline-block; - width: 16px; - height: 16px; - background-color: #ff9e29; - border-radius:8px; - vertical-align:middle; -} - -/* Quotes */ -.entry-content blockquote { - font-style:italic; - background:#eeeeee; - margin:1em 2em; - padding:1.5em 1.5em 0; - overflow:hidden; -} -.entry-content blockquote blockquote { - border:1px solid #000000; -} -.entry-content cite { - font-style:italic; -} - -/* table */ -.table { - width:100%; - border-collapse:collapse; - border-spacing: 0; - margin-bottom: 20px; -} -.table th { - text-align: left; -} -.table tr:nth-child(even) td, -.table tr.alt td { - background-color: #F9F9F9; -} -.table tr.month td { - background-color: #FFF; -} -.table th, .table td { - padding-left:0px; - padding-right:0px; - padding-top: 8px; - padding-bottom: 8px; - line-height: 18px; - text-align: left; - border-top: 1px solid #DDD; -} - -/* Forms */ -label { - cursor:pointer; -} - -/* Images */ -img { - max-width:100%; - height:auto; -} -.entry-content img { - margin: 0 0 10px; -} -.entry-content img.alignright { - margin: 0 0 10px 10px; -} -.entry-content img.alignleft { - margin: 0 10px 10px 0; -} - -.single-event .entry-title { - margin-bottom:0; - font-size: 35px; - margin-bottom:45px; - font-weight: bold; - font-style: normal; -} - -/* Buttons */ -.btn { - font-family: Arial, sans-serif; - color: #666; - font-weight: bold; - font-size: 20px; - padding: 8px 15px; - border: none; - background: #e6e6e6 url('img/gradient.png') repeat-x bottom left; - margin: 30px 5px 20px 0; - text-shadow: 0 1px 0 rgba(255, 255, 255, 1); - border: 1px solid #bfbfbf; - display: inline-block; - text-decoration: none; - box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1), 0 1px 0 rgba(255, 255, 255, 0.5) inset; - -moz-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1), 0 1px 0 rgba(255, 255, 255, 0.5) inset; - -webkit-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1), 0 1px 0 rgba(255, 255, 255, 0.5) inset; - text-align: center; - border-top-right-radius: 3px; - border-bottom-right-radius: 3px; - -moz-border-radius-topright: 3px; - -moz-border-radius-bottomright: 3px; - -webkit-border-top-right-radius: 3px; - -webkit-border-bottom-right-radius: 3px; -} - -a.btn :visited, -a.btn { - color: #666666; -} - -.btn:hover { - background-color: #FF9E29; -} - -.btn:hover { - color: #ffffff; - text-decoration: none; - text-shadow: 0 1px 1px rgba(0, 0, 0, 0.5); - border-color: #cc7f21; - border-bottom-color: #a6671b; -} - -/* Icons */ - -#digest_news_headline:before, -#digest_events_headline:before, -.single-event .entry-meta .entry-meta-info:before { - content:''; - background:#ff9e29; - border-radius:50%; - width:50px; - height:50px; - float: left; - position:relative; - top:10px; - margin-right:15px; -} - -#digest_news_headline:before, -#digest_events_headline:before { - width:35px; - height:35px; - top:-7px; - margin-right:10px; -} -#digest_news_headline, -#digest_events_headline { - margin:0.3em 0 0.6em; -} - -#digest_news_headline:before { - background:url('img/ikon_nyheter-35x35.png'); -} - -#digest_events #digest_events_headline:before { - background:url('img/ikon_tiles-35x35.png'); -} - -/*.single-event .entry-meta h1:before,*/ -#featured article.type-event h1:before, -#featured article.type-post h1:before { - content:''; - background:#ff9e29; - border-radius:50%; - width:50px; - height:50px; - display:inline-block; - position:relative; - top: 10px; - margin-right:15px; -} - -#content .event-type-quiz .entry-meta-info:before, -#content article.event-type-quiz h1:before { - background:url('img/ikon_quiz-50x50.png'); -} - -#content .event-type-debatt .entry-meta-info:before, -#content .event-type-onsdagsdebatten .entry-meta-info:before, -#content .event-type-mote .entry-meta-info:before, -#content article.event-type-mote h1:before, -#content article.event-type-debatt h1:before, -#content article.event-type-onsdagsdebatten h1:before { - background:url('img/ikon_debatt-50x50.png'); -} - -#content .event-type-foredrag .entry-meta-info:before, -#content .event-type-upop .entry-meta-info:before, -#content .event-type-akademisk-vorspiel .entry-meta-info:before, -#content article.event-type-foredrag h1:before, -#content article.event-type-upop h1:before, -#content article.event-type-akademisk-vorspiel h1:before { - background:url('img/ikon_foredrag-50x50.png'); -} - -#content .event-type-konsert .entry-meta-info:before, -#content .event-type-pungrock .entry-meta-info:before, -#content .event-type-south-of-heaven .entry-meta-info:before, -#content .event-type-smalt-som-faen .entry-meta-info:before, -#content .event-type-lillesalen-konsertserie .entry-meta-info:before, -#content article.event-type-konsert h1:before, -#content article.event-type-pungrock h1:before, -#content article.event-type-south-of-heaven h1:before, -#content article.event-type-smalt-som-faen h1:before, -#content article.event-type-lillesalen-konsertserie h1:before { - background:url('img/ikon_konsert-50x50.png'); -} - -#content .event-type-film .entry-meta-info:before, -#content .event-type-filmrulltorsdag .entry-meta-info:before, -#content .event-type-tidsbilde .entry-meta-info:before, -#content article.event-type-tidsbilde h1:before, -#content article.event-type-film h1:before, -#content article.event-type-filmrulltorsdag h1:before { - background:url('img/ikon_film-50x50.png'); -} - -#content .event-type-fest .entry-meta-info:before, -#content article.event-type-fest h1:before { - background:url('img/ikon_fest-50x50.png'); -} - -#content article.type-post h1:before { - background:url('img/ikon_nyheter-50x50.png'); -} - - - - -/* End icons */ - -/********** - * Social * - **********/ -#social-sharing .share-facebook, -#social-sharing .share-twitter -{ - display: inline-block; -} - -#social-sharing .share-facebook { - position: relative; - bottom: 3px; -} -#facebook-followers { - float:right; - -} -#facebook-followers iframe { - height:260px !important; -} - - -/*********************************** - * Styles for individual templates * - ***********************************/ -#featured { - position:relative; -} - -.single-event .event-type, -#featured article .event-type { - font-family:Arvo,Georgia,serif; - font-size: 20px; - font-style: italic; - font-weight: normal; - padding-left: 0px; - padding-bottom: 0px; -} - -.home #featured article.type-event .type { - font-family:Arvo,Georgia,serif; - font-size: 20px; - font-style: italic; - font-weight: normal; - padding-left: 67px; - margin-bottom: -20px; -} - -#featured article h1 { - font-family:Arvo,Georgia,serif; - font-size:35px; - letter-spacing:2px; - font-style:normal; - font-weight:normal; - margin-bottom:0; - padding-left:63px; - padding-bottom:35px; - text-indent:-63px; -} - -#featured article .datetime, -#featured article .price, -#featured article .venue { - position:absolute; - display:none; - bottom: 20px; - left: 0px; - right:0px; -} -#featured article .price { - text-align: left; -} -#featured article .datetime { - text-align: center; -} - -#featured article .venue { - text-align: right; -} - -#featured article:hover .datetime, -#featured article:hover .price, -#featured article:hover .venue { - display:block; -} -#featured #prevLink { - position:absolute; - top: 324px; - left: 500px; -} -#featured #nextLink { - position:absolute; - top: 324px; - left: 555px; -} -#featured:hover #prevLink, -#featured:hover #nextLink { - display:block; -} - -#featured article a.blocklink { - width:100%; - height:100%; - display:block; -} - -#featured article header { - height:322px; -} -#featured { - height:322px; - margin-top:30px; - margin-bottom:30px; -} - -/* Fixes weird js bug on 1024x screens. */ -#featured #slider, -#featured #slider article { - width:1200px !important; -} - -#featured #slidernav { - position:absolute; - top:322px; - left:15px; -} -#featured #slidernav a span.circle { - content:''; - background:#ff9e29; - border-radius:50%; - width:15px; - height:15px; - display:inline-block; - -} -#featured #slidernav a { - content:''; - width:15px; - height:15px; - display:inline-block; - padding:4px; - z-index:10; - -} -#featured #slidernav a.activeSlide span.circle { - background: #BCBEC0; -} -#featured #slidernav a:focus { - outline: none; -} - - -.home #digest_news article { - height: 130px; -} -.home #digest_news .post > a > img { - float:left; - margin:2px 10px 0 0; - width:93px; - height:auto; -} -.home #digest_news .post a.permalink:before { - content: ''; - background: #FF9E29; - border-radius: 50%; - width: 12px; - height: 12px; - display: inline-block; - margin-right:7px; -} -.home #digest_news .when { - font-size:0.9em; - color:#aaa; -} - -/* Search template */ - -.search #content > .hentry .entry-title { - font-size: 24px; - margin-bottom: 0px; -} - -.search #content > .hentry .entry-byline { - padding-left: 20px; - font-size: 12px; - font-style: italic; -} - -/* End search template */ - -/* Program template */ - -/* Icons */ -.page-program .view-mode:hover { - cursor:pointer; - opacity:0.8; - filter:alpha(opacity=80); /* For IE8 and earlier */ -} -.page-program .view-mode.marked { - opacity:1; - filter:alpha(opacity=100); /* For IE8 and earlier */ -} -.page-program .view-mode { - opacity:0.4; - filter:alpha(opacity=40); /* For IE8 and earlier */ -} -.page-program .view-mode.list { - margin-left: 5px; -} - -.page-program .category-chooser-item, .program-style-selector-item { - display:inline-block; - margin:10px; -} - -.page-program .category-chooser-item > label > span, -.page-program .program-style-selector-item > span { - display:block; - margin:auto; - text-align:center; - font-size: 12px; - color: #666; -} - -.page-program .category-chooser-item > label > img, -.page-program .program-style-selector-item > img { - display:block; - margin:auto; -} - -.page-program .category-chooser-item label > img { - opacity:0.4; - filter:alpha(opacity=40); /* For IE8 and earlier */ -} - -.page-program .category-chooser-item label > img:hover { - opacity:0.6; - filter:alpha(opacity=60); /* For IE8 and earlier */ -} - -.page-program .category-chooser-item label > img.checked { - opacity:1.0; - filter:alpha(opacity=100); /* For IE8 and earlier */ -} - -.page-program .category-chooser-item label > img.checked:hover { - opacity:0.8; - filter:alpha(opacity=80); /* For IE8 and earlier */ -} - -/* table */ -.page-program .table .date { - width:100px; -} -.page-program .table tr.month td { - background-color: #FFF; -} -.page-program .table tr.month, -.page-program .table tr.month td { - border: none; -} - -.page-program .table tr.month td { - padding-top:25px; -} - -/* End program template */ - -/* Archive templates */ - -.archive #content article { - padding-bottom:25px; - border-bottom:1px solid #E99835; - margin-bottom:25px; -} - -/* Foreningene/Associations */ - -.page-foreningene .association { - display: table-cell; - height: 200px; - width: 300px; /* grid_3 width + 15*2px margin */ - margin: 0 15px; - text-align: center; - vertical-align: middle; - -} -.page-foreningene .association-row { - display: table-row; - margin-bottom: 15px; -} - diff --git a/wp-content/themes/tn-2014/style.css b/wp-content/themes/tn-2014/style.css index 66c4f81..ec47b45 100644 --- a/wp-content/themes/tn-2014/style.css +++ b/wp-content/themes/tn-2014/style.css @@ -1,220 +1,11 @@ /* -Theme Name: Teater Neuf 2012 -Theme URI: http://wordpress.org/extend/themes/twentyeleven +Theme Name: Teater Neuf 2014 +Theme URI: http://teaterneuf.no Author: Nikolai Kristiansen Author URI: http://edb.neuf.no/ Description: Teater Neuf 2012 -Version: 0.2 +Version: 0.1 License: GNU General Public License v2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html Text Domain: teaterneuf */ - -@import "stylesheets/screen.css"; - -/*Below is the modified version from 2013*/ - -body { - background-color: #111; - color: #f6f6f6; - font: 14px Helvetica, Ubuntu, sans-serif; - line-height: 1.5em; -} -body h1, body h2, body #site-header #header-container #menu, body h3, body h4 { - font-family: "Croissant One", Georgia, serif; - font-weight: bold; - line-height: 1.5em; - text-shadow: none; -} -body a { - color: #fff; - text-decoration: none; - text-shadow: none; -} -body a:link { - color: #fff; -} -body a:visited { - color: #fff; -} -body a:hover { - text-decoration: underline; -} -body a:active { - color: #fff; -} -body #site-header { - background-color: #fafafa; - min-width: 100%; - height: 90px; - padding-top: 25px; - padding-bottom: 25px; - position: relative; - margin-bottom: 10px; - margin-top: 30px; -} -body #site-header #header-container .site-title .logo { - background: url("http://teaterneuf.no/wp-content/uploads/2013/01/Teaterlogo-h-500px-e1376593936461.png") no-repeat; - display: inline-block; - width: 185px; - height: 120px; - margin-top: 10px; - text-indent: -9999px; - position: relative; - bottom: 10px; -} -body #site-header #header-container #menu a { - color: #444; - text-decoration: none; - text-shadow:none; -} -body #site-header #header-container #menu ul li:hover ul, body #site-header #header-container #menu ul li:focus ul { - display: block; - z-index: 9; - color: fafafa; - background: #fafafa; - border-bottom: 1px solid #444; - border-right: 1px solid #444; - border-left: 1px solid #444; - border-top: 0px ; -} -body #site-header #header-container #menu ul li a { - display: block; - height: 22px; - padding: 0px 7px 7px; - text-decoration: none; - border-right: 1px solid #444; - position: relative; -} -body #site-header #header-container #menu ul li a:hover, body #site-header #header-container #menu ul li a .current { - color: fafafa; - background: #444; -} -body #site-topbar { - position: fixed; - top: 0px; - left: 0px; - background-color: #111; - width: 100%; - height: 30px; - z-index: 9999; - text-align: center; -} -body #site-topbar .logo { - background: url("./img/dns_30px.png") no-repeat; - display: inline-block; - width: 271px; - height: 100%; - margin-top: 4px; - text-indent: -9999px; -} -body #content #featured a h1 { - color: #111; -} -body #content #featured #prevLink { - display: inline-block; - width: 0; - height: 0; - border-top: 8px solid transparent; - border-bottom: 8px solid transparent; - border-right: 16px solid #f6f6f6; - cursor: pointer; -} -body #content #featured #prevLink:hover { - border-right: 16px solid #ae97d2; -} -body #content #featured #nextLink { - display: inline-block; - width: 0; - height: 0; - border-top: 8px solid transparent; - border-bottom: 8px solid transparent; - border-left: 16px solid #f6f6f6; - cursor: pointer; -} -body #content #featured #nextLink:hover { - border-left: 16px solid #ae97d2; -} -body #content #featured #slidernav { - display: inline-block; -} -body #content #featured #slidernav a { - content: ''; - background: #ae97d2; - border-radius: 50%; - width: 16px; - height: 16px; - display: inline-block; - z-index: 10; - margin-left: 4px; - margin-right: 4px; -} -body #content #featured #slidernav a.activeSlide { - background: #f6f6f6; -} -body #content #featured #slider-buttons { - position: relative; - top: 350px; - z-index: 10; -} -body #content #featured #slider .featured-text .entry-meta { - position: absolute; - bottom: 6px; - color: #000; - text-shadow: none; - background: #999999; - padding: 4px; -} -body #content #digest-news h2 a, body #content #digest-news #site-header #header-container #menu a, body #site-header #header-container #content #digest-news #menu a { - color: #000; -} -body #content .byline { - color: #aaa; -} -body #content .byline .author { - color: #000; - font-weight: bold; -} -body #content #program-list .event .body .entry-meta { - position: absolute; - bottom: 0px; - color: #000; - text-shadow: none; - background: #999999; - padding: 4px; -} -body #site-footer { - background-color: #fafafa; - min-width: 100%; - margin-top: 25px; - padding-top: 25px; - padding-bottom: 25px; - color: #444; - text-shadow: none; -} -body #site-footer a { - color: #444; - text-decoration: none; - text-shadow: none; -} -body #site-footer a:link { - color: #444; -} -body #site-footer a:visited { - color: #444; -} -body #site-footer a:hover { - text-decoration: underline; -} -body #site-footer a:active { - color: #444; -} -body #site-footer h1, body #site-footer h2, body #site-footer #site-header #header-container #menu, body #site-header #header-container #site-footer #menu, body #site-footer h3, body #site-footer h4 { - color: #444; - text-shadow: none; -} -body #site-footer #footer-container #footer-about a.black { - color: #444; - text-shadow: none; -} - diff --git a/wp-content/themes/tn-2014/stylesheets/ie.css b/wp-content/themes/tn-2014/stylesheets/ie.css deleted file mode 100644 index 5cd5b6c..0000000 --- a/wp-content/themes/tn-2014/stylesheets/ie.css +++ /dev/null @@ -1,5 +0,0 @@ -/* Welcome to Compass. Use this file to write IE specific override styles. - * Import this file using the following HTML or equivalent: - * */ diff --git a/wp-content/themes/tn-2014/stylesheets/print.css b/wp-content/themes/tn-2014/stylesheets/print.css deleted file mode 100644 index b0e9e45..0000000 --- a/wp-content/themes/tn-2014/stylesheets/print.css +++ /dev/null @@ -1,3 +0,0 @@ -/* Welcome to Compass. Use this file to define print styles. - * Import this file using the following HTML or equivalent: - * */ diff --git a/wp-content/themes/tn-2014/stylesheets/screen.css b/wp-content/themes/tn-2014/stylesheets/screen.css deleted file mode 100644 index a3518f7..0000000 --- a/wp-content/themes/tn-2014/stylesheets/screen.css +++ /dev/null @@ -1,615 +0,0 @@ -/* Welcome to Compass. - * In this file you should write your main styles. (or centralize your imports) - * Import this file using the following HTML or equivalent: - * */ -html, body, div, span, applet, object, iframe, -h1, h2, body #site-header #header-container #menu, h3, h4, h5, h6, p, blockquote, pre, -a, abbr, acronym, address, big, cite, code, -del, dfn, em, img, ins, kbd, q, s, samp, -small, strike, strong, sub, sup, tt, var, -b, u, i, center, -dl, dt, dd, ol, ul, li, -fieldset, form, label, legend, -table, caption, tbody, tfoot, thead, tr, th, td, -article, aside, canvas, details, embed, -figure, figcaption, footer, header, hgroup, -menu, nav, output, ruby, section, summary, -time, mark, audio, video { - margin: 0; - padding: 0; - border: 0; - font-size: 100%; - font: inherit; - vertical-align: baseline; -} - -body { - line-height: 1; -} - -ol, ul { - list-style: none; -} - -table { - border-collapse: collapse; - border-spacing: 0; -} - -caption, th, td { - text-align: left; - font-weight: normal; - vertical-align: middle; -} - -q, blockquote { - quotes: none; -} -q:before, q:after, blockquote:before, blockquote:after { - content: ""; - content: none; -} - -a img { - border: none; -} - -article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary { - display: block; -} - -/*$ninesixty-columns (default: 12) controls the default number of grid columns -$ninesixty-grid-width (default: 960px) controls the default overall grid width -$ninesixty-gutter-width */ -body { - /* Base styles */ - font: 14px Arial, sans-serif; - line-height: 1.5em; -} -body h1, body h2, body #site-header #header-container #menu, body h3, body h4 { - font-family: Arvo, Georgia, serif; - font-weight: bold; - line-height: 1.5em; - text-shadow: #e6e6e6 1px 1px 0; -} -body h1 { - font-size: 2.5em; -} -body h2, body #site-header #header-container #menu, body h3, body h4 { - font-size: 1.5em; -} -body a { - color: #8462bb; - text-decoration: none; - text-shadow: #f2f2f2 1px 1px 0; -} -body a:link { - color: #8462bb; -} -body a:visited { - color: #8462bb; -} -body a:hover { - text-decoration: underline; -} -body a:active { - color: #8462bb; -} -body ul { - list-style: disc; - padding-left: 25px; -} -body ul li { - display: list-item; -} -body strong { - font-weight: bold; -} -body p { - margin-top: 5px; - margin-bottom: 5px; -} -body em { - font-style: italic; -} -body #site-header { - background-color: #7650b3; - min-width: 100%; - height: 90px; - padding-top: 25px; - padding-bottom: 25px; - position: relative; - margin-bottom: 10px; - margin-top: 30px; -} -body #site-header #header-container { - margin-left: auto; - margin-right: auto; - width: 1200px; -} -body #site-header #header-container .site-title { - display: inline; - float: left; - margin-left: 10px; - margin-right: 10px; - width: 580px; -} -body #site-header #header-container .site-title .logo { - background: url("../img/teater_neuf_logo.png") no-repeat; - display: inline-block; - width: 185px; - height: 120px; - margin-top: 10px; - text-indent: -9999px; - position: relative; - bottom: 10px; -} -body #site-header #header-container #menu { - display: inline; - float: left; - margin-left: 10px; - margin-right: 10px; - width: 580px; - position: relative; - top: 36px; - text-transform: uppercase; -} -body #site-header #header-container #menu a { - color: #ffffff; - text-decoration: none; - text-shadow: #1a1a1a 1px 1px 0; -} -body #site-header #header-container #menu ul { - list-style-type: none; -} -body #site-header #header-container #menu ul, body #site-header #header-container #menu ul li { - margin: 0px; - padding: 0px; - display: inline; -} -body #site-header #header-container #menu ul ul { - position: absolute; - display: none; - margin: 0; -} -body #site-header #header-container #menu ul li { - float: left; - position: relative; -} -body #site-header #header-container #menu ul li:hover ul, body #site-header #header-container #menu ul li:focus ul { - display: block; - z-index: 9; - color: white; - background: #5e3f91; -} -body #site-header #header-container #menu ul li a { - display: block; - height: 22px; - padding: 0px 7px 7px; - text-decoration: none; - border-right: 1px solid #FFFFE1; - position: relative; -} -body #site-header #header-container #menu ul li a:hover, body #site-header #header-container #menu ul li a .current { - color: white; - background: #5e3f91; -} -body #site-header #header-container #menu ul li .sub-menu li { - position: relative; -} -body #site-header #header-container #menu ul li .sub-menu li a { - border: 0px; -} -body #site-header #header-container #menu ul li.social-icon a { - border: 0px; -} -body #site-header #header-container #menu ul li.social-icon #facebook-icon { - padding-left: 6px; -} -body #site-header #header-container #menu ul li:first-child { - padding-left: 0px; -} -body #site-topbar { - position: fixed; - top: 0px; - left: 0px; - background-color: #E99835; - width: 100%; - height: 30px; - z-index: 9999; - text-align: center; -} -body #site-topbar .logo { - background: url("../img/dns_30px.png") no-repeat; - display: inline-block; - width: 271px; - height: 100%; - margin-top: 4px; - text-indent: -9999px; -} -body #access { - display: none; -} -body #content { - margin-left: auto; - margin-right: auto; - width: 1200px; - overflow: hidden; - *zoom: 1; -} -body #content #featured { - display: inline; - float: left; - margin-left: 10px; - margin-right: 10px; - width: 1180px; - padding-bottom: 25px; -} -body #content #featured a h1 { - color: #000; -} -body #content #featured #prevLink { - display: inline-block; - width: 0; - height: 0; - border-top: 8px solid transparent; - border-bottom: 8px solid transparent; - border-right: 16px solid #7650b3; - cursor: pointer; -} -body #content #featured #prevLink:hover { - border-right: 16px solid #ae97d2; -} -body #content #featured #nextLink { - display: inline-block; - width: 0; - height: 0; - border-top: 8px solid transparent; - border-bottom: 8px solid transparent; - border-left: 16px solid #7650b3; - cursor: pointer; -} -body #content #featured #nextLink:hover { - border-left: 16px solid #ae97d2; -} -body #content #featured #slidernav { - display: inline-block; -} -body #content #featured #slidernav a { - content: ''; - background: #ae97d2; - border-radius: 50%; - width: 16px; - height: 16px; - display: inline-block; - z-index: 10; - margin-left: 4px; - margin-right: 4px; -} -body #content #featured #slidernav a.activeSlide { - background: #7650b3; -} -body #content #featured #slider-buttons { - position: relative; - top: 350px; - z-index: 10; -} -body #content #featured #slider .featured-text { - display: inline; - float: left; - margin-left: 10px; - margin-right: 10px; - width: 580px; - margin-left: 0; - height: 328px; -} -body #content #featured #slider .featured-text .entry-meta { - position: absolute; - bottom: 6px; - color: #fff; - text-shadow: #1a1a1a 1px 1px 0; - background: #999999; - padding: 4px; -} -body #content #featured #slider .featured-text .entry-meta .datetime { - display: inline; - float: left; - margin-left: 10px; - margin-right: 10px; - width: 180px; - margin-left: 0; -} -body #content #featured #slider .featured-text .entry-meta .venue { - display: inline; - float: left; - margin-left: 10px; - margin-right: 10px; - width: 180px; - margin-right: 0; -} -body #content #featured #slider .featured-text .entry-meta .price { - display: inline; - float: left; - margin-left: 10px; - margin-right: 10px; - width: 180px; -} -body #content #featured #slider .featured-image { - display: inline; - float: left; - margin-left: 10px; - margin-right: 10px; - width: 580px; - margin-right: 0; -} -body #content #program-6days { - display: inline; - float: left; - margin-left: 10px; - margin-right: 10px; - width: 1180px; - margin-top: 10px; -} -body #content #program-6days .day { - display: inline; - float: left; - margin-left: 10px; - margin-right: 10px; - width: 180px; -} -body #content #program-6days .day.alpha { - margin-left: 0; -} -body #content #program-6days .day.omega { - margin-right: 0; -} -body #content #digest-news { - display: inline; - float: left; - margin-left: 10px; - margin-right: 10px; - width: 1180px; - margin-top: 10px; -} -body #content #digest-news h2 a, body #content #digest-news #site-header #header-container #menu a, body #site-header #header-container #content #digest-news #menu a { - color: #000; -} -body #content #digest-news .news-entry { - display: inline; - float: left; - margin-left: 10px; - margin-right: 10px; - width: 380px; -} -body #content #digest-news .news-entry.alpha { - margin-left: 0; -} -body #content #digest-news .news-entry.omega { - margin-right: 0; -} -body #content #digest-news .news-entry .entry-meta { - font-size: 12px; - line-height: 1em; - padding-bottom: 10px; -} -body #content .body { - display: inline; - float: left; - margin-left: 10px; - margin-right: 10px; - width: 580px; - margin-bottom: 25px; -} -body #content .featured-image { - display: inline; - float: left; - margin-left: 10px; - margin-right: 10px; - width: 580px; -} -body #content #social-sharing { - margin-top: 10px; -} -body #content #social-sharing .share-twitter { - display: inline-block; -} -body #content #social-sharing .share-facebook { - display: inline-block; - position: relative; - bottom: 3px; -} -body #content .byline { - color: #aaa; -} -body #content .byline .author { - color: #000; - font-weight: bold; -} -body #content .entry-content { - margin-top: 15px; -} -body #content #program-text { - margin-left: auto; - margin-right: auto; - width: 1200px; - overflow: hidden; - *zoom: 1; - display: inline; - float: left; - margin-left: 10px; - margin-right: 10px; - width: 1180px; -} -body #content #program-list { - margin-left: auto; - margin-right: auto; - width: 1200px; - overflow: hidden; - *zoom: 1; -} -body #content #program-list .day { - display: inline; - float: left; - margin-left: 10px; - margin-right: 10px; - width: 1180px; - padding-top: 20px; - font-weight: bold; -} -body #content #program-list .month { - display: inline; - float: left; - margin-left: 10px; - margin-right: 10px; - width: 1180px; -} -body #content #program-list .event { - display: inline; - float: left; - margin-left: 10px; - margin-right: 10px; - width: 1180px; -} -body #content #program-list .event .body { - position: relative; - display: inline; - float: left; - margin-left: 10px; - margin-right: 10px; - width: 580px; - margin-left: 0; - height: 161px; -} -body #content #program-list .event .body .entry-meta { - position: absolute; - bottom: 0px; - color: #fff; - text-shadow: #1a1a1a 1px 1px 0; - background: #999999; - padding: 4px; -} -body #content #program-list .event .body .entry-meta .datetime { - display: inline; - float: left; - margin-left: 10px; - margin-right: 10px; - width: 180px; - margin-left: 0; -} -body #content #program-list .event .body .entry-meta .venue { - display: inline; - float: left; - margin-left: 10px; - margin-right: 10px; - width: 180px; - margin-left: 0; - margin-right: 0; -} -body #content #program-list .event .body .entry-meta .price { - display: inline; - float: left; - margin-left: 10px; - margin-right: 10px; - width: 180px; -} -body #content #program-list .event .thumbnail { - display: inline; - float: left; - margin-left: 10px; - margin-right: 10px; - width: 580px; - margin-right: 0; -} -body #content .text-body { - display: inline; - float: left; - margin-left: 10px; - margin-right: 10px; - width: 580px; - margin-bottom: 20px; -} -body #content .thumbnail { - display: inline; - float: left; - margin-left: 10px; - margin-right: 10px; - width: 580px; - margin-bottom: 20px; -} -body #content .page-title { - margin-left: 10px; -} -body #content .post { - overflow: hidden; - *zoom: 1; -} -body #content #posts-nav-link { - display: inline; - float: left; - margin-left: 10px; - margin-right: 10px; - width: 1180px; -} -body #site-footer { - background-color: #7650b3; - min-width: 100%; - margin-top: 25px; - padding-top: 25px; - padding-bottom: 25px; - color: #fff; - text-shadow: #1a1a1a 1px 1px 0; -} -body #site-footer a { - color: #fff; - text-decoration: none; - text-shadow: #1a1a1a 1px 1px 0; -} -body #site-footer a:link { - color: #fff; -} -body #site-footer a:visited { - color: #fff; -} -body #site-footer a:hover { - text-decoration: underline; -} -body #site-footer a:active { - color: #fff; -} -body #site-footer h1, body #site-footer h2, body #site-footer #site-header #header-container #menu, body #site-header #header-container #site-footer #menu, body #site-footer h3, body #site-footer h4 { - color: #000; - text-shadow: #9274c2 1px 1px 0; -} -body #site-footer #footer-container { - margin-left: auto; - margin-right: auto; - width: 1200px; - overflow: hidden; - *zoom: 1; -} -body #site-footer #footer-container #footer-about { - display: inline; - float: left; - margin-left: 10px; - margin-right: 10px; - width: 580px; -} -body #site-footer #footer-container #footer-about a.black { - color: #000; - text-shadow: #9274c2 1px 1px 0; -} -body #site-footer #kolofon { - margin-left: auto; - margin-right: auto; - width: 1200px; - overflow: hidden; - *zoom: 1; -} -body #site-footer #kolofon #kolofon-text { - display: inline; - float: left; - margin-left: 10px; - margin-right: 10px; - width: 1180px; - margin-top: 25px; -}