View generated-ie.css
This file contains 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
.a { | |
background: red; | |
/* dropped linear gradient based on IE CSS support (like what autoprefixer does) */ | |
zoom: 1; | |
} | |
.b { | |
background: green; | |
} |
View generated-ie-only.css
This file contains 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
.a { | |
background: red; | |
} |
View MyComponent.css
This file contains 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
:root { | |
--margin-MyComponent-part: var(--theme-margin-small); | |
} | |
.MyComponent {} | |
.MyComponent-part { | |
margin: var(--margin-MyComponent-part); | |
} |
View flight-groups.js
This file contains 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
var TweetBox = defineComponent(function() { | |
this.attributes({ | |
charLimit: 140 | |
withGeoControl: false; | |
}); | |
if (withGeoControl === true) { | |
// attach to a sub node | |
this.child(GeoControl).attachTo('.GeoControl'); | |
} |
View webpack-pre-css-loader.js
This file contains 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
var path = require('path'); | |
/** | |
* CSS transform dependencies | |
*/ | |
var autoprefixer = require('autoprefixer-core'); | |
var calc = require('rework-calc'); | |
var color = require('rework-color-function'); | |
var conformance = require('rework-suit-conformance'); |
View production.css
This file contains 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
.abcd { | |
align-items: center; | |
} | |
.efgh { | |
background: blue; | |
} | |
.ijkl { | |
color: red; |
View functions.php
This file contains 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
// Adds custom retweet and delicious buttons to Wordpress template | |
// Uses bit.ly, delicious, backtype, tweetmeme, and topsy APIs | |
// Adapted from Backtype Tweetcount plugin | |
// Nicolas Gallagher / @necolas | |
function tweet_save($url) { | |
global $post; | |
$url = ''; | |
$btype_cnt = null; | |
$topsy_cnt = null; |
View CustomView.jsx
This file contains 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 ReactWebStyle, {WebComponent} from 'react-web-style'; | |
import React, {PropTypes} from 'react'; | |
import {Text, View} from 'react-web-sdk'; | |
const styles = { | |
root: { | |
borderColor: 'red', | |
padding: '10px', | |
position: 'absolute', |
View style.css
This file contains 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
/** | |
* HTML5 ✰ Boilerplate | |
* | |
* style.css contains a reset, font normalization and some base styles. | |
* | |
* Credit is left where credit is due. | |
* Much inspiration was taken from these projects: | |
* - yui.yahooapis.com/2.8.1/build/base/base.css | |
* - camendesign.com/design/ | |
* - praegnanz.de/weblog/htmlcssjs-kickstart |
View style.css
This file contains 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
/* ============================================================================= | |
HTML5 element display | |
========================================================================== */ | |
article, aside, details, figcaption, figure, footer, header, hgroup, nav, section { display: block; } | |
audio[controls], canvas, video { display: inline-block; *display: inline; *zoom: 1; } | |
/* ============================================================================= | |
Base |
OlderNewer