This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Toke Diary - Your Personal Cannabis Experience Tracker</title> | |
<script src="https://cdn.tailwindcss.com"></script> | |
<style> | |
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap'); | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="container"> | |
<div class="off-canvas-wrap" data-offcanvas=""> | |
<div class="inner-wrap"> | |
<section class="main-section"> | |
<!--[if lt IE 7]> | |
<p class="browsehappy"> | |
You are using an <strong>outdated & unsupported</strong> Web browser (Internet Explorer 7). | |
Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience & security. | |
</p> | |
<![endif]--> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
allListings.php | |
!!API Page!! | |
revised 11/6/2013 - Michael | |
Creates a JSON array of categories for output to the app | |
In order to work, page must be called with $_GET["com"] = "com.vrp.marketing" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Reveal Contact Form | |
$('.reveal-contact a').attr({ | |
'data-reveal-id': 'contactModal', | |
'data-reveal': '' | |
}); | |
// Add Wave to all buttons | |
$(".button").addClass( "waves-effect waves-button waves-float" ); | |
// Waves Click |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Fixed header | |
$(window).scroll(function(fixedHeader){ | |
var headerHeight = $('#article-header').height(); | |
var titleHeight = $('#article-header h1').outerHeight(); | |
var fixedTop = (headerHeight - titleHeight); | |
if ($(this).scrollTop() >= fixedTop){ | |
$('#article-header').addClass('fixedHeader'); | |
$('#article-header.fixedHeader').css("top", -fixedTop); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
setTimeout(function () { | |
var forEach = function (array, callback, scope) { | |
for (var i = 0; i < array.length; i++) { | |
callback.call(scope, i, array[i]); // passes back stuff we need | |
} | |
}; | |
var highRiskCheckboxValidator = function () { | |
var numberOfCheckBoxesChecked = $(".high-risks input:checked").length; //number of checked boxes |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
angular.module('vegas.controllers', []) | |
// Data for this seed is stored in the "awvegas" firebase. | |
// To view the raw data, open https://awvegas.firebaseio.com/.json in a browser | |
// A simple controller that fetches a list of data from a service | |
.controller('ScheduleIndexCtrl', function($scope, $firebase) { | |
// "Items" is a service returning mock data (services.js) | |
var ref = new Firebase('https://awvegas.firebaseio.com/items'); | |
$scope.items = $firebase(ref); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php echo get_site_url(); ?> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
remove_filter( 'the_content', 'wpautop' ); | |
remove_filter( 'the_excerpt', 'wpautop' ); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
img.grayscale { | |
filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale"); /* Firefox 3.5+ */ | |
filter: gray; /* IE6-9 */ | |
-webkit-filter: grayscale(100%); /* Chrome 19+ & Safari 6+ */ | |
-webkit-transition: all .5s ease-in-out; | |
-moz-transition: all .5s ease-in-out; | |
-ms-transition: all .5s ease-in-out; | |
-o-transition: all .5s ease-in-out; | |
transition: all .5s ease-in-out; | |
} |
NewerOlder