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
.clear { | |
clear: both; | |
} | |
.card { | |
margin: auto; | |
padding-top: 2em; | |
padding-bottom: 1em; | |
padding-left: 1em; | |
padding-right:1em; |
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
import { Input, Component, ViewEncapsulation, EventEmitter, Output } from '@angular/core'; | |
@Component({ | |
selector: 'custom-button', | |
template: `<button (click)="handleClick()">{{label}}</button>`, | |
styles: [` | |
button { | |
border: solid 3px; | |
padding: 8px 10px; | |
background: #bada55; |
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
/**! | |
* Google Analytics Event Tracking | |
* Note: Assuming that tracking code already exists on the page | |
* Require jQuery 1.x or 2.x | |
* Supports: Classic and Universal Google Analytics | |
* @version 2.1.0 | |
* @license MIT | |
* @author ankur | |
*/ |
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
(function($) { | |
/* | |
A simple helper plugin for wrapping Google Analytic event tracking | |
into sites through jQuery and HTML5 data attributes. | |
This assumes that you have used the standard configuration provided | |
by google for setting up Google Analytics and used the _gaq var for | |
storing the tracker. | |
Can track focus, activate, hover and click input methods but not key |
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
/*JSHint Options*/ | |
/*global _gaq */ | |
/* | |
Google Analytics Event Tracking - JSHint Checked | |
Written By Cheyne Wallace - 19th Nov 2012 | |
Click Usage: <a href="http://somewhere" | |
class="ga-track" | |
event_category="Event Category" | |
event_action="Specific Action" | |
event_label="Optional Message" |
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 | |
/* | |
* Warning! Read and use at your own risk! | |
* | |
* This tiny proxy script is completely transparent and it passes | |
* all requests and headers without any checking of any kind. | |
* The same happens with JSON data. They are simply forwarded. | |
* | |
* This is just an easy and convenient solution for the AJAX |
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
{ | |
"vars": { | |
"@gray-base": "#565F74", | |
"@gray-darker": "lighten(@gray-base, 13.5%)", | |
"@gray-dark": "lighten(@gray-base, 20%)", | |
"@gray": "lighten(@gray-base, 33.5%)", | |
"@gray-light": "lighten(@gray-base, 46.7%)", | |
"@gray-lighter": "lighten(@gray-base, 93.5%)", | |
"@brand-primary": "darken(#3B5998, 6.5%)", | |
"@brand-success": "#5cb85c", |
NewerOlder