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
/** | |
* This module is the conditional loaded `dd` module to support gesture events | |
* in the event that `dd` is loaded onto a device that support touch based events. | |
* | |
* This module is loaded and over rides 2 key methods on `DD.Drag` and `DD.DDM` to | |
* attach the gesture events. Overrides `DD.Drag._prep` and `DD.DDM._setupListeners` | |
* methods as well as set's the property `DD.Drag.START_EVENT` to `gesturemovestart` | |
* to enable gesture movement instead of mouse based movement. | |
* @module dd |
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
YUI.add('gallery-msa-checkbox', function (Y, NAME) { | |
'use strict'; | |
Y.namespace('MSA'); | |
function Checkbox(config) { | |
Checkbox.superclass.constructor.apply(this, arguments); | |
} |
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
'use strict'; | |
module.exports = function (grunt) { | |
// Project configuration. | |
grunt.initConfig({ | |
jshint: { | |
all: [ | |
'Gruntfile.js', | |
'tasks/**/*.js' | |
], |
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
.pure-u-1, | |
.pure-u-1-1, | |
.pure-u-1-2, | |
.pure-u-1-3, | |
.pure-u-2-3, | |
.pure-u-1-4, | |
.pure-u-3-4, | |
.pure-u-1-6, | |
.pure-u-5-6, | |
.pure-u-1-8, |
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
.pure-u-1-12, | |
.pure-u-1, | |
.pure-u-1-6, | |
.pure-u-1-1, | |
.pure-u-1-4, | |
.pure-u-1-2, | |
.pure-u-1-3, | |
.pure-u-2-12, | |
.pure-u-2-3, | |
.pure-u-3-4, |
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> | |
<head> | |
<title></title> | |
<meta name="viewport" content="user-scalable=no, width=device-width, initial-scale=1, maximum-scale=1"> | |
<link rel="stylesheet" href="http://yui.yahooapis.com/pure/0.3.0/pure-min.css"> | |
<style> | |
.box { | |
width: 150px; |
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> | |
<head> | |
<title>YUI Gestures</title> | |
<meta name="viewport" content="user-scalable=no, width=device-width, initial-scale=1"> | |
<link rel="stylesheet" href="http://yui.yahooapis.com/pure/0.3.0/pure-min.css"> | |
<style> | |
html, body, #carousel, #carousel ul, #carousel li { |
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
@mixin pure-form { | |
input { | |
padding: 0.5em 0.6em; | |
display: inline-block; | |
border: 1px solid #ccc; | |
font-size: 0.8em; | |
box-shadow: inset 0 1px 3px #ddd; | |
border-radius: 4px; | |
-webkit-transition: 0.3s linear border; | |
-moz-transition: 0.3s linear border; |
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
.pure-g { | |
letter-spacing: -0.31em; /* Webkit: collapse white-space between units */ | |
*letter-spacing: normal; /* reset IE < 8 */ | |
*word-spacing: -0.43em; /* IE < 8: collapse white-space between units */ | |
text-rendering: optimizespeed; /* Webkit: fixes text-rendering: optimizeLegibility */ | |
/* | |
Sets the font stack to fonts known to work properly with the above letter | |
and word spacings. See: https://github.com/yui/pure/issues/41/ |