diff --git a/admin/controllers/add-user.php b/admin/controllers/add-user.php index b6c6859e..723f0564 100644 --- a/admin/controllers/add-user.php +++ b/admin/controllers/add-user.php @@ -22,7 +22,7 @@ function addUser($args) if( Text::isEmpty($args['username']) ) { Alert::set($Language->g('username-field-is-empty')); - return false; + return false; } if( $dbUsers->userExists($args['username']) ) @@ -51,6 +51,10 @@ function addUser($args) } } +// ============================================================================ +// Main before POST +// ============================================================================ + // ============================================================================ // POST Method // ============================================================================ @@ -63,5 +67,5 @@ if( $_SERVER['REQUEST_METHOD'] == 'POST' ) } // ============================================================================ -// Main +// Main after POST // ============================================================================ diff --git a/admin/controllers/configure-plugin.php b/admin/controllers/configure-plugin.php index d1c1c9f4..13039d16 100644 --- a/admin/controllers/configure-plugin.php +++ b/admin/controllers/configure-plugin.php @@ -32,7 +32,7 @@ if($_Plugin===false) { } // Check if the plugin has the method form() -if($_Plugin->form()===false) { +if(!method_exists($_Plugin, 'form')) { Redirect::page('admin', 'plugins'); } diff --git a/admin/controllers/dashboard.php b/admin/controllers/dashboard.php index a90a59a3..dcde423c 100644 --- a/admin/controllers/dashboard.php +++ b/admin/controllers/dashboard.php @@ -4,12 +4,16 @@ // Functions // ============================================================================ +// ============================================================================ +// Main before POST +// ============================================================================ + // ============================================================================ // POST Method // ============================================================================ // ============================================================================ -// Main +// Main after POST // ============================================================================ $_newPosts = $dbPosts->regenerate(); diff --git a/admin/controllers/edit-page.php b/admin/controllers/edit-page.php index ec77d9de..29fa99ec 100644 --- a/admin/controllers/edit-page.php +++ b/admin/controllers/edit-page.php @@ -39,7 +39,7 @@ function deletePage($key) { global $dbPages; global $Language; - + if( $dbPages->delete($key) ) { Alert::set($Language->g('The page has been deleted successfully')); @@ -51,6 +51,10 @@ function deletePage($key) } } +// ============================================================================ +// Main before POST +// ============================================================================ + // ============================================================================ // POST Method // ============================================================================ @@ -66,7 +70,7 @@ if( $_SERVER['REQUEST_METHOD'] == 'POST' ) } // ============================================================================ -// Main +// Main after POST // ============================================================================ if(!$dbPages->pageExists($layout['parameters'])) diff --git a/admin/controllers/edit-post.php b/admin/controllers/edit-post.php index 6d01c2b2..659b6485 100644 --- a/admin/controllers/edit-post.php +++ b/admin/controllers/edit-post.php @@ -8,7 +8,7 @@ function editPost($args) { global $dbPosts; global $Language; - + // Post status, published or draft. if( isset($args['publish']) ) { $args['status'] = "published"; @@ -45,6 +45,10 @@ function deletePost($key) } } +// ============================================================================ +// Main before POST +// ============================================================================ + // ============================================================================ // POST Method // ============================================================================ @@ -60,7 +64,7 @@ if( $_SERVER['REQUEST_METHOD'] == 'POST' ) } // ============================================================================ -// Main +// Main after POST // ============================================================================ if(!$dbPosts->postExists($layout['parameters'])) diff --git a/admin/controllers/edit-user.php b/admin/controllers/edit-user.php index 5032a597..f0f336b2 100644 --- a/admin/controllers/edit-user.php +++ b/admin/controllers/edit-user.php @@ -8,7 +8,7 @@ function editUser($args) { global $dbUsers; global $Language; - + if( $dbUsers->set($args) ) { Alert::set($Language->g('The changes have been saved')); } @@ -63,6 +63,10 @@ function deleteUser($args, $deleteContent=false) } } +// ============================================================================ +// Main before POST +// ============================================================================ + // ============================================================================ // POST Method // ============================================================================ @@ -91,7 +95,7 @@ if( $_SERVER['REQUEST_METHOD'] == 'POST' ) } // ============================================================================ -// Main +// Main after POST // ============================================================================ if($Login->role()!=='admin') { diff --git a/admin/controllers/install-plugin.php b/admin/controllers/install-plugin.php index 80659233..7cfacfb8 100644 --- a/admin/controllers/install-plugin.php +++ b/admin/controllers/install-plugin.php @@ -13,12 +13,16 @@ if($Login->role()!=='admin') { // Functions // ============================================================================ +// ============================================================================ +// Main before POST +// ============================================================================ + // ============================================================================ // POST Method // ============================================================================ // ============================================================================ -// Main +// Main after POST // ============================================================================ $pluginClassName = $layout['parameters']; diff --git a/admin/controllers/install-theme.php b/admin/controllers/install-theme.php new file mode 100644 index 00000000..5d623f7a --- /dev/null +++ b/admin/controllers/install-theme.php @@ -0,0 +1,39 @@ +role()!=='admin') { + Alert::set($Language->g('you-do-not-have-sufficient-permissions')); + Redirect::page('admin', 'dashboard'); +} + +// ============================================================================ +// Functions +// ============================================================================ + +// ============================================================================ +// Main before POST +// ============================================================================ + +// ============================================================================ +// POST Method +// ============================================================================ + +// ============================================================================ +// Main after POST +// ============================================================================ +$themeDirname = $layout['parameters']; + +if( Sanitize::pathFile(PATH_THEMES.$themeDirname) ) +{ + $Site->set(array('theme'=>$themeDirname)); + Alert::set($Language->g('The changes have been saved')); +} +else +{ + Log::set(__METHOD__.LOG_SEP.'Error occurred when trying to install the theme: '.$themeDirname); +} + +Redirect::page('admin', 'themes'); \ No newline at end of file diff --git a/admin/controllers/login.php b/admin/controllers/login.php index cb373aec..60227b2e 100644 --- a/admin/controllers/login.php +++ b/admin/controllers/login.php @@ -1,11 +1,25 @@ verifyUser($username, $password) ) + // Verify User sanitize the input + if( $Login->verifyUser($_POST['username'], $_POST['password']) ) { Redirect::page('admin', 'dashboard'); } @@ -13,4 +27,8 @@ if( $_SERVER['REQUEST_METHOD'] == 'POST' ) { Alert::set($Language->g('Username or password incorrect')); } -} \ No newline at end of file +} + +// ============================================================================ +// Main after POST +// ============================================================================ \ No newline at end of file diff --git a/admin/controllers/logout.php b/admin/controllers/logout.php index fcc3df16..abfc5c51 100644 --- a/admin/controllers/logout.php +++ b/admin/controllers/logout.php @@ -1,5 +1,25 @@ logout()) { Redirect::home(); diff --git a/admin/controllers/new-page.php b/admin/controllers/new-page.php index a44599e7..0dd12df7 100644 --- a/admin/controllers/new-page.php +++ b/admin/controllers/new-page.php @@ -1,5 +1,9 @@ role()!=='admin') { Redirect::page('admin', 'dashboard'); } +// ============================================================================ +// Main after POST +// ============================================================================ + // ============================================================================ // POST Method // ============================================================================ -if( $_SERVER['REQUEST_METHOD'] == 'POST' ) -{ - $Site->set($_POST); -} - // ============================================================================ -// Main +// Main after POST // ============================================================================ -$themes = Filesystem::listDirectories(PATH_THEMES); +$themes = array(); +$themesPaths = Filesystem::listDirectories(PATH_THEMES); // Load each plugin clasess -foreach($themes as $themePath) { -// include($themePath.DS.'plugin.php'); -} \ No newline at end of file +foreach($themesPaths as $themePath) +{ + $langLocaleFile = $themePath.DS.'language'.DS.$Site->locale().'.json'; + $langDefaultFile = $themePath.DS.'language'.DS.'en_US.json'; + $database = false; + + // Check if exists locale language + if( Sanitize::pathFile($langLocaleFile) ) { + $database = new dbJSON($langLocaleFile, false); + } + // Check if exists default language + elseif( Sanitize::pathFile($langDefaultFile) ) { + $database = new dbJSON($langDefaultFile, false); + } + + if($database!==false) + { + $databaseArray = $database->db; + $databaseArray['theme-data']['dirname'] = basename($themePath); + + // Theme data + array_push($themes, $databaseArray['theme-data']); + } +} diff --git a/admin/controllers/uninstall-plugin.php b/admin/controllers/uninstall-plugin.php index 93fa0da7..cc51150e 100644 --- a/admin/controllers/uninstall-plugin.php +++ b/admin/controllers/uninstall-plugin.php @@ -13,12 +13,16 @@ if($Login->role()!=='admin') { // Functions // ============================================================================ +// ============================================================================ +// Main after POST +// ============================================================================ + // ============================================================================ // POST Method // ============================================================================ // ============================================================================ -// Main +// Main after POST // ============================================================================ $pluginClassName = $layout['parameters']; diff --git a/admin/controllers/users.php b/admin/controllers/users.php index 901e8d82..f1743005 100644 --- a/admin/controllers/users.php +++ b/admin/controllers/users.php @@ -9,6 +9,14 @@ if($Login->role()!=='admin') { Redirect::page('admin', 'dashboard'); } +// ============================================================================ +// Functions +// ============================================================================ + +// ============================================================================ +// Main after POST +// ============================================================================ + // ============================================================================ // POST Method // ============================================================================ @@ -19,5 +27,5 @@ if( $_SERVER['REQUEST_METHOD'] == 'POST' ) } // ============================================================================ -// Main +// Main after POST // ============================================================================ diff --git a/admin/themes/default/css/css/font-awesome.min.css b/admin/themes/default/css/css/font-awesome.min.css deleted file mode 100644 index 24fcc04c..00000000 --- a/admin/themes/default/css/css/font-awesome.min.css +++ /dev/null @@ -1,4 +0,0 @@ -/*! - * Font Awesome 4.3.0 by @davegandy - http://fontawesome.io - @fontawesome - * License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License) - */@font-face{font-family:'FontAwesome';src:url('../fonts/fontawesome-webfont.eot?v=4.3.0');src:url('../fonts/fontawesome-webfont.eot?#iefix&v=4.3.0') format('embedded-opentype'),url('../fonts/fontawesome-webfont.woff2?v=4.3.0') format('woff2'),url('../fonts/fontawesome-webfont.woff?v=4.3.0') format('woff'),url('../fonts/fontawesome-webfont.ttf?v=4.3.0') format('truetype'),url('../fonts/fontawesome-webfont.svg?v=4.3.0#fontawesomeregular') format('svg');font-weight:normal;font-style:normal}.fa{display:inline-block;font:normal normal normal 14px/1 FontAwesome;font-size:inherit;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;transform:translate(0, 0)}.fa-lg{font-size:1.33333333em;line-height:.75em;vertical-align:-15%}.fa-2x{font-size:2em}.fa-3x{font-size:3em}.fa-4x{font-size:4em}.fa-5x{font-size:5em}.fa-fw{width:1.28571429em;text-align:center}.fa-ul{padding-left:0;margin-left:2.14285714em;list-style-type:none}.fa-ul>li{position:relative}.fa-li{position:absolute;left:-2.14285714em;width:2.14285714em;top:.14285714em;text-align:center}.fa-li.fa-lg{left:-1.85714286em}.fa-border{padding:.2em .25em .15em;border:solid .08em #eee;border-radius:.1em}.pull-right{float:right}.pull-left{float:left}.fa.pull-left{margin-right:.3em}.fa.pull-right{margin-left:.3em}.fa-spin{-webkit-animation:fa-spin 2s infinite linear;animation:fa-spin 2s infinite linear}.fa-pulse{-webkit-animation:fa-spin 1s infinite steps(8);animation:fa-spin 1s infinite steps(8)}@-webkit-keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}.fa-rotate-90{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=1);-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg);transform:rotate(90deg)}.fa-rotate-180{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=2);-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.fa-rotate-270{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=3);-webkit-transform:rotate(270deg);-ms-transform:rotate(270deg);transform:rotate(270deg)}.fa-flip-horizontal{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1);-webkit-transform:scale(-1, 1);-ms-transform:scale(-1, 1);transform:scale(-1, 1)}.fa-flip-vertical{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1);-webkit-transform:scale(1, -1);-ms-transform:scale(1, -1);transform:scale(1, -1)}:root .fa-rotate-90,:root .fa-rotate-180,:root .fa-rotate-270,:root .fa-flip-horizontal,:root .fa-flip-vertical{filter:none}.fa-stack{position:relative;display:inline-block;width:2em;height:2em;line-height:2em;vertical-align:middle}.fa-stack-1x,.fa-stack-2x{position:absolute;left:0;width:100%;text-align:center}.fa-stack-1x{line-height:inherit}.fa-stack-2x{font-size:2em}.fa-inverse{color:#fff}.fa-glass:before{content:"\f000"}.fa-music:before{content:"\f001"}.fa-search:before{content:"\f002"}.fa-envelope-o:before{content:"\f003"}.fa-heart:before{content:"\f004"}.fa-star:before{content:"\f005"}.fa-star-o:before{content:"\f006"}.fa-user:before{content:"\f007"}.fa-film:before{content:"\f008"}.fa-th-large:before{content:"\f009"}.fa-th:before{content:"\f00a"}.fa-th-list:before{content:"\f00b"}.fa-check:before{content:"\f00c"}.fa-remove:before,.fa-close:before,.fa-times:before{content:"\f00d"}.fa-search-plus:before{content:"\f00e"}.fa-search-minus:before{content:"\f010"}.fa-power-off:before{content:"\f011"}.fa-signal:before{content:"\f012"}.fa-gear:before,.fa-cog:before{content:"\f013"}.fa-trash-o:before{content:"\f014"}.fa-home:before{content:"\f015"}.fa-file-o:before{content:"\f016"}.fa-clock-o:before{content:"\f017"}.fa-road:before{content:"\f018"}.fa-download:before{content:"\f019"}.fa-arrow-circle-o-down:before{content:"\f01a"}.fa-arrow-circle-o-up:before{content:"\f01b"}.fa-inbox:before{content:"\f01c"}.fa-play-circle-o:before{content:"\f01d"}.fa-rotate-right:before,.fa-repeat:before{content:"\f01e"}.fa-refresh:before{content:"\f021"}.fa-list-alt:before{content:"\f022"}.fa-lock:before{content:"\f023"}.fa-flag:before{content:"\f024"}.fa-headphones:before{content:"\f025"}.fa-volume-off:before{content:"\f026"}.fa-volume-down:before{content:"\f027"}.fa-volume-up:before{content:"\f028"}.fa-qrcode:before{content:"\f029"}.fa-barcode:before{content:"\f02a"}.fa-tag:before{content:"\f02b"}.fa-tags:before{content:"\f02c"}.fa-book:before{content:"\f02d"}.fa-bookmark:before{content:"\f02e"}.fa-print:before{content:"\f02f"}.fa-camera:before{content:"\f030"}.fa-font:before{content:"\f031"}.fa-bold:before{content:"\f032"}.fa-italic:before{content:"\f033"}.fa-text-height:before{content:"\f034"}.fa-text-width:before{content:"\f035"}.fa-align-left:before{content:"\f036"}.fa-align-center:before{content:"\f037"}.fa-align-right:before{content:"\f038"}.fa-align-justify:before{content:"\f039"}.fa-list:before{content:"\f03a"}.fa-dedent:before,.fa-outdent:before{content:"\f03b"}.fa-indent:before{content:"\f03c"}.fa-video-camera:before{content:"\f03d"}.fa-photo:before,.fa-image:before,.fa-picture-o:before{content:"\f03e"}.fa-pencil:before{content:"\f040"}.fa-map-marker:before{content:"\f041"}.fa-adjust:before{content:"\f042"}.fa-tint:before{content:"\f043"}.fa-edit:before,.fa-pencil-square-o:before{content:"\f044"}.fa-share-square-o:before{content:"\f045"}.fa-check-square-o:before{content:"\f046"}.fa-arrows:before{content:"\f047"}.fa-step-backward:before{content:"\f048"}.fa-fast-backward:before{content:"\f049"}.fa-backward:before{content:"\f04a"}.fa-play:before{content:"\f04b"}.fa-pause:before{content:"\f04c"}.fa-stop:before{content:"\f04d"}.fa-forward:before{content:"\f04e"}.fa-fast-forward:before{content:"\f050"}.fa-step-forward:before{content:"\f051"}.fa-eject:before{content:"\f052"}.fa-chevron-left:before{content:"\f053"}.fa-chevron-right:before{content:"\f054"}.fa-plus-circle:before{content:"\f055"}.fa-minus-circle:before{content:"\f056"}.fa-times-circle:before{content:"\f057"}.fa-check-circle:before{content:"\f058"}.fa-question-circle:before{content:"\f059"}.fa-info-circle:before{content:"\f05a"}.fa-crosshairs:before{content:"\f05b"}.fa-times-circle-o:before{content:"\f05c"}.fa-check-circle-o:before{content:"\f05d"}.fa-ban:before{content:"\f05e"}.fa-arrow-left:before{content:"\f060"}.fa-arrow-right:before{content:"\f061"}.fa-arrow-up:before{content:"\f062"}.fa-arrow-down:before{content:"\f063"}.fa-mail-forward:before,.fa-share:before{content:"\f064"}.fa-expand:before{content:"\f065"}.fa-compress:before{content:"\f066"}.fa-plus:before{content:"\f067"}.fa-minus:before{content:"\f068"}.fa-asterisk:before{content:"\f069"}.fa-exclamation-circle:before{content:"\f06a"}.fa-gift:before{content:"\f06b"}.fa-leaf:before{content:"\f06c"}.fa-fire:before{content:"\f06d"}.fa-eye:before{content:"\f06e"}.fa-eye-slash:before{content:"\f070"}.fa-warning:before,.fa-exclamation-triangle:before{content:"\f071"}.fa-plane:before{content:"\f072"}.fa-calendar:before{content:"\f073"}.fa-random:before{content:"\f074"}.fa-comment:before{content:"\f075"}.fa-magnet:before{content:"\f076"}.fa-chevron-up:before{content:"\f077"}.fa-chevron-down:before{content:"\f078"}.fa-retweet:before{content:"\f079"}.fa-shopping-cart:before{content:"\f07a"}.fa-folder:before{content:"\f07b"}.fa-folder-open:before{content:"\f07c"}.fa-arrows-v:before{content:"\f07d"}.fa-arrows-h:before{content:"\f07e"}.fa-bar-chart-o:before,.fa-bar-chart:before{content:"\f080"}.fa-twitter-square:before{content:"\f081"}.fa-facebook-square:before{content:"\f082"}.fa-camera-retro:before{content:"\f083"}.fa-key:before{content:"\f084"}.fa-gears:before,.fa-cogs:before{content:"\f085"}.fa-comments:before{content:"\f086"}.fa-thumbs-o-up:before{content:"\f087"}.fa-thumbs-o-down:before{content:"\f088"}.fa-star-half:before{content:"\f089"}.fa-heart-o:before{content:"\f08a"}.fa-sign-out:before{content:"\f08b"}.fa-linkedin-square:before{content:"\f08c"}.fa-thumb-tack:before{content:"\f08d"}.fa-external-link:before{content:"\f08e"}.fa-sign-in:before{content:"\f090"}.fa-trophy:before{content:"\f091"}.fa-github-square:before{content:"\f092"}.fa-upload:before{content:"\f093"}.fa-lemon-o:before{content:"\f094"}.fa-phone:before{content:"\f095"}.fa-square-o:before{content:"\f096"}.fa-bookmark-o:before{content:"\f097"}.fa-phone-square:before{content:"\f098"}.fa-twitter:before{content:"\f099"}.fa-facebook-f:before,.fa-facebook:before{content:"\f09a"}.fa-github:before{content:"\f09b"}.fa-unlock:before{content:"\f09c"}.fa-credit-card:before{content:"\f09d"}.fa-rss:before{content:"\f09e"}.fa-hdd-o:before{content:"\f0a0"}.fa-bullhorn:before{content:"\f0a1"}.fa-bell:before{content:"\f0f3"}.fa-certificate:before{content:"\f0a3"}.fa-hand-o-right:before{content:"\f0a4"}.fa-hand-o-left:before{content:"\f0a5"}.fa-hand-o-up:before{content:"\f0a6"}.fa-hand-o-down:before{content:"\f0a7"}.fa-arrow-circle-left:before{content:"\f0a8"}.fa-arrow-circle-right:before{content:"\f0a9"}.fa-arrow-circle-up:before{content:"\f0aa"}.fa-arrow-circle-down:before{content:"\f0ab"}.fa-globe:before{content:"\f0ac"}.fa-wrench:before{content:"\f0ad"}.fa-tasks:before{content:"\f0ae"}.fa-filter:before{content:"\f0b0"}.fa-briefcase:before{content:"\f0b1"}.fa-arrows-alt:before{content:"\f0b2"}.fa-group:before,.fa-users:before{content:"\f0c0"}.fa-chain:before,.fa-link:before{content:"\f0c1"}.fa-cloud:before{content:"\f0c2"}.fa-flask:before{content:"\f0c3"}.fa-cut:before,.fa-scissors:before{content:"\f0c4"}.fa-copy:before,.fa-files-o:before{content:"\f0c5"}.fa-paperclip:before{content:"\f0c6"}.fa-save:before,.fa-floppy-o:before{content:"\f0c7"}.fa-square:before{content:"\f0c8"}.fa-navicon:before,.fa-reorder:before,.fa-bars:before{content:"\f0c9"}.fa-list-ul:before{content:"\f0ca"}.fa-list-ol:before{content:"\f0cb"}.fa-strikethrough:before{content:"\f0cc"}.fa-underline:before{content:"\f0cd"}.fa-table:before{content:"\f0ce"}.fa-magic:before{content:"\f0d0"}.fa-truck:before{content:"\f0d1"}.fa-pinterest:before{content:"\f0d2"}.fa-pinterest-square:before{content:"\f0d3"}.fa-google-plus-square:before{content:"\f0d4"}.fa-google-plus:before{content:"\f0d5"}.fa-money:before{content:"\f0d6"}.fa-caret-down:before{content:"\f0d7"}.fa-caret-up:before{content:"\f0d8"}.fa-caret-left:before{content:"\f0d9"}.fa-caret-right:before{content:"\f0da"}.fa-columns:before{content:"\f0db"}.fa-unsorted:before,.fa-sort:before{content:"\f0dc"}.fa-sort-down:before,.fa-sort-desc:before{content:"\f0dd"}.fa-sort-up:before,.fa-sort-asc:before{content:"\f0de"}.fa-envelope:before{content:"\f0e0"}.fa-linkedin:before{content:"\f0e1"}.fa-rotate-left:before,.fa-undo:before{content:"\f0e2"}.fa-legal:before,.fa-gavel:before{content:"\f0e3"}.fa-dashboard:before,.fa-tachometer:before{content:"\f0e4"}.fa-comment-o:before{content:"\f0e5"}.fa-comments-o:before{content:"\f0e6"}.fa-flash:before,.fa-bolt:before{content:"\f0e7"}.fa-sitemap:before{content:"\f0e8"}.fa-umbrella:before{content:"\f0e9"}.fa-paste:before,.fa-clipboard:before{content:"\f0ea"}.fa-lightbulb-o:before{content:"\f0eb"}.fa-exchange:before{content:"\f0ec"}.fa-cloud-download:before{content:"\f0ed"}.fa-cloud-upload:before{content:"\f0ee"}.fa-user-md:before{content:"\f0f0"}.fa-stethoscope:before{content:"\f0f1"}.fa-suitcase:before{content:"\f0f2"}.fa-bell-o:before{content:"\f0a2"}.fa-coffee:before{content:"\f0f4"}.fa-cutlery:before{content:"\f0f5"}.fa-file-text-o:before{content:"\f0f6"}.fa-building-o:before{content:"\f0f7"}.fa-hospital-o:before{content:"\f0f8"}.fa-ambulance:before{content:"\f0f9"}.fa-medkit:before{content:"\f0fa"}.fa-fighter-jet:before{content:"\f0fb"}.fa-beer:before{content:"\f0fc"}.fa-h-square:before{content:"\f0fd"}.fa-plus-square:before{content:"\f0fe"}.fa-angle-double-left:before{content:"\f100"}.fa-angle-double-right:before{content:"\f101"}.fa-angle-double-up:before{content:"\f102"}.fa-angle-double-down:before{content:"\f103"}.fa-angle-left:before{content:"\f104"}.fa-angle-right:before{content:"\f105"}.fa-angle-up:before{content:"\f106"}.fa-angle-down:before{content:"\f107"}.fa-desktop:before{content:"\f108"}.fa-laptop:before{content:"\f109"}.fa-tablet:before{content:"\f10a"}.fa-mobile-phone:before,.fa-mobile:before{content:"\f10b"}.fa-circle-o:before{content:"\f10c"}.fa-quote-left:before{content:"\f10d"}.fa-quote-right:before{content:"\f10e"}.fa-spinner:before{content:"\f110"}.fa-circle:before{content:"\f111"}.fa-mail-reply:before,.fa-reply:before{content:"\f112"}.fa-github-alt:before{content:"\f113"}.fa-folder-o:before{content:"\f114"}.fa-folder-open-o:before{content:"\f115"}.fa-smile-o:before{content:"\f118"}.fa-frown-o:before{content:"\f119"}.fa-meh-o:before{content:"\f11a"}.fa-gamepad:before{content:"\f11b"}.fa-keyboard-o:before{content:"\f11c"}.fa-flag-o:before{content:"\f11d"}.fa-flag-checkered:before{content:"\f11e"}.fa-terminal:before{content:"\f120"}.fa-code:before{content:"\f121"}.fa-mail-reply-all:before,.fa-reply-all:before{content:"\f122"}.fa-star-half-empty:before,.fa-star-half-full:before,.fa-star-half-o:before{content:"\f123"}.fa-location-arrow:before{content:"\f124"}.fa-crop:before{content:"\f125"}.fa-code-fork:before{content:"\f126"}.fa-unlink:before,.fa-chain-broken:before{content:"\f127"}.fa-question:before{content:"\f128"}.fa-info:before{content:"\f129"}.fa-exclamation:before{content:"\f12a"}.fa-superscript:before{content:"\f12b"}.fa-subscript:before{content:"\f12c"}.fa-eraser:before{content:"\f12d"}.fa-puzzle-piece:before{content:"\f12e"}.fa-microphone:before{content:"\f130"}.fa-microphone-slash:before{content:"\f131"}.fa-shield:before{content:"\f132"}.fa-calendar-o:before{content:"\f133"}.fa-fire-extinguisher:before{content:"\f134"}.fa-rocket:before{content:"\f135"}.fa-maxcdn:before{content:"\f136"}.fa-chevron-circle-left:before{content:"\f137"}.fa-chevron-circle-right:before{content:"\f138"}.fa-chevron-circle-up:before{content:"\f139"}.fa-chevron-circle-down:before{content:"\f13a"}.fa-html5:before{content:"\f13b"}.fa-css3:before{content:"\f13c"}.fa-anchor:before{content:"\f13d"}.fa-unlock-alt:before{content:"\f13e"}.fa-bullseye:before{content:"\f140"}.fa-ellipsis-h:before{content:"\f141"}.fa-ellipsis-v:before{content:"\f142"}.fa-rss-square:before{content:"\f143"}.fa-play-circle:before{content:"\f144"}.fa-ticket:before{content:"\f145"}.fa-minus-square:before{content:"\f146"}.fa-minus-square-o:before{content:"\f147"}.fa-level-up:before{content:"\f148"}.fa-level-down:before{content:"\f149"}.fa-check-square:before{content:"\f14a"}.fa-pencil-square:before{content:"\f14b"}.fa-external-link-square:before{content:"\f14c"}.fa-share-square:before{content:"\f14d"}.fa-compass:before{content:"\f14e"}.fa-toggle-down:before,.fa-caret-square-o-down:before{content:"\f150"}.fa-toggle-up:before,.fa-caret-square-o-up:before{content:"\f151"}.fa-toggle-right:before,.fa-caret-square-o-right:before{content:"\f152"}.fa-euro:before,.fa-eur:before{content:"\f153"}.fa-gbp:before{content:"\f154"}.fa-dollar:before,.fa-usd:before{content:"\f155"}.fa-rupee:before,.fa-inr:before{content:"\f156"}.fa-cny:before,.fa-rmb:before,.fa-yen:before,.fa-jpy:before{content:"\f157"}.fa-ruble:before,.fa-rouble:before,.fa-rub:before{content:"\f158"}.fa-won:before,.fa-krw:before{content:"\f159"}.fa-bitcoin:before,.fa-btc:before{content:"\f15a"}.fa-file:before{content:"\f15b"}.fa-file-text:before{content:"\f15c"}.fa-sort-alpha-asc:before{content:"\f15d"}.fa-sort-alpha-desc:before{content:"\f15e"}.fa-sort-amount-asc:before{content:"\f160"}.fa-sort-amount-desc:before{content:"\f161"}.fa-sort-numeric-asc:before{content:"\f162"}.fa-sort-numeric-desc:before{content:"\f163"}.fa-thumbs-up:before{content:"\f164"}.fa-thumbs-down:before{content:"\f165"}.fa-youtube-square:before{content:"\f166"}.fa-youtube:before{content:"\f167"}.fa-xing:before{content:"\f168"}.fa-xing-square:before{content:"\f169"}.fa-youtube-play:before{content:"\f16a"}.fa-dropbox:before{content:"\f16b"}.fa-stack-overflow:before{content:"\f16c"}.fa-instagram:before{content:"\f16d"}.fa-flickr:before{content:"\f16e"}.fa-adn:before{content:"\f170"}.fa-bitbucket:before{content:"\f171"}.fa-bitbucket-square:before{content:"\f172"}.fa-tumblr:before{content:"\f173"}.fa-tumblr-square:before{content:"\f174"}.fa-long-arrow-down:before{content:"\f175"}.fa-long-arrow-up:before{content:"\f176"}.fa-long-arrow-left:before{content:"\f177"}.fa-long-arrow-right:before{content:"\f178"}.fa-apple:before{content:"\f179"}.fa-windows:before{content:"\f17a"}.fa-android:before{content:"\f17b"}.fa-linux:before{content:"\f17c"}.fa-dribbble:before{content:"\f17d"}.fa-skype:before{content:"\f17e"}.fa-foursquare:before{content:"\f180"}.fa-trello:before{content:"\f181"}.fa-female:before{content:"\f182"}.fa-male:before{content:"\f183"}.fa-gittip:before,.fa-gratipay:before{content:"\f184"}.fa-sun-o:before{content:"\f185"}.fa-moon-o:before{content:"\f186"}.fa-archive:before{content:"\f187"}.fa-bug:before{content:"\f188"}.fa-vk:before{content:"\f189"}.fa-weibo:before{content:"\f18a"}.fa-renren:before{content:"\f18b"}.fa-pagelines:before{content:"\f18c"}.fa-stack-exchange:before{content:"\f18d"}.fa-arrow-circle-o-right:before{content:"\f18e"}.fa-arrow-circle-o-left:before{content:"\f190"}.fa-toggle-left:before,.fa-caret-square-o-left:before{content:"\f191"}.fa-dot-circle-o:before{content:"\f192"}.fa-wheelchair:before{content:"\f193"}.fa-vimeo-square:before{content:"\f194"}.fa-turkish-lira:before,.fa-try:before{content:"\f195"}.fa-plus-square-o:before{content:"\f196"}.fa-space-shuttle:before{content:"\f197"}.fa-slack:before{content:"\f198"}.fa-envelope-square:before{content:"\f199"}.fa-wordpress:before{content:"\f19a"}.fa-openid:before{content:"\f19b"}.fa-institution:before,.fa-bank:before,.fa-university:before{content:"\f19c"}.fa-mortar-board:before,.fa-graduation-cap:before{content:"\f19d"}.fa-yahoo:before{content:"\f19e"}.fa-google:before{content:"\f1a0"}.fa-reddit:before{content:"\f1a1"}.fa-reddit-square:before{content:"\f1a2"}.fa-stumbleupon-circle:before{content:"\f1a3"}.fa-stumbleupon:before{content:"\f1a4"}.fa-delicious:before{content:"\f1a5"}.fa-digg:before{content:"\f1a6"}.fa-pied-piper:before{content:"\f1a7"}.fa-pied-piper-alt:before{content:"\f1a8"}.fa-drupal:before{content:"\f1a9"}.fa-joomla:before{content:"\f1aa"}.fa-language:before{content:"\f1ab"}.fa-fax:before{content:"\f1ac"}.fa-building:before{content:"\f1ad"}.fa-child:before{content:"\f1ae"}.fa-paw:before{content:"\f1b0"}.fa-spoon:before{content:"\f1b1"}.fa-cube:before{content:"\f1b2"}.fa-cubes:before{content:"\f1b3"}.fa-behance:before{content:"\f1b4"}.fa-behance-square:before{content:"\f1b5"}.fa-steam:before{content:"\f1b6"}.fa-steam-square:before{content:"\f1b7"}.fa-recycle:before{content:"\f1b8"}.fa-automobile:before,.fa-car:before{content:"\f1b9"}.fa-cab:before,.fa-taxi:before{content:"\f1ba"}.fa-tree:before{content:"\f1bb"}.fa-spotify:before{content:"\f1bc"}.fa-deviantart:before{content:"\f1bd"}.fa-soundcloud:before{content:"\f1be"}.fa-database:before{content:"\f1c0"}.fa-file-pdf-o:before{content:"\f1c1"}.fa-file-word-o:before{content:"\f1c2"}.fa-file-excel-o:before{content:"\f1c3"}.fa-file-powerpoint-o:before{content:"\f1c4"}.fa-file-photo-o:before,.fa-file-picture-o:before,.fa-file-image-o:before{content:"\f1c5"}.fa-file-zip-o:before,.fa-file-archive-o:before{content:"\f1c6"}.fa-file-sound-o:before,.fa-file-audio-o:before{content:"\f1c7"}.fa-file-movie-o:before,.fa-file-video-o:before{content:"\f1c8"}.fa-file-code-o:before{content:"\f1c9"}.fa-vine:before{content:"\f1ca"}.fa-codepen:before{content:"\f1cb"}.fa-jsfiddle:before{content:"\f1cc"}.fa-life-bouy:before,.fa-life-buoy:before,.fa-life-saver:before,.fa-support:before,.fa-life-ring:before{content:"\f1cd"}.fa-circle-o-notch:before{content:"\f1ce"}.fa-ra:before,.fa-rebel:before{content:"\f1d0"}.fa-ge:before,.fa-empire:before{content:"\f1d1"}.fa-git-square:before{content:"\f1d2"}.fa-git:before{content:"\f1d3"}.fa-hacker-news:before{content:"\f1d4"}.fa-tencent-weibo:before{content:"\f1d5"}.fa-qq:before{content:"\f1d6"}.fa-wechat:before,.fa-weixin:before{content:"\f1d7"}.fa-send:before,.fa-paper-plane:before{content:"\f1d8"}.fa-send-o:before,.fa-paper-plane-o:before{content:"\f1d9"}.fa-history:before{content:"\f1da"}.fa-genderless:before,.fa-circle-thin:before{content:"\f1db"}.fa-header:before{content:"\f1dc"}.fa-paragraph:before{content:"\f1dd"}.fa-sliders:before{content:"\f1de"}.fa-share-alt:before{content:"\f1e0"}.fa-share-alt-square:before{content:"\f1e1"}.fa-bomb:before{content:"\f1e2"}.fa-soccer-ball-o:before,.fa-futbol-o:before{content:"\f1e3"}.fa-tty:before{content:"\f1e4"}.fa-binoculars:before{content:"\f1e5"}.fa-plug:before{content:"\f1e6"}.fa-slideshare:before{content:"\f1e7"}.fa-twitch:before{content:"\f1e8"}.fa-yelp:before{content:"\f1e9"}.fa-newspaper-o:before{content:"\f1ea"}.fa-wifi:before{content:"\f1eb"}.fa-calculator:before{content:"\f1ec"}.fa-paypal:before{content:"\f1ed"}.fa-google-wallet:before{content:"\f1ee"}.fa-cc-visa:before{content:"\f1f0"}.fa-cc-mastercard:before{content:"\f1f1"}.fa-cc-discover:before{content:"\f1f2"}.fa-cc-amex:before{content:"\f1f3"}.fa-cc-paypal:before{content:"\f1f4"}.fa-cc-stripe:before{content:"\f1f5"}.fa-bell-slash:before{content:"\f1f6"}.fa-bell-slash-o:before{content:"\f1f7"}.fa-trash:before{content:"\f1f8"}.fa-copyright:before{content:"\f1f9"}.fa-at:before{content:"\f1fa"}.fa-eyedropper:before{content:"\f1fb"}.fa-paint-brush:before{content:"\f1fc"}.fa-birthday-cake:before{content:"\f1fd"}.fa-area-chart:before{content:"\f1fe"}.fa-pie-chart:before{content:"\f200"}.fa-line-chart:before{content:"\f201"}.fa-lastfm:before{content:"\f202"}.fa-lastfm-square:before{content:"\f203"}.fa-toggle-off:before{content:"\f204"}.fa-toggle-on:before{content:"\f205"}.fa-bicycle:before{content:"\f206"}.fa-bus:before{content:"\f207"}.fa-ioxhost:before{content:"\f208"}.fa-angellist:before{content:"\f209"}.fa-cc:before{content:"\f20a"}.fa-shekel:before,.fa-sheqel:before,.fa-ils:before{content:"\f20b"}.fa-meanpath:before{content:"\f20c"}.fa-buysellads:before{content:"\f20d"}.fa-connectdevelop:before{content:"\f20e"}.fa-dashcube:before{content:"\f210"}.fa-forumbee:before{content:"\f211"}.fa-leanpub:before{content:"\f212"}.fa-sellsy:before{content:"\f213"}.fa-shirtsinbulk:before{content:"\f214"}.fa-simplybuilt:before{content:"\f215"}.fa-skyatlas:before{content:"\f216"}.fa-cart-plus:before{content:"\f217"}.fa-cart-arrow-down:before{content:"\f218"}.fa-diamond:before{content:"\f219"}.fa-ship:before{content:"\f21a"}.fa-user-secret:before{content:"\f21b"}.fa-motorcycle:before{content:"\f21c"}.fa-street-view:before{content:"\f21d"}.fa-heartbeat:before{content:"\f21e"}.fa-venus:before{content:"\f221"}.fa-mars:before{content:"\f222"}.fa-mercury:before{content:"\f223"}.fa-transgender:before{content:"\f224"}.fa-transgender-alt:before{content:"\f225"}.fa-venus-double:before{content:"\f226"}.fa-mars-double:before{content:"\f227"}.fa-venus-mars:before{content:"\f228"}.fa-mars-stroke:before{content:"\f229"}.fa-mars-stroke-v:before{content:"\f22a"}.fa-mars-stroke-h:before{content:"\f22b"}.fa-neuter:before{content:"\f22c"}.fa-facebook-official:before{content:"\f230"}.fa-pinterest-p:before{content:"\f231"}.fa-whatsapp:before{content:"\f232"}.fa-server:before{content:"\f233"}.fa-user-plus:before{content:"\f234"}.fa-user-times:before{content:"\f235"}.fa-hotel:before,.fa-bed:before{content:"\f236"}.fa-viacoin:before{content:"\f237"}.fa-train:before{content:"\f238"}.fa-subway:before{content:"\f239"}.fa-medium:before{content:"\f23a"} \ No newline at end of file diff --git a/admin/themes/default/css/default.css b/admin/themes/default/css/default.css index bef79c3f..a8d4dca0 100644 --- a/admin/themes/default/css/default.css +++ b/admin/themes/default/css/default.css @@ -70,6 +70,13 @@ div.unit-80 { } +/* ----------- FOOTER ----------- */ +#footer { + color: #777; + font-size: 0.9em; + text-align: center; +} + /* ----------- ALERT ----------- */ #alert { top: 0 !important; @@ -253,6 +260,11 @@ div.themeBox { padding: 15px 20px; width: 70%; margin-bottom: 20px; + overflow: auto; +} + +div.themeBoxInstalled { + background-color: #f1f1f1; } div.themeBox p { @@ -291,6 +303,7 @@ div.pluginBox { padding: 15px 20px; width: 70%; margin-bottom: 20px; + overflow: auto; } div.pluginBox p { diff --git a/admin/themes/default/css/installer.css b/admin/themes/default/css/installer.css index 60ad067e..988fe753 100644 --- a/admin/themes/default/css/installer.css +++ b/admin/themes/default/css/installer.css @@ -25,4 +25,21 @@ h1.title { td { text-align: center; +} + +.tools-message { + display: block; + position: relative; + top: 0; + right: 0; + left: 0; + bottom: 0; + max-width: none; + margin-bottom: 30px; +} + +#jscompleteEmail { + border-bottom: 1px solid #fff; + display: inline-block; + cursor: pointer; } \ No newline at end of file diff --git a/admin/themes/default/index.php b/admin/themes/default/index.php index 1383815d..02113bb6 100644 --- a/admin/themes/default/index.php +++ b/admin/themes/default/index.php @@ -15,13 +15,12 @@ - - + - + - + +
-
-
-

Bludit Installer

-

Welcome to the Bludit installer

+
+
+

Bludit Installer

+

Welcome to the Bludit installer

- + if(empty($system)) + { + ?> -

Complete the form, choose a password for the username admin

-
-
+

Complete the form, choose a password for the username admin

- +
- + '.$error.'
'; + } + ?> - + -

- -

-
-
+ - '; - echo ''; + - foreach ($system as $value) - { - echo ''; - } + - echo '
'.$value.'
'; - echo ' + + + + +

+ +

+ +
+ + '; + echo ''; + + foreach ($system as $value) + { + echo ''; + } + + echo '
'.$value.'
'; + echo ' +
+
+ + -
-
\ No newline at end of file diff --git a/kernel/abstract/plugin.class.php b/kernel/abstract/plugin.class.php index 5e437e27..ff0e32f0 100644 --- a/kernel/abstract/plugin.class.php +++ b/kernel/abstract/plugin.class.php @@ -191,85 +191,4 @@ class Plugin { // The user can define your own dbFields. } - // EVENTS - - public function form() - { - return false; - } - - // Before the posts load. - public function beforePostsLoad() - { - return false; - } - - // After the posts load. - public function afterPostsLoad() - { - return false; - } - - // Before the pages load. - public function beforePagesLoad() - { - return false; - } - - // After the pages load. - public function afterPagesLoad() - { - return false; - } - - public function onSiteHead() - { - return false; - } - - public function onSiteBodyBegin() - { - return false; - } - - public function onSiteBodyEnd() - { - return false; - } - - public function onAdminHead() - { - return false; - } - - public function onAdminBodyBegin() - { - return false; - } - - public function onAdminBodyEnd() - { - return false; - } - - public function onSiteSidebar() - { - return false; - } - - public function onAdminSidebar() - { - return false; - } - - public function beforeSiteLoad() - { - return false; - } - - public function afterSiteLoad() - { - return false; - } - } \ No newline at end of file diff --git a/kernel/ajax/slug.php b/kernel/ajax/slug.php index 8fff04c9..f6ecb583 100644 --- a/kernel/ajax/slug.php +++ b/kernel/ajax/slug.php @@ -23,4 +23,4 @@ elseif( $_POST['type']==='post' ) { echo json_encode( array('slug'=>$slug) ); -?> +?> \ No newline at end of file diff --git a/kernel/boot/admin.php b/kernel/boot/admin.php index 1c6e42fb..fc852a1e 100644 --- a/kernel/boot/admin.php +++ b/kernel/boot/admin.php @@ -48,10 +48,13 @@ else if($Url->notFound() || !$Login->isLogged() || ($Url->slug()==='login') ) { $layout['controller'] = 'login'; - $layout['view'] = 'login'; - $layout['template'] = 'login.php'; + $layout['view'] = 'login'; + $layout['template'] = 'login.php'; } + // Plugins before admin area loaded + Theme::plugins('beforeAdminLoad'); + // Admin theme init.php if( Sanitize::pathFile(PATH_ADMIN_THEMES, $Site->adminTheme().DS.'init.php') ) include(PATH_ADMIN_THEMES.$Site->adminTheme().DS.'init.php'); @@ -63,4 +66,7 @@ else // Load view and theme if( Sanitize::pathFile(PATH_ADMIN_THEMES, $Site->adminTheme().DS.$layout['template']) ) include(PATH_ADMIN_THEMES.$Site->adminTheme().DS.$layout['template']); + + // Plugins after admin area loaded + Theme::plugins('afterAdminLoad'); } diff --git a/kernel/boot/init.php b/kernel/boot/init.php index 112d8550..08f30f4b 100644 --- a/kernel/boot/init.php +++ b/kernel/boot/init.php @@ -22,28 +22,28 @@ define('LOG_SEP', ' | '); // PHP PATHS // PATH_ROOT and PATH_BOOT are defined in index.php -define('PATH_LANGUAGES', PATH_ROOT.'languages'.DS); -define('PATH_THEMES', PATH_ROOT.'themes'.DS); -define('PATH_PLUGINS', PATH_ROOT.'plugins'.DS); +define('PATH_LANGUAGES', PATH_ROOT.'languages'.DS); +define('PATH_THEMES', PATH_ROOT.'themes'.DS); +define('PATH_PLUGINS', PATH_ROOT.'plugins'.DS); -define('PATH_KERNEL', PATH_ROOT.'kernel'.DS); -define('PATH_ABSTRACT', PATH_KERNEL.'abstract'.DS); -define('PATH_RULES', PATH_KERNEL.'boot'.DS.'rules'.DS); -define('PATH_HELPERS', PATH_KERNEL.'helpers'.DS); -define('PATH_AJAX', PATH_KERNEL.'ajax'.DS); -define('PATH_JS', PATH_KERNEL.'js'.DS); +define('PATH_KERNEL', PATH_ROOT.'kernel'.DS); +define('PATH_ABSTRACT', PATH_KERNEL.'abstract'.DS); +define('PATH_RULES', PATH_KERNEL.'boot'.DS.'rules'.DS); +define('PATH_HELPERS', PATH_KERNEL.'helpers'.DS); +define('PATH_AJAX', PATH_KERNEL.'ajax'.DS); +define('PATH_JS', PATH_KERNEL.'js'.DS); -define('PATH_CONTENT', PATH_ROOT.'content'.DS); -define('PATH_POSTS', PATH_CONTENT.'posts'.DS); -define('PATH_PAGES', PATH_CONTENT.'pages'.DS); -define('PATH_DATABASES', PATH_CONTENT.'databases'.DS); +define('PATH_CONTENT', PATH_ROOT.'content'.DS); +define('PATH_POSTS', PATH_CONTENT.'posts'.DS); +define('PATH_PAGES', PATH_CONTENT.'pages'.DS); +define('PATH_DATABASES', PATH_CONTENT.'databases'.DS); define('PATH_PLUGINS_DATABASES', PATH_CONTENT.'databases'.DS.'plugins'.DS); -define('PATH_UPLOADS', PATH_CONTENT.'uploads'.DS); +define('PATH_UPLOADS', PATH_CONTENT.'uploads'.DS); -define('PATH_ADMIN', PATH_ROOT.'admin'.DS); -define('PATH_ADMIN_THEMES', PATH_ADMIN.'themes'.DS); +define('PATH_ADMIN', PATH_ROOT.'admin'.DS); +define('PATH_ADMIN_THEMES', PATH_ADMIN.'themes'.DS); define('PATH_ADMIN_CONTROLLERS', PATH_ADMIN.'controllers'.DS); -define('PATH_ADMIN_VIEWS', PATH_ADMIN.'views'.DS); +define('PATH_ADMIN_VIEWS', PATH_ADMIN.'views'.DS); // JSON pretty print if(!defined('JSON_PRETTY_PRINT')) { @@ -57,8 +57,8 @@ define('SALT_LENGTH', 8); define('PAGE_BREAK', ''); // Bludit version -define('BLUDIT_VERSION', 'githubVersion'); -define('BLUDIT_CODENAME', ''); +define('BLUDIT_VERSION', 'githubVersion'); +define('BLUDIT_CODENAME', ''); define('BLUDIT_RELEASE_DATE', ''); // @@ -113,6 +113,7 @@ include(PATH_HELPERS.'theme.class.php'); include(PATH_HELPERS.'session.class.php'); include(PATH_HELPERS.'redirect.class.php'); include(PATH_HELPERS.'sanitize.class.php'); +include(PATH_HELPERS.'valid.class.php'); include(PATH_HELPERS.'filesystem.class.php'); include(PATH_HELPERS.'alert.class.php'); include(PATH_HELPERS.'paginator.class.php'); @@ -138,15 +139,15 @@ define('HTML_PATH_ROOT', $base); define('HTML_PATH_THEMES', HTML_PATH_ROOT.'themes/'); define('HTML_PATH_THEME', HTML_PATH_ROOT.'themes/'.$Site->theme().'/'); -define('HTML_PATH_THEME_CSS', HTML_PATH_THEME.'css/'); -define('HTML_PATH_THEME_JS', HTML_PATH_THEME.'js/'); -define('HTML_PATH_ADMIN_THEME', HTML_PATH_ROOT.'admin/themes/'.$Site->adminTheme().'/'); -define('HTML_PATH_ADMIN_ROOT', HTML_PATH_ROOT.'admin/'); +define('HTML_PATH_THEME_CSS', HTML_PATH_THEME.'css/'); +define('HTML_PATH_THEME_JS', HTML_PATH_THEME.'js/'); +define('HTML_PATH_ADMIN_THEME', HTML_PATH_ROOT.'admin/themes/'.$Site->adminTheme().'/'); +define('HTML_PATH_ADMIN_ROOT', HTML_PATH_ROOT.'admin/'); define('HTML_PATH_UPLOADS', HTML_PATH_ROOT.'content/uploads/'); define('HTML_PATH_PLUGINS', HTML_PATH_ROOT.'plugins/'); // PHP PATHs with dependency -define('PATH_THEME', PATH_ROOT.'themes/'.$Site->theme().'/'); +define('PATH_THEME', PATH_ROOT.'themes/'.$Site->theme().'/'); // Objects with dependency $Language = new dbLanguage( $Site->locale() ); diff --git a/kernel/boot/rules/80.plugins.php b/kernel/boot/rules/80.plugins.php index 4eadd9a0..bafa283c 100644 --- a/kernel/boot/rules/80.plugins.php +++ b/kernel/boot/rules/80.plugins.php @@ -5,20 +5,29 @@ // ============================================================================ $plugins = array( - 'onSiteHead'=>array(), // HERE... - 'onSiteBodyBegin'=>array(), // ...HERE... - 'onSiteBodyEnd'=>array(), // ......HERE - 'onSiteSidebar'=>array(), // ......HERE... - 'onAdminHead'=>array(), - 'onAdminBodyBegin'=>array(), - 'onAdminBodyEnd'=>array(), - 'onAdminSidebar'=>array(), + 'siteHead'=>array(), + 'siteBodyBegin'=>array(), + 'siteBodyEnd'=>array(), + 'siteSidebar'=>array(), 'beforeSiteLoad'=>array(), 'afterSiteLoad'=>array(), - 'beforePostsLoad'=>array(), - 'afterPostsLoad'=>array(), - 'beforePagesLoad'=>array(), - 'afterPagesLoad'=>array(), + + 'pageBegin'=>array(), + 'pageEnd'=>array(), + 'postBegin'=>array(), + 'postEnd'=>array(), + + 'adminHead'=>array(), + 'adminBodyBegin'=>array(), + 'adminBodyEnd'=>array(), + 'adminSidebar'=>array(), + 'beforeAdminLoad'=>array(), + 'afterAdminLoad'=>array(), + + 'loginHead'=>array(), + 'loginBodyBegin'=>array(), + 'loginBodyEnd'=>array(), + 'all'=>array() ); @@ -81,11 +90,7 @@ function build_plugins() { foreach($pluginsEvents as $event=>$value) { - /* - if($Plugin->onSiteHead()!==false) - array_push($plugins['onSiteHead'], $Plugin); - */ - if($Plugin->{$event}()!==false) { + if(method_exists($Plugin, $event)) { array_push($plugins[$event], $Plugin); } } diff --git a/kernel/helpers/cookie.class.php b/kernel/helpers/cookie.class.php index 3b5ba150..784ce602 100644 --- a/kernel/helpers/cookie.class.php +++ b/kernel/helpers/cookie.class.php @@ -1,13 +1,4 @@ - diff --git a/kernel/helpers/crypt.class.php b/kernel/helpers/crypt.class.php index 11c02079..4d69bd4f 100644 --- a/kernel/helpers/crypt.class.php +++ b/kernel/helpers/crypt.class.php @@ -1,13 +1,4 @@ - diff --git a/kernel/helpers/date.class.php b/kernel/helpers/date.class.php index 42968c0f..20536937 100644 --- a/kernel/helpers/date.class.php +++ b/kernel/helpers/date.class.php @@ -64,39 +64,4 @@ class Date { return $tmp; } - - // Old - - public static function set_locale($string) - { - if(setlocale(LC_ALL,$string.'.UTF-8')!==false) - return true; - - if(setlocale(LC_ALL,$string.'.UTF8')!==false) - return true; - - return setlocale(LC_ALL,$string); - } - - public static function set_timezone($string) - { - return(date_default_timezone_set($string)); - } - - - // Format a GMT/UTC+0 date/time - public static function format_gmt($time, $format) - { - $date = gmdate($format, $time); - - return( $date ); - } - - public static function atom($time) - { - $date = date(DATE_ATOM, $time); - - return( $date ); - } - } diff --git a/kernel/helpers/email.class.php b/kernel/helpers/email.class.php index 47f482bb..4c1628c9 100644 --- a/kernel/helpers/email.class.php +++ b/kernel/helpers/email.class.php @@ -1,13 +1,4 @@ - - - Nibbleblog - - -
-
Nibbleblog
- '.$args['message'].' -
- - '; + + Bludit + + +
+
Nibbleblog
+ '.$args['message'].' +
+ + '; return mail($args['to'], $args['subject'], $message, $headers); } } - -?> diff --git a/kernel/helpers/html.class.php b/kernel/helpers/html.class.php deleted file mode 100644 index c87b2b50..00000000 --- a/kernel/helpers/html.class.php +++ /dev/null @@ -1,251 +0,0 @@ -$value ) - { - $attributes .= $key.'="'.$value.'" '; - } - - return($attributes); - } - - public static function h1($array = array()) - { - $attributes = self::get_attributes($array); - - return( '

'.$array['content'].'

' ); - } - - public static function h2($array = array()) - { - $attributes = self::get_attributes($array); - - return( '

'.$array['content'].'

' ); - } - - public static function h3($array = array()) - { - $attributes = self::get_attributes($array); - - return( '

'.$array['content'].'

' ); - } - - public static function h4($array = array()) - { - $attributes = self::get_attributes($array); - - return( '

'.$array['content'].'

' ); - } - - public static function blockquote($array = array()) - { - $attributes = self::get_attributes($array); - - return( '
'.$array['content'].'
' ); - } - - public static function p($array = array()) - { - $attributes = self::get_attributes($array); - - return( '

'.$array['content'].'

' ); - } - - public static function separator($array = array(), $top=false, $hidden=false) - { - if(isset($array['class'])) - { - $array['class'] = 'separator '.$array['class']; - } - else - { - $array['class'] = 'separator'; - } - - if($hidden) - $hidden = 'style="display:none"'; - else - $hidden = ''; - - $attributes = self::get_attributes($array); - - return( '
'.$array['content'].'
' ); - } - - public static function form_open($array = array()) - { - $attributes = self::get_attributes($array); - - return( '
' ); - } - - public static function form_close() - { - return( '
' ); - } - - public static function input($array = array()) - { - $attributes = self::get_attributes($array); - - return( '' ); - } - - public static function checkbox($array = array(), $checked = false) - { - $attributes = self::get_attributes($array); - - if( $checked ) - return( '' ); - else - return( '' ); - } - - public static function radio($array = array(), $checked = false) - { - $attributes = self::get_attributes($array); - - if( $checked ) - return( '' ); - else - return( '' ); - } - - public static function textarea($array = array()) - { - $attributes = self::get_attributes($array); - - return( '' ); - } - - public static function label($array = array()) - { - $attributes = self::get_attributes($array); - - return( '' ); - } - - public static function select($array = array(), $options = array(), $selected) - { - $attributes = self::get_attributes($array); - - $tmp = ''; - - return( $tmp ); - } - - public static function div($array = array()) - { - $attributes = self::get_attributes($array); - - return( '
'.$array['content'].'
' ); - } - - public static function div_open($array = array()) - { - $attributes = self::get_attributes($array); - - return( '
' ); - } - - public static function div_close() - { - return( '
' ); - } - - public static function article_open($array = array()) - { - $attributes = self::get_attributes($array); - - return( '
' ); - } - - public static function article_close() - { - return( '
' ); - } - - public static function header_open($array = array()) - { - $attributes = self::get_attributes($array); - - return( '
' ); - } - - public static function header_close() - { - return( '
' ); - } - - public static function link($array = array()) - { - $attributes = self::get_attributes($array); - - return( ''.$array['content'].'' ); - } - - public static function span($array = array()) - { - $attributes = self::get_attributes($array); - - return( ''.$array['content'].'' ); - } - - public static function img($array = array()) - { - $attributes = self::get_attributes($array); - - return( '' ); - } - - public static function ul($array = array()) - { - $attributes = self::get_attributes($array); - - return( '' ); - } - - public static function banner($msg, $success, $error) - { - if( $success ) - return('
'.$msg.'
'); - elseif( $error ) - return('
'.$msg.'
'); - } - -} - -?> diff --git a/kernel/helpers/net.class.php b/kernel/helpers/net.class.php deleted file mode 100644 index 42ff5cef..00000000 --- a/kernel/helpers/net.class.php +++ /dev/null @@ -1,58 +0,0 @@ -true, CURLOPT_URL=>$url)); - curl_exec($curl); - $http_code = curl_getinfo($curl, CURLINFO_HTTP_CODE); - curl_close( $curl ); - - return($http_code==$code); - } - - // If curl is not installed, use get_headers - $headers = get_headers($url); - - if(strpos($headers[0], (string)$code) == false) - return false; - - return true; - } - -} - -?> diff --git a/kernel/helpers/sanitize.class.php b/kernel/helpers/sanitize.class.php index 47c17938..fa39496f 100644 --- a/kernel/helpers/sanitize.class.php +++ b/kernel/helpers/sanitize.class.php @@ -55,35 +55,17 @@ class Sanitize { return true; } - // old - public static function ip($ip) + public static function email($email) { - return filter_var($ip, FILTER_VALIDATE_IP); + return( filter_var($email, FILTER_SANITIZE_EMAIL) ); } - public static function mail($mail) + public static function url($url) { - return filter_var($mail, FILTER_VALIDATE_EMAIL); + return( filter_var($url, FILTER_SANITIZE_URL) ); } - public static function int($int) - { - if($int === 0) - return( true ); - elseif (filter_var($int, FILTER_VALIDATE_INT) === false ) - return( false ); - else - return( true ); - } - - // Remove all characters except digits - public static function sanitize_float($value) - { - return( filter_var($value, FILTER_SANITIZE_NUMBER_FLOAT, FILTER_FLAG_ALLOW_THOUSAND) ); - } - - // Valid an integer positive - public static function sanitize_int($value) + public static function int($value) { $value = (int)$value; @@ -93,17 +75,4 @@ class Sanitize { return 0; } - public static function sanitize_email($value) - { - return( filter_var($value, FILTER_SANITIZE_EMAIL) ); - } - - public static function sanitize_url($value) - { - return( filter_var($value, FILTER_SANITIZE_URL) ); - } - - // Convert all applicable characters to HTML entities incluye acentos - - -} +} \ No newline at end of file diff --git a/kernel/helpers/text.class.php b/kernel/helpers/text.class.php index 33a441ea..3b4967ef 100644 --- a/kernel/helpers/text.class.php +++ b/kernel/helpers/text.class.php @@ -52,6 +52,7 @@ class Text { return $text; } +/* public static function cleanUrl($string, $separator='-') { // Delete characters @@ -72,6 +73,21 @@ class Text { return $string; } +*/ + + public static function cleanUrl($string, $separator='-') + { + if(function_exists('iconv')) { + $string = iconv('UTF-8', 'ASCII//TRANSLIT', $string); + } + + $string = preg_replace("/[^a-zA-Z0-9\/_|+ -]/", '', $string); + $string = trim($string, '-'); + $string = self::lowercase($string); + $string = preg_replace("/[\/_|+ -]+/", $separator, $string); + + return $string; + } // Replace all occurrences of the search string with the replacement string. public static function replace($search, $replace, $string) diff --git a/kernel/helpers/valid.class.php b/kernel/helpers/valid.class.php new file mode 100644 index 00000000..507c172f --- /dev/null +++ b/kernel/helpers/valid.class.php @@ -0,0 +1,27 @@ +=0) - return $value; - else - return 0; - } - - public static function sanitize_email($value) - { - return( filter_var($value, FILTER_SANITIZE_EMAIL) ); - } - - public static function sanitize_url($value) - { - return( filter_var($value, FILTER_SANITIZE_URL) ); - } - - // Convert all applicable characters to HTML entities incluye acentos - public static function sanitize_html($text) - { - return(htmlspecialchars($text, ENT_QUOTES, 'UTF-8')); - } - -} - -?> diff --git a/kernel/login.class.php b/kernel/login.class.php index d9ad1a11..d55d118b 100644 --- a/kernel/login.class.php +++ b/kernel/login.class.php @@ -23,8 +23,8 @@ class Login { { Session::set('username', $username); Session::set('role', $role); - Session::set('fingerPrint', $this->fingerPrint()); - Session::set('sessionTime', time()); + Session::set('fingerPrint', $this->fingerPrint()); + Session::set('sessionTime', time()); Log::set(__METHOD__.LOG_SEP.'Set fingerPrint: '.$this->fingerPrint()); } @@ -52,6 +52,9 @@ class Login { public function verifyUser($username, $password) { + $username = Sanitize::html($username); + $password = Sanitize::html($password); + $username = trim($username); $password = trim($password); diff --git a/kernel/security.class.php b/kernel/security.class.php new file mode 100644 index 00000000..90a7e38c --- /dev/null +++ b/kernel/security.class.php @@ -0,0 +1,43 @@ +5, + 'numberFailures'=>10 + ); + + function __construct() + { + parent::__construct(PATH_DATABASES.'security.php'); + } + + + + public function addLoginFail() + { + $ip = $this->getUserIp(); + + // Save the database + $this->db[$ip] = (int)$this->db[$ip] + 1; + if( $this->save() === false ) { + Log::set(__METHOD__.LOG_SEP.'Error occurred when trying to save the database file.'); + return false; + } + + return true; + } + + public function getUserIp() + { + // User IP + if(getenv('HTTP_X_FORWARDED_FOR')) + $ip = getenv('HTTP_X_FORWARDED_FOR'); + elseif(getenv('HTTP_CLIENT_IP')) + $ip = getenv('HTTP_CLIENT_IP'); + else + $ip = getenv('REMOTE_ADDR'); + + return $ip; + } +} \ No newline at end of file diff --git a/languages/en_US.json b/languages/en_US.json index 7dc87845..4fb8fe50 100644 --- a/languages/en_US.json +++ b/languages/en_US.json @@ -9,133 +9,141 @@ "website": "" }, - "username": "Username", - "password": "Password", - "confirm-password": "Confirm Password", - "editor": "Editor", - "dashboard": "Dashboard", - "role": "Role", - "post": "Post", - "posts": "Posts", - "users": "Users", - "administrator": "Administrator", - "add": "Add", - "cancel": "Cancel", - "content": "Content", - "title": "Title", - "no-parent": "No parent", - "edit-page": "Edit page", - "edit-post": "Edit post", - "add-a-new-user": "Add a new user", - "parent": "Parent", - "friendly-url": "Friendly URL", - "description": "Description", - "posted-by": "Posted by", - "tags": "Tags", - "position": "Position", - "save": "Save", - "draft": "Draft", - "delete": "Delete", - "registered": "Registered", - "Notifications": "Notifications", - "profile": "Profile", - "email": "Email", - "settings": "Settings", - "general": "General", - "advanced": "Advanced", - "regional": "Regional", - "about": "About", - "login": "Log in", - "logout": "Log out", - "dasbhoard": "Dasbhoard", - "manage": "Manage", - "themes": "Themes", - "prev-page": "Prev page", - "next-page": "Next page", - "configure-plugin": "Configure plugin", - "confirm-delete-this-action-cannot-be-undone": "Confirm delete, this action cannot be undone.", - "site-title": "Site title", - "site-slogan": "Site slogan", - "site-description": "Site description", - "footer-text": "Footer text", - "posts-per-page": "Posts per page", - "site-url": "Site url", - "writting-settings": "Writting settings", - "url-filters": "URL filters", - "page": "Page", - "pages": "Pages", - "home": "Home", - "welcome-back": "Welcome back", - "language": "Language", - "website": "Website", - "timezone": "Timezone", - "locale": "Locale", - "notifications": "Notifications", - "new-post": "New post", - "html-and-markdown-code-supported": "HTML and Markdown code supported", - "new-page": "New page", - "manage-posts": "Manage posts", - "published-date": "Published date", - "modified-date": "Modified date", - "empty-title": "Empty title", - "plugins": "Plugins", - "install-plugin": "Install plugin", - "uninstall-plugin": "Uninstall plugin", - "new-password": "New password", - "edit-user": "Edit user", - "publish-now": "Publish now", - "first-name": "First name", - "last-name": "Last name", - "bludit-version": "Bludit version", - "powered-by": "Powered by", - "recent-posts": "Recent Posts", - "manage-pages": "Manage pages", - "advanced-options": "Advanced options", - "user-deleted": "User deleted", - "page-added-successfully": "Page added successfully", - "post-added-successfully": "Post added successfully", - "the-post-has-been-deleted-successfully": "The post has been deleted successfully", - "the-page-has-been-deleted-successfully": "The page has been deleted successfully", - "username-or-password-incorrect": "Username or password incorrect", - "database-regenerated": "Database regenerated", - "the-changes-have-been-saved": "The changes have been saved", - "html-markdown-code-supported": "HTML and Markdown code supported.", - "enable-more-features-at": "Enable more features at", - "username-already-exists": "Username already exists", - "username-field-is-empty": "Username field is empty", - "the-password-and-confirmation-password-do-not-match":"The password and confirmation password do not match", - "user-has-been-added-successfully": "User has been added successfully", - "you-do-not-have-sufficient-permissions": "You do not have sufficient permissions to access this page, contact the administrator.", - "settings-advanced-writting-settings": "Settings->Advanced->Writting Settings", - "new-posts-and-pages-synchronized": "New posts and pages synchronized.", - "you-can-choose-the-users-privilege": "You can choose the user's privilege. The editor role only can write pages and posts.", - "email-will-not-be-publicly-displayed": "Email will not be publicly displayed. Recommended for recovery password and notifications.", - "use-this-field-to-name-your-site": "Use this field to name your site, it will appear at the top of every page of your site.", - "use-this-field-to-add-a-catchy-prhase": "Use this field to add a catchy prhase on your site.", - "you-can-add-a-site-description-to-provide": "You can add a site description to provide a short bio or description of your site.", - "you-can-add-a-small-text-on-the-bottom": "You can add a small text on the bottom of every page. eg: copyright, owner, dates, etc.", - "number-of-posts-to-show-per-page": "Number of posts to show per page.", - "the-url-of-your-site": "The URL of your site.", - "add-or-edit-description-tags-or": "Add or edit description, tags or modify the friendly URL.", - "select-your-sites-language": "Select your site's language.", - "select-a-timezone-for-a-correct": "Select a timezone for a correct date/time display on your site.", - "you-can-use-this-field-to-define-a-set-of": "You can use this field to define a set of parameters related to the languege, country and special preferences.", - "you-can-modify-the-url-which-identifies":"You can modify the URL which identifies a page or post using human-readable keywords. No more than 150 characters.", - "this-field-can-help-describe-the-content": "This field can help describe the content in a few words. No more than 150 characters.", - "write-the-tags-separeted-by-comma": "Write the tags separeted by comma. eg: tag1, tag2, tag3", - "delete": "Delete", - "delete-the-user-and-all-its-posts":"Delete the user and all its posts", - "delete-the-user-and-associate-its-posts-to-admin-user": "Delete the user and associate its posts to admin user", - "read-more": "Read more", - "show-blog": "Show blog", - "default-home-page": "Default home page", - "version": "Version", - "there-are-no-drafts": "There are no drafts.", - "create-a-new-article-for-your-blog":"Create a new article for your blog.", - "create-a-new-page-for-your-website":"Create a new page for your website.", - "invite-a-friend-to-collaborate-on-your-website":"Invite a friend to collaborate on your website.", - "change-your-language-and-region-settings":"Change your language and region settings.", - "language-and-timezone":"Language and timezone", - "author": "Author", - "start-here": "Start here" + "username": "Username", + "password": "Password", + "confirm-password": "Confirm Password", + "editor": "Editor", + "dashboard": "Dashboard", + "role": "Role", + "post": "Post", + "posts": "Posts", + "users": "Users", + "administrator": "Administrator", + "add": "Add", + "cancel": "Cancel", + "content": "Content", + "title": "Title", + "no-parent": "No parent", + "edit-page": "Edit page", + "edit-post": "Edit post", + "add-a-new-user": "Add a new user", + "parent": "Parent", + "friendly-url": "Friendly URL", + "description": "Description", + "posted-by": "Posted by", + "tags": "Tags", + "position": "Position", + "save": "Save", + "draft": "Draft", + "delete": "Delete", + "registered": "Registered", + "Notifications": "Notifications", + "profile": "Profile", + "email": "Email", + "settings": "Settings", + "general": "General", + "advanced": "Advanced", + "regional": "Regional", + "about": "About", + "login": "Log in", + "logout": "Log out", + "manage": "Manage", + "themes": "Themes", + "prev-page": "Prev page", + "next-page": "Next page", + "configure-plugin": "Configure plugin", + "confirm-delete-this-action-cannot-be-undone": "Confirm delete, this action cannot be undone.", + "site-title": "Site title", + "site-slogan": "Site slogan", + "site-description": "Site description", + "footer-text": "Footer text", + "posts-per-page": "Posts per page", + "site-url": "Site url", + "writting-settings": "Writting settings", + "url-filters": "URL filters", + "page": "Page", + "pages": "Pages", + "home": "Home", + "welcome-back": "Welcome back", + "language": "Language", + "website": "Website", + "timezone": "Timezone", + "locale": "Locale", + "new-post": "New post", + "html-and-markdown-code-supported": "HTML and Markdown code supported", + "new-page": "New page", + "manage-posts": "Manage posts", + "published-date": "Published date", + "modified-date": "Modified date", + "empty-title": "Empty title", + "plugins": "Plugins", + "install-plugin": "Install plugin", + "uninstall-plugin": "Uninstall plugin", + "new-password": "New password", + "edit-user": "Edit user", + "publish-now": "Publish now", + "first-name": "First name", + "last-name": "Last name", + "bludit-version": "Bludit version", + "powered-by": "Powered by", + "recent-posts": "Recent Posts", + "manage-pages": "Manage pages", + "advanced-options": "Advanced options", + "user-deleted": "User deleted", + "page-added-successfully": "Page added successfully", + "post-added-successfully": "Post added successfully", + "the-post-has-been-deleted-successfully": "The post has been deleted successfully", + "the-page-has-been-deleted-successfully": "The page has been deleted successfully", + "username-or-password-incorrect": "Username or password incorrect", + "database-regenerated": "Database regenerated", + "the-changes-have-been-saved": "The changes have been saved", + "enable-more-features-at": "Enable more features at", + "username-already-exists": "Username already exists", + "username-field-is-empty": "Username field is empty", + "the-password-and-confirmation-password-do-not-match":"The password and confirmation password do not match", + "user-has-been-added-successfully": "User has been added successfully", + "you-do-not-have-sufficient-permissions": "You do not have sufficient permissions to access this page, contact the administrator.", + "settings-advanced-writting-settings": "Settings->Advanced->Writting Settings", + "new-posts-and-pages-synchronized": "New posts and pages synchronized.", + "you-can-choose-the-users-privilege": "You can choose the user's privilege. The editor role only can write pages and posts.", + "email-will-not-be-publicly-displayed": "Email will not be publicly displayed. Recommended for recovery password and notifications.", + "use-this-field-to-name-your-site": "Use this field to name your site, it will appear at the top of every page of your site.", + "use-this-field-to-add-a-catchy-prhase": "Use this field to add a catchy prhase on your site.", + "you-can-add-a-site-description-to-provide": "You can add a site description to provide a short bio or description of your site.", + "you-can-add-a-small-text-on-the-bottom": "You can add a small text on the bottom of every page. eg: copyright, owner, dates, etc.", + "number-of-posts-to-show-per-page": "Number of posts to show per page.", + "the-url-of-your-site": "The URL of your site.", + "add-or-edit-description-tags-or": "Add or edit description, tags or modify the friendly URL.", + "select-your-sites-language": "Select your site's language.", + "select-a-timezone-for-a-correct": "Select a timezone for a correct date/time display on your site.", + "you-can-use-this-field-to-define-a-set-of": "You can use this field to define a set of parameters related to the languege, country and special preferences.", + "you-can-modify-the-url-which-identifies":"You can modify the URL which identifies a page or post using human-readable keywords. No more than 150 characters.", + "this-field-can-help-describe-the-content": "This field can help describe the content in a few words. No more than 150 characters.", + "write-the-tags-separeted-by-comma": "Write the tags separeted by comma. eg: tag1, tag2, tag3", + "delete-the-user-and-all-its-posts":"Delete the user and all its posts", + "delete-the-user-and-associate-its-posts-to-admin-user": "Delete the user and associate its posts to admin user", + "read-more": "Read more", + "show-blog": "Show blog", + "default-home-page": "Default home page", + "version": "Version", + "there-are-no-drafts": "There are no drafts.", + "create-a-new-article-for-your-blog":"Create a new article for your blog.", + "create-a-new-page-for-your-website":"Create a new page for your website.", + "invite-a-friend-to-collaborate-on-your-website":"Invite a friend to collaborate on your website.", + "change-your-language-and-region-settings":"Change your language and region settings.", + "language-and-timezone":"Language and timezone", + "author": "Author", + "start-here": "Start here", + "install-theme": "Install theme", + "first-post": "First post", + "congratulations-you-have-successfully-installed-your-bludit": "Congratulations you have successfully installed your **Bludit**", + "whats-next": "What's Next", + "manage-your-bludit-from-the-admin-panel": "Manage your Bludit from the [admin area](./admin/)", + "follow-bludit-on": "Follow Bludit on", + "visit-the-support-forum": "Visit the [forum](http://forum.bludit.com) for support", + "read-the-documentation-for-more-information": "Read the [documentation](http://docs.bludit.com) for more information", + "share-with-your-friends-and-enjoy": "Share with your friends and enjoy", + "the-page-has-not-been-found": "The page has not been found.", + "error": "Error" + } \ No newline at end of file diff --git a/languages/es_AR.json b/languages/es_AR.json index 59da76c4..8fa3d00f 100644 --- a/languages/es_AR.json +++ b/languages/es_AR.json @@ -7,5 +7,142 @@ "author": "Diego", "email": "", "website": "" - } + }, + + "username": "Usuario", + "password": "Contraseña", + "confirm-password": "Confirmar contraseña", + "editor": "Editor", + "dashboard": "Panel", + "role": "Rol", + "post": "Post", + "posts": "Posts", + "users": "Usuarios", + "administrator": "Administrador", + "add": "Agregar", + "cancel": "Cancel", + "content": "Contenido", + "title": "Titulo", + "no-parent": "Sin padre", + "edit-page": "Editar pagina", + "edit-post": "Editar post", + "add-a-new-user": "Agregar nuevo usuario", + "parent": "Padre", + "friendly-url": "URL Amistosa", + "description": "Descripcion", + "posted-by": "Publicado por", + "tags": "Etiquetas", + "position": "Posicion", + "save": "Guardar", + "draft": "Borrador", + "delete": "Eliminar", + "registered": "Registrado", + "Notifications": "Notificaciones", + "profile": "Perfil", + "email": "Correo electronico", + "settings": "Ajustes", + "general": "General", + "advanced": "Avanzado", + "regional": "Regional", + "about": "Acerca de", + "login": "Iniciar sesión", + "logout": "Cerrar sesión", + "manage": "Administrar", + "themes": "Temas", + "prev-page": "Pag. anterior", + "next-page": "Pag. siguiente", + "configure-plugin": "Configurar plugin", + "confirm-delete-this-action-cannot-be-undone": "Confirmar eliminacion, esta operacion no se puede deshacer.", + "site-title": "Titulo del sitio", + "site-slogan": "Slogan del sitio", + "site-description": "Descripcion del sitio", + "footer-text": "Texto de pie de pagina", + "posts-per-page": "Posts por pagina", + "site-url": "URL del sitio", + "writting-settings": "Ajustes de redaccion", + "url-filters": "Filtros URL", + "page": "Pagina", + "pages": "Paginas", + "home": "Inicio", + "welcome-back": "Bienvenido", + "language": "Lenguage", + "website": "Sitio web", + "timezone": "Zona horaria", + "locale": "Locale", + "new-post": "Nuevo post", + "new-page": "Nueva pagina", + "html-and-markdown-code-supported": "Codigo HTML y Markdown soportado", + "manage-posts": "Administrar posts", + "published-date": "Fecha de publicacion", + "modified-date": "Fecha de modificacion", + "empty-title": "Titulo vacio", + "plugins": "Plugins", + "install-plugin": "Instalar plugin", + "uninstall-plugin": "Desinstalar plugin", + "new-password": "Nueva contraseña", + "edit-user": "Editar usuario", + "publish-now": "Publicar", + "first-name": "Nombre", + "last-name": "Apellido", + "bludit-version": "Bludit version", + "powered-by": "Corriendo con", + "recent-posts": "Posts recientes", + "manage-pages": "Administrar paginas", + "advanced-options": "Opciones avanzadas", + "user-deleted": "Usuario eliminado", + "page-added-successfully": "Página agregada con éxito", + "post-added-successfully": "Post agregado con éxito ", + "the-post-has-been-deleted-successfully": "El post fue eliminado con exito", + "the-page-has-been-deleted-successfully": "La pagina fue eliminada con exito", + "username-or-password-incorrect": "Usuario o contraseña icorrectos", + "database-regenerated": "Base de datos regenerada", + "the-changes-have-been-saved": "Los cambios fueron guardados", + "enable-more-features-at": "Habilitar más funciones en", + "username-already-exists": "El usuario ya existe", + "username-field-is-empty": "El campo usuario esta vacio", + "the-password-and-confirmation-password-do-not-match":"Las contraseña no coiniciden", + "user-has-been-added-successfully": "El usuario fue creado con exito", + "you-do-not-have-sufficient-permissions": "No tiene suficientes permisos para acceder a esta pagina, contacte al administrador.", + "settings-advanced-writting-settings": "Ajustes->Avanzado->Ajustes de redaccion", + "new-posts-and-pages-synchronized": "Nuevos posts y paginas sincronizados.", + "you-can-choose-the-users-privilege": "You can choose the user's privilege. The editor role only can write pages and posts.", + "email-will-not-be-publicly-displayed": "Email will not be publicly displayed. Recommended for recovery password and notifications.", + "use-this-field-to-name-your-site": "Use this field to name your site, it will appear at the top of every page of your site.", + "use-this-field-to-add-a-catchy-prhase": "Use this field to add a catchy prhase on your site.", + "you-can-add-a-site-description-to-provide": "You can add a site description to provide a short bio or description of your site.", + "you-can-add-a-small-text-on-the-bottom": "You can add a small text on the bottom of every page. eg: copyright, owner, dates, etc.", + "number-of-posts-to-show-per-page": "Number of posts to show per page.", + "the-url-of-your-site": "The URL of your site.", + "add-or-edit-description-tags-or": "Add or edit description, tags or modify the friendly URL.", + "select-your-sites-language": "Seleccione el lenguage de su sitio.", + "select-a-timezone-for-a-correct": "Select a timezone for a correct date/time display on your site.", + "you-can-use-this-field-to-define-a-set-of": "You can use this field to define a set of parameters related to the languege, country and special preferences.", + "you-can-modify-the-url-which-identifies":"You can modify the URL which identifies a page or post using human-readable keywords. No more than 150 characters.", + "this-field-can-help-describe-the-content": "This field can help describe the content in a few words. No more than 150 characters.", + "write-the-tags-separeted-by-comma": "Write the tags separeted by comma. eg: tag1, tag2, tag3", + "delete-the-user-and-all-its-posts":"Delete the user and all its posts", + "delete-the-user-and-associate-its-posts-to-admin-user": "Delete the user and associate its posts to admin user", + "read-more": "Leer mas", + "show-blog": "Mostrar blog", + "default-home-page": "Pagina de inicio predeterminada", + "version": "Version", + "there-are-no-drafts": "No hay borradores.", + "create-a-new-article-for-your-blog":"Create a new article for your blog.", + "create-a-new-page-for-your-website":"Create a new page for your website.", + "invite-a-friend-to-collaborate-on-your-website":"Invite a friend to collaborate on your website.", + "change-your-language-and-region-settings":"Change your language and region settings.", + "language-and-timezone":"Lenguage y zona horaria", + "author": "Autor", + "start-here": "Comience aqui", + "install-theme": "Instalar tema", + "first-post": "Primer post", + "congratulations-you-have-successfully-installed-your-bludit": "Congratulations you have successfully installed your **Bludit**", + "whats-next": "Que sigue", + "manage-your-bludit-from-the-admin-panel": "Manage your Bludit from the [admin area](./admin/)", + "follow-bludit-on": "Siga Bludit en", + "visit-the-support-forum": "Visite el [foro](http://forum.bludit.com) para soporte", + "read-the-documentation-for-more-information": "Lea la [documentacion](http://docs.bludit.com) para mas informacion", + "share-with-your-friends-and-enjoy": "Comparti con tus amigos y a disfrutar", + "the-page-has-not-been-found": "La pagina no fue encontrada.", + "error": "Error" } \ No newline at end of file diff --git a/languages/fr_FR.json b/languages/fr_FR.json index 9b2c0524..4273d6a8 100755 --- a/languages/fr_FR.json +++ b/languages/fr_FR.json @@ -47,7 +47,6 @@ "about": "À Propos", "login": "S’identifier", "logout": "Quitter la session", - "dasbhoard": "Tab. de Bord", "manage": "Gestion de contenu", "themes": "Thèmes", "prev-page": "Précédente", diff --git a/languages/ja_JP.json b/languages/ja_JP.json index 6b98a392..d68c7aec 100644 --- a/languages/ja_JP.json +++ b/languages/ja_JP.json @@ -46,7 +46,6 @@ "about": "Bluditについて", "login": "ログイン", "logout": "ログアウト", - "dasbhoard": "ダッシュボード", "manage": "管理", "themes": "テーマ", "configure-plugin": "プラグインの設定", diff --git a/languages/ru_RU.json b/languages/ru_RU.json index 11a11fe1..c21e1551 100644 --- a/languages/ru_RU.json +++ b/languages/ru_RU.json @@ -46,7 +46,6 @@ "about": "О системе", "login": "Войти", "logout": "Выйти", - "dasbhoard": "Панель управления", "manage": "Управление", "themes": "Темы", "configure-plugin": "Настройка плагина", diff --git a/plugins/maintancemode/language/en_US.json b/plugins/maintancemode/language/en_US.json new file mode 100755 index 00000000..d57a2d40 --- /dev/null +++ b/plugins/maintancemode/language/en_US.json @@ -0,0 +1,15 @@ +{ + "plugin-data": + { + "name": "Maintenance mode", + "description": "Set your site on maintenance mode, you can access to admin area.", + "author": "Bludit", + "email": "", + "website": "http://www.bludit.com", + "version": "0.1", + "releaseDate": "2015-08-02" + }, + + "enable-maintence-mode": "Enable maintence mode", + "message": "Message" +} \ No newline at end of file diff --git a/plugins/maintancemode/plugin.php b/plugins/maintancemode/plugin.php new file mode 100755 index 00000000..a40048bd --- /dev/null +++ b/plugins/maintancemode/plugin.php @@ -0,0 +1,36 @@ +dbFields = array( + 'enable'=>true, + 'message'=>'Temporarily down for maintenance.' + ); + } + + public function form() + { + global $Language; + + $html = '
'; + $html .= 'getDbField('enable')?'checked':'').'>'; + $html .= ''; + $html .= '
'; + + $html .= '
'; + $html .= ''; + $html .= ''; + $html .= '
'; + + return $html; + } + + public function beforeSiteLoad() + { + if($this->getDbField('enable')) { + exit( $this->getDbField('message') ); + } + } +} diff --git a/plugins/opengraph/plugin.php b/plugins/opengraph/plugin.php index 158c0ed8..b127f103 100644 --- a/plugins/opengraph/plugin.php +++ b/plugins/opengraph/plugin.php @@ -2,11 +2,11 @@ class pluginOpenGraph extends Plugin { - public function onSiteHead() + public function siteHead() { global $Url, $Site; global $Post, $Page; - + $og = array( 'locale' =>$Site->locale(), 'type' =>'website', diff --git a/plugins/pages/plugin.php b/plugins/pages/plugin.php index 0b364e29..6c7b8157 100755 --- a/plugins/pages/plugin.php +++ b/plugins/pages/plugin.php @@ -27,7 +27,7 @@ class pluginPages extends Plugin { return $html; } - public function onSiteSidebar() + public function siteSidebar() { global $Language; global $pagesParents; @@ -47,21 +47,24 @@ class pluginPages extends Plugin { foreach($parents as $parent) { - // Print the parent - $html .= '
  • '.$parent->title().'
  • '; - - // Check if the parent hash children - if(isset($pagesParents[$parent->key()])) + if($Site->homepage()!==$parent->key()) { - $children = $pagesParents[$parent->key()]; + // Print the parent + $html .= '
  • '.$parent->title().'
  • '; - // Print the children - $html .= '
  • '; } } diff --git a/plugins/tinymce/plugin.php b/plugins/tinymce/plugin.php index aa647d99..cf2ceeca 100755 --- a/plugins/tinymce/plugin.php +++ b/plugins/tinymce/plugin.php @@ -34,7 +34,7 @@ class pluginTinymce extends Plugin { return $html; } - public function onAdminHead() + public function adminHead() { global $Language; global $Site; @@ -55,7 +55,7 @@ class pluginTinymce extends Plugin { return $html; } - public function onAdminBodyEnd() + public function adminBodyEnd() { global $Language; global $Site; diff --git a/plugins/tinymce/tinymce/langs/readme.md b/plugins/tinymce/tinymce/langs/readme.md deleted file mode 100755 index a52bf03f..00000000 --- a/plugins/tinymce/tinymce/langs/readme.md +++ /dev/null @@ -1,3 +0,0 @@ -This is where language files should be placed. - -Please DO NOT translate these directly use this service: https://www.transifex.com/projects/p/tinymce/ diff --git a/themes/eventually/LICENSE.txt b/themes/eventually/LICENSE.txt deleted file mode 100644 index d447b560..00000000 --- a/themes/eventually/LICENSE.txt +++ /dev/null @@ -1,63 +0,0 @@ -Creative Commons Attribution 3.0 Unported -http://creativecommons.org/licenses/by/3.0/ - -License - -THE WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS OF THIS CREATIVE COMMONS PUBLIC LICENSE ("CCPL" OR "LICENSE"). THE WORK IS PROTECTED BY COPYRIGHT AND/OR OTHER APPLICABLE LAW. ANY USE OF THE WORK OTHER THAN AS AUTHORIZED UNDER THIS LICENSE OR COPYRIGHT LAW IS PROHIBITED. - -BY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND AGREE TO BE BOUND BY THE TERMS OF THIS LICENSE. TO THE EXTENT THIS LICENSE MAY BE CONSIDERED TO BE A CONTRACT, THE LICENSOR GRANTS YOU THE RIGHTS CONTAINED HERE IN CONSIDERATION OF YOUR ACCEPTANCE OF SUCH TERMS AND CONDITIONS. - -1. Definitions - - 1. "Adaptation" means a work based upon the Work, or upon the Work and other pre-existing works, such as a translation, adaptation, derivative work, arrangement of music or other alterations of a literary or artistic work, or phonogram or performance and includes cinematographic adaptations or any other form in which the Work may be recast, transformed, or adapted including in any form recognizably derived from the original, except that a work that constitutes a Collection will not be considered an Adaptation for the purpose of this License. For the avoidance of doubt, where the Work is a musical work, performance or phonogram, the synchronization of the Work in timed-relation with a moving image ("synching") will be considered an Adaptation for the purpose of this License. - 2. "Collection" means a collection of literary or artistic works, such as encyclopedias and anthologies, or performances, phonograms or broadcasts, or other works or subject matter other than works listed in Section 1(f) below, which, by reason of the selection and arrangement of their contents, constitute intellectual creations, in which the Work is included in its entirety in unmodified form along with one or more other contributions, each constituting separate and independent works in themselves, which together are assembled into a collective whole. A work that constitutes a Collection will not be considered an Adaptation (as defined above) for the purposes of this License. - 3. "Distribute" means to make available to the public the original and copies of the Work or Adaptation, as appropriate, through sale or other transfer of ownership. - 4. "Licensor" means the individual, individuals, entity or entities that offer(s) the Work under the terms of this License. - 5. "Original Author" means, in the case of a literary or artistic work, the individual, individuals, entity or entities who created the Work or if no individual or entity can be identified, the publisher; and in addition (i) in the case of a performance the actors, singers, musicians, dancers, and other persons who act, sing, deliver, declaim, play in, interpret or otherwise perform literary or artistic works or expressions of folklore; (ii) in the case of a phonogram the producer being the person or legal entity who first fixes the sounds of a performance or other sounds; and, (iii) in the case of broadcasts, the organization that transmits the broadcast. - 6. "Work" means the literary and/or artistic work offered under the terms of this License including without limitation any production in the literary, scientific and artistic domain, whatever may be the mode or form of its expression including digital form, such as a book, pamphlet and other writing; a lecture, address, sermon or other work of the same nature; a dramatic or dramatico-musical work; a choreographic work or entertainment in dumb show; a musical composition with or without words; a cinematographic work to which are assimilated works expressed by a process analogous to cinematography; a work of drawing, painting, architecture, sculpture, engraving or lithography; a photographic work to which are assimilated works expressed by a process analogous to photography; a work of applied art; an illustration, map, plan, sketch or three-dimensional work relative to geography, topography, architecture or science; a performance; a broadcast; a phonogram; a compilation of data to the extent it is protected as a copyrightable work; or a work performed by a variety or circus performer to the extent it is not otherwise considered a literary or artistic work. - 7. "You" means an individual or entity exercising rights under this License who has not previously violated the terms of this License with respect to the Work, or who has received express permission from the Licensor to exercise rights under this License despite a previous violation. - 8. "Publicly Perform" means to perform public recitations of the Work and to communicate to the public those public recitations, by any means or process, including by wire or wireless means or public digital performances; to make available to the public Works in such a way that members of the public may access these Works from a place and at a place individually chosen by them; to perform the Work to the public by any means or process and the communication to the public of the performances of the Work, including by public digital performance; to broadcast and rebroadcast the Work by any means including signs, sounds or images. - 9. "Reproduce" means to make copies of the Work by any means including without limitation by sound or visual recordings and the right of fixation and reproducing fixations of the Work, including storage of a protected performance or phonogram in digital form or other electronic medium. - -2. Fair Dealing Rights. Nothing in this License is intended to reduce, limit, or restrict any uses free from copyright or rights arising from limitations or exceptions that are provided for in connection with the copyright protection under copyright law or other applicable laws. - -3. License Grant. Subject to the terms and conditions of this License, Licensor hereby grants You a worldwide, royalty-free, non-exclusive, perpetual (for the duration of the applicable copyright) license to exercise the rights in the Work as stated below: - - 1. to Reproduce the Work, to incorporate the Work into one or more Collections, and to Reproduce the Work as incorporated in the Collections; - 2. to create and Reproduce Adaptations provided that any such Adaptation, including any translation in any medium, takes reasonable steps to clearly label, demarcate or otherwise identify that changes were made to the original Work. For example, a translation could be marked "The original work was translated from English to Spanish," or a modification could indicate "The original work has been modified."; - 3. to Distribute and Publicly Perform the Work including as incorporated in Collections; and, - 4. to Distribute and Publicly Perform Adaptations. - 5. - - For the avoidance of doubt: - 1. Non-waivable Compulsory License Schemes. In those jurisdictions in which the right to collect royalties through any statutory or compulsory licensing scheme cannot be waived, the Licensor reserves the exclusive right to collect such royalties for any exercise by You of the rights granted under this License; - 2. Waivable Compulsory License Schemes. In those jurisdictions in which the right to collect royalties through any statutory or compulsory licensing scheme can be waived, the Licensor waives the exclusive right to collect such royalties for any exercise by You of the rights granted under this License; and, - 3. Voluntary License Schemes. The Licensor waives the right to collect royalties, whether individually or, in the event that the Licensor is a member of a collecting society that administers voluntary licensing schemes, via that society, from any exercise by You of the rights granted under this License. - -The above rights may be exercised in all media and formats whether now known or hereafter devised. The above rights include the right to make such modifications as are technically necessary to exercise the rights in other media and formats. Subject to Section 8(f), all rights not expressly granted by Licensor are hereby reserved. - -4. Restrictions. The license granted in Section 3 above is expressly made subject to and limited by the following restrictions: - - 1. You may Distribute or Publicly Perform the Work only under the terms of this License. You must include a copy of, or the Uniform Resource Identifier (URI) for, this License with every copy of the Work You Distribute or Publicly Perform. You may not offer or impose any terms on the Work that restrict the terms of this License or the ability of the recipient of the Work to exercise the rights granted to that recipient under the terms of the License. You may not sublicense the Work. You must keep intact all notices that refer to this License and to the disclaimer of warranties with every copy of the Work You Distribute or Publicly Perform. When You Distribute or Publicly Perform the Work, You may not impose any effective technological measures on the Work that restrict the ability of a recipient of the Work from You to exercise the rights granted to that recipient under the terms of the License. This Section 4(a) applies to the Work as incorporated in a Collection, but this does not require the Collection apart from the Work itself to be made subject to the terms of this License. If You create a Collection, upon notice from any Licensor You must, to the extent practicable, remove from the Collection any credit as required by Section 4(b), as requested. If You create an Adaptation, upon notice from any Licensor You must, to the extent practicable, remove from the Adaptation any credit as required by Section 4(b), as requested. - 2. If You Distribute, or Publicly Perform the Work or any Adaptations or Collections, You must, unless a request has been made pursuant to Section 4(a), keep intact all copyright notices for the Work and provide, reasonable to the medium or means You are utilizing: (i) the name of the Original Author (or pseudonym, if applicable) if supplied, and/or if the Original Author and/or Licensor designate another party or parties (e.g., a sponsor institute, publishing entity, journal) for attribution ("Attribution Parties") in Licensor's copyright notice, terms of service or by other reasonable means, the name of such party or parties; (ii) the title of the Work if supplied; (iii) to the extent reasonably practicable, the URI, if any, that Licensor specifies to be associated with the Work, unless such URI does not refer to the copyright notice or licensing information for the Work; and (iv) , consistent with Section 3(b), in the case of an Adaptation, a credit identifying the use of the Work in the Adaptation (e.g., "French translation of the Work by Original Author," or "Screenplay based on original Work by Original Author"). The credit required by this Section 4 (b) may be implemented in any reasonable manner; provided, however, that in the case of a Adaptation or Collection, at a minimum such credit will appear, if a credit for all contributing authors of the Adaptation or Collection appears, then as part of these credits and in a manner at least as prominent as the credits for the other contributing authors. For the avoidance of doubt, You may only use the credit required by this Section for the purpose of attribution in the manner set out above and, by exercising Your rights under this License, You may not implicitly or explicitly assert or imply any connection with, sponsorship or endorsement by the Original Author, Licensor and/or Attribution Parties, as appropriate, of You or Your use of the Work, without the separate, express prior written permission of the Original Author, Licensor and/or Attribution Parties. - 3. Except as otherwise agreed in writing by the Licensor or as may be otherwise permitted by applicable law, if You Reproduce, Distribute or Publicly Perform the Work either by itself or as part of any Adaptations or Collections, You must not distort, mutilate, modify or take other derogatory action in relation to the Work which would be prejudicial to the Original Author's honor or reputation. Licensor agrees that in those jurisdictions (e.g. Japan), in which any exercise of the right granted in Section 3(b) of this License (the right to make Adaptations) would be deemed to be a distortion, mutilation, modification or other derogatory action prejudicial to the Original Author's honor and reputation, the Licensor will waive or not assert, as appropriate, this Section, to the fullest extent permitted by the applicable national law, to enable You to reasonably exercise Your right under Section 3(b) of this License (right to make Adaptations) but not otherwise. - -5. Representations, Warranties and Disclaimer - -UNLESS OTHERWISE MUTUALLY AGREED TO BY THE PARTIES IN WRITING, LICENSOR OFFERS THE WORK AS-IS AND MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND CONCERNING THE WORK, EXPRESS, IMPLIED, STATUTORY OR OTHERWISE, INCLUDING, WITHOUT LIMITATION, WARRANTIES OF TITLE, MERCHANTIBILITY, FITNESS FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR THE ABSENCE OF LATENT OR OTHER DEFECTS, ACCURACY, OR THE PRESENCE OF ABSENCE OF ERRORS, WHETHER OR NOT DISCOVERABLE. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OF IMPLIED WARRANTIES, SO SUCH EXCLUSION MAY NOT APPLY TO YOU. - -6. Limitation on Liability. EXCEPT TO THE EXTENT REQUIRED BY APPLICABLE LAW, IN NO EVENT WILL LICENSOR BE LIABLE TO YOU ON ANY LEGAL THEORY FOR ANY SPECIAL, INCIDENTAL, CONSEQUENTIAL, PUNITIVE OR EXEMPLARY DAMAGES ARISING OUT OF THIS LICENSE OR THE USE OF THE WORK, EVEN IF LICENSOR HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -7. Termination - - 1. This License and the rights granted hereunder will terminate automatically upon any breach by You of the terms of this License. Individuals or entities who have received Adaptations or Collections from You under this License, however, will not have their licenses terminated provided such individuals or entities remain in full compliance with those licenses. Sections 1, 2, 5, 6, 7, and 8 will survive any termination of this License. - 2. Subject to the above terms and conditions, the license granted here is perpetual (for the duration of the applicable copyright in the Work). Notwithstanding the above, Licensor reserves the right to release the Work under different license terms or to stop distributing the Work at any time; provided, however that any such election will not serve to withdraw this License (or any other license that has been, or is required to be, granted under the terms of this License), and this License will continue in full force and effect unless terminated as stated above. - -8. Miscellaneous - - 1. Each time You Distribute or Publicly Perform the Work or a Collection, the Licensor offers to the recipient a license to the Work on the same terms and conditions as the license granted to You under this License. - 2. Each time You Distribute or Publicly Perform an Adaptation, Licensor offers to the recipient a license to the original Work on the same terms and conditions as the license granted to You under this License. - 3. If any provision of this License is invalid or unenforceable under applicable law, it shall not affect the validity or enforceability of the remainder of the terms of this License, and without further action by the parties to this agreement, such provision shall be reformed to the minimum extent necessary to make such provision valid and enforceable. - 4. No term or provision of this License shall be deemed waived and no breach consented to unless such waiver or consent shall be in writing and signed by the party to be charged with such waiver or consent. - 5. This License constitutes the entire agreement between the parties with respect to the Work licensed here. There are no understandings, agreements or representations with respect to the Work not specified here. Licensor shall not be bound by any additional provisions that may appear in any communication from You. This License may not be modified without the mutual written agreement of the Licensor and You. - 6. The rights granted under, and the subject matter referenced, in this License were drafted utilizing the terminology of the Berne Convention for the Protection of Literary and Artistic Works (as amended on September 28, 1979), the Rome Convention of 1961, the WIPO Copyright Treaty of 1996, the WIPO Performances and Phonograms Treaty of 1996 and the Universal Copyright Convention (as revised on July 24, 1971). These rights and subject matter take effect in the relevant jurisdiction in which the License terms are sought to be enforced according to the corresponding provisions of the implementation of those treaty provisions in the applicable national law. If the standard suite of rights granted under applicable copyright law includes additional rights not granted under this License, such additional rights are deemed to be included in the License; this License is not intended to restrict the license of any rights under applicable law. diff --git a/themes/eventually/README.txt b/themes/eventually/README.txt deleted file mode 100644 index fe84417f..00000000 --- a/themes/eventually/README.txt +++ /dev/null @@ -1,69 +0,0 @@ -Eventually by HTML5 UP -html5up.net | @n33co -Free for personal and commercial use under the CCA 3.0 license (html5up.net/license) - - -Just a simple placeholder template for your kickass app/product/startup/whatever until it -launches. Includes an email signup form and a cool slideshow background (more on both below). - -Demo images* courtesy of Unsplash, a radtastic collection of CC0 (public domain) images -you can use for pretty much whatever. - -(* = not included) - -AJ -n33.co @n33co dribbble.com/n33 - - -Signup Form: - - The signup form won't actually do anything (other than report back with a "thank you" message) - until you tie it to either a third party service (eg. MailChimp) or your own hosted solution. - In either case, there are two ways to go: - - 1. The conventional (non-AJAX) way, which pretty much comes down to pointing the form's "action" - attribute to your service/script URL. If you go this route, remove the entire "Signup Form" code - block from assets/js/main.js (since it's not needed for this approach). - - -or- - - 2. The AJAX way. How you set this up is largely dependent on the service/solution you're using - so you'll need to consult their/its documentation. However, I have included some basic code - (under "Signup Form" in assets/js/main.js) that will at least let you interact with the - form itself. - - -Slideshow Background: - - This is pretty straightforward, but there are two JS settings you'll want to be aware of - (found under "Slideshow Background" in assets/js/main.js): - - images - - The list of images to cycle through, given in the following format: - - 'url': 'alignment' - - Where 'url' is the image (eg. 'images/foo.jpg', 'http://somewhere.else/foo.jpg'), and - 'alignment' is how the image should be vertically aligned ('top', 'center', or 'bottom'). - - Note: Browsers that don't support CSS transitions (like IE<=9) will only see the first image. - - delay - - How long to wait between transitions (in ms). Note that this must be at least twice as long as - the transition speed itself (currently 3 seconds). - - -Credits: - - Demo Images: - Unsplash (unsplash.com) - - Icons: - Font Awesome (fortawesome.github.com/Font-Awesome) - - Other: - html5shiv.js (@afarkas @jdalton @jon_neal @rem) - Respond.js (j.mp/respondjs) - Skel (skel.io) \ No newline at end of file diff --git a/themes/eventually/assets/.sass-cache/3e2984aa8dc687413fe04d07a56864b0bc352e02/_bg.scssc b/themes/eventually/assets/.sass-cache/3e2984aa8dc687413fe04d07a56864b0bc352e02/_bg.scssc deleted file mode 100644 index 91473268..00000000 Binary files a/themes/eventually/assets/.sass-cache/3e2984aa8dc687413fe04d07a56864b0bc352e02/_bg.scssc and /dev/null differ diff --git a/themes/eventually/assets/.sass-cache/3e2984aa8dc687413fe04d07a56864b0bc352e02/_page.scssc b/themes/eventually/assets/.sass-cache/3e2984aa8dc687413fe04d07a56864b0bc352e02/_page.scssc deleted file mode 100644 index c7a731ae..00000000 Binary files a/themes/eventually/assets/.sass-cache/3e2984aa8dc687413fe04d07a56864b0bc352e02/_page.scssc and /dev/null differ diff --git a/themes/eventually/assets/.sass-cache/3e2984aa8dc687413fe04d07a56864b0bc352e02/_typography.scssc b/themes/eventually/assets/.sass-cache/3e2984aa8dc687413fe04d07a56864b0bc352e02/_typography.scssc deleted file mode 100644 index 4cd27b9c..00000000 Binary files a/themes/eventually/assets/.sass-cache/3e2984aa8dc687413fe04d07a56864b0bc352e02/_typography.scssc and /dev/null differ diff --git a/themes/eventually/assets/.sass-cache/416ef32e70133cd421b96ba452eb2ac786ea0d19/_banner.scssc b/themes/eventually/assets/.sass-cache/416ef32e70133cd421b96ba452eb2ac786ea0d19/_banner.scssc deleted file mode 100644 index b867878f..00000000 Binary files a/themes/eventually/assets/.sass-cache/416ef32e70133cd421b96ba452eb2ac786ea0d19/_banner.scssc and /dev/null differ diff --git a/themes/eventually/assets/.sass-cache/416ef32e70133cd421b96ba452eb2ac786ea0d19/_bg.scssc b/themes/eventually/assets/.sass-cache/416ef32e70133cd421b96ba452eb2ac786ea0d19/_bg.scssc deleted file mode 100644 index 73f74d5b..00000000 Binary files a/themes/eventually/assets/.sass-cache/416ef32e70133cd421b96ba452eb2ac786ea0d19/_bg.scssc and /dev/null differ diff --git a/themes/eventually/assets/.sass-cache/416ef32e70133cd421b96ba452eb2ac786ea0d19/_footer.scssc b/themes/eventually/assets/.sass-cache/416ef32e70133cd421b96ba452eb2ac786ea0d19/_footer.scssc deleted file mode 100644 index 955621d7..00000000 Binary files a/themes/eventually/assets/.sass-cache/416ef32e70133cd421b96ba452eb2ac786ea0d19/_footer.scssc and /dev/null differ diff --git a/themes/eventually/assets/.sass-cache/416ef32e70133cd421b96ba452eb2ac786ea0d19/_header.scssc b/themes/eventually/assets/.sass-cache/416ef32e70133cd421b96ba452eb2ac786ea0d19/_header.scssc deleted file mode 100644 index 96996576..00000000 Binary files a/themes/eventually/assets/.sass-cache/416ef32e70133cd421b96ba452eb2ac786ea0d19/_header.scssc and /dev/null differ diff --git a/themes/eventually/assets/.sass-cache/416ef32e70133cd421b96ba452eb2ac786ea0d19/_main.scssc b/themes/eventually/assets/.sass-cache/416ef32e70133cd421b96ba452eb2ac786ea0d19/_main.scssc deleted file mode 100644 index cbb56cc2..00000000 Binary files a/themes/eventually/assets/.sass-cache/416ef32e70133cd421b96ba452eb2ac786ea0d19/_main.scssc and /dev/null differ diff --git a/themes/eventually/assets/.sass-cache/416ef32e70133cd421b96ba452eb2ac786ea0d19/_nav.scssc b/themes/eventually/assets/.sass-cache/416ef32e70133cd421b96ba452eb2ac786ea0d19/_nav.scssc deleted file mode 100644 index 3d57eaa3..00000000 Binary files a/themes/eventually/assets/.sass-cache/416ef32e70133cd421b96ba452eb2ac786ea0d19/_nav.scssc and /dev/null differ diff --git a/themes/eventually/assets/.sass-cache/416ef32e70133cd421b96ba452eb2ac786ea0d19/_notify-form.scssc b/themes/eventually/assets/.sass-cache/416ef32e70133cd421b96ba452eb2ac786ea0d19/_notify-form.scssc deleted file mode 100644 index 9e07877b..00000000 Binary files a/themes/eventually/assets/.sass-cache/416ef32e70133cd421b96ba452eb2ac786ea0d19/_notify-form.scssc and /dev/null differ diff --git a/themes/eventually/assets/.sass-cache/416ef32e70133cd421b96ba452eb2ac786ea0d19/_signup-form.scssc b/themes/eventually/assets/.sass-cache/416ef32e70133cd421b96ba452eb2ac786ea0d19/_signup-form.scssc deleted file mode 100644 index 4bca2e58..00000000 Binary files a/themes/eventually/assets/.sass-cache/416ef32e70133cd421b96ba452eb2ac786ea0d19/_signup-form.scssc and /dev/null differ diff --git a/themes/eventually/assets/.sass-cache/87a8ff9934eeff440c9c0c2118f6f51e865bd172/ie8.scssc b/themes/eventually/assets/.sass-cache/87a8ff9934eeff440c9c0c2118f6f51e865bd172/ie8.scssc deleted file mode 100644 index b5acf589..00000000 Binary files a/themes/eventually/assets/.sass-cache/87a8ff9934eeff440c9c0c2118f6f51e865bd172/ie8.scssc and /dev/null differ diff --git a/themes/eventually/assets/.sass-cache/87a8ff9934eeff440c9c0c2118f6f51e865bd172/ie9.scssc b/themes/eventually/assets/.sass-cache/87a8ff9934eeff440c9c0c2118f6f51e865bd172/ie9.scssc deleted file mode 100644 index b412646a..00000000 Binary files a/themes/eventually/assets/.sass-cache/87a8ff9934eeff440c9c0c2118f6f51e865bd172/ie9.scssc and /dev/null differ diff --git a/themes/eventually/assets/.sass-cache/87a8ff9934eeff440c9c0c2118f6f51e865bd172/main.scssc b/themes/eventually/assets/.sass-cache/87a8ff9934eeff440c9c0c2118f6f51e865bd172/main.scssc deleted file mode 100644 index 208eb0bc..00000000 Binary files a/themes/eventually/assets/.sass-cache/87a8ff9934eeff440c9c0c2118f6f51e865bd172/main.scssc and /dev/null differ diff --git a/themes/eventually/assets/.sass-cache/920148cb95073097b1ecc72cb5d5b888545b9cc7/_box.scssc b/themes/eventually/assets/.sass-cache/920148cb95073097b1ecc72cb5d5b888545b9cc7/_box.scssc deleted file mode 100644 index 712131bf..00000000 Binary files a/themes/eventually/assets/.sass-cache/920148cb95073097b1ecc72cb5d5b888545b9cc7/_box.scssc and /dev/null differ diff --git a/themes/eventually/assets/.sass-cache/920148cb95073097b1ecc72cb5d5b888545b9cc7/_button.scssc b/themes/eventually/assets/.sass-cache/920148cb95073097b1ecc72cb5d5b888545b9cc7/_button.scssc deleted file mode 100644 index be4b4955..00000000 Binary files a/themes/eventually/assets/.sass-cache/920148cb95073097b1ecc72cb5d5b888545b9cc7/_button.scssc and /dev/null differ diff --git a/themes/eventually/assets/.sass-cache/920148cb95073097b1ecc72cb5d5b888545b9cc7/_form.scssc b/themes/eventually/assets/.sass-cache/920148cb95073097b1ecc72cb5d5b888545b9cc7/_form.scssc deleted file mode 100644 index 73ce9189..00000000 Binary files a/themes/eventually/assets/.sass-cache/920148cb95073097b1ecc72cb5d5b888545b9cc7/_form.scssc and /dev/null differ diff --git a/themes/eventually/assets/.sass-cache/920148cb95073097b1ecc72cb5d5b888545b9cc7/_grid-demo.scssc b/themes/eventually/assets/.sass-cache/920148cb95073097b1ecc72cb5d5b888545b9cc7/_grid-demo.scssc deleted file mode 100644 index df567c98..00000000 Binary files a/themes/eventually/assets/.sass-cache/920148cb95073097b1ecc72cb5d5b888545b9cc7/_grid-demo.scssc and /dev/null differ diff --git a/themes/eventually/assets/.sass-cache/920148cb95073097b1ecc72cb5d5b888545b9cc7/_icon.scssc b/themes/eventually/assets/.sass-cache/920148cb95073097b1ecc72cb5d5b888545b9cc7/_icon.scssc deleted file mode 100644 index 713b1e8a..00000000 Binary files a/themes/eventually/assets/.sass-cache/920148cb95073097b1ecc72cb5d5b888545b9cc7/_icon.scssc and /dev/null differ diff --git a/themes/eventually/assets/.sass-cache/920148cb95073097b1ecc72cb5d5b888545b9cc7/_image.scssc b/themes/eventually/assets/.sass-cache/920148cb95073097b1ecc72cb5d5b888545b9cc7/_image.scssc deleted file mode 100644 index 310575b4..00000000 Binary files a/themes/eventually/assets/.sass-cache/920148cb95073097b1ecc72cb5d5b888545b9cc7/_image.scssc and /dev/null differ diff --git a/themes/eventually/assets/.sass-cache/920148cb95073097b1ecc72cb5d5b888545b9cc7/_list.scssc b/themes/eventually/assets/.sass-cache/920148cb95073097b1ecc72cb5d5b888545b9cc7/_list.scssc deleted file mode 100644 index 89dba608..00000000 Binary files a/themes/eventually/assets/.sass-cache/920148cb95073097b1ecc72cb5d5b888545b9cc7/_list.scssc and /dev/null differ diff --git a/themes/eventually/assets/.sass-cache/920148cb95073097b1ecc72cb5d5b888545b9cc7/_section.scssc b/themes/eventually/assets/.sass-cache/920148cb95073097b1ecc72cb5d5b888545b9cc7/_section.scssc deleted file mode 100644 index 6eccdc3c..00000000 Binary files a/themes/eventually/assets/.sass-cache/920148cb95073097b1ecc72cb5d5b888545b9cc7/_section.scssc and /dev/null differ diff --git a/themes/eventually/assets/.sass-cache/920148cb95073097b1ecc72cb5d5b888545b9cc7/_table.scssc b/themes/eventually/assets/.sass-cache/920148cb95073097b1ecc72cb5d5b888545b9cc7/_table.scssc deleted file mode 100644 index 83eb9ecb..00000000 Binary files a/themes/eventually/assets/.sass-cache/920148cb95073097b1ecc72cb5d5b888545b9cc7/_table.scssc and /dev/null differ diff --git a/themes/eventually/assets/.sass-cache/a365a03aed6ff283a23b9df8af64a59cd9d80f02/_functions.scssc b/themes/eventually/assets/.sass-cache/a365a03aed6ff283a23b9df8af64a59cd9d80f02/_functions.scssc deleted file mode 100644 index 258e25de..00000000 Binary files a/themes/eventually/assets/.sass-cache/a365a03aed6ff283a23b9df8af64a59cd9d80f02/_functions.scssc and /dev/null differ diff --git a/themes/eventually/assets/.sass-cache/a365a03aed6ff283a23b9df8af64a59cd9d80f02/_mixins.scssc b/themes/eventually/assets/.sass-cache/a365a03aed6ff283a23b9df8af64a59cd9d80f02/_mixins.scssc deleted file mode 100644 index 82c4c8ca..00000000 Binary files a/themes/eventually/assets/.sass-cache/a365a03aed6ff283a23b9df8af64a59cd9d80f02/_mixins.scssc and /dev/null differ diff --git a/themes/eventually/assets/.sass-cache/a365a03aed6ff283a23b9df8af64a59cd9d80f02/_skel.scssc b/themes/eventually/assets/.sass-cache/a365a03aed6ff283a23b9df8af64a59cd9d80f02/_skel.scssc deleted file mode 100644 index 5f96e64e..00000000 Binary files a/themes/eventually/assets/.sass-cache/a365a03aed6ff283a23b9df8af64a59cd9d80f02/_skel.scssc and /dev/null differ diff --git a/themes/eventually/assets/.sass-cache/a365a03aed6ff283a23b9df8af64a59cd9d80f02/_vars.scssc b/themes/eventually/assets/.sass-cache/a365a03aed6ff283a23b9df8af64a59cd9d80f02/_vars.scssc deleted file mode 100644 index 109f49ed..00000000 Binary files a/themes/eventually/assets/.sass-cache/a365a03aed6ff283a23b9df8af64a59cd9d80f02/_vars.scssc and /dev/null differ diff --git a/themes/eventually/assets/css/font-awesome.min.css b/themes/eventually/assets/css/font-awesome.min.css deleted file mode 100644 index 24fcc04c..00000000 --- a/themes/eventually/assets/css/font-awesome.min.css +++ /dev/null @@ -1,4 +0,0 @@ -/*! - * Font Awesome 4.3.0 by @davegandy - http://fontawesome.io - @fontawesome - * License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License) - */@font-face{font-family:'FontAwesome';src:url('../fonts/fontawesome-webfont.eot?v=4.3.0');src:url('../fonts/fontawesome-webfont.eot?#iefix&v=4.3.0') format('embedded-opentype'),url('../fonts/fontawesome-webfont.woff2?v=4.3.0') format('woff2'),url('../fonts/fontawesome-webfont.woff?v=4.3.0') format('woff'),url('../fonts/fontawesome-webfont.ttf?v=4.3.0') format('truetype'),url('../fonts/fontawesome-webfont.svg?v=4.3.0#fontawesomeregular') format('svg');font-weight:normal;font-style:normal}.fa{display:inline-block;font:normal normal normal 14px/1 FontAwesome;font-size:inherit;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;transform:translate(0, 0)}.fa-lg{font-size:1.33333333em;line-height:.75em;vertical-align:-15%}.fa-2x{font-size:2em}.fa-3x{font-size:3em}.fa-4x{font-size:4em}.fa-5x{font-size:5em}.fa-fw{width:1.28571429em;text-align:center}.fa-ul{padding-left:0;margin-left:2.14285714em;list-style-type:none}.fa-ul>li{position:relative}.fa-li{position:absolute;left:-2.14285714em;width:2.14285714em;top:.14285714em;text-align:center}.fa-li.fa-lg{left:-1.85714286em}.fa-border{padding:.2em .25em .15em;border:solid .08em #eee;border-radius:.1em}.pull-right{float:right}.pull-left{float:left}.fa.pull-left{margin-right:.3em}.fa.pull-right{margin-left:.3em}.fa-spin{-webkit-animation:fa-spin 2s infinite linear;animation:fa-spin 2s infinite linear}.fa-pulse{-webkit-animation:fa-spin 1s infinite steps(8);animation:fa-spin 1s infinite steps(8)}@-webkit-keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}.fa-rotate-90{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=1);-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg);transform:rotate(90deg)}.fa-rotate-180{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=2);-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.fa-rotate-270{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=3);-webkit-transform:rotate(270deg);-ms-transform:rotate(270deg);transform:rotate(270deg)}.fa-flip-horizontal{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1);-webkit-transform:scale(-1, 1);-ms-transform:scale(-1, 1);transform:scale(-1, 1)}.fa-flip-vertical{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1);-webkit-transform:scale(1, -1);-ms-transform:scale(1, -1);transform:scale(1, -1)}:root .fa-rotate-90,:root .fa-rotate-180,:root .fa-rotate-270,:root .fa-flip-horizontal,:root .fa-flip-vertical{filter:none}.fa-stack{position:relative;display:inline-block;width:2em;height:2em;line-height:2em;vertical-align:middle}.fa-stack-1x,.fa-stack-2x{position:absolute;left:0;width:100%;text-align:center}.fa-stack-1x{line-height:inherit}.fa-stack-2x{font-size:2em}.fa-inverse{color:#fff}.fa-glass:before{content:"\f000"}.fa-music:before{content:"\f001"}.fa-search:before{content:"\f002"}.fa-envelope-o:before{content:"\f003"}.fa-heart:before{content:"\f004"}.fa-star:before{content:"\f005"}.fa-star-o:before{content:"\f006"}.fa-user:before{content:"\f007"}.fa-film:before{content:"\f008"}.fa-th-large:before{content:"\f009"}.fa-th:before{content:"\f00a"}.fa-th-list:before{content:"\f00b"}.fa-check:before{content:"\f00c"}.fa-remove:before,.fa-close:before,.fa-times:before{content:"\f00d"}.fa-search-plus:before{content:"\f00e"}.fa-search-minus:before{content:"\f010"}.fa-power-off:before{content:"\f011"}.fa-signal:before{content:"\f012"}.fa-gear:before,.fa-cog:before{content:"\f013"}.fa-trash-o:before{content:"\f014"}.fa-home:before{content:"\f015"}.fa-file-o:before{content:"\f016"}.fa-clock-o:before{content:"\f017"}.fa-road:before{content:"\f018"}.fa-download:before{content:"\f019"}.fa-arrow-circle-o-down:before{content:"\f01a"}.fa-arrow-circle-o-up:before{content:"\f01b"}.fa-inbox:before{content:"\f01c"}.fa-play-circle-o:before{content:"\f01d"}.fa-rotate-right:before,.fa-repeat:before{content:"\f01e"}.fa-refresh:before{content:"\f021"}.fa-list-alt:before{content:"\f022"}.fa-lock:before{content:"\f023"}.fa-flag:before{content:"\f024"}.fa-headphones:before{content:"\f025"}.fa-volume-off:before{content:"\f026"}.fa-volume-down:before{content:"\f027"}.fa-volume-up:before{content:"\f028"}.fa-qrcode:before{content:"\f029"}.fa-barcode:before{content:"\f02a"}.fa-tag:before{content:"\f02b"}.fa-tags:before{content:"\f02c"}.fa-book:before{content:"\f02d"}.fa-bookmark:before{content:"\f02e"}.fa-print:before{content:"\f02f"}.fa-camera:before{content:"\f030"}.fa-font:before{content:"\f031"}.fa-bold:before{content:"\f032"}.fa-italic:before{content:"\f033"}.fa-text-height:before{content:"\f034"}.fa-text-width:before{content:"\f035"}.fa-align-left:before{content:"\f036"}.fa-align-center:before{content:"\f037"}.fa-align-right:before{content:"\f038"}.fa-align-justify:before{content:"\f039"}.fa-list:before{content:"\f03a"}.fa-dedent:before,.fa-outdent:before{content:"\f03b"}.fa-indent:before{content:"\f03c"}.fa-video-camera:before{content:"\f03d"}.fa-photo:before,.fa-image:before,.fa-picture-o:before{content:"\f03e"}.fa-pencil:before{content:"\f040"}.fa-map-marker:before{content:"\f041"}.fa-adjust:before{content:"\f042"}.fa-tint:before{content:"\f043"}.fa-edit:before,.fa-pencil-square-o:before{content:"\f044"}.fa-share-square-o:before{content:"\f045"}.fa-check-square-o:before{content:"\f046"}.fa-arrows:before{content:"\f047"}.fa-step-backward:before{content:"\f048"}.fa-fast-backward:before{content:"\f049"}.fa-backward:before{content:"\f04a"}.fa-play:before{content:"\f04b"}.fa-pause:before{content:"\f04c"}.fa-stop:before{content:"\f04d"}.fa-forward:before{content:"\f04e"}.fa-fast-forward:before{content:"\f050"}.fa-step-forward:before{content:"\f051"}.fa-eject:before{content:"\f052"}.fa-chevron-left:before{content:"\f053"}.fa-chevron-right:before{content:"\f054"}.fa-plus-circle:before{content:"\f055"}.fa-minus-circle:before{content:"\f056"}.fa-times-circle:before{content:"\f057"}.fa-check-circle:before{content:"\f058"}.fa-question-circle:before{content:"\f059"}.fa-info-circle:before{content:"\f05a"}.fa-crosshairs:before{content:"\f05b"}.fa-times-circle-o:before{content:"\f05c"}.fa-check-circle-o:before{content:"\f05d"}.fa-ban:before{content:"\f05e"}.fa-arrow-left:before{content:"\f060"}.fa-arrow-right:before{content:"\f061"}.fa-arrow-up:before{content:"\f062"}.fa-arrow-down:before{content:"\f063"}.fa-mail-forward:before,.fa-share:before{content:"\f064"}.fa-expand:before{content:"\f065"}.fa-compress:before{content:"\f066"}.fa-plus:before{content:"\f067"}.fa-minus:before{content:"\f068"}.fa-asterisk:before{content:"\f069"}.fa-exclamation-circle:before{content:"\f06a"}.fa-gift:before{content:"\f06b"}.fa-leaf:before{content:"\f06c"}.fa-fire:before{content:"\f06d"}.fa-eye:before{content:"\f06e"}.fa-eye-slash:before{content:"\f070"}.fa-warning:before,.fa-exclamation-triangle:before{content:"\f071"}.fa-plane:before{content:"\f072"}.fa-calendar:before{content:"\f073"}.fa-random:before{content:"\f074"}.fa-comment:before{content:"\f075"}.fa-magnet:before{content:"\f076"}.fa-chevron-up:before{content:"\f077"}.fa-chevron-down:before{content:"\f078"}.fa-retweet:before{content:"\f079"}.fa-shopping-cart:before{content:"\f07a"}.fa-folder:before{content:"\f07b"}.fa-folder-open:before{content:"\f07c"}.fa-arrows-v:before{content:"\f07d"}.fa-arrows-h:before{content:"\f07e"}.fa-bar-chart-o:before,.fa-bar-chart:before{content:"\f080"}.fa-twitter-square:before{content:"\f081"}.fa-facebook-square:before{content:"\f082"}.fa-camera-retro:before{content:"\f083"}.fa-key:before{content:"\f084"}.fa-gears:before,.fa-cogs:before{content:"\f085"}.fa-comments:before{content:"\f086"}.fa-thumbs-o-up:before{content:"\f087"}.fa-thumbs-o-down:before{content:"\f088"}.fa-star-half:before{content:"\f089"}.fa-heart-o:before{content:"\f08a"}.fa-sign-out:before{content:"\f08b"}.fa-linkedin-square:before{content:"\f08c"}.fa-thumb-tack:before{content:"\f08d"}.fa-external-link:before{content:"\f08e"}.fa-sign-in:before{content:"\f090"}.fa-trophy:before{content:"\f091"}.fa-github-square:before{content:"\f092"}.fa-upload:before{content:"\f093"}.fa-lemon-o:before{content:"\f094"}.fa-phone:before{content:"\f095"}.fa-square-o:before{content:"\f096"}.fa-bookmark-o:before{content:"\f097"}.fa-phone-square:before{content:"\f098"}.fa-twitter:before{content:"\f099"}.fa-facebook-f:before,.fa-facebook:before{content:"\f09a"}.fa-github:before{content:"\f09b"}.fa-unlock:before{content:"\f09c"}.fa-credit-card:before{content:"\f09d"}.fa-rss:before{content:"\f09e"}.fa-hdd-o:before{content:"\f0a0"}.fa-bullhorn:before{content:"\f0a1"}.fa-bell:before{content:"\f0f3"}.fa-certificate:before{content:"\f0a3"}.fa-hand-o-right:before{content:"\f0a4"}.fa-hand-o-left:before{content:"\f0a5"}.fa-hand-o-up:before{content:"\f0a6"}.fa-hand-o-down:before{content:"\f0a7"}.fa-arrow-circle-left:before{content:"\f0a8"}.fa-arrow-circle-right:before{content:"\f0a9"}.fa-arrow-circle-up:before{content:"\f0aa"}.fa-arrow-circle-down:before{content:"\f0ab"}.fa-globe:before{content:"\f0ac"}.fa-wrench:before{content:"\f0ad"}.fa-tasks:before{content:"\f0ae"}.fa-filter:before{content:"\f0b0"}.fa-briefcase:before{content:"\f0b1"}.fa-arrows-alt:before{content:"\f0b2"}.fa-group:before,.fa-users:before{content:"\f0c0"}.fa-chain:before,.fa-link:before{content:"\f0c1"}.fa-cloud:before{content:"\f0c2"}.fa-flask:before{content:"\f0c3"}.fa-cut:before,.fa-scissors:before{content:"\f0c4"}.fa-copy:before,.fa-files-o:before{content:"\f0c5"}.fa-paperclip:before{content:"\f0c6"}.fa-save:before,.fa-floppy-o:before{content:"\f0c7"}.fa-square:before{content:"\f0c8"}.fa-navicon:before,.fa-reorder:before,.fa-bars:before{content:"\f0c9"}.fa-list-ul:before{content:"\f0ca"}.fa-list-ol:before{content:"\f0cb"}.fa-strikethrough:before{content:"\f0cc"}.fa-underline:before{content:"\f0cd"}.fa-table:before{content:"\f0ce"}.fa-magic:before{content:"\f0d0"}.fa-truck:before{content:"\f0d1"}.fa-pinterest:before{content:"\f0d2"}.fa-pinterest-square:before{content:"\f0d3"}.fa-google-plus-square:before{content:"\f0d4"}.fa-google-plus:before{content:"\f0d5"}.fa-money:before{content:"\f0d6"}.fa-caret-down:before{content:"\f0d7"}.fa-caret-up:before{content:"\f0d8"}.fa-caret-left:before{content:"\f0d9"}.fa-caret-right:before{content:"\f0da"}.fa-columns:before{content:"\f0db"}.fa-unsorted:before,.fa-sort:before{content:"\f0dc"}.fa-sort-down:before,.fa-sort-desc:before{content:"\f0dd"}.fa-sort-up:before,.fa-sort-asc:before{content:"\f0de"}.fa-envelope:before{content:"\f0e0"}.fa-linkedin:before{content:"\f0e1"}.fa-rotate-left:before,.fa-undo:before{content:"\f0e2"}.fa-legal:before,.fa-gavel:before{content:"\f0e3"}.fa-dashboard:before,.fa-tachometer:before{content:"\f0e4"}.fa-comment-o:before{content:"\f0e5"}.fa-comments-o:before{content:"\f0e6"}.fa-flash:before,.fa-bolt:before{content:"\f0e7"}.fa-sitemap:before{content:"\f0e8"}.fa-umbrella:before{content:"\f0e9"}.fa-paste:before,.fa-clipboard:before{content:"\f0ea"}.fa-lightbulb-o:before{content:"\f0eb"}.fa-exchange:before{content:"\f0ec"}.fa-cloud-download:before{content:"\f0ed"}.fa-cloud-upload:before{content:"\f0ee"}.fa-user-md:before{content:"\f0f0"}.fa-stethoscope:before{content:"\f0f1"}.fa-suitcase:before{content:"\f0f2"}.fa-bell-o:before{content:"\f0a2"}.fa-coffee:before{content:"\f0f4"}.fa-cutlery:before{content:"\f0f5"}.fa-file-text-o:before{content:"\f0f6"}.fa-building-o:before{content:"\f0f7"}.fa-hospital-o:before{content:"\f0f8"}.fa-ambulance:before{content:"\f0f9"}.fa-medkit:before{content:"\f0fa"}.fa-fighter-jet:before{content:"\f0fb"}.fa-beer:before{content:"\f0fc"}.fa-h-square:before{content:"\f0fd"}.fa-plus-square:before{content:"\f0fe"}.fa-angle-double-left:before{content:"\f100"}.fa-angle-double-right:before{content:"\f101"}.fa-angle-double-up:before{content:"\f102"}.fa-angle-double-down:before{content:"\f103"}.fa-angle-left:before{content:"\f104"}.fa-angle-right:before{content:"\f105"}.fa-angle-up:before{content:"\f106"}.fa-angle-down:before{content:"\f107"}.fa-desktop:before{content:"\f108"}.fa-laptop:before{content:"\f109"}.fa-tablet:before{content:"\f10a"}.fa-mobile-phone:before,.fa-mobile:before{content:"\f10b"}.fa-circle-o:before{content:"\f10c"}.fa-quote-left:before{content:"\f10d"}.fa-quote-right:before{content:"\f10e"}.fa-spinner:before{content:"\f110"}.fa-circle:before{content:"\f111"}.fa-mail-reply:before,.fa-reply:before{content:"\f112"}.fa-github-alt:before{content:"\f113"}.fa-folder-o:before{content:"\f114"}.fa-folder-open-o:before{content:"\f115"}.fa-smile-o:before{content:"\f118"}.fa-frown-o:before{content:"\f119"}.fa-meh-o:before{content:"\f11a"}.fa-gamepad:before{content:"\f11b"}.fa-keyboard-o:before{content:"\f11c"}.fa-flag-o:before{content:"\f11d"}.fa-flag-checkered:before{content:"\f11e"}.fa-terminal:before{content:"\f120"}.fa-code:before{content:"\f121"}.fa-mail-reply-all:before,.fa-reply-all:before{content:"\f122"}.fa-star-half-empty:before,.fa-star-half-full:before,.fa-star-half-o:before{content:"\f123"}.fa-location-arrow:before{content:"\f124"}.fa-crop:before{content:"\f125"}.fa-code-fork:before{content:"\f126"}.fa-unlink:before,.fa-chain-broken:before{content:"\f127"}.fa-question:before{content:"\f128"}.fa-info:before{content:"\f129"}.fa-exclamation:before{content:"\f12a"}.fa-superscript:before{content:"\f12b"}.fa-subscript:before{content:"\f12c"}.fa-eraser:before{content:"\f12d"}.fa-puzzle-piece:before{content:"\f12e"}.fa-microphone:before{content:"\f130"}.fa-microphone-slash:before{content:"\f131"}.fa-shield:before{content:"\f132"}.fa-calendar-o:before{content:"\f133"}.fa-fire-extinguisher:before{content:"\f134"}.fa-rocket:before{content:"\f135"}.fa-maxcdn:before{content:"\f136"}.fa-chevron-circle-left:before{content:"\f137"}.fa-chevron-circle-right:before{content:"\f138"}.fa-chevron-circle-up:before{content:"\f139"}.fa-chevron-circle-down:before{content:"\f13a"}.fa-html5:before{content:"\f13b"}.fa-css3:before{content:"\f13c"}.fa-anchor:before{content:"\f13d"}.fa-unlock-alt:before{content:"\f13e"}.fa-bullseye:before{content:"\f140"}.fa-ellipsis-h:before{content:"\f141"}.fa-ellipsis-v:before{content:"\f142"}.fa-rss-square:before{content:"\f143"}.fa-play-circle:before{content:"\f144"}.fa-ticket:before{content:"\f145"}.fa-minus-square:before{content:"\f146"}.fa-minus-square-o:before{content:"\f147"}.fa-level-up:before{content:"\f148"}.fa-level-down:before{content:"\f149"}.fa-check-square:before{content:"\f14a"}.fa-pencil-square:before{content:"\f14b"}.fa-external-link-square:before{content:"\f14c"}.fa-share-square:before{content:"\f14d"}.fa-compass:before{content:"\f14e"}.fa-toggle-down:before,.fa-caret-square-o-down:before{content:"\f150"}.fa-toggle-up:before,.fa-caret-square-o-up:before{content:"\f151"}.fa-toggle-right:before,.fa-caret-square-o-right:before{content:"\f152"}.fa-euro:before,.fa-eur:before{content:"\f153"}.fa-gbp:before{content:"\f154"}.fa-dollar:before,.fa-usd:before{content:"\f155"}.fa-rupee:before,.fa-inr:before{content:"\f156"}.fa-cny:before,.fa-rmb:before,.fa-yen:before,.fa-jpy:before{content:"\f157"}.fa-ruble:before,.fa-rouble:before,.fa-rub:before{content:"\f158"}.fa-won:before,.fa-krw:before{content:"\f159"}.fa-bitcoin:before,.fa-btc:before{content:"\f15a"}.fa-file:before{content:"\f15b"}.fa-file-text:before{content:"\f15c"}.fa-sort-alpha-asc:before{content:"\f15d"}.fa-sort-alpha-desc:before{content:"\f15e"}.fa-sort-amount-asc:before{content:"\f160"}.fa-sort-amount-desc:before{content:"\f161"}.fa-sort-numeric-asc:before{content:"\f162"}.fa-sort-numeric-desc:before{content:"\f163"}.fa-thumbs-up:before{content:"\f164"}.fa-thumbs-down:before{content:"\f165"}.fa-youtube-square:before{content:"\f166"}.fa-youtube:before{content:"\f167"}.fa-xing:before{content:"\f168"}.fa-xing-square:before{content:"\f169"}.fa-youtube-play:before{content:"\f16a"}.fa-dropbox:before{content:"\f16b"}.fa-stack-overflow:before{content:"\f16c"}.fa-instagram:before{content:"\f16d"}.fa-flickr:before{content:"\f16e"}.fa-adn:before{content:"\f170"}.fa-bitbucket:before{content:"\f171"}.fa-bitbucket-square:before{content:"\f172"}.fa-tumblr:before{content:"\f173"}.fa-tumblr-square:before{content:"\f174"}.fa-long-arrow-down:before{content:"\f175"}.fa-long-arrow-up:before{content:"\f176"}.fa-long-arrow-left:before{content:"\f177"}.fa-long-arrow-right:before{content:"\f178"}.fa-apple:before{content:"\f179"}.fa-windows:before{content:"\f17a"}.fa-android:before{content:"\f17b"}.fa-linux:before{content:"\f17c"}.fa-dribbble:before{content:"\f17d"}.fa-skype:before{content:"\f17e"}.fa-foursquare:before{content:"\f180"}.fa-trello:before{content:"\f181"}.fa-female:before{content:"\f182"}.fa-male:before{content:"\f183"}.fa-gittip:before,.fa-gratipay:before{content:"\f184"}.fa-sun-o:before{content:"\f185"}.fa-moon-o:before{content:"\f186"}.fa-archive:before{content:"\f187"}.fa-bug:before{content:"\f188"}.fa-vk:before{content:"\f189"}.fa-weibo:before{content:"\f18a"}.fa-renren:before{content:"\f18b"}.fa-pagelines:before{content:"\f18c"}.fa-stack-exchange:before{content:"\f18d"}.fa-arrow-circle-o-right:before{content:"\f18e"}.fa-arrow-circle-o-left:before{content:"\f190"}.fa-toggle-left:before,.fa-caret-square-o-left:before{content:"\f191"}.fa-dot-circle-o:before{content:"\f192"}.fa-wheelchair:before{content:"\f193"}.fa-vimeo-square:before{content:"\f194"}.fa-turkish-lira:before,.fa-try:before{content:"\f195"}.fa-plus-square-o:before{content:"\f196"}.fa-space-shuttle:before{content:"\f197"}.fa-slack:before{content:"\f198"}.fa-envelope-square:before{content:"\f199"}.fa-wordpress:before{content:"\f19a"}.fa-openid:before{content:"\f19b"}.fa-institution:before,.fa-bank:before,.fa-university:before{content:"\f19c"}.fa-mortar-board:before,.fa-graduation-cap:before{content:"\f19d"}.fa-yahoo:before{content:"\f19e"}.fa-google:before{content:"\f1a0"}.fa-reddit:before{content:"\f1a1"}.fa-reddit-square:before{content:"\f1a2"}.fa-stumbleupon-circle:before{content:"\f1a3"}.fa-stumbleupon:before{content:"\f1a4"}.fa-delicious:before{content:"\f1a5"}.fa-digg:before{content:"\f1a6"}.fa-pied-piper:before{content:"\f1a7"}.fa-pied-piper-alt:before{content:"\f1a8"}.fa-drupal:before{content:"\f1a9"}.fa-joomla:before{content:"\f1aa"}.fa-language:before{content:"\f1ab"}.fa-fax:before{content:"\f1ac"}.fa-building:before{content:"\f1ad"}.fa-child:before{content:"\f1ae"}.fa-paw:before{content:"\f1b0"}.fa-spoon:before{content:"\f1b1"}.fa-cube:before{content:"\f1b2"}.fa-cubes:before{content:"\f1b3"}.fa-behance:before{content:"\f1b4"}.fa-behance-square:before{content:"\f1b5"}.fa-steam:before{content:"\f1b6"}.fa-steam-square:before{content:"\f1b7"}.fa-recycle:before{content:"\f1b8"}.fa-automobile:before,.fa-car:before{content:"\f1b9"}.fa-cab:before,.fa-taxi:before{content:"\f1ba"}.fa-tree:before{content:"\f1bb"}.fa-spotify:before{content:"\f1bc"}.fa-deviantart:before{content:"\f1bd"}.fa-soundcloud:before{content:"\f1be"}.fa-database:before{content:"\f1c0"}.fa-file-pdf-o:before{content:"\f1c1"}.fa-file-word-o:before{content:"\f1c2"}.fa-file-excel-o:before{content:"\f1c3"}.fa-file-powerpoint-o:before{content:"\f1c4"}.fa-file-photo-o:before,.fa-file-picture-o:before,.fa-file-image-o:before{content:"\f1c5"}.fa-file-zip-o:before,.fa-file-archive-o:before{content:"\f1c6"}.fa-file-sound-o:before,.fa-file-audio-o:before{content:"\f1c7"}.fa-file-movie-o:before,.fa-file-video-o:before{content:"\f1c8"}.fa-file-code-o:before{content:"\f1c9"}.fa-vine:before{content:"\f1ca"}.fa-codepen:before{content:"\f1cb"}.fa-jsfiddle:before{content:"\f1cc"}.fa-life-bouy:before,.fa-life-buoy:before,.fa-life-saver:before,.fa-support:before,.fa-life-ring:before{content:"\f1cd"}.fa-circle-o-notch:before{content:"\f1ce"}.fa-ra:before,.fa-rebel:before{content:"\f1d0"}.fa-ge:before,.fa-empire:before{content:"\f1d1"}.fa-git-square:before{content:"\f1d2"}.fa-git:before{content:"\f1d3"}.fa-hacker-news:before{content:"\f1d4"}.fa-tencent-weibo:before{content:"\f1d5"}.fa-qq:before{content:"\f1d6"}.fa-wechat:before,.fa-weixin:before{content:"\f1d7"}.fa-send:before,.fa-paper-plane:before{content:"\f1d8"}.fa-send-o:before,.fa-paper-plane-o:before{content:"\f1d9"}.fa-history:before{content:"\f1da"}.fa-genderless:before,.fa-circle-thin:before{content:"\f1db"}.fa-header:before{content:"\f1dc"}.fa-paragraph:before{content:"\f1dd"}.fa-sliders:before{content:"\f1de"}.fa-share-alt:before{content:"\f1e0"}.fa-share-alt-square:before{content:"\f1e1"}.fa-bomb:before{content:"\f1e2"}.fa-soccer-ball-o:before,.fa-futbol-o:before{content:"\f1e3"}.fa-tty:before{content:"\f1e4"}.fa-binoculars:before{content:"\f1e5"}.fa-plug:before{content:"\f1e6"}.fa-slideshare:before{content:"\f1e7"}.fa-twitch:before{content:"\f1e8"}.fa-yelp:before{content:"\f1e9"}.fa-newspaper-o:before{content:"\f1ea"}.fa-wifi:before{content:"\f1eb"}.fa-calculator:before{content:"\f1ec"}.fa-paypal:before{content:"\f1ed"}.fa-google-wallet:before{content:"\f1ee"}.fa-cc-visa:before{content:"\f1f0"}.fa-cc-mastercard:before{content:"\f1f1"}.fa-cc-discover:before{content:"\f1f2"}.fa-cc-amex:before{content:"\f1f3"}.fa-cc-paypal:before{content:"\f1f4"}.fa-cc-stripe:before{content:"\f1f5"}.fa-bell-slash:before{content:"\f1f6"}.fa-bell-slash-o:before{content:"\f1f7"}.fa-trash:before{content:"\f1f8"}.fa-copyright:before{content:"\f1f9"}.fa-at:before{content:"\f1fa"}.fa-eyedropper:before{content:"\f1fb"}.fa-paint-brush:before{content:"\f1fc"}.fa-birthday-cake:before{content:"\f1fd"}.fa-area-chart:before{content:"\f1fe"}.fa-pie-chart:before{content:"\f200"}.fa-line-chart:before{content:"\f201"}.fa-lastfm:before{content:"\f202"}.fa-lastfm-square:before{content:"\f203"}.fa-toggle-off:before{content:"\f204"}.fa-toggle-on:before{content:"\f205"}.fa-bicycle:before{content:"\f206"}.fa-bus:before{content:"\f207"}.fa-ioxhost:before{content:"\f208"}.fa-angellist:before{content:"\f209"}.fa-cc:before{content:"\f20a"}.fa-shekel:before,.fa-sheqel:before,.fa-ils:before{content:"\f20b"}.fa-meanpath:before{content:"\f20c"}.fa-buysellads:before{content:"\f20d"}.fa-connectdevelop:before{content:"\f20e"}.fa-dashcube:before{content:"\f210"}.fa-forumbee:before{content:"\f211"}.fa-leanpub:before{content:"\f212"}.fa-sellsy:before{content:"\f213"}.fa-shirtsinbulk:before{content:"\f214"}.fa-simplybuilt:before{content:"\f215"}.fa-skyatlas:before{content:"\f216"}.fa-cart-plus:before{content:"\f217"}.fa-cart-arrow-down:before{content:"\f218"}.fa-diamond:before{content:"\f219"}.fa-ship:before{content:"\f21a"}.fa-user-secret:before{content:"\f21b"}.fa-motorcycle:before{content:"\f21c"}.fa-street-view:before{content:"\f21d"}.fa-heartbeat:before{content:"\f21e"}.fa-venus:before{content:"\f221"}.fa-mars:before{content:"\f222"}.fa-mercury:before{content:"\f223"}.fa-transgender:before{content:"\f224"}.fa-transgender-alt:before{content:"\f225"}.fa-venus-double:before{content:"\f226"}.fa-mars-double:before{content:"\f227"}.fa-venus-mars:before{content:"\f228"}.fa-mars-stroke:before{content:"\f229"}.fa-mars-stroke-v:before{content:"\f22a"}.fa-mars-stroke-h:before{content:"\f22b"}.fa-neuter:before{content:"\f22c"}.fa-facebook-official:before{content:"\f230"}.fa-pinterest-p:before{content:"\f231"}.fa-whatsapp:before{content:"\f232"}.fa-server:before{content:"\f233"}.fa-user-plus:before{content:"\f234"}.fa-user-times:before{content:"\f235"}.fa-hotel:before,.fa-bed:before{content:"\f236"}.fa-viacoin:before{content:"\f237"}.fa-train:before{content:"\f238"}.fa-subway:before{content:"\f239"}.fa-medium:before{content:"\f23a"} \ No newline at end of file diff --git a/themes/eventually/assets/css/ie8.css b/themes/eventually/assets/css/ie8.css deleted file mode 100644 index 6f7330e1..00000000 --- a/themes/eventually/assets/css/ie8.css +++ /dev/null @@ -1,27 +0,0 @@ -/* - Eventually by HTML5 UP - html5up.net | @n33co - Free for personal and commercial use under the CCA 3.0 license (html5up.net/license) -*/ - -/* BG */ - - #bg { - -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=25)"; - } - -/* Type */ - - body, input, select, textarea { - color: #fff; - } - -/* Form */ - - input[type="text"], - input[type="password"], - input[type="email"], - select, - textarea { - border: solid 2px #fff; - } \ No newline at end of file diff --git a/themes/eventually/assets/css/ie9.css b/themes/eventually/assets/css/ie9.css deleted file mode 100644 index ea53d1a7..00000000 --- a/themes/eventually/assets/css/ie9.css +++ /dev/null @@ -1,12 +0,0 @@ -/* - Eventually by HTML5 UP - html5up.net | @n33co - Free for personal and commercial use under the CCA 3.0 license (html5up.net/license) -*/ - -/* Signup Form */ - - #signup-form > * { - display: inline-block; - vertical-align: top; - } \ No newline at end of file diff --git a/themes/eventually/assets/css/main.css b/themes/eventually/assets/css/main.css deleted file mode 100644 index 44bfedf0..00000000 --- a/themes/eventually/assets/css/main.css +++ /dev/null @@ -1,1232 +0,0 @@ -@import url(font-awesome.min.css); -@import url("http://fonts.googleapis.com/css?family=Roboto:400,700"); - -/* - Eventually by HTML5 UP - html5up.net | @n33co - Free for personal and commercial use under the CCA 3.0 license (html5up.net/license) -*/ - -/* Reset */ - - html, body, div, span, applet, object, iframe, h1, h2, 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; - } - - article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { - display: block; - } - - body { - line-height: 1; - } - - ol, ul { - list-style: none; - } - - blockquote, q { - quotes: none; - } - - blockquote:before, blockquote:after, q:before, q:after { - content: ''; - content: none; - } - - table { - border-collapse: collapse; - border-spacing: 0; - } - - body { - -webkit-text-size-adjust: none; - } - -/* Box Model */ - - *, *:before, *:after { - -moz-box-sizing: border-box; - -webkit-box-sizing: border-box; - box-sizing: border-box; - } - -/* Basic */ - - @-ms-viewport { - width: device-width; - } - - body { - -ms-overflow-style: scrollbar; - } - - @media screen and (max-width: 480px) { - - html, body { - min-width: 320px; - } - - } - - html, body { - height: 100%; - overflow-x: hidden; - width: 100%; - } - - @media screen and (max-height: 640px) { - - html, body { - height: auto; - min-height: 100%; - } - - } - - body { - display: -moz-flex; - display: -webkit-flex; - display: -ms-flex; - display: flex; - -moz-flex-direction: column; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -moz-justify-content: center; - -webkit-justify-content: center; - -ms-justify-content: center; - justify-content: center; - background-color: #000; - padding: 6em 4em 4em 4em; - } - - body > * { - position: relative; - z-index: 2; - } - - body.is-loading *, body.is-loading *:before, body.is-loading *:after { - -moz-animation: none !important; - -webkit-animation: none !important; - -ms-animation: none !important; - animation: none !important; - -moz-transition: none !important; - -webkit-transition: none !important; - -ms-transition: none !important; - transition: none !important; - } - - @media screen and (max-width: 1680px) { - - body { - padding: 6em 3.5em 3.5em 3.5em; - } - - } - - @media screen and (max-width: 736px) { - - body { - padding: 5em 2em 2em 2em; - } - - } - - @media screen and (max-width: 360px) { - - body { - padding: 5em 1.25em 1.25em 1.25em; - } - - } - -/* BG */ - - #bg { - -moz-transition: opacity 2s ease-in-out; - -webkit-transition: opacity 2s ease-in-out; - -ms-transition: opacity 2s ease-in-out; - transition: opacity 2s ease-in-out; - height: 100%; - left: 0; - opacity: 0.25; - position: fixed; - top: 0; - width: 100%; - z-index: 1; - } - - #bg div { - -moz-transition: opacity 3s ease, visibility 3s; - -webkit-transition: opacity 3s ease, visibility 3s; - -ms-transition: opacity 3s ease, visibility 3s; - transition: opacity 3s ease, visibility 3s; - background-size: cover; - height: 100%; - left: 0; - opacity: 0; - position: absolute; - top: 0; - visibility: hidden; - width: 150%; - } - - #bg div.visible { - -moz-animation: bg 45s linear infinite; - -webkit-animation: bg 45s linear infinite; - -ms-animation: bg 45s linear infinite; - animation: bg 45s linear infinite; - opacity: 1; - visibility: visible; - z-index: 1; - } - - #bg div.visible.top { - z-index: 2; - } - - @media screen and (max-width: 1280px) { - - #bg div.visible { - -moz-animation: bg 29.25s linear infinite; - -webkit-animation: bg 29.25s linear infinite; - -ms-animation: bg 29.25s linear infinite; - animation: bg 29.25s linear infinite; - } - - } - - @media screen and (max-width: 736px) { - - #bg div.visible { - -moz-animation: bg 18s linear infinite; - -webkit-animation: bg 18s linear infinite; - -ms-animation: bg 18s linear infinite; - animation: bg 18s linear infinite; - } - - } - - #bg div:only-child { - -moz-animation-direction: alternate !important; - -webkit-animation-direction: alternate !important; - -ms-animation-direction: alternate !important; - animation-direction: alternate !important; - } - - body.is-loading #bg { - opacity: 0; - } - - @-moz-keyframes bg { - 0% { - -moz-transform: translateX(0); - -webkit-transform: translateX(0); - -ms-transform: translateX(0); - transform: translateX(0); - } - - 100% { - -moz-transform: translateX(-25%); - -webkit-transform: translateX(-25%); - -ms-transform: translateX(-25%); - transform: translateX(-25%); - } - } - - @-webkit-keyframes bg { - 0% { - -moz-transform: translateX(0); - -webkit-transform: translateX(0); - -ms-transform: translateX(0); - transform: translateX(0); - } - - 100% { - -moz-transform: translateX(-25%); - -webkit-transform: translateX(-25%); - -ms-transform: translateX(-25%); - transform: translateX(-25%); - } - } - - @-ms-keyframes bg { - 0% { - -moz-transform: translateX(0); - -webkit-transform: translateX(0); - -ms-transform: translateX(0); - transform: translateX(0); - } - - 100% { - -moz-transform: translateX(-25%); - -webkit-transform: translateX(-25%); - -ms-transform: translateX(-25%); - transform: translateX(-25%); - } - } - - @keyframes bg { - 0% { - -moz-transform: translateX(0); - -webkit-transform: translateX(0); - -ms-transform: translateX(0); - transform: translateX(0); - } - - 100% { - -moz-transform: translateX(-25%); - -webkit-transform: translateX(-25%); - -ms-transform: translateX(-25%); - transform: translateX(-25%); - } - } - -/* Type */ - - body, input, select, textarea { - color: rgba(255, 255, 255, 0.75); - font-family: "Roboto", sans-serif; - font-size: 16pt; - font-weight: 400; - letter-spacing: -0.01em; - line-height: 1.65em; - } - - @media screen and (max-width: 1680px) { - - body, input, select, textarea { - font-size: 12pt; - } - - } - - @media screen and (max-width: 1280px) { - - body, input, select, textarea { - font-size: 11pt; - } - - } - - @media screen and (max-width: 980px) { - - body, input, select, textarea { - font-size: 12pt; - } - - } - - @media screen and (max-width: 736px) { - - body, input, select, textarea { - font-size: 12pt; - } - - } - - @media screen and (max-width: 480px) { - - body, input, select, textarea { - font-size: 12pt; - } - - } - - a { - -moz-transition: border-bottom-color 0.2s ease, color 0.2s ease; - -webkit-transition: border-bottom-color 0.2s ease, color 0.2s ease; - -ms-transition: border-bottom-color 0.2s ease, color 0.2s ease; - transition: border-bottom-color 0.2s ease, color 0.2s ease; - border-bottom: dotted 1px rgba(255, 255, 255, 0.25); - color: #1cb495; - text-decoration: none; - } - - a:hover { - border-bottom-color: transparent; - color: #1cb495 !important; - text-decoration: none; - } - - strong, b { - color: #fff; - font-weight: 700; - } - - em, i { - font-style: italic; - } - - p { - margin: 0 0 2em 0; - } - - h1, h2, h3, h4, h5, h6 { - color: #fff; - font-weight: 700; - line-height: 1em; - margin: 0 0 1em 0; - } - - h1 a, h2 a, h3 a, h4 a, h5 a, h6 a { - color: inherit; - text-decoration: none; - } - - h1 { - font-size: 2.5em; - line-height: 1.25em; - } - - h2 { - font-size: 1.75em; - line-height: 1.5em; - } - - h3 { - font-size: 1.35em; - line-height: 1.5em; - } - - h4 { - font-size: 1.1em; - line-height: 1.5em; - } - - h5 { - font-size: 0.9em; - line-height: 1.5em; - } - - h6 { - font-size: 0.7em; - line-height: 1.5em; - } - - sub { - font-size: 0.8em; - position: relative; - top: 0.5em; - } - - sup { - font-size: 0.8em; - position: relative; - top: -0.5em; - } - - blockquote { - border-left: solid 8px rgba(255, 255, 255, 0.35); - font-style: italic; - margin: 0 0 2em 0; - padding: 0.5em 0 0.5em 2em; - } - - code { - background: rgba(255, 255, 255, 0.125); - border-radius: 6px; - border: solid 2px rgba(255, 255, 255, 0.35); - font-family: "Courier New", monospace; - font-size: 0.9em; - margin: 0 0.25em; - padding: 0.25em 0.65em; - } - - pre { - -webkit-overflow-scrolling: touch; - font-family: "Courier New", monospace; - font-size: 0.9em; - margin: 0 0 2em 0; - } - - pre code { - display: block; - line-height: 1.75em; - padding: 1em 1.5em; - overflow-x: auto; - } - - hr { - border: 0; - border-bottom: solid 2px rgba(255, 255, 255, 0.35); - margin: 2em 0; - } - - hr.major { - margin: 3em 0; - } - -/* Section/Article */ - - section.special, article.special { - text-align: center; - } - - header p { - color: rgba(255, 255, 255, 0.5); - position: relative; - margin: 0 0 1.5em 0; - } - - header h2 + p { - font-size: 1.25em; - margin-top: -1em; - line-height: 1.5em; - } - - header h3 + p { - font-size: 1.1em; - margin-top: -0.8em; - line-height: 1.5em; - } - - header h4 + p, - header h5 + p, - header h6 + p { - font-size: 0.9em; - margin-top: -0.6em; - line-height: 1.5em; - } - - @media screen and (max-width: 980px) { - - header br { - display: none; - } - - } - - @media screen and (max-width: 736px) { - - header br { - display: inline; - } - - } - - @media screen and (max-width: 480px) { - - header br { - display: none; - } - - } - -/* Icon */ - - .icon { - text-decoration: none; - border-bottom: none; - position: relative; - } - - .icon:before { - -moz-osx-font-smoothing: grayscale; - -webkit-font-smoothing: antialiased; - font-family: FontAwesome; - font-style: normal; - font-weight: normal; - text-transform: none !important; - } - - .icon > .label { - display: none; - } - -/* List */ - - ol { - list-style: decimal; - margin: 0 0 2em 0; - padding-left: 1.25em; - } - - ol li { - padding-left: 0.25em; - } - - ul { - list-style: disc; - margin: 0 0 2em 0; - padding-left: 1em; - } - - ul li { - padding-left: 0.5em; - } - - ul.icons { - cursor: default; - list-style: none; - padding-left: 0; - } - - ul.icons li { - display: inline-block; - padding: 0 1em 0 0; - } - - ul.icons li:last-child { - padding-right: 0; - } - - ul.icons li .icon:before { - font-size: 1.25em; - } - - ul.icons li a { - color: inherit; - } - -/* Form */ - - form { - margin: 0 0 2em 0; - } - - form .message { - text-decoration: none; - -moz-transition: opacity 0.2s ease-in-out, -moz-transform 0.2s ease-in-out; - -webkit-transition: opacity 0.2s ease-in-out, -webkit-transform 0.2s ease-in-out; - -ms-transition: opacity 0.2s ease-in-out, -ms-transform 0.2s ease-in-out; - transition: opacity 0.2s ease-in-out, transform 0.2s ease-in-out; - -moz-transform: scale(1.05); - -webkit-transform: scale(1.05); - -ms-transform: scale(1.05); - transform: scale(1.05); - height: 2.75em; - line-height: 2.75em; - opacity: 0; - } - - form .message:before { - -moz-osx-font-smoothing: grayscale; - -webkit-font-smoothing: antialiased; - font-family: FontAwesome; - font-style: normal; - font-weight: normal; - text-transform: none !important; - } - - form .message:before { - margin-right: 0.5em; - } - - form .message.visible { - -moz-transform: scale(1); - -webkit-transform: scale(1); - -ms-transform: scale(1); - transform: scale(1); - opacity: 1; - } - - form .message.success { - color: #1cb495; - } - - form .message.success:before { - content: '\f00c'; - } - - form .message.failure { - color: #ff2361; - } - - form .message.failure:before { - content: '\f119'; - } - - label { - color: #fff; - display: block; - font-size: 0.9em; - font-weight: 700; - margin: 0 0 1em 0; - } - - @-moz-keyframes focus { - 0% { - -moz-transform: scale(1); - -webkit-transform: scale(1); - -ms-transform: scale(1); - transform: scale(1); - } - - 50% { - -moz-transform: scale(1.025); - -webkit-transform: scale(1.025); - -ms-transform: scale(1.025); - transform: scale(1.025); - } - - 100% { - -moz-transform: scale(1); - -webkit-transform: scale(1); - -ms-transform: scale(1); - transform: scale(1); - } - } - - @-webkit-keyframes focus { - 0% { - -moz-transform: scale(1); - -webkit-transform: scale(1); - -ms-transform: scale(1); - transform: scale(1); - } - - 50% { - -moz-transform: scale(1.025); - -webkit-transform: scale(1.025); - -ms-transform: scale(1.025); - transform: scale(1.025); - } - - 100% { - -moz-transform: scale(1); - -webkit-transform: scale(1); - -ms-transform: scale(1); - transform: scale(1); - } - } - - @-ms-keyframes focus { - 0% { - -moz-transform: scale(1); - -webkit-transform: scale(1); - -ms-transform: scale(1); - transform: scale(1); - } - - 50% { - -moz-transform: scale(1.025); - -webkit-transform: scale(1.025); - -ms-transform: scale(1.025); - transform: scale(1.025); - } - - 100% { - -moz-transform: scale(1); - -webkit-transform: scale(1); - -ms-transform: scale(1); - transform: scale(1); - } - } - - @keyframes focus { - 0% { - -moz-transform: scale(1); - -webkit-transform: scale(1); - -ms-transform: scale(1); - transform: scale(1); - } - - 50% { - -moz-transform: scale(1.025); - -webkit-transform: scale(1.025); - -ms-transform: scale(1.025); - transform: scale(1.025); - } - - 100% { - -moz-transform: scale(1); - -webkit-transform: scale(1); - -ms-transform: scale(1); - transform: scale(1); - } - } - - input[type="text"], - input[type="password"], - input[type="email"], - select, - textarea { - -moz-appearance: none; - -webkit-appearance: none; - -ms-appearance: none; - appearance: none; - -moz-transform: scale(1); - -webkit-transform: scale(1); - -ms-transform: scale(1); - transform: scale(1); - -moz-transition: border-color 0.2s ease, background-color 0.2s ease; - -webkit-transition: border-color 0.2s ease, background-color 0.2s ease; - -ms-transition: border-color 0.2s ease, background-color 0.2s ease; - transition: border-color 0.2s ease, background-color 0.2s ease; - background-color: transparent; - border-radius: 6px; - border: none; - border: solid 2px rgba(255, 255, 255, 0.35); - color: inherit; - display: block; - outline: 0; - padding: 0 1em; - text-decoration: none; - width: 100%; - } - - input[type="text"]:invalid, - input[type="password"]:invalid, - input[type="email"]:invalid, - select:invalid, - textarea:invalid { - box-shadow: none; - } - - input[type="text"]:focus, - input[type="password"]:focus, - input[type="email"]:focus, - select:focus, - textarea:focus { - -moz-animation: focus 0.1s; - -webkit-animation: focus 0.1s; - -ms-animation: focus 0.1s; - animation: focus 0.1s; - background-color: rgba(255, 255, 255, 0.125); - border-color: #1cb495; - } - - .select-wrapper { - text-decoration: none; - display: block; - position: relative; - } - - .select-wrapper:before { - -moz-osx-font-smoothing: grayscale; - -webkit-font-smoothing: antialiased; - font-family: FontAwesome; - font-style: normal; - font-weight: normal; - text-transform: none !important; - } - - .select-wrapper:before { - color: rgba(255, 255, 255, 0.35); - content: '\f078'; - display: block; - height: 2.75em; - line-height: 2.75em; - pointer-events: none; - position: absolute; - right: 0; - text-align: center; - top: 0; - width: 2.75em; - } - - .select-wrapper select::-ms-expand { - display: none; - } - - input[type="text"], - input[type="password"], - input[type="email"], - select { - height: 2.75em; - } - - textarea { - padding: 0.75em 1em; - } - - input[type="checkbox"], - input[type="radio"] { - -moz-appearance: none; - -webkit-appearance: none; - -ms-appearance: none; - appearance: none; - display: block; - float: left; - margin-right: -2em; - opacity: 0; - width: 1em; - z-index: -1; - } - - input[type="checkbox"] + label, - input[type="radio"] + label { - text-decoration: none; - color: rgba(255, 255, 255, 0.75); - cursor: pointer; - display: inline-block; - font-size: 1em; - font-weight: 400; - padding-left: 2.4em; - padding-right: 0.75em; - position: relative; - } - - input[type="checkbox"] + label:before, - input[type="radio"] + label:before { - -moz-osx-font-smoothing: grayscale; - -webkit-font-smoothing: antialiased; - font-family: FontAwesome; - font-style: normal; - font-weight: normal; - text-transform: none !important; - } - - input[type="checkbox"] + label:before, - input[type="radio"] + label:before { - background: rgba(255, 255, 255, 0.125); - border-radius: 6px; - border: solid 2px rgba(255, 255, 255, 0.35); - content: ''; - display: inline-block; - height: 1.65em; - left: 0; - line-height: 1.58125em; - position: absolute; - text-align: center; - top: 0; - width: 1.65em; - } - - input[type="checkbox"]:checked + label:before, - input[type="radio"]:checked + label:before { - background: #1cb495; - border-color: #1cb495; - color: #ffffff; - content: '\f00c'; - } - - input[type="checkbox"]:focus + label:before, - input[type="radio"]:focus + label:before { - border-color: #1cb495; - box-shadow: 0 0 0 2px #1cb495; - } - - input[type="checkbox"] + label:before { - border-radius: 6px; - } - - input[type="radio"] + label:before { - border-radius: 100%; - } - - ::-webkit-input-placeholder { - color: rgba(255, 255, 255, 0.5) !important; - opacity: 1.0; - } - - :-moz-placeholder { - color: rgba(255, 255, 255, 0.5) !important; - opacity: 1.0; - } - - ::-moz-placeholder { - color: rgba(255, 255, 255, 0.5) !important; - opacity: 1.0; - } - - :-ms-input-placeholder { - color: rgba(255, 255, 255, 0.5) !important; - opacity: 1.0; - } - - .formerize-placeholder { - color: rgba(255, 255, 255, 0.5) !important; - opacity: 1.0; - } - -/* Button */ - - input[type="submit"], - input[type="reset"], - input[type="button"], - button, - .button { - -moz-appearance: none; - -webkit-appearance: none; - -ms-appearance: none; - appearance: none; - -moz-transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out, opacity 0.2s ease-in-out; - -webkit-transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out, opacity 0.2s ease-in-out; - -ms-transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out, opacity 0.2s ease-in-out; - transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out, opacity 0.2s ease-in-out; - background-color: #1cb495; - border-radius: 6px; - border: 0; - color: #ffffff !important; - cursor: pointer; - display: inline-block; - font-weight: 700; - height: 2.75em; - line-height: 2.75em; - padding: 0 1.125em; - text-align: center; - text-decoration: none; - white-space: nowrap; - } - - input[type="submit"]:hover, - input[type="reset"]:hover, - input[type="button"]:hover, - button:hover, - .button:hover { - background-color: #1fcaa7; - } - - input[type="submit"]:active, - input[type="reset"]:active, - input[type="button"]:active, - button:active, - .button:active { - background-color: #199e83; - } - - input[type="submit"].disabled, input[type="submit"]:disabled, - input[type="reset"].disabled, - input[type="reset"]:disabled, - input[type="button"].disabled, - input[type="button"]:disabled, - button.disabled, - button:disabled, - .button.disabled, - .button:disabled { - opacity: 0.5; - } - - @media screen and (max-width: 480px) { - - input[type="submit"], - input[type="reset"], - input[type="button"], - button, - .button { - padding: 0; - } - - } - -/* Header */ - - #header { - width: 50%; - } - - #header h1 { - font-size: 3.25em; - margin: 0 0 0.55em 0; - } - - #header p { - font-size: 1.35em; - line-height: 1.65em; - } - - #header a { - color: inherit; - } - - @media screen and (max-width: 736px) { - - #header h1 { - font-size: 2em; - } - - #header p { - font-size: 1em; - } - - #header { - width: 100%; - } - - } - - @media screen and (max-width: 480px) { - - #header { - margin: 0 0 1em 0; - } - - } - -/* POSTS */ - #posts { - width: 50%; - } - - #posts ul { - display: block; - list-style-type: none; - margin: 5px 0; - padding: 0; - } - - #posts li { - font-size: 2em; - padding: 10px 0; - } - - h2.post-title { - border-bottom: 1px solid #ccc; - display: inline-block; - font-size: 2.3em; - font-weight: lighter; - } - - #post { - - } - - @media screen and (max-width: 736px) { - - #posts { - width: 100%; - } - - } - -/* Signup Form */ - - #signup-form { - display: -moz-flex; - display: -webkit-flex; - display: -ms-flex; - display: flex; - position: relative; - } - - #signup-form input[type="text"], - #signup-form input[type="password"], - #signup-form input[type="email"] { - width: 18em; - } - - #signup-form > * { - margin: 0 0 0 1em; - } - - #signup-form > :first-child { - margin: 0 0 0 0; - } - - @media screen and (max-width: 480px) { - - #signup-form { - -moz-flex-direction: column; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - } - - #signup-form input[type="type"], - #signup-form input[type="password"], - #signup-form input[type="email"] { - width: 100%; - } - - #signup-form > * { - margin: 1.25em 0 0 0; - } - - #signup-form .message { - bottom: -1.5em; - font-size: 0.9em; - height: 1em; - left: 0; - line-height: inherit; - margin-top: 0; - position: absolute; - } - - } - -/* Footer */ - - #footer { - -moz-transition: opacity 0.5s ease-in-out; - -webkit-transition: opacity 0.5s ease-in-out; - -ms-transition: opacity 0.5s ease-in-out; - transition: opacity 0.5s ease-in-out; - bottom: 4em; - color: rgba(255, 255, 255, 0.5); - left: 4em; - opacity: 0.5; - position: static !important; - margin: 30px 0; - } - - #footer .icons { - margin: 0 0 0.5em 0; - } - - #footer .copyright { - font-size: 0.8em; - list-style: none; - padding: 0; - } - - #footer .copyright li { - border-left: solid 1px rgba(255, 255, 255, 0.25); - display: inline-block; - line-height: 1em; - margin: 0 0 0 0.75em; - padding: 0 0 0 0.75em; - } - - #footer .copyright li:first-child { - border-left: 0; - margin-left: 0; - padding-left: 0; - } - - #footer .copyright a { - color: inherit; - } - - #footer:hover { - opacity: 1; - } - - #footer > :last-child { - margin-bottom: 0; - } - - @media screen and (max-width: 1680px) { - - #footer { - bottom: 3.5em; - left: 3.5em; - } - - } - - @media screen and (max-width: 736px) { - - #footer { - bottom: 2em; - left: 2em; - } - - } - - @media screen and (max-width: 360px) { - - #footer { - bottom: 1.25em; - left: 1.25em; - } - - } - - @media screen and (max-height: 640px) { - - #footer { - bottom: auto; - left: auto; - margin: 1em 0 0 0; - position: relative; - } - - } \ No newline at end of file diff --git a/themes/eventually/assets/fonts/FontAwesome.otf b/themes/eventually/assets/fonts/FontAwesome.otf deleted file mode 100644 index f7936cc1..00000000 Binary files a/themes/eventually/assets/fonts/FontAwesome.otf and /dev/null differ diff --git a/themes/eventually/assets/fonts/fontawesome-webfont.eot b/themes/eventually/assets/fonts/fontawesome-webfont.eot deleted file mode 100644 index 33b2bb80..00000000 Binary files a/themes/eventually/assets/fonts/fontawesome-webfont.eot and /dev/null differ diff --git a/themes/eventually/assets/fonts/fontawesome-webfont.svg b/themes/eventually/assets/fonts/fontawesome-webfont.svg deleted file mode 100644 index 1ee89d43..00000000 --- a/themes/eventually/assets/fonts/fontawesome-webfont.svg +++ /dev/null @@ -1,565 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/themes/eventually/assets/fonts/fontawesome-webfont.ttf b/themes/eventually/assets/fonts/fontawesome-webfont.ttf deleted file mode 100644 index ed9372f8..00000000 Binary files a/themes/eventually/assets/fonts/fontawesome-webfont.ttf and /dev/null differ diff --git a/themes/eventually/assets/fonts/fontawesome-webfont.woff b/themes/eventually/assets/fonts/fontawesome-webfont.woff deleted file mode 100644 index 8b280b98..00000000 Binary files a/themes/eventually/assets/fonts/fontawesome-webfont.woff and /dev/null differ diff --git a/themes/eventually/assets/fonts/fontawesome-webfont.woff2 b/themes/eventually/assets/fonts/fontawesome-webfont.woff2 deleted file mode 100644 index 3311d585..00000000 Binary files a/themes/eventually/assets/fonts/fontawesome-webfont.woff2 and /dev/null differ diff --git a/themes/eventually/assets/js/ie/html5shiv.js b/themes/eventually/assets/js/ie/html5shiv.js deleted file mode 100644 index dcf351c8..00000000 --- a/themes/eventually/assets/js/ie/html5shiv.js +++ /dev/null @@ -1,8 +0,0 @@ -/* - HTML5 Shiv v3.6.2 | @afarkas @jdalton @jon_neal @rem | MIT/GPL2 Licensed -*/ -(function(l,f){function m(){var a=e.elements;return"string"==typeof a?a.split(" "):a}function i(a){var b=n[a[o]];b||(b={},h++,a[o]=h,n[h]=b);return b}function p(a,b,c){b||(b=f);if(g)return b.createElement(a);c||(c=i(b));b=c.cache[a]?c.cache[a].cloneNode():r.test(a)?(c.cache[a]=c.createElem(a)).cloneNode():c.createElem(a);return b.canHaveChildren&&!s.test(a)?c.frag.appendChild(b):b}function t(a,b){if(!b.cache)b.cache={},b.createElem=a.createElement,b.createFrag=a.createDocumentFragment,b.frag=b.createFrag(); -a.createElement=function(c){return!e.shivMethods?b.createElem(c):p(c,a,b)};a.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+m().join().replace(/\w+/g,function(a){b.createElem(a);b.frag.createElement(a);return'c("'+a+'")'})+");return n}")(e,b.frag)}function q(a){a||(a=f);var b=i(a);if(e.shivCSS&&!j&&!b.hasCSS){var c,d=a;c=d.createElement("p");d=d.getElementsByTagName("head")[0]||d.documentElement;c.innerHTML="x"; -c=d.insertBefore(c.lastChild,d.firstChild);b.hasCSS=!!c}g||t(a,b);return a}var k=l.html5||{},s=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,r=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,j,o="_html5shiv",h=0,n={},g;(function(){try{var a=f.createElement("a");a.innerHTML="";j="hidden"in a;var b;if(!(b=1==a.childNodes.length)){f.createElement("a");var c=f.createDocumentFragment();b="undefined"==typeof c.cloneNode|| -"undefined"==typeof c.createDocumentFragment||"undefined"==typeof c.createElement}g=b}catch(d){g=j=!0}})();var e={elements:k.elements||"abbr article aside audio bdi canvas data datalist details figcaption figure footer header hgroup main mark meter nav output progress section summary time video",version:"3.6.2",shivCSS:!1!==k.shivCSS,supportsUnknownElements:g,shivMethods:!1!==k.shivMethods,type:"default",shivDocument:q,createElement:p,createDocumentFragment:function(a,b){a||(a=f);if(g)return a.createDocumentFragment(); -for(var b=b||i(a),c=b.frag.cloneNode(),d=0,e=m(),h=e.length;d #mq-test-1 { width: 42px; }',c.insertBefore(e,d),b=42===f.offsetWidth,c.removeChild(e),{matches:b,media:a}}}(a.document)}(this),function(a){"use strict";function b(){v(!0)}var c={};a.respond=c,c.update=function(){};var d=[],e=function(){var b=!1;try{b=new a.XMLHttpRequest}catch(c){b=new a.ActiveXObject("Microsoft.XMLHTTP")}return function(){return b}}(),f=function(a,b){var c=e();c&&(c.open("GET",a,!0),c.onreadystatechange=function(){4!==c.readyState||200!==c.status&&304!==c.status||b(c.responseText)},4!==c.readyState&&c.send(null))},g=function(a){return a.replace(c.regex.minmaxwh,"").match(c.regex.other)};if(c.ajax=f,c.queue=d,c.unsupportedmq=g,c.regex={media:/@media[^\{]+\{([^\{\}]*\{[^\}\{]*\})+/gi,keyframes:/@(?:\-(?:o|moz|webkit)\-)?keyframes[^\{]+\{(?:[^\{\}]*\{[^\}\{]*\})+[^\}]*\}/gi,comments:/\/\*[^*]*\*+([^/][^*]*\*+)*\//gi,urls:/(url\()['"]?([^\/\)'"][^:\)'"]+)['"]?(\))/g,findStyles:/@media *([^\{]+)\{([\S\s]+?)$/,only:/(only\s+)?([a-zA-Z]+)\s?/,minw:/\(\s*min\-width\s*:\s*(\s*[0-9\.]+)(px|em)\s*\)/,maxw:/\(\s*max\-width\s*:\s*(\s*[0-9\.]+)(px|em)\s*\)/,minmaxwh:/\(\s*m(in|ax)\-(height|width)\s*:\s*(\s*[0-9\.]+)(px|em)\s*\)/gi,other:/\([^\)]*\)/g},c.mediaQueriesSupported=a.matchMedia&&null!==a.matchMedia("only all")&&a.matchMedia("only all").matches,!c.mediaQueriesSupported){var h,i,j,k=a.document,l=k.documentElement,m=[],n=[],o=[],p={},q=30,r=k.getElementsByTagName("head")[0]||l,s=k.getElementsByTagName("base")[0],t=r.getElementsByTagName("link"),u=function(){var a,b=k.createElement("div"),c=k.body,d=l.style.fontSize,e=c&&c.style.fontSize,f=!1;return b.style.cssText="position:absolute;font-size:1em;width:1em",c||(c=f=k.createElement("body"),c.style.background="none"),l.style.fontSize="100%",c.style.fontSize="100%",c.appendChild(b),f&&l.insertBefore(c,l.firstChild),a=b.offsetWidth,f?l.removeChild(c):c.removeChild(b),l.style.fontSize=d,e&&(c.style.fontSize=e),a=j=parseFloat(a)},v=function(b){var c="clientWidth",d=l[c],e="CSS1Compat"===k.compatMode&&d||k.body[c]||d,f={},g=t[t.length-1],p=(new Date).getTime();if(b&&h&&q>p-h)return a.clearTimeout(i),i=a.setTimeout(v,q),void 0;h=p;for(var s in m)if(m.hasOwnProperty(s)){var w=m[s],x=w.minw,y=w.maxw,z=null===x,A=null===y,B="em";x&&(x=parseFloat(x)*(x.indexOf(B)>-1?j||u():1)),y&&(y=parseFloat(y)*(y.indexOf(B)>-1?j||u():1)),w.hasquery&&(z&&A||!(z||e>=x)||!(A||y>=e))||(f[w.media]||(f[w.media]=[]),f[w.media].push(n[w.rules]))}for(var C in o)o.hasOwnProperty(C)&&o[C]&&o[C].parentNode===r&&r.removeChild(o[C]);o.length=0;for(var D in f)if(f.hasOwnProperty(D)){var E=k.createElement("style"),F=f[D].join("\n");E.type="text/css",E.media=D,r.insertBefore(E,g.nextSibling),E.styleSheet?E.styleSheet.cssText=F:E.appendChild(k.createTextNode(F)),o.push(E)}},w=function(a,b,d){var e=a.replace(c.regex.comments,"").replace(c.regex.keyframes,"").match(c.regex.media),f=e&&e.length||0;b=b.substring(0,b.lastIndexOf("/"));var h=function(a){return a.replace(c.regex.urls,"$1"+b+"$2$3")},i=!f&&d;b.length&&(b+="/"),i&&(f=1);for(var j=0;f>j;j++){var k,l,o,p;i?(k=d,n.push(h(a))):(k=e[j].match(c.regex.findStyles)&&RegExp.$1,n.push(RegExp.$2&&h(RegExp.$2))),o=k.split(","),p=o.length;for(var q=0;p>q;q++)l=o[q],g(l)||m.push({media:l.split("(")[0].match(c.regex.only)&&RegExp.$2||"all",rules:n.length-1,hasquery:l.indexOf("(")>-1,minw:l.match(c.regex.minw)&&parseFloat(RegExp.$1)+(RegExp.$2||""),maxw:l.match(c.regex.maxw)&&parseFloat(RegExp.$1)+(RegExp.$2||"")})}v()},x=function(){if(d.length){var b=d.shift();f(b.href,function(c){w(c,b.href,b.media),p[b.href]=!0,a.setTimeout(function(){x()},0)})}},y=function(){for(var b=0;b= $bgs.length) - pos = 0; - - // Swap top images. - $bgs[lastPos].classList.remove('top'); - $bgs[pos].classList.add('visible'); - $bgs[pos].classList.add('top'); - - // Hide last image after a short delay. - window.setTimeout(function() { - $bgs[lastPos].classList.remove('visible'); - }, settings.delay / 2); - - }, settings.delay); - - })(); - - // Signup Form. - (function() { - - // Vars. - var $form = document.querySelectorAll('#signup-form')[0], - $submit = document.querySelectorAll('#signup-form input[type="submit"]')[0], - $message; - - // Bail if addEventListener isn't supported. - if (!('addEventListener' in $form)) - return; - - // Message. - $message = document.createElement('span'); - $message.classList.add('message'); - $form.appendChild($message); - - $message._show = function(type, text) { - - $message.innerHTML = text; - $message.classList.add(type); - $message.classList.add('visible'); - - window.setTimeout(function() { - $message._hide(); - }, 3000); - - }; - - $message._hide = function() { - $message.classList.remove('visible'); - }; - - // Events. - // Note: If you're *not* using AJAX, get rid of this event listener. - $form.addEventListener('submit', function(event) { - - event.stopPropagation(); - event.preventDefault(); - - // Hide message. - $message._hide(); - - // Disable submit. - $submit.disabled = true; - - // Process form. - // Note: Doesn't actually do anything yet (other than report back with a "thank you"), - // but there's enough here to piece together a working AJAX submission call that does. - window.setTimeout(function() { - - // Reset form. - $form.reset(); - - // Enable submit. - $submit.disabled = false; - - // Show message. - $message._show('success', 'Thank you!'); - //$message._show('failure', 'Something went wrong. Please try again.'); - - }, 750); - - }); - - })(); - -})(); \ No newline at end of file diff --git a/themes/eventually/assets/sass/base/_bg.scss b/themes/eventually/assets/sass/base/_bg.scss deleted file mode 100644 index d4cb406f..00000000 --- a/themes/eventually/assets/sass/base/_bg.scss +++ /dev/null @@ -1,71 +0,0 @@ -@import '../libs/vars'; -@import '../libs/functions'; -@import '../libs/mixins'; - -/// -/// Eventually by HTML5 UP -/// html5up.net | @n33co -/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license) -/// - -/* BG */ - - #bg { - @include vendor('transition', 'opacity #{_duration(bg-fadein)} ease-in-out'); - height: 100%; - left: 0; - opacity: 0.25; - position: fixed; - top: 0; - width: 100%; - z-index: 1; - - div { - @include vendor('transition', ('opacity #{_duration(bg-transition)} ease', 'visibility #{_duration(bg-transition)}')); - background-size: cover; - height: 100%; - left: 0; - opacity: 0; - position: absolute; - top: 0; - visibility: hidden; - width: 150%; - - &.visible { - @include vendor('animation', 'bg #{_duration(bg-slide)} linear infinite'); - opacity: 1; - visibility: visible; - z-index: 1; - - &.top { - z-index: 2; - } - - @include breakpoint(large) { - @include vendor('animation', 'bg #{_duration(bg-slide) * 0.65} linear infinite'); - } - - @include breakpoint(small) { - @include vendor('animation', 'bg #{_duration(bg-slide) * 0.4} linear infinite'); - } - } - - &:only-child { - @include vendor('animation-direction', 'alternate !important'); - } - } - - body.is-loading & { - opacity: 0; - } - } - - @include keyframes(bg) { - 0% { - @include vendor('transform', 'translateX(0)'); - } - - 100% { - @include vendor('transform', 'translateX(-25%)'); - } - } \ No newline at end of file diff --git a/themes/eventually/assets/sass/base/_page.scss b/themes/eventually/assets/sass/base/_page.scss deleted file mode 100644 index d7ed243d..00000000 --- a/themes/eventually/assets/sass/base/_page.scss +++ /dev/null @@ -1,71 +0,0 @@ -@import '../libs/vars'; -@import '../libs/functions'; -@import '../libs/mixins'; - -/// -/// Eventually by HTML5 UP -/// html5up.net | @n33co -/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license) -/// - -/* Basic */ - - // MSIE: Required for IEMobile. - @-ms-viewport { - width: device-width; - } - - // MSIE: Prevents scrollbar from overlapping content. - body { - -ms-overflow-style: scrollbar; - } - - // Ensures page width is always >=320px. - @include breakpoint(xsmall) { - html, body { - min-width: 320px; - } - } - - html, body { - height: 100%; - overflow-x: hidden; - width: 100%; - - @include breakpoint(short) { - height: auto; - min-height: 100%; - } - } - - body { - @include vendor('display', 'flex'); - @include vendor('flex-direction', 'column'); - @include vendor('justify-content', 'center'); - background-color: _palette(bg); - padding: 6em 4em 4em 4em; - - > * { - position: relative; - z-index: 2; - } - - &.is-loading { - *, *:before, *:after { - @include vendor('animation', 'none !important'); - @include vendor('transition', 'none !important'); - } - } - - @include breakpoint(xlarge) { - padding: 6em 3.5em 3.5em 3.5em; - } - - @include breakpoint(small) { - padding: 5em 2em 2em 2em; - } - - @include breakpoint(xxsmall) { - padding: 5em 1.25em 1.25em 1.25em; - } - } \ No newline at end of file diff --git a/themes/eventually/assets/sass/base/_typography.scss b/themes/eventually/assets/sass/base/_typography.scss deleted file mode 100644 index b209b614..00000000 --- a/themes/eventually/assets/sass/base/_typography.scss +++ /dev/null @@ -1,164 +0,0 @@ -@import '../libs/vars'; -@import '../libs/functions'; -@import '../libs/mixins'; - -/// -/// Eventually by HTML5 UP -/// html5up.net | @n33co -/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license) -/// - -/* Type */ - - body, input, select, textarea { - color: _palette(fg); - font-family: _font(family); - font-size: 16pt; - font-weight: _font(weight); - letter-spacing: _font(letter-spacing); - line-height: 1.65em; - - @include breakpoint(xlarge) { - font-size: 12pt; - } - - @include breakpoint(large) { - font-size: 11pt; - } - - @include breakpoint(medium) { - font-size: 12pt; - } - - @include breakpoint(small) { - font-size: 12pt; - } - - @include breakpoint(xsmall) { - font-size: 12pt; - } - } - - a { - @include vendor('transition', ( - 'border-bottom-color #{_duration(transition)} ease', - 'color #{_duration(transition)} ease' - )); - border-bottom: dotted 1px _palette(border2); - color: _palette(accent, bg); - text-decoration: none; - - &:hover { - border-bottom-color: transparent; - color: _palette(accent, bg) !important; - text-decoration: none; - } - } - - strong, b { - color: _palette(fg-bold); - font-weight: _font(weight-bold); - } - - em, i { - font-style: italic; - } - - p { - margin: 0 0 _size(element-margin) 0; - } - - h1, h2, h3, h4, h5, h6 { - color: _palette(fg-bold); - font-weight: _font(weight-bold); - line-height: 1em; - margin: 0 0 (_size(element-margin) * 0.5) 0; - - a { - color: inherit; - text-decoration: none; - } - } - - h1 { - font-size: 2.5em; - line-height: 1.25em; - } - - h2 { - font-size: 1.75em; - line-height: 1.5em; - } - - h3 { - font-size: 1.35em; - line-height: 1.5em; - } - - h4 { - font-size: 1.1em; - line-height: 1.5em; - } - - h5 { - font-size: 0.9em; - line-height: 1.5em; - } - - h6 { - font-size: 0.7em; - line-height: 1.5em; - } - - sub { - font-size: 0.8em; - position: relative; - top: 0.5em; - } - - sup { - font-size: 0.8em; - position: relative; - top: -0.5em; - } - - blockquote { - border-left: solid (_size(border-width) * 4) _palette(border); - font-style: italic; - margin: 0 0 _size(element-margin) 0; - padding: (_size(element-margin) / 4) 0 (_size(element-margin) / 4) _size(element-margin); - } - - code { - background: _palette(border-bg); - border-radius: _size(border-radius); - border: solid _size(border-width) _palette(border); - font-family: _font(family-fixed); - font-size: 0.9em; - margin: 0 0.25em; - padding: 0.25em 0.65em; - } - - pre { - -webkit-overflow-scrolling: touch; - font-family: _font(family-fixed); - font-size: 0.9em; - margin: 0 0 _size(element-margin) 0; - - code { - display: block; - line-height: 1.75em; - padding: 1em 1.5em; - overflow-x: auto; - } - } - - hr { - border: 0; - border-bottom: solid _size(border-width) _palette(border); - margin: _size(element-margin) 0; - - &.major { - margin: (_size(element-margin) * 1.5) 0; - } - } \ No newline at end of file diff --git a/themes/eventually/assets/sass/components/_button.scss b/themes/eventually/assets/sass/components/_button.scss deleted file mode 100644 index c56cc1f1..00000000 --- a/themes/eventually/assets/sass/components/_button.scss +++ /dev/null @@ -1,54 +0,0 @@ -@import '../libs/vars'; -@import '../libs/functions'; -@import '../libs/mixins'; - -/// -/// Eventually by HTML5 UP -/// html5up.net | @n33co -/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license) -/// - -/* Button */ - - input[type="submit"], - input[type="reset"], - input[type="button"], - button, - .button { - @include vendor('appearance', 'none'); - @include vendor('transition', ( - 'background-color #{_duration(transition)} ease-in-out', - 'color #{_duration(transition)} ease-in-out', - 'opacity #{_duration(transition)} ease-in-out' - )); - background-color: _palette(accent, bg); - border-radius: _size(border-radius); - border: 0; - color: _palette(accent, fg-bold) !important; - cursor: pointer; - display: inline-block; - font-weight: _font(weight-bold); - height: _size(element-height); - line-height: _size(element-height); - padding: 0 1.125em; - text-align: center; - text-decoration: none; - white-space: nowrap; - - &:hover { - background-color: lighten(_palette(accent, bg), 5); - } - - &:active { - background-color: darken(_palette(accent, bg), 5); - } - - &.disabled, - &:disabled { - opacity: 0.5; - } - - @include breakpoint(xsmall) { - padding: 0; - } - } \ No newline at end of file diff --git a/themes/eventually/assets/sass/components/_form.scss b/themes/eventually/assets/sass/components/_form.scss deleted file mode 100644 index 58ebc433..00000000 --- a/themes/eventually/assets/sass/components/_form.scss +++ /dev/null @@ -1,229 +0,0 @@ -@import '../libs/vars'; -@import '../libs/functions'; -@import '../libs/mixins'; - -/// -/// Eventually by HTML5 UP -/// html5up.net | @n33co -/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license) -/// - -/* Form */ - - form { - margin: 0 0 _size(element-margin) 0; - - .message { - @include icon; - @include vendor('transition', ( - 'opacity #{_duration(transition)} ease-in-out', - 'transform #{_duration(transition)} ease-in-out' - )); - @include vendor('transform', 'scale(1.05)'); - height: _size(element-height); - line-height: _size(element-height); - opacity: 0; - - &:before { - margin-right: 0.5em; - } - - &.visible { - @include vendor('transform', 'scale(1)'); - opacity: 1; - } - - &.success { - color: _palette(positive, bg); - - &:before { - content: '\f00c'; - } - } - - &.failure { - color: _palette(negative, bg); - - &:before { - content: '\f119'; - } - } - } - } - - label { - color: _palette(fg-bold); - display: block; - font-size: 0.9em; - font-weight: _font(weight-bold); - margin: 0 0 (_size(element-margin) * 0.5) 0; - } - - @include keyframes(focus) { - 0% { @include vendor('transform', 'scale(1)'); } - 50% { @include vendor('transform', 'scale(1.025)'); } - 100% { @include vendor('transform', 'scale(1)'); } - } - - input[type="text"], - input[type="password"], - input[type="email"], - select, - textarea { - @include vendor('appearance', 'none'); - @include vendor('transform', 'scale(1)'); - @include vendor('transition', ( - 'border-color #{_duration(transition)} ease', - 'background-color #{_duration(transition)} ease' - )); - background-color: transparent; - border-radius: _size(border-radius); - border: none; - border: solid _size(border-width) _palette(border); - color: inherit; - display: block; - outline: 0; - padding: 0 1em; - text-decoration: none; - width: 100%; - - &:invalid { - box-shadow: none; - } - - &:focus { - @include vendor('animation', 'focus 0.1s'); - background-color: _palette(border-bg); - border-color: _palette(accent, bg); - } - } - - .select-wrapper { - @include icon; - display: block; - position: relative; - - &:before { - color: _palette(border); - content: '\f078'; - display: block; - height: _size(element-height); - line-height: _size(element-height); - pointer-events: none; - position: absolute; - right: 0; - text-align: center; - top: 0; - width: _size(element-height); - } - - select::-ms-expand { - display: none; - } - } - - input[type="text"], - input[type="password"], - input[type="email"], - select { - height: _size(element-height); - } - - textarea { - padding: 0.75em 1em; - } - - input[type="checkbox"], - input[type="radio"], { - @include vendor('appearance', 'none'); - display: block; - float: left; - margin-right: -2em; - opacity: 0; - width: 1em; - z-index: -1; - - & + label { - @include icon; - color: _palette(fg); - cursor: pointer; - display: inline-block; - font-size: 1em; - font-weight: _font(weight); - padding-left: (_size(element-height) * 0.6) + 0.75em; - padding-right: 0.75em; - position: relative; - - &:before { - background: _palette(border-bg); - border-radius: _size(border-radius); - border: solid _size(border-width) _palette(border); - content: ''; - display: inline-block; - height: (_size(element-height) * 0.6); - left: 0; - line-height: (_size(element-height) * 0.575); - position: absolute; - text-align: center; - top: 0; - width: (_size(element-height) * 0.6); - } - } - - &:checked + label { - &:before { - background: _palette(accent, bg); - border-color: _palette(accent, bg); - color: _palette(accent, fg-bold); - content: '\f00c'; - } - } - - &:focus + label { - &:before { - border-color: _palette(accent, bg); - box-shadow: 0 0 0 _size(border-width) _palette(accent, bg); - } - } - } - - input[type="checkbox"] { - & + label { - &:before { - border-radius: _size(border-radius); - } - } - } - - input[type="radio"] { - & + label { - &:before { - border-radius: 100%; - } - } - } - - ::-webkit-input-placeholder { - color: _palette(fg-light) !important; - opacity: 1.0; - } - - :-moz-placeholder { - color: _palette(fg-light) !important; - opacity: 1.0; - } - - ::-moz-placeholder { - color: _palette(fg-light) !important; - opacity: 1.0; - } - - :-ms-input-placeholder { - color: _palette(fg-light) !important; - opacity: 1.0; - } - - .formerize-placeholder { - color: _palette(fg-light) !important; - opacity: 1.0; - } \ No newline at end of file diff --git a/themes/eventually/assets/sass/components/_icon.scss b/themes/eventually/assets/sass/components/_icon.scss deleted file mode 100644 index 83cff14b..00000000 --- a/themes/eventually/assets/sass/components/_icon.scss +++ /dev/null @@ -1,21 +0,0 @@ -@import '../libs/vars'; -@import '../libs/functions'; -@import '../libs/mixins'; - -/// -/// Eventually by HTML5 UP -/// html5up.net | @n33co -/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license) -/// - -/* Icon */ - - .icon { - @include icon; - border-bottom: none; - position: relative; - - > .label { - display: none; - } - } \ No newline at end of file diff --git a/themes/eventually/assets/sass/components/_list.scss b/themes/eventually/assets/sass/components/_list.scss deleted file mode 100644 index 459adbfd..00000000 --- a/themes/eventually/assets/sass/components/_list.scss +++ /dev/null @@ -1,56 +0,0 @@ -@import '../libs/vars'; -@import '../libs/functions'; -@import '../libs/mixins'; - -/// -/// Eventually by HTML5 UP -/// html5up.net | @n33co -/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license) -/// - -/* List */ - - ol { - list-style: decimal; - margin: 0 0 _size(element-margin) 0; - padding-left: 1.25em; - - li { - padding-left: 0.25em; - } - } - - ul { - list-style: disc; - margin: 0 0 _size(element-margin) 0; - padding-left: 1em; - - li { - padding-left: 0.5em; - } - - &.icons { - cursor: default; - list-style: none; - padding-left: 0; - - li { - display: inline-block; - padding: 0 1em 0 0; - - &:last-child { - padding-right: 0; - } - - .icon { - &:before { - font-size: 1.25em; - } - } - - a { - color: inherit; - } - } - } - } \ No newline at end of file diff --git a/themes/eventually/assets/sass/components/_section.scss b/themes/eventually/assets/sass/components/_section.scss deleted file mode 100644 index 9a909f38..00000000 --- a/themes/eventually/assets/sass/components/_section.scss +++ /dev/null @@ -1,63 +0,0 @@ -@import '../libs/vars'; -@import '../libs/functions'; -@import '../libs/mixins'; - -/// -/// Eventually by HTML5 UP -/// html5up.net | @n33co -/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license) -/// - -/* Section/Article */ - - section, article { - &.special { - text-align: center; - } - } - - header { - p { - color: _palette(fg-light); - position: relative; - margin: 0 0 (_size(element-margin) * 0.75) 0; - } - - h2 + p { - font-size: 1.25em; - margin-top: (_size(element-margin) * -0.5); - line-height: 1.5em; - } - - h3 + p { - font-size: 1.1em; - margin-top: (_size(element-margin) * -0.4); - line-height: 1.5em; - } - - h4 + p, - h5 + p, - h6 + p { - font-size: 0.9em; - margin-top: (_size(element-margin) * -0.3); - line-height: 1.5em; - } - - @include breakpoint(medium) { - br { - display: none; - } - } - - @include breakpoint(small) { - br { - display: inline; - } - } - - @include breakpoint(xsmall) { - br { - display: none; - } - } - } \ No newline at end of file diff --git a/themes/eventually/assets/sass/ie8.scss b/themes/eventually/assets/sass/ie8.scss deleted file mode 100644 index 1e726fd4..00000000 --- a/themes/eventually/assets/sass/ie8.scss +++ /dev/null @@ -1,32 +0,0 @@ -@import 'libs/vars'; -@import 'libs/functions'; -@import 'libs/mixins'; -@import 'libs/skel'; - -/* - Eventually by HTML5 UP - html5up.net | @n33co - Free for personal and commercial use under the CCA 3.0 license (html5up.net/license) -*/ - -/* BG */ - - #bg { - -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=25)"; - } - -/* Type */ - - body, input, select, textarea { - color: _palette(fg-bold); - } - -/* Form */ - - input[type="text"], - input[type="password"], - input[type="email"], - select, - textarea { - border: solid _size(border-width) _palette(fg-bold); - } \ No newline at end of file diff --git a/themes/eventually/assets/sass/ie9.scss b/themes/eventually/assets/sass/ie9.scss deleted file mode 100644 index f4bba820..00000000 --- a/themes/eventually/assets/sass/ie9.scss +++ /dev/null @@ -1,19 +0,0 @@ -@import 'libs/vars'; -@import 'libs/functions'; -@import 'libs/mixins'; -@import 'libs/skel'; - -/* - Eventually by HTML5 UP - html5up.net | @n33co - Free for personal and commercial use under the CCA 3.0 license (html5up.net/license) -*/ - -/* Signup Form */ - - #signup-form { - > * { - display: inline-block; - vertical-align: top; - } - } \ No newline at end of file diff --git a/themes/eventually/assets/sass/layout/_footer.scss b/themes/eventually/assets/sass/layout/_footer.scss deleted file mode 100644 index a0045fb3..00000000 --- a/themes/eventually/assets/sass/layout/_footer.scss +++ /dev/null @@ -1,78 +0,0 @@ -@import '../libs/vars'; -@import '../libs/functions'; -@import '../libs/mixins'; - -/// -/// Eventually by HTML5 UP -/// html5up.net | @n33co -/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license) -/// - -/* Footer */ - - #footer { - @include vendor('transition', 'opacity 0.5s ease-in-out'); - bottom: 4em; - color: _palette(fg-light); - left: 4em; - opacity: 0.5; - position: absolute; - - .icons { - margin: 0 0 (_size(element-margin) * 0.25) 0; - } - - .copyright { - font-size: 0.8em; - list-style: none; - padding: 0; - - li { - border-left: solid 1px _palette(border2); - display: inline-block; - line-height: 1em; - margin: 0 0 0 0.75em; - padding: 0 0 0 0.75em; - - &:first-child { - border-left: 0; - margin-left: 0; - padding-left: 0; - } - } - - a { - color: inherit; - } - } - - &:hover { - opacity: 1; - } - - > :last-child { - margin-bottom: 0; - } - - @include breakpoint(xlarge) { - bottom: 3.5em; - left: 3.5em; - } - - @include breakpoint(small) { - bottom: 2em; - left: 2em; - } - - @include breakpoint(xxsmall) { - bottom: 1.25em; - left: 1.25em; - } - - @include breakpoint(short) { - bottom: auto; - left: auto; - margin: (_size(element-margin) * 0.5) 0 0 0; - position: relative; - } - } \ No newline at end of file diff --git a/themes/eventually/assets/sass/layout/_header.scss b/themes/eventually/assets/sass/layout/_header.scss deleted file mode 100644 index 1fb3ceb2..00000000 --- a/themes/eventually/assets/sass/layout/_header.scss +++ /dev/null @@ -1,41 +0,0 @@ -@import '../libs/vars'; -@import '../libs/functions'; -@import '../libs/mixins'; - -/// -/// Eventually by HTML5 UP -/// html5up.net | @n33co -/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license) -/// - -/* Header */ - - #header { - h1 { - font-size: 3.25em; - margin: 0 0 (_size(element-margin) * 0.275) 0; - } - - p { - font-size: 1.35em; - line-height: 1.65em; - } - - a { - color: inherit; - } - - @include breakpoint(small) { - h1 { - font-size: 2em; - } - - p { - font-size: 1em; - } - } - - @include breakpoint(xsmall) { - margin: 0 0 (_size(element-margin) * 0.5) 0; - } - } \ No newline at end of file diff --git a/themes/eventually/assets/sass/layout/_signup-form.scss b/themes/eventually/assets/sass/layout/_signup-form.scss deleted file mode 100644 index dbcb7135..00000000 --- a/themes/eventually/assets/sass/layout/_signup-form.scss +++ /dev/null @@ -1,54 +0,0 @@ -@import '../libs/vars'; -@import '../libs/functions'; -@import '../libs/mixins'; - -/// -/// Eventually by HTML5 UP -/// html5up.net | @n33co -/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license) -/// - -/* Signup Form */ - - #signup-form { - @include vendor('display', 'flex'); - position: relative; - - input[type="text"], - input[type="password"], - input[type="email"] { - width: 18em; - } - - > * { - margin: 0 0 0 1em; - } - - > :first-child { - margin: 0 0 0 0; - } - - @include breakpoint(xsmall) { - @include vendor('flex-direction', 'column'); - - input[type="type"], - input[type="password"], - input[type="email"] { - width: 100%; - } - - > * { - margin: 1.25em 0 0 0; - } - - .message { - bottom: -1.5em; - font-size: 0.9em; - height: 1em; - left: 0; - line-height: inherit; - margin-top: 0; - position: absolute; - } - } - } \ No newline at end of file diff --git a/themes/eventually/assets/sass/libs/_functions.scss b/themes/eventually/assets/sass/libs/_functions.scss deleted file mode 100644 index 0e08c1a6..00000000 --- a/themes/eventually/assets/sass/libs/_functions.scss +++ /dev/null @@ -1,34 +0,0 @@ -/// Gets a duration value. -/// @param {string} $keys Key(s). -/// @return {string} Value. -@function _duration($keys...) { - @return val($duration, $keys...); -} - -/// Gets a font value. -/// @param {string} $keys Key(s). -/// @return {string} Value. -@function _font($keys...) { - @return val($font, $keys...); -} - -/// Gets a misc value. -/// @param {string} $keys Key(s). -/// @return {string} Value. -@function _misc($keys...) { - @return val($misc, $keys...); -} - -/// Gets a palette value. -/// @param {string} $keys Key(s). -/// @return {string} Value. -@function _palette($keys...) { - @return val($palette, $keys...); -} - -/// Gets a size value. -/// @param {string} $keys Key(s). -/// @return {string} Value. -@function _size($keys...) { - @return val($size, $keys...); -} \ No newline at end of file diff --git a/themes/eventually/assets/sass/libs/_mixins.scss b/themes/eventually/assets/sass/libs/_mixins.scss deleted file mode 100644 index a4d59f28..00000000 --- a/themes/eventually/assets/sass/libs/_mixins.scss +++ /dev/null @@ -1,37 +0,0 @@ -/// Makes an element's :before pseudoelement a FontAwesome icon. -/// @param {string} $content Optional content value to use. -@mixin icon($content: false) { - - text-decoration: none; - - &:before { - - @if $content { - content: $content; - } - - -moz-osx-font-smoothing: grayscale; - -webkit-font-smoothing: antialiased; - font-family: FontAwesome; - font-style: normal; - font-weight: normal; - text-transform: none !important; - - } - -} - -/// Applies padding to an element, taking the current element-margin value into account. -/// @param {mixed} $tb Top/bottom padding. -/// @param {mixed} $lr Left/right padding. -/// @param {list} $pad Optional extra padding (in the following order top, right, bottom, left) -/// @param {bool} $important If true, adds !important. -@mixin padding($tb, $lr, $pad: (0,0,0,0), $important: null) { - - @if $important { - $important: '!important'; - } - - padding: ($tb + nth($pad,1)) ($lr + nth($pad,2)) max(0.1em, $tb - _size(element-margin) + nth($pad,3)) ($lr + nth($pad,4)) #{$important}; - -} \ No newline at end of file diff --git a/themes/eventually/assets/sass/libs/_skel.scss b/themes/eventually/assets/sass/libs/_skel.scss deleted file mode 100644 index ba45c21c..00000000 --- a/themes/eventually/assets/sass/libs/_skel.scss +++ /dev/null @@ -1,584 +0,0 @@ -// skel.scss v3.0.0-dev | (c) n33 | skel.io | MIT licensed */ - -// Vars. - - /// Breakpoints. - /// @var {list} - $breakpoints: () !global; - - /// Vendor prefixes. - /// @var {list} - $vendor-prefixes: ( - '-moz-', - '-webkit-', - '-ms-', - '' - ); - - /// Properties that should be vendorized. - /// @var {list} - $vendor-properties: ( - 'align-content', - 'align-items', - 'align-self', - 'animation', - 'animation-delay', - 'animation-direction', - 'animation-duration', - 'animation-fill-mode', - 'animation-iteration-count', - 'animation-name', - 'animation-play-state', - 'animation-timing-function', - 'appearance', - 'backface-visibility', - 'box-sizing', - 'filter', - 'flex', - 'flex-basis', - 'flex-direction', - 'flex-flow', - 'flex-grow', - 'flex-shrink', - 'flex-wrap', - 'justify-content', - 'order', - 'perspective', - 'pointer-events', - 'transform', - 'transform-origin', - 'transform-style', - 'transition', - 'transition-delay', - 'transition-duration', - 'transition-property', - 'transition-timing-function' - ); - - /// Values that should be vendorized. - /// @var {list} - $vendor-values: ( - 'filter', - 'flex', - 'linear-gradient', - 'radial-gradient', - 'transform' - ); - -// Functions. - - /// Removes a specific item from a list. - /// @author Hugo Giraudel - /// @param {list} $list List. - /// @param {integer} $index Index. - /// @return {list} Updated list. - @function remove-nth($list, $index) { - - $result: null; - - @if type-of($index) != number { - @warn "$index: #{quote($index)} is not a number for `remove-nth`."; - } - @else if $index == 0 { - @warn "List index 0 must be a non-zero integer for `remove-nth`."; - } - @else if abs($index) > length($list) { - @warn "List index is #{$index} but list is only #{length($list)} item long for `remove-nth`."; - } - @else { - - $result: (); - $index: if($index < 0, length($list) + $index + 1, $index); - - @for $i from 1 through length($list) { - - @if $i != $index { - $result: append($result, nth($list, $i)); - } - - } - - } - - @return $result; - - } - - /// Replaces a substring within another string. - /// @author Hugo Giraudel - /// @param {string} $string String. - /// @param {string} $search Substring. - /// @param {string} $replace Replacement. - /// @return {string} Updated string. - @function str-replace($string, $search, $replace: '') { - - $index: str-index($string, $search); - - @if $index { - @return str-slice($string, 1, $index - 1) + $replace + str-replace(str-slice($string, $index + str-length($search)), $search, $replace); - } - - @return $string; - - } - - /// Replaces a substring within each string in a list. - /// @param {list} $strings List of strings. - /// @param {string} $search Substring. - /// @param {string} $replace Replacement. - /// @return {list} Updated list of strings. - @function str-replace-all($strings, $search, $replace: '') { - - @each $string in $strings { - $strings: set-nth($strings, index($strings, $string), str-replace($string, $search, $replace)); - } - - @return $strings; - - } - - /// Gets a value from a map. - /// @author Hugo Giraudel - /// @param {map} $map Map. - /// @param {string} $keys Key(s). - /// @return {string} Value. - @function val($map, $keys...) { - - @if nth($keys, 1) == null { - $keys: remove-nth($keys, 1); - } - - @each $key in $keys { - $map: map-get($map, $key); - } - - @return $map; - - } - -// Mixins. - - /// Sets the global box model. - /// @param {string} $model Model (default is content). - @mixin boxModel($model: 'content') { - - $x: $model + '-box'; - - *, *:before, *:after { - -moz-box-sizing: #{$x}; - -webkit-box-sizing: #{$x}; - box-sizing: #{$x}; - } - - } - - /// Wraps @content in a @media block using a given breakpoint. - /// @param {string} $breakpoint Breakpoint. - /// @param {map} $queries Additional queries. - @mixin breakpoint($breakpoint: null, $queries: null) { - - $query: 'screen'; - - // Breakpoint. - @if $breakpoint and map-has-key($breakpoints, $breakpoint) { - $query: $query + ' and ' + map-get($breakpoints, $breakpoint); - } - - // Queries. - @if $queries { - @each $k, $v in $queries { - $query: $query + ' and (' + $k + ':' + $v + ')'; - } - } - - @media #{$query} { - @content; - } - - } - - /// Wraps @content in a @media block targeting a specific orientation. - /// @param {string} $orientation Orientation. - @mixin orientation($orientation) { - @media screen and (orientation: #{$orientation}) { - @content; - } - } - - /// Utility mixin for containers. - /// @param {mixed} $width Width. - @mixin containers($width) { - - // Locked? - $lock: false; - - @if length($width) == 2 { - $width: nth($width, 1); - $lock: true; - } - - // Modifiers. - .container.\31 25\25 { width: 100%; max-width: $width * 1.25; min-width: $width; } - .container.\37 5\25 { width: $width * 0.75; } - .container.\35 0\25 { width: $width * 0.5; } - .container.\32 5\25 { width: $width * 0.25; } - - // Main class. - .container { - @if $lock { - width: $width !important; - } - @else { - width: $width; - } - } - - } - - /// Utility mixin for grid. - /// @param {list} $gutters Column and row gutters (default is 40px). - /// @param {string} $breakpointName Optional breakpoint name. - @mixin grid($gutters: 40px, $breakpointName: null) { - - // Gutters. - @include grid-gutters($gutters); - @include grid-gutters($gutters, \32 00\25, 2); - @include grid-gutters($gutters, \31 50\25, 1.5); - @include grid-gutters($gutters, \35 0\25, 0.5); - @include grid-gutters($gutters, \32 5\25, 0.25); - - // Cells. - $x: ''; - - @if $breakpointName { - $x: '\\28' + $breakpointName + '\\29'; - } - - .\31 2u#{$x}, .\31 2u\24#{$x} { width: 100%; clear: none; margin-left: 0; } - .\31 1u#{$x}, .\31 1u\24#{$x} { width: 91.6666666667%; clear: none; margin-left: 0; } - .\31 0u#{$x}, .\31 0u\24#{$x} { width: 83.3333333333%; clear: none; margin-left: 0; } - .\39 u#{$x}, .\39 u\24#{$x} { width: 75%; clear: none; margin-left: 0; } - .\38 u#{$x}, .\38 u\24#{$x} { width: 66.6666666667%; clear: none; margin-left: 0; } - .\37 u#{$x}, .\37 u\24#{$x} { width: 58.3333333333%; clear: none; margin-left: 0; } - .\36 u#{$x}, .\36 u\24#{$x} { width: 50%; clear: none; margin-left: 0; } - .\35 u#{$x}, .\35 u\24#{$x} { width: 41.6666666667%; clear: none; margin-left: 0; } - .\34 u#{$x}, .\34 u\24#{$x} { width: 33.3333333333%; clear: none; margin-left: 0; } - .\33 u#{$x}, .\33 u\24#{$x} { width: 25%; clear: none; margin-left: 0; } - .\32 u#{$x}, .\32 u\24#{$x} { width: 16.6666666667%; clear: none; margin-left: 0; } - .\31 u#{$x}, .\31 u\24#{$x} { width: 8.3333333333%; clear: none; margin-left: 0; } - - .\31 2u\24#{$x} + *, - .\31 1u\24#{$x} + *, - .\31 0u\24#{$x} + *, - .\39 u\24#{$x} + *, - .\38 u\24#{$x} + *, - .\37 u\24#{$x} + *, - .\36 u\24#{$x} + *, - .\35 u\24#{$x} + *, - .\34 u\24#{$x} + *, - .\33 u\24#{$x} + *, - .\32 u\24#{$x} + *, - .\31 u\24#{$x} + * { - clear: left; - } - - .\-11u#{$x} { margin-left: 91.6666666667% } - .\-10u#{$x} { margin-left: 83.3333333333% } - .\-9u#{$x} { margin-left: 75% } - .\-8u#{$x} { margin-left: 66.6666666667% } - .\-7u#{$x} { margin-left: 58.3333333333% } - .\-6u#{$x} { margin-left: 50% } - .\-5u#{$x} { margin-left: 41.6666666667% } - .\-4u#{$x} { margin-left: 33.3333333333% } - .\-3u#{$x} { margin-left: 25% } - .\-2u#{$x} { margin-left: 16.6666666667% } - .\-1u#{$x} { margin-left: 8.3333333333% } - - } - - /// Utility mixin for grid. - /// @param {list} $gutters Gutters. - /// @param {string} $class Optional class name. - /// @param {integer} $multiplier Multiplier (default is 1). - @mixin grid-gutters($gutters, $class: null, $multiplier: 1) { - - // Expand gutters if it's not a list. - @if length($gutters) == 1 { - $gutters: ($gutters, 0); - } - - // Get column and row gutter values. - $c: nth($gutters, 1); - $r: nth($gutters, 2); - - // Get class (if provided). - $x: ''; - - @if $class { - $x: '.' + $class; - } - - // Default. - .row#{$x} > * { padding: ($r * $multiplier) 0 0 ($c * $multiplier); } - .row#{$x} { margin: ($r * $multiplier * -1) 0 -1px ($c * $multiplier * -1); } - - // Uniform. - .row.uniform#{$x} > * { padding: ($c * $multiplier) 0 0 ($c * $multiplier); } - .row.uniform#{$x} { margin: ($c * $multiplier * -1) 0 -1px ($c * $multiplier * -1); } - - } - - /// Wraps @content in vendorized keyframe blocks. - /// @param {string} $name Name. - @mixin keyframes($name) { - - @-moz-keyframes #{$name} { @content; } - @-webkit-keyframes #{$name} { @content; } - @-ms-keyframes #{$name} { @content; } - @keyframes #{$name} { @content; } - - } - - /// - /// Sets breakpoints. - /// @param {map} $x Breakpoints. - /// - @mixin skel-breakpoints($x: ()) { - $breakpoints: $x !global; - } - - /// - /// Initializes layout module. - /// @param {map} config Config. - /// - @mixin skel-layout($config: ()) { - - // Config. - $configPerBreakpoint: (); - - $z: map-get($config, 'breakpoints'); - - @if $z { - $configPerBreakpoint: $z; - } - - // Reset. - $x: map-get($config, 'reset'); - - @if $x { - - /* Reset */ - - @include reset($x); - - } - - // Box model. - $x: map-get($config, 'boxModel'); - - @if $x { - - /* Box Model */ - - @include boxModel($x); - - } - - // Containers. - $containers: map-get($config, 'containers'); - - @if $containers { - - /* Containers */ - - .container { - margin-left: auto; - margin-right: auto; - } - - // Use default is $containers is just "true". - @if $containers == true { - $containers: 960px; - } - - // Apply base. - @include containers($containers); - - // Apply per-breakpoint. - @each $name in map-keys($breakpoints) { - - // Get/use breakpoint setting if it exists. - $x: map-get($configPerBreakpoint, $name); - - // Per-breakpoint config exists? - @if $x { - $y: map-get($x, 'containers'); - - // Setting exists? Use it. - @if $y { - $containers: $y; - } - - } - - // Create @media block. - @media screen and #{map-get($breakpoints, $name)} { - @include containers($containers); - } - - } - - } - - // Grid. - $grid: map-get($config, 'grid'); - - @if $grid { - - /* Grid */ - - // Use defaults if $grid is just "true". - @if $grid == true { - $grid: (); - } - - // Sub-setting: Gutters. - $grid-gutters: 40px; - $x: map-get($grid, 'gutters'); - - @if $x { - $grid-gutters: $x; - } - - // Rows. - .row { - border-bottom: solid 1px transparent; - -moz-box-sizing: border-box; - -webkit-box-sizing: border-box; - box-sizing: border-box; - } - - .row > * { - float: left; - -moz-box-sizing: border-box; - -webkit-box-sizing: border-box; - box-sizing: border-box; - } - - .row:after, .row:before { - content: ''; - display: block; - clear: both; - height: 0; - } - - .row.uniform > * > :first-child { - margin-top: 0; - } - - .row.uniform > * > :last-child { - margin-bottom: 0; - } - - // Gutters (0%). - @include grid-gutters($grid-gutters, \30 \25, 0); - - // Apply base. - @include grid($grid-gutters); - - // Apply per-breakpoint. - @each $name in map-keys($breakpoints) { - - // Get/use breakpoint setting if it exists. - $x: map-get($configPerBreakpoint, $name); - - // Per-breakpoint config exists? - @if $x { - $y: map-get($x, 'grid'); - - // Setting exists? - @if $y { - - // Sub-setting: Gutters. - $x: map-get($y, 'gutters'); - - @if $x { - $grid-gutters: $x; - } - - } - - } - - // Create @media block. - @media screen and #{map-get($breakpoints, $name)} { - @include grid($grid-gutters, $name); - } - - } - - } - - } - - /// Resets browser styles. - /// @param {string} $mode Mode (default is 'normalize'). - @mixin reset($mode: 'normalize') { - - @if $mode == 'normalize' { - - // normalize.css v3.0.2 | MIT License | git.io/normalize - 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,menu,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-color:transparent}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:700}dfn{font-style:italic}h1{font-size:2em;margin:.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:-.5em}sub{bottom:-.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{-moz-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]{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 silver;margin:0 2px;padding:.35em .625em .75em}legend{border:0;padding:0}textarea{overflow:auto}optgroup{font-weight:700}table{border-collapse:collapse;border-spacing:0}td,th{padding:0} - - } - @else if $mode == 'full' { - - // meyerweb.com/eric/tools/css/reset v2.0 | 20110126 | License: none (public domain) - html,body,div,span,applet,object,iframe,h1,h2,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;}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block;}body{line-height:1;}ol,ul{list-style:none;}blockquote,q{quotes:none;}blockquote:before,blockquote:after,q:before,q:after{content:'';content:none;}table{border-collapse:collapse;border-spacing:0;}body{-webkit-text-size-adjust:none} - - } - - } - - /// Vendorizes a declaration's property and/or value(s). - /// @param {string} $property Property. - /// @param {mixed} $value String/list of value(s). - @mixin vendor($property, $value) { - - // Determine if property should expand. - $expandProperty: index($vendor-properties, $property); - - // Determine if value should expand (and if so, add '-prefix-' placeholder). - $expandValue: false; - - @each $x in $value { - @each $y in $vendor-values { - @if $y == str-slice($x, 1, str-length($y)) { - - $value: set-nth($value, index($value, $x), '-prefix-' + $x); - $expandValue: true; - - } - } - } - - // Expand property? - @if $expandProperty { - @each $vendor in $vendor-prefixes { - #{$vendor}#{$property}: #{str-replace-all($value, '-prefix-', $vendor)}; - } - } - - // Expand just the value? - @elseif $expandValue { - @each $vendor in $vendor-prefixes { - #{$property}: #{str-replace-all($value, '-prefix-', $vendor)}; - } - } - - // Neither? Treat them as a normal declaration. - @else { - #{$property}: #{$value}; - } - - } \ No newline at end of file diff --git a/themes/eventually/assets/sass/libs/_vars.scss b/themes/eventually/assets/sass/libs/_vars.scss deleted file mode 100644 index 67d1169b..00000000 --- a/themes/eventually/assets/sass/libs/_vars.scss +++ /dev/null @@ -1,59 +0,0 @@ -// Misc. - $misc: ( - ); - -// Duration. - $duration: ( - nav: 0.5s, - transition: 0.2s, - bg-fadein: 2s, - bg-transition: 3s, - bg-slide: 45s // (lower = faster, higher = slower) - ); - -// Size. - $size: ( - border-radius: 6px, - border-width: 2px, - element-height: 2.75em, - element-margin: 2em - ); - -// Font. - $font: ( - family: ('Roboto', sans-serif), - family-fixed: ('Courier New', monospace), - weight: 400, - weight-bold: 700, - letter-spacing: -0.01em - ); - -// Palette. - $palette: ( - bg: #000, - fg: rgba(255,255,255,0.75), - fg-bold: #fff, - fg-light: rgba(255,255,255,0.5), - border: rgba(255,255,255,0.35), - border-bg: rgba(255,255,255,0.125), - border2: rgba(255,255,255,0.25), - - accent: ( - bg: #1cb495, - fg: mix(#1cb495, #ffffff, 25%), - fg-bold: #ffffff, - fg-light: mix(#1cb495, #ffffff, 40%), - border: rgba(255,255,255,0.25), - border-bg: rgba(255,255,255,0.075), - ), - - positive: ( - bg: #1cb495, - fg: #ffffff - ), - - negative: ( - bg: #ff2361, - fg: #ffffff - ) - ); \ No newline at end of file diff --git a/themes/eventually/assets/sass/main.scss b/themes/eventually/assets/sass/main.scss deleted file mode 100644 index 55826df4..00000000 --- a/themes/eventually/assets/sass/main.scss +++ /dev/null @@ -1,47 +0,0 @@ -@import 'libs/vars'; -@import 'libs/functions'; -@import 'libs/mixins'; -@import 'libs/skel'; -@import 'font-awesome.min.css'; -@import url('http://fonts.googleapis.com/css?family=Roboto:400,700'); - -/* - Eventually by HTML5 UP - html5up.net | @n33co - Free for personal and commercial use under the CCA 3.0 license (html5up.net/license) -*/ - - @include skel-breakpoints(( - xlarge: '(max-width: 1680px)', - large: '(max-width: 1280px)', - medium: '(max-width: 980px)', - small: '(max-width: 736px)', - xsmall: '(max-width: 480px)', - xxsmall: '(max-width: 360px)', - short: '(max-height: 640px)' - )); - - @include skel-layout(( - reset: 'full', - boxModel: 'border' - )); - -// Base. - - @import 'base/page'; - @import 'base/bg'; - @import 'base/typography'; - -// Components. - - @import 'components/section'; - @import 'components/icon'; - @import 'components/list'; - @import 'components/form'; - @import 'components/button'; - -// Layout. - - @import 'layout/header'; - @import 'layout/signup-form'; - @import 'layout/footer'; \ No newline at end of file diff --git a/themes/eventually/images/bg01.jpg b/themes/eventually/images/bg01.jpg deleted file mode 100644 index d1f6dedb..00000000 Binary files a/themes/eventually/images/bg01.jpg and /dev/null differ diff --git a/themes/eventually/images/bg02.jpg b/themes/eventually/images/bg02.jpg deleted file mode 100644 index 40ce294d..00000000 Binary files a/themes/eventually/images/bg02.jpg and /dev/null differ diff --git a/themes/eventually/images/bg03.jpg b/themes/eventually/images/bg03.jpg deleted file mode 100644 index 245473bc..00000000 Binary files a/themes/eventually/images/bg03.jpg and /dev/null differ diff --git a/themes/eventually/index.php b/themes/eventually/index.php deleted file mode 100644 index 948a915d..00000000 --- a/themes/eventually/index.php +++ /dev/null @@ -1,66 +0,0 @@ - - - - - - - - - - - - - - - - whereAmI()=='home') - { - include('php/home.php'); - } - elseif($Url->whereAmI()=='post') - { - include('php/post.php'); - } - ?> - - - - - - - - - - - \ No newline at end of file diff --git a/themes/eventually/php/head.php b/themes/eventually/php/head.php deleted file mode 100644 index 826230bd..00000000 --- a/themes/eventually/php/head.php +++ /dev/null @@ -1,21 +0,0 @@ -<?php echo $Site->title() ?> - - - - - - - - - - if( $Url->whereAmI()=='post' ) { - Theme::keywords( $Post->tags() ); - } - elseif( $Url->whereAmI()=='page' ) { - Theme::keywords( $Page->tags() ); - } - - // Plugins - Theme::plugins('onSiteHead'); -?> \ No newline at end of file diff --git a/themes/eventually/php/home.php b/themes/eventually/php/home.php deleted file mode 100644 index ba332023..00000000 --- a/themes/eventually/php/home.php +++ /dev/null @@ -1,11 +0,0 @@ -
    -
      - - - -
    • permalink().'">'.$Post->title().'' ?>
    • - - - -
    -
    \ No newline at end of file diff --git a/themes/eventually/php/post.php b/themes/eventually/php/post.php deleted file mode 100644 index 36783528..00000000 --- a/themes/eventually/php/post.php +++ /dev/null @@ -1,6 +0,0 @@ -
    -

    title() ?>

    -
    -content() ?> -
    -
    \ No newline at end of file diff --git a/themes/pure/css/img/bg.jpg b/themes/pure/css/img/bg.jpg deleted file mode 100644 index 59d32071..00000000 Binary files a/themes/pure/css/img/bg.jpg and /dev/null differ diff --git a/themes/pure/css/img/overlay.png b/themes/pure/css/img/overlay.png deleted file mode 100644 index 93893016..00000000 Binary files a/themes/pure/css/img/overlay.png and /dev/null differ diff --git a/themes/pure/index.php b/themes/pure/index.php index 5e3916d6..0e38280b 100644 --- a/themes/pure/index.php +++ b/themes/pure/index.php @@ -8,8 +8,8 @@ - - + +
    @@ -47,8 +47,8 @@
    - - + + \ No newline at end of file diff --git a/themes/pure/php/head.php b/themes/pure/php/head.php index 94c6adf1..ed0bae6a 100644 --- a/themes/pure/php/head.php +++ b/themes/pure/php/head.php @@ -47,7 +47,5 @@ html, button, input, select, textarea, } - - \ No newline at end of file + + diff --git a/themes/pure/php/home.php b/themes/pure/php/home.php index c2f80447..5cc98d0a 100644 --- a/themes/pure/php/home.php +++ b/themes/pure/php/home.php @@ -4,6 +4,9 @@
    + + +
    @@ -34,7 +37,7 @@
    content(false) ?>
    @@ -43,10 +46,14 @@ printMe('Read more') ?> + + +
    + \ No newline at end of file diff --git a/themes/pure/php/page.php b/themes/pure/php/page.php index 8104853d..1859dd65 100644 --- a/themes/pure/php/page.php +++ b/themes/pure/php/page.php @@ -2,6 +2,9 @@
    + + +
    \ No newline at end of file diff --git a/themes/pure/php/post.php b/themes/pure/php/post.php index dc4d5882..b6d93e98 100644 --- a/themes/pure/php/post.php +++ b/themes/pure/php/post.php @@ -2,6 +2,9 @@
    + + +
    @@ -34,4 +37,7 @@ content() ?> + + +
    \ No newline at end of file diff --git a/themes/pure/php/sidebar.php b/themes/pure/php/sidebar.php index 4c5a5e20..ef86ce9e 100644 --- a/themes/pure/php/sidebar.php +++ b/themes/pure/php/sidebar.php @@ -1,7 +1,5 @@

    title() ?>

    slogan() ?>

    - - \ No newline at end of file + + \ No newline at end of file diff --git a/themes/pure/screenshot.jpg b/themes/pure/screenshot.jpg deleted file mode 100644 index 3f039100..00000000 Binary files a/themes/pure/screenshot.jpg and /dev/null differ